@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("assets/fonts/atkinson-hyperlegible-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("assets/fonts/atkinson-hyperlegible-italic-400.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("assets/fonts/atkinson-hyperlegible-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeret-mono-400-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@property --model-reveal {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}

:root {
  --bg: oklch(1 0 0);
  --surface: oklch(.965 0 0);
  --surface-2: oklch(.92 0 0);
  --ink: oklch(.18 .012 34);
  --muted: oklch(.40 .012 34);
  --primary: oklch(.54 .17 33.5);
  --primary-dark: oklch(.37 .12 33.5);
  --accent: oklch(.31 .08 174);
  --line: oklch(.79 .008 34);
  --white: oklch(1 0 0);
  --focus: oklch(.78 .16 78);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  --mono: "Azeret Mono", ui-monospace, monospace;
  --max: 1440px;
  --pad: clamp(20px, 4.5vw, 72px);
  --section: clamp(64px, 7.5vw, 112px);
  --z-sticky: 20;
  --z-modal: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--bg); font-family: var(--body); font-size: 17px; line-height: 1.55; text-rendering: optimizeLegibility; }
body:has(dialog[open]) { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { object-fit: cover; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
h1 { font-size: clamp(4rem, 8vw, 6rem); line-height: .88; }
h2 { font-size: clamp(3.2rem, 6.2vw, 5.6rem); line-height: .92; }
h3 { font-size: clamp(2.3rem, 3.8vw, 3.9rem); line-height: .96; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; color: var(--white); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.plain-label { margin-bottom: 22px; color: var(--primary-dark); font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .025em; }

.site-header { position: sticky; top: 0; z-index: var(--z-sticky); display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(210px, 300px) auto; align-items: center; gap: clamp(16px, 2.3vw, 36px); width: 100%; min-height: 74px; padding: 10px var(--pad); background: color-mix(in oklch, var(--bg) 95%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.site-header > .wordmark, .site-header > .site-nav, .site-header > .button { position: relative; z-index: 2; }
.wordmark { display: inline-flex; min-height: 44px; align-items: center; gap: 11px; text-decoration: none; font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: .8; }
.wordmark svg { width: 34px; height: 34px; fill: currentColor; stroke: none; }
.wordmark svg rect { fill: var(--ink); transition: fill 180ms cubic-bezier(.22,1,.36,1); }
.wordmark .mark-accent { fill: var(--primary); stroke: none; }
.wordmark small { display: block; margin-top: 7px; font-family: var(--mono); font-size: .55rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.wordmark:focus-visible rect:nth-child(1) { fill: var(--primary); }
.wordmark:focus-visible rect:nth-child(2) { fill: var(--accent); }
.wordmark:focus-visible rect:nth-child(3) { fill: var(--primary-dark); }
.wordmark:focus-visible rect:nth-child(4) { fill: var(--focus); }
@media (hover: hover) and (pointer: fine) {
  .wordmark rect:nth-child(1):hover { fill: var(--primary); }
  .wordmark rect:nth-child(2):hover { fill: var(--accent); }
  .wordmark rect:nth-child(3):hover { fill: var(--primary-dark); }
  .wordmark rect:nth-child(4):hover { fill: var(--focus); }
}
.site-nav { display: flex; justify-content: flex-end; gap: clamp(22px, 2.4vw, 36px); }
.service-nav-links { display: contents; }
.site-nav a, .nav-menu-button { min-height: 44px; padding: 10px 0; text-decoration: none; font-size: .92rem; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"], .nav-menu-button[aria-current="page"] { color: var(--primary-dark); text-decoration: underline; }
.nav-toggle { display: none; }

.site-search { position: relative; z-index: 3; width: 100%; }
.site-search-field { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--ink); transition: border-color 180ms cubic-bezier(.22,1,.36,1), background 180ms cubic-bezier(.22,1,.36,1); }
.site-search-field:focus-within { background: var(--surface); border-bottom-color: var(--primary); }
.site-search-field > svg { position: absolute; left: 10px; width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-linecap: round; stroke-width: 1.8; pointer-events: none; }
.site-search input { width: 100%; min-height: 44px; padding: 9px 36px 9px 36px; color: var(--ink); background: transparent; border: 0; border-radius: 0; outline: 0; }
.site-search input::placeholder { color: var(--muted); opacity: 1; }
.site-search input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.search-key { position: absolute; right: 8px; display: grid; min-width: 30px; height: 24px; place-items: center; padding-inline: 5px; color: var(--muted); background: var(--white); border: 1px solid var(--line); font-family: var(--mono); font-size: .58rem; line-height: 1; pointer-events: none; }
.search-key[hidden] { display: none; }
.site-search-results { position: absolute; top: calc(100% + 11px); right: 0; width: min(590px, calc(100vw - (var(--pad) * 2))); max-height: min(650px, calc(100svh - 90px)); overflow-y: auto; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-top: 3px solid var(--primary); }
.site-search-results[hidden] { display: none; }
.site-search-status { margin: 0; padding: 13px 18px; color: color-mix(in oklch, var(--white) 72%, transparent); background: var(--ink); border-bottom: 1px solid color-mix(in oklch, var(--white) 18%, transparent); font-family: var(--mono); font-size: .65rem; }
.site-search-list { display: flex; flex-direction: column; }
.site-search-result { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; min-height: 96px !important; align-content: center; padding: 16px 20px !important; border-bottom: 1px solid var(--line); text-decoration: none !important; transition: color 180ms cubic-bezier(.22,1,.36,1), background 180ms cubic-bezier(.22,1,.36,1); }
.site-search-result:last-child { border-bottom: 0; }
.site-search-result:hover, .site-search-result:focus-visible, .site-search-result.is-active { color: var(--ink) !important; background: var(--surface); }
.site-search-result.is-active { box-shadow: inset 4px 0 0 var(--primary); }
.site-search-result small { grid-column: 1; color: var(--primary-dark); font-family: var(--mono); font-size: .6rem; }
.site-search-result strong { grid-column: 1; font-family: var(--display); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.site-search-result > span { grid-column: 1; max-width: 58ch; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.site-search-result i { grid-column: 2; grid-row: 1 / 4; align-self: center; color: var(--primary-dark); font-style: normal; transition: transform 180ms cubic-bezier(.22,1,.36,1); }
.site-search-result:hover i { transform: translate(2px, -2px); }
.site-search-empty { margin: 0; padding: 24px 18px 28px; color: var(--muted); }
.site-search-all { display: flex; min-height: 50px !important; align-items: center; justify-content: space-between; padding: 12px 20px !important; color: var(--white); background: var(--primary-dark); font-weight: 700; text-decoration: none !important; }
.site-search-all:hover { color: var(--white) !important; background: var(--primary); }
mark { color: inherit; background: color-mix(in oklch, var(--primary) 15%, transparent); box-shadow: inset 0 -2px 0 var(--primary); }
main [id^="detail-"] { scroll-margin-top: 104px; }

.search-page { min-height: 70svh; }
.search-page-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); min-height: 650px; color: var(--white); background: var(--ink); }
.search-page-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 8vw, 124px) var(--pad); }
.search-page-hero-copy > .plain-label { margin-bottom: 28px; color: oklch(.87 .065 55); }
.search-page-hero-copy h1 { max-width: 7ch; margin-bottom: 24px; }
.search-page-hero-copy > p:not(.plain-label) { max-width: 46ch; margin-bottom: 34px; color: color-mix(in oklch, var(--white) 76%, transparent); font-size: 1.08rem; }
.search-page-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: min(660px, 100%); background: var(--white); }
.search-page-field { position: relative; display: flex; align-items: center; }
.search-page-field svg { position: absolute; left: 20px; width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-linecap: round; stroke-width: 1.7; }
.search-page-form input { width: 100%; min-height: 66px; padding: 14px 18px 14px 56px; color: var(--ink); background: transparent; border: 0; border-radius: 0; outline: 0; font-size: 1.05rem; }
.search-page-form input::placeholder { color: var(--muted); opacity: 1; }
.search-page-form input:focus-visible { outline: 3px solid var(--focus); outline-offset: -4px; }
.search-page-form .button { min-width: 126px; min-height: 66px; border-radius: 0; }
.search-suggestions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 22px; }
.search-suggestions > span { color: color-mix(in oklch, var(--white) 58%, transparent); font-family: var(--mono); font-size: .62rem; }
.search-suggestions button { min-height: 44px; padding: 7px 0; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid color-mix(in oklch, var(--white) 42%, transparent); cursor: pointer; }
.search-suggestions button:hover { color: oklch(.87 .065 55); border-bottom-color: currentColor; }
.search-recents { display: flex; flex-wrap: wrap; gap: 7px 14px; align-items: center; margin-top: 12px; }
.search-recents[hidden] { display: none; }
.search-recents > span { color: color-mix(in oklch, var(--white) 58%, transparent); font-family: var(--mono); font-size: .62rem; }
.search-recents > div { display: flex; flex-wrap: wrap; gap: 7px 14px; }
.search-recents button { min-width: 44px; min-height: 44px; padding: 5px 0; color: color-mix(in oklch, var(--white) 82%, transparent); background: transparent; border: 0; border-bottom: 1px solid color-mix(in oklch, var(--white) 32%, transparent); cursor: pointer; font-size: .78rem; }
.search-recents > button:last-child { margin-left: 4px; color: oklch(.87 .065 55); border: 0; font-family: var(--mono); font-size: .58rem; text-transform: uppercase; }
.search-recents button:hover { color: var(--white); border-bottom-color: currentColor; }
.search-page-model { position: relative; display: grid; min-width: 0; place-items: center; margin: 0; overflow: hidden; background: var(--surface); }
.search-page-model::before { position: absolute; inset: 0; background: linear-gradient(135deg, color-mix(in oklch, var(--primary) 12%, transparent), transparent 46%); content: ""; }
.search-page-model img { position: relative; width: 118%; max-width: none; height: 82%; object-fit: contain; transform: translateX(5%) rotate(-1.2deg); filter: saturate(.88); }
.search-page-model figcaption { position: absolute; right: 24px; bottom: 24px; left: 24px; display: flex; justify-content: space-between; gap: 20px; padding-top: 12px; color: var(--ink); border-top: 1px solid var(--ink); font-family: var(--mono); font-size: .62rem; }
.search-page-model figcaption span { color: var(--muted); text-align: right; }
.search-results-shell { display: grid; grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 118px); max-width: var(--max); margin-inline: auto; padding: var(--section) var(--pad) clamp(90px, 11vw, 160px); }
.search-index-side { position: sticky; top: 108px; display: grid; gap: 34px; align-self: start; }
.search-index-note { padding-top: 16px; border-top: 1px solid var(--ink); }
.search-index-note span { display: block; margin-bottom: 24px; color: var(--primary-dark); font-family: var(--mono); font-size: .65rem; }
.search-index-note strong { display: block; margin-bottom: 10px; font-family: var(--display); font-size: clamp(2.4rem, 3.5vw, 3.6rem); font-weight: 600; line-height: .92; }
.search-index-note p { max-width: 28ch; margin: 0; color: var(--muted); font-size: .9rem; }
.search-result-preview { margin: 0; background: var(--ink); overflow: hidden; }
.search-result-preview[hidden] { display: none; }
.search-result-preview > div { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.search-result-preview img { width: 100%; height: 100%; filter: saturate(.78); transform: scale(1.02); }
.search-result-preview figcaption { display: flex; min-height: 142px; flex-direction: column; align-items: flex-start; padding: 20px; color: var(--white); }
.search-result-preview figcaption span, .search-result-preview figcaption small { font-family: var(--mono); font-size: .58rem; }
.search-result-preview figcaption span { margin-bottom: auto; color: oklch(.87 .065 55); }
.search-result-preview figcaption strong { margin: 18px 0 6px; font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: .95; }
.search-result-preview figcaption small { color: color-mix(in oklch, var(--white) 62%, transparent); }
.search-result-preview.is-changing img { animation: search-preview-in 420ms cubic-bezier(.16,1,.3,1) both; }
.search-results-main { min-width: 0; scroll-margin-top: 108px; }
.search-page-status { min-height: 57px; margin: 0; padding: 15px 0; color: var(--muted); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; }
.search-page-status strong { color: var(--primary-dark); font-size: 1rem; }
.search-page-status span { color: var(--ink); }
.search-page-status small { margin-left: 10px; color: var(--primary-dark); font-size: .62rem; }
.search-quick-answer { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 12px 28px; align-items: start; padding: clamp(24px, 3vw, 38px); color: var(--white); background: var(--accent); border-bottom: 4px solid var(--primary); }
.search-quick-answer[hidden] { display: none; }
.search-quick-answer > span { grid-row: 1 / 3; color: oklch(.89 .055 65); font-family: var(--mono); font-size: .62rem; }
.search-quick-answer strong { font-family: var(--display); font-size: clamp(2rem, 3.1vw, 3rem); font-weight: 600; line-height: .95; }
.search-quick-answer p { grid-column: 2; max-width: 56ch; margin: 0; color: color-mix(in oklch, var(--white) 76%, transparent); font-size: .88rem; }
.search-answer-links { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.search-answer-links a { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--white); border-bottom: 1px solid currentColor; font-weight: 700; text-decoration: none; }
.search-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 66px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.search-filter-bar[hidden] { display: none; }
.search-filter-bar > span { margin-right: 7px; color: var(--muted); font-family: var(--mono); font-size: .6rem; }
.search-filter-bar button { min-height: 44px; padding: 8px 13px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .76rem; font-weight: 700; }
.search-filter-bar button:hover { border-color: var(--ink); }
.search-filter-bar button[aria-pressed="true"] { color: var(--white); background: var(--primary-dark); border-color: var(--primary-dark); }
.search-page-result { display: grid; grid-template-columns: 42px clamp(120px, 17vw, 220px) minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 42px); align-items: center; min-height: 170px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; animation: search-result-in 480ms cubic-bezier(.16,1,.3,1) both; animation-delay: calc(min(var(--result-order), 7) * 40ms); }
.search-page-result > b { align-self: start; padding-top: 4px; color: var(--primary-dark); font-family: var(--mono); font-size: .65rem; }
.search-page-result > img { width: 100%; height: 126px; object-position: center; filter: saturate(.75); transition: filter 420ms cubic-bezier(.16,1,.3,1), transform 520ms cubic-bezier(.16,1,.3,1); }
.search-page-result-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.search-page-result-copy small { margin-bottom: 7px; color: var(--primary-dark); font-family: var(--mono); font-size: .62rem; }
.search-page-result-copy strong { font-family: var(--display); font-size: clamp(2.25rem, 3.6vw, 3.7rem); font-weight: 600; letter-spacing: -.025em; line-height: .92; }
.search-page-result-copy > span { max-width: 64ch; margin-top: 10px; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.search-page-result > i { color: var(--primary-dark); font-size: 1.25rem; font-style: normal; transition: transform 180ms cubic-bezier(.22,1,.36,1); }
.search-page-result:hover > img, .search-page-result:focus-visible > img { filter: saturate(1); transform: scale(1.015); }
.search-page-result:hover > i { transform: translate(3px, -3px); }
.search-page-result:focus-visible { outline-offset: 6px; }
.search-page-empty[hidden] { display: none; }
.search-page-empty { padding: clamp(44px, 7vw, 84px) 0; }
.search-page-empty > strong { display: block; max-width: 12ch; margin-bottom: 18px; font-family: var(--display); font-size: clamp(3rem, 5vw, 5rem); font-weight: 600; letter-spacing: -.025em; line-height: .92; }
.search-page-empty > p { max-width: 50ch; margin-bottom: 30px; color: var(--muted); }
.search-page-empty-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.search-page-empty-links a { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: var(--primary-dark); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.search-page-no-results { padding: clamp(52px, 8vw, 90px) clamp(24px, 5vw, 68px); color: var(--white); background: var(--accent); }
.search-page-no-results strong { display: block; max-width: 12ch; margin-bottom: 18px; font-family: var(--display); font-size: clamp(3rem, 5vw, 5rem); font-weight: 600; line-height: .92; }
.search-page-no-results p { max-width: 48ch; color: color-mix(in oklch, var(--white) 78%, transparent); }
.search-page-no-results a { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; margin-top: 12px; color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.search-page-no-results-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.search-page-no-filter-results { color: var(--ink); background: var(--surface); }
.search-page-no-filter-results p { color: var(--muted); }

@keyframes search-result-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes search-preview-in {
  from { opacity: .45; transform: scale(1.055); }
  to { opacity: 1; transform: scale(1.02); }
}

.nav-menu { position: static; }
.nav-menu-button { display: inline-flex; align-items: center; gap: 8px; color: inherit; background: transparent; border: 0; cursor: pointer; }
.nav-menu-button::after { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: rotate(45deg) translateY(-2px); transition: transform 220ms cubic-bezier(.22,1,.36,1); }
.nav-menu.is-open .nav-menu-button { color: var(--primary-dark); }
.nav-menu.is-open .nav-menu-button::after { transform: rotate(225deg) translate(-1px, -1px); }
.mobile-nav-link { display: none; }
.mega-panel { position: fixed; top: 74px; right: auto; left: 0; z-index: 1; width: 100vw; padding: 0; color: var(--white); background: var(--ink); border-top: 1px solid color-mix(in oklch, var(--white) 18%, transparent); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 220ms cubic-bezier(.22,1,.36,1), transform 300ms cubic-bezier(.22,1,.36,1), visibility 220ms; }
.nav-menu.is-open .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-shell { display: grid; grid-template-columns: minmax(240px, .56fr) minmax(0, 1.44fr); min-height: 410px; }
.mega-intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: clamp(30px, 4vw, 56px); background: var(--primary-dark); }
.mega-intro > span { margin-bottom: auto; font-family: var(--mono); font-size: .65rem; }
.mega-intro strong { max-width: 8ch; margin-bottom: 16px; font-family: var(--display); font-size: clamp(2.6rem, 4vw, 4rem); font-weight: 600; line-height: .92; }
.mega-intro p { max-width: 32ch; margin-bottom: 24px; color: color-mix(in oklch, var(--white) 78%, transparent); font-size: .9rem; }
.mega-intro a { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 4px; border-bottom: 1px solid currentColor; text-decoration: none; font-weight: 700; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: color-mix(in oklch, var(--white) 14%, transparent); }
.mega-card { display: grid; grid-template-rows: 1fr auto; min-width: 0; padding: 0 !important; color: var(--white); background: var(--ink); }
.mega-card:hover { color: var(--white) !important; background: color-mix(in oklch, var(--ink) 90%, var(--primary)); }
.mega-card img { width: 100%; height: 220px; filter: saturate(.8); transition: filter 260ms cubic-bezier(.22,1,.36,1), transform 480ms cubic-bezier(.22,1,.36,1); }
.mega-card:hover img { filter: saturate(1); transform: scale(1.015); }
.mega-card span { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: end; min-height: 150px; padding: 22px; }
.mega-card b { font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: .95; }
.mega-card small { grid-column: 1 / -1; color: color-mix(in oklch, var(--white) 65%, transparent); font-family: var(--body); font-size: .76rem; font-weight: 400; line-height: 1.25; }
.mega-card em { color: color-mix(in oklch, var(--white) 78%, transparent); font-family: var(--mono); font-size: .6rem; font-style: normal; }
.mega-card i { font-style: normal; }
.compact-mega { width: 100vw; }
.nav-mega-shell { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(280px, .9fr) minmax(320px, 1.15fr); min-height: 390px; }
.nav-mega-lead { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(30px, 4vw, 52px); background: var(--primary-dark); }
.nav-mega-lead > span { margin-bottom: auto; font-family: var(--mono); font-size: .63rem; }
.nav-mega-lead strong { max-width: 11ch; margin: 38px 0 16px; font-family: var(--display); font-size: clamp(2.35rem, 3vw, 3.5rem); font-weight: 600; line-height: .94; }
.nav-mega-lead p { max-width: 34ch; margin-bottom: 24px; color: color-mix(in oklch, var(--white) 76%, transparent); font-size: .84rem; }
.nav-mega-lead a { display: inline-flex; gap: 12px; padding-bottom: 3px; border-bottom: 1px solid currentColor; text-decoration: none; font-weight: 700; }
.nav-mega-links { background: var(--ink); }
.nav-mega-links a { display: grid; grid-template-columns: 1fr auto; gap: 7px 18px; min-height: 25%; align-content: center; padding: 18px 26px !important; border-bottom: 1px solid color-mix(in oklch, var(--white) 16%, transparent); color: var(--white); text-decoration: none; }
.nav-mega-links a:hover { color: var(--white) !important; background: color-mix(in oklch, var(--white) 8%, transparent); }
.nav-mega-links span { font-family: var(--display); font-size: 1.65rem; font-weight: 600; line-height: 1; }
.nav-mega-links small { grid-column: 1; color: color-mix(in oklch, var(--white) 62%, transparent); font-size: .72rem; }
.nav-mega-links i { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; }
.nav-mega-visual { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--surface-2); }
.nav-mega-visual > img:first-child { width: 100%; height: 100%; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 20px; padding: 12px 20px; color: var(--white); background: var(--primary); border: 0; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 180ms cubic-bezier(.22,1,.36,1), transform 180ms cubic-bezier(.22,1,.36,1); }
.button:hover { background: var(--primary-dark); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 10px 18px; font-size: .88rem; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--accent); }
.button-dark { background: var(--ink); }
.button-dark:hover { background: var(--accent); }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; width: fit-content; padding-block: 8px 3px; border-bottom: 1px solid currentColor; color: var(--primary-dark); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--primary-dark); }
.hero-actions > a:hover, .cta a:not(.button):hover, .client-quote a:hover { color: var(--focus); text-decoration: underline; }
.wordmark:hover { color: var(--primary-dark); }
.service-links a:hover, .project-detail-link:hover { color: var(--primary-dark); }
.service-links a:hover i, .project-detail-link:hover i { transform: translate(2px, -2px); }
.site-footer a, .hero-actions > a, .service-links i { transition: color 180ms cubic-bezier(.22,1,.36,1), transform 180ms cubic-bezier(.22,1,.36,1); }

