/* ==========================================================================
   McNeil Partners — main stylesheet
   Source of record: Brand Guide (Color 9 Creative, 10/02/26) pp. 18–19, Application Guide v2.2 §10–11.

   Color proportion (approx.): white / warm-ivory tints 60% · graphite 25% · deep graphite 10% · Golden Rust 5%.
   Golden Rust is the one color we own — headlines and a single accent per view. If a page looks orange, pull it back.
   Olive, Sage and Burgundy are supporting accents: at most one per piece, never next to Rust at equal weight.
   No gradients, vignettes or trend effects (Bill's rules).
   ========================================================================== */

:root {
	/* Primary palette */
	--rust: #A6631B;           /* Golden Rust · PMS 7512 */
	--graphite: #54585A;       /* Graphite · PMS 425 */
	--graphite-30: #CCCDCE;    /* Light Graphite (30%) — on dark grounds */
	/* Secondary palette */
	--deep: #25282A;           /* Deep Graphite · PMS 426 */
	--taupe: #AFA593;          /* Warm Taupe · PMS 401 */
	--ivory: #D3D1C3;          /* Warm Ivory · PMS 7527 */
	--olive: #5D6539;          /* Deep Olive · PMS 5753 */
	--sage: #799B90;           /* Muted Sage · PMS 5565 */
	--burgundy: #903336;       /* Burgundy · PMS 492 */

	/* Working tokens */
	--ink: #161718;            /* Process Black, softened for screens */
	--paper: #F5F4EF;          /* Warm Ivory tint ground */
	--paper-2: #ECEAE1;        /* deeper ivory tint */
	--white: #FFFFFF;
	--line: #DEDCD2;
	--line-strong: #B9B6A8;
	--muted: #5F6264;          /* graphite body-secondary, 6.1:1 on white */

	/* Type — Charter + Avenir Next via Adobe Fonts; Charis SIL + Figtree are the Google stand-ins */
	--font-serif: "charter-bt-pro", "Charter BT Pro", "Charter", "Bitstream Charter", "Charis SIL", Georgia, serif;
	--font-sans: "avenir-next-lt-pro", "Avenir Next", "Avenir", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-hand: "Dancing Script", "Segoe Script", cursive;

	--step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
	--step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	--step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.375rem);
	--step-2: clamp(1.45rem, 1.25rem + 0.9vw, 1.875rem);
	--step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.6rem);
	--step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.75rem);

	--track: -0.01em;          /* Brand Guide: tracking −10 */
	--measure: 64ch;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 48px);
	--space: clamp(64px, 9vw, 128px);
	--radius: 2px;
	--header-h: 84px;
}

/* --------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--step-0);
	line-height: 1.65;
	letter-spacing: var(--track);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; letter-spacing: var(--track); line-height: 1.12; margin: 0; text-wrap: balance; font-kerning: normal; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--deep); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--measure) + var(--gutter) * 2); }

.section { padding-block: var(--space); }
.section--tight { padding-block: calc(var(--space) * 0.55); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--deep); color: var(--graphite-30); }

.eyebrow {
	font-family: var(--font-sans);
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--graphite);
	margin: 0 0 0.9rem;
}
.eyebrow a { text-decoration: none; }
.eyebrow--light { color: var(--taupe); }

.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-title { font-size: var(--step-3); color: var(--rust); }
.section-title--light { color: var(--white); }
.section-intro, .lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: var(--measure); margin-top: 1rem; }
.lede--light { color: var(--graphite-30); }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head-row .section-head { margin-bottom: 0; }

.script { font-family: var(--font-hand); font-weight: 500; letter-spacing: 0; color: var(--rust); font-size: var(--step-2); line-height: 1.2; }
.script--lg { font-size: var(--step-3); margin-bottom: 0.4rem; }

/* Buttons & links ---------------------------------------------------------- */
.button {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--deep); color: var(--white);
	font: 600 var(--step-0)/1 var(--font-sans); letter-spacing: 0.01em;
	padding: 16px 26px; border: 1px solid var(--deep); border-radius: var(--radius);
	text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.button:hover { background: var(--graphite); border-color: var(--graphite); }
.button--small { padding: 11px 18px; font-size: var(--step--1); }
.button--light { background: var(--white); color: var(--deep); border-color: var(--white); }
.button--light:hover { background: var(--paper); border-color: var(--paper); color: var(--deep); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--deep); text-decoration: none; border-bottom: 1px solid var(--rust); padding-bottom: 3px; }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link--light { color: var(--white); border-color: var(--taupe); }

/* --------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-logo { display: block; flex: none; }
.site-header .logo-img { height: 58px; width: auto; }
.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 30px); }
.primary-nav a { text-decoration: none; font-weight: 500; color: var(--deep); padding-block: 6px; border-bottom: 1px solid transparent; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current_page_item > a { border-bottom-color: var(--rust); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 12px 0; position: absolute; background: var(--white); border: 1px solid var(--line); min-width: 220px; display: none; }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .menu-item-has-children:hover > .sub-menu, .primary-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { display: block; padding: 8px 18px; border: 0; }
.primary-nav__contact { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--deep); cursor: pointer; }
.nav-toggle__close { display: none; }

@media (max-width: 1060px) {
	.nav-toggle { display: inline-flex; }
	.site-header__actions { margin-left: auto; }
	.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); padding: 32px var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .primary-nav { opacity: 1; transform: none; visibility: visible; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu > li > a { display: block; font-family: var(--font-serif); font-weight: 700; font-size: var(--step-2); padding: 14px 0; border-bottom: 1px solid var(--line); }
	.primary-nav .sub-menu { position: static; display: block; border: 0; padding: 0 0 12px 12px; }
	.primary-nav__contact { display: block; margin-top: 28px; font-size: var(--step-1); }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
	:root { --header-h: 72px; }
	.site-header .logo-img { height: 48px; }
	.site-header__actions .button { display: none; }
}

/* --------------------------------------------------------------------------
   Hero (homepage + project)
   ----------------------------------------------------------------------- */
