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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.65;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}

body.dialog-open,
body.nav-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-underline-offset: 0.18em;
}

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

button,
input,
select,
textarea {
	font: inherit;
	letter-spacing: 0;
}

button,
select {
	cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
dl {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: var(--font-serif);
	line-height: 1.08;
	letter-spacing: 0;
}

h1 {
	font-size: 64px;
}

h2 {
	font-size: 44px;
}

h3 {
	font-size: 25px;
}

p:last-child {
	margin-bottom: 0;
}

::selection {
	background: var(--yellow);
	color: var(--ink);
}

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

.shell {
	width: min(calc(100% - 48px), var(--shell));
	margin-inline: auto;
}

.narrow {
	max-width: var(--narrow);
}

.section {
	padding-block: 112px;
}

.section--dark {
	background: var(--ink);
	color: var(--white);
}

.section--blue {
	background: var(--blue);
}

.section--yellow {
	background: var(--yellow);
}

.eyebrow {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 20px;
	color: var(--ink-soft);
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 24px;
	height: 2px;
	background: var(--yellow-strong);
	content: "";
}

.eyebrow--light {
	color: var(--yellow);
}

.section-heading {
	display: flex;
	gap: 32px;
	align-items: end;
	justify-content: space-between;
	margin-bottom: 44px;
}

.section-heading h2 {
	max-width: 760px;
	margin-bottom: 0;
}

.section-heading--light p,
.section-heading--light h2 {
	color: var(--white);
}

.split-heading,
.editorial-grid {
	display: grid;
	grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
	gap: 72px;
	align-items: start;
}

.prose > * + * {
	margin-top: 1.25em;
}

.prose h2,
.prose h3 {
	margin-top: 1.7em;
}

.prose a {
	color: var(--ink-soft);
	font-weight: 700;
}

.prose--large {
	font-size: 20px;
}

.prose--large > p:first-of-type {
	font-size: 25px;
	line-height: 1.5;
}

.skip-link {
	position: fixed;
	z-index: 9999;
	top: 12px;
	left: 12px;
	padding: 12px 16px;
	transform: translateY(-160%);
	background: var(--yellow);
	color: var(--ink);
	font-weight: 800;
}

.skip-link:focus {
	transform: translateY(0);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.reveal {
	transition: opacity 600ms ease, transform 600ms ease;
}

.is-reveal-ready .reveal:not(.is-visible) {
	opacity: 0;
	transform: translateY(18px);
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (max-width: 900px) {
	h1 {
		font-size: 48px;
	}

	h2 {
		font-size: 36px;
	}

	.section {
		padding-block: 84px;
	}

	.split-heading,
	.editorial-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}

	h1 {
		font-size: 39px;
	}

	h2 {
		font-size: 31px;
	}

	h3 {
		font-size: 22px;
	}

	.shell {
		width: min(calc(100% - 32px), var(--shell));
	}

	.section {
		padding-block: 64px;
	}

	.section-heading {
		display: block;
		margin-bottom: 32px;
	}

	.section-heading .text-link {
		display: inline-block;
		margin-top: 18px;
	}

	.prose--large,
	.prose--large > p:first-of-type {
		font-size: 18px;
	}
}