.home-hero { position: relative; display: grid; min-height: min(840px, calc(100svh - 74px)); align-items: end; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero-photo { width: 100%; height: 100%; object-position: center; }
.home-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in oklch, var(--ink) 94%, transparent) 0%, color-mix(in oklch, var(--ink) 68%, transparent) 44%, color-mix(in oklch, var(--ink) 8%, transparent) 78%); content: ""; }
.home-hero-copy { position: relative; z-index: 2; width: min(760px, 75%); padding: clamp(90px, 13vw, 190px) var(--pad) clamp(90px, 10vw, 150px); }
.hero-location { margin-bottom: 36px; color: oklch(.87 .065 55); font-family: var(--mono); font-size: .72rem; font-weight: 600; }
.home-hero h1 { max-width: 9ch; margin-bottom: 28px; }
.hero-summary { max-width: 50ch; margin-bottom: 32px; color: color-mix(in oklch, var(--white) 84%, transparent); font-size: 1.15rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-actions > a { font-weight: 700; }
.hero-service-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-service-links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; }
.image-caption { position: absolute; right: var(--pad); bottom: 24px; z-index: 2; margin: 0; font-family: var(--mono); font-size: .63rem; }

.opening { display: grid; grid-template-columns: .27fr .98fr .75fr; gap: clamp(28px, 5vw, 78px); align-items: start; max-width: var(--max); margin-inline: auto; padding: clamp(64px, 6.6vw, 94px) var(--pad); border-bottom: 1px solid var(--line); }
.opening > .plain-label, .case-intro > .plain-label { padding-top: 12px; }
.opening h2 { max-width: 13ch; margin: 0; font-size: clamp(3.2rem, 5.3vw, 4.8rem); line-height: .94; }
.opening-copy { padding-top: 12px; }
.opening-copy p { color: var(--muted); font-size: 1.12rem; }
.opening-copy p + p { margin-top: 22px; }

