/*
 * Arlieo Clearer. Blue and blush.
 * Author: Adrian Street.
 *
 * Tokens first, then base, layout, components, sections, utilities.
 * One font (Bricolage Grotesque, variable, self hosted). No framework.
 */

/* ---------- Tokens ---------- */

:root {
	--ink: #29343c;
	--muted: #53616b;
	--white: #ffffff;
	--blue: #e0eaf2;
	--cream: #f5f2e9;
	--green: #e2e8d7;
	--peach: #f4e4db;
	--blush: #f0e0e5;
	--accent: #426579;
	--accent-ink: #2f4a59;
	--line: #d4dce0;
	--line-soft: #e6ecef;
	--paper-shadow: #bfceda;
	--focus: #1f5a8a;
	--error: #9b2f2f;
	--error-bg: #fbeaea;
	--ok: #2e6b48;
	--ok-bg: #e6f2ea;

	--radius: 22px;
	--radius-sm: 12px;
	--pill: 999px;

	--font: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
	--text: 1rem;
	--lh: 1.65;

	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 48px);
	--space-section: clamp(56px, 8vw, 104px);
	--space-block: clamp(28px, 4vw, 48px);

	--ease: cubic-bezier(.2, .7, .2, 1);
	--fast: 160ms;
}

@font-face {
	font-family: 'Bricolage Grotesque';
	src: url('../fonts/bricolage-grotesque-var.woff2') format('woff2-variations'),
	     url('../fonts/bricolage-grotesque-var.woff2') format('woff2');
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}

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

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

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

body {
	margin: 0;
	color: var(--ink);
	background: var(--white);
	font: 400 var(--text) / var(--lh) var(--font);
	font-optical-sizing: auto;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
strong { font-weight: 600; }
[hidden] { display: none !important; }

:focus { outline: none; }
:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}
.btn:focus-visible, .pill:focus-visible { outline-offset: 4px; border-radius: var(--pill); }

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

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

.skip-link {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--ink); color: var(--white);
	border-radius: var(--pill);
	font-weight: 600;
}
.skip-link:focus { top: 16px; outline-color: var(--white); }

/* ---------- Type ---------- */

.eyebrow {
	font-size: .75rem;
	line-height: 1.5;
	letter-spacing: .09em;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}
.eyebrow a { color: inherit; }

.section__title, .hero__title, .route__title, .feature__title, .step__title, .project-card__title, .offer__price, .statement__lead, .ledger__title {
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.08;
	text-wrap: balance;
}
.hero__title {
	font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1.0;
	margin: 0 0 22px;
}
.section__title {
	font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.75rem);
	letter-spacing: -.03em;
	margin-bottom: 18px;
}
.section__intro, .hero__intro {
	font-size: 1.0625rem;
	color: var(--ink);
	max-width: 56ch;
}
.section__intro p + p, .hero__intro p + p { margin-top: .8em; }
.hero__intro { max-width: 46ch; }
.hero__note { margin-top: 14px; font-size: .9375rem; color: var(--muted); }

.section__head { margin-bottom: var(--space-block); }
.section__head--center { text-align: center; }
.section__head--center .section__intro { margin-inline: auto; }
.section__head--split { display: grid; gap: 12px 40px; align-items: end; }
@media (min-width: 900px) {
	.section__head--split { grid-template-columns: 1fr minmax(0, 320px); }
	.section__head--split .section__intro { grid-column: 2; grid-row: 1 / span 2; font-size: .9375rem; color: var(--muted); align-self: end; padding-bottom: 6px; }
	.section__head--split .eyebrow, .section__head--split .section__title { grid-column: 1; }
	.section__head--split .section__title { margin-bottom: 0; }
}

/* ---------- Layout ---------- */

.site { display: flex; flex-direction: column; min-height: 100vh; }
.main { flex: 1; }
.main:focus { outline: none; }

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

