/* ==========================================================================
   Legacy Structures — main stylesheet
   Tokens mirror theme.json so the WordPress theme maps 1:1 (see MIGRATION.md).
   Direction (Nov 2026): the Project Stories book. Navy leads, white and stone
   carry the page, red is an accent only (thin rules + the quote button).
   Square edges, generous whitespace, photos lead and text supports them.
   ========================================================================== */

:root {
	--legacy-navy: #171F42;
	--legacy-navy-2: #222C58;       /* hover and raised tiles on navy */
	--white: #FFFFFF;
	--legacy-stone: #E3E4E0;
	--legacy-stone-2: #D3D5CF;      /* placeholders and rules on stone */
	--legacy-stone-hover: #ECEDE9;  /* R6-1: "What we build" tile hover */
	--legacy-red: #C61D24;          /* ACCENT ONLY: rules + the quote button */
	--legacy-red-dark: #A3171D;     /* quote button hover */
	--text-muted: #3A4266;
	--field-border: #6B7190;        /* 4.8:1 on white, meets 3:1 UI contrast */
	--line: #C9CBC5;

	--font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Lora", Georgia, "Times New Roman", serif;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--space-section: clamp(64px, 9vw, 128px);
	--space-block: clamp(32px, 4vw, 56px);
	--header-h: 84px;
	--rule-w: 80px;
	--ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);  /* R6-1 tile entrance and hover */

	--focus: var(--legacy-navy);
}
@media (max-width: 1079px) { :root { --header-h: 68px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--white);
	color: var(--legacy-navy);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1.125rem;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: 0.18em; }