.home-assembly { padding: var(--section) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); color: var(--white); background: var(--accent); }
.home-assembly-head { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: clamp(42px, 6vw, 78px); }
.home-assembly-head .plain-label { color: oklch(.87 .075 64); }
.home-assembly-head h2 { max-width: 9ch; margin: 0; }
.home-assembly-head > p { max-width: 50ch; margin: 0; color: color-mix(in oklch, var(--white) 76%, transparent); }
.assembly-layout, .project-logic { display: grid; grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); min-width: 0; }
.assembly-narrative { position: relative; min-width: 0; padding: clamp(30px, 4vw, 56px); color: var(--ink); background: var(--surface); border-right: 1px solid var(--ink); }
.assembly-progress { position: absolute; top: 0; right: 0; left: 0; height: 4px; overflow: hidden; background: var(--surface-2); }
.assembly-progress span { display: block; width: 100%; height: 100%; background: var(--primary); transform: scaleX(var(--assembly-scale, 0)); transform-origin: left center; transition: transform 520ms cubic-bezier(.16,1,.3,1); }
.assembly-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.assembly-step { border-bottom: 1px solid var(--line); transition: background 280ms cubic-bezier(.22,1,.36,1), transform 280ms cubic-bezier(.22,1,.36,1); }
.assembly-step-button { display: grid; grid-template-columns: 40px 1fr; gap: 14px; width: 100%; padding: 18px 0; color: inherit; background: transparent; border: 0; text-align: left; cursor: pointer; }
.assembly-step-button:hover strong { color: var(--primary-dark); }
.assembly-step-button:focus-visible { position: relative; z-index: 1; outline-offset: 5px; }
.assembly-step.is-current { background: color-mix(in oklch, var(--primary) 8%, transparent); transform: translateX(5px); }
.assembly-step.is-complete { background: color-mix(in oklch, var(--accent) 5%, transparent); }
.assembly-step b { padding-top: 3px; color: var(--primary-dark); font-family: var(--mono); font-size: .64rem; }
.assembly-step strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1; }
.assembly-step p { max-width: 42ch; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.assembly-replay { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 22px; padding: 8px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-weight: 700; cursor: pointer; }
.assembly-replay:hover { color: var(--primary-dark); }
.assembly-model { display: flex; min-width: 0; min-height: 570px; flex-direction: column; margin: 0; padding: clamp(26px, 4vw, 58px); color: var(--ink); background: var(--white); }
.model-object { width: 100%; min-height: 0; flex: 1; }
.model-object-raster { display: block; height: 100%; object-fit: contain; }
.build-sequence-visual { position: relative; width: 100%; min-height: 0; flex: 1; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.build-frame { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; transform: scale(1.012); transition: opacity 480ms cubic-bezier(.16,1,.3,1), transform 900ms cubic-bezier(.16,1,.3,1), visibility 480ms; }
.build-frame.is-active { z-index: 1; opacity: 1; visibility: visible; transform: scale(1); }
.build-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.model-transform { position: relative; min-height: 0; flex: 1; overflow: hidden; contain: layout paint; background: var(--surface); transition: --model-reveal 650ms cubic-bezier(.16,1,.3,1); }
.model-plan, .model-resolved { position: absolute; inset: 0; }
.model-plan { display: grid; place-items: center; background: var(--surface); }
.model-plan::after { position: absolute; inset: 0; background: color-mix(in oklch, var(--surface) 25%, transparent); content: ""; pointer-events: none; }
.model-plan img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.55) brightness(1.08); opacity: .62; mix-blend-mode: multiply; }
.model-resolved { z-index: 1; background: var(--white); clip-path: inset(0 0 0 var(--model-reveal)); }
.model-transform .model-object { width: 100%; height: 100%; min-height: 100%; }
.model-plan > span, .model-resolved > span { position: absolute; top: 14px; z-index: 3; padding: 7px 10px; color: var(--white); background: var(--ink); font-family: var(--mono); font-size: .58rem; line-height: 1; pointer-events: none; }
.model-plan > span { left: 14px; }
.model-resolved > span { right: 14px; background: var(--primary-dark); }
.model-divider { position: absolute; top: 0; bottom: 0; left: var(--model-reveal); z-index: 3; width: 2px; background: var(--primary); transform: translateX(-1px); pointer-events: none; }
.model-divider i { position: absolute; top: 50%; left: 50%; display: grid; width: 44px; height: 44px; place-items: center; color: var(--white); background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in oklch, var(--white) 72%, transparent); font-family: var(--body); font-size: 1rem; font-style: normal; transform: translate(-50%, -50%); }
.model-transform-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.model-transform.is-dragging, .model-transform.is-resetting { transition: none; }
.model-transform:focus-within .model-divider i { outline: 3px solid var(--focus); outline-offset: 4px; }
.kitchens-page .case-assembly-model .model-transform { overflow: visible; contain: layout; }
.kitchens-page .case-assembly-model .model-transform::after { position: absolute; right: 0; bottom: 30px; left: 0; z-index: 2; height: 2px; background: color-mix(in oklch, var(--primary) 42%, var(--line)); content: ""; pointer-events: none; }
.kitchens-page .case-assembly-model .model-plan,
.kitchens-page .case-assembly-model .model-resolved { bottom: 62px; }
.kitchens-page .case-assembly-model .model-divider { top: 5%; bottom: 62px; }
.kitchens-page .case-assembly-model .model-divider i { top: auto; bottom: -53px; }
.kitchens-page .case-assembly-model .model-transform-range { top: auto; bottom: 0; height: 62px; }
.assembly-model figcaption { display: flex; justify-content: space-between; gap: 24px; padding-top: 15px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .62rem; }
.assembly-model figcaption span { color: var(--muted); text-align: right; }

.stories-preview { max-width: var(--max); margin-inline: auto; padding: 0 var(--pad) var(--section); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: clamp(52px, 7vw, 96px); }
.section-heading h2 { max-width: 10ch; margin: 0; }
.section-heading > p { max-width: 46ch; margin: 0; color: var(--muted); }
.story-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(42px, 6vw, 84px) clamp(24px, 4vw, 56px); }
.story-card { display: grid; align-content: start; gap: 25px; }
.story-card-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(34px, 6vw, 92px); align-items: center; padding-bottom: clamp(22px, 3vw, 46px); border-bottom: 1px solid var(--line); }
.story-image { display: block; min-height: 420px; overflow: hidden; background: var(--surface-2); }
.story-card:not(.story-card-wide) .story-image { aspect-ratio: 4 / 3; min-height: 0; }
.story-image img { width: 100%; height: 100%; transition: filter 650ms cubic-bezier(.22,1,.36,1), transform 650ms cubic-bezier(.22,1,.36,1); }
.story-image { position: relative; }
.project-photo-label { position: absolute; right: 14px; bottom: 14px; padding: 8px 10px; color: var(--white); background: var(--ink); font-family: var(--mono); font-size: .62rem; line-height: 1; }
.story-image:hover img { filter: saturate(1.06); transform: scale(1.025); }
.story-copy > p:first-child { margin-bottom: 18px; color: var(--primary-dark); font-family: var(--mono); font-size: .7rem; font-weight: 600; }
.story-copy h3 { max-width: 11ch; margin-bottom: 20px; }
.story-copy > p:not(:first-child) { max-width: 44ch; margin-bottom: 28px; color: var(--muted); }
.story-card:not(.story-card-wide) .story-copy h3 { font-size: clamp(2.4rem, 3.3vw, 3.5rem); }
.all-stories { margin-top: 50px; }