.hero, .project-hero { position: relative; background: var(--deep); color: var(--white); min-height: clamp(520px, 78vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__slides, .project-hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .project-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__caption { position: absolute; right: var(--gutter); bottom: 22px; font-size: var(--step--1); color: var(--white); background: rgba(37,40,42,.62); padding: 6px 12px; letter-spacing: .02em; }
.hero__caption a { text-decoration: none; }
.hero__plugin { position: absolute; inset: 0; }
.hero__inner, .project-hero__inner { position: relative; z-index: 2; padding-block: clamp(32px, 6vw, 72px) calc(clamp(32px, 6vw, 72px) + 40px); }
.hero__panel { background: rgba(37,40,42,.82); padding: clamp(24px, 3.5vw, 44px); max-width: 640px; }
.hero__title { font-size: var(--step-4); color: var(--white); }
.hero__text { font-size: var(--step-1); line-height: 1.5; color: var(--graphite-30); margin: 1rem 0 0; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.hero__controls { position: absolute; z-index: 3; left: var(--gutter); bottom: 22px; display: flex; align-items: center; gap: 6px; color: var(--white); font-size: var(--step--1); }
@media (min-width: 1240px) { .hero__controls { left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.hero__btn { background: rgba(37,40,42,.62); border: 0; color: var(--white); min-width: 40px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; }
.hero__btn:hover { background: var(--deep); }
.hero__count { padding: 0 8px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
	.hero, .project-hero { min-height: 0; display: block; }
	.hero__slides, .project-hero__media { position: relative; aspect-ratio: 4 / 5; inset: auto; }
	.hero__panel { max-width: none; background: var(--deep); padding-inline: 0; }
	.hero__inner, .project-hero__inner { padding-block: 0 32px; }
	.hero__controls { top: calc(100vw * 1.25 - 52px); bottom: auto; }
	.hero__caption { top: calc(100vw * 1.25 - 50px); bottom: auto; }
}

/* --------------------------------------------------------------------------
   Homepage sections
   ----------------------------------------------------------------------- */
.welcome__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.welcome__title { font-size: var(--step-3); line-height: 1.15; color: var(--rust); text-wrap: balance; }
.welcome__body .lede { color: var(--ink); margin: 0 0 28px; }
@media (max-width: 860px) { .welcome__grid { grid-template-columns: 1fr; } }

.process-teaser { background: var(--paper); }
.beats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.beat { display: flex; flex-direction: column; min-width: 0; }
.beat__step { font-family: var(--font-hand); color: var(--rust); font-size: var(--step-2); letter-spacing: 0; margin-bottom: 4px; line-height: 1; }
.beat__title { font-size: var(--step-2); color: var(--deep); margin-bottom: 14px; }
.beat p { max-width: 36em; }
.beat__media { margin: 24px 0 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.beat__media img, .beat__media svg { width: 100%; height: 100%; object-fit: cover; }
.process-teaser__promise { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .beats { grid-template-columns: 1fr; } }
/* How we work — one idea per section */
.ideas .wrap { display: grid; gap: clamp(64px, 9vw, 128px); }
.idea { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.idea--flip .idea__media { order: 2; }
.idea__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.idea__media img { width: 100%; height: 100%; object-fit: cover; }
.idea__media--sketch { display: flex; align-items: center; justify-content: center; padding: 24px; border: 1px solid var(--line); }
.idea__media--sketch svg { width: 100%; height: auto; }
.idea__text .lede { color: var(--ink); }
@media (max-width: 860px) { .idea { grid-template-columns: 1fr; } .idea--flip .idea__media { order: 0; } .idea__media { aspect-ratio: 4 / 5; } .idea__media--sketch { aspect-ratio: auto; } }
.steps-teaser__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 48px); }
/* The process, step by step — plain and high level */
.simple-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 80px); }
.simple-step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: clamp(28px, 3.5vw, 44px) 0; border-top: 1px solid var(--line-strong); min-width: 0; }
.simple-step__n { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: .9; color: var(--taupe); }
.simple-step__title { font-size: var(--step-2); color: var(--deep); margin: 0; }
.simple-step__time { display: inline-block; margin: 6px 0 12px; font-size: var(--step--1); font-weight: 600; border-left: 2px solid var(--rust); padding-left: 10px; }
.simple-step__text { color: var(--ink); max-width: 38em; margin: 0; }
.simple-step__bring { margin: 14px 0 0; font-size: var(--step--1); color: var(--muted); }
.simple-step__bring span { display: block; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; color: var(--graphite); margin-bottom: 2px; }
@media (max-width: 860px) { .simple-steps { grid-template-columns: 1fr; } .simple-step { grid-template-columns: 48px 1fr; gap: 14px; } }
.faq__more { margin-top: 28px; }
/* Where the two years go */
.welcome__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; }
.section--flush-top { padding-top: 0; }
.timeline { margin: 0; }
.timeline__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 14px; }
.timeline__head .eyebrow { margin: 0; }
.timeline__total { font-family: var(--font-serif); font-size: var(--step-1); color: var(--deep); }
.timeline__bar { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.timeline__phase { flex-basis: 0; min-width: 132px; display: flex; flex-direction: column; gap: 2px; }
.timeline__fill { display: block; height: 10px; margin-bottom: 10px; background: var(--deep); }
.timeline__phase--estimate .timeline__fill { background: var(--rust); }
.timeline__phase--build .timeline__fill { background: var(--taupe); }
.timeline__phase--after .timeline__fill { background: transparent; border-top: 2px dashed var(--sage); height: 0; margin-top: 4px; margin-bottom: 14px; }
.timeline__name { font-family: var(--font-serif); font-weight: 700; color: var(--deep); }
.timeline__time { font-size: var(--step--1); color: var(--ink); font-weight: 600; }
.timeline__note { font-size: var(--step--1); color: var(--muted); padding-right: 12px; }
.timeline--compact { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-strong); }
@media (max-width: 760px) {
	.timeline__bar { flex-direction: column; gap: 14px; }
	.timeline__phase { min-width: 0; display: grid; grid-template-columns: 10px 1fr; column-gap: 14px; }
	.timeline__fill { grid-row: span 3; width: 10px; height: auto; margin: 0; }
	.timeline__phase--after .timeline__fill { border-top: 0; border-left: 2px dashed var(--sage); width: 0; margin: 0 4px; }
}
/* Process phases */
.phase { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line-strong); }
.phase:first-of-type { border-top: 0; }
.phase__head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.phase__time { display: inline-block; font-size: var(--step--1); font-weight: 600; color: var(--ink); border-left: 2px solid var(--rust); padding-left: 10px; margin-top: 10px; }
.phase__lede { color: var(--muted); margin-top: 12px; }
.phase .steps { border-top: 0; }
.phase .step:first-child { padding-top: 0; }
.step__you { margin-top: 10px; font-size: var(--step--1); color: var(--ink); }
.step__you b { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; color: var(--muted); margin-right: 6px; }
@media (max-width: 860px) { .phase { grid-template-columns: 1fr; } .phase__head { position: static; } }
.faq__group { margin-top: 40px; font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
/* What the listening turned into — said in the interview → on the drawings */
.trace { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-strong); }
.trace__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 56px); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 16px 0 4px; margin: 0; }
.trace__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(20px, 4vw, 56px); padding: 20px 0; border-bottom: 1px solid var(--line); }
.trace__said { font-family: var(--font-serif); font-size: var(--step-1); color: var(--deep); margin: 0; }
.trace__drawn { margin: 0; max-width: 40em; }
@media (max-width: 760px) { .trace__head span { display: none; } .trace__head, .trace__row { grid-template-columns: 1fr; gap: 6px; } }
/* Where the money goes — reach for the example */
.value__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.value__head .lede { margin: 0; }
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.example { border-top: 2px solid var(--deep); padding-top: 18px; min-width: 0; }
.example__line { font-size: var(--step-2); line-height: 1.2; color: var(--deep); margin-bottom: 12px; }
.example p { color: var(--muted); }
@media (max-width: 900px) { .value__head, .examples { grid-template-columns: 1fr; } }


