/* My Key Responder
   Tokens: six named colors. Beacon is reserved for the main action (call / send request).
   Type: Archivo variable (weight 100–900, width 62–125%). Condensed widths for display, normal for text. */

:root {
	--fir: #0F2B27;
	--basalt: #4A5A55;
	--mist: #EEF3F0;
	--river: #1C5A75;
	--lichen: #C3D5CB;
	--beacon: #FFB21C;

	/* Derived tints, all from the tokens above. */
	--fir-2: color-mix(in oklab, var(--fir) 85%, var(--mist));
	--fir-3: color-mix(in oklab, var(--fir) 76%, var(--mist));
	--mist-dim: color-mix(in oklab, var(--mist) 72%, var(--fir));
	--paper: color-mix(in oklab, var(--mist) 45%, white);

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--step--1: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
	--step-0: clamp(1.0625rem, 1.03rem + 0.16vw, 1.1875rem);
	--step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
	--step-2: clamp(1.55rem, 1.32rem + 1vw, 2.15rem);
	--step-3: clamp(2rem, 1.55rem + 2vw, 3.25rem);
	--step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem);
	--step-city: clamp(4rem, 1rem + 14vw, 12.5rem);

	--gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
	--wrap: 78rem;
	--radius: 14px;
	--radius-s: 8px;
	--space: clamp(3.5rem, 2rem + 6vw, 7.5rem);
	--focus: 0 0 0 3px var(--mist), 0 0 0 6px var(--river);
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 1rem;
}

body {
	margin: 0;
	background: var(--mist);
	color: var(--fir);
	font: 400 var(--step-0) / 1.6 var(--font);
	font-stretch: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
	margin: 0;
	font-stretch: 78%;
	font-weight: 780;
	line-height: 1.04;
	letter-spacing: -0.012em;
	text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--river); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--mist);
	color: var(--fir);
	border-radius: var(--radius-s);
	&:focus { top: 1rem; }
}

main:focus { outline: none; }

.todo {
	display: inline-block;
	padding: 0.05em 0.4em;
	border: 1.5px dashed currentColor;
	border-radius: 6px;
	font-size: 0.875em;
	font-family: ui-monospace, monospace;
	opacity: 0.8;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	min-height: 48px;
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font: inherit;
	font-weight: 680;
	font-stretch: 92%;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn__icon { width: 1.2em; height: 1.2em; flex: none; }

.btn--call {
	background: var(--beacon);
	color: var(--fir);
	&:hover { background: color-mix(in oklab, var(--beacon) 86%, white); }
}

.btn--ghost {
	color: inherit;
	border-color: currentColor;
	&:hover { background: color-mix(in oklab, currentColor 12%, transparent); }
}

.btn--large { min-height: 56px; padding-inline: 1.6rem; font-size: var(--step-1); }

.text-link {
	display: inline-block;
	font-weight: 640;
	color: var(--river);
	padding-block: 0.4rem;
}

/* ---------- Header ---------- */

.site-header {
	position: relative;
	z-index: 20;
	background: var(--fir);
	color: var(--mist);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 76px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	color: inherit;
	text-decoration: none;
	margin-right: auto;
}

.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__signal { color: var(--lichen); }

.logo__word {
	font-size: 1.3rem;
	font-weight: 800;
	font-stretch: 72%;
	letter-spacing: 0.005em;
	white-space: nowrap;
}

.nav__list {
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__link {
	display: block;
	padding: 0.6rem 0.8rem;
	color: inherit;
	text-decoration: none;
	font-weight: 560;
	border-radius: var(--radius-s);
	&:hover { background: var(--fir-2); }
}

.nav-toggle { display: none; }

@media (max-width: 899px) {
	.site-header__call { display: none; }

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		min-height: 44px;
		padding: 0.5rem 0.9rem;
		background: none;
		border: 2px solid var(--fir-3);
		border-radius: 999px;
		color: inherit;
		font: inherit;
		font-weight: 600;
	}

	.nav-toggle svg { width: 22px; height: 22px; }
	.nav-toggle__close, .nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

	.nav {
		position: absolute;
		inset: 100% 0 auto;
		background: var(--fir);
		border-top: 1px solid var(--fir-3);
		padding: 0.5rem var(--gutter) 1.25rem;
	}

	.js .nav:not(.is-open) { display: none; }

	.nav__list { flex-direction: column; }
	.nav__link { padding: 0.85rem 0.5rem; font-size: var(--step-1); }
}

/* ---------- Hero ---------- */

.hero {
	background: var(--fir);
	color: var(--mist);
	padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(2.5rem, 1rem + 5vw, 5.5rem);
	overflow: hidden;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 1rem + 3vw, 4rem);
	align-items: center;
}