.planning-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: clamp(48px, 8vw, 130px); align-items: center; padding: var(--section) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--surface); }
.planning-photo { margin: 0; }
.planning-photo img { width: 100%; aspect-ratio: 1.25; }
.planning-photo img { object-fit: cover; object-position: 100% 40%; }
.planning-photo figcaption { margin-top: 10px; color: var(--muted); font-family: var(--mono); font-size: .64rem; }
.planning-copy h2 { max-width: 9ch; }
.planning-copy > p:not(.plain-label) { max-width: 52ch; margin-bottom: 34px; color: var(--muted); font-size: 1.08rem; }
.check-list { margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.check-list li { display: grid; grid-template-columns: minmax(120px, .4fr) 1fr; gap: 22px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.check-list strong { font-family: var(--display); font-size: 1.35rem; }
.check-list span { color: var(--muted); }

.service-band { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px, 10vw, 150px); padding: var(--section) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.service-band h2 { max-width: 9ch; margin: 0; }
.service-links { border-top: 1px solid var(--ink); }
.service-links a { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--ink); text-decoration: none; }
.service-links span { font-family: var(--display); font-size: 2.2rem; font-weight: 600; }
.service-links small { color: var(--muted); font-size: .8rem; }
.service-links i { font-style: normal; }
.service-links a:hover span { color: var(--primary-dark); }

.page-hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); min-height: 660px; color: var(--white); background: var(--ink); }
.page-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(76px, 9vw, 136px) var(--pad); }
.page-hero-copy > p:first-child { margin-bottom: 30px; color: oklch(.87 .065 55); font-family: var(--mono); font-size: .72rem; }
.page-hero-copy h1 { max-width: 9ch; margin-bottom: 28px; }
.page-hero-copy > p:last-child { max-width: 46ch; margin: 0; color: color-mix(in oklch, var(--white) 78%, transparent); font-size: 1.12rem; }
.page-hero-media { position: relative; min-height: 520px; }
.page-hero-media img { width: 100%; height: 100%; }
.page-hero-media { overflow: hidden; }
.process-hero-media { --hero-headroom: clamp(18px, 2vw, 30px); padding: 0; background: var(--ink); }
.process-hero-media img { height: calc(100% - var(--hero-headroom)); margin-top: var(--hero-headroom); object-position: center top; }
.page-hero-media img { transition: filter 1100ms cubic-bezier(.16,1,.3,1), transform 1400ms cubic-bezier(.16,1,.3,1); }
.motion-ready .page-hero-media:not(.is-visible) img { filter: saturate(.78); transform: scale(1.035); }
.case-hero-image img, .detail-gallery img { transition: filter 950ms cubic-bezier(.16,1,.3,1), transform 1200ms cubic-bezier(.16,1,.3,1); }
.motion-ready .case-hero-image:not(.is-visible) img, .motion-ready .detail-gallery figure:not(.is-visible) img { filter: saturate(.72); transform: scale(1.035); }
.detail-gallery figure { overflow: hidden; }
.detail-gallery figcaption { position: relative; z-index: 1; }
.detail-gallery figure:hover img { filter: saturate(1.06); transform: scale(1.018); }
.simple-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 9vw, 140px); align-items: end; max-width: var(--max); margin-inline: auto; padding: var(--section) var(--pad) clamp(65px, 8vw, 110px); border-bottom: 1px solid var(--ink); }
.simple-hero h1 { max-width: 9ch; margin: 0; color: var(--primary-dark); }
.simple-hero-copy p:first-child { margin-bottom: 24px; font-family: var(--mono); font-size: .72rem; }
.simple-hero-copy p:last-child { max-width: 48ch; margin: 0; color: var(--muted); font-size: 1.14rem; }

.content-section { max-width: var(--max); margin-inline: auto; padding: var(--section) var(--pad); }
.split-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 10vw, 150px); }
.split-section h2 { max-width: 9ch; margin: 0; }
.split-copy { max-width: 65ch; }
.split-copy > p { color: var(--muted); font-size: 1.08rem; }
.split-copy > p + p { margin-top: 24px; }

.service-detail { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1fr); gap: clamp(44px, 7vw, 104px); padding: clamp(70px, 8vw, 116px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: 0; }
.service-detail h2 { max-width: 9ch; margin-bottom: 24px; }
.service-detail-lede { max-width: 42ch; color: var(--muted); font-size: 1.08rem; }
.service-detail > div:first-child .scope-list { margin-top: 34px; }
.service-case-link { margin-top: 28px; }
.service-detail-body { min-width: 0; }
.service-detail-body figure { margin: 0; }
.service-figure { position: relative; }
.service-figure { overflow: hidden; }
.service-figure > img:first-child { width: 100%; height: clamp(390px, 39vw, 520px); object-position: center; transition: filter 900ms cubic-bezier(.16,1,.3,1), transform 1100ms cubic-bezier(.16,1,.3,1); }
.service-figure .service-model { position: absolute; right: 16px; bottom: 40px; width: min(44%, 300px); height: auto; padding: 8px; background: var(--white); border: 1px solid var(--ink); object-fit: contain; transform: rotate(-1deg); transition: opacity 650ms cubic-bezier(.16,1,.3,1), transform 850ms cubic-bezier(.16,1,.3,1); }
.motion-ready .service-figure:not(.is-visible) > img:first-child { filter: saturate(.75); transform: scale(1.035); }
.motion-ready .service-figure:not(.is-visible) .service-model { opacity: .7; transform: translate(20px, 18px) rotate(1deg); }
.service-figure:hover > img:first-child { transform: scale(1.018); }
.service-figure:hover .service-model { transform: translate(-4px, -4px) rotate(0); }
.service-detail-body figcaption { margin-top: 10px; color: var(--muted); font-family: var(--mono); font-size: .64rem; }
.scope-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.scope-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.scope-list li::before { margin-right: 10px; color: var(--primary); content: "•"; }
.permit-note { margin-top: 24px; padding: 24px; color: var(--white); background: var(--accent); }
.permit-note h3 { margin-bottom: 12px; font-size: 2rem; }
.permit-note p { margin: 0; color: color-mix(in oklch, var(--white) 84%, transparent); }

.process-conversation { max-width: var(--max); margin-inline: auto; padding: var(--section) var(--pad); }
.conversation-heading { display: grid; grid-template-columns: .34fr 1fr .7fr; gap: clamp(32px, 6vw, 92px); align-items: start; padding-bottom: clamp(44px, 6vw, 78px); border-bottom: 1px solid var(--ink); }
.conversation-heading .plain-label { padding-top: 11px; }
.conversation-heading h2 { max-width: 9ch; margin: 0; }
.conversation-heading > p { max-width: 46ch; margin: 12px 0 0; color: var(--muted); font-size: 1.08rem; }
.conversation-body { display: grid; grid-template-columns: minmax(300px, .7fr) minmax(0, 1.3fr); gap: clamp(46px, 8vw, 118px); align-items: start; padding-top: clamp(50px, 7vw, 92px); }
.conversation-exchange { position: sticky; top: 104px; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); color: var(--white); background: var(--accent); }
.conversation-exchange div { padding: clamp(24px, 3vw, 38px); border-bottom: 1px solid color-mix(in oklch, var(--white) 24%, transparent); }
.conversation-exchange div:last-child { border-bottom: 0; background: var(--primary-dark); }
.conversation-exchange span { display: block; margin-bottom: 20px; color: oklch(.89 .055 65); font-family: var(--mono); font-size: .65rem; font-weight: 600; }
.conversation-exchange p { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.55rem); font-weight: 600; line-height: 1.03; }
.intake-questions { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.intake-questions li { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); }
.intake-questions b { padding-top: 6px; color: var(--primary-dark); font-family: var(--mono); font-size: .67rem; }
.intake-questions h3 { margin-bottom: 9px; font-size: clamp(2rem, 3vw, 2.85rem); }
.intake-questions p { max-width: 55ch; margin: 0; color: var(--muted); }

.process-drawings { padding: var(--section) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--surface); }
.process-section-head { display: grid; grid-template-columns: 1fr .62fr; gap: clamp(48px, 9vw, 134px); align-items: end; max-width: var(--max); margin: 0 auto clamp(44px, 6vw, 78px); }
.process-section-head h2 { max-width: 10ch; margin: 0; font-size: clamp(3.2rem, 5.4vw, 5rem); }
.process-section-head > p { max-width: 48ch; margin: 0; color: var(--muted); font-size: 1.05rem; }
.drawing-sequence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; max-width: var(--max); margin-inline: auto; background: var(--ink); border: 1px solid var(--ink); }
.drawing-sequence figure { min-width: 0; margin: 0; background: var(--white); }
.drawing-sequence object { width: 100%; aspect-ratio: 920 / 620; padding: clamp(14px, 2vw, 28px) 10px 4px; }
.drawing-sequence figcaption { display: grid; min-height: 120px; grid-template-rows: 1.45rem minmax(2.1rem, auto); align-content: start; gap: 7px; padding: 18px; border-top: 1px solid var(--line); }
.drawing-sequence figcaption b { font-family: var(--display); font-size: 1.45rem; font-weight: 600; line-height: 1; }
.drawing-sequence figcaption span { color: var(--muted); font-size: .76rem; line-height: 1.35; }

.process-comparison { max-width: var(--max); margin-inline: auto; padding: var(--section) var(--pad); }
.process-comparison .comparison { width: min(100%, 900px); min-height: 0; aspect-ratio: 3 / 2; margin-inline: auto; }

.process-details { padding: var(--section) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); color: var(--white); background: var(--ink); }
.process-details .plain-label { color: oklch(.87 .065 55); }
.process-details .process-section-head > p { color: color-mix(in oklch, var(--white) 74%, transparent); }
.process-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(20px, 2.5vw, 36px); max-width: var(--max); margin-inline: auto; }
.process-detail-grid figure { display: grid; min-width: 0; grid-template-rows: auto 1fr; margin: 0; overflow: hidden; background: var(--ink); }
.process-detail-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; transition: filter 950ms cubic-bezier(.16,1,.3,1), transform 1200ms cubic-bezier(.16,1,.3,1); }
.motion-ready .process-detail-grid figure:not(.is-visible) img { filter: saturate(.72); transform: scale(1.025); }
.process-detail-grid figure:hover img { filter: saturate(1.06); transform: scale(1.012); }
.process-detail-grid figcaption { display: flex; min-height: 46px; justify-content: space-between; gap: 18px; padding: 12px 0 0; color: color-mix(in oklch, var(--white) 94%, transparent); background: var(--ink); border-top: 1px solid color-mix(in oklch, var(--white) 42%, transparent); font-family: var(--mono); font-size: .75rem; line-height: 1.4; }
.process-detail-grid figcaption span { color: color-mix(in oklch, var(--white) 76%, transparent); text-align: right; }
.detail-overall, .detail-island { grid-column: auto; grid-row: auto; }