.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.project-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-grid--feature { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.project-grid--feature .project-card:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.project-grid--feature .project-card:nth-child(n+2) { grid-column: span 2; }
.project-grid--feature .project-card:nth-child(1) .project-card__media { aspect-ratio: auto; height: calc(100% - 96px); min-height: 320px; }
@media (max-width: 960px) {
	.project-grid, .project-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.project-grid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.project-grid--feature .project-card:nth-child(1) { grid-column: span 2; grid-row: auto; }
	.project-grid--feature .project-card:nth-child(n+2) { grid-column: span 1; }
	.project-grid--feature .project-card:nth-child(1) .project-card__media { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
}
@media (max-width: 560px) {
	.project-grid, .project-grid--three, .project-grid--feature { grid-template-columns: 1fr; }
	.project-grid--feature .project-card:nth-child(n) { grid-column: auto; }
}
.project-card { min-width: 0; }
.project-card[hidden] { display: none; }
.project-card__link { display: block; text-decoration: none; height: 100%; }
.project-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-card__link:hover img { transform: scale(1.03); }
.project-card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-family: var(--font-serif); color: var(--graphite); padding: 16px; text-align: center; }
.project-card__body { padding-top: 16px; }
.project-card__body .eyebrow { margin-bottom: 6px; }
.project-card__title { font-size: var(--step-1); color: var(--deep); }
.project-card__link:hover .project-card__title { text-decoration: underline; text-decoration-color: var(--rust); text-underline-offset: .2em; }
.project-card__note { color: var(--muted); font-size: var(--step--1); margin-top: 6px; }

.money__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.money .section-title { color: var(--white); }
.money__aside { color: var(--graphite-30); font-size: var(--step-0); margin-top: 18px; }
.money__flag { font-family: var(--font-serif); font-size: var(--step-1); color: var(--white); border-left: 2px solid var(--rust); padding-left: 16px; margin: 28px 0; }
.sheet { margin: 0; background: var(--white); color: var(--ink); padding: clamp(18px, 2.5vw, 30px); font-size: var(--step--1); min-width: 0; overflow-x: auto; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); border-bottom: 2px solid var(--deep); padding-bottom: 10px; }
.sheet__tag { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); border: 1px solid var(--line-strong); padding: 2px 8px; }
.sheet__table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.sheet__table th { text-align: left; font-weight: 600; color: var(--muted); padding: 10px 8px 8px 0; border-bottom: 1px solid var(--line); }
.sheet__table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.sheet__table td span { color: var(--muted); }
.sheet__table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 0; }
.sheet__table td.num { font-family: var(--font-serif); font-weight: 700; color: var(--deep); font-size: var(--step-0); }
.sheet__foot { margin-top: 14px; color: var(--muted); }
@media (max-width: 900px) { .money__grid { grid-template-columns: 1fr; } }

.details__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.detail { margin: 0; }
.detail__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail figcaption { margin-top: 16px; font-family: var(--font-serif); font-size: var(--step-1); line-height: 1.4; color: var(--deep); }
@media (max-width: 860px) { .details__grid { grid-template-columns: 1fr; } .detail__media { aspect-ratio: 3 / 2; } }

.lots-teaser { background: var(--paper); }
.lots-teaser__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.lots-teaser__text { min-width: 0; }
.hood-list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line-strong); }
.hood-list a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.hood-list a:hover span:first-child { text-decoration: underline; text-decoration-color: var(--rust); }
.hood-list__n { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .lots-teaser__grid { grid-template-columns: 1fr; } }

.record__grid { display: grid; grid-template-columns: auto 1fr minmax(260px, 0.8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.record__year { font-family: var(--font-serif); font-weight: 700; font-size: clamp(4rem, 2rem + 8vw, 9rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--taupe); letter-spacing: -0.02em; }
.record__text .section-title { color: var(--deep); font-size: var(--step-3); }
.record__text .lede { margin-bottom: 24px; }
.record__doors { display: grid; gap: 16px; }
.record__commercial { display: grid; grid-template-columns: 1fr; text-decoration: none; background: var(--paper); }
.record__commercial-media { aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.record__commercial-media img { width: 100%; height: 100%; object-fit: cover; }
.record__commercial-text { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; font-size: var(--step--1); color: var(--muted); }
.record__commercial-text .eyebrow { margin: 0; }
.record__commercial-text .text-link { align-self: flex-start; font-size: var(--step-0); }
.record__note { color: var(--ink); margin: 0 0 20px; max-width: var(--measure); }
.partners-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; color: var(--muted); }
.partners-list b { color: var(--deep); font-family: var(--font-serif); }
@media (max-width: 980px) { .record__grid { grid-template-columns: 1fr; } .record__year { font-size: 5rem; } }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.post-card__link { display: block; text-decoration: none; }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 16px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title { font-size: var(--step-1); color: var(--deep); margin-bottom: 8px; }
.post-card__excerpt { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } }

/* Contact ---------------------------------------------------------------- */
.contact-band { background: var(--paper); border-top: 1px solid var(--line); }
.contact-band__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-band__text .section-title, .contact-band__text .page-title { color: var(--rust); }
.contact-band__text .lede { color: var(--ink); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .icon { color: var(--rust); flex: none; }
.contact-list a { text-decoration: none; }
.contact-band__form { background: var(--white); padding: clamp(22px, 3vw, 40px); border: 1px solid var(--line); min-width: 0; }
@media (max-width: 900px) { .contact-band__grid { grid-template-columns: 1fr; } }

.contact-form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field legend, .field label { font-weight: 600; font-size: var(--step--1); color: var(--deep); padding: 0; margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form select, .contact-form textarea, .search-form input[type=search] {
	width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; letter-spacing: 0;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--rust); outline-offset: 0; border-color: var(--rust); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; margin: 0 !important; font-weight: 500 !important; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--step--1); background: var(--white); }
.choice input:checked + span { background: var(--deep); color: var(--white); border-color: var(--deep); }
.choice input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.field--hp { position: absolute; left: -9999px; }
.form-fine { font-size: var(--step--1); color: var(--muted); margin: -6px 0 0; }
.form-note { padding: 18px 20px; margin-bottom: 18px; border-left: 3px solid var(--olive); background: var(--paper); }
.form-note--error { border-left-color: var(--burgundy); }
.search-form { display: flex; gap: 10px; max-width: 560px; margin: 32px 0; }

/* --------------------------------------------------------------------------
   Interior pages
   ----------------------------------------------------------------------- */
.page-intro { padding-block: clamp(48px, 8vw, 112px) clamp(32px, 5vw, 72px); background: var(--paper); }
.page-intro__inner { display: grid; gap: clamp(28px, 5vw, 72px); }
.page-intro--image .page-intro__inner { grid-template-columns: 1fr 1fr; align-items: center; }
.page-title { font-size: var(--step-4); color: var(--rust); }
.page-intro .lede { color: var(--ink); }
.page-intro__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.page-intro__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-intro--image .page-intro__inner { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.points--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.point { border-top: 2px solid var(--deep); padding-top: 20px; min-width: 0; }
.point__title { font-size: var(--step-1); color: var(--deep); margin-bottom: 10px; }
.point p { color: var(--muted); }
@media (max-width: 960px) { .points, .points--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .points, .points--four { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: none; border-top: 1px solid var(--line-strong); }
.step { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--font-serif); font-weight: 700; font-size: var(--step-2); color: var(--taupe); font-variant-numeric: tabular-nums; line-height: 1.1; }
.step__title { font-size: var(--step-1); color: var(--deep); margin-bottom: 8px; }
.step p { max-width: var(--measure); color: var(--muted); }
@media (max-width: 560px) { .step { grid-template-columns: 52px 1fr; gap: 14px; } }

.moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 56px; margin: 0; }
.moves dt { font-family: var(--font-serif); font-weight: 700; font-size: var(--step-1); color: var(--deep); margin-bottom: 6px; }
.moves dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .moves { grid-template-columns: 1fr; } }