@media (min-width: 960px) {
	.hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.hero--city .hero__grid, .hero--state .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
}

.hero__title {
	font-size: clamp(2.4rem, 1.5rem + 2.7vw, 3.9rem);
	font-stretch: 72%;
	font-weight: 800;
	max-width: 19ch;
}

.hero__lead {
	margin-top: 1.25rem;
	max-width: 46ch;
	font-size: var(--step-1);
	line-height: 1.45;
	color: color-mix(in oklab, var(--mist) 86%, var(--fir));
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
}

.hero__kicker {
	font-size: var(--step-1);
	font-weight: 500;
	color: var(--lichen);
}

.hero__place {
	margin-top: 0.75rem;
	font-size: var(--step-1);
	color: var(--lichen);
}

.hero--plain {
	padding-block: clamp(2rem, 1rem + 3vw, 3.5rem);
	.hero__lead { max-width: 60ch; }
	.find { max-width: 34rem; }
}

.page-title {
	font-size: var(--step-4);
	font-stretch: 74%;
	font-weight: 800;
	max-width: 20ch;
}

/* The city name is the hero of a city page. It is sized from the length of its longest word
   (--chars, set inline) so "Bend" and "Wenatchee" both fill the column without breaking a word. */
.hero--city .hero__text, .hero--state .hero__text { container-type: inline-size; }

.city-name {
	margin-top: 0.1rem;
	font-size: min(var(--step-city), calc(100cqi / (var(--chars, 8) * 0.5)));
	font-stretch: 62%;
	font-weight: 860;
	line-height: 0.88;
	letter-spacing: -0.02em;
	hyphens: none;
}

/* ---------- Breadcrumbs ---------- */

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	font-size: var(--step--1);
	color: var(--lichen);
}

.crumbs li + li::before {
	content: "/";
	margin-inline: 0.55em;
	opacity: 0.6;
}

.crumbs a { color: inherit; }

/* ---------- City search ---------- */

.find { margin-top: 2.25rem; max-width: 30rem; }

.find__label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 640;
}

.find__row {
	display: flex;
	gap: 0.5rem;
	padding: 0.35rem;
	background: var(--paper);
	border: 2px solid var(--lichen);
	border-radius: 999px;
	&:focus-within { border-color: var(--river); }
}

.find__input {
	flex: 1;
	min-width: 0;
	min-height: 44px;
	padding: 0 0.9rem;
	border: 0;
	background: none;
	color: var(--fir);
	font: inherit;
	&:focus { outline: none; }
	&::placeholder { color: var(--basalt); }
}

.find__button {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	padding: 0 1.1rem;
	border: 0;
	border-radius: 999px;
	background: var(--fir);
	color: var(--mist);
	font: inherit;
	font-weight: 640;
	cursor: pointer;
}

.find__icon { width: 20px; height: 20px; }

.find__message {
	min-height: 1.6em;
	margin-top: 0.5rem;
	font-size: var(--step--1);
	&:empty { min-height: 0; margin: 0; }
}

.find--dark {
	.find__row { background: var(--fir-2); border-color: var(--fir-3); }
	.find__row:focus-within { border-color: var(--lichen); }
	.find__input { color: var(--mist); }
	.find__input::placeholder { color: var(--lichen); }
	.find__button { background: var(--mist); color: var(--fir); }
	.find__message { color: var(--lichen); }
}