.process-flow { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 54px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.process-step { min-height: 270px; padding: 26px; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; }
.process-step > span { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 55px; color: var(--white); background: var(--primary-dark); border-radius: 50%; font-family: var(--mono); font-size: .68rem; }
.process-step h3 { margin-bottom: 12px; font-size: 2rem; }
.process-step p { margin: 0; color: var(--muted); }
.timeline-key { display: flex; gap: 25px; flex-wrap: wrap; margin-top: 18px; color: var(--muted); font-size: .82rem; }
.timeline-key span::before { display: inline-block; width: 18px; height: 8px; margin-right: 7px; background: var(--primary); content: ""; }
.timeline-key span:nth-child(2)::before { background: var(--accent); }
.timeline-key span:nth-child(3)::before { background: var(--surface-2); border: 1px solid var(--line); }

.permit-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 45px; }
.permit-flow div { position: relative; padding: 22px 20px 22px 0; border-top: 4px solid var(--surface-2); }
.permit-flow div::before { position: absolute; top: -8px; left: 0; width: 12px; height: 12px; background: var(--primary); border-radius: 50%; content: ""; }
.permit-flow div:not(:last-child)::after { position: absolute; top: 16px; right: 15px; color: var(--line); content: "→"; }
.permit-flow strong { display: block; margin-bottom: 7px; font-family: var(--display); font-size: 1.4rem; }
.permit-flow span { display: block; max-width: 20ch; color: var(--muted); font-size: .86rem; }

.compliance-band { color: var(--white); background: var(--accent); }
.compliance-band .permit-flow span { color: color-mix(in oklch, var(--white) 78%, transparent); }
.compliance-inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(48px, 9vw, 135px); max-width: var(--max); margin-inline: auto; padding: var(--section) var(--pad); }
.compliance-inner h2 { max-width: 9ch; margin: 0; }
.compliance-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid color-mix(in oklch, var(--white) 45%, transparent); }
.compliance-list li { display: grid; grid-template-columns: .55fr 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid color-mix(in oklch, var(--white) 30%, transparent); }
.compliance-list strong { font-family: var(--display); font-size: 1.65rem; }
.compliance-list span { color: color-mix(in oklch, var(--white) 82%, transparent); }

.project-timeline { padding: var(--section) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); border-top: 1px solid var(--line); }
.timeline-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(60px, 10vw, 150px); max-width: var(--max); margin: 0 auto clamp(42px, 6vw, 72px); }
.timeline-heading h2 { max-width: 9ch; margin: 0; }
.timeline-strip { display: grid; grid-template-columns: repeat(5, 1fr); max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; border-top: 4px solid var(--surface-2); }
.timeline-strip li { position: relative; min-width: 0; padding: 30px clamp(14px, 2vw, 26px) 0 0; }
.timeline-strip li::before { position: absolute; top: -9px; left: 0; width: 14px; height: 14px; background: var(--primary); border-radius: 50%; content: ""; }
.timeline-strip li:not(:last-child)::after { position: absolute; top: 14px; right: 14px; color: var(--line); content: "→"; }
.timeline-strip span { display: block; margin-bottom: 28px; color: var(--primary-dark); font-family: var(--mono); font-size: .65rem; }
.timeline-strip strong { display: block; max-width: 12ch; font-family: var(--display); font-size: clamp(1.55rem, 2.3vw, 2.05rem); font-weight: 600; line-height: 1; }
.timeline-strip small { display: block; max-width: 19ch; margin-top: 8px; color: var(--muted); font-size: .86rem; line-height: 1.4; }

.planning-cost, .payment-terms { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(60px, 10vw, 150px); max-width: var(--max); margin-inline: auto; padding: clamp(54px, 7vw, 88px) var(--pad); border-bottom: 1px solid var(--line); }
.planning-cost h2 { max-width: 9ch; margin: 0; font-size: clamp(2.8rem, 4.7vw, 4.4rem); }
.planning-cost > p, .payment-terms > p:last-child { max-width: 54ch; margin: 7px 0 0; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 600; line-height: 1.05; }

.cost-tiers { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(60px, 10vw, 150px); max-width: var(--max); margin-inline: auto; padding: var(--section) var(--pad); background: var(--bg); }
.cost-tiers h2 { max-width: 8ch; margin: 0; }
.tier-list { border-top: 1px solid var(--ink); }
.tier-list article { display: grid; grid-template-columns: .52fr 1.1fr .55fr .48fr; gap: clamp(14px, 2vw, 28px); align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.tier-list h3 { margin: 0; font-size: clamp(1.8rem, 2.7vw, 2.5rem); }
.tier-list p { margin: 0; color: var(--muted); }
.tier-list strong { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.tier-list span { color: var(--primary-dark); font-family: var(--mono); font-size: .68rem; font-weight: 600; }
.tier-note { max-width: 62ch; margin: 26px 0 0; color: var(--muted); }

.discovered-conditions { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(60px, 10vw, 150px); padding: var(--section) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); color: var(--white); background: var(--accent); }
.discovered-conditions h2 { max-width: 9ch; margin: 0; }
.discovered-conditions > p { max-width: 49ch; margin: 8px 0 0; font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 600; line-height: 1.04; }
.discovered-conditions .plain-label { color: oklch(.89 .055 65); }

.payment-terms { border-top: 1px solid var(--line); }

.work-index { max-width: var(--max); margin-inline: auto; padding: var(--section) var(--pad); }
.work-entry { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: clamp(42px, 8vw, 122px); align-items: center; padding-bottom: var(--section); }
.work-entry + .work-entry { padding-top: var(--section); border-top: 1px solid var(--line); }
.work-entry:nth-child(even) .work-entry-media { order: 2; }
.work-entry-media { position: relative; min-height: 590px; }
.work-entry-media img { width: 100%; height: 100%; }
.work-entry-media .work-model { position: absolute; right: -5%; bottom: -4%; width: 52%; height: auto; padding: 12px; background: var(--white); border: 1px solid var(--ink); transform: rotate(-1.5deg); }
.work-entry:nth-child(even) .work-model { right: auto; left: -5%; transform: rotate(1.5deg); }
.work-entry-copy > p:first-child { margin-bottom: 22px; color: var(--primary-dark); font-family: var(--mono); font-size: .72rem; }
.work-entry-copy h2 { max-width: 10ch; margin-bottom: 24px; }
.work-entry-copy > p:not(:first-child) { max-width: 46ch; margin-bottom: 30px; color: var(--muted); }
.work-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.work-meta div { padding: 14px 12px 14px 0; }
.work-meta div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.work-meta dt { color: var(--muted); font-family: var(--mono); font-size: .57rem; text-transform: uppercase; }
.work-meta dd { margin: 3px 0 0; font-weight: 700; }

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding-top: 0; }
.about-values article { padding: 34px; background: var(--surface); }
.about-values h3 { margin-bottom: 16px; font-size: 2.3rem; }
.about-values p { margin: 0; color: var(--muted); }
.area-list { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0 0; padding: 0; list-style: none; }
.area-list li { padding: 9px 12px; border: 1px solid var(--line); font-family: var(--mono); font-size: .68rem; }
.drawing-library { padding: var(--section) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); background: var(--surface); }
.drawing-library-head { display: flex; align-items: end; justify-content: space-between; gap: 50px; max-width: var(--max); margin: 0 auto clamp(46px, 6vw, 82px); }
.drawing-library-head h2 { max-width: 12ch; margin: 0; font-size: clamp(3.2rem, 5.2vw, 4.8rem); }
.drawing-library-head > p { max-width: 48ch; margin: 0; color: var(--muted); }
.drawing-row { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(260px, .65fr) minmax(230px, .55fr); gap: clamp(30px, 5vw, 76px); align-items: center; max-width: var(--max); margin-inline: auto; padding: 30px 0; border-top: 1px solid var(--ink); }
.drawing-row:last-child { border-bottom: 1px solid var(--ink); }
.drawing-row figure { margin: 0; }
.drawing-row figure img { width: 100%; height: 260px; padding: 8px; background: var(--white); object-fit: contain; }
.drawing-row figure img { transition: filter 900ms cubic-bezier(.16,1,.3,1), transform 900ms cubic-bezier(.16,1,.3,1); }
.motion-ready .drawing-row figure:not(.is-visible) img { filter: grayscale(.55); transform: translateY(16px) rotate(-.5deg); }
.drawing-row figcaption { margin-top: 8px; color: var(--muted); font-family: var(--mono); font-size: .62rem; }
.drawing-row h3 { max-width: 12ch; margin-bottom: 12px; font-size: clamp(2rem, 3vw, 3rem); }
.drawing-row p { max-width: 44ch; margin: 0; color: var(--muted); }
.drawing-row ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.drawing-row li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.drawing-row li::before { margin-right: 9px; color: var(--primary); content: "→"; }

.comparison { position: relative; min-height: min(710px, 55vw); overflow: hidden; background: var(--surface-2); }
.comparison > img, .comparison .after-image, .comparison .after-image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.comparison .after-image { clip-path: inset(0 0 0 var(--position)); }
.comparison-line { position: absolute; top: 0; bottom: 0; left: var(--position); z-index: 2; width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.comparison-line span { --handle-x: -50%; position: absolute; top: 50%; left: 50%; display: grid; width: 48px; height: 48px; place-items: center; color: var(--ink); background: var(--white); border-radius: 50%; box-shadow: 0 2px 6px color-mix(in oklch, var(--ink) 32%, transparent); transform: translate(var(--handle-x), -50%); transition: color 160ms cubic-bezier(.22,1,.36,1), background 160ms cubic-bezier(.22,1,.36,1), transform 160ms cubic-bezier(.22,1,.36,1); }
.comparison-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparison[data-comparison-state="after"] .comparison-line span { --handle-x: 0%; }
.comparison[data-comparison-state="before"] .comparison-line span { --handle-x: -100%; }
.comparison.is-dragging .comparison-line span { transform: translate(var(--handle-x), -50%) scale(1.08); }
.comparison.is-range-focused .comparison-line span { color: var(--white); background: var(--ink); outline: 3px solid var(--primary); outline-offset: 3px; }
.comparison-mobile-controls { display: none; }
.compare-tag { position: absolute; top: 22px; z-index: 2; padding: 7px 10px; color: var(--white); background: var(--ink); font-family: var(--mono); font-size: .65rem; transition: opacity 180ms cubic-bezier(.22,1,.36,1); }
.before-tag { left: 22px; }
.after-tag { right: 22px; background: var(--primary-dark); }
.comparison[data-comparison-state="before"] .after-tag,
.comparison[data-comparison-state="after"] .before-tag { opacity: 0; }

.project-guide-hero { display: grid; grid-template-columns: .28fr 1.05fr .67fr; gap: clamp(28px, 5vw, 80px); align-items: end; max-width: var(--max); margin-inline: auto; padding: clamp(68px, 8vw, 118px) var(--pad) clamp(54px, 6vw, 84px); border-bottom: 1px solid var(--ink); }
.project-guide-hero > p { align-self: start; margin-top: 12px; color: var(--primary-dark); font-family: var(--mono); font-size: .68rem; font-weight: 600; }
.project-guide-hero h1 { max-width: 10ch; margin: 0; color: var(--primary-dark); }
.project-guide-hero > div > p { max-width: 46ch; margin-bottom: 26px; color: var(--muted); font-size: 1.06rem; }
.project-guide-hero nav { display: flex; flex-wrap: wrap; gap: 8px; }
.project-guide-hero nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 7px 13px; border: 1px solid var(--ink); border-radius: 999px; font-size: .86rem; font-weight: 700; text-decoration: none; }
.project-guide-hero nav a:hover { color: var(--white); background: var(--ink); }