.section { padding-block: var(--space-section); }
.section + .section.surface-white { padding-top: 0; }
.section.surface-white + .section.surface-white { padding-top: 0; }
.section--hero { padding-block: clamp(20px, 2.5vw, 32px) var(--space-section); }
.section--hero.surface-white + .section { padding-top: 0; }
.section--statement { padding-block: clamp(32px, 4vw, 56px); }
.section--cta, .section--contact, .section--hero.surface-blue { padding-block: var(--space-section); }

/* Pastel surfaces sit as rounded panels inside the page, white ones bleed. */
.surface-blue, .surface-cream, .surface-green, .surface-peach, .surface-blush {
	--surface: var(--cream);
}
.surface-blue  { --surface: var(--blue); }
.surface-cream { --surface: var(--cream); }
.surface-green { --surface: var(--green); }
.surface-peach { --surface: var(--peach); }
.surface-blush { --surface: var(--blush); }
.surface-white { --surface: var(--white); }

.section:not(.surface-white) {
	background: var(--surface);
	border-radius: var(--radius);
	margin-inline: clamp(8px, 1.5vw, 24px);
	padding-block: clamp(40px, 6vw, 80px);
}
.section:not(.surface-white) + .section:not(.surface-white) { margin-top: clamp(12px, 2vw, 24px); }
.section:not(.surface-white) + .section.surface-white { padding-top: var(--space-section); }
.section--hero:not(.surface-white) { padding-block: clamp(40px, 6vw, 72px); }
.section:first-child { margin-top: clamp(4px, 1vw, 12px); }
.section:last-child { margin-bottom: clamp(24px, 4vw, 56px); }

/* Cards and panels nested inside a surface */
.surface-blue .card-surface, .project-card, .route, .feature--card { border-radius: var(--radius); }

/* ---------- Buttons and links ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 49px;
	padding: 13px 24px;
	border: 1px solid var(--ink);
	border-radius: var(--pill);
	background: var(--ink);
	color: var(--white);
	font-size: .9375rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--fast) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; pointer-events: none; }

.textlink {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	font-size: .9375rem;
	font-weight: 600;
	color: var(--ink);
}
.textlink svg { width: 18px; height: 18px; flex: none; transition: transform var(--fast) var(--ease); }
.textlink:hover svg { transform: translateX(3px); }
.textlink--quiet { color: var(--muted); font-weight: 500; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }

/* ---------- Header and navigation ---------- */

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(140%) blur(10px);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color var(--fast) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line-soft); }
.header__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: 14px var(--gutter);
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 78px;
}

.wordmark { display: inline-flex; align-items: center; line-height: 1; }
.wordmark:hover { text-decoration: none; }
.wordmark__text {
	font-size: 2.125rem;
	font-weight: 800;
	letter-spacing: -.07em;
	line-height: 1;
	color: var(--ink);
}
.wordmark__dot { color: var(--accent); }
.wordmark__img { max-height: 40px; width: auto; }
.header__brand { margin-right: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 12px;
	border-radius: var(--pill);
	font-size: .9375rem;
	font-weight: 500;
	color: var(--ink);
}
.nav__link:hover { text-decoration: none; background: var(--cream); }
.nav__item.is-current > .nav__link { font-weight: 600; }
.nav__item.is-current > .nav__link::after {
	content: ''; display: block; position: absolute; left: 14px; right: 14px; bottom: 4px;
	height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 44px;
	margin-left: -6px;
	border: 0; background: transparent; border-radius: var(--pill);
	color: var(--muted);
}
.nav__toggle:hover { background: var(--cream); color: var(--ink); }
.nav__toggle svg { transition: transform var(--fast) var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 260px;
	padding: 8px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(41, 52, 60, .10);
}
.nav__item.is-open > .nav__sub { display: block; }
.nav__sublink {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: .9375rem;
	font-weight: 500;
}
.nav__sublink:hover { text-decoration: none; background: var(--blue); }
.nav__cta .btn { min-height: 44px; padding: 10px 20px; font-size: .875rem; }