.faq { max-width: 860px; }
.faq__item { border-top: 1px solid var(--line-strong); padding: 6px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { cursor: pointer; font-family: var(--font-serif); font-weight: 700; font-size: var(--step-1); color: var(--deep); padding: 16px 32px 16px 0; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--font-sans); font-weight: 400; font-size: 1.6rem; color: var(--rust); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { max-width: var(--measure); color: var(--muted); padding-bottom: 14px; }

.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin: clamp(32px, 4vw, 56px) 0; }
.value { position: relative; border-top: 1px solid var(--graphite); padding-top: 18px; min-width: 0; }
/* Golden Rust as a short rule only: rust text on Deep Graphite is 3.1:1, so the names stay ivory (AG v2.3 §10). */
.value::before { content: ""; position: absolute; top: -2px; left: 0; width: 32px; height: 3px; background: var(--rust); }
.value dt { font-family: var(--font-serif); font-weight: 700; color: var(--white); font-size: var(--step-1); margin-bottom: 8px; }
.value dd { margin: 0; color: var(--graphite-30); font-size: var(--step--1); }
.purpose { font-family: var(--font-serif); font-size: var(--step-2); line-height: 1.35; color: var(--white); max-width: 34em; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.cta-band { border-top: 1px solid var(--line); }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.cta-band__inner > div:first-child { max-width: 40rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }

/* Work archive filters ---------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.filter { font: 500 var(--step--1)/1 var(--font-sans); padding: 11px 16px; border: 1px solid var(--line-strong); background: var(--white); color: var(--deep); border-radius: 999px; cursor: pointer; }
.filter:hover { border-color: var(--deep); }
.filter.is-active { background: var(--deep); color: var(--white); border-color: var(--deep); }
.filter__n { color: inherit; opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }
.filter-empty { color: var(--muted); }
.count { color: var(--muted); }

/* Single project ---------------------------------------------------------- */
.project-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(32px, 6vw, 96px); }
.project-body__aside { display: grid; gap: 32px; align-content: start; }
.aside-block { border-top: 2px solid var(--deep); padding-top: 18px; }
.aside-title { font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); margin-bottom: 12px; }
.aside-quote { font-family: var(--font-serif); font-size: var(--step-1); line-height: 1.4; color: var(--deep); }
.feature-list { margin: 0; padding-left: 1.1em; color: var(--muted); }
.feature-list li { margin-bottom: 6px; }
.feature-list li::marker { color: var(--rust); }
.decision { max-width: 54rem; }
.decision__text { font-family: var(--font-serif); font-size: var(--step-2); line-height: 1.35; color: var(--deep); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.before-after figure { margin: 0; position: relative; }
.before-after figcaption { position: absolute; left: 12px; top: 12px; background: var(--deep); color: var(--white); font-size: var(--step--1); padding: 4px 10px; }
@media (max-width: 860px) { .project-body { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .before-after { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery__item:hover img { opacity: .9; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery__item--wide { grid-row: auto; aspect-ratio: 3 / 2; } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(22,23,24,.94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.lightbox [data-lb-close] { top: 8px; right: 8px; }
.lightbox [data-lb-prev] { left: 8px; top: 50%; }
.lightbox [data-lb-next] { right: 8px; top: 50%; }

/* Prose (editor content, legacy project bodies) --------------------------- */
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step-2); color: var(--rust); margin: 2em 0 .6em; }
.prose h3 { font-size: var(--step-1); color: var(--deep); margin: 1.8em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose img { margin-block: 1.5em; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--rust); font-family: var(--font-serif); font-size: var(--step-1); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li::marker { color: var(--rust); }
.prose a { color: var(--deep); text-decoration-color: var(--rust); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-family: var(--font-serif); font-size: var(--step-1); }
.search-results { list-style: none; padding: 0; display: grid; gap: 22px; }
.article__media { margin-block: 0; }

/* --------------------------------------------------------------------------
   Lots map & list
   ----------------------------------------------------------------------- */
.lots-map { width: 100%; background: var(--paper-2); border: 1px solid var(--line); min-height: 360px; z-index: 0; }
.lots-map--teaser { height: 100%; min-height: 440px; }
.lots-map--full { height: clamp(420px, 70vh, 720px); position: sticky; top: calc(var(--header-h) + 16px); }
.lots-map--single { height: 420px; }
.lots-map .leaflet-tile-pane { filter: grayscale(1) sepia(.18) contrast(.95) brightness(1.02); }
.lots-map .leaflet-container, .leaflet-container { font-family: var(--font-sans); }
.mp-pin, .mp-office { display: block; }
.mp-pin { width: 18px; height: 18px; border-radius: 50%; background: var(--rust); border: 3px solid var(--white); box-shadow: 0 0 0 1px rgba(37,40,42,.35); }
.mp-pin--pending { background: var(--taupe); }
.mp-pin--sold { background: var(--graphite); }
.mp-pin.is-active { transform: scale(1.35); box-shadow: 0 0 0 2px var(--deep); }
.mp-office { width: 26px; height: 26px; border-radius: 50%; background: var(--deep); color: var(--white); font: 700 11px/26px var(--font-serif); text-align: center; border: 2px solid var(--white); }
.leaflet-popup-content { margin: 14px 16px; font-size: 14px; line-height: 1.45; }
.leaflet-popup-content strong { font-family: var(--font-serif); font-size: 16px; color: var(--deep); }
.leaflet-popup-content a { color: var(--deep); text-decoration-color: var(--rust); }

.lots-explorer__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.lot-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.lot { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 18px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.lot[hidden] { display: none; }
.lot:hover, .lot.is-active { background: var(--paper); }
.lot .eyebrow { margin-bottom: 4px; }
.lot__title { font-size: var(--step-1); color: var(--deep); }
.lot__title a { text-decoration: none; }
.lot__address { color: var(--muted); font-size: var(--step--1); margin-top: 4px; }
.lot__facts { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; font-size: var(--step--1); }
.lot__facts > div { min-width: 0; }
.lot__facts dt { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.lot__facts dd { margin: 0; font-weight: 600; }
.lot__facts--stacked { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; font-size: var(--step-0); }
.lot--nomap .lot__title::after { content: " · location on request"; font-family: var(--font-sans); font-weight: 400; font-size: var(--step--1); color: var(--muted); }
.status { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .8rem; background: color-mix(in srgb, var(--olive) 14%, white); color: var(--olive); }
.status--pending { background: var(--paper-2); color: var(--graphite); }
.status--sold { background: var(--paper-2); color: var(--muted); }
.lot-single { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 960px) {
	.lots-explorer__grid, .lot-single { grid-template-columns: 1fr; }
	.lots-map--full { position: relative; top: 0; height: 380px; }
	.lot { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Footer — Deep Graphite, reversed logo, Taupe subtitles
   ----------------------------------------------------------------------- */
.site-footer { background: var(--deep); color: var(--graphite-30); padding-top: clamp(56px, 7vw, 96px); font-size: var(--step--1); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--rust); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo-img { height: 92px; width: auto; }
.site-footer__descriptor { color: var(--taupe); margin-top: 20px; max-width: 18rem; }
.footer-title { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin-bottom: 16px; }
.footer-menu, .legal-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social { list-style: none; display: flex; gap: 6px; padding: 0; margin: 18px 0 0; }
.social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--graphite); border-radius: 50%; color: var(--graphite-30); }
.social a:hover { border-color: var(--taupe); color: var(--white); text-decoration: none; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid #3a3e40; margin-top: clamp(40px, 6vw, 72px); padding-block: 22px; color: var(--taupe); }
.legal-menu { display: flex; gap: 20px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Plan sketch ------------------------------------------------------------- */
.plan-sketch { background: var(--paper); }

/* Gravity Forms light touch ----------------------------------------------- */
.gform_wrapper .gfield_label { font-weight: 600 !important; font-size: var(--step--1) !important; color: var(--deep); }
.gform_wrapper input:not([type=submit]):not([type=radio]):not([type=checkbox]), .gform_wrapper select, .gform_wrapper textarea { border: 1px solid var(--line-strong) !important; border-radius: var(--radius) !important; padding: 12px 14px !important; font: inherit !important; }
.gform_wrapper .gform_button { background: var(--deep) !important; color: var(--white) !important; border: 0 !important; padding: 16px 26px !important; font: 600 var(--step-0)/1 var(--font-sans) !important; border-radius: var(--radius) !important; cursor: pointer; }

/* Transition notice (above the header, auto-expires) ----------------------- */
.notice-bar { background: var(--deep); color: var(--graphite-30); font-size: var(--step--1); }
.notice-bar[hidden] { display: none; }
.notice-bar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-block: 6px; text-align: center; }
.notice-bar p { margin: 0; }
.notice-bar a { color: var(--white); margin-left: 8px; text-decoration-color: var(--rust); white-space: nowrap; }
.notice-bar__close { background: none; border: 0; color: var(--taupe); cursor: pointer; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.notice-bar__close:hover { color: var(--white); }
.notice-bar__close .icon { width: 16px; height: 16px; }

/* Leader ------------------------------------------------------------------ */
.leader { margin: 32px 0 0; display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; border-top: 1px solid var(--line-strong); padding-top: 24px; }
.leader__photo { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--deep); display: flex; align-items: center; justify-content: center; }
.leader__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader__initials { font-family: var(--font-serif); font-weight: 700; color: var(--taupe); font-size: 1.5rem; letter-spacing: .02em; }
.leader figcaption { display: grid; gap: 2px; min-width: 0; }
.leader__name { font-family: var(--font-serif); font-weight: 700; font-size: var(--step-1); color: var(--deep); }
.leader__title { font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); font-weight: 600; }
.leader__line { color: var(--muted); font-size: var(--step--1); margin-top: 6px; max-width: 34em; }
.leader--feature { grid-template-columns: 1fr; border-top: 0; padding-top: 0; margin: 0; }
.leader--feature .leader__photo { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 0; max-width: 420px; }
.leader--feature .leader__initials { font-size: 5rem; }
.leader--feature figcaption { margin-top: 14px; }
.two-col--center { align-items: center; }

.notice-bar strong { font-weight: 600; color: var(--white); }
.notice-bar__more { margin-left: .35em; }
@media (max-width: 640px) { .notice-bar__more { display: none; } .notice-bar__inner { justify-content: space-between; text-align: left; } }
.leader { align-items: start; }
.leader--feature .leader__photo { max-width: 340px; background: var(--paper-2); }
.leader--feature .leader__initials { color: var(--line-strong); }

/* Leader profile page ---------------------------------------------------- */
.leader__link { margin-top: 10px; justify-self: start; font-size: var(--step--1); }
.leader-hero__media { aspect-ratio: 4 / 5; max-width: 460px; justify-self: end; width: 100%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; }
.leader-hero__placeholder { padding: 24px; text-align: center; color: var(--muted); font-size: var(--step--1); max-width: 18em; }
.story { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
.story__beat { border-top: 2px solid var(--deep); padding-top: 18px; min-width: 0; }
.story__title { font-size: var(--step-1); color: var(--deep); margin-bottom: 10px; }
.story__beat p { color: var(--muted); max-width: var(--measure); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } .leader-hero__media { justify-self: start; } }
.why { max-width: 60rem; }
.why__lead { font-family: var(--font-serif); font-size: var(--step-2); line-height: 1.35; color: var(--white); }
.why__tail { font-family: var(--font-hand); color: var(--taupe); font-size: var(--step-2); letter-spacing: 0; margin-top: 18px; }
.why__pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 40px 0 0; }
.why__pairs > div { border-top: 1px solid var(--graphite); padding-top: 16px; min-width: 0; }
.why__pairs dt { font-family: var(--font-serif); color: var(--white); font-size: var(--step-1); margin-bottom: 10px; }
.why__pairs dd { margin: 0; color: var(--graphite-30); font-size: var(--step--1); }
@media (max-width: 760px) { .why__pairs { grid-template-columns: 1fr; } }
.pull { margin: 0; max-width: 46rem; }
.pull p { font-family: var(--font-serif); font-weight: 700; font-size: var(--step-3); line-height: 1.2; color: var(--rust); }
.pull cite { display: block; margin-top: 14px; font-style: normal; color: var(--graphite); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

/* --------------------------------------------------------------------------
   Full-screen photography
   The photograph is the loudest thing on screen; one line rides on a compact solid panel.
   ----------------------------------------------------------------------- */
.hero { min-height: clamp(560px, calc(100svh - var(--header-h)), 1100px); }
.photo-band { position: relative; background: var(--deep); color: var(--white); min-height: clamp(560px, 100svh, 1200px); display: flex; align-items: flex-end; overflow: hidden; }
.photo-band__media { position: absolute; inset: 0; margin: 0; }
.photo-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.photo-band__caption { position: absolute; right: var(--gutter); bottom: 22px; font-size: var(--step--1); background: rgba(37,40,42,.62); padding: 6px 12px; letter-spacing: .02em; }
.photo-band__inner { position: relative; z-index: 2; padding-block: 0 clamp(56px, 7vw, 96px); display: flex; }
.photo-band--right .photo-band__inner { justify-content: flex-end; }
.photo-band__panel { background: rgba(37,40,42,.82); padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px); max-width: 560px; }
.photo-band__panel .eyebrow { margin-bottom: 8px; }
.photo-band__line { font-family: var(--font-serif); font-weight: 700; font-size: var(--step-3); line-height: 1.15; letter-spacing: var(--track); color: var(--white); margin: 0; text-wrap: balance; }
.photo-band__panel .text-link { margin-top: 18px; }
.section--flush-bottom { padding-bottom: clamp(28px, 3vw, 40px); }
.project-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid--two .project-card__media { aspect-ratio: 3 / 2; }
@media (max-width: 640px) {
	.photo-band { min-height: 0; display: block; }
	.photo-band__media { position: relative; inset: auto; aspect-ratio: 4 / 5; }
	.photo-band__caption { bottom: 14px; }
	.photo-band__inner { padding-block: 0 28px; }
	.photo-band__panel { background: var(--deep); padding: 24px 0 0; max-width: none; }
	.photo-band__line { font-size: var(--step-2); }
	.project-grid--two { grid-template-columns: 1fr; }
}

/* Background video over the hero and full-screen bands (photo underneath is the poster) */
.hero__video { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.video-layer { position: absolute; inset: 0; }
.video-layer video { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); opacity: 0; transition: opacity .8s ease; }
.video-layer.is-playing video { opacity: 1; }
.video-toggle { position: absolute; left: var(--gutter); bottom: 22px; z-index: 3; pointer-events: auto; background: rgba(37,40,42,.62); color: var(--white); border: 0; font: inherit; font-size: var(--step--1); padding: 6px 12px; cursor: pointer; }
.video-toggle:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.hero .video-toggle { left: auto; right: var(--gutter); bottom: 64px; }
.hero:has(.video-layer.is-playing) .hero__controls { display: none; }
@media (max-width: 760px) { .hero__video { position: absolute; inset: 0 0 auto 0; aspect-ratio: 4 / 5; } }
@media (prefers-reduced-motion: reduce) { .video-layer video { display: none; } }

/* Motion tokens (see Motion & Scroll research, Oct 2026) */
:root { --dur-hover: 150ms; --dur-ui: 250ms; --dur-page: 400ms; --ease-out: cubic-bezier(.22,.61,.36,1); --ease-in: cubic-bezier(.55,0,.68,.53); }

/* Sticky story chapter — what we heard, what we drew, what we built */
.chapter { background: var(--paper); }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); margin-top: clamp(24px, 3vw, 40px); }
.chapter__media { position: sticky; top: calc(var(--header-h) + 24px); height: min(72svh, 720px); align-self: start; }
.chapter__layer { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity var(--dur-page) var(--ease-out); display: flex; flex-direction: column; }
.chapter__layer.is-active { opacity: 1; }
.chapter__layer img { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.chapter__layer--quote, .chapter__inline.chapter__layer--quote { background: var(--white); border: 1px solid var(--line); justify-content: center; padding: clamp(28px, 4vw, 64px); }
.chapter__quote { margin: 0; }
.chapter__quote p { font-family: var(--font-serif); font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); line-height: 1.15; color: var(--deep); letter-spacing: var(--track); text-wrap: balance; }
.chapter__layer--sketch, .chapter__inline.chapter__layer--sketch { background: var(--white); border: 1px solid var(--line); justify-content: center; padding: clamp(16px, 2vw, 32px); }
.chapter__layer--drawing, .chapter__inline.chapter__layer--drawing { background: var(--white); border: 1px solid var(--line); padding: clamp(12px, 1.6vw, 24px); }
.chapter__layer--drawing img, .chapter__inline.chapter__layer--drawing img { object-fit: contain; aspect-ratio: auto; }
.chapter__layer--drawing .chapter__cap { padding-top: 14px; }
.chapter__sketch svg { width: 100%; height: auto; display: block; }
.chapter__cap { font-size: var(--step--1); color: var(--muted); padding-top: 10px; }
.chapter__layer--quote .chapter__cap, .chapter__layer--sketch .chapter__cap { padding-top: 18px; }
.chapter__steps { list-style: none; margin: 0; padding: 0; }
.chapter__step { min-height: min(72svh, 720px); display: flex; flex-direction: column; justify-content: center; padding-block: 24px; border-top: 1px solid var(--line-strong); opacity: .45; transition: opacity var(--dur-page) var(--ease-out); }
.chapter__step:first-child { border-top: 0; }
.chapter__step.is-active { opacity: 1; }
.chapter__label { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--rust); margin: 0 0 10px; }
.chapter__title { font-size: var(--step-2); color: var(--deep); margin: 0 0 10px; }
.chapter__note { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 30em; margin: 0; }
.chapter__inline { display: none; margin: 0 0 20px; }
.chapter__inline img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chapter__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.chapter__foot .chapter__footnote { flex: 1 1 100%; }
.chapter__badge { height: 64px; width: auto; margin-left: auto; }
.chapter__footnote { font-size: var(--step--1); color: var(--muted); margin: 0; }
.no-js .chapter__step, .chapter:not(.is-ready) .chapter__step { opacity: 1; }
@media (max-width: 860px) {
	.chapter__grid { grid-template-columns: 1fr; }
	.chapter__media { display: none; }
	.chapter__inline { display: flex; flex-direction: column; }
	.chapter__step { min-height: 0; opacity: 1; padding-block: 28px; }
	.chapter__inline.chapter__layer--quote .chapter__quote p { font-size: 1.7rem; }
}
/* Listening deeply · "What we built" finale (Oct 28). At rest (no script, reduced motion): a full-width 16:9
   film with the words under it. With script on desktop (.is-live): a tall runway; the frame starts 4:5 where
   the pinned media sat and stretches to 16:9 as you scroll, then the words settle underneath. */
.chapter__finale { margin-top: clamp(32px, 5vw, 72px); }
.finale__frame { position: relative; margin: 0; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; max-height: 78svh; background: var(--deep); }
.finale__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.finale__text { padding-top: 20px; display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 36em); column-gap: clamp(24px, 4vw, 64px); align-items: baseline; }
.finale__text .chapter__label { margin: 0; }
.finale__text .chapter__cap { grid-column: 2; padding-top: 8px; }
.chapter__finale.is-live { height: 125svh; }
.chapter__finale.is-live .finale__stage { position: sticky; top: calc(var(--header-h) + 24px); height: calc(100svh - var(--header-h) - 48px); }
.chapter__finale.is-live .finale__frame { aspect-ratio: auto; max-height: none; width: var(--fw, 100%); height: var(--fh, auto); }
.chapter__finale.is-live .finale__text { opacity: var(--ft, 0); transform: translateY(calc((1 - var(--ft, 0)) * 14px)); }
@media (max-width: 860px) {
	.chapter__finale, .chapter__finale.is-live { height: auto; margin-top: 8px; }
	.finale__frame { aspect-ratio: 16 / 9; max-height: none; }
	.finale__text { display: block; }
	.finale__text .chapter__label { margin-bottom: 10px; }
}
/* "Play video" beside How we work: the whole film, with sound, in a viewer (Oct 29) */
.chapter__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
button.text-link { background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; font-weight: 600; cursor: pointer; padding-inline: 0; border-radius: 0; }
.film-open__tri { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; transition: transform .2s; }
.film-open:hover .film-open__tri { transform: translateX(3px); }
.film-modal { width: min(92vw, 1600px); max-height: 92svh; padding: 0; border: 0; background: #0f0f0e; color: #f4f1ec; }
.film-modal::backdrop { background: rgba(10, 10, 9, .86); }
.film-modal__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 14px; }
.film-modal__title { margin: 0; font-size: var(--step--1); letter-spacing: .04em; }
.film-modal__close { background: none; border: 1px solid rgba(255,255,255,.35); color: inherit; font: inherit; font-size: var(--step--1); padding: 4px 14px; cursor: pointer; }
.film-modal__close:focus-visible, .film-open:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.film-modal video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: calc(92svh - 52px); background: #000; }
@media (prefers-reduced-motion: reduce) { .chapter__layer, .chapter__step { transition: none; } }
:root[data-motion="reduce"] .chapter__layer, :root[data-motion="reduce"] .chapter__step { transition: none; }
:root[data-motion="reduce"] .video-layer video { display: none; }
.motion-toggle { background: none; border: 1px solid rgba(255,255,255,.28); color: inherit; font: inherit; font-size: var(--step--1); padding: 4px 12px; cursor: pointer; border-radius: var(--radius); }
.motion-toggle[aria-pressed="true"] { border-color: var(--rust); }
.motion-toggle:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
/* Why we build — three glimpses */
.glimpses { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.glimpse { border-top: 2px solid var(--deep); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.glimpse__title { font-size: var(--step-1); color: var(--deep); margin: 0; }
.glimpse p { color: var(--muted); margin: 0; flex: 1; }
.glimpse .text-link { align-self: flex-start; }
@media (max-width: 860px) { .glimpses { grid-template-columns: 1fr; } }
/* Story film (plays on tap) */
.story-film { background: var(--paper); }
.story-film__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-film__media { margin: 0; }
.story-film__media video { width: 100%; aspect-ratio: 16 / 9; background: var(--deep); display: block; }
.story-film__cap { font-size: var(--step--1); color: var(--muted); padding-top: 10px; }
@media (max-width: 860px) { .story-film__grid { grid-template-columns: 1fr; } }
.record__doors .record__commercial-media { aspect-ratio: 2 / 1; }
@media (max-width: 980px) and (min-width: 600px) { .record__doors { grid-template-columns: 1fr 1fr; } }

/* Before/after compare slider */
.compare { margin: 0; }
.compare__frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); --pos: 50%; user-select: none; touch-action: pan-y; }
.project-card__media .compare, .project-card__media .compare__frame { height: 100%; aspect-ratio: auto; }
.compare__img, .compare__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-card--compare .project-card__media img { transform: none !important; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.12); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.compare__handle span::before, .compare__handle span::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; }
.compare__handle span::before { left: 8px; border-right-color: var(--deep); }
.compare__handle span::after { right: 8px; border-left-color: var(--deep); }
.compare__label { position: absolute; top: 12px; background: rgba(37,40,42,.72); color: var(--white); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; pointer-events: none; }
.compare__label--before { left: 12px; }
.compare__label--after { right: 12px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; }
.compare__range:focus-visible + * , .compare__frame:focus-within .compare__handle span { outline: 2px solid var(--rust); outline-offset: 2px; }
.compare__cap { font-size: var(--step--1); color: var(--muted); padding-top: 10px; }
.compare-list { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(20px, 3vw, 36px); }

/* Chapter and step films */
.chapter__film { position: relative; flex: 1; min-height: 0; display: flex; }
.chapter__film > img { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.chapter__inline .chapter__film > img { aspect-ratio: 4 / 3; }
.simple-step__media { margin: 18px 0 0; max-width: 720px; }
.simple-step__film { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.simple-step__film > img { width: 100%; height: 100%; object-fit: cover; }
.simple-step__media figcaption { font-size: var(--step--1); color: var(--muted); padding-top: 8px; }

/* Team: desaturated headshots, color returns on hover */
.leader__photo img, .team-member__photo img, .faces__item img { filter: grayscale(1) contrast(1.04); transition: filter .5s ease; }
.leader:hover .leader__photo img, .team-member:hover img, .faces__item:hover img { filter: none; }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.team-member { margin: 0; }
.team-member__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member__name { font-family: var(--font-serif); color: var(--deep); font-size: var(--step-1); margin: 12px 0 2px; }
.team-member__role { color: var(--muted); font-size: var(--step--1); margin: 0; }
.team-candid { margin: clamp(28px, 4vw, 56px) 0 0; }
.team-candid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.team-candid figcaption { font-size: var(--step--1); color: var(--muted); padding-top: 8px; }
.faces { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 420px; }
.faces__item { position: relative; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--paper-2); }
.faces__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.faces__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .leader__photo img, .team-member__photo img, .faces__item img { transition: none; } }

/* Project card hover clip (fades in over the photo once it's playing) */
.project-card__media { position: relative; }
.project-card__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.project-card__media.is-clip-playing .project-card__clip { opacity: 1; }

/* Pat on site — jobsite photos under the habits */
.site-photos { display: grid; gap: 16px; margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.site-photos figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.site-photos img { width: 100%; height: 100%; object-fit: cover; }

/* Pat McNeil — one small portrait beside "Why the name" */
.founder { margin: 32px 0 0; max-width: 260px; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.founder figcaption { margin-top: 10px; font-size: var(--step--1); color: var(--muted); }
.site-photos--people figure { aspect-ratio: 4 / 5; }
.idea__media img.is-drawing { object-fit: contain; background: var(--white); }

/* Team: department headings and initials tiles (Dashboard → Team) */
.team-dept { font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); margin: clamp(40px, 5vw, 64px) 0 18px; padding-top: 14px; border-top: 1px solid var(--line, rgba(0,0,0,.12)); }
.team-dept:first-of-type { margin-top: 0; }
.team-initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 3vw, 40px); color: var(--graphite); letter-spacing: .02em; background: var(--paper-2); }
.faces { max-width: 520px; }

