/* fonts */
@font-face {
	font-family: 'Libre Caslon Display';
	src: url('../fonts/caslon-display-400.woff2') format('woff2');
	font-display: swap;
	font-weight: 400;
	font-style: normal;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Libre Caslon Display Fallback';
	src: local('Georgia');
	size-adjust: 85%;
	ascent-override: 114%;
}
@font-face {
	font-family: 'Libre Franklin';
	src: url('../fonts/franklin-var.woff2') format('woff2');
	font-display: swap;
	font-weight: 300 800;
	font-style: normal;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Libre Franklin Fallback';
	src: local('Arial');
	size-adjust: 104%;
	ascent-override: 94%;
}

/* tokens */
:root {
	--c-blank: #ffffff;
	--c-cell: #f1f3f6;
	--c-rule: #d5d9e0;
	--c-figure: #15171c;
	--c-aside: #5d6472;
	--c-board: #15171c;
	--c-board-text: #eef0f4;
	--c-board-aside: #c3c8d2;
	--c-trace: #c2410c;
	--c-trace-lit: #fb8a4c;
	--s-tick: 4px;
	--s-cell: 8px;
	--s-row: 16px;
	--s-col: 24px;
	--s-block: 32px;
	--s-band: 64px;
	--s-span: 112px;
	--s-gutter: clamp(16px, 4vw, 48px);
	--s-offset: 10px;
	--s-radius: 20px;
	--s-head: 76px;
	--s-frame: 1360px;
}

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

html {
	scroll-padding-top: calc(var(--s-head) + var(--s-row));
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	min-height: 100vh;
	margin: 0;
	font-family: 'Libre Franklin', 'Libre Franklin Fallback', Arial, sans-serif;
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.62;
	color: var(--c-figure);
	background: var(--c-blank);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

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

h1,
h2,
h3 {
	margin: 0;
	font-family: 'Libre Caslon Display', 'Libre Caslon Display Fallback', Georgia, serif;
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.018em;
}

h2 {
	font-size: clamp(2rem, 1.15rem + 3vw, 3.5rem);
	text-transform: uppercase;
}

h3 {
	font-size: clamp(1.4rem, 1.15rem + 0.7vw, 1.8rem);
}

p,
ul,
ol,
dl,
figure,
blockquote {
	margin: 0;
}

p + p {
	margin-top: 0.9em;
}

a {
	color: var(--c-trace);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--c-trace);
	outline-offset: 3px;
}

button,
input,
textarea {
	font: inherit;
}

.skip-to-content {
	position: absolute;
	top: calc(var(--s-head) + var(--s-cell));
	left: var(--s-cell);
	z-index: 90;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 var(--s-row);
	font-weight: 600;
	color: var(--c-blank);
	background: var(--c-figure);
	opacity: 0;
}

.skip-to-content:focus {
	opacity: 1;
}

.section-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: var(--s-row);
	font-family: 'Libre Franklin', 'Libre Franklin Fallback', Arial, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-aside);
}

.section-eyebrow::before {
	content: "";
	width: 36px;
	height: 2px;
	background: var(--c-trace);
}

.dyn .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.dyn .reveal.reveal-done {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.dyn .reveal {
		transform: none;
		transition: none;
	}
}