.header__menu {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 14px 8px 18px;
	border: 1px solid var(--line);
	border-radius: var(--pill);
	background: var(--white);
	font-weight: 600;
	font-size: .875rem;
}
.header__menu-icon { display: inline-flex; flex-direction: column; gap: 5px; width: 18px; }
.header__menu-icon span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--fast) var(--ease); }
.header__menu[aria-expanded="true"] .header__menu-icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
.header__menu[aria-expanded="true"] .header__menu-icon span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 959px) {
	.header__menu { display: inline-flex; }
	.nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--gutter) 20px;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px rgba(41, 52, 60, .10);
		max-height: calc(100vh - 78px);
		overflow: auto;
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-top: 1px solid var(--line-soft); }
	.nav__link { flex: 1; min-height: 52px; padding: 12px 6px; font-size: 1.0625rem; border-radius: 0; }
	.nav__link:hover { background: transparent; }
	.nav__item.is-current > .nav__link::after { display: none; }
	.nav__toggle { width: 52px; height: 52px; margin: 0; }
	.nav__sub {
		position: static;
		display: none;
		width: 100%;
		min-width: 0;
		padding: 0 0 8px 14px;
		border: 0; box-shadow: none; background: transparent;
	}
	.nav__item.is-open > .nav__sub { display: block; }
	.nav__sublink { padding: 10px 6px; font-size: 1rem; }
	.nav__cta { padding-top: 16px; }
	.nav__cta .btn { width: 100%; min-height: 50px; }
}

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

.hero { display: grid; gap: 40px; align-items: center; }
.hero--panel { grid-template-columns: 1fr; }
@media (min-width: 900px) {
	.hero--panel { grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); }
}
.hero--single .hero__copy { max-width: 760px; }
.hero--single .hero__intro { max-width: 60ch; }
.hero__copy .eyebrow { margin-bottom: 18px; }
.hero__panel { min-width: 0; }
.hero__panel--image img { border-radius: var(--radius-sm); box-shadow: 0 20px 50px rgba(41, 52, 60, .12); }