b, strong { font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
body.nav-open { overflow: hidden; }

/* ---------- Accessibility helpers ---------- */
.sr-only {
	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: 1000;
	background: var(--white); color: var(--legacy-navy);
	font: 600 1rem/1 var(--font-head); padding: 16px 20px;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark, .section--navy, .site-header, .site-footer, .page-hero, .hero, .cta-band--navy, .quote-band, .lp-hero { --focus: var(--white); }
.form-card { --focus: var(--legacy-navy); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: var(--space-block); }
.section--stone { background: var(--legacy-stone); }
.section--navy { background: var(--legacy-navy); color: var(--white); }
.section-head { max-width: 760px; margin-bottom: var(--space-block); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.section-head--split > div { max-width: 760px; }
.stack > * + * { margin-top: 1.25em; }
.split { display: grid; gap: var(--space-block); align-items: center; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
	.split--top { align-items: start; }
}
.grid { display: grid; gap: 32px 24px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Type ----------
   Montserrat 300 (titles, numerals) · 400 (H2, captions) · 500 (H3/H4, labels, nav)
   · 600 (buttons only). Lora 400 for all body text. Nothing heavier. */
h1, h2, h3, h4, .h-display { font-family: var(--font-head); text-wrap: balance; }
h1, .h1, .title-light {
	font-weight: 300;
	font-size: clamp(2.5rem, 6vw, 4.75rem);
	line-height: 1.02;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
h2, .h2 { font-weight: 400; font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.15; letter-spacing: -0.005em; }
h3, .h3 { font-weight: 500; font-size: clamp(1.1875rem, 1.8vw, 1.375rem); line-height: 1.3; letter-spacing: 0; }
h4 { font-weight: 500; font-size: 1.0625rem; line-height: 1.35; }
.eyebrow, .caption {
	display: block;
	font: 500 0.75rem/1.4 var(--font-head);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--legacy-navy);
	margin-bottom: 18px;
}
.on-dark .eyebrow, .section--navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow, .lp-hero .eyebrow,
.callout--navy .eyebrow, .quote-band .eyebrow, .cta-band--navy .eyebrow { color: var(--legacy-stone); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.6; }
.muted { color: var(--text-muted); }
.on-dark .muted, .section--navy .muted { color: rgba(255, 255, 255, 0.84); }

/* Red rule: the one decorative use of red, under section headings and on cards. */
.rule, .section-head h2::after, .rule-after::after {
	content: ""; display: block; width: var(--rule-w); height: 3px; margin-top: 22px; background: var(--legacy-red);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center h2::after { margin-inline: auto; }

.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose a { color: var(--legacy-navy); text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.on-dark .prose a, .section--navy .prose a { color: var(--white); }
.subtle-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: rgba(23, 31, 66, 0.45); }
.subtle-link:hover { text-decoration-color: currentColor; }

/* ---------- Placeholders (visible on purpose — see CONTENT-TODO.md) ---------- */
.ph {
	display: inline;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 0.86em;
	letter-spacing: 0.03em;
	background: rgba(198, 29, 36, 0.08);
	outline: 1px dashed currentColor;
	outline-offset: 1px;
	padding: 0 0.3em;
}
.ph-img {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--legacy-stone);
	color: var(--text-muted);
	border: 2px dashed rgba(23, 31, 66, 0.35);
	padding: 16px;
	text-align: center;
	font: 500 0.8125rem/1.4 var(--font-head);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.section--stone .ph-img { background: var(--legacy-stone-2); }
.on-dark .ph-img, .section--navy .ph-img, .ph-img--dark { background: var(--legacy-navy-2); color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.35); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px;
	padding: 14px 28px;
	border: 1px solid transparent;
	border-radius: 0;
	font: 600 0.875rem/1.2 var(--font-head);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--red { background: var(--legacy-red); color: var(--white); }
.btn--red:hover { background: var(--legacy-red-dark); }
.btn--light { background: var(--white); color: var(--legacy-navy); }
.btn--light:hover { background: var(--legacy-stone); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.8); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: var(--white); color: var(--legacy-navy); border-color: var(--white); }
.btn--navy { background: var(--legacy-navy); color: var(--white); }
.btn--navy:hover { background: var(--legacy-navy-2); }
.btn--outline-navy { border-color: var(--legacy-navy); color: var(--legacy-navy); }
.btn--outline-navy:hover { background: var(--legacy-navy); color: var(--white); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 0.8125rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.text-link {
	font: 500 0.8125rem/1.3 var(--font-head);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--legacy-navy);
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 44px;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.on-dark .text-link, .section--navy .text-link { color: var(--white); }
.arrow { display: inline-block; transition: transform 0.2s ease; }
a:hover .arrow { transform: translateX(4px); }

/* ---------- Header: transparent over the page-header photo, solid navy after scroll ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	margin-bottom: calc(-1 * var(--header-h));   /* the page header slides up underneath */
	color: var(--white);
	background: var(--legacy-navy);               /* no-JS: always solid */
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header::before {
	/* Legibility gradient over any photo: links sit on >= 0.72 navy, white text passes 4.5:1. */
	content: ""; position: absolute; z-index: -1; inset: 0 0 auto 0;
	height: calc(var(--header-h) + 56px);
	background: linear-gradient(to bottom, rgba(23, 31, 66, 0.82) 0%, rgba(23, 31, 66, 0.72) 55%, rgba(23, 31, 66, 0) 100%);
	pointer-events: none; transition: opacity 0.3s ease;
}
.site-header.is-ready { background: transparent; }
.site-header.is-ready.scrolled, body.nav-open .site-header.is-ready { background: var(--legacy-navy); box-shadow: 0 8px 28px rgba(10, 14, 34, 0.28); }
.site-header.scrolled::before, body.nav-open .site-header::before { opacity: 0; }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: auto; height: 46px; }
.brand--sm img { height: 40px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-phone {
	font: 500 0.9375rem/1 var(--font-head); text-decoration: none; color: var(--white);
	min-height: 44px; display: inline-flex; align-items: center;
}
.header-phone:hover { text-decoration: underline; }

.primary-nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
	font: 500 0.9375rem/1.2 var(--font-head);
	letter-spacing: 0.02em;
	color: var(--white); text-decoration: none;
	border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link[aria-current="page"] { border-bottom-color: var(--legacy-stone); }
.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 44px; margin-left: -8px;
	background: none; border: 0; color: var(--white);
}
.nav-toggle svg { width: 12px; height: 12px; transition: transform 0.15s ease; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu {
	display: none;
	position: absolute; top: 100%; left: 0;
	min-width: 280px;
	background: var(--white);
	color: var(--legacy-navy);
	list-style: none; margin: 0; padding: 8px 0;
	border-top: 3px solid var(--legacy-navy);
	box-shadow: 0 18px 40px rgba(10, 14, 34, 0.25);
	--focus: var(--legacy-navy);
}
.nav-item.is-open > .sub-menu { display: block; }
@media (hover: hover) and (min-width: 1080px) {
	.nav-item.has-sub:hover > .sub-menu { display: block; }
}
.sub-menu a {
	display: block; padding: 12px 20px; min-height: 44px;
	font: 500 0.9375rem/1.3 var(--font-head);
	text-decoration: none;
}
.sub-menu a:hover { background: var(--legacy-stone); }
.sub-menu .sub-menu__all { border-top: 1px solid var(--legacy-stone); margin-top: 6px; }

.menu-toggle {
	display: none;
	align-items: center; justify-content: center; gap: 10px;
	min-width: 48px; min-height: 48px; padding: 0 12px;
	background: none; border: 1px solid rgba(255, 255, 255, 0.45); color: var(--white);
	font: 500 0.75rem/1 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase;
}
.menu-toggle__bars { position: relative; width: 20px; height: 2px; background: currentColor; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
	content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform 0.15s ease;
}
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-only { display: none; }

@media (max-width: 1079px) {
	.menu-toggle { display: inline-flex; }
	.header-actions .btn { display: none; }
	.brand img { height: 34px; }
	.primary-nav {
		display: none;
		position: fixed; inset: var(--header-h) 0 0 0;
		background: var(--legacy-navy);   /* always solid */
		overflow-y: auto;
		padding: 16px var(--gutter) 48px;
		margin: 0;
	}
	.primary-nav.is-open { display: block; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-item { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
	.nav-link { flex: 1; min-height: 60px; font-size: 1.25rem; font-weight: 400; padding: 12px 0; border-bottom: 0; }
	.nav-link[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--legacy-stone); text-decoration-thickness: 2px; }
	.nav-toggle { width: 60px; height: 60px; margin: 0; border-left: 1px solid rgba(255, 255, 255, 0.12); }
	.nav-toggle svg { width: 16px; height: 16px; }
	.sub-menu {
		position: static; width: 100%; min-width: 0;
		background: transparent; color: var(--white); box-shadow: none;
		border-top: 0; padding: 0 0 12px 16px;
		--focus: var(--white);
	}
	.sub-menu a { font-size: 1.0625rem; font-weight: 400; padding: 12px 0; }
	.sub-menu a:hover { background: transparent; text-decoration: underline; }
	.sub-menu .sub-menu__all { border-top: 0; margin-top: 0; color: var(--legacy-stone); }
	.mobile-only { display: block; }
	.mobile-nav-cta { margin-top: 32px; display: grid; gap: 16px; }
	.mobile-nav-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
	.header-phone { display: none; }
	.menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Photo heroes (home hero + inner page headers) ---------- */
.hero, .page-hero { position: relative; isolation: isolate; background: var(--legacy-navy); color: var(--white); overflow: hidden; }
.hero__media, .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .page-hero__media img, .page-hero__media .ph-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.page-hero__media .ph-img { border: 0; place-items: end center; padding-bottom: 20px; font-size: 0.6875rem; }
.hero::after, .page-hero--photo::after {
	/* Subtle navy gradient so overlaid titles stay legible on any photo. */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(to top, rgba(23, 31, 66, 0.88) 0%, rgba(23, 31, 66, 0.55) 38%, rgba(23, 31, 66, 0.18) 70%, rgba(23, 31, 66, 0.35) 100%),
		linear-gradient(to right, rgba(23, 31, 66, 0.55) 0%, rgba(23, 31, 66, 0) 65%);
}
.hero__inner { display: flex; flex-direction: column; justify-content: flex-end; min-height: min(92vh, 860px); padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(56px, 8vw, 112px); }
.hero h1 { max-width: 14ch; font-size: clamp(2.75rem, 7.4vw, 6rem); }
.hero h1 span { display: block; }
.hero h1 .h1-second { color: var(--legacy-stone); }
.hero h1 .h1-second::after { content: ""; display: block; width: 120px; height: 3px; margin-top: 28px; background: var(--legacy-red); }
.hero .lede { color: rgba(255, 255, 255, 0.9); max-width: 34em; margin-top: 28px; }
.hero .btn-row { margin-top: 36px; }

.page-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(48px, 7vw, 96px); }
.page-hero--photo { display: flex; align-items: flex-end; min-height: clamp(440px, 62vh, 640px); }
.page-hero--photo > .container { width: 100%; }
.page-hero h1 { font-size: clamp(2.25rem, 5.4vw, 4.25rem); max-width: 18ch; }
.page-hero h1.h1--wide { max-width: 24ch; font-size: clamp(2rem, 4.6vw, 3.5rem); }
.page-hero h1::after { content: ""; display: block; width: var(--rule-w); height: 3px; margin-top: 24px; background: var(--legacy-red); }
.page-hero .lede { color: rgba(255, 255, 255, 0.9); max-width: 40em; margin-top: 24px; }
.page-hero .btn-row { margin-top: 32px; }
.breadcrumbs { margin-bottom: 28px; font: 400 0.75rem/1.4 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.85); }
.breadcrumbs li + li::before { content: "/"; color: rgba(255, 255, 255, 0.5); }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.photo-credit { position: absolute; right: var(--gutter); bottom: 16px; z-index: 1; font: 400 0.6875rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }

/* ---------- Proof bar ---------- */
.proof-bar { background: var(--legacy-stone); color: var(--legacy-navy); }
.proof-bar__list { display: grid; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.proof-bar__item { padding: 28px 16px; text-align: center; }
.proof-bar__item + .proof-bar__item { border-top: 1px solid var(--line); }
@media (min-width: 900px) {
	.proof-bar__list { grid-template-columns: repeat(3, 1fr); }
	.proof-bar__item { padding: 40px 16px; }
	.proof-bar__item + .proof-bar__item { border-top: 0; border-left: 1px solid var(--line); }
}
.stat__num { display: block; font: 300 clamp(2.25rem, 4.6vw, 3.5rem)/1 var(--font-head); letter-spacing: 0; }
.stat__num--word { font-size: clamp(1.75rem, 3.4vw, 2.625rem); text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.15; }
.stat__label { display: block; margin-top: 12px; font: 500 0.6875rem/1.4 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.on-dark .stat__label, .section--navy .stat__label { color: var(--legacy-stone); }

/* ---------- Cards ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--white); }
.card__media { overflow: hidden; }
.card__media img, .card__media .ph-img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 0 8px; }
.card__body::before { content: ""; display: block; width: 64px; height: 3px; margin-bottom: 20px; background: var(--legacy-red); transition: width 0.3s ease; }
.card:hover .card__body::before, .card:focus-within .card__body::before { width: 120px; }
.card__num { font: 400 0.75rem/1 var(--font-head); letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 10px; }
.card__title { margin-bottom: 10px; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__text { color: var(--text-muted); font-size: 1rem; margin-bottom: 16px; }
.card__more { margin-top: auto; font: 500 0.75rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--legacy-navy); padding-bottom: 12px; }
.card__meta { font: 400 0.75rem/1.4 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.section--stone .card { background: transparent; }

/* ---------- Featured project ---------- */
.feature-quote { margin-top: 28px; padding: 4px 0 4px 24px; border-left: 2px solid var(--legacy-navy); }
.feature-quote p { font-style: italic; font-size: 1.1875rem; }
.feature-quote footer { margin-top: 10px; font: 400 0.8125rem/1.4 var(--font-head); letter-spacing: 0.06em; color: var(--text-muted); }
.fact-line { font: 500 0.75rem/1.4 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin: -4px 0 20px; }

/* ---------- Audience tiles ---------- */
.tile {
	position: relative; display: flex; flex-direction: column; gap: 12px;
	min-height: 200px; padding: 32px 28px;
	background: var(--legacy-navy); color: var(--white);
	transition: background-color 0.2s ease;
	--focus: var(--white);
}
.tile::after { content: ""; position: absolute; left: 28px; bottom: 0; width: 64px; height: 3px; background: var(--legacy-red); transition: width 0.3s ease; }
.tile:hover, .tile:focus-within { background: var(--legacy-navy-2); }
.tile:hover::after, .tile:focus-within::after { width: 120px; }
.tile h3 a { text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile p { color: rgba(255, 255, 255, 0.84); font-size: 1rem; }
.tile__arrow { margin-top: auto; color: var(--legacy-stone); font: 300 1.5rem/1 var(--font-head); }
.tile:focus-within { outline: 3px solid var(--legacy-navy); outline-offset: 3px; }
.tile a:focus-visible { outline: none; }

/* ---------- Process (static list; the scroll timeline enhances it, see Motion) ---------- */
.process { display: grid; gap: 32px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.process__step { border-top: 1px solid rgba(255, 255, 255, 0.3); padding-top: 24px; }
.process__num { display: block; font: 300 2.75rem/1 var(--font-head); color: var(--legacy-stone); margin-bottom: 16px; }
.process__step h3 { margin-bottom: 10px; color: var(--white); }
.process__step p { color: rgba(255, 255, 255, 0.84); font-size: 1rem; }
.process--compact .process__num { font-size: 2rem; margin-bottom: 10px; }

/* ---------- Story ---------- */
.story-stat { display: flex; align-items: baseline; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--legacy-stone); }
.story-stat .stat__label { margin: 0; }
.story-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.story-photo figcaption { margin-top: 12px; }

/* ---------- Values ---------- */
.value { padding: 28px; background: var(--white); }
.value::before { content: ""; display: block; width: 64px; height: 3px; margin-bottom: 20px; background: var(--legacy-red); }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--text-muted); font-size: 1rem; }

/* ---------- Team (R4A-10: nine cards, 3 x 3 from 760px, 2 columns would orphan the 9th; one column below.
   Each card is a square initials tile beside the name and title, until headshots arrive.) ---------- */
/* R5-A2: photo on top (4:5), name and title below. 3 across from 600px (3 rows of 3); 2 across on phones with the
   ninth card centred so the last row isn't a lone card on the left. */
/* R6-8: 5 across from 1000px, centred in the section. A 10-column grid with each card spanning 2 (about 173px wide
   at the 960px cap); when the last row has 4 cards (nine people), its first card starts one column in, so the row of 4
   sits centred under the row of 5. 3 x 3 from 600px (capped at 600px, centred); phones unchanged. */
.team-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.team-card { grid-column: span 2; display: grid; align-content: start; gap: 14px; }
.team-card:last-child:nth-child(odd) { grid-column: 2 / span 2; }
@media (min-width: 600px) {
	.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; max-width: 600px; }
	.team-card, .team-card:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 1000px) {
	.team-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 44px 24px; max-width: 960px; }
	.team-card, .team-card:last-child:nth-child(odd) { grid-column: span 2; }
	.team-card:nth-child(5n + 1):nth-last-child(4) { grid-column: 2 / span 2; }
}
.team-card__photo { display: grid; place-items: center; aspect-ratio: 4 / 5; overflow: hidden; background: var(--white); border-top: 2px solid var(--legacy-red); }
.team-card__photo--img { display: block; background: var(--legacy-stone-2); }
.team-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.section:not(.section--stone) .team-card__photo { background: var(--legacy-stone); }
.team-card__photo span { font: 300 clamp(1.75rem, 3.4vw, 2.75rem)/1 var(--font-head); letter-spacing: 0.06em; color: var(--legacy-navy); }
.team-card h3 { font-size: clamp(1rem, 1.6vw, 1.1875rem); }
.team-card p { color: var(--text-muted); font-size: 0.9375rem; margin-top: 4px; }

/* ---------- About Our Story (R4A-5/9), philosophy pull-quote (R4A-8), Copponex photo (R4A-11) ---------- */
.story-photo--founders img { aspect-ratio: 4 / 5; object-position: 50% 15%; }
/* R5-A1: the family photo is a smaller, centred 3:2 figure (about 60% of the container, max 720px); full width on phones. */
.story-band { width: min(100%, 720px); margin: var(--space-block) auto 0; }
@media (min-width: 640px) { .story-band { width: min(60%, 720px); } }
.story-band img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; }
.story-band figcaption { margin-top: 12px; }
.pull-quote { margin: 48px 0 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--legacy-red); }
.pull-quote blockquote { margin: 0; }
.pull-quote p { font: italic 400 clamp(1.1875rem, 1.6vw, 1.375rem)/1.55 var(--font-body); color: var(--legacy-navy); }
.pull-quote figcaption { margin-top: 14px; font: 400 0.8125rem/1.4 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.fam-photo img { display: block; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 899px) { .split--photo-left .fam-photo { order: 2; } }
.split--photo-left .btn-row { margin-top: 28px; }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--white); height: 100%; }
.testimonial blockquote p { font-style: italic; font-size: 1.125rem; }
.testimonial figcaption { margin-top: auto; font: 500 0.9375rem/1.4 var(--font-head); }
.testimonial figcaption span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.875rem; }
.testimonial__mark { font: 300 3rem/0.6 var(--font-head); color: var(--legacy-navy); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px 32px; }
@media (min-width: 700px) { .checklist--2 { grid-template-columns: 1fr 1fr; } }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1px; background: currentColor; }

