/* Rowan & Hale — site hoarding. Zinc canvas, charred blocks, one brick accent, 4px corners everywhere.
   Light or dark follows the device. Only transform / opacity animate (clip-path for the one-off hero reveal). */
:root {
  color-scheme: light;
  --bg: #eceeea; --surface: #ffffff; --surface-2: #e0e3dd;
  --ink: #161815; --muted: #50554f; --line: rgba(22,24,21,.14); --line-2: rgba(22,24,21,.28);
  --accent: #a84a24; --accent-h: #93401e; --on-accent: #ffffff; --accent-soft: rgba(168,74,36,.1);
  --char: #121311; --on-char: #eceeea; --on-char-2: rgba(236,238,234,.74);
  --err: #b8321a;
  --r: 4px;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(.2,0,0,1); --ease-io: cubic-bezier(.65,0,.35,1);
  --d-fast: 120ms; --d-base: 200ms; --d-slow: 320ms;
  --ease-press: cubic-bezier(.23,1,.32,1); --d-press: 140ms;
  --accent-text: #93401e;   /* brick for small text on tinted panels (5.3:1 on accent-soft) */
  --s-1:4px;--s-2:8px;--s-3:12px;--s-4:16px;--s-5:24px;--s-6:32px;--s-7:48px;--s-8:64px;--s-9:96px;--s-10:128px;
  --gut: clamp(16px, 4vw, 48px); --max: 1280px; --hdr: 68px; --bar: 38px;
  --t-h2: clamp(2.3rem, 5.2vw, 4.4rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #121311; --surface: #1a1c19; --surface-2: #232521;
    --ink: #eceeea; --muted: #a5aaa2; --line: rgba(236,238,234,.12); --line-2: rgba(236,238,234,.26);
    --accent: #d56a40; --accent-h: #e07a52; --on-accent: #121311; --accent-soft: rgba(213,106,64,.13);
    --char: #0b0c0a; --err: #ff8a70;
    --accent-text: #d56a40;
  }
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 8px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
svg { fill: currentColor; }
h1, h2 { font-family: var(--f-display); font-stretch: 120%; font-weight: 780; letter-spacing: -.03em; line-height: .98; margin: 0; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
p, ol, ul, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding-inline: var(--gut); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.kick { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--muted); }
.kick::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.sec-head { display: grid; gap: var(--s-4); justify-items: start; }

/* notice */
.notice { margin: 0; height: var(--bar); display: flex; align-items: center; justify-content: center; padding: 0 var(--gut); white-space: nowrap; overflow: hidden; background: var(--char); color: var(--on-char); font: 500 13px/1.4 var(--f-body); }

/* buttons: one shape (4px), brick for the action */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent; font: 600 16px/1 var(--f-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition:scale var(--d-press) var(--ease-press); }
.btn svg { width: 18px; height: 18px; transition: transform var(--d-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover svg { transform: translateX(3px); } }
.btn:active { scale: .97; }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 #ffffff59, inset 0 -2px 0 #0003, 0 1px 2px #0006, 0 8px 24px -6px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-accent:active { translate: 0 1px; box-shadow: inset 0 2px 4px #0004; }
.btn-glass { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(12,13,11,.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) and (pointer: fine) {
  .btn-accent:hover { background: var(--accent-h); }
  .btn-glass:hover { background: rgba(12,13,11,.5); }
}

/* nav: transparent over the hero, solid once it leaves */
.nav { position: fixed; inset: 0 0 auto; top: var(--bar); z-index: 20; transition:transform var(--d-slow) var(--ease-out); }
.nav.solid { transform: translateY(calc(var(--bar) * -1)); background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
@media (max-width: 768px) { .nav.solid { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; } .btn-glass { background: rgba(12,13,11,.6); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nav-in { max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; }
.nav.solid .nav-in { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 760 19px/1 var(--f-display); font-stretch: 118%; letter-spacing: -.02em; }
.mark { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; overflow: visible; }
.mark .roof { stroke: var(--accent); }
.links { display: flex; align-items: center; gap: 28px; }
.links a { text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--d-base) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .links a:not(.nav-cta):hover::after { transform: scaleX(1); }
  .nav-cta:hover { background: var(--accent-h); }
}
.nav-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: var(--r); background: var(--accent); color: var(--on-accent) !important; font-weight: 600 !important; transition:scale var(--d-press) var(--ease-press); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; position: relative; border-radius: var(--r); transition: scale var(--d-press) var(--ease-press); }
.nav-cta:active, .burger:active { scale: .97; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform var(--d-base) var(--ease-out); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: calc(100svh - var(--bar)); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: var(--char); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
/* pre-hide what the hero intro animates, so it never shows-then-vanishes before fonts load.
   html.fx-off (set by the head script after 2.5s) is the failsafe if the script never runs. */
.js:not(.hero-ready):not(.fx-off) #hero-media, .js:not(.hero-ready):not(.fx-off) #hero-h, .js:not(.hero-ready):not(.fx-off) .hero .fx { opacity: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,9,.55) 0%, rgba(10,11,9,0) 26%, rgba(10,11,9,0) 40%, rgba(10,11,9,.85) 100%); }
.hero-in { padding-bottom: clamp(40px, 9vh, 96px); display: grid; gap: 22px; }
.tagline { justify-self: start; padding: 6px 10px; border-radius: 4px; background: rgba(10,11,9,.62); color: rgba(255,255,255,.92); }   /* 17 Oct: static scrim, readable over brick */
.hero h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); max-width: 13ch; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 46ch; color: rgba(255,255,255,.9); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* facts */
.facts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0 clamp(24px, 5vw, 72px); padding-block: clamp(56px, 7vw, 88px) clamp(48px, 6vw, 80px); }
.fact { display: grid; gap: 8px; padding-top: 16px; border-top: 3px solid var(--ink); align-content: start; }
.fact .mono { color: var(--accent); }
.fact b { font: 760 1.25rem/1.15 var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.fact span:last-child { color: var(--muted); font-size: 15px; }
/* 17 Oct: one lead promise, two smaller ones beside it (not three equal cards) */
.fact:first-child { grid-row: span 2; border-top-color: var(--accent); padding-block: 22px 20px; }
.fact:first-child b { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; letter-spacing: -.025em; }
.fact:first-child span:last-child { font-size: 1.125rem; max-width: 30ch; }
.fact:not(:first-child) { border-top-width: 1px; padding-block: 14px 20px; }

/* story — static (no JS / reduced motion): three pictures stacked with captions */
.story { padding-block: 24px 72px; }
.story-pin { position: relative; display: flex; flex-direction: column; }
.story-top { order: 0; display: grid; gap: var(--s-4); padding-bottom: var(--s-6); }
.story-top h2 { max-width: 16ch; }
.story-media { order: 1; display: grid; gap: 16px; max-width: calc(var(--max) + var(--gut) * 2); width: 100%; margin: 0 auto; padding-inline: var(--gut); }
.frame { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; background: var(--surface-2); }
.frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.frame figcaption { position: absolute; left: 12px; top: 12px; background: var(--char); color: var(--on-char); padding: 6px 9px; border-radius: var(--r); }
.story-copy { order: 2; display: grid; gap: 22px; padding-top: 32px; }
.week, .rail { display: none; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line-2); position: relative; align-content: start; }
.step .tick { display: none; }
.step b { font-weight: 650; }
.step span { color: var(--muted); font-size: 15px; }

/* story — pinned (motion) */
html.motion .story { padding: 0; background: var(--char); }
html.motion .story-pin { display: block; height: 100svh; overflow: hidden; }
html.motion .story-media { position: absolute; inset: 0; display: block; max-width: none; padding: 0; }
html.motion .frame { position: absolute; inset: 0; border-radius: 0; background: transparent; }
html.motion .frame > img { height: 100%; aspect-ratio: auto; }
html.motion .frame figcaption { display: none; }
html.motion .f1 > img { transform-origin: 50% 70%; will-change: transform; }
html.motion .f2 > img, html.motion .f3 > img { visibility: hidden; }
.course { position: absolute; inset: 0; will-change: transform, opacity; }
.course img { width: 100%; height: 100%; object-fit: cover; }
html.motion .story-pin::before { content: ""; position: absolute; inset: 0 0 auto; height: 40%; z-index: 1; background: linear-gradient(180deg, rgba(10,11,9,.72), rgba(10,11,9,0)); pointer-events: none; }
html.motion .story-pin::after { content: ""; position: absolute; inset: auto 0 0; height: 58%; z-index: 1; background: linear-gradient(180deg, rgba(10,11,9,0), rgba(10,11,9,.9)); pointer-events: none; }
html.motion .story-top { position: absolute; left: 0; right: 0; top: calc(var(--hdr) + clamp(12px, 3vh, 32px)); z-index: 2; color: var(--on-char); padding-bottom: 0; }
html.motion .story-top .kick { color: var(--on-char-2); }
html.motion .story-top h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
html.motion .story-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: var(--on-char); padding-bottom: clamp(28px, 6vh, 64px); grid-template-columns: auto 1fr; align-items: end; column-gap: clamp(24px, 4vw, 64px); row-gap: 14px; }
html.motion .week { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: end; justify-content: start; column-gap: 8px; }
.week .mono { color: var(--on-char-2); grid-column: 1 / -1; }
.week b { font: 800 clamp(4.5rem, 11vw, 9rem)/.82 var(--f-display); font-stretch: 125%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: #fff; }
.week .of { grid-column: 2; align-self: end; padding-bottom: .4em; }
html.motion .steps { gap: 20px; }
html.motion .step { border-top-color: rgba(255,255,255,.26); opacity: .6; transition: opacity var(--d-base) var(--ease-out); }
html.motion .step.on { opacity: 1; }
html.motion .step.on::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--accent); transform-origin: left; animation: lay var(--d-slow) var(--ease-out) both; }
@keyframes lay { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html.motion .step span { color: var(--on-char-2); }
html.motion .rail { display: block; grid-column: 1 / -1; height: 2px; background: rgba(255,255,255,.16); position: relative; }
.rail i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* services bento */
.services { padding-block: clamp(80px, 10vw, 128px) 40px; display: grid; gap: 32px; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 12px; }
.cell { position: relative; overflow: hidden; border-radius: var(--r); background: var(--surface-2); color: #fff; text-decoration: none; display: flex; align-items: flex-end; isolation: isolate; transition: scale var(--d-press) var(--ease-press); }
a.cell:active { scale: .97; }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 600ms var(--ease-out); }
.cell::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,11,9,0) 40%, rgba(10,11,9,.8) 100%); }
.cell-txt { padding: 20px; display: grid; gap: 4px; }
.cell-txt .mono { color: rgba(255,255,255,.75); }
.cell-txt b { font: 760 1.3rem/1.12 var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.cell-txt span:last-child { font-size: 15px; color: rgba(255,255,255,.86); }
.cell .go { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; padding: 11px; border-radius: var(--r); background: var(--accent); color: var(--on-accent); transform: translate(6px, -6px); opacity: 0; transition: transform var(--d-base) var(--ease-out), opacity var(--d-base) var(--ease-out); }
a.cell:focus-visible .go { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { a.cell:hover img { transform: scale(1.04); } a.cell:hover .go { opacity: 1; transform: none; } }
@media (hover: none) { .cell .go { opacity: 1; transform: none; } }
.c-ext { grid-column: 1 / 7; grid-row: 1 / 3; }
.c-loft { grid-column: 7 / 13; grid-row: 1; }
.c-bath { grid-column: 7 / 10; grid-row: 2; }
.c-plan { grid-column: 10 / 13; grid-row: 2; background: var(--accent-soft); color: var(--ink); flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.c-plan::after { display: none; }
.c-plan .pi { width: 30px; height: 30px; color: var(--accent); margin-bottom: auto; }
.c-plan .mono { color: var(--accent-text); }
.c-plan b { font: 760 1.25rem/1.12 var(--f-display); font-stretch: 112%; }
.c-plan span:last-child { font-size: 15px; color: var(--muted); }

/* estimator */
.estimate { margin-top: 56px; padding-block: clamp(72px, 9vw, 112px); background: var(--surface); border-block: 1px solid var(--line); }
.est-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.est-controls { display: grid; gap: 24px; justify-items: start; }
.est-controls h2 { max-width: 13ch; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 46px; padding: 0 16px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg); font: 500 15px/1 var(--f-body); cursor: pointer; transition:scale var(--d-press) var(--ease-press); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink); } }
.chip:active { scale: .97; }
.chip[aria-checked="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.est-result { display: grid; gap: 16px; justify-items: start; padding: clamp(22px, 3vw, 36px); border-radius: var(--r); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.est-result::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 18px, transparent 18px 22px); border-radius: var(--r) var(--r) 0 0; opacity: .85; }
.est-label { color: var(--muted); }
.est-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3em; font: 800 clamp(1.9rem, 3.3vw, 3rem)/1 var(--f-display); font-stretch: 112%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.est-price .dash { color: var(--muted); font-weight: 500; }
.range { width: 100%; display: grid; gap: 6px; }
.track { position: relative; height: 10px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10%), var(--surface-2); overflow: hidden; }
.track i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: translateX(52.38%) scaleX(.1905); }
.axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .7rem; }
.est-note { color: var(--muted); max-width: 42ch; }
.est-small { font-size: 13px; color: var(--muted); }