.project-chapter { scroll-margin-top: 74px; }
.project-chapter + .project-chapter { border-top: 12px solid var(--ink); }
.project-problem { display: grid; grid-template-columns: .28fr 1.05fr .67fr; gap: clamp(28px, 5vw, 80px); align-items: start; max-width: var(--max); margin-inline: auto; padding: var(--section) var(--pad) clamp(48px, 6vw, 82px); }
.project-type { color: var(--primary-dark); font-family: var(--mono); font-size: .7rem; font-weight: 600; }
.project-problem h2 { max-width: 11ch; margin: 0; font-size: clamp(3.1rem, 5.6vw, 5.25rem); }
.project-problem > div > p { max-width: 48ch; margin-bottom: 24px; color: var(--muted); font-size: 1.06rem; }
.project-problem ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.project-problem li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.project-problem li::before { margin-right: 9px; color: var(--primary); content: "→"; }

.project-logic { display: grid; grid-template-columns: minmax(340px, .72fr) minmax(0, 1.28fr); max-width: var(--max); margin-inline: auto; background: var(--surface); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.project-logic .assembly-model { min-height: 620px; }
.decision-graph { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(32px, 4.5vw, 66px); border-right: 1px solid var(--ink); }
.graph-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 42px; color: var(--muted); font-family: var(--mono); font-size: .62rem; }
.graph-row { display: grid; grid-template-columns: 30px minmax(84px, .7fr) 1.2fr minmax(105px, .8fr); gap: 12px; align-items: center; min-height: 58px; border-top: 1px solid var(--line); }
.graph-row:last-of-type { border-bottom: 1px solid var(--line); }
.graph-row b { color: var(--primary-dark); font-family: var(--mono); font-size: .62rem; }
.graph-row > span { font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.graph-row i { height: 9px; overflow: hidden; background: var(--surface-2); }
.graph-row em { display: block; width: calc(var(--bar) * 100%); height: 100%; background: var(--primary); transform-origin: left center; }
.graph-row small { color: var(--muted); font-size: .72rem; line-height: 1.2; }
.decision-graph > p { max-width: 54ch; margin: 28px 0 0; color: var(--muted); font-size: .82rem; }

.construction-model { min-width: 0; margin: 0; padding: clamp(24px, 4vw, 54px); background: var(--white); }
.model-canvas { position: relative; min-height: 430px; overflow: hidden; background: var(--white); }
.model-canvas img { width: 100%; height: 100%; object-fit: contain; }
.model-ghost { position: absolute; inset: 0; opacity: .14; filter: grayscale(1); }
.model-build { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 0); }
.model-build img { position: absolute; inset: 0; }
.model-scan { position: absolute; right: 4%; bottom: 0; left: 4%; height: 2px; background: var(--primary); box-shadow: 0 0 18px color-mix(in oklch, var(--primary) 60%, transparent); opacity: 0; }
.construction-model figcaption { display: flex; justify-content: space-between; gap: 24px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .62rem; }
.construction-model figcaption span { color: var(--muted); text-align: right; }

.project-comparison { display: grid; grid-template-columns: minmax(250px, .38fr) minmax(0, 1fr); gap: clamp(34px, 5vw, 76px); align-items: center; max-width: var(--max); margin-inline: auto; padding: clamp(52px, 6vw, 88px) var(--pad) var(--section); }
.project-comparison h3 { max-width: 9ch; margin: 0; font-size: clamp(2.4rem, 4vw, 3.8rem); }
.project-comparison .comparison { min-height: min(610px, 48vw); }

.project-detail-link { display: grid; grid-template-columns: .38fr 1fr auto; gap: 24px; align-items: center; max-width: calc(var(--max) - (var(--pad) * 2)); margin: 0 auto var(--section); padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; }
.project-detail-link span { color: var(--primary-dark); font-family: var(--mono); font-size: .65rem; }
.project-detail-link strong { font-family: var(--display); font-size: clamp(2rem, 3.2vw, 3.1rem); font-weight: 600; line-height: 1; }
.project-detail-link i { display: grid; width: 46px; height: 46px; place-items: center; color: var(--white); background: var(--ink); border-radius: 50%; font-style: normal; transition: background 180ms cubic-bezier(.22,1,.36,1), transform 180ms cubic-bezier(.22,1,.36,1); }
.project-detail-link:hover strong { color: var(--primary-dark); }
.project-detail-link:hover i { background: var(--primary); transform: translate(2px, -2px); }

