/* Construction-sequence motion (owner correction 2026-10-30).
   An original illustrated building on the ivory page surface. No boxed panels, no photo motion. */
.hero-bottom { display:none; }

/* ---------- Section layout ---------- */
.build-studio { padding:86px 0 30px; }
.build-head { display:flex; justify-content:space-between; align-items:flex-end; gap:40px; padding-bottom:26px; border-bottom:1px solid var(--line); }
.build-head .eyebrow { color:#6a735f; }
.build-head h2 { font-size:clamp(44px,4.6vw,64px); margin-top:16px; color:var(--ink); }
.build-head h2 em { color:var(--forest); }
.build-tabs { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.build-tabs button { display:flex; align-items:center; gap:10px; min-height:50px; padding:12px 18px; background:transparent; border:1px solid #cdd2c4; color:#2d3a33; font-size:11px; letter-spacing:.3px; transition:background-color .25s,color .25s,border-color .25s; }
.build-tabs button>span { font-family:'Cormorant Garamond',Georgia,serif; font-size:21px; line-height:1; color:#aa893c; }
.build-tabs button:hover:not([aria-selected=true]) { border-color:#063f32; }
.build-tabs button[aria-selected=true] { background:var(--forest); border-color:var(--forest); color:var(--ivory); }
.build-tabs button[aria-selected=true]>span { color:#d6bf87; }
.build-body { display:grid; grid-template-columns:minmax(0,1.62fr) minmax(280px,.7fr); gap:56px; align-items:center; padding-top:18px; }
.build-frame { position:relative; }
.build-scene { display:block; width:100%; height:auto; overflow:visible; }
.build-stages { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; border-top:1px solid var(--line); }
.build-stages>button { position:relative; display:flex; align-items:baseline; gap:10px; padding:15px 16px 12px 0; background:none; color:#7c8677; text-align:left; font-size:11px; transition:color .3s; }
.build-stages strong { font-weight:500; }
.build-stage-number { font-family:'Cormorant Garamond',Georgia,serif; font-size:22px; line-height:1; color:#b5a67a; }
.build-stage-rule { position:absolute; left:0; right:16px; top:-1px; height:2px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .6s var(--motion-ease); }
.build-stages>button[aria-pressed=true] { color:var(--forest); }
.build-stages>button[aria-pressed=true] .build-stage-rule { transform:scaleX(1); }
.build-stages>button:hover { color:var(--forest); }
.build-replay { display:flex!important; align-items:center!important; gap:8px!important; padding:15px 0 12px 18px!important; color:var(--forest)!important; font-size:9px!important; letter-spacing:1.3px; }
.build-replay:hover svg { transform:rotate(-120deg); }
.build-replay svg { transition:transform .4s var(--motion-ease); }
.build-caption { margin-top:4px; max-width:640px; min-height:3.6em; color:#5f6a5f; font-size:13px; line-height:1.8; }
.build-copy-stack { display:grid; }
.build-copy { grid-area:1/1; }
/* Inactive copy keeps its space (hidden from people and assistive tech) so heights never jump. */
@media(min-width:1101px) { .build-copy[hidden] { display:block; visibility:hidden; } }
.build-copy>.eyebrow { color:var(--forest); }
.build-copy h3 { font:400 46px/1.02 'Cormorant Garamond',Georgia,serif; letter-spacing:-1px; color:var(--forest); margin:16px 0 18px; }
.build-copy>p { font-size:13px; color:#5f6a5f; }
.build-copy ul { list-style:none; padding:0; margin:22px 0 28px; display:grid; gap:11px; font-size:12px; }
.build-copy li { display:flex; gap:10px; align-items:flex-start; }
.build-copy li svg { color:var(--gold); margin-top:2px; }
.build-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px 26px; }
.build-actions .text-link { font-size:9px; color:var(--forest); }
.build-note { display:block; margin-top:20px; font-size:9px; color:#8a9283; letter-spacing:.3px; }

/* ---------- Illustration palette ---------- */
.build-scene text { font-family:'Poppins',sans-serif; }
.build-scene .ground { fill:none; stroke-width:1.4; }
.build-scene .ground.soft { stroke-width:.8; opacity:.45; }
.build-scene .cloud { fill:#e7e3d6; }
.build-scene[data-scene="2"] .sky { display:none; }
.build-scene .sun { fill:#d6bf87; fill-opacity:.17; }
.build-scene .outline { fill:none; stroke:#aa893c; stroke-width:1.8; stroke-linejoin:round; }
.build-scene .outline.faint { stroke-width:1; stroke-opacity:.7; }
.build-scene .dim { fill:none; stroke:#8b9583; stroke-width:1; }
.build-scene .dim-dot { fill:#aa893c; }
.build-scene .stake { fill:none; stroke:#aa893c; stroke-width:1.6; }
.build-scene .svg-label { font-size:12px; font-weight:500; letter-spacing:2.4px; fill:#7a846f; }
.build-scene .svg-label.strong { font-size:14px; fill:#063f32; }
.build-scene .footing { fill:#5d6b5f; }
.build-scene .column { fill:#24493d; }
.build-scene .slab { fill:#3b5f51; }
.build-scene .core { fill:#2f5547; }
.build-scene .brace { fill:none; stroke:#aa893c; stroke-width:1.2; }
.build-scene .crane-steel { fill:none; stroke:#aa893c; stroke-width:1.5; }
.build-scene .crane-line { fill:none; stroke:#aa893c; stroke-width:1.1; }
.build-scene .crane-line.strong { stroke-width:1.8; }
.build-scene .crane-load { fill:#063f32; }
.build-scene .stone { fill:#ece6d6; }
.build-scene .band { fill:#0b3a2f; }
.build-scene .forest { fill:#0f4a3b; }
.build-scene .deep { fill:#0b3b30; }
.build-scene .residential { fill:#e6ddc7; }
.build-scene .glass { fill:#cfdcd4; }
.build-scene .mullion { fill:none; stroke:#9fb2a7; stroke-width:1.2; }
.build-scene .door { fill:#0f4a3b; }
.build-scene .sign { font-size:7.5px; font-weight:600; letter-spacing:2px; fill:#e5d4a7; }
.build-scene .awning { fill:#b39b57; }
.build-scene .cornice { fill:#082f26; }
.build-scene .roof-unit { fill:#c9c2ac; }
.build-scene .gold-line { fill:none; stroke:#aa893c; stroke-width:1.5; }
.build-scene .rail { fill:none; stroke:#0f4a3b; stroke-width:1.6; }
.build-scene .sidewalk { fill:#e7e1d0; }
.build-scene .trunk { fill:#6b5a3e; }
.build-scene .leaf-dark { fill:#2d6a4f; }
.build-scene .leaf-light { fill:#6c9a6d; }
.build-scene .person-a { fill:#063f32; }
.build-scene .person-b { fill:#aa893c; }
.build-scene .car path { fill:#0f4a3b; }
.build-scene .car circle { fill:#18211d; }
.build-scene .car-glass { fill:#cfdcd4; }
.build-scene .bubble { fill:none; stroke:#063f32; stroke-width:1.2; }
.build-scene .bubble-text { font-size:12px; font-weight:600; fill:#063f32; }
.build-scene .grid-line { fill:none; stroke:#aab4a5; stroke-width:.8; }
.build-scene .ink { fill:none; stroke:#063f32; stroke-width:1.5; stroke-linejoin:round; }
.build-scene .ink.faint { stroke-width:1; stroke-opacity:.6; }
.build-scene .take-1 { fill:#d6bf87; }
.build-scene .take-2 rect { fill:#063f32; }
.build-scene .take-3 rect { fill:#aa893c; fill-opacity:.16; stroke:#aa893c; stroke-dasharray:5 4; }
.build-scene .take-4 rect { fill:#2d6a4f; fill-opacity:.4; }
.build-scene .leader { fill:none; stroke:#aa893c; stroke-width:1; }
.build-scene .tag-name { font-size:13px; font-weight:500; letter-spacing:2px; fill:#063f32; }
.build-scene .tag-unit { font-size:13px; font-weight:600; letter-spacing:1px; fill:#aa893c; }
.build-scene .tag-rule { fill:none; stroke:#cdd2c4; }
.build-scene .tick { fill:none; stroke:#063f32; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.build-scene .scan-line { fill:#aa893c; opacity:0; }

/* ---------- Staged accumulation ---------- */
.build-scene { --ease:cubic-bezier(.22,1,.36,1); --spring:cubic-bezier(.3,1.35,.5,1); }
.build-scene .ph { transition:opacity .7s ease; }
.build-scene .draw { stroke-dasharray:1 1; stroke-dashoffset:1; transition:stroke-dashoffset 1.3s var(--ease) calc(var(--i,0) * 95ms); }
.build-scene .grow,.build-scene .grow-down { transform:scaleY(0); transform-box:fill-box; transform-origin:50% 100%; transition:transform .85s var(--ease) calc(var(--i,0) * 95ms); }
.build-scene .grow-down { transform-origin:50% 0; }
.build-scene .drop { opacity:0; transform:translateY(-46px); transition:opacity .45s ease calc(var(--i,0) * 95ms),transform .85s var(--spring) calc(var(--i,0) * 95ms); }
.build-scene .rise { opacity:0; transform:translateY(16px); transition:opacity .6s ease calc(var(--i,0) * 95ms),transform .8s var(--ease) calc(var(--i,0) * 95ms); }
.build-scene .fade { opacity:0; transition:opacity .8s ease calc(var(--i,0) * 95ms); }
.build-scene .pop { opacity:0; transform:scale(0); transform-box:fill-box; transform-origin:50% 100%; transition:opacity .3s ease calc(var(--i,0) * 95ms),transform .7s var(--spring) calc(var(--i,0) * 95ms); }
.build-scene .glass { transition:fill 1.1s ease calc(1.5s + var(--i,0) * 95ms); }
.build-scene .glass.fade { transition:opacity .8s ease calc(var(--i,0) * 95ms),fill 1.1s ease calc(1.5s + var(--i,0) * 95ms); }
:is(.build-scene:not([data-stage="0"]) .ph-1,.build-scene:is([data-stage="2"],[data-stage="3"]) .ph-2,.build-scene[data-stage="3"] .ph-3) .draw { stroke-dashoffset:0; }
:is(.build-scene:not([data-stage="0"]) .ph-1,.build-scene:is([data-stage="2"],[data-stage="3"]) .ph-2,.build-scene[data-stage="3"] .ph-3) :is(.grow,.grow-down,.drop,.rise,.pop) { opacity:1; transform:none; }
:is(.build-scene:not([data-stage="0"]) .ph-1,.build-scene:is([data-stage="2"],[data-stage="3"]) .ph-2,.build-scene[data-stage="3"] .ph-3) .fade { opacity:1; }
.build-scene[data-stage="3"] .warm { fill:#ecd49a; }
/* Concept lines step back as the structure takes over; drawings stay for estimating. */
.build-scene:not([data-scene="2"])[data-stage="2"] .ph-1 { opacity:.45; }
.build-scene:not([data-scene="2"])[data-stage="3"] .ph-1 { opacity:0; }
.build-scene .footing { transition:transform .85s var(--ease) calc(var(--i,0) * 95ms),opacity .8s ease; }
.build-scene[data-stage="3"] .footing { opacity:0; }
.build-scene .crane { transition:opacity .7s ease,transform .9s var(--ease); }
.build-scene[data-stage="3"] .crane { opacity:0; transform:translateY(-26px); }
.build-scene .car-track { opacity:0; transition:opacity .8s ease 1.4s; }
.build-scene[data-stage="3"] .car-track { opacity:1; }
.build-scene .car { transform:translateX(760px); }
.build-scene.is-instant,.build-scene.is-instant * { transition:none!important; }
/* Paused: stage changes land without movement. */
html[data-motion-paused=true] .build-scene,html[data-motion-paused=true] .build-scene * { transition:none!important; }

/* ---------- Continuous life (pauses with the global control) ---------- */
.build-scene.is-animated .cloud-a { animation:cloud-drift 34s ease-in-out infinite alternate; }
.build-scene.is-animated .cloud-b { animation:cloud-drift 28s ease-in-out infinite alternate-reverse; }
.build-scene.is-animated[data-stage="2"] .hook { animation:crane-hook 2.8s ease-in-out infinite alternate; }
.build-scene.is-animated[data-stage="2"] .scan-line { opacity:.85; animation:take-scan 3.2s ease-in-out infinite alternate; }
.build-scene.is-animated[data-stage="3"] .walk-a { animation:walk-a 9s ease-in-out infinite alternate; }
.build-scene.is-animated[data-stage="3"] .walk-b { animation:walk-b 11s ease-in-out infinite alternate; }
.build-scene.is-animated[data-stage="3"] .car { animation:drive 16s linear 2s infinite; }
@keyframes cloud-drift { from { transform:translateX(0); } to { transform:translateX(90px); } }
@keyframes crane-hook { from { transform:translateX(-60px); } to { transform:translateX(30px); } }
@keyframes take-scan { from { transform:translateX(0); } to { transform:translateX(620px); } }
@keyframes walk-a { from { transform:translateX(0); } to { transform:translateX(64px); } }
@keyframes walk-b { from { transform:translateX(0); } to { transform:translateX(-56px); } }
@keyframes drive { from { transform:translateX(-120px); } to { transform:translateX(1100px); } }

/* ---------- Global pause control ---------- */
.motion-toggle { position:fixed; left:16px; bottom:15px; z-index:60; display:flex; align-items:center; gap:0; border:1px solid #d6bf8766; padding:0 13px; background:#102d25ed; backdrop-filter:blur(12px); color:#eee7d1; font:10px 'Poppins',sans-serif; letter-spacing:1px; box-shadow:0 6px 22px #08281d22; min-height:42px; min-width:42px; }
.motion-toggle>span { max-width:0; overflow:hidden; white-space:nowrap; opacity:0; transition:max-width .3s var(--motion-ease),opacity .2s,margin .3s; }
.motion-toggle:hover>span,.motion-toggle:focus-visible>span,.motion-toggle[aria-pressed=true]:not(:disabled)>span { max-width:160px; opacity:1; margin-left:9px; }
.motion-toggle:hover { background:#063f32; }
.motion-toggle:disabled { opacity:.8; cursor:default; }
html:not([data-motion-ready=true]) .motion-toggle { display:none; }
html[data-motion-paused=true] *,html[data-motion-paused=true] *:before,html[data-motion-paused=true] *:after { animation-play-state:paused!important; }

/* Estimating worksheet rows are reviewed one by one. */
html[data-motion-ready=true] .doc-table>div:not(:first-child) { animation:worksheet-review 5s ease-in-out infinite; }
.doc-table>div:nth-child(3) { animation-delay:.6s!important; }
.doc-table>div:nth-child(4) { animation-delay:1.2s!important; }
.doc-table>div:nth-child(5) { animation-delay:1.8s!important; }
@keyframes worksheet-review { 0%,65%,100% { background:transparent; } 25%,45% { background:#f0e7cf; } }

@media(max-width:1100px) {
  .build-head { flex-direction:column; align-items:flex-start; gap:22px; }
  .build-tabs { justify-content:flex-start; }
  .build-body { grid-template-columns:1fr; gap:26px; }
  .build-copy { max-width:620px; }
}
@media(max-width:760px) {
  .motion-toggle { bottom:10px; left:10px; padding:0 12px; font-size:9px; min-height:42px; }
  .build-studio { padding:58px 0 18px; }
  .build-head { padding-bottom:20px; }
  .build-head h2 { font-size:42px; }
  .build-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); width:100%; gap:6px; }
  .build-tabs button { flex-direction:column; align-items:flex-start; gap:4px; padding:10px; min-height:66px; font-size:10.5px; line-height:1.35; }
  .build-tabs button>span { font-size:17px; }
  .build-frame { overflow:hidden; margin:0 -20px; }
  .build-scene:not([data-scene="2"]) { width:122%; margin-left:-11%; }
  .build-scene[data-scene="2"] { width:111%; margin-left:-11%; }
  .build-stages { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .build-stages>button { flex-direction:column; gap:4px; padding:12px 10px 10px 0; font-size:10.5px; line-height:1.35; }
  .build-stage-number { font-size:18px; }
  .build-stage-rule { right:10px; }
  .build-replay { grid-column:1/-1; justify-self:start; flex-direction:row!important; padding:4px 0 6px!important; }
  .build-caption { font-size:12.5px; min-height:5.4em; }
  .build-copy h3 { font-size:39px; }
  .build-actions .button { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .build-scene *,.build-scene { transition:none!important; animation:none!important; }
  .build-stage-rule { transition:none; }
  *,*:before,*:after { animation:none!important; }
}

/* ---------- Scroll-built hero (owner requests 2026-11-02) ----------
   Full-bleed behind the floating header. The development is built as the
   visitor scrolls: the hero pins at the top of the viewport while a time-lapse
   is scrubbed from groundwork to an open, lived-in place. The pinned layout is
   pure CSS (SSR state data-scrub=auto), so hydration causes no layout shift.
   With reduced motion, or if the clip fails (data-scrub=off), the hero is a
   normal static image. */
.hero-track { position:relative; --pin-top:110px; margin-top:calc(-1 * var(--pin-top)); }
@media (max-width:1100px) { .hero-track { --pin-top:94px; } }
@media (max-width:760px) { .hero-track { --pin-top:86px; } }
.hero-track .hero { height:max(700px, 100vh); height:max(700px, 100svh); }
.hero-track .hero-content { padding-top:calc(var(--pin-top) + clamp(64px, calc((100svh - var(--pin-top) - 470px) / 2), 210px)); }
.hero-track:not([data-scrub=off]) { height:250vh; height:250svh; }
.hero-track:not([data-scrub=off]) .hero { position:sticky; top:0; }
.hero-track .hero-shade { background:radial-gradient(ellipse 70% 62% at 50% 48%, rgba(8,33,26,.6), rgba(8,33,26,.34) 72%, rgba(8,33,26,.22)), linear-gradient(0deg, rgba(5,22,17,.5), transparent 38%); }
.hero-video,.hero-still { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 48%; pointer-events:none; }
.hero-video { opacity:0; transition:opacity .7s ease; background:transparent; }
.hero-track.is-ready .hero-video { opacity:1; }
.hero-still { display:none; }
@media (max-aspect-ratio:4/5) { .hero-track .hero-image,.hero-video,.hero-still { object-position:center; } }

/* Phase indicator: a compact line under the header, quiet next to the headline. */
.hero-phases { display:none; position:absolute; z-index:2; left:50%; top:calc(var(--pin-top) + 24px); transform:translateX(-50%); width:min(420px, calc(100% - 44px)); color:var(--ivory); text-align:center; }
.hero-track:not([data-scrub=off]) .hero-phases { display:block; }
.hero-phases-hint { position:absolute; left:0; right:0; top:100%; margin-top:12px; font-size:9px; letter-spacing:2.2px; color:#d6bf87; opacity:calc(1 - var(--build, 0) * 30); transition:opacity .3s; }
.hero-phases ol { list-style:none; margin:0; padding:0 0 12px; position:relative; }
.hero-phases ol::before,.hero-phases ol::after { content:""; position:absolute; left:0; right:0; bottom:0; height:1px; background:rgba(255,255,255,.28); }
.hero-phases ol::after { background:#d6bf87; transform-origin:left center; transform:scaleX(var(--build, 0)); }
.hero-phases li { display:none; align-items:baseline; justify-content:center; gap:12px; font-size:10px; letter-spacing:1.6px; text-transform:uppercase; white-space:nowrap; }
.hero-phases li.is-active { display:flex; animation:phase-in .45s ease both; }
.phase-number { font-family:'Cormorant Garamond',Georgia,serif; font-size:17px; letter-spacing:0; color:#d6bf87; }
.phase-number i { font-style:normal; font-size:12px; color:rgba(255,255,255,.55); }
.phase-label { font-weight:500; }
.phase-detail { text-transform:none; letter-spacing:.2px; font-size:11px; color:rgba(240,238,228,.78); }
.phase-detail::before { content:"·"; margin-right:12px; color:#d6bf87; }
@keyframes phase-in { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }

/* Wide screens: a vertical rail on the right edge, every phase visible. */
@media (min-width:1360px) {
  .hero-phases { left:auto; right:48px; top:calc(50% + var(--pin-top) / 2); transform:translateY(-50%); width:190px; text-align:left; }
  .hero-phases-hint { position:static; display:block; margin:0 0 20px 22px; }
  .hero-phases ol { padding:0 0 0 22px; display:grid; gap:20px; }
  .hero-phases ol::before,.hero-phases ol::after { left:0; right:auto; top:6px; bottom:6px; width:1px; height:auto; }
  .hero-phases ol::after { transform-origin:center top; transform:scaleY(var(--build, 0)); }
  .hero-phases li { display:grid; grid-template-columns:auto 1fr; column-gap:10px; justify-content:start; position:relative; white-space:normal; opacity:.48; transition:opacity .4s; }
  .hero-phases li::before { content:""; position:absolute; left:-25px; top:6px; width:7px; height:7px; border-radius:50%; background:#0a251d; border:1px solid rgba(255,255,255,.5); transition:background .4s,border-color .4s; }
  .hero-phases li.is-done { opacity:.72; }
  .hero-phases li.is-done::before,.hero-phases li.is-active::before { background:#d6bf87; border-color:#d6bf87; }
  .hero-phases li.is-active { display:grid; opacity:1; animation:none; }
  .phase-number i { display:none; }
  .phase-detail { grid-column:2; max-height:0; overflow:hidden; opacity:0; transition:max-height .4s, opacity .4s; }
  .phase-detail::before { content:none; }
  .hero-phases li.is-active .phase-detail { max-height:40px; opacity:1; margin-top:4px; }
}
@media (max-width:760px) {
  .hero-track .hero { height:max(780px, 100svh); }
  .hero-track .hero-content { padding-top:calc(var(--pin-top) + clamp(70px, calc((100svh - var(--pin-top) - 560px) / 2), 140px)); }
  .hero-phases { top:calc(var(--pin-top) + 18px); }
  .hero-phases li { gap:8px; font-size:9px; letter-spacing:1.2px; }
  .phase-detail { display:none; }
  .hero-phases-hint { font-size:8px; margin-top:9px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-track { height:auto !important; }
  .hero-track .hero { position:relative !important; top:auto !important; }
  .hero-still { display:block; }
  .hero-video,.hero-phases { display:none !important; }
}

/* ---------- Header: no hard edges ----------
   Over the Home hero the header is a frosted veil that feathers into the video
   (no band, no rule). Elsewhere the scrolled header keeps its forest glass but
   ends in a soft shadow instead of a gold hairline. */
.header { isolation:isolate; }
.header-inner { position:relative; z-index:1; }
.header::before { content:""; position:absolute; left:0; right:0; top:0; height:calc(100% + 64px); z-index:-1; pointer-events:none; opacity:0; transition:opacity .5s ease;
  background:linear-gradient(180deg, rgba(6,27,21,.62) 0%, rgba(6,27,21,.38) 52%, rgba(6,27,21,.12) 78%, rgba(6,27,21,0) 100%);
  -webkit-backdrop-filter:blur(12px) saturate(1.12); backdrop-filter:blur(12px) saturate(1.12);
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 48%, rgba(0,0,0,.55) 72%, transparent 100%); mask-image:linear-gradient(180deg, #000 0%, #000 48%, rgba(0,0,0,.55) 72%, transparent 100%); }
.header.is-scrolled { border-bottom-color:transparent; box-shadow:0 22px 44px -26px rgba(9,30,23,.42); }
.header.over-hero,.header.over-hero.is-scrolled { background:transparent; color:var(--ivory); border-bottom-color:transparent; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
.header.over-hero::before { opacity:1; }
.header.over-hero .brand-default { opacity:0; }
.header.over-hero .brand-light { opacity:1; }
.header.over-hero .nav a { color:var(--ivory); }
.header.over-hero .nav a:hover,.header.over-hero .nav a.nav-current { color:#e5d4a7; }
.header.over-hero .nav a:after,.header.over-hero .nav a.nav-current:after { background:#d2bc83; }
.header.over-hero .nav-cta { background:rgba(210,188,131,.94); color:var(--deep); }
.header.over-hero .nav-cta:hover { background:#e5d4a7; }
.header.over-hero .menu-button { color:var(--ivory); }
.header.over-hero button:focus-visible,.header.over-hero a:focus-visible { outline-color:#e5d4a7; }
@media (max-width:1100px) {
  .header.over-hero .nav { background:rgba(10,37,29,.97); border-bottom-color:transparent; }
}

/* ---------- Home: how an estimate is prepared (scroll-scrubbed, 2026-11-03) ----------
   Measure the drawings -> Excel takeoff -> local pricing -> review. JS writes --s1..--s4
   (stage progress) and per-element --k; everything else is CSS. Values are illustrative. */
.estimating-section { align-items:start; --ep-top:130px; }
.estimate-process { --ep-h:clamp(500px, calc(100svh - var(--ep-top) - 28px), 650px); --shrink:.55; position:relative; height:calc(var(--ep-h) + 230svh); }
.ep-stage { --s1:0; --s2:0; --s3:0; --s4:0; position:sticky; top:var(--ep-top); height:var(--ep-h); display:flex; flex-direction:column; }
@media (min-width:761px) { .estimating-section .estimate-copy { position:sticky; top:var(--copy-top, var(--ep-top)); } }

.ep-head { position:relative; padding-bottom:62px; }
.ep-hint { display:block; margin-bottom:14px; font-size:9px; letter-spacing:1.6px; color:#5b6b56; }
.ep-hint i { font-style:normal; color:var(--gold); }
.ep-steps { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; position:relative; }
.ep-steps li { display:flex; align-items:baseline; gap:8px; padding-bottom:11px; color:#8f9585; transition:color .3s; }
.ep-num { font-family:'Cormorant Garamond',Georgia,serif; font-size:21px; line-height:1; color:#cbbd96; transition:color .3s; }
.ep-steps strong { font-size:10px; font-weight:500; letter-spacing:.5px; text-transform:uppercase; }
.ep-steps li.is-done { color:#4e5b4f; }
.ep-steps li.is-done .ep-num { color:#b19a5d; }
.ep-steps li.is-active { color:var(--ink); }
.ep-steps li.is-active .ep-num { color:var(--gold); }
.ep-steps p { position:absolute; left:0; right:0; top:calc(100% + 14px); max-width:480px; margin:0; font-size:12px; line-height:1.6; color:#5f685e; opacity:0; transform:translateY(6px); transition:opacity .35s, transform .35s; pointer-events:none; }
.ep-steps li.is-active p { opacity:1; transform:none; }
.ep-progress { height:1px; background:#dcdccf; }
.ep-progress i { display:block; height:2px; margin-top:-.5px; background:var(--gold); transform-origin:0 50%; transform:scaleX(0); }

.ep-scene { position:relative; flex:1; min-height:0; }
.ep-drawing { --d:min(1, calc(var(--s2) * 3)); position:absolute; inset:0; margin:0; transform-origin:0 0; transform:scale(calc(1 - var(--d) * var(--shrink))); opacity:calc(1 - min(1, calc(var(--s4) * 2.5)) * .6); }
.ep-drawing svg { display:block; width:100%; height:100%; overflow:visible; filter:drop-shadow(0 18px 26px #1d33221f); }
.ep-paper { fill:#fbfaf3; stroke:#d8d6c8; }
.ep-grid-lines line { stroke:#bcc2b1; stroke-width:.6; stroke-dasharray:6 3 1 3; }
.ep-bubbles circle { fill:#fbfaf3; stroke:#7b8574; stroke-width:.8; }
.ep-drawing text { font-family:Poppins,sans-serif; fill:#4e5b4f; }
.ep-bubbles text { font-size:8px; text-anchor:middle; }
.ep-wall { fill:none; stroke:#22302a; stroke-width:5; }
.ep-partition { fill:none; stroke:#3b4a42; stroke-width:2.6; }
.ep-openings rect { fill:#fbfaf3; }
.ep-door { fill:none; stroke:#6c776a; stroke-width:.8; }
.ep-room-labels text { font-size:6.5px; letter-spacing:1px; text-anchor:middle; fill:#858c78; }
.ep-dims path { fill:none; stroke:#7b8574; stroke-width:.7; }
.ep-dims text { font-size:8px; text-anchor:middle; }
#ep-hatch line { stroke:#c9ad62; stroke-width:1.5; }
.ep-hatch { fill:url(#ep-hatch); opacity:calc(var(--k,0) * .85); }
.ep-trace { fill:none; stroke:#b8902f; stroke-width:3.2; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:1 1; stroke-dashoffset:calc(1 - var(--k,0)); }
.ep-trace-partitions { stroke:#0f6a52; stroke-width:2.2; }
.ep-door-marks g { opacity:var(--k,0); }
.ep-door-marks circle { fill:#aa893c; }
.ep-door-marks text { font-size:7px; font-weight:600; text-anchor:middle; fill:#fffef8; }
.ep-cursor { opacity:0; transition:opacity .2s; }
.ep-cursor circle { fill:#fffef8a8; stroke:#b8902f; stroke-width:1.2; }
.ep-cursor path { stroke:#b8902f; stroke-width:1; }
.ep-titleblock rect { fill:none; stroke:#9aa18f; stroke-width:.7; }
.ep-titleblock text { font-size:5.5px; letter-spacing:.5px; }
.ep-titleblock .ep-sheet-no { font-family:'Cormorant Garamond',Georgia,serif; font-size:13px; font-weight:600; fill:var(--forest); }

.ep-label { display:block; font-size:8px; letter-spacing:1.4px; color:#7c836d; }
.ep-readout { --out:min(1, calc(var(--s2) * 3.5)); position:absolute; right:-10px; top:30%; width:min(230px, 46%); padding:13px 16px 8px; background:#fffef8; border:1px solid #dedfd6; box-shadow:0 18px 32px -20px #1d332250; opacity:calc(min(1, calc(var(--s1) * 8)) - var(--out)); transform:translateY(calc(var(--out) * 16px)); }
.ep-readout-row { display:flex; justify-content:space-between; gap:12px; padding:7px 0; border-top:1px solid #ecebe2; font-size:11px; color:#576450; opacity:calc(.22 + var(--k,0) * .78); }
.ep-readout-row:first-of-type { margin-top:8px; }
.ep-readout-row strong { font-weight:500; color:var(--ink); font-variant-numeric:tabular-nums; white-space:nowrap; }

.ep-sheet { --e:min(1, calc(max(0, calc(var(--s2) - .1)) * 3.4)); position:absolute; right:0; bottom:0; width:80%; background:#fffef8; border:1px solid #d6d9cd; box-shadow:0 26px 44px -26px #1d332260; font-size:10px; font-variant-numeric:tabular-nums; opacity:calc(var(--e) * (1 - min(1, calc(var(--s4) * 2.5)) * .62)); transform:translateY(calc((1 - var(--e)) * 28px)); }
.ep-sheet-bar { display:flex; align-items:center; gap:8px; padding:7px 10px; background:var(--forest); color:#f1eee2; font-size:10px; letter-spacing:.3px; }
.ep-sheet-bar svg { color:#d2bc83; }
.ep-sheet-bar i { margin-left:auto; font-style:normal; font-size:9px; opacity:.7; }
.ep-formula { display:grid; grid-template-columns:24px 1fr; align-items:center; padding:5px 10px; border-bottom:1px solid #e1e3d9; color:#4e5b4f; font-family:ui-monospace,Menlo,Consolas,monospace; font-size:10px; }
.ep-formula b { font-family:'Cormorant Garamond',Georgia,serif; font-style:italic; font-size:14px; color:var(--gold); }
.ep-formula span { grid-area:1/2; }
.ep-f1 { opacity:calc(1 - min(1, calc(var(--s3) * 4))); }
.ep-f2 { opacity:min(1, calc(var(--s3) * 4)); }
.ep-row { display:grid; grid-template-columns:22px minmax(0,1fr) 46px 38px 62px 64px; border-bottom:1px solid #e6e7de; }
.ep-row>span { padding:6px 7px; border-left:1px solid #e6e7de; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.ep-row>span:first-child { border-left:0; padding:6px 0; text-align:center; background:#f1f1ea; color:#8a917f; font-size:9px; }
.ep-row>span:nth-child(3), .ep-row>span:nth-child(5), .ep-row>span:nth-child(6) { text-align:right; }
.ep-letters>span { padding:3px 7px; background:#f1f1ea; color:#8a917f; font-size:8.5px; text-align:center!important; }
.ep-headrow>span { background:#f7f5ec; color:#2d3a33; font-weight:500; font-size:9.5px; }
.ep-line { background:rgb(210 188 131 / calc(var(--k,0) * (1 - var(--k,0)) * 1.6)); }
.ep-line .ep-cell { opacity:var(--k,0); transform:translateX(calc((1 - var(--k,0)) * -6px)); color:#2d3a33; }
.ep-price { opacity:var(--k,0); color:var(--forest); background:rgb(210 188 131 / calc(var(--k,0) * (1 - var(--k,0)) * 2.2)); }
.ep-total { background:rgb(243 238 222 / var(--k,0)); }
.ep-total .ep-cell { opacity:var(--k,0); font-weight:600; color:var(--ink); }
.ep-total b { font-weight:600; }

.ep-location { --e:min(1, calc(var(--s3) * 4.5)); position:absolute; right:0; top:2%; width:min(250px, 46%); display:flex; align-items:flex-start; gap:12px; padding:14px 16px; background:var(--deep); color:#eeeade; box-shadow:0 18px 30px -18px #10231c70; opacity:calc(var(--e) * (1 - min(1, calc(var(--s4) * 2.5)) * .62)); transform:translateY(calc((1 - var(--e)) * -14px)); }
.ep-location svg { flex:none; margin-top:2px; color:#d2bc83; }
.ep-location .ep-label { color:#aeb8a8; }
.ep-location strong { display:block; margin:3px 0 2px; font-family:'Cormorant Garamond',Georgia,serif; font-size:24px; font-weight:500; line-height:1.05; }
.ep-location em { font-style:normal; font-size:10px; line-height:1.4; color:#d9d4c2; }

.ep-doc { --e:min(1, calc(var(--s4) * 2.2)); position:absolute; left:50%; top:47%; width:min(380px, 78%); padding:26px 26px 16px; background:#fffef8; border:1px solid #dedfd6; box-shadow:0 34px 54px -28px #1d332266; opacity:var(--e); transform:translate(-50%, calc(-50% + (1 - var(--e)) * 70px)) rotate(calc(-3deg * var(--e))); pointer-events:none; }
.ep-doc h3 { margin:10px 0 14px; font-family:'Cormorant Garamond',Georgia,serif; font-size:34px; font-weight:500; line-height:1; letter-spacing:-.8px; }
.ep-doc ul { list-style:none; margin:0; padding:0; }
.ep-doc li { display:flex; align-items:center; gap:9px; padding:8px 0; border-bottom:1px solid #e3e5dc; font-size:11px; color:#576450; opacity:calc(.3 + var(--k,0) * .7); }
.ep-doc li svg { flex:none; color:var(--forest); opacity:var(--k,0); transform:scale(calc(.4 + var(--k,0) * .6)); }
.ep-doc .doc-footer { margin-top:16px; }
.ep-tag { position:absolute; left:0; bottom:0; display:flex; align-items:center; gap:14px; padding:12px 18px 0 0; border-top:1px solid var(--gold); background:var(--ivory); color:var(--deep); font-size:12px; line-height:1.55; opacity:min(1, calc(max(0, calc(var(--s4) - .55)) * 3)); }
.ep-tag svg { color:var(--gold); }
.ep-tag strong { font-weight:500; }
.ep-note { margin:12px 0 0; font-size:9px; letter-spacing:.3px; color:#8a917f; }

@media (max-width:1100px) {
  .estimating-section { --ep-top:114px; }
  .ep-row { grid-template-columns:20px minmax(0,1fr) 42px 34px 58px 58px; }
  .ep-row>span { padding:6px 5px; }
}
@media (max-width:760px) {
  .estimating-section { --ep-top:100px; }
  .estimate-process { --ep-h:clamp(500px, calc(100svh - var(--ep-top) - 16px), 620px); --shrink:.6; height:calc(var(--ep-h) + 210svh); }
  .ep-head { padding-bottom:72px; }
  .ep-hint { margin-bottom:10px; font-size:8px; }
  .ep-steps { gap:6px; }
  .ep-steps li { flex-direction:column; gap:3px; padding-bottom:9px; }
  .ep-num { font-size:18px; }
  .ep-steps strong { font-size:8px; letter-spacing:.3px; }
  .ep-steps p { top:calc(100% + 10px); font-size:11px; line-height:1.5; }
  .ep-readout { right:0; top:auto; bottom:4%; width:62%; padding:10px 12px 6px; }
  .ep-readout-row { font-size:10px; padding:5px 0; }
  .ep-sheet { width:100%; font-size:9px; }
  .ep-sheet-bar { font-size:9px; padding:6px 8px; }
  .ep-formula { padding:4px 8px; font-size:9px; }
  .ep-row { grid-template-columns:16px minmax(0,1fr) 36px 30px 46px 52px; }
  .ep-tag { display:none; }
  .ep-row>span { padding:5px 4px; }
  .ep-row>span:first-child { font-size:8px; }
  .ep-headrow>span { font-size:8px; }
  .ep-location { width:58%; padding:11px 12px; gap:9px; }
  .ep-location strong { font-size:20px; }
  .ep-location em { font-size:9px; }
  .ep-doc { width:84%; padding:20px 20px 12px; top:44%; }
  .ep-doc h3 { font-size:28px; }
  .ep-doc li { font-size:10px; padding:6px 0; }
  .ep-tag { font-size:11px; }
}
@media (max-width:360px) {
  .ep-row { grid-template-columns:14px minmax(0,1fr) 32px 28px 40px 48px; font-size:8.5px; }
  .ep-row>span { padding:5px 3px; }
}
@media (prefers-reduced-motion:reduce) {
  .estimate-process { height:auto; }
  .ep-stage { --s1:1; --s2:1; --s3:1; --s4:1; position:relative; top:auto; height:auto; }
  .ep-stage [data-k] { --k:1!important; }
  .estimating-section .estimate-copy { position:static; }
  .ep-head { padding-bottom:22px; }
  .ep-steps { grid-template-columns:1fr 1fr; gap:14px 20px; }
  .ep-steps li { display:block; color:var(--ink); }
  .ep-steps p { position:static; margin-top:6px; opacity:1; transform:none; }
  .ep-progress, .ep-cursor { display:none; }
  .ep-scene { height:520px; flex:none; }
}

/* Back-to-top arrow: appears after scrolling, bottom-right, mirrors the motion toggle. */
.back-to-top { position:fixed; right:16px; bottom:15px; z-index:60; display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #d6bf8766; background:#102d25ed; backdrop-filter:blur(12px); color:#eee7d1; box-shadow:0 6px 22px #08281d22; opacity:0; visibility:hidden; transform:translateY(10px); transition:opacity .25s ease,transform .3s var(--motion-ease, ease),visibility 0s linear .3s,background .2s; }
.back-to-top.is-visible { opacity:1; visibility:visible; transform:none; transition:opacity .25s ease,transform .3s var(--motion-ease, ease),visibility 0s,background .2s; }
.back-to-top:hover { background:#063f32; }
.back-to-top:hover svg { transform:translateY(-2px); }
.back-to-top svg { transition:transform .2s ease; }
@media(max-width:760px) { .back-to-top { right:10px; bottom:10px; width:42px; height:42px; } }
@media print { .back-to-top { display:none; } }

/* City page landmark sketch beside the heading. */
.guide-heading.has-landmark { max-width:none; display:grid; grid-template-columns:minmax(0,1fr) minmax(320px,540px); gap:clamp(28px,3.5vw,56px); align-items:center; }
.guide-heading.has-landmark .location-heading-copy { min-width:0; max-width:820px; }
.guide-heading.has-landmark h1 { font-size:clamp(50px,4.6vw,72px); }
.location-landmark { margin:0; position:relative; animation:landmark-in .9s cubic-bezier(.22,1,.36,1) both .1s; }
.location-landmark img { display:block; width:100%; height:auto; -webkit-mask-image:radial-gradient(ellipse 72% 70% at 50% 50%,#000 72%,transparent 100%); mask-image:radial-gradient(ellipse 72% 70% at 50% 50%,#000 72%,transparent 100%); }
.location-landmark figcaption { display:flex; align-items:center; gap:12px; margin-top:6px; padding-left:6%; font-size:9px; letter-spacing:1.6px; text-transform:uppercase; color:#6b7166; }
.location-landmark figcaption span { width:26px; height:1px; background:var(--gold); flex:none; }
@keyframes landmark-in { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@media(max-width:1100px) { .guide-heading.has-landmark { grid-template-columns:minmax(0,1fr) minmax(260px,38%); } .guide-heading.has-landmark h1 { font-size:46px; } }
@media(max-width:760px) {
  .guide-heading.has-landmark { grid-template-columns:minmax(0,1fr); gap:18px; }
  .guide-heading.has-landmark h1 { font-size:43px; }
  .location-landmark { max-width:460px; margin:0 auto 0 -4px; width:calc(100% + 8px); }
  .location-landmark figcaption { padding-left:4%; }
}

/* Site sketches (2026-11): editorial heroes + footer use the same pen-and-ink style as the landmark sketches. */
.editorial-image.is-sketch { background: var(--ivory); }
.editorial-image.is-sketch::after { display: none; }
.editorial-image.is-sketch > img { object-fit: contain; object-position: center; }
.editorial-image.is-sketch > figcaption { color: var(--forest); bottom: 6px; }
.about-page .editorial-image.is-sketch > img { object-position: center; }
.estimating-image.is-sketch > img { object-position: center top; height: calc(100% - 92px); }
.estimating-image.is-sketch > figcaption { top: 6px; bottom: auto; }

.footer-main { padding-bottom: 0; }
.footer-atmosphere { position: relative; inset: auto; z-index: 0; height: clamp(190px, 27vw, 420px); margin-top: clamp(-40px, -2vw, -10px); pointer-events: none; }
.footer-atmosphere::after { display: none; }
.footer-atmosphere img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; filter: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 28%, #000 55%); mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.55) 28%, #000 55%); }
.footer-bottom { background: var(--deep); box-shadow: 0 0 0 100vmax var(--deep); clip-path: inset(0 -100vmax); border-top: 0; }
@media (max-width: 1100px) { .footer-main { padding-bottom: 0; } }
@media (max-width: 760px) {
  .footer-main { padding-bottom: 0; }
  .footer-atmosphere { height: 210px; margin-top: 10px; }
  .footer-atmosphere img { object-position: 46% bottom; }
}
@media (max-width: 760px) {
  .estimating-image.is-sketch { min-height: 0; display: flex; flex-direction: column; }
  .estimating-image.is-sketch > img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; margin-top: 18px; }
  .estimating-image.is-sketch .image-caption-panel { position: relative; width: 100%; }
}

/* Scroll-driven journeys (About "From first conversation", Estimating workflow).
   JS sets data-scrub=on only when the pinned journey fits the screen; otherwise click-only tabs. */
.journey-rail { position:relative; }
.journey-rail[data-scrub=on] > .interactive-journey { position:sticky; top:var(--journey-top, 116px); }
.journey-progress span { position:relative; overflow:hidden; }
.journey-progress span i { position:absolute; inset:0; background:#f1e2b6; transform-origin:0 50%; transform:scaleX(0); }
.journey-rail[data-scrub=on] .journey-progress span.current { background:#ffffff2c; }
.journey-rail[data-scrub=on] .journey-progress span.current i { background:#d6bf87; transform:scaleX(var(--journey-k, 0)); }
.journey-rail[data-scrub=on] .journey-navigation button { transition:color .35s; }
@media (max-width:760px) {
  /* Pinned on phones: the step list becomes a compact numbered strip above the panel. */
  .journey-rail[data-scrub=on] .journey-navigation { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; padding:8px 12px; }
  .journey-rail[data-scrub=on] .journey-navigation button { min-height:52px; padding:8px 0; justify-content:center; border-bottom:2px solid transparent; }
  .journey-rail[data-scrub=on] .journey-navigation button[aria-selected=true] { border-bottom-color:var(--gold); }
  .journey-rail[data-scrub=on] .journey-number { font-size:30px; }
  .journey-rail[data-scrub=on] .journey-navigation button > svg { display:none; }
  .journey-rail[data-scrub=on] .journey-tab-copy { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
  .journey-rail[data-scrub=on] .journey-help { grid-column:1 / -1; padding:6px 0 2px; font-size:10px; text-align:center; }
  .journey-rail[data-scrub=on] .journey-stage { min-height:0; padding:22px 22px 20px; }
  .journey-rail[data-scrub=on] .journey-big-number { font-size:44px; margin:14px 0 4px; }
  .journey-rail[data-scrub=on] .journey-stage h3 { font-size:30px; margin-bottom:10px; }
  .journey-rail[data-scrub=on] .journey-stage p { font-size:13px; line-height:1.65; }
  .journey-rail[data-scrub=on] .journey-stage ul { margin:14px 0 16px; gap:8px; }
  .journey-rail[data-scrub=on] .journey-progress { margin-top:16px; }
}