/* process */
.process { padding-block: clamp(56px, 7vw, 88px) clamp(40px, 5vw, 64px); display: grid; gap: 18px; }   /* 17 Oct: compact one-line strip */
.proc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 18px; position: relative; }
.proc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.proc::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--prog, 1)); }
.proc li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.proc .mono { color: var(--accent); }
.proc b { font: 760 1.1rem/1.2 var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.proc li > span:last-child { flex-basis: 100%; color: var(--muted); font-size: 15px; }

/* quote */
.quote { padding-block: clamp(80px, 10vw, 128px); background: var(--char); color: var(--on-char); }
.quote figure { display: grid; gap: 28px; }
.quote blockquote { font: 700 clamp(1.7rem, 3.6vw, 3rem)/1.14 var(--f-display); font-stretch: 108%; letter-spacing: -.02em; max-width: 28ch; text-wrap: balance; }
.quote figcaption { display: grid; gap: 4px; font-size: 15px; }
.quote figcaption .mono { color: var(--on-char-2); }

/* contact */
.contact { padding-block: clamp(88px, 10vw, 128px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-copy { display: grid; gap: 18px; justify-items: start; }
.contact-copy > p { color: var(--muted); }
.channel { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; width: 100%; transition: scale var(--d-press) var(--ease-press); }
.channel:active { scale: .97; }
.channel:last-child { border-bottom: 1px solid var(--line); }
.channel > svg:first-child { width: 26px; height: 26px; color: var(--accent); flex-shrink: 0; }
.channel span { display: grid; font-size: 15px; color: var(--muted); flex: 1; }
.channel b { color: var(--ink); font-size: 16px; }
.channel .go { width: 18px; height: 18px; color: var(--muted); transition:transform var(--d-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .channel:hover .go { transform: translateX(4px); color: var(--accent); } }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--r); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); background: var(--bg); font: 400 16px/1.4 var(--f-body); resize: vertical; transition:none; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .bad { border-color: var(--err); }
.err { color: var(--err); font-size: 14px; font-weight: 500; }
.help { color: var(--muted); font-size: 14px; }
.form .btn { justify-self: start; }
.sent { color: var(--ink); font-size: 15px; padding: 12px 14px; border-radius: var(--r); background: var(--accent-soft); }
.shake { animation: shake 200ms var(--ease-out); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* footer */
.foot { padding-block: clamp(48px, 7vw, 88px) calc(40px + env(safe-area-inset-bottom, 0px)); }
.board { background: var(--char); color: var(--on-char); border-radius: var(--r); border-top: 8px solid var(--accent); }
.board :focus-visible { outline-color: var(--on-char); }
.board-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 24px clamp(20px, 3vw, 32px); border-bottom: 1px solid rgba(236,238,234,.16); }
.board-head .brand { font-size: 22px; }
.board-head .mono { color: var(--on-char-2); }
.board-cells { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.board-cells div { padding: 22px clamp(20px, 3vw, 32px); }
.board-cells div + div { border-left: 1px solid rgba(236,238,234,.16); }
.board-cells dt { color: var(--on-char-2); margin-bottom: 8px; }
.board-cells dd { margin: 0; font-size: 16px; line-height: 1.45; }
.board-cta { padding: 0 clamp(20px, 3vw, 32px) 28px; }
.foot-base { display: grid; grid-template-columns: auto 1fr; gap: 8px 40px; align-items: center; margin-top: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 15px; }
.foot nav a { color: var(--muted); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
@media (hover: hover) and (pointer: fine) { .foot nav a:hover { color: var(--ink); } }
.foot-base p { color: var(--muted); font-size: 14px; justify-self: end; text-align: right; max-width: 60ch; }

/* reveals: hidden only after the motion script has run */
html.motion .rv { opacity: 0; }

/* responsive */
@media (max-width: 900px) {
  .est-grid, .contact { grid-template-columns: 1fr; }
  .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .burger { display: block; }
  .notice .nb { display: none; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.1rem); }
  .hero-in { gap: 14px; padding-bottom: 36px; }
  .lead { font-size: 1rem; }
  .cta-row .btn { flex: 1 1 0; padding: 0 14px; }
  .links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; padding: var(--gut); padding-left: calc(var(--gut) + 8px); background: var(--bg); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity var(--d-base) var(--ease-out), visibility 0s linear var(--d-base); }
  .links a { font: 780 2rem/1 var(--f-display); font-stretch: 118%; letter-spacing: -.02em; }
  .links .nav-cta { font-size: 1.1rem !important; min-height: 52px; padding: 0 20px; margin-top: 8px; }
  .links.open { opacity: 1; visibility: visible; transition: opacity var(--d-base) var(--ease-out); }
  .nav.menu-open .nav-in { color: var(--ink); }
  .nav.menu-open { top: 0; transform: none; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: none; }
  .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  html.motion .story-copy { grid-template-columns: 1fr; }
  html.motion .step { display: none; }
  html.motion .step.on { display: grid; opacity: 1; }
  .week b { font-size: clamp(4rem, 22vw, 6rem); }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .c-ext, .c-loft, .c-bath, .c-plan { grid-column: auto; grid-row: auto; }
  .c-ext { grid-row: span 2; }
  .proc { gap: 18px 16px; }
  .board-cells { grid-template-columns: 1fr; }
  .board-cells div + div { border-left: 0; border-top: 1px solid rgba(236,238,234,.16); }
  .foot-base { grid-template-columns: 1fr; }
  .foot-base p { justify-self: start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  /* gentle motion (18 Oct): the hero button's glow breathes; content stays still */
  .hero .btn-accent { position: relative; }
  .hero .btn-accent::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 10px 30px -6px color-mix(in srgb, var(--accent) 80%, transparent); opacity: 0; animation: gm-breathe 4.5s ease-in-out infinite alternate !important; }
}
@keyframes gm-breathe { from { opacity: 0; } to { opacity: .8; } }