/* The lewis, drawn (About) ------------------------------------------------ */
.lewis-figure { margin: clamp(28px, 4vw, 44px) 0 0; max-width: 560px; }
.lewis-sketch { width: 100%; height: auto; display: block; border: 1px solid var(--line); background: var(--paper); }
.lewis-figure figcaption { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; align-items: baseline; padding-top: 10px; font-size: .875rem; color: var(--graphite); }
.lewis-replay { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 1px; font: inherit; color: var(--ink); cursor: pointer; }
.lewis-replay:hover, .lewis-replay:focus-visible { color: var(--rust); }
/* Finished state (the still): lifted */
.lewis-sketch .lw-lift { transform: translateY(-34px); }
.lewis-sketch .lw-shadow { transform-box: fill-box; transform-origin: center; transform: scaleX(.82); opacity: .05; }
/* Armed by JS: the first frame waits; .is-playing runs it once (~10 s) */
.lewis-sketch.is-armed .lw-draw { stroke-dasharray: 1; }
.lewis-sketch.is-armed .lw-stone        { animation: lw-draw 1.4s ease-in-out 0s both paused; }
.lewis-sketch.is-armed .lw-stone-fill   { animation: lw-fade .8s ease 1.1s both paused; }
.lewis-sketch.is-armed .lw-label-stone  { animation: lw-fade .6s ease 1.3s both paused; }
.lewis-sketch.is-armed .lw-leg-l        { animation: lw-drop-l 1s cubic-bezier(.2,.7,.2,1) 2s both paused; }
.lewis-sketch.is-armed .lw-leg-r        { animation: lw-drop-r 1s cubic-bezier(.2,.7,.2,1) 2.5s both paused; }
.lewis-sketch.is-armed .lw-note-pieces  { animation: lw-fade .7s ease 3.3s both paused; }
.lewis-sketch.is-armed .lw-key          { animation: lw-drop-key .8s cubic-bezier(.5,0,.75,1) 3.9s both paused; }
.lewis-sketch.is-armed .lw-note-key     { animation: lw-fade .7s ease 4.6s both paused; }
.lewis-sketch.is-armed .lw-bolt         { animation: lw-bolt .8s cubic-bezier(.2,.7,.2,1) 5.2s both paused; }
.lewis-sketch.is-armed .lw-shackle      { animation: lw-draw .9s ease-in-out 6s both paused; }
.lewis-sketch.is-armed .lw-chain        { animation: lw-chain .9s cubic-bezier(.2,.7,.2,1) 6.7s both paused; }
.lewis-sketch.is-armed .lw-lift         { animation: lw-lift 1.6s cubic-bezier(.45,0,.25,1) 7.8s both paused; }
.lewis-sketch.is-armed .lw-shadow       { animation: lw-shadow 1.6s cubic-bezier(.45,0,.25,1) 7.8s both paused; }
.lewis-sketch.is-armed .lw-note-lift    { animation: lw-fade 1s ease 9.2s both paused; }
.lewis-sketch.is-playing .lw-stone, .lewis-sketch.is-playing .lw-stone-fill, .lewis-sketch.is-playing .lw-label-stone,
.lewis-sketch.is-playing .lw-leg-l, .lewis-sketch.is-playing .lw-leg-r, .lewis-sketch.is-playing .lw-note-pieces,
.lewis-sketch.is-playing .lw-key, .lewis-sketch.is-playing .lw-note-key, .lewis-sketch.is-playing .lw-bolt,
.lewis-sketch.is-playing .lw-shackle, .lewis-sketch.is-playing .lw-chain, .lewis-sketch.is-playing .lw-lift,
.lewis-sketch.is-playing .lw-shadow, .lewis-sketch.is-playing .lw-note-lift { animation-play-state: running; }
@keyframes lw-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lw-fade { from { opacity: 0; } }
@keyframes lw-drop-l { from { transform: translate(16px, -150px); opacity: 0; } 25% { opacity: 1; } to { transform: none; } }
@keyframes lw-drop-r { from { transform: translate(-16px, -150px); opacity: 0; } 25% { opacity: 1; } to { transform: none; } }
@keyframes lw-drop-key { from { transform: translateY(-190px); opacity: 0; } 20% { opacity: 1; } to { transform: none; } }
@keyframes lw-bolt { from { transform: translateX(230px); opacity: 0; } 30% { opacity: 1; } to { transform: none; } }
@keyframes lw-chain { from { transform: translateY(-110px); } to { transform: none; } }
@keyframes lw-lift { from { transform: none; } to { transform: translateY(-34px); } }
@keyframes lw-shadow { from { transform: none; opacity: .1; } to { transform: scaleX(.82); opacity: .05; } }
:root[data-motion="reduce"] .lewis-sketch * { animation: none !important; }
:root[data-motion="reduce"] .lewis-replay { display: none; }
@media print { .lewis-sketch * { animation: none !important; } .lewis-replay { display: none; } }

