@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/inter-400.woff2") format("woff2");
}

@font-face {
	font-family: Inter;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/fonts/inter-600.woff2") format("woff2");
}

:root {
	--ink: #111111;
	--muted: #5c5c5c;
	--paper: #ffffff;
	--wash: #f6f6f4;
	--line: #e6e6e2;
	--hero-ink: #ffffff;
	--max: 72rem;
	--gutter: clamp(1.5rem, 5vw, 3.5rem);
}

* {
	box-sizing: border-box;
}

html {
	color-scheme: light;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, "Segoe UI", system-ui, sans-serif;
	font-size: 1.05rem;
	line-height: 1.55;
}

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

h1,
h2,
h3,
.wordmark {
	letter-spacing: -0.03em;
	font-weight: 600;
	line-height: 1.08;
}

h1 {
	font-size: clamp(2.2rem, 6vw, 4.1rem);
	margin: 0.2rem 0 0.9rem;
}

h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	margin: 0 0 0.7rem;
}

h3 {
	font-size: 1.15rem;
	margin: 0.7rem 0 0.35rem;
}

a {
	color: var(--ink);
}

.skip {
	position: absolute;
	left: 0.75rem;
	top: -3rem;
	background: var(--ink);
	color: #fff;
	padding: 0.4rem 0.7rem;
	z-index: 20;
}

.skip:focus {
	top: 0.75rem;
}

.wrap {
	width: min(var(--max), calc(100% - (var(--gutter) * 2)));
	margin: 0 auto;
}

.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 5;
}

.site-header.solid {
	position: relative;
	background: #0b0b0b;
}

.header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.6rem;
	padding: 1rem var(--gutter);
}

.nav-left {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.1rem;
}

.nav-left a,
.wordmark,
.ghost {
	color: #fff;
	text-decoration: none;
}

.wordmark {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.82rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	justify-self: center;
}

.brand-mark {
	width: 2.55rem;
	height: 1.4rem;
	object-fit: cover;
	object-position: center;
	border-radius: 0.3rem;
	background: #f3efe6;
}

.button {
	display: inline-block;
	background: #111;
	color: #fff;
	text-decoration: none;
	padding: 0.72rem 1.15rem;
	border-radius: 999px;
	font-size: 0.95rem;
	line-height: 1.2;
	border: 0;
	font-family: inherit;
	cursor: pointer;
}

.button:hover {
	background: #2a2a2a;
}

.button-secondary {
	background: transparent;
	color: #111;
	box-shadow: inset 0 0 0 1px #111;
}

.button-secondary:hover {
	background: #111;
	color: #fff;
}

.hero-full .button,
.band .button:not(.button-secondary) {
	background: #fff;
	color: #111;
}

.hero-full .button:hover,
.band .button:not(.button-secondary):hover {
	background: #ececec;
}

.hero-full .button-secondary,
.band .button-secondary,
.ghost,
.solve .button-secondary {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.hero-full .button-secondary:hover,
.band .button-secondary:hover,
.ghost:hover,
.solve .button-secondary:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.header-inner .ghost {
	justify-self: end;
}

.hero-full,
.band {
	position: relative;
	overflow: hidden;
	background: #1a1a1a;
	color: var(--hero-ink);
}

.hero-media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.hero-full::after,
.band::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55) 70%);
	z-index: 0;
}

.hero-full {
	min-height: 100vh;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 6.5rem var(--gutter) 4rem;
}

.hero-copy {
	position: relative;
	z-index: 1;
	max-width: 46rem;
	width: 100%;
}

.band {
	min-height: 28rem;
	display: grid;
	align-items: end;
}

.band-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 4.5rem var(--gutter) 2.6rem;
}

.band-inner > * {
	max-width: 46rem;
}

.eyebrow,
.kicker {
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.72rem;
	margin: 0 0 0.7rem;
}

.lede {
	font-size: 1.08rem;
	margin: 0 0 1.4rem;
	color: var(--muted);
}

.hero-full .lede,
.band .lede {
	color: rgba(255, 255, 255, 0.88);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin: 1.2rem 0 0;
	justify-content: center;
}

.band .actions,
.wrap .actions {
	justify-content: flex-start;
}

.where,
.about,
.lanes,
.prose-wide,
.wrap.prose {
	padding: 3.2rem 0;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
	justify-content: center;
}

.chip {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.75rem;
	text-decoration: none;
	color: var(--muted);
}

.chip:hover {
	color: var(--ink);
}

.where {
	text-align: center;
}

.about {
	max-width: 42rem;
}