.callout { padding: 32px; background: var(--legacy-stone); border-left: 2px solid var(--legacy-navy); }
.callout--navy { background: var(--legacy-navy); color: var(--white); border-left-color: var(--legacy-stone); }
.callout h2, .callout h3 { margin-bottom: 12px; }
.callout .lede { font-weight: 400; }

.chip-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
	border: 1px solid var(--legacy-navy); text-decoration: none;
	font: 500 0.8125rem/1.2 var(--font-head); letter-spacing: 0.06em;
	background: transparent; color: var(--legacy-navy);
}
.chip:hover { background: var(--legacy-navy); color: var(--white); }
.chip[aria-pressed="true"] { background: var(--legacy-navy); color: var(--white); }
.chip__count { font-weight: 400; opacity: 0.8; }

/* ---------- Spec table / facts ---------- */
.facts { display: grid; gap: 0; margin: 0; background: var(--legacy-stone); }
.facts::before { content: ""; display: block; width: 64px; height: 3px; margin: 0 24px; background: var(--legacy-red); }
.facts div { padding: 16px 24px; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 0.6875rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.facts dd { margin-top: 4px; }
.facts a { color: var(--legacy-navy); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--legacy-navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex; justify-content: space-between; align-items: center; gap: 24px;
	min-height: 64px; padding: 18px 0;
	font: 500 1.0625rem/1.4 var(--font-head);
	cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font: 300 1.75rem/1 var(--font-head); color: var(--legacy-navy); }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq__a { padding: 0 0 24px; max-width: 70ch; color: var(--text-muted); }
.faq-group + .faq-group { margin-top: var(--space-block); }
.faq-group h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 16px; }

/* ---------- Quote band + form ---------- */
.quote-band { background: var(--legacy-navy); color: var(--white); padding-block: var(--space-section); }
.quote-band__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .quote-band__grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.quote-band h2 { font-weight: 300; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.05; margin-bottom: 20px; }
.quote-band h2::after { content: ""; display: block; width: var(--rule-w); height: 3px; margin-top: 24px; background: var(--legacy-red); }
.quote-band .lede { margin-bottom: 28px; color: rgba(255, 255, 255, 0.9); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list a, .contact-list__value { font: 500 1.0625rem/1.4 var(--font-head); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.contact-list a:hover { text-decoration: underline; }
.contact-list__label { display: block; font: 500 0.6875rem/1.2 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--legacy-stone); }

.form-card { background: var(--white); color: var(--legacy-navy); padding: clamp(24px, 4vw, 48px); }
.form-card .h3 { margin-bottom: 4px; }
.form-card__intro { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; margin-bottom: 8px; font: 500 0.9375rem/1.3 var(--font-head); }
.req { color: var(--legacy-red); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 14px;
	border: 1px solid var(--field-border); border-radius: 0;
	background: var(--white); color: var(--legacy-navy);
	font-family: var(--font-body); font-size: 1.0625rem;
}
.field select {
	appearance: none; -webkit-appearance: none; padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171F42' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input[type="file"] { padding: 12px; font-family: var(--font-head); font-size: 0.9375rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--legacy-navy); outline-offset: 2px; border-color: var(--legacy-navy); }
.field__hint { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--text-muted); }
.field__error { display: none; margin-top: 6px; font: 500 0.875rem/1.4 var(--font-head); color: var(--legacy-red); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--legacy-red); border-width: 2px; }
.field.has-error .field__error { display: block; }
.field__error::before { content: "! "; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-actions .btn { min-width: 220px; }
.form-note { font-size: 0.875rem; color: var(--text-muted); }
.form-alert { display: none; margin-bottom: 20px; padding: 16px 20px; border-left: 3px solid var(--legacy-red); background: #FBEAEA; font: 500 0.9375rem/1.5 var(--font-head); }
.form-alert.is-visible { display: block; }
.form-alert:focus { outline: 3px solid var(--legacy-navy); outline-offset: 2px; }
.form-success { display: none; padding: 8px 0; }
.form-success.is-visible { display: block; }
.form-success .h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.form-success:focus { outline: none; }
.quote-form.is-sent .quote-form__fields { display: none; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* ---------- CTA band (closing line sitewide) ---------- */
.cta-band { background: var(--legacy-stone); color: var(--legacy-navy); padding-block: clamp(64px, 9vw, 112px); }
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.2fr auto; } }
.cta-band h2 { font-weight: 300; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; }
.cta-band h2::after { content: ""; display: block; width: var(--rule-w); height: 3px; margin-top: 24px; background: var(--legacy-red); }
.cta-band p { margin-top: 20px; font-size: 1.125rem; max-width: 40em; color: var(--text-muted); }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; list-style: none; padding: 0; }
.filter-status { font: 400 0.875rem/1.4 var(--font-head); letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 24px; }
/* R3-8: "What we build" tiles (service pages) */
.build-groups { display: grid; gap: 28px; margin-top: 28px; }
.build-group__label { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 500 0.8125rem/1.3 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--legacy-navy); }
.build-group__label::before { content: ""; flex: none; width: 24px; height: 2px; background: var(--legacy-red); }
.build-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* R6-1: the red top rule is a ::before (same 2px) so it can draw in; the extra 2px of top padding keeps the tile
   the same size it was with border-top. Hover/focus: lift 4px, lighter stone, soft navy shadow, rule 2px -> 4px. */