/* ---------- Map ---------- */

.map {
	position: relative;
	margin: 0;
	color: var(--mist);
}

.map__svg {
	width: 100%;
	height: auto;
	overflow: visible;
}

/* Cropped views (a state, a city) stay inside their frame. */
.map--focus .map__svg,
.map--state .map__svg {
	overflow: hidden;
	border-radius: var(--radius);
	background: color-mix(in oklab, var(--fir) 94%, black);
	outline: 1px solid var(--fir-3);
}

.map__state {
	fill: var(--fir-2);
	stroke: none;
	transition: fill 0.2s;
	&.is-dim { fill: color-mix(in oklab, var(--fir) 94%, var(--mist)); }
}

.map__rivers {
	fill: none;
	stroke: color-mix(in oklab, var(--river) 55%, var(--mist));
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	opacity: 0.55;
}

.map--focus .map__rivers { stroke-width: 2.5; }

.map__borders {
	fill: none;
	stroke: var(--fir-3);
	stroke-width: 1.25;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.map__state-labels text {
	fill: var(--lichen);
	font-family: var(--font);
	font-stretch: 100%;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-anchor: middle;
	opacity: 0.75;
}

.map__links line {
	stroke: var(--lichen);
	stroke-width: 1.25;
	stroke-dasharray: 2 5;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
	opacity: 0.7;
}

.map__city {
	color: var(--mist);
	cursor: pointer;
}

.map__dot { fill: currentColor; }
.map__halo { opacity: 0.65; transition: opacity 0.2s; }

.map__ring {
	fill: none;
	stroke: var(--mist);
	stroke-width: 1.5;
	vector-effect: non-scaling-stroke;
}

.map__label {
	fill: var(--mist);
	font-family: var(--font);
	font-stretch: 82%;
	font-weight: 600;
	paint-order: stroke;
	stroke: color-mix(in oklab, var(--fir) 94%, black);
	stroke-linejoin: round;
}

.map__city.is-far { opacity: 0.45; }
.map__city.is-far .map__halo { opacity: 0.2; }

.map__city:hover .map__halo,
.map__city.is-active .map__halo { opacity: 1; }

.map__caption {
	margin-top: 0.75rem;
	font-size: var(--step--1);
	color: var(--lichen);
	text-align: right;
}

.map__tip {
	position: absolute;
	z-index: 3;
	left: 0;
	top: 0;
	min-width: 10rem;
	padding: 0.65rem 0.85rem;
	background: var(--mist);
	color: var(--fir);
	border-radius: var(--radius-s);
	box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.55);
	transform: translate(-50%, calc(-100% - 14px));
	pointer-events: auto;
	&[hidden] { display: none; }
}

.map__tip-name {
	display: block;
	font-size: var(--step-1);
	font-weight: 800;
	font-stretch: 74%;
	line-height: 1.1;
}

.map__tip-state { display: block; font-size: var(--step--1); color: var(--basalt); }
.map__tip a { display: inline-block; margin-top: 0.35rem; padding-block: 0.25rem; font-weight: 640; }

/* The one orchestrated motion on the site: cities light up west to east when the home page loads. */
@media (prefers-reduced-motion: no-preference) {
	.map--intro .map__dot {
		animation: mkr-light 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) both;
		animation-delay: calc(var(--i) * 22ms + 250ms);
		transform-box: fill-box;
		transform-origin: center;
	}

	.map--intro .map__halo {
		animation: mkr-glow 1.1s ease-out both;
		animation-delay: calc(var(--i) * 22ms + 250ms);
	}
}