.motion-ready .decision-graph:not(.is-visible) .graph-row em { transform: scaleX(.08); }
.motion-ready .decision-graph.is-visible .graph-row em { animation: graph-grow 900ms cubic-bezier(.16,1,.3,1) both; }
.motion-ready .decision-graph.is-visible .graph-row:nth-child(3) em { animation-delay: 150ms; }
.motion-ready .decision-graph.is-visible .graph-row:nth-child(4) em { animation-delay: 300ms; }
.motion-ready .construction-model:not(.is-visible) .model-build { clip-path: inset(100% 0 0 0); }
.motion-ready .construction-model.is-visible .model-build { animation: model-build 1800ms cubic-bezier(.16,1,.3,1) both; }
.motion-ready .construction-model.is-visible .model-scan { animation: model-scan 1800ms cubic-bezier(.16,1,.3,1) both; }
@keyframes graph-grow { from { transform: scaleX(.08); } to { transform: scaleX(1); } }
@keyframes model-build { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes model-scan { 0% { bottom: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { bottom: calc(100% - 2px); opacity: 0; } }

.cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); padding: clamp(70px, 9vw, 130px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); color: var(--white); background: var(--primary); }
.cta h2 { max-width: 9ch; margin-bottom: 0; }
.cta > div > p:first-child { font-family: var(--mono); font-size: .72rem; }
.cta > div:last-child { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.cta > div:last-child p { max-width: 45ch; margin-bottom: 28px; }
.site-footer { display: grid; grid-template-columns: minmax(250px, 1.35fr) minmax(130px, .6fr) minmax(220px, 1fr) minmax(220px, .85fr); gap: clamp(36px, 5vw, 76px); padding: clamp(58px, 6vw, 88px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) max(30px, env(safe-area-inset-bottom)); color: var(--white); background: var(--ink); font-size: .92rem; }
.site-footer p { margin-bottom: 0; }
.footer-brand { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer-logo { display: inline-flex; min-height: 64px; align-items: center; }
.footer-logo img { width: clamp(230px, 23vw, 300px); height: auto; }
.footer-intro { max-width: 35ch; color: color-mix(in oklch, var(--white) 72%, transparent); line-height: 1.55; }
.footer-heading { color: color-mix(in oklch, var(--white) 58%, transparent); font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .035em; }
.footer-nav, .footer-contact { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.footer-nav .footer-heading, .footer-contact .footer-heading, .footer-service .footer-heading { margin-bottom: 16px; }
.footer-nav a, .footer-contact a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; text-decoration: none; }
.footer-service p:not(.footer-heading) { max-width: 29ch; color: color-mix(in oklch, var(--white) 76%, transparent); }
.footer-service p + p { margin-top: 18px; }
.footer-contact a { max-width: 100%; overflow-wrap: anywhere; }
.site-footer a:hover { color: oklch(.83 .1 47); text-decoration: underline; }
.fine-print { grid-column: 1 / -1; margin-top: clamp(14px, 2vw, 28px); padding-top: 20px; color: color-mix(in oklch, var(--white) 50%, transparent); border-top: 1px solid color-mix(in oklch, var(--white) 20%, transparent); font-family: var(--mono); font-size: .6rem; line-height: 1.55; }

.estimate-dialog { grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); width: min(1040px, calc(100% - 28px)); max-height: calc(100svh - 28px); padding: 0; color: var(--ink); background: var(--bg); border: 0; border-radius: 10px; box-shadow: 0 8px 0 color-mix(in oklch, var(--ink) 25%, transparent); }
.estimate-dialog[open] { display: grid; }
.estimate-dialog::backdrop { background: color-mix(in oklch, var(--ink) 78%, transparent); backdrop-filter: blur(5px); }
.dialog-close-form { position: absolute; top: 14px; right: 14px; z-index: 2; }
.dialog-close { width: 44px; height: 44px; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: 50%; font-size: 1.45rem; cursor: pointer; }
.dialog-intro { display: flex; min-height: 100%; flex-direction: column; padding: clamp(38px, 5vw, 64px); color: var(--white); background: var(--accent); }
.dialog-intro > span { font-family: var(--mono); font-size: .67rem; }
.dialog-intro h2 { max-width: 8ch; margin: clamp(42px, 8vh, 88px) 0 20px; font-size: clamp(3.2rem, 6vw, 5rem); }
.dialog-intro > p { max-width: 34ch; margin: 0; color: color-mix(in oklch, var(--white) 78%, transparent); }
.dialog-path { margin: auto 0 0; padding: 48px 0 0; list-style: none; border-top: 1px solid color-mix(in oklch, var(--white) 35%, transparent); }
.dialog-path li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid color-mix(in oklch, var(--white) 20%, transparent); }
.dialog-path b { color: oklch(.86 .075 65); font-family: var(--mono); font-size: .6rem; }
.dialog-path span { font-size: .83rem; }
.estimate-form { display: grid; gap: 22px; max-height: calc(100svh - 28px); padding: clamp(38px, 5vw, 62px); overflow-y: auto; background: var(--white); }
.form-heading { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 0 56px 16px 0; border-bottom: 1px solid var(--ink); }
.form-heading strong { font-family: var(--display); font-size: 2rem; font-weight: 600; }
.form-heading span { color: var(--muted); font-size: .78rem; }
.estimate-form label, .estimate-form legend { font-weight: 700; }
.estimate-form label { display: grid; gap: 7px; }
.optional { color: var(--muted); font-size: .72rem; font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.estimate-form input, .estimate-form textarea, .estimate-form select { width: 100%; min-height: 50px; padding: 11px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; }
.estimate-form input:focus, .estimate-form textarea:focus, .estimate-form select:focus { border-bottom-color: var(--primary); outline: 0; box-shadow: 0 2px 0 var(--primary); }
.estimate-form textarea { resize: vertical; }
.estimate-form fieldset { padding: 0; border: 0; }
.project-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.project-options label { cursor: pointer; }
.project-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.project-options span { display: flex; min-height: 66px; flex-direction: column; justify-content: center; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px; transition: color 160ms cubic-bezier(.22,1,.36,1), background 160ms cubic-bezier(.22,1,.36,1), border-color 160ms cubic-bezier(.22,1,.36,1); }
.project-options b { font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.project-options small { margin-top: 4px; color: var(--muted); font-size: .7rem; font-weight: 400; }
.project-options input:checked + span { color: var(--white); background: var(--accent); border-color: var(--accent); }
.project-options input:checked + span small { color: color-mix(in oklch, var(--white) 75%, transparent); }
.project-options input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.form-submit { display: flex; align-items: center; gap: 20px; }
.form-submit p { max-width: 32ch; margin: 0; color: var(--muted); font-size: .72rem; }
.estimate-form .button { flex: none; justify-self: start; }
.form-status { margin: 0; color: var(--accent); font-weight: 700; }
.launch-note { display: flex; min-height: 460px; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(44px, 7vw, 88px); background: var(--white); }
.launch-note .plain-label { margin-bottom: 20px; color: var(--primary-dark); }
.launch-note h3 { max-width: 11ch; margin: 0 0 20px; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .98; text-wrap: balance; }
.launch-note > p:not(.plain-label) { max-width: 42ch; margin: 0 0 30px; color: var(--muted); font-size: 1.05rem; }
.launch-note-address { margin-top: 18px; color: var(--primary-dark); font-weight: 700; }
.launch-note-address:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  body { padding-top: 74px; }
  .site-header { position: fixed; top: 0; right: 0; left: 0; grid-template-columns: 1fr auto auto; gap: 10px; background: var(--bg); backdrop-filter: none; }
  .site-header > .wordmark { position: relative; z-index: 3; grid-column: 1; grid-row: 1; width: fit-content; }
  .site-header > .button { position: relative; z-index: 3; display: inline-flex; grid-column: 2; grid-row: 1; min-height: 44px; }
  .nav-toggle { position: relative; z-index: 3; display: flex; grid-column: 3; grid-row: 1; justify-self: end; align-items: center; gap: 9px; min-width: 48px; min-height: 44px; padding: 9px 12px; background: transparent; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; }
  .nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { display: block; width: 18px; height: 1px; background: var(--ink); content: ""; transition: transform 260ms cubic-bezier(.22,1,.36,1); }
  .nav-toggle i { position: relative; }
  .nav-toggle i::before, .nav-toggle i::after { position: absolute; left: 0; }
  .nav-toggle i::before { top: -5px; }
  .nav-toggle i::after { top: 5px; }
  .nav-toggle[aria-expanded="true"] i { background: transparent; }
  .nav-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
  .site-header > .site-nav { position: fixed; top: 74px; right: var(--pad); bottom: auto; left: auto; z-index: 1; display: flex; width: min(430px, calc(100% - (var(--pad) * 2))); max-height: calc(100vh - 74px); max-height: calc(100dvh - 74px); flex-direction: column; justify-content: flex-start; gap: 0; padding: 20px 24px max(28px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; color: var(--ink); background: var(--bg); border: 1px solid var(--ink); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 220ms cubic-bezier(.22,1,.36,1), transform 320ms cubic-bezier(.16,1,.3,1), visibility 220ms; -webkit-overflow-scrolling: touch; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav .nav-menu { width: 100%; }
  .site-nav > a, .site-nav .mobile-nav-link { display: block; padding: 13px 0; border-bottom: 1px solid var(--ink); font-family: var(--display); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 600; line-height: 1; }
  .nav-menu-secondary .nav-menu-button, .nav-menu-secondary .mega-panel { display: none; }
  .project-menu { order: -1; margin-bottom: 16px; }
  .site-nav .site-search { order: -2; margin-bottom: 20px; }
  .site-nav .site-search input { min-height: 48px; background: var(--surface); }
  .site-nav .site-search-results { position: static; width: 100%; max-height: 42svh; margin-top: 8px; }
  .site-nav .site-search-result { min-height: 74px !important; }
  .project-menu::before { display: block; margin-bottom: 10px; color: var(--primary-dark); font-family: var(--mono); font-size: .68rem; font-weight: 600; content: "Service areas"; }
  .project-menu-button { display: none; }
  .mega-panel { position: static; z-index: auto; width: 100%; padding: 0; color: var(--ink); background: transparent; border: 0; opacity: 1; visibility: visible; transform: none; }
  .mega-shell { display: block; min-height: 0; }
  .mega-intro { display: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 0; background: transparent; }
  .mega-card { grid-template-columns: 86px 1fr; grid-template-rows: auto; gap: 14px; min-height: 0; padding: 10px 0 !important; color: var(--ink); background: transparent; border-bottom: 1px solid var(--ink); }
  .mega-card:hover { color: var(--primary-dark) !important; background: transparent; }
  .mega-card img { width: 86px; height: 74px; }
  .mega-card span { display: block; min-height: 0; margin: 0; padding: 0; }
  .mega-card b { display: block; font-size: clamp(1.9rem, 4vw, 2.35rem); }
  .mega-card small { color: var(--muted); font-size: .76rem; }
  .mega-card em { display: none; }
  .mega-card i { display: none; }
  body.nav-open { overflow: hidden; }
  .opening { grid-template-columns: .3fr 1fr; }
  .opening-copy { grid-column: 2; }
  .planning-proof, .service-band { grid-template-columns: 1fr; }
  .service-band h2 { max-width: 12ch; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-copy { min-height: 520px; }
  .page-hero-media { min-height: 600px; }
  .conversation-heading { grid-template-columns: .34fr 1fr; }
  .conversation-heading > p { grid-column: 2; }
  .drawing-sequence { grid-template-columns: 1fr 1fr; }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .work-entry { grid-template-columns: 1fr; }
  .work-entry:nth-child(even) .work-entry-media { order: initial; }
  .work-entry-media { min-height: 650px; }
  .project-guide-hero, .project-problem { grid-template-columns: .28fr 1fr; }
  .project-guide-hero > div, .project-problem > div { grid-column: 2; }
  .project-logic { grid-template-columns: 1fr; margin-inline: var(--pad); }
  .assembly-narrative, .decision-graph { border-right: 0; border-bottom: 1px solid var(--ink); }
  .model-canvas { min-height: 520px; }
}

@media (max-width: 820px) {
  h1 { font-size: clamp(3.7rem, 15vw, 5.3rem); }
  h2 { font-size: clamp(2.9rem, 12vw, 4.6rem); }
  .home-hero { min-height: 790px; }
  .hero-photo { object-position: 62% center; }
  .home-hero::after { background: linear-gradient(180deg, color-mix(in oklch, var(--ink) 72%, transparent) 0%, color-mix(in oklch, var(--ink) 54%, transparent) 54%, color-mix(in oklch, var(--ink) 92%, transparent) 100%); }
  .home-hero-copy { width: 100%; padding-top: 90px; }
  .image-caption { display: none; }
  .opening { grid-template-columns: 1fr; }
  .opening-copy { grid-column: 1; }
  .home-assembly-head { align-items: flex-start; flex-direction: column; gap: 26px; }
  .assembly-layout { grid-template-columns: 1fr; }
  .assembly-narrative { border-right: 0; border-bottom: 1px solid var(--ink); }
  .assembly-model, .project-logic .assembly-model { min-height: 500px; }
  .section-heading { align-items: start; flex-direction: column; gap: 26px; }
  .story-list { grid-template-columns: 1fr; }
  .story-card-wide { grid-column: auto; grid-template-columns: 1fr; border-bottom: 0; }
  .story-card, .story-card-wide { padding-bottom: 45px; border-bottom: 1px solid var(--line); }
  .story-image, .story-card:not(.story-card-wide) .story-image { min-height: 0; aspect-ratio: 4 / 3; }
  .planning-proof { gap: 45px; }
  .planning-photo img { aspect-ratio: 4 / 3; }
  .simple-hero, .split-section, .service-detail, .compliance-inner { grid-template-columns: 1fr; }
  .timeline-heading, .planning-cost, .cost-tiers, .discovered-conditions, .payment-terms { grid-template-columns: 1fr; gap: 30px; }
  .timeline-strip { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); }
  .timeline-strip li { padding: 0 0 32px 28px; }
  .timeline-strip li::before { top: 5px; left: -8px; }
  .timeline-strip li:not(:last-child)::after { top: auto; right: auto; bottom: 8px; left: 26px; content: "↓"; }
  .timeline-strip span { margin-bottom: 10px; }
  .tier-list article { grid-template-columns: 1fr 1fr; }
  .tier-list p { grid-column: 1 / -1; grid-row: 2; }
  .simple-hero { align-items: start; }
  .conversation-heading, .conversation-body, .process-section-head { grid-template-columns: 1fr; }
  .conversation-heading > p { grid-column: 1; margin-top: 0; }
  .conversation-heading h2 { max-width: 11ch; }
  .conversation-exchange { position: static; }
  .process-section-head { align-items: start; gap: 26px; }
  .process-section-head h2 { max-width: 11ch; }
  .process-detail-grid { grid-template-columns: 1fr; }
  .detail-overall, .detail-island { grid-column: 1; grid-row: auto; }
  .process-detail-grid img, .detail-overall img, .detail-island img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .service-detail-body { grid-template-columns: 1fr; }
  .permit-note, .scope-list { grid-column: 1; }
  .permit-flow { grid-template-columns: 1fr; }
  .permit-flow div { padding-left: 25px; border-top: 0; border-left: 1px solid var(--line); }
  .permit-flow div::before { top: 28px; left: -8px; }
  .permit-flow div:not(:last-child)::after { top: auto; right: auto; bottom: -5px; left: 22px; content: "↓"; }
  .compliance-list li { grid-template-columns: 1fr; gap: 8px; }
  .work-entry-media { min-height: 540px; }
  .project-guide-hero, .project-problem { grid-template-columns: 1fr; }
  .project-guide-hero > div, .project-problem > div { grid-column: 1; }
  .project-guide-hero > p { margin: 0; }
  .project-comparison { grid-template-columns: 1fr; }
  .project-comparison h3 { max-width: 12ch; }
  .project-comparison .comparison { min-height: min(650px, 105vw); }
  .comparison-range { top: 50%; bottom: auto; height: 64px; transform: translateY(-50%); }
  .comparison-line span { width: 56px; height: 56px; font-size: 1.1rem; }
  .comparison-mobile-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 10px; background: var(--ink); border: 1px solid var(--ink); }
  .comparison-mobile-controls button { min-height: 48px; padding: 8px 12px; color: var(--ink); background: var(--white); border: 0; font: 700 .88rem/1 var(--body); cursor: pointer; }
  .comparison-mobile-controls button[aria-pressed="true"] { color: var(--white); background: var(--ink); }
  .comparison-mobile-controls button:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--primary); outline-offset: 2px; }
  .project-detail-link { grid-template-columns: 1fr auto; margin-inline: var(--pad); }
  .project-detail-link span { grid-column: 1 / -1; }
  .about-values { grid-template-columns: 1fr; }
  .drawing-library-head { align-items: flex-start; flex-direction: column; gap: 24px; }
  .drawing-row { grid-template-columns: 1fr 1fr; }
  .drawing-row figure { grid-column: 1 / -1; }
  .drawing-row figure img { height: 360px; }
  .cta { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 2; }
  .fine-print { grid-column: 1 / -1; }
  .estimate-dialog[open] { display: grid; grid-template-columns: 1fr; overflow-y: auto; }
  .dialog-intro { min-height: 520px; }
  .launch-dialog-intro { min-height: 360px; }
  .estimate-form { max-height: none; overflow: visible; }
}