.build-tiles li { position: relative; padding: 16px 16px 14px; background: var(--legacy-stone); font: 400 0.9375rem/1.4 var(--font-head); color: var(--legacy-navy);
	transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-out); }
.build-tiles li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--legacy-red); transform-origin: left center; transition: height 0.25s ease; }
.build-tiles li:hover, .build-tiles li:focus-within { background: var(--legacy-stone-hover); box-shadow: 0 10px 24px -12px rgba(27, 33, 71, 0.35); }
.build-tiles li:hover::before, .build-tiles li:focus-within::before { height: 4px; }
@media (prefers-reduced-motion: no-preference) {
	.build-tiles li:hover, .build-tiles li:focus-within,
	.motion-ok .build-tiles li.rise.is-in:hover, .motion-ok .build-tiles li.rise.is-in:focus-within { transform: translateY(-4px); }
}
/* R6-1 entrance: motion.js adds .rise only to tiles below the fold (and only when motion is allowed), so without
   JS, with reduced motion or if the script fails the tiles are visible with the rule drawn. --d = 80ms per tile
   within its group. .is-done (after the entrance) drops the delays so hover responds at once. */
.motion-ok .build-tiles li.rise { opacity: 0; transform: translateY(24px); }
.motion-ok .build-tiles li.rise::before { transform: scaleX(0); }
.motion-ok .build-tiles li.rise.is-in { opacity: 1; transform: none;
	transition: opacity 0.6s var(--ease-out) var(--d, 0ms), transform 0.6s var(--ease-out) var(--d, 0ms), background-color 0.25s ease, box-shadow 0.25s ease; }
