:root {
	--paper: hsl(28 18% 97%);
	--paper-deep: hsl(28 16% 93%);
	--ink: hsl(28 28% 13%);
	--ink-soft: hsl(28 10% 34%);
	--accent: hsl(28 56% 36%);
	--accent-strong: hsl(28 56% 26%);
	--accent-tint: hsl(28 56% 92%);
	--rule: hsl(28 14% 82%);
	--rule-strong: hsl(28 14% 66%);
	--grid-line: hsl(28 30% 35% / 0.07);
	--night: hsl(28 26% 14%);
	--night-rule: hsl(28 16% 30%);
	--on-night: hsl(28 24% 94%);
	--on-night-soft: hsl(28 14% 72%);
	--on-night-accent: hsl(28 56% 68%);
	--head: "Open Sans", "Helvetica Neue", Arial, sans-serif;
	--body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
	--column: 46rem;
	--frame: 64rem;
	--bar-h: 3.5rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--bar-h) + 1rem);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--paper-deep);
	background-image:
		linear-gradient(var(--grid-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 32px 32px;
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--body);
}

h1,
h2,
h3 {
	margin: 0 0 0.75rem;
	font-family: var(--head);
	color: var(--ink);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

h1 {
	font-size: clamp(1.85rem, 4.6vw + 0.6rem, 2.85rem);
	font-weight: 700;
}

h2 {
	font-size: clamp(1.45rem, 2.2vw + 0.7rem, 1.9rem);
	font-weight: 700;
}

h3 {
	font-size: 1.05rem;
	font-weight: 600;
}

p {
	margin: 0 0 1rem;
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--accent-strong);
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

svg {
	display: block;
	max-width: 100%;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

address {
	font-style: normal;
}

figure {
	margin: 0;
}

.unseen {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