@keyframes mkr-light {
	from { opacity: 0; transform: scale(0.2); }
	60% { opacity: 1; transform: scale(1.5); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes mkr-glow {
	from { opacity: 0; }
	35% { opacity: 1; }
	to { opacity: 0.65; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * 0.65); }
.section--lichen { background: color-mix(in oklab, var(--lichen) 45%, var(--mist)); }

.section__title { font-size: var(--step-3); max-width: 18ch; }

.section__lead {
	margin-top: 1rem;
	max-width: 44ch;
	color: var(--basalt);
	font-size: var(--step-1);
	line-height: 1.45;
}

.split {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 960px) {
	.split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; }
	.split__head { position: sticky; top: 2rem; align-self: start; }
}

.split__head .text-link { margin-top: 1rem; }

/* ---------- Services ---------- */

.services {
	display: grid;
	gap: 2.25rem 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	container-type: inline-size;
}

@container (min-width: 34rem) {
	.services { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
	.services { grid-template-columns: 1fr 1fr; }
}

.service {
	display: grid;
	grid-template-columns: 3rem 1fr;
	column-gap: 1rem;
	align-content: start;
}

.service__icon {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 12px;
	background: var(--fir);
	color: var(--lichen);
	.icon { width: 26px; height: 26px; }
}

.service__name {
	font-size: var(--step-1);
	font-stretch: 80%;
	font-weight: 760;
	line-height: 1.15;
	a { color: var(--fir); text-decoration: none; }
	a:hover { text-decoration: underline; }
}

.service__text { margin-top: 0.35rem; color: var(--basalt); }

/* ---------- Route (how a call goes): a real sequence, so numbers are meaningful ---------- */

.route {
	display: grid;
	gap: 2rem;
	margin: 3rem 0 0;
	padding: 0;
	list-style: none;
	position: relative;
}

.route__stop { position: relative; padding-left: 4rem; }

.route__num {
	position: absolute;
	left: 0;
	top: -0.1rem;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--fir);
	color: var(--mist);
	font-weight: 800;
	font-stretch: 80%;
	font-size: var(--step-1);
}

.route__title { font-size: var(--step-1); font-stretch: 80%; margin-bottom: 0.4rem; }
.route__stop p { color: var(--basalt); max-width: 34ch; }

/* The dashed road joins the stops. */
.route::before {
	content: "";
	position: absolute;
	left: 1.375rem;
	top: 1rem;
	bottom: 1rem;
	border-left: 2px dashed var(--basalt);
	opacity: 0.45;
}

@media (min-width: 900px) {
	.route { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
	.route__stop { padding-left: 0; padding-top: 4rem; }
	.route__num { top: 0; }
	.route::before {
		left: 1.375rem;
		right: 1.375rem;
		top: 1.375rem;
		bottom: auto;
		border-left: 0;
		border-top: 2px dashed var(--basalt);
	}
}

/* ---------- Service area ---------- */

.area__head {
	display: grid;
	gap: 1.5rem;
	align-items: end;
	margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
	.area__head { grid-template-columns: 1fr 22rem; }
}

.filter__label { display: block; font-weight: 640; margin-bottom: 0.4rem; }

.filter__input {
	width: 100%;
	min-height: 48px;
	padding: 0 1rem;
	border: 2px solid var(--lichen);
	border-radius: 999px;
	background: var(--paper);
	color: var(--fir);
	font: inherit;
	&:focus { outline: none; border-color: var(--river); }
}

.city-index {
	display: grid;
	gap: 2.5rem;
}

@media (min-width: 900px) {
	.city-index { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
	.city-index__state:first-child .city-index__list { columns: 2; }
}

.city-index__title {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	padding-bottom: 0.75rem;
	margin-bottom: 0.75rem;
	border-bottom: 3px solid var(--fir);
	font-size: var(--step-2);
	a { color: var(--fir); text-decoration: none; }
	a:hover { text-decoration: underline; }
}

.city-index__count {
	font-size: var(--step--1);
	font-weight: 500;
	font-stretch: 100%;
	color: var(--basalt);
}

.city-index__list {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 1.5rem;
	li { break-inside: avoid; }
	a {
		display: block;
		padding: 0.4rem 0;
		color: var(--fir);
		text-decoration: none;
		font-weight: 500;
	}
	a:hover { color: var(--river); text-decoration: underline; }
	li[hidden] { display: none; }
}

.city-index__state[hidden] { display: none; }

.city-index__empty { color: var(--basalt); }

/* ---------- FAQ ---------- */

.faq__item {
	border-bottom: 1.5px solid var(--lichen);
}

.faq__q {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.2rem 0;
	font-size: var(--step-1);
	font-weight: 680;
	font-stretch: 86%;
	cursor: pointer;
	list-style: none;
	&::-webkit-details-marker { display: none; }
	&::after {
		content: "+";
		flex: none;
		width: 1.75rem;
		height: 1.75rem;
		display: grid;
		place-items: center;
		border-radius: 50%;
		background: var(--fir);
		color: var(--mist);
		font-weight: 600;
		line-height: 1;
	}
}

.faq__item[open] .faq__q::after { content: "\2212"; }

.faq__a {
	padding-bottom: 1.4rem;
	max-width: 62ch;
	color: var(--basalt);
}

/* ---------- City / content pages ---------- */

.page-grid {
	display: grid;
	gap: 3rem;
	padding-block: var(--space);
}

@media (min-width: 960px) {
	.page-grid { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4.5rem; }
	.page-grid--single { grid-template-columns: minmax(0, 1fr); }
	.page-aside { position: sticky; top: 2rem; align-self: start; }
}

.prose {
	max-width: 68ch;
	> * + * { margin-top: 1.1rem; }
	h2 { margin-top: 3rem; font-size: var(--step-2); }
	ul:not([class]) { padding-left: 1.2rem; }
	ul:not([class]) li + li { margin-top: 0.4rem; }
	.faq__item { margin-top: 0; }
	h2 + .faq__item { margin-top: 0.75rem; }
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
	li {
		padding: 0.35rem 0.8rem;
		border-radius: 999px;
		background: var(--paper);
		border: 1.5px solid var(--lichen);
		font-size: var(--step--1);
		font-weight: 560;
	}
}

.tags--zip li {
	background: var(--fir);
	border-color: var(--fir);
	color: var(--mist);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
}

.service-links {
	display: grid;
	gap: 0.25rem 1.5rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	@media (min-width: 640px) { grid-template-columns: 1fr 1fr; }
	li { display: flex; align-items: center; gap: 0.75rem; padding-block: 0.45rem; }
	.icon { width: 24px; height: 24px; color: var(--basalt); flex: none; }
	a { color: var(--fir); font-weight: 600; text-decoration: none; }
	a:hover { color: var(--river); text-decoration: underline; }
}

.callout {
	padding: 1.75rem;
	border-radius: var(--radius);
	background: var(--fir);
	color: var(--mist);
	display: grid;
	gap: 1rem;
	justify-items: start;
	.text-link { color: var(--lichen); }
}

.callout__title {
	font-size: var(--step-2);
	font-weight: 800;
	font-stretch: 72%;
	line-height: 1.05;
}

.nearby {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
	gap: 0.75rem;
	margin: 2rem 0;
	padding: 0;
	list-style: none;
}

.nearby__link {
	display: block;
	height: 100%;
	padding: 1.1rem 1.25rem;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1.5px solid var(--lichen);
	color: var(--fir);
	text-decoration: none;
	transition: border-color 0.15s;
	&:hover { border-color: var(--fir); }
}

.nearby__name {
	display: block;
	font-size: var(--step-1);
	font-weight: 780;
	font-stretch: 76%;
	line-height: 1.1;
}

.nearby__meta { display: block; margin-top: 0.2rem; font-size: var(--step--1); color: var(--basalt); }

.service-hero {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.service-hero__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 4rem;
	height: 4rem;
	border-radius: 16px;
	background: var(--fir-2);
	color: var(--lichen);
	.icon { width: 34px; height: 34px; }
}

/* ---------- Request band and form ---------- */

.request-band {
	background: var(--fir);
	color: var(--mist);
	padding-block: var(--space);
}

.request-band__grid {
	display: grid;
	gap: 3rem;
	align-items: start;
}

@media (min-width: 960px) {
	.request-band__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; }
}

.request-band__title { font-size: var(--step-4); font-stretch: 70%; font-weight: 820; max-width: 12ch; }

.request-band__intro {
	display: grid;
	gap: 1.5rem;
	justify-items: start;
	p { max-width: 40ch; color: color-mix(in oklab, var(--mist) 86%, var(--fir)); font-size: var(--step-1); line-height: 1.45; }
}

.request {
	display: grid;
	gap: 1.1rem;
	padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
	border-radius: calc(var(--radius) + 6px);
	background: var(--mist);
	color: var(--fir);
	container-type: inline-size;
}

@container (min-width: 30rem) {
	.request { grid-template-columns: 1fr 1fr; }
	.request__field--wide, .request__notice, .request__submit { grid-column: 1 / -1; }
}

.request__field {
	display: grid;
	gap: 0.4rem;
	label { font-weight: 640; }
	input, textarea {
		width: 100%;
		min-height: 48px;
		padding: 0.7rem 0.9rem;
		border: 2px solid var(--lichen);
		border-radius: var(--radius-s);
		background: var(--paper);
		color: var(--fir);
		font: inherit;
	}
	textarea { resize: vertical; min-height: 6rem; }
	input:focus, textarea:focus { outline: none; border-color: var(--river); box-shadow: 0 0 0 3px color-mix(in oklab, var(--river) 25%, transparent); }
	input[aria-invalid="true"] { border-color: #A3271B; }
}

.request__optional { font-weight: 400; color: var(--basalt); }

.request__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.request__submit { justify-self: start; min-width: 12rem; border-color: var(--fir); }

.request__notice {
	padding: 0.9rem 1rem;
	border-radius: var(--radius-s);
	font-weight: 600;
}

.request__notice--ok { background: color-mix(in oklab, var(--lichen) 60%, var(--mist)); }
.request__notice--error { background: #FBE4E0; color: #7C1D13; }

/* ---------- Footer ---------- */

.site-footer {
	background: color-mix(in oklab, var(--fir) 92%, black);
	color: var(--lichen);
	padding-block: 4rem 2rem;
	font-size: var(--step--1);
	a { color: var(--mist); text-decoration: none; }
	a:hover { text-decoration: underline; }
	ul { margin: 0; padding: 0; list-style: none; }
	li + li { margin-top: 0.45rem; }
}

.site-footer__grid {
	display: grid;
	gap: 2.5rem;
	@media (min-width: 900px) { grid-template-columns: 2fr 1.4fr 1fr 1fr; }
}

.site-footer__brand {
	display: grid;
	gap: 1rem;
	align-content: start;
	p { max-width: 32ch; }
}

.logo--footer { color: var(--mist); margin-right: 0; }

.site-footer__title {
	margin-bottom: 1rem;
	font-size: var(--step-0);
	color: var(--mist);
	font-stretch: 86%;
}

.site-footer__fine {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 2rem;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--fir-3);
	opacity: 0.85;
}

/* ---------- Mobile action dock ---------- */

.dock { display: none; }

@media (max-width: 899px) {
	body { padding-bottom: 76px; }

	.dock {
		position: fixed;
		inset: auto 0 0;
		z-index: 30;
		display: grid;
		grid-template-columns: 1.6fr 1fr;
		gap: 0.6rem;
		padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
		background: var(--fir);
		color: var(--mist);
		box-shadow: 0 -8px 24px -12px rgb(0 0 0 / 0.5);
	}

	.dock .btn { min-height: 52px; padding-inline: 0.75rem; font-size: var(--step-1); }
}

/* ---------- Small screens ---------- */

@media (max-width: 959px) {
	.hero--home .hero__map { margin-inline: calc(var(--gutter) * -0.5); }
	.map__caption { text-align: left; }
}

@media (max-width: 480px) {
	.logo__word { font-size: 1.15rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero--home .hero__actions .btn--ghost { display: none; }
}