@media (hover: none) and (pointer: coarse) and (min-width: 821px) {
  .comparison-range { top: 50%; bottom: auto; height: 64px; transform: translateY(-50%); }
  .comparison-line span { width: 56px; height: 56px; font-size: 1.1rem; }
  .comparison-mobile-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 10px; background: var(--ink); border: 1px solid var(--ink); }
  .comparison-mobile-controls button { min-height: 48px; padding: 8px 12px; color: var(--ink); background: var(--white); border: 0; font: 700 .88rem/1 var(--body); cursor: pointer; }
  .comparison-mobile-controls button[aria-pressed="true"] { color: var(--white); background: var(--ink); }
  .comparison-mobile-controls button:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--primary); outline-offset: 2px; }
}

@media (max-width: 560px) {
  body { padding-top: 68px; font-size: 16px; }
  .site-header { min-height: 68px; gap: 10px; }
  .wordmark svg { width: 28px; height: 28px; }
  .wordmark { font-size: 1.28rem; }
  .site-header > .button { min-height: 44px; padding-inline: 15px; }
  .nav-toggle[aria-expanded="false"] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle[aria-expanded="true"] { min-width: 86px; }
  .site-header > .site-nav { top: 68px; right: 0; width: 100%; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); padding: 16px 20px max(24px, env(safe-area-inset-bottom)); border-right: 0; border-left: 0; }
  .mega-grid { grid-template-columns: 1fr; gap: 0; }
  .mega-card { grid-template-columns: 82px 1fr; grid-template-rows: auto; gap: 14px; padding: 9px 0 !important; }
  .mega-card img { width: 82px; height: 72px; }
  .mega-card span { margin: 0; }
  .mega-card b { font-size: 2.25rem; }
  .mega-card small { display: block; }
  .site-nav > a, .site-nav .mobile-nav-link { padding: 12px 0; font-size: clamp(2rem, 9vw, 2.65rem); }
  .home-hero { min-height: 740px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .opening { padding-block: 95px; }
  .check-list li { grid-template-columns: 1fr; gap: 6px; }
  .service-links a { grid-template-columns: 1fr auto; }
  .service-links small { grid-column: 1 / -1; }
  .page-hero-copy { min-height: 460px; }
  .page-hero-media { min-height: 420px; }
  .conversation-exchange p { font-size: 1.8rem; }
  .intake-questions li { grid-template-columns: 38px 1fr; gap: 12px; }
  .intake-questions h3 { font-size: 2rem; }
  .drawing-sequence { grid-template-columns: 1fr; }
  .tier-list article { grid-template-columns: 1fr; gap: 7px; }
  .tier-list p { grid-column: 1; grid-row: auto; }
  .drawing-sequence object { max-height: 310px; }
  .drawing-sequence figcaption { min-height: 0; }
  .timeline-heading h2, .planning-cost h2, .payment-terms h2, .discovered-conditions h2 { max-width: 100%; }
  .process-comparison .comparison { width: 100%; }
  .process-detail-grid figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .process-detail-grid figcaption span { text-align: left; }
  .process-flow { grid-template-columns: 1fr; }
  .process-step { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step:nth-child(3) { border-bottom: 1px solid var(--line); }
  .process-step > span { margin-bottom: 34px; }
  .work-entry-media { min-height: 430px; }
  .work-entry-media .work-model { right: -3%; bottom: -6%; width: 58%; }
  .work-entry:nth-child(even) .work-model { left: -3%; }
  .project-chapter + .project-chapter { border-top-width: 8px; }
  .project-logic { margin-inline: 0; border-right: 0; border-left: 0; }
  .assembly-narrative, .decision-graph, .construction-model { padding: 24px 20px; }
  .assembly-model, .project-logic .assembly-model { min-height: 390px; padding: 22px 20px; }
  .assembly-model figcaption { flex-direction: column; gap: 4px; }
  .assembly-model figcaption span { text-align: left; }
  .graph-head { margin-bottom: 24px; }
  .graph-row { grid-template-columns: 24px 1fr; gap: 6px 10px; padding: 10px 0; }
  .graph-row i { grid-column: 2; }
  .graph-row small { display: none; }
  .model-canvas { min-height: 320px; }
  .construction-model figcaption { flex-direction: column; gap: 5px; }
  .construction-model figcaption span { text-align: left; }
  .project-comparison .comparison { min-height: 470px; }
  .project-detail-link { margin-bottom: 78px; }
  .work-meta { grid-template-columns: 1fr; }
  .work-meta div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .site-footer { grid-template-columns: 1fr; gap: 34px; padding-top: 52px; }
  .footer-brand, .footer-contact { grid-column: 1; }
  .footer-brand { gap: 20px; padding-bottom: 6px; }
  .footer-logo { min-height: 56px; }
  .footer-logo img { width: min(270px, 88vw); }
  .footer-nav .footer-heading, .footer-contact .footer-heading, .footer-service .footer-heading { margin-bottom: 10px; }
  .footer-service p + p { margin-top: 14px; }
  .fine-print { grid-column: 1; margin-top: 6px; }
  .field-row { grid-template-columns: 1fr; }
  .drawing-row { grid-template-columns: 1fr; }
  .drawing-row figure { grid-column: 1; }
  .drawing-row figure img { height: 250px; }
  .estimate-dialog { width: calc(100% - 16px); max-height: calc(100svh - 16px); }
  .dialog-intro { min-height: 460px; padding: 34px 24px; }
  .launch-dialog-intro { min-height: 320px; }
  .dialog-intro h2 { margin-top: 58px; }
  .launch-note { min-height: 400px; padding: 40px 24px; }
  .estimate-form { padding: 34px 24px 44px; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: 2px; padding-right: 48px; }
  .form-submit { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 900px) {
  .search-page-hero { grid-template-columns: 1fr; }
  .search-page-hero-copy { min-height: 560px; }
  .search-page-model { min-height: 520px; }
  .search-page-model img { width: 112%; height: 88%; transform: translateX(3%) rotate(-1deg); }
  .search-results-shell { grid-template-columns: 1fr; gap: 48px; }
  .search-index-side { position: static; }
  .search-index-note { display: grid; grid-template-columns: .45fr 1fr; gap: 8px 32px; }
  .search-index-note span { grid-row: 1 / 3; margin: 0; }
  .search-index-note strong { margin: 0; }
  .search-index-note p { max-width: 50ch; }
  .search-result-preview { display: none; }
}

@media (max-width: 560px) {
  .search-page-hero-copy { min-height: 540px; padding-top: 64px; padding-bottom: 64px; }
  .search-page-hero-copy h1 { font-size: clamp(4rem, 20vw, 5.2rem); }
  .search-page-form { grid-template-columns: minmax(0, 1fr) auto; }
  .search-page-form .button { min-width: 104px; padding-inline: 16px; }
  .search-suggestions { gap: 4px 16px; }
  .search-suggestions > span { width: 100%; }
  .search-recents { align-items: flex-start; flex-direction: column; }
  .search-recents > div { gap: 5px 12px; }
  .search-page-model { min-height: 390px; }
  .search-page-model figcaption { right: 20px; bottom: 18px; left: 20px; flex-direction: column; gap: 3px; }
  .search-page-model figcaption span { text-align: left; }
  .search-results-shell { gap: 36px; padding-top: 64px; padding-bottom: 92px; }
  .search-index-note { display: block; }
  .search-index-note span { margin-bottom: 20px; }
  .search-index-note strong { margin-bottom: 10px; }
  .search-quick-answer { grid-template-columns: 1fr; gap: 10px; padding: 26px 22px; }
  .search-quick-answer > span, .search-quick-answer strong, .search-quick-answer p, .search-quick-answer a { grid-column: 1; grid-row: auto; }
  .search-quick-answer > span { margin-bottom: 8px; }
  .search-quick-answer a { width: fit-content; margin-top: 8px; }
  .search-filter-bar { gap: 6px; }
  .search-filter-bar > span { width: 100%; }
  .search-filter-bar button { padding-inline: 11px; }
  .search-page-result { grid-template-columns: 28px 88px minmax(0, 1fr); gap: 12px; min-height: 132px; padding: 18px 0; }
  .search-page-result > img { height: 92px; }
  .search-page-result-copy strong { font-size: 2rem; }
  .search-page-result-copy > span { display: -webkit-box; overflow: hidden; font-size: .78rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .search-page-result > i { display: none; }
  .search-page-empty > strong, .search-page-no-results strong { font-size: 3.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