/* The ledger: the one piece of flair. A sheet of paper, slightly turned. */
.hero__panel .ledger { margin: 12px 8px 20px 0; }
.ledger {
	background: var(--white);
	border: 1px solid #cbd8e1;
	padding: 26px 26px 22px;
	transform: rotate(2.5deg);
	box-shadow: 10px 12px 0 var(--paper-shadow);
	max-width: 520px;
	margin-inline: auto;
}
.ledger__head {
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.ledger__brand { font-size: 1.4rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.ledger__brand span { color: var(--accent); }
.ledger__label { font-size: .6875rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ledger__title { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.125rem); line-height: 1.05; margin: 20px 0 20px; font-weight: 800; letter-spacing: -.04em; }
.ledger__list-label { font-size: .6875rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.ledger__list { list-style: none; counter-reset: priority; }
.ledger__list li {
	display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start;
	border-top: 1px solid var(--line);
	padding: 12px 0;
	font-size: .875rem; line-height: 1.5;
}
.ledger__list li::before {
	counter-increment: priority; content: counter(priority);
	width: 22px; height: 22px; display: grid; place-items: center;
	border: 1px solid #b5c1ca; border-radius: 50%;
	font-size: .6875rem; font-weight: 600; margin-top: 1px;
}
.ledger__foot { font-size: .6875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
@media (max-width: 599px) {
	.ledger { transform: rotate(1.5deg); padding: 20px 18px 16px; box-shadow: 6px 8px 0 var(--paper-shadow); }
	.hero__panel .ledger { margin: 8px 6px 14px 0; }
}

/* ---------- Statement ---------- */

.statement { text-align: center; max-width: 720px; margin-inline: auto; }
.statement__lead { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.statement__text { font-size: .9375rem; color: var(--muted); margin-top: 6px; }

/* ---------- Routes (service choices) ---------- */

.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -8px 0 32px; }
.pill {
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid var(--ink);
	border-radius: var(--pill);
	background: var(--white);
	color: var(--ink);
	font-size: .9375rem;
	font-weight: 600;
	transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.pill:hover { background: var(--cream); }
.pill[aria-selected="true"] { background: var(--ink); color: var(--white); }

.routes__grid { display: grid; gap: 20px; }
.routes--cards .routes__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.routes--tabs .routes__grid { grid-template-columns: 1fr; }
.routes--tabs.js-tabs .route:not(.is-active) { display: none; }

.route {
	display: grid;
	gap: 24px;
	padding: clamp(24px, 3.5vw, 40px);
	background: var(--surface, var(--cream));
	border-radius: var(--radius);
}
.route.surface-white { border: 1px solid var(--line); }
.routes--tabs .route { grid-template-columns: 1fr; }
@media (min-width: 900px) {
	.routes--tabs .route { grid-template-columns: 1.4fr 1fr; gap: 40px; }
	.routes--tabs .route__side { border-left: 1px solid rgba(41, 52, 60, .15); padding-left: 40px; }
}
.route__title { font-size: clamp(1.375rem, 1rem + 1.2vw, 1.875rem); margin-bottom: 14px; }
.route__text { font-size: .9375rem; }
.route__text p + p { margin-top: .7em; }
.route__side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.route__price { font-size: 1.0625rem; display: flex; flex-direction: column; gap: 2px; }
.route__price strong { font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.route__price-note { font-size: .8125rem; color: var(--muted); }
.route__foot { font-size: .8125rem; color: var(--muted); }
.routes--cards .route__side { margin-top: auto; }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; font-size: .9375rem; }
.ticks svg { width: 16px; height: 16px; margin-top: 5px; color: var(--accent-ink); }
.ticks--spaced { gap: 14px; }
.ticks--spaced li { font-size: 1rem; }
@media (min-width: 760px) { .ticks--cols { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* ---------- Offer ---------- */

.offer { display: grid; gap: 32px; }
@media (min-width: 900px) {
	.offer { grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
}
.offer__head { margin-bottom: 24px; }
.offer__list-label { font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.offer__conditions { margin-top: 24px; font-size: .9375rem; color: var(--muted); max-width: 60ch; }
.offer__conditions p + p { margin-top: .7em; }
.offer__side {
	position: sticky; top: 100px;
	display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
	padding: 28px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.surface-white .offer__side { background: var(--cream); border-color: transparent; }
.offer__price { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.offer__price-note { font-size: .875rem; color: var(--muted); margin-top: -6px; }
.offer__foot { font-size: .8125rem; color: var(--muted); }

/* ---------- Projects ---------- */

.projects { display: grid; gap: 24px; }
@media (min-width: 760px) {
	.projects--2, .projects--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.projects--2 .project-card:nth-child(2) { margin-top: 36px; }
}
@media (min-width: 1100px) {
	.projects--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.projects--3 .project-card:nth-child(2) { margin-top: 0; }
}
.project-card {
	display: flex; flex-direction: column;
	padding: clamp(20px, 3vw, 30px);
	background: var(--surface, var(--green));
	border-radius: var(--radius);
}
.project-card__title { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); margin-bottom: 10px; }
.project-card__title a:hover { text-decoration: underline; text-underline-offset: 5px; }
.project-card__summary { font-size: .9375rem; }
.project-card__media { display: block; margin: 22px 0 18px; border-radius: 10px; overflow: hidden; box-shadow: 0 14px 34px rgba(41, 52, 60, .14); }
.project-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform 500ms var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.015); }
.project-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: .8125rem; color: var(--muted); }
.project-card__links { display: flex; gap: 20px; flex-wrap: wrap; }
.projects__empty { color: var(--muted); }

/* ---------- Text and media ---------- */

.textmedia { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) {
	.text--aside .textmedia, .text--image .textmedia { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
	.text--media-left .textmedia__side { order: -1; }
	.text--aside .textmedia__main .section__head { margin-bottom: 20px; }
	.text--aside .textmedia__side { padding-top: 6px; }
}
.textmedia__figure img { border-radius: var(--radius-sm); }
.textmedia__figure figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.text--none .textmedia__main { max-width: 760px; }

/* ---------- Features ---------- */

.features { display: grid; gap: 28px 40px; }
@media (min-width: 700px) { .features--2, .features--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { padding-top: 18px; border-top: 1px solid var(--line); }
.features--cards .feature { padding: 24px; border: 0; background: var(--cream); border-radius: var(--radius-sm); }
.section:not(.surface-white).features--cards .feature { background: var(--white); }
.feature__title { font-size: 1.125rem; margin-bottom: 8px; }
.feature__text { font-size: .9375rem; color: var(--ink); }
.feature__text p + p { margin-top: .6em; }
.feature .textlink { margin-top: 10px; min-height: 36px; font-size: .875rem; }
.section__after { margin-top: var(--space-block); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.section__footnote { font-size: .9375rem; color: var(--muted); max-width: 64ch; }

/* ---------- Process ---------- */

.process { display: grid; gap: 32px; }
@media (min-width: 900px) {
	.process { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); }
	.process__head { position: sticky; top: 100px; margin-bottom: 0; }
}
.steps { list-style: none; counter-reset: step; display: grid; }
.step {
	position: relative;
	display: grid; grid-template-columns: 44px 1fr; gap: 18px;
	padding: 22px 0;
	border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
	counter-increment: step; content: counter(step);
	width: 36px; height: 36px; display: grid; place-items: center;
	border: 1px solid var(--ink); border-radius: 50%;
	font-size: .875rem; font-weight: 600;
}
.step__title { font-size: 1.125rem; margin-bottom: 6px; grid-column: 2; }
.step__text { grid-column: 2; font-size: .9375rem; }
.step__text p + p { margin-top: .6em; }
.step::before { grid-row: 1 / span 2; }

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

.faq { display: grid; gap: 28px; }
@media (min-width: 900px) {
	.faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
	.faq__head { position: sticky; top: 100px; margin-bottom: 0; }
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 18px 0;
	list-style: none;
	cursor: pointer;
	font-weight: 600;
	font-size: 1.0625rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent-ink); }
.faq__icon { position: relative; flex: none; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after {
	content: ''; position: absolute; left: 50%; top: 50%;
	width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%);
	transition: transform var(--fast) var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 0 22px; max-width: 64ch; font-size: .9375rem; }

/* ---------- CTA band ---------- */

.ctaband { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .ctaband { grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 80px); } .ctaband__actions { justify-self: end; text-align: right; } .ctaband__actions .actions { justify-content: flex-end; } }
.ctaband .section__head { margin-bottom: 0; }
.ctaband__actions .actions { margin-top: 0; }
.ctaband__email { margin-top: 14px; font-size: .9375rem; color: var(--muted); }
.ctaband__email a { color: var(--ink); font-weight: 600; }

/* ---------- Contact and form ---------- */

.contact { display: grid; gap: 36px; }
@media (min-width: 900px) {
	.contact { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
}
.contact__next { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(41, 52, 60, .18); }
.contact__next-title { font-size: .9375rem; font-weight: 700; margin-bottom: 6px; }
.contact__next-text { font-size: .9375rem; }
.contact__email { margin-top: 20px; font-size: .9375rem; }
.contact__email a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.form { display: block; }
.form__fields { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__field { display: grid; gap: 6px; }
.form__field label, .form__check label { font-size: .9375rem; font-weight: 500; }
.form__opt { color: var(--muted); font-weight: 400; }
.form__help { font-size: .8125rem; color: var(--muted); margin-top: -2px; }
.form input[type="text"], .form input[type="email"], .form select, .form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid #c9d2d9;
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
	transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.form textarea { min-height: 150px; resize: vertical; }
.form select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2329343c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 44px;
}
.form input::placeholder, .form textarea::placeholder { color: #7a868f; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--focus); border-radius: var(--radius-sm); }
.form .has-error input, .form .has-error select, .form .has-error textarea { border-color: var(--error); }
.form__error { display: none; font-size: .8125rem; color: var(--error); font-weight: 500; }
.form .has-error .form__error, .form__error:not(:empty) { display: block; }
.form__consent { border: 0; padding: 0; margin: 4px 0 0; display: grid; gap: 12px; }
.form__check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.form__check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.form__check label { font-size: .875rem; font-weight: 400; }
.form__check .form__error { grid-column: 2; }
.form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }
.form__privacy { font-size: .8125rem; color: var(--muted); max-width: 32ch; }
.form__privacy a { text-decoration: underline; text-underline-offset: 3px; }
.form__note { font-size: .8125rem; color: var(--muted); }
.form__status { display: none; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .9375rem; font-weight: 500; margin-bottom: 18px; }
.form__status.is-success { display: block; background: var(--ok-bg); color: var(--ok); }
.form__status.is-error { display: block; background: var(--error-bg); color: var(--error); }
.form__status.is-sending { display: block; background: var(--white); color: var(--muted); }
.form.is-sending .form__fields { opacity: .6; pointer-events: none; }
.form.is-done .form__status.is-success { font-size: 1.0625rem; padding: 22px 24px; }

/* ---------- Related links ---------- */

.related { list-style: none; display: grid; gap: 14px; }
@media (min-width: 700px) { .related--2, .related--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .related--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.related__link {
	display: grid; gap: 6px;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.related__link:hover { text-decoration: none; background: var(--blue); border-color: var(--blue); }
.related__title { font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; }
.related__text { font-size: .9375rem; color: var(--muted); }
.related__link svg { width: 18px; height: 18px; margin-top: 6px; color: var(--accent-ink); }

/* ---------- Prose (rich text) ---------- */

.prose { font-size: 1rem; max-width: 68ch; }
.prose--long { font-size: 1.0625rem; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin-top: 1.8em; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose h4 { font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.prose blockquote { margin: 1.4em 0; padding-left: 1.2em; border-left: 3px solid var(--accent); color: var(--muted); }
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose--aside { color: var(--ink); }

/* ---------- Project page ---------- */

.project-head { display: grid; gap: 32px; align-items: end; }
@media (min-width: 900px) { .project-head { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); } }
.project-head__name { font-size: 1.0625rem; font-weight: 700; margin-bottom: 16px; }
.project-head__media img { border-radius: var(--radius-sm); box-shadow: 0 20px 50px rgba(41, 52, 60, .14); }
.crumb { text-decoration: underline; text-underline-offset: 3px; }
.facts { display: grid; gap: 10px; margin-top: 22px; font-size: .9375rem; }
.facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(41, 52, 60, .18); }
.facts dt { color: var(--muted); font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; padding-top: 2px; }
.facts a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.facts dd { min-width: 0; overflow-wrap: anywhere; }
.section--project-nav { padding-top: 0; }
.projnav { display: grid; gap: 20px; align-items: center; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .projnav { grid-template-columns: 1fr auto 1fr; } .projnav__link--next { text-align: right; justify-self: end; } }
.projnav__link { display: grid; gap: 2px; }
.projnav__link .eyebrow { margin-bottom: 0; }
.projnav__title { font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; }
.projnav__all { justify-self: center; }

/* ---------- Listing, search, legal ---------- */

.listing__item { padding: 20px 0; border-top: 1px solid var(--line); }
.listing__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.searchform { display: flex; gap: 10px; margin: 20px 0 28px; }
.searchform input { flex: 1; min-height: 49px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--pill); }
.pagination { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--pill); }
.pagination .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.legal .hero__title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.legal .section--hero { padding-bottom: clamp(32px, 4vw, 48px); }

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

.footer { margin-top: auto; border-top: 1px solid var(--line-soft); }
.footer__inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: clamp(40px, 5vw, 64px) var(--gutter) 32px;
	display: grid;
	gap: 36px;
}
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer__wordmark .wordmark__text { font-size: 1.875rem; }
.footer__tagline { margin-top: 14px; font-size: .9375rem; color: var(--muted); max-width: 40ch; }
.footer__links, .footer__social, .footer__legal-links { list-style: none; display: grid; gap: 8px; }
.footer__links a, .footer__social a { display: inline-flex; min-height: 32px; align-items: center; font-size: .9375rem; }
.footer__contact { font-size: .9375rem; display: grid; gap: 8px; align-content: start; }
.footer__email { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.footer__location { color: var(--muted); }
.footer__social { grid-auto-flow: column; justify-content: start; gap: 16px; margin-top: 6px; }
.footer__base { border-top: 1px solid var(--line-soft); }
.footer__base-inner {
	max-width: var(--wrap);
	margin-inline: auto;
	padding: 18px var(--gutter) 28px;
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px;
	font-size: .8125rem; color: var(--muted);
}
.footer__signoff { margin-right: auto; }
.footer__legal-links { grid-auto-flow: column; gap: 18px; }
.footer__legal-links a { display: inline-flex; min-height: 32px; align-items: center; }
.footer__copyright { margin: 0; }
@media (max-width: 599px) { .footer__signoff { width: 100%; } }

/* ---------- Motion: gentle settle on cards, nothing hidden ---------- */

@media (prefers-reduced-motion: no-preference) {
	.js .settle { opacity: .001; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
	.js .settle.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ---------- Print ---------- */

@media print {
	.header, .footer__base, .nav__cta, .skip-link, .btn, .form { display: none !important; }
	.section { break-inside: avoid; padding-block: 24px; }
	.section:not(.surface-white) { background: none; border: 1px solid #ccc; }
	a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: .8em; color: #555; }
}

/* ---------- Insights ---------- */

.topic-filter { margin: 0 0 32px; }
.topic-filter__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topic-filter .pill { display: inline-flex; align-items: center; text-decoration: none; }
.topic-filter .pill[aria-current="page"] { background: var(--ink); color: var(--white); }

.article-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--radius);
	background: var(--surface, var(--cream));
	min-height: 240px;
}
.article-card .eyebrow { margin: 0; }
.article-card__title { font-size: 1.3125rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; margin: 0; }
.article-card__title a { color: inherit; text-decoration: none; }
.article-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.article-card__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.article-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.article-card__title a:focus-visible { outline: none; }
.article-card__summary { color: var(--ink); margin: 0; }
.article-card__meta { margin: auto 0 0; padding-top: 8px; font-size: .8125rem; color: var(--muted); }
.insights__empty { color: var(--muted); }
.section__after { margin-top: 28px; }

.section--article-header { padding-bottom: clamp(24px, 4vw, 40px); }
.section--article-header .eyebrow a { color: inherit; }
.article-title { font-size: clamp(2.125rem, 5vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; margin: 14px 0 0; }
.article-standfirst { font-size: clamp(1.125rem, 2vw, 1.3125rem); line-height: 1.5; margin-top: 18px; max-width: 62ch; }
.article-meta { margin-top: 22px; font-size: .875rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.article-meta a { color: var(--ink); font-weight: 600; }
.article-figure { margin-top: clamp(28px, 4vw, 44px); }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.article-figure figcaption { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.article-body > .section.surface-white:first-child { padding-top: 0; }
.section--author { padding-top: 0; }

.author-note { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0 0; border-top: 1px solid var(--line); }
.author-note__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-note__name { font-weight: 700; margin: 0; }
.author-note__bio { color: var(--muted); margin: 6px 0 12px; }
.article-points { margin-top: 28px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--blue); }
.article-points__title { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin: 0 0 14px; }
.article-points .ticks li { font-size: 1rem; }

/* Legal tables (cookie lists) scroll inside themselves on phones. */
@media (max-width: 699px) {
	.is-legal table, .prose table { display: block; overflow-x: auto; max-width: 100%; }
	.is-legal th, .is-legal td, .prose th, .prose td { min-width: 9rem; }
}