.motion-ok .build-tiles li.rise.is-in::before { transform: scaleX(1); transition: transform 0.7s var(--ease-out) calc(var(--d, 0ms) + 180ms), height 0.25s ease; }
.motion-ok .build-tiles li.rise.is-in.is-done { transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-out); }
.motion-ok .build-tiles li.rise.is-in.is-done::before { transition: height 0.25s ease; }
@media (max-width: 559px) { .build-tiles { grid-template-columns: 1fr; } }
/* R3-7: gallery preview actions under the cards */
.rel-actions { margin-top: 32px; align-items: center; }
.empty-state { padding: 40px 32px; background: var(--legacy-stone); }
.empty-state::before { content: ""; display: block; width: 64px; height: 3px; margin-bottom: 20px; background: var(--legacy-red); }
.section--stone .empty-state { background: var(--white); }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p + p { margin-top: 12px; }
[hidden] { display: none !important; }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__btn { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: inherit; color: inherit; }
.gallery__btn img, .gallery__btn .ph-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity 0.2s ease; }
.gallery__btn:hover img { opacity: 0.88; }
.gallery__cap { display: block; margin-top: 10px; font: 500 0.6875rem/1.4 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.lightbox { position: fixed; inset: 0; z-index: 500; display: none; background: rgba(10, 13, 30, 0.95); color: var(--white); --focus: var(--white); }
.lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); font: 500 0.875rem/1 var(--font-head); letter-spacing: 0.06em; }
.lightbox__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img, .lightbox__stage .ph-img { max-height: 75vh; width: auto; max-width: min(1400px, 100%); object-fit: contain; }
.lightbox__caption { padding: 16px var(--gutter) 8px; text-align: center; font: 500 0.75rem/1.4 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox__btn { min-width: 48px; min-height: 48px; padding: 0 14px; background: none; border: 1px solid rgba(255, 255, 255, 0.5); color: var(--white); font: 500 0.8125rem/1 var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; }
.lightbox__btn:hover { border-color: var(--white); }
.lightbox__nav { display: flex; gap: 12px; }

/* ---------- Get-a-quote landing ---------- */
.lp-hero { position: relative; isolation: isolate; background: var(--legacy-navy); color: var(--white); padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px)); padding-bottom: clamp(32px, 5vw, 72px); overflow: hidden; }
.lp-hero__grid { display: grid; gap: 28px; align-items: start; grid-template-areas: "intro" "form" "details"; }
.lp-hero__intro { grid-area: intro; }
.lp-hero__form { grid-area: form; }
.lp-hero__details { grid-area: details; }
@media (min-width: 1000px) {
	.lp-hero__grid { grid-template-columns: 0.9fr 1.1fr; grid-template-rows: auto 1fr; grid-template-areas: "intro form" "details form"; gap: 32px 56px; }
}
.lp-hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); margin-bottom: 16px; }
.lp-hero h1::after { content: ""; display: block; width: var(--rule-w); height: 3px; margin-top: 24px; background: var(--legacy-red); }
.lp-hero .lede { color: rgba(255, 255, 255, 0.9); }
@media (max-width: 999px) { .lp-hero .lede { font-size: 1.0625rem; } .lp-hero .eyebrow { margin-bottom: 10px; } }
.lp-hero .checklist li { color: rgba(255, 255, 255, 0.92); }
.lp-hero__call { margin-top: 28px; font: 500 1rem/1.4 var(--font-head); }
.lp-hero__call a { color: var(--white); }
.trust-strip { background: var(--legacy-stone); padding-block: 28px; }
.trust-strip__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 40px; list-style: none; margin: 0; padding: 0; text-align: center; }
.trust-strip__list li { font: 500 0.75rem/1.4 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; }
.trust-strip__list strong { font-weight: 300; font-size: 1.5rem; letter-spacing: 0; margin-right: 8px; vertical-align: middle; }
.trust-strip__list a { color: var(--legacy-navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--legacy-navy); color: var(--white); padding-top: clamp(56px, 7vw, 96px); font-size: 1rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand .brand img { width: 240px; height: auto; max-width: 100%; }
.footer-brand p { color: rgba(255, 255, 255, 0.84); }
.footer-brand .footer-tag { margin-top: 18px; font: 400 0.8125rem/1.5 var(--font-head); letter-spacing: 0.04em; color: var(--legacy-stone); }
.footer-tag a { color: inherit; text-decoration-thickness: 1px; }
.footer-col h2 { font: 500 0.75rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--legacy-stone); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: rgba(255, 255, 255, 0.88); text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-contact { margin-top: 20px; font-style: normal; line-height: 1.7; color: rgba(255, 255, 255, 0.88); }
.footer-contact a { color: var(--white); }
.social { display: flex; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.4); color: var(--white); }
.social a:hover { border-color: var(--white); background: var(--legacy-navy-2); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social--navy a { color: var(--legacy-navy); border-color: var(--legacy-navy); }
.social--navy a:hover { background: var(--legacy-stone); }
.footer-region { display: grid; gap: 24px 48px; align-items: center; padding-block: 32px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 800px) { .footer-region { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.footer-map { position: relative; height: 220px; background: var(--legacy-navy-2); overflow: hidden; }
.footer-map iframe { position: absolute; left: 0; bottom: 0; width: 100%; height: 270px; border: 0; filter: grayscale(1) contrast(0.9) opacity(0.85); }
.footer-map__load { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; background: transparent; color: var(--legacy-stone); font: 500 0.75rem/1.4 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
.footer-ship { font: 300 clamp(1.125rem, 1.8vw, 1.375rem)/1.45 var(--font-head); color: var(--white); max-width: 30em; }
.footer-ship::before { content: ""; display: block; width: 64px; height: 3px; margin-bottom: 20px; background: var(--legacy-red); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, 0.88); display: inline-flex; min-height: 44px; align-items: center; }
.footer-bottom__line { display: flex; align-items: center; min-height: 44px; }
.footer-minimal-line { font: 400 0.8125rem/1.6 var(--font-head); letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.88); }
.footer-minimal-line a { color: var(--white); }

/* ---------- Articles ---------- */
.post-meta { margin-top: 20px; font: 400 0.8125rem/1.5 var(--font-head); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.85); }
.draft-banner { position: relative; z-index: 101; background: var(--legacy-stone); padding: 12px var(--gutter); text-align: center; font: 500 0.8125rem/1.4 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Misc ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-lg { margin-top: var(--space-block); }
.center { text-align: center; }
.anchor-offset { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-note { padding: 20px 24px; border: 1px dashed var(--field-border); font-family: var(--font-head); font-weight: 500; }
/* ---------- Misc additions (Nov 2026) ---------- */
.value--stone { background: var(--legacy-stone); }
.feature-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.philosophy p { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.7; }
.philosophy p:first-child::first-letter { font-family: var(--font-head); font-weight: 300; font-size: 3.4em; float: left; line-height: 0.85; margin: 0.06em 0.12em 0 0; }
.split img { width: 100%; height: auto; }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(23, 31, 66, 0.95) 0%, rgba(23, 31, 66, 0.86) 55%, rgba(23, 31, 66, 0.72) 100%); }

/* ---------- Project cards: hover-reveal panel ---------- */
/* R4-17: the whole card is the link. The name's link stretches over the card (::after, inset 0). Nothing between
   the link and .pcard may be positioned or transformed, or the overlay shrinks to that box (it used to cover only
   the caption strip), so the label sits on the photo through a shared grid cell instead of position: absolute. */
.pcard { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--legacy-navy); color: var(--white); --focus: var(--white); cursor: pointer; }
.pcard__media, .pcard__label { grid-area: 1 / 1; }
.pcard__media img, .pcard__media .ph-img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s ease; }
.pcard__label {
	align-self: end; z-index: 2; padding: 72px 24px 24px;  /* above the panel: the link overlay lives in here */
	background: linear-gradient(to top, rgba(23, 31, 66, 0.92) 0%, rgba(23, 31, 66, 0.6) 55%, rgba(23, 31, 66, 0) 100%);
	transition: opacity 0.35s ease;
}
.pcard__name { font: 300 clamp(1.375rem, 2.2vw, 1.75rem)/1.1 var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.pcard__name a { text-decoration: none; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.pcard__city { margin-top: 8px; font: 400 0.75rem/1.4 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--legacy-stone); }
.pcard__panel {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px 24px 24px;
	background: var(--legacy-navy);
	transform: translateY(101%); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pcard__panel::before { content: ""; display: block; width: 64px; height: 3px; margin-bottom: 18px; background: var(--legacy-red); }
.pcard__panel .caption { margin-bottom: 8px; color: var(--legacy-stone); }
.pcard__headline { font: 400 1.375rem/1.25 var(--font-head); }
.pcard__more { display: inline-block; margin-top: 16px; font: 500 0.75rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
@media (hover: hover) {
	.pcard:hover .pcard__panel, .pcard:focus-within .pcard__panel { transform: translateY(0); }
	.pcard:hover .pcard__label, .pcard:focus-within .pcard__label { opacity: 0; }
	.pcard:hover .pcard__media img { transform: scale(1.04); }
}
.pcard:focus-within .pcard__panel { transform: translateY(0); }
.pcard:focus-within { outline: 3px solid var(--legacy-navy); outline-offset: 3px; }
.pcard a:focus-visible { outline: none; }
@media (hover: none) {
	/* Touch: details always visible below the photo. */
	.pcard__panel { position: static; transform: none; padding-top: 22px; }
	.pcard__label { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
	.pcard__panel { grid-row: 2; }
}

/* ---------- Case study ---------- */
.case-hero { min-height: clamp(520px, 82vh, 860px); }
.case-hero h1 { font-size: clamp(2.75rem, 7vw, 5.75rem); max-width: 16ch; }
.case-hero h1::after { display: none; }
.case-hero__city { margin-top: 18px; font: 400 clamp(1.0625rem, 1.6vw, 1.375rem)/1.3 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--legacy-stone); }
.case-hero__caption { margin: 22px 0 0; color: var(--white); }
.case-hero__caption::after { content: ""; display: block; width: var(--rule-w); height: 3px; margin-top: 22px; background: var(--legacy-red); }
.prose h2.rule-after { margin-top: 0; font-size: clamp(1.875rem, 3.6vw, 2.75rem); }
.prose .eyebrow + h2 { margin-top: 0; }
.pager { background: var(--white); border-top: 1px solid var(--line); }
.pager__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 28px; }
.pager__link { display: grid; gap: 6px; min-height: 44px; text-decoration: none; color: var(--legacy-navy); }
.pager__link .caption { margin: 0; color: var(--text-muted); }
.pager__name { font: 300 clamp(1.125rem, 2vw, 1.5rem)/1.2 var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.pager__link:hover .pager__name { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.pager__link--all { font: 500 0.75rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; align-content: center; padding: 0 12px; }
.pager__link--next { text-align: right; justify-items: end; }
@media (max-width: 640px) {
	.pager__inner { grid-template-columns: 1fr 1fr; }
	.pager__link--all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* ---------- Before / after reveal ---------- */
.reveal { display: grid; gap: 16px; }
@media (min-width: 700px) { .reveal { grid-template-columns: 1fr 1fr; } }
.reveal__item { position: relative; margin: 0; }
.reveal__item img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.reveal__chip {
	position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px;
	background: rgba(23, 31, 66, 0.86); color: var(--white);
	font: 500 0.6875rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase;
}
.reveal__divider { display: none; }
/* Live mode (JS on, motion allowed): photos stack, the finished photo clips away left-to-right as you scroll. */
.reveal.is-live { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.reveal.is-live .reveal__item { position: absolute; inset: 0; }
.reveal.is-live .reveal__item img { height: 100%; aspect-ratio: auto; }
.reveal.is-live .reveal__item--before { clip-path: inset(0 0 0 var(--reveal, 0%)); will-change: clip-path; }
.reveal.is-live .reveal__item--before .reveal__chip { left: auto; right: 16px; }
.reveal.is-live .reveal__divider {
	display: block; position: absolute; top: 0; bottom: 0; left: 0; z-index: 3; width: 3px; margin-left: -1px;
	background: var(--white); box-shadow: 0 0 0 1px rgba(23, 31, 66, 0.25);
	transform: translateX(var(--reveal-px, 0px)); will-change: transform;
}
@media (max-width: 699px) { .reveal.is-live { aspect-ratio: 4 / 3; } }

/* ---------- Home carousel ---------- */
.carousel-section .section-head { margin-bottom: 32px; }
.carousel__viewport {
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline-offset: -3px; }
.carousel__track { position: relative;
	display: flex; gap: 16px; margin: 0; padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
	list-style: none;
}
.carousel__slide { flex: 0 0 min(88vw, 820px); scroll-snap-align: start; }
@media (min-width: 1000px) { .carousel__slide { flex-basis: min(62vw, 880px); } }
.carousel__link { position: relative; display: block; overflow: hidden; color: var(--white); text-decoration: none; --focus: var(--legacy-navy); }
.carousel__link img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.6s ease; }
.carousel__link:hover img { transform: scale(1.03); }
.carousel__cap {
	position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 72px 24px 22px;
	background: linear-gradient(to top, rgba(23, 31, 66, 0.9) 0%, rgba(23, 31, 66, 0) 100%);
}
.carousel__cap .caption { margin: 0; color: var(--legacy-stone); }
.carousel__name { font: 300 clamp(1.5rem, 3vw, 2.25rem)/1.05 var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; }
.carousel__city { font: 400 0.75rem/1.4 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; }
.carousel__controls { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.carousel__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--legacy-navy); background: transparent; color: var(--legacy-navy); font: 400 1.25rem/1 var(--font-head); }
.carousel__btn:hover { background: var(--legacy-navy); color: var(--white); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; background: transparent; color: var(--legacy-navy); }
.carousel__dots { display: flex; flex-wrap: wrap; gap: 0; }
.carousel__dot { position: relative; width: 28px; height: 44px; border: 0; background: none; padding: 0; }
.carousel__dot::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: var(--line); transition: background-color 0.2s ease; }
.carousel__dot[aria-current="true"]::before { background: var(--legacy-red); height: 3px; margin-top: -0.5px; }
.carousel__dot:hover::before { background: var(--legacy-navy); }

/* ---------- Process timeline (Home + About) ---------- */
.timeline { position: relative; }
.timeline__list { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
.timeline .process__step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 0; border: 0; }
.timeline .process__num { margin: 0; font-size: 2.5rem; line-height: 1; }
.timeline .process__body p { max-width: 46ch; }
.timeline__line { display: none; }
@media (min-width: 900px) {
	.timeline__list { gap: 56px; }
	.timeline .process__step { grid-template-columns: 1fr 96px 1fr; gap: 0; align-items: start; }
	.timeline .process__num { grid-column: 2; grid-row: 1; text-align: center; font-size: 3rem; position: relative; z-index: 1; background: var(--legacy-navy); padding: 6px 0; }
	.timeline .process__step:nth-child(odd) .process__body { grid-column: 1; grid-row: 1; text-align: right; padding-right: 32px; justify-self: end; }
	.timeline .process__step:nth-child(even) .process__body { grid-column: 3; grid-row: 1; padding-left: 32px; }
	.timeline .process__step:nth-child(odd) .process__body p { margin-left: auto; }
}
/* Enhanced (JS + motion): line draws as you scroll; steps fade in and turn active at mid-viewport. */
.motion-ok .timeline.is-live .timeline__line {
	display: block; position: absolute; top: 0; bottom: 0; left: 31px; width: 2px; background: rgba(227, 228, 224, 0.35); overflow: hidden;
}
@media (min-width: 900px) { .motion-ok .timeline.is-live .timeline__line { left: 50%; margin-left: -1px; } }
.motion-ok .timeline.is-live .timeline__fill { position: absolute; inset: 0; background: var(--legacy-red); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.motion-ok .timeline.is-live .process__num { background: var(--legacy-navy); position: relative; z-index: 1; }
/* Steps start hidden (opacity 0 is skipped by contrast checkers), fade in, and stay readable while inactive:
   inactive text is still >= 7:1 on navy; the active step goes full white with a white numeral. */
.motion-ok .timeline.is-live .process__step { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.motion-ok .timeline.is-live .process__step.is-in { opacity: 1; transform: none; }
.motion-ok .timeline.is-live .process__step .process__num { color: rgba(227, 228, 224, 0.45); transition: color 0.4s ease; }
.motion-ok .timeline.is-live .process__step h3 { color: rgba(255, 255, 255, 0.78); transition: color 0.4s ease; }
.motion-ok .timeline.is-live .process__step p { color: rgba(255, 255, 255, 0.72); transition: color 0.4s ease; }
.motion-ok .timeline.is-live .process__step.is-active .process__num,
.motion-ok .timeline.is-live .process__step.is-active h3 { color: var(--white); }
.motion-ok .timeline.is-live .process__step.is-active p { color: rgba(255, 255, 255, 0.92); }

/* ---------- Slide-in photos (motion.js adds .motion-ok and .slide-in below the fold) ---------- */
.motion-ok .slide-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--stagger, 0ms); }
.motion-ok .slide-in.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.motion-ok .slide-in, .motion-ok .timeline.is-live .process__step,
	.motion-ok .build-tiles li.rise, .motion-ok .build-tiles li.rise::before { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Colors & Finishes (/resources/colors-finishes/) — finish picker
   ========================================================================== */
.fin-jumps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 40px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.12); }
.fin-jump { display: grid; gap: 10px; padding: 20px 22px 18px; background: var(--legacy-navy-2); color: var(--white); text-decoration: none; }
.fin-jump:hover { background: #2A3566; }
.fin-jump__k { font: 500 0.75rem/1.2 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--legacy-stone); }
.fin-jump__t { font: 500 1.25rem/1.2 var(--font-head); }
.fin-jump__strip { display: flex; height: 14px; }
.fin-jump__strip i { flex: 1; }
.fin-jump__n { font: 500 0.8125rem/1.3 var(--font-head); color: rgba(255, 255, 255, 0.8); }
@media (max-width: 760px) { .fin-jumps { grid-template-columns: 1fr; } }

.fin-bar { position: sticky; top: var(--header-h); z-index: 90; background: var(--white); border-bottom: 1px solid #CDCFC8; }
.fin-bar nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.fin-bar a { flex: none; padding: 14px 14px 11px; border-bottom: 3px solid transparent; font: 500 0.8125rem/1.2 var(--font-head); letter-spacing: 0.04em; text-decoration: none; color: var(--text-muted); }
.fin-bar a[aria-current="true"] { color: var(--legacy-navy); border-color: var(--legacy-navy); }

.fin-wrap { padding-bottom: 24px; }
.fin-section { padding-top: var(--space-block); padding-bottom: 8px; scroll-margin-top: calc(var(--header-h) + 64px); }
.fin-section + .fin-section { margin-top: var(--space-block); border-top: 1px solid #CDCFC8; }
.fin-head { display: grid; gap: 24px 56px; align-items: end; margin-bottom: 28px; }
@media (min-width: 900px) { .fin-head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.fin-head h2 { margin-top: 8px; font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.fin-head p { margin-top: 12px; color: var(--text-muted); max-width: 60ch; }
.fin-facts { display: grid; border-top: 2px solid var(--legacy-navy); font: 0.875rem/1.35 var(--font-head); margin: 0 0 24px; }
.fin-head .fin-facts { margin: 0; }
.fin-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #CDCFC8; }
.fin-facts dt { font-weight: 500; color: var(--text-muted); }
.fin-facts dd { margin: 0; font-weight: 500; text-align: right; }
.fin-panel > .fin-facts { max-width: 520px; }

.fin-tabs { display: inline-flex; flex-wrap: wrap; max-width: 100%; margin-bottom: 24px; border: 2px solid var(--legacy-navy); }
.fin-tabs [role="tab"] { min-height: 44px; padding: 10px 18px; border: 0; background: var(--white); font: 500 0.875rem/1.2 var(--font-head); color: var(--legacy-navy); }
.fin-tabs [role="tab"][aria-selected="true"] { background: var(--legacy-navy); color: var(--white); }
.fin-panel:focus-visible { outline-offset: 6px; }

.fin-group { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; font: 500 0.75rem/1.2 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.fin-group::after { content: ""; flex: 1; height: 1px; background: #CDCFC8; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 20px 14px; list-style: none; margin: 0; padding: 0; }
.swatch { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.swatch__chip { position: relative; display: block; aspect-ratio: 3 / 2; border: 1px solid rgba(0, 0, 0, 0.16); overflow: hidden; }
.swatch__chip img { width: 100%; height: 100%; object-fit: cover; }
.swatch__chip--textured { background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 5px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 6px); }
.swatch:hover .swatch__chip { outline: 2px solid #CDCFC8; outline-offset: 2px; }
.swatch[aria-pressed="true"] .swatch__chip { outline: 3px solid var(--legacy-navy); outline-offset: 3px; }
.swatch[aria-pressed="true"] .swatch__chip::after { content: "\2713"; position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 24px; height: 24px; background: var(--legacy-navy); color: var(--white); font: 500 0.8125rem/1 var(--font-head); }
.swatch__name { font: 500 0.875rem/1.25 var(--font-head); }
.swatch__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: -4px; font: 500 0.75rem/1.3 var(--font-head); color: var(--text-muted); }
.gloss-meter { position: relative; display: inline-block; width: 46px; height: 5px; background: #CDCFC8; }
.gloss-meter i { position: absolute; inset: 0 auto 0 0; background: var(--legacy-navy); }
.swatch__tag { padding: 1px 5px; border: 1px solid var(--legacy-navy); color: var(--legacy-navy); font: 500 0.625rem/1.4 var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; }
.swatch-grid--names { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.swatch--name { min-height: 48px; padding: 12px 14px; border: 1px solid var(--field-border); align-content: center; }
.swatch--name:hover { border-color: var(--legacy-navy); }
.swatch--name[aria-pressed="true"] { background: var(--legacy-navy); border-color: var(--legacy-navy); color: var(--white); }
.swatch--name[aria-pressed="true"] .swatch__name::before { content: "\2713\00a0"; }
.fin-note { margin-top: 16px; font: 500 0.8125rem/1.4 var(--font-head); color: var(--text-muted); }
.fin-callout { max-width: 72ch; margin-bottom: 20px; padding: 14px 18px; border-left: 2px solid var(--legacy-navy); background: var(--legacy-stone); font-size: 1rem; }

.fin-source { display: grid; gap: 22px; align-items: center; margin-top: 32px; padding: 20px; border: 1px solid #CDCFC8; background: var(--legacy-stone); }
@media (min-width: 680px) { .fin-source { grid-template-columns: 220px minmax(0, 1fr); } .fin-source--text { grid-template-columns: 1fr; } }
.fin-source h3 { font-size: 1.125rem; }
.fin-source p { margin: 6px 0 14px; font-size: 1rem; color: var(--text-muted); max-width: 70ch; }
.fin-source__thumb { border: 1px solid #CDCFC8; background: var(--white); cursor: zoom-in; }
.fin-source__thumb img { width: 100%; height: 140px; object-fit: cover; object-position: top; }
.fin-source__thumb:hover { outline: 2px solid var(--legacy-navy); outline-offset: 2px; }
.fin-card { display: grid; gap: 6px; padding: 10px 10px 8px; border: 1px solid #CDCFC8; background: var(--white); color: var(--legacy-navy); text-decoration: none; font-family: var(--font-head); }
.fin-card:hover { outline: 2px solid var(--legacy-navy); outline-offset: 2px; }
.fin-card__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 4px; border-bottom: 2px solid var(--legacy-navy); font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; }
.fin-card__head span { color: var(--text-muted); font-weight: 500; }
.fin-card__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.fin-card__grid span { display: grid; gap: 2px; min-width: 0; }
.fin-card__grid i { display: block; height: 15px; border: 1px solid rgba(0, 0, 0, 0.15); }
.fin-card__grid em { overflow: hidden; font-style: normal; font-size: 0.4375rem; font-weight: 500; line-height: 1.1; white-space: nowrap; text-overflow: ellipsis; color: var(--text-muted); }
.fin-card__foot { padding-top: 4px; border-top: 1px solid #CDCFC8; font-size: 0.5rem; font-weight: 500; color: var(--text-muted); }

.fin-disclaimer { margin-top: var(--space-block); padding-top: 22px; border-top: 1px solid #CDCFC8; font-size: 0.9375rem; color: var(--text-muted); }

.fin-tray { position: sticky; bottom: 0; z-index: 80; background: var(--legacy-navy); color: var(--white); border-top: 1px solid rgba(255, 255, 255, 0.2); --focus: var(--white); }
.fin-tray__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 12px; }
.fin-tray__picks { display: grid; gap: 4px; min-width: 0; }
.fin-tray__label { font: 500 0.6875rem/1.2 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--legacy-stone); }
.fin-tray ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; font: 500 0.8125rem/1.3 var(--font-head); }
.fin-tray li { display: flex; align-items: center; gap: 8px; }
.fin-tray li i { width: 18px; height: 18px; flex: none; border: 1px solid rgba(255, 255, 255, 0.5); background-size: cover; background-position: center; }
.fin-tray li:not(.is-set) i { display: none; }
.fin-tray li span { color: #B9C0DA; }
.fin-tray li em { font-style: normal; }
.fin-tray li:not(.is-set) em { color: #8E95B3; }
.fin-tray__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-tray__ghost { border-color: rgba(255, 255, 255, 0.45); background: transparent; color: var(--white); }
.fin-tray__ghost:hover { background: rgba(255, 255, 255, 0.08); }
@media (max-width: 640px) {
	.fin-tray__inner { gap: 8px; padding-block: 10px; }
	.fin-tray:not(.has-picks) .fin-tray__picks { display: none; }
	.fin-tray li:not(.is-set) { display: none; }
	.fin-tray__actions { width: 100%; }
	.fin-tray__actions .btn { min-height: 40px; padding: 8px 12px; }
	.fin-tray__actions .btn--red { flex: 1 1 100%; order: -1; }
	.fin-tray__ghost { flex: 1; }
	.fin-tray:not(.has-picks) .fin-tray__ghost { display: none; }
}
.fin-toast { position: fixed; left: 50%; bottom: 120px; z-index: 600; transform: translateX(-50%); padding: 10px 16px; background: var(--legacy-navy); color: var(--white); font: 500 0.8125rem/1.3 var(--font-head); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25); }

/* Round 2: Services hub "What we build" grid, grouped by category */
/* R6-3: Services hub "What we build", nine cards with no ragged last row: 1 across on phones; 2 across from 640px
   (a 4-column grid, each card spanning 2, the ninth centred); 3 x 3 from 1000px. (R5-S1 was ten cards, 5 x 2.) */
@media (min-width: 640px) and (max-width: 999px) {
	.wwb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wwb-grid > * { grid-column: span 2; }
	.wwb-grid > :last-child:nth-child(odd) { grid-column: 2 / span 2; }
}
@media (min-width: 1000px) { .wwb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
/* R6-2: a three-card grid--3 (Shade Structures "Pick the structure") centres its third card where it's 2 across. */
@media (min-width: 640px) and (max-width: 999px) {
	.grid--center-odd { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grid--center-odd > * { grid-column: span 2; }
	.grid--center-odd > :last-child:nth-child(odd) { grid-column: 2 / span 2; }
}
.wwb-grid .card { background: transparent; }
.wwb-grid .card__media figure { margin: 0; }
.wwb-grid .card__media figcaption { padding-top: 8px; }

/* Round 2 (R2-5): decorative section photos under a navy overlay. The photo is grayscale and covered by
   86% navy, so it reads as texture and white text stays above 9:1 even over the brightest pixels. */
.has-bg { position: relative; isolation: isolate; }
.section-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.section-bg::after { content: ""; position: absolute; inset: 0; background: rgba(23, 31, 66, 0.86); }
.has-bg .tile { background: rgba(34, 44, 88, 0.92); }
.has-bg .tile:hover, .has-bg .tile:focus-within { background: #2C3770; }
.on-dark .tile:focus-within, .section--navy .tile:focus-within { outline-color: var(--white); }
.section--navy .section-head h2, .section--navy h2 { color: var(--white); }

/* R2-14: core values with photos (light layout) */
.value-card { display: flex; flex-direction: column; background: var(--legacy-stone); }
.value-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.value-card .value { flex: 1; }
.story-photo img { display: block; width: 100%; height: auto; }

/* R2: stronger header overlay. Measured on real pixels, the Round 1 gradient let the breadcrumbs, eyebrow and
   lede drop below 4.5:1 over bright sky or panels. Desktop: a navy scrim behind the text column (>= 64% navy,
   so even a white pixel stays above 4.5:1) fading out on the right where the photo shows; phones: a uniform scrim. */
.hero::after, .page-hero--photo::after {
	background:
		linear-gradient(to right, rgba(23, 31, 66, 0.55) 0%, rgba(23, 31, 66, 0.55) 62%, rgba(23, 31, 66, 0) 92%),
		linear-gradient(to top, rgba(23, 31, 66, 0.45) 0%, rgba(23, 31, 66, 0) 50%),
		linear-gradient(rgba(23, 31, 66, 0.34), rgba(23, 31, 66, 0.34));
}
@media (max-width: 799px) {
	.hero::after, .page-hero--photo::after { background: rgba(23, 31, 66, 0.72); }
}

/* R2-11/12: testimonials carousel (reuses carousel.js and the home carousel's controls) */
.testi-carousel .section-head { margin-bottom: 32px; }
.carousel--quotes .carousel__slide { flex-basis: min(86vw, 560px); }
@media (min-width: 1000px) { .carousel--quotes .carousel__slide { flex-basis: min(40vw, 560px); } }
.carousel--quotes .testimonial { height: 100%; margin: 0; }
.testi-carousel:not(.section--stone) .testimonial { background: var(--legacy-stone); }
.section--stone .carousel--quotes .testimonial { background: var(--white); }
.preview-note { margin-top: -16px; margin-bottom: 16px; font: 500 0.75rem/1.4 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }

/* R2-13: About "How we work" disciplines strip, inside the process timeline section */
.discipline-strip { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; margin: -8px 0 48px; padding: 0; }
.discipline-strip li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.45); font: 500 0.75rem/1.4 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); }

/* Round 2: footer uses the stacked mark (taller than the horizontal one, so narrower) */
.footer-brand .brand img { width: 176px; }

/* ==========================================================================
   Round 4 (Nov 12, 2026)
   ========================================================================== */
/* R4-13: selections link under the CTA band buttons and the quote band contact list; quiet next to the red button. */
.cta-band__actions { display: grid; gap: 14px; justify-items: start; }
.cta-band .selections-link { margin: 0; max-width: none; }
.selections-link a { font: 400 0.9375rem/1.4 var(--font-head); color: var(--legacy-navy); text-decoration: underline;
	text-decoration-thickness: 1px; text-underline-offset: 0.25em; text-decoration-color: rgba(23, 31, 66, 0.45);
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.selections-link a:hover { text-decoration-color: currentColor; }
.quote-band .selections-link { margin-top: 20px; }
.quote-band .selections-link a { color: var(--white); text-decoration-color: rgba(255, 255, 255, 0.55); }
/* R4-10: "Explore Custom Structures" under the Outdoor Amenities cards. */
.explore-link { margin-top: 32px; }

/* R4-14: hover/focus on text boxes and tiles, after the Home carousel (0.6s slow zoom) plus the red rule widening.
   Applies to .tile, .card, .value-card, .value and the .process grid steps (not the scroll timeline).
   Transforms only when the visitor allows motion; colors still change under reduced motion. */
.value::before, .value-card .value::before { transition: width 0.3s ease; }
.value:hover::before, .value:focus-within::before, .value-card:hover .value::before, .value-card:focus-within .value::before { width: 120px; }
.process:not(.timeline__list) .process__step { transition: border-color 0.3s ease, transform 0.6s ease; }
.process:not(.timeline__list) .process__step:hover { border-top-color: var(--legacy-red); }
.value-card__media { overflow: hidden; }
.value-card__media img { transition: transform 0.6s ease; }
.card:focus-within .card__media img { transform: scale(1.03); }
@media (prefers-reduced-motion: no-preference) {
	.tile, .value { transition: background-color 0.2s ease, transform 0.6s ease; }
	.tile:hover, .tile:focus-within, .value:hover, .value:focus-within { transform: scale(1.02); }
	.process:not(.timeline__list) .process__step:hover { transform: scale(1.02); }
	.value-card:hover .value-card__media img, .value-card:focus-within .value-card__media img { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
	.card:hover .card__media img, .card:focus-within .card__media img, .carousel__link:hover img, .pcard:hover .pcard__media img { transform: none; }
}

/* R4-2 / R4-9: two stone sections in a row (Pick the structure -> Where they go -> Recent projects) read as one
   band with a double gap. Collapse the second one's top padding; fixes every service page at the template level. */
.section--stone + .section--stone { padding-top: 0; }

/* R4-5: a card photo that is its own link, layered above the title's stretched link (no nested links). */
.card__photo-link { position: relative; z-index: 2; display: block; overflow: hidden; }
.card__photo-link:focus-visible { outline: 3px solid var(--legacy-navy); outline-offset: 3px; }
.card:has(.card__photo-link:hover) .card__media img { transform: scale(1.03); }
.card--static .card__body::before { width: 64px; }

/* R4-17: carousel mouse drag (carousel.js). Snap is off mid-drag so the track follows the pointer. */
.carousel__viewport.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel__viewport.is-dragging .carousel__link { cursor: grabbing; }
.carousel__link:focus-visible { outline: 3px solid var(--legacy-navy); outline-offset: -3px; }
.carousel__link:focus-visible img { transform: scale(1.03); }

/* ==========================================================================
   R5-R1 to R5-R6: Resources dropdown cards (/resources/). <details>/<summary>: the full content
   is in the page HTML, works without JS, and the first card is open by default.
   ========================================================================== */
.rcards { display: grid; gap: 18px; }
.rcard { border: 1px solid var(--line); background: var(--white); }
.rcard[open] { border-color: var(--legacy-navy); }
.rcard__head {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center;
	padding: 24px 32px; cursor: pointer; list-style: none; transition: background-color 0.2s ease;
}
.rcard__head::-webkit-details-marker { display: none; }
.rcard__head:hover { background: #F3F4F1; }
.rcard__head:focus-visible { outline: 3px solid var(--legacy-navy); outline-offset: -3px; }
.rcard__meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.rcard__title { grid-column: 1; font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.5625rem); line-height: 1.25; }
.rcard__summary { grid-column: 1; display: block; margin-top: 8px; color: var(--text-muted); font-size: 1rem; line-height: 1.55; }
.rcard__chev { grid-column: 2; grid-row: 1 / span 3; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--legacy-navy); }
.rcard__chev svg { width: 14px; height: 10px; transition: transform 0.25s ease; }
.rcard[open] .rcard__chev svg { transform: rotate(180deg); }
.res-pill, .res-tag {
	display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px;
	font: 500 0.6875rem/1.2 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase;
}
.res-pill { background: var(--legacy-navy); color: var(--white); }
.res-tag { background: var(--legacy-stone); color: var(--legacy-navy); letter-spacing: 0.06em; text-transform: none; font-size: 0.75rem; }
.res-tag--pdf { background: transparent; border: 1px solid var(--legacy-navy); }

.rcard__panel { position: relative; padding: 32px 32px 28px; }
.rcard__panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--legacy-red); }
.rcard__panel > * + * { margin-top: 20px; }
.rcard__panel p { font-size: 1.0625rem; }
.res-lede { font-size: clamp(1.125rem, 1.6vw, 1.25rem) !important; line-height: 1.6; }
.rcard__panel .res-h { margin-top: 44px; font-weight: 500; font-size: clamp(1.1875rem, 1.8vw, 1.375rem); }
.rcard__panel .res-h + * { margin-top: 16px; }
.rcard__panel > .res-h:first-child { margin-top: 0; }
.res-intro { font-size: 1rem !important; }
.res-callout { padding: 22px 26px; background: var(--legacy-stone); }
.res-callout strong { font-family: var(--font-head); font-weight: 500; }
.res-boxes { display: grid; gap: 16px; }
@media (min-width: 760px) { .res-boxes { grid-template-columns: 1fr 1fr; } }
.res-box { padding: 26px 28px; }
.res-box--navy { background: var(--legacy-navy); color: var(--white); }
.res-box--stone { background: var(--legacy-stone); }
.res-box__h { font: 500 1.125rem/1.3 var(--font-head); margin-bottom: 10px; }

.res-table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; }
.res-table thead th { background: var(--legacy-navy); color: var(--white); text-align: left; padding: 14px 16px; font: 500 0.8125rem/1.3 var(--font-head); letter-spacing: 0.06em; }
.res-table tbody th { text-align: left; font: 500 0.9375rem/1.4 var(--font-head); }
.res-table tbody th, .res-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.res-table tbody tr:nth-child(even) { background: #F6F6F4; }
@media (min-width: 640px) { .res-table tbody th { width: 30%; } }
@media (max-width: 639px) {
	.res-table, .res-table tbody, .res-table tr, .res-table th, .res-table td { display: block; width: 100%; }
	.res-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.res-table tbody tr { padding: 14px 0 6px; border-top: 2px solid var(--legacy-navy); background: none !important; }
	.res-table tbody tr + tr { margin-top: 10px; }
	.res-table tbody th, .res-table td { padding: 4px 0 10px; border: 0; }
	.res-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 0.6875rem/1.3 var(--font-head); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
}

.res-num { margin-top: 0 !important; }
.res-num li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.res-num li:first-child { border-top: 0; padding-top: 4px; }
.res-num__n { font: 300 2.75rem/1 var(--font-head); color: var(--legacy-red); }
.res-num__t { font: 400 clamp(1.1875rem, 1.9vw, 1.3125rem)/1.35 var(--font-head) !important; }
.res-num__p { margin-top: 10px; max-width: 640px; font-size: 1.03125rem !important; line-height: 1.65; color: var(--text-muted); }
@media (max-width: 559px) { .res-num li { grid-template-columns: 1fr; } .res-num__n { font-size: 2.25rem; } }

.res-check { display: grid; gap: 32px; }
@media (min-width: 900px) { .res-check { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.res-check__h { padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--legacy-navy); font: 500 0.875rem/1.3 var(--font-head); letter-spacing: 0.1em; text-transform: uppercase; }
.res-check__list li { padding: 11px 0; }
.res-check__list label { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; min-height: 44px; cursor: pointer; }
.res-check__list input { grid-row: 1 / span 2; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--legacy-navy); cursor: pointer; }
.res-check__list input:focus-visible { outline: 3px solid var(--legacy-navy); outline-offset: 2px; }
.res-check__l { display: block; font: 600 0.9375rem/1.35 var(--font-head); }
.res-check__d { display: block; margin-top: 4px; font-size: 0.9375rem; line-height: 1.55; color: var(--text-muted); }

.res-cta { margin-top: 44px !important; padding: 30px 32px; }
.res-cta--navy { background: var(--legacy-navy); color: var(--white); --focus: var(--white); }
.res-cta--stone { background: var(--legacy-stone); }
.res-cta__h { font: 400 clamp(1.375rem, 2.4vw, 1.75rem)/1.2 var(--font-head); }
.res-cta p { margin-top: 8px; }
.res-cta .btn-row { margin-top: 22px; }
.res-cta .btn svg { flex: none; }
.btn__meta { font-weight: 500; letter-spacing: 0.04em; text-transform: none; }

.rcard__foot { margin-top: 32px !important; padding-top: 16px; border-top: 1px solid var(--line); font: 400 0.8125rem/1.5 var(--font-head) !important; color: var(--text-muted); }
.rcard__foot a { color: var(--text-muted); overflow-wrap: anywhere; }
.rcard__copy { margin-left: 8px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--field-border); background: transparent; font: 500 0.75rem/1.2 var(--font-head); letter-spacing: 0.06em; color: var(--legacy-navy); }
.rcard__copy:hover { background: var(--legacy-navy); color: var(--white); border-color: var(--legacy-navy); }

@media (max-width: 639px) {
	.rcard__head { padding: 20px; column-gap: 14px; }
	.rcard__panel { padding: 28px 20px 24px; }
	.res-box, .res-cta { padding: 24px 20px; }
	.res-cta .btn { width: 100%; }
}

/* Open/close animation only where motion is allowed and the browser can animate <details>. */
@media (prefers-reduced-motion: no-preference) {
	@supports selector(::details-content) {
		.rcard { interpolate-size: allow-keywords; }
		.rcard::details-content { block-size: 0; overflow: clip; transition: block-size 0.35s ease, content-visibility 0.35s allow-discrete; }
		.rcard[open]::details-content { block-size: auto; }
	}
}

/* Printing with a card open prints only the open card(s). */
@media print {
	body:has(.rcard[open]) .site-header, body:has(.rcard[open]) .site-footer, body:has(.rcard[open]) .skip-link,
	body:has(.rcard[open]) main > :not(.res-section), .res-section .filter-bar, .res-section .filter-status,
	.res-section .empty-state, .rcard:not([open]), .rcard__meta, .rcard__summary, .rcard__chev, .rcard__copy, .res-cta .btn-row { display: none !important; }
	.res-section { padding: 0; }
	.rcard { border: 0; break-inside: auto; }
	.rcard__head { padding: 0 0 12px; }
	.rcard__panel { padding: 16px 0 0; }
	.res-table thead th, .res-box--navy, .res-cta--navy, .res-pill { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.res-check__list li, .res-num li, .res-table tr { break-inside: avoid; }
}