.about-heading {
	font-size: clamp(2.4rem, 6vw, 4rem);
	margin: 0 0 1.35rem;
	color: var(--ink);
}

.about-copy {
	position: relative;
	z-index: 1;
}

.about-copy p {
	color: var(--muted);
	margin: 0 0 1rem;
	max-width: 38rem;
}

.stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.4rem;
	margin-top: 2rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--line);
}

.stats strong {
	display: block;
	font-size: clamp(2rem, 4vw, 3rem);
}

.stats span {
	color: var(--muted);
	font-size: 0.92rem;
}

.solve {
	background: #0b0b0b;
	color: #fff;
	padding: 3.4rem 0 4rem;
}

.solve-grid,
.lane-grid,
.grid-2,
.card-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
	display: grid;
	gap: 1rem;
}

.solve-grid img,
.lane-tile img {
	width: 100%;
	height: 14rem;
	object-fit: cover;
	border-radius: 0.4rem;
}

.solve .button-secondary {
	margin-top: 0.4rem;
}

.lane-tile {
	display: grid;
	gap: 0.25rem;
	text-decoration: none;
	color: inherit;
}

.lane-tile .kicker {
	margin-top: 0.7rem;
	color: var(--muted);
}

.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 1.1rem;
	padding: 1.3rem 1.3rem 1.2rem;
}

.plain {
	padding-left: 1.1rem;
	margin: 0.4rem 0 0;
}

.prose {
	max-width: 42rem;
}

.prose-wide {
	max-width: 52rem;
}

.steps {
	padding-left: 1.2rem;
}

.fine,
.credits,
.geo-note {
	color: var(--muted);
	font-size: 0.92rem;
}

.site-footer {
	border-top: 1px solid var(--line);
	margin-top: 2rem;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	text-decoration: none;
	margin: 0 0 0.85rem;
}

.footer-icon {
	width: 2.5rem;
	height: 2.5rem;
	object-fit: cover;
	border-radius: 0.55rem;
	background: var(--wash);
}

.footer-mark {
	width: 7.4rem;
	height: 4.15rem;
	object-fit: cover;
	object-position: center;
	border-radius: 0.55rem;
	background: var(--wash);
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	align-items: center;
}

.book-form .form-actions .button-secondary {
	background: transparent;
	color: #111;
	box-shadow: inset 0 0 0 1px #111;
}

.book-form .form-actions .button-secondary:hover {
	background: #111;
	color: #fff;
}

.footer-inner {
	padding: 1.6rem 0 2.4rem;
}

.footer-inner p {
	margin: 0 0 0.6rem;
	max-width: 46rem;
	color: var(--muted);
}

.book-form {
	display: grid;
	gap: 1rem;
	margin: 1.4rem 0 2rem;
	max-width: 36rem;
}

.field {
	display: grid;
	gap: 0.35rem;
}

.field-row {
	display: grid;
	gap: 1rem;
}

.field label,
.field legend {
	font-size: 0.92rem;
	font-weight: 600;
}

.optional {
	font-weight: 400;
	color: var(--muted);
}

.field input,
.field select,
.field textarea {
	font: inherit;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--line);
	border-radius: 0.55rem;
	background: #fff;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
	border-color: #8a1f1f;
}

.choice {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-weight: 400;
	margin: 0.35rem 0;
}

.field-error {
	color: #8a1f1f;
	margin: 0;
	font-size: 0.9rem;
}

.banner {
	padding: 0.9rem 1rem;
	border-radius: 0.7rem;
	margin: 0 0 1rem;
}

.banner-ok {
	background: #edf6ee;
}

.banner-err {
	background: #f8ecec;
}

.book-form .button {
	background: #111;
	color: #fff;
	justify-self: start;
}

.inner .lede {
	margin-left: 0;
}

@media (min-width: 760px) {
	.solve-grid,
	.lane-grid,
	.grid-2 {
		grid-template-columns: 1fr 1fr;
	}

	.stats {
		grid-template-columns: repeat(3, 1fr);
	}

	.field-row {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 980px) {
	.solve-grid,
	.lane-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media (max-width: 720px) {
	.header-inner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"mark cta"
			"nav nav";
	}

	.wordmark {
		grid-area: mark;
		justify-self: start;
	}

	.form-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.book-form .form-actions .button {
		justify-self: stretch;
		text-align: center;
	}

	.header-inner .ghost {
		grid-area: cta;
	}

	.nav-left {
		grid-area: nav;
		grid-column: 1 / -1;
	}

	.hero-full {
		min-height: 92vh;
		text-align: left;
	}

	.hero-copy {
		max-width: none;
	}

	.actions {
		justify-content: flex-start;
	}
}