/* About: the three partnerships, each with a photo (grayscale, color on hover like the team) */
.point__photo { margin: 0 0 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.point__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.04); transition: filter .5s ease; }
.point:hover .point__photo img { filter: none; }
@media (prefers-reduced-motion: reduce) { .point__photo img { transition: none; } }

/* Project awards (side column) */
.award__stamp { display: block; width: 160px; height: auto; margin: 4px 0 14px; }
.award__title { font-family: var(--font-serif); font-weight: 700; margin: 0 0 6px; }

/* Custom homes intro: who it's for, set smaller in the serif italic */
.lede .lede__who { display: block; margin: .35em 0 .6em; font-family: var(--font-serif); font-style: italic; font-size: .82em; line-height: 1.45; color: var(--graphite); }
.lede .lede__then { display: block; }

/* Trade partners */
.form-note { margin-top: 14px; padding: 14px 16px; background: var(--paper-2); border-left: 2px solid var(--rust); }
.bidlist { text-align: center; }
.bidlist .button { margin-top: 18px; }
.bidlist__small { margin-top: 12px; font-size: .875rem; color: var(--graphite); }

/* Why we build — purpose + one pinned story (template-parts/home/why.php) */
.wb { background: var(--paper); }
.wb > .wrap { max-width: 1480px; }
.wb__head { max-width: 46rem; }
.wb__title { font-size: var(--step-4, clamp(2rem, 1.4rem + 2.6vw, 3.4rem)); color: var(--deep); margin: 8px 0 0; text-wrap: balance; }
.wb__lede { margin-top: 18px; max-width: 38rem; }
.wb__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 80px); margin-top: clamp(36px, 4vw, 64px); }
.wb__media { position: sticky; top: calc(var(--header-h) + max(24px, 6svh)); align-self: start; aspect-ratio: 3 / 2; max-height: calc(100svh - var(--header-h) - 120px); width: 100%; }
.wb__layer { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity var(--dur-page) var(--ease-out); display: flex; flex-direction: column; }
.wb__layer.is-active { opacity: 1; }
.wb__frame { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.wb__frame > img:not(.wb__award) { width: 100%; height: 100%; object-fit: cover; display: block; }
.wb__frame--drawing > img:not(.wb__award) { object-fit: contain; padding: clamp(8px, 1.2vw, 18px); background: var(--white); }
.wb__frame .video-layer video { object-fit: cover; }
.wb__award { position: absolute; left: 16px; bottom: 16px; width: clamp(96px, 9vw, 140px); height: auto; padding: 8px 10px; background: rgba(255,255,255,.94); z-index: 2; }
.wb__cap { font-size: var(--step--1); color: var(--muted); padding-top: 10px; line-height: 1.45; }
.wb__steps { list-style: none; margin: 0; padding: 0; }
.wb .wb__step { min-height: min(78svh, 760px); display: flex; flex-direction: column; justify-content: center; padding-block: 32px; border-top: 1px solid var(--line-strong); }
.wb .wb__step:first-child { border-top: 0; }
.wb__label { display: flex; align-items: baseline; gap: 12px; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--rust); margin: 0 0 14px; }
.wb__n { font-family: var(--font-serif); font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); letter-spacing: 0; font-weight: 700; color: var(--rust); line-height: 1; }
.wb__step-title { font-family: var(--font-serif); font-size: clamp(1.45rem, 1.05rem + 1.2vw, 2.1rem); line-height: 1.2; color: var(--deep); margin: 0 0 14px; text-wrap: balance; }
.wb__note { font-size: var(--step-1); line-height: 1.55; color: var(--ink); margin: 0; max-width: 30em; }
.wb__inline { display: none; margin: 0 0 20px; }
.wb__foot { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 8px; }
@media (max-width: 860px) {
	.wb__grid { grid-template-columns: 1fr; }
	.wb__media { display: none; }
	.wb__inline { display: flex; flex-direction: column; }
	.wb__inline .wb__frame { aspect-ratio: 3 / 2; }
	.wb .wb__step { min-height: 0; opacity: 1; padding-block: 28px; }
}
@media (prefers-reduced-motion: reduce) { .wb__layer { transition: none; } }
:root[data-motion="reduce"] .wb__layer { transition: none; }

/* Work mosaic (/work/): on desktop one large project across the row, then two side by side, repeating.
   main.js marks every third visible card .is-wide so the rhythm holds when a filter is on; without
   JavaScript the same pattern comes from :nth-child. Tablets and phones keep the regular grid. */
@media (min-width: 961px) {
	.project-grid--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(36px, 4vw, 56px); }
	.project-grid--mosaic .project-card__media { aspect-ratio: 3 / 2; }
	.project-grid--mosaic .project-card.is-wide,
	.project-grid--mosaic:not(.is-mosaic) .project-card:nth-child(3n+1) { grid-column: 1 / -1; }
	.project-grid--mosaic .project-card.is-wide .project-card__media,
	.project-grid--mosaic:not(.is-mosaic) .project-card:nth-child(3n+1) .project-card__media { aspect-ratio: 16 / 9; }
	.project-grid--mosaic .project-card.is-wide .project-card__title,
	.project-grid--mosaic:not(.is-mosaic) .project-card:nth-child(3n+1) .project-card__title { font-size: var(--step-2); }
}
