/* Carolina Trade Sites v4 — “The Estimate Sheet”, simplified.
   Paper identity kept; the document motif now lives only where it earns
   its place (hero estimator + pricing). Everything else is plain,
   compact, and readable. Content is never hidden without JS (see .rv). */
/* v8 tokens — Barlow Condensed display, Barlow body, contrast-fixed palette */
:root{
  --paper:#f6f1e4; --paper-2:#fffdf8; --ink:#1b1712; --ink-2:#57503f; --muted:#57503f;
  --rule:#d8cfb8; --blue:#1f4e9e; --blue-dark:#173f7d; --red:#a63a28;--red-light:#e4694e; --green:#276749;
  --max:1180px; --font-display:"Barlow Condensed","Arial Narrow",Arial,sans-serif; --font-body:"Barlow",Arial,sans-serif;
  --font-mono:"IBM Plex Mono",Consolas,monospace;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 12% 4%,rgba(36,86,166,.045),transparent 26rem),linear-gradient(rgba(25,23,18,.018) 1px,transparent 1px),var(--paper);background-size:auto,100% 28px,auto;color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
::selection{background:var(--blue);color:#fff}
a{color:var(--blue-dark);text-underline-offset:.18em}a:hover{color:var(--red)}
button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
.skip{position:absolute;left:16px;top:-60px;z-index:20;background:var(--ink);color:#fff;padding:10px 14px}.skip:focus{top:12px;color:#fff}
img{max-width:100%;display:block}
picture{display:contents}
h1,h2,h3{font-family:var(--font-display);color:var(--ink);letter-spacing:-.03em;line-height:1.02;margin:0}
h2{font-size:clamp(1.9rem,3.6vw,2.9rem);font-weight:850}
h3{letter-spacing:-.015em}
p{margin:0}

/* Reveal — hidden state exists ONLY when JS + IO are live (html.reveal-on). */
.rv{transition:opacity .55s ease,transform .55s cubic-bezier(.22,1,.36,1)}
html.reveal-on .rv{opacity:0;transform:translateY(14px)}
html.reveal-on .rv.in{opacity:1;transform:none}

/* Masthead */
.masthead{border-bottom:3px solid var(--ink);background:#fffdf8}
.mast{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 0}
.wordmark{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);font-family:var(--font-display);font-weight:850;font-size:1.28rem;line-height:.95;letter-spacing:-.02em}
.wordmark-mark{display:grid;place-items:center;width:52px;height:52px;border:2.5px solid var(--ink);font-family:var(--font-display);font-size:1.25rem;font-weight:700;letter-spacing:.02em;line-height:1}
.index-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.index-nav a{font-family:var(--font-mono);font-size:.78rem;font-weight:600;letter-spacing:.04em;text-decoration:none;color:var(--ink);border:1.5px solid var(--ink);padding:9px 13px;background:var(--paper-2)}
.index-nav a:hover{border-color:var(--red);color:var(--red)}
.index-nav a.request-link{background:var(--red);border-color:var(--red);color:#fff}
.index-nav a.request-link:hover{background:var(--ink);border-color:var(--ink)}

/* Hero */
.hero{padding:52px 0 8px}
.hero-kicker{font-family:var(--font-mono);font-size:.76rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-dark);margin-bottom:18px}
.hero h1{font-size:clamp(2.7rem,6.4vw,5.2rem);font-weight:900}
.hero h1 span{color:var(--blue);text-decoration:underline;text-decoration-thickness:.055em;text-underline-offset:.1em}
.hero-statement{max-width:720px;font-size:1.09rem;color:var(--ink-2);margin-top:22px}
.hero-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:34px 0 6px;border-top:2px solid var(--ink);border-bottom:1px solid var(--rule)}
.hero-facts div{padding:14px 18px 14px 0}
.hero-facts dt{font-family:var(--font-mono);font-size:.68rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.hero-facts dd{margin:3px 0 0;font-weight:700;font-size:1.02rem}

/* Estimator card (shared engine styles — mirrored in summit-v2.css) */
.estimator-card{margin-top:36px;background:var(--paper-2);border:2px solid var(--ink);padding:clamp(22px,3.5vw,38px)}
.estimator-head{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:end;margin-bottom:26px}
.card-eyebrow{font-family:var(--font-mono);font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-dark);margin-bottom:10px}
.estimator-head h2{font-size:clamp(1.7rem,3vw,2.4rem)}
.estimator-head p{color:var(--ink-2)}
.estimator{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(22px,3.5vw,40px);align-items:start}
.est-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}
.est-field{border:0;padding:0;margin:0;min-width:0}
.est-wide{grid-column:1/-1}
.est-label{display:block;font-family:var(--font-mono);font-size:.7rem;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-2);margin-bottom:9px}
.est-label output{color:var(--blue-dark);font-weight:700}
.est-field select,.est-field input[type="number"]{width:100%;min-height:46px;border:1.5px solid var(--ink);background:#fff;color:var(--ink);padding:9px 11px;border-radius:0}
.est-field input[type="range"]{width:100%;accent-color:var(--blue);height:30px}
.est-scale{display:flex;justify-content:space-between;font-family:var(--font-mono);font-size:.75rem;color:var(--muted)}
.est-help{font-size:.85rem;color:var(--muted);margin-top:8px;max-width:52ch}
.seg{display:flex;border:1.5px solid var(--ink);background:#fff;padding:3px}
.seg label{flex:1;position:relative;cursor:pointer}
.seg input{position:absolute;opacity:0;inset:0;cursor:pointer}
.seg span{display:flex;flex-direction:column;align-items:center;padding:8px 2px;font-weight:650;font-size:.92rem;line-height:1.15}
.seg span i{font-style:normal;font-family:var(--font-mono);font-size:.75rem;color:var(--muted)}
.seg label + label{border-left:1.5px solid var(--ink)}
.seg input:checked + span{background:var(--blue);color:#fff}
.seg input:checked + span i{color:#d7e4f8}
.seg input:focus-visible + span{outline:3px solid var(--blue);outline-offset:-3px}
.est-checks{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center}
.check{display:inline-flex;align-items:center;gap:8px;font-weight:600;cursor:pointer}
.check input{width:19px;height:19px;accent-color:var(--blue)}
.est-checks select{width:auto;min-height:38px}
.est-sub{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-top:12px;font-weight:600}
.est-sub input[type="number"]{width:84px;min-height:38px}
.est-sub select{width:auto;min-height:38px}
.est-output{background:var(--paper);border:1.5px solid var(--ink);padding:22px}
.est-eyebrow{font-family:var(--font-mono);font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-dark)}
.est-math{font-family:var(--font-mono);font-size:.82rem;color:var(--ink-2);margin:10px 0 6px}
.est-lines{width:100%;border-collapse:collapse}
.est-lines td{padding:9px 0;border-top:1px solid var(--rule);vertical-align:top}
.est-lines td strong{display:block;font-size:.95rem}
.est-lines td span{display:block;font-size:.78rem;color:var(--muted);font-family:var(--font-mono)}
.est-lines td.num{text-align:right;font-family:var(--font-mono);font-weight:600;white-space:nowrap;padding-left:14px}
.est-total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;border-top:2.5px solid var(--ink);margin-top:6px;padding-top:14px}
.est-total span{font-weight:750}
.est-total strong{font-family:var(--font-display);font-size:clamp(1.35rem,2.4vw,1.8rem);color:var(--red);white-space:nowrap}
.est-note{font-size:.85rem;color:var(--ink-2);margin:12px 0 18px}
.action{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 19px;border:2px solid var(--ink);background:var(--paper-2);color:var(--ink);font-weight:750;text-decoration:none;transition:transform .18s ease,background .18s ease,color .18s ease}
.action:hover{transform:translateY(-2px);background:var(--ink);color:#fff}
.action.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.action.primary:hover{background:var(--red);border-color:var(--red)}
.action.wide{width:100%}

/* Sections */
.section{padding:46px 0 8px}
.section-intro{max-width:760px;margin-bottom:28px}
.section-intro p{color:var(--ink-2);margin-top:12px;font-size:1.03rem}

/* Sample-site tiles */
.demo-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.demo-tile{background:var(--paper-2);border:2px solid var(--ink);display:flex;flex-direction:column}
.demo-photo{position:relative;display:block}
.demo-photo img{width:100%;height:260px;object-fit:cover}
.demo-badge{position:absolute;top:12px;left:12px;background:var(--ink);color:#fff;font-family:var(--font-body);font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:6px 9px}
a:hover .demo-badge{color:#fff}
.skip:hover{color:#fff}
.demo-body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}
.demo-body h3{font-size:1.45rem}
.demo-meta{font-family:var(--font-mono);font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-dark)}
.demo-body ul{margin:4px 0 12px;padding-left:20px;color:var(--ink-2)}
.demo-body ul li{margin:4px 0}
.demo-body .action{margin-top:auto;align-self:flex-start}

/* Included */
.include-list{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:2px solid var(--ink);background:var(--paper-2)}
.include-list div{padding:22px;border-left:1px solid var(--rule)}
.include-list div:first-child{border-left:0}
.include-list h3{font-size:1.18rem;margin-bottom:8px}
.include-list p{color:var(--ink-2);font-size:.95rem;margin-bottom:12px}
.include-list strong{color:var(--blue-dark);font-size:.95rem}

/* Process */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;list-style:none;margin:0;padding:0}
.steps li{background:var(--paper-2);border:1.5px solid var(--ink);padding:22px}
.step-num{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;font-family:var(--font-display);font-weight:800;font-size:1.1rem;margin-bottom:14px}
.steps h3{font-size:1.2rem;margin-bottom:8px}
.steps p{color:var(--ink-2);font-size:.95rem}

/* Pricing */
.price-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}
.price-sheet{background:var(--paper-2);border:2px solid var(--ink);padding:28px}
.sheet-top{display:flex;justify-content:space-between;align-items:center;font-family:var(--font-mono);font-size:.7rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--rule);padding-bottom:12px;margin-bottom:18px}
.sheet-tag{border:2px solid var(--red);color:var(--red);padding:5px 8px;transform:rotate(-2deg)}
.sheet-tag.alt{border-color:var(--blue);color:var(--blue-dark)}
.price-sheet h3{font-size:1.55rem;margin-bottom:16px}
.sheet-line{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 0;border-top:1px solid var(--rule)}
.sheet-line span{display:block;font-size:.84rem;color:var(--muted)}
.sheet-line strong{white-space:nowrap}
.sheet-line select{min-height:42px;border:1.5px solid var(--ink);background:#fff;padding:6px 9px;font-family:var(--font-mono);font-size:.85rem}
.sheet-range{width:100%;accent-color:var(--blue);margin:2px 0 6px}
.sheet-total{display:flex;justify-content:space-between;align-items:baseline;border-top:2.5px solid var(--ink);margin-top:8px;padding-top:14px;font-weight:800;font-size:1.12rem}
.sheet-total strong{color:var(--red);font-size:1.3rem;white-space:nowrap}
.sheet-note{color:var(--ink-2);font-size:.92rem;margin:14px 0 18px}

/* Care */
.care-grid{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:20px}
.care-plan,.care-report{background:var(--paper-2);border:1.5px solid var(--ink);padding:22px}
.care-plan.plus{border-width:2px}
.care-grid h3{font-size:1.2rem;margin-bottom:10px}
.care-grid p{color:var(--ink-2);font-size:.95rem}
.care-report dl{display:flex;gap:26px;margin:6px 0 12px}
.care-report dt{font-family:var(--font-body);font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.care-report dd{margin:2px 0 0;font-family:var(--font-display);font-size:1.5rem;font-weight:800}

/* Reviews */
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.review{background:var(--paper-2);border:1.5px solid var(--ink);padding:22px}
.review .review-stars{color:var(--red);letter-spacing:.18em;margin-bottom:10px}
.review p{color:var(--ink-2)}
.review-meta{margin-top:14px;font-size:.86rem;color:var(--muted)}
.review-meta strong{color:var(--ink)}

/* FAQ */
.qa-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 44px}
.qa-grid details{border-top:1.5px solid var(--ink);padding:0}
.qa-grid summary{cursor:pointer;list-style:none;display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:17px 0}
.qa-grid summary::-webkit-details-marker{display:none}
.qa-grid summary::after{content:"+";font-family:var(--font-mono);font-weight:600;font-size:1.25rem;line-height:1;color:var(--red);flex:none}
.qa-grid details[open] summary::after{content:"–"}
.qa-grid .qa-q{font-size:1.12rem;font-weight:700;letter-spacing:-.015em}
.qa-grid details p{color:var(--ink-2);font-size:.96rem;padding:0 0 18px;margin:0}

/* Request form */
.request-sheet{background:var(--paper-2);border:2px solid var(--ink);padding:clamp(22px,3.5vw,34px)}
.req-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}
.field label{display:block;font-family:var(--font-mono);font-size:.7rem;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-2);margin-bottom:8px}
.field input,.field select,.field textarea{width:100%;min-height:48px;border:1.5px solid var(--ink);background:#fff;color:var(--ink);padding:10px 12px;border-radius:0}
.field textarea{min-height:0;resize:vertical}
.req-wide{grid-column:1/-1}
.form-ok{margin-top:16px;background:#e9f2e4;border-left:4px solid var(--green);padding:13px 15px;color:var(--ink-2)}
.form-ok strong{color:var(--green)}

/* Footer */
.colophon{border-top:3px solid var(--ink);margin-top:64px;padding:28px 0 34px;background:rgba(255,253,247,.72)}

/* Trustbar — 4-fact strip under the hero, readable in ~3 seconds */
.trustbar{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:0;padding:0;list-style:none;border-bottom:2px solid var(--ink);background:var(--paper-2)}
.trustbar div{padding:14px 18px;border-left:1.5px solid var(--rule)}
.trustbar div:first-child{border-left:0}
.trustbar dt{font-family:var(--font-display);font-weight:850;font-size:1.05rem;letter-spacing:-.01em}
.trustbar dd{margin:2px 0 0;font-size:.82rem;color:var(--muted)}

/* Sticky mobile CTA bar — a CTA is never more than a scroll away */
.mobile-ctabar{display:none}
@media (max-width:760px){
  .trustbar{grid-template-columns:1fr 1fr}
  .trustbar div:nth-child(3){border-left:0}
  .trustbar div{border-top:1.5px solid var(--rule);padding:11px 14px}
  .trustbar div:nth-child(-n+2){border-top:0}
  .mobile-ctabar{display:grid;grid-template-columns:1.4fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:30;background:var(--ink);border-top:2px solid var(--ink);padding-bottom:env(safe-area-inset-bottom)}
  .mobile-ctabar a{display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;font-size:.95rem;padding:15px 8px;min-height:52px}
  .mobile-ctabar a:hover{color:#fff;text-decoration:underline}
  .mobile-ctabar .mcta-primary{background:var(--red);color:#fff}
  .mobile-ctabar .mcta-secondary{color:var(--paper)}
  body{padding-bottom:calc(54px + env(safe-area-inset-bottom))}
}
.foot-grid{display:flex;justify-content:space-between;gap:22px;flex-wrap:wrap;align-items:baseline}
.foot-grid nav{display:flex;gap:16px;flex-wrap:wrap}
.foot-grid nav a{font-family:var(--font-mono);font-size:.76rem;font-weight:600;text-decoration:none}
.fineprint{color:var(--muted);font-size:.82rem;margin-top:16px}

@media (max-width:1020px){
  .include-list{grid-template-columns:1fr 1fr}
  .include-list div{border-left:0;border-top:1px solid var(--rule)}
  .include-list div:nth-child(-n+2){border-top:0}
  .include-list div:nth-child(even){border-left:1px solid var(--rule)}
  .steps{grid-template-columns:1fr 1fr}
  .care-grid{grid-template-columns:1fr}
  .review-grid{grid-template-columns:1fr}
  .hero-facts{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .mast{flex-direction:column;align-items:flex-start;gap:14px}
  .hero{padding-top:38px}
  .estimator-head{grid-template-columns:1fr}
  .estimator{grid-template-columns:1fr}
  .demo-grid,.price-grid,.qa-grid,.req-grid{grid-template-columns:1fr}
  .demo-photo img{height:210px}
  .steps{grid-template-columns:1fr}
  .est-controls{grid-template-columns:1fr 1fr}
  .sheet-line{flex-wrap:wrap}
}
@media (max-width:430px){
  .est-controls{grid-template-columns:1fr}
  .hero-facts{grid-template-columns:1fr 1fr}
  .est-total strong{font-size:1.2rem}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .rv{opacity:1!important;transform:none!important}
}

[hidden]{display:none!important}

/* V4 fix pass: mobile estimator layout */
@media (max-width:760px){
  .section{padding-top:44px}
  .est-controls{grid-template-columns:1fr 1fr}
  .est-controls .est-field:has(.seg){grid-column:1/-1}
  .demo-photo img{height:180px}
}
@media (max-width:560px){
  .est-lines td{display:block;padding:9px 0 2px}
  .est-lines td.num{display:block;text-align:left;padding:0 0 10px;font-size:1.06rem}
}
@media (max-width:560px){.est-total{flex-direction:column;align-items:flex-start;gap:2px}}


/* ================= V5 — SHOWCASE =================
   Motion system + signature moments. Rules of the layer:
   - Nothing is hidden here for animation's sake; JS (GSAP) sets any
     initial states, so no-JS / no-CDN shows the finished page.
   - Compaction trims at the bottom hold the hub at/below v4 length:
     the moments replace air, they don't add scroll. */

/* Custom selection + scrollbar */
::selection{background:var(--red);color:#fff}
html{scrollbar-color:var(--ink) var(--paper)}
::-webkit-scrollbar{width:11px}
::-webkit-scrollbar-track{background:var(--paper)}
::-webkit-scrollbar-thumb{background:var(--ink);border:2px solid var(--paper)}
::-webkit-scrollbar-thumb:hover{background:var(--blue)}

/* Split-headline word masks (spans injected by motion.js) */
.wline{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.08em;margin-bottom:-.08em}
.wword{display:inline-block;will-change:transform}
.wword span{text-decoration:inherit}

/* Hero actions */
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:22px}
.hero-actions-note{flex-basis:100%;font-family:var(--font-mono);font-size:.74rem;letter-spacing:.04em;color:var(--muted)}

/* ——— Scroll-built house ——— */
.build-stage{margin-top:30px;background:var(--paper-2);border:2px solid var(--ink);padding:clamp(20px,3vw,32px) clamp(18px,3vw,32px)}
.build-head{display:flex;justify-content:space-between;align-items:baseline;gap:18px;flex-wrap:wrap}
.build-head .card-eyebrow{margin-bottom:0}
.build-skip{font-family:var(--font-mono);font-size:.74rem;font-weight:600}
.build-skip a{text-decoration:none}
#buildSvg{display:block;width:min(700px,100%);height:auto;margin:2px auto 0}
#buildSvg line{stroke:var(--ink);stroke-width:2.4}
#buildSvg .bs-ground{stroke-width:3}
#buildSvg .bs-ticks line{stroke:var(--rule);stroke-width:1.6}
#buildSvg #bFound line{stroke:var(--rule);stroke-width:1.6}
#buildSvg #bFrame line{stroke:#b08d57;stroke-width:3}
#buildSvg #bRoof line{stroke-width:2.8}
#buildSvg #bFinish line{stroke-width:1.8}
#buildSvg .bs-win{fill:#cfe0ee;stroke:var(--ink);stroke-width:2.2}
#buildSvg .bs-frame{fill:var(--paper-2);stroke:var(--ink);stroke-width:2.5}
#buildSvg .bs-pill{fill:var(--paper);stroke:var(--rule);stroke-width:1.5}
#buildSvg .bs-panel{fill:var(--paper);stroke:var(--ink);stroke-width:1.6}
#buildSvg #bBrowser line{stroke:var(--rule);stroke-width:1.6}
#buildSvg .bs-linebar{fill:#ddd5bf}
#buildSvg text{fill:var(--ink)}
#buildSvg .bs-h{font-family:var(--font-display);font-weight:800;font-size:23px;letter-spacing:-.01em}
#buildSvg .bs-h.blue{fill:var(--blue)}
#buildSvg .bs-mono{font-family:var(--font-mono);font-size:11px;fill:var(--muted)}
#buildSvg .bs-mono.small{font-size:9px}
#buildSvg .bs-mono.bold{font-weight:700;fill:var(--ink);font-size:10px}
#buildSvg .bs-total{font-family:var(--font-display);font-weight:800;font-size:17px;fill:var(--red)}
#buildSvg .bs-cta{font-family:var(--font-body);font-weight:700;font-size:13px;fill:#fff}
#buildSvg .bs-note-t{font-family:var(--font-body);font-weight:700;font-size:13.5px}
#buildSvg .bs-badge-t{font-family:var(--font-body);font-weight:800;font-size:13px;fill:#fff}
.build-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;list-style:none;margin:8px 0 2px;padding:0}
.build-step{border-top:2.5px solid var(--rule);padding-top:8px;opacity:.42;transition:opacity .4s ease,border-color .4s ease}
.build-step strong{display:block;font-family:var(--font-display);font-size:.92rem;letter-spacing:-.01em}
.build-step span{display:block;font-size:.78rem;color:var(--muted);margin-top:2px;line-height:1.35}
.build-step.on{opacity:1}
.build-step.now{border-top-color:var(--red)}
.build-step.now strong{color:var(--red)}

/* ——— Roof configurator (hub palette; summit-v2.css re-skins) ——— */
.est-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.cfg-panel{border:1.5px solid var(--ink);background:var(--paper);padding:14px 16px 6px}
.cfg-title{font-size:.92rem;color:var(--ink-2);line-height:1.45;margin-bottom:2px}
.cfg-title strong{color:var(--ink)}
.cfg-svg{display:block;width:100%;height:auto}
.cfg-ground{stroke:var(--ink);stroke-width:3}
.cfg-ticks line{stroke:var(--rule);stroke-width:1.6}
.cfg-walls{fill:var(--paper-2);stroke:var(--ink);stroke-width:2.2}
.cfg-gable{fill:#efe7d2;stroke:var(--ink);stroke-width:1.8}
.cfg-roof{stroke:var(--ink);stroke-width:2.4;stroke-linejoin:round}
.cfg-hip line{stroke:rgba(0,0,0,.35);stroke-width:2}
.cfg-chimney-body{fill:#a15c48;stroke:var(--ink);stroke-width:2}
.cfg-chimney-cap{fill:var(--ink)}
.cfg-win rect{fill:#cfe0ee;stroke:var(--ink);stroke-width:2}
.cfg-win line{stroke:var(--ink);stroke-width:1.5}
.cfg-door rect{fill:var(--red);stroke:var(--ink);stroke-width:2}
.cfg-door circle{fill:#fff}
.cfg-step{fill:var(--ink)}
.cfg-dormer-body{fill:var(--paper-2);stroke:var(--ink);stroke-width:2}
.cfg-dormer-roof{fill:#454138;stroke:var(--ink);stroke-width:2;stroke-linejoin:round}
.cfg-glass{fill:#cfe0ee;stroke:var(--ink);stroke-width:1.6}
.cfg-sky{fill:#bcd6ea;stroke:var(--ink);stroke-width:2}
.cfg-skylights line{stroke:var(--ink);stroke-width:1.4}
.cfg-gutter-bar{fill:var(--ink)}
.cfg-downspout{stroke:var(--ink);stroke-width:3}
.cfg-ridgevent{fill:var(--ink)}
.cfg-plant line{stroke:var(--green);stroke-width:3}
.cfg-plant circle{fill:#8fb996;stroke:var(--green);stroke-width:1.6}
.cfg-bar{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between;border-top:1px dashed var(--rule);margin-top:2px;padding:10px 0 8px}
.cfg-swatches{display:flex;gap:9px}
.cfg-swatch{width:29px;height:29px;border-radius:50%;background:var(--sw);border:2px solid rgba(25,23,18,.35);cursor:pointer;padding:0}
.cfg-swatch:hover{border-color:var(--ink)}
.cfg-swatch.sel{border-color:var(--ink);box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink)}
.cfg-read{font-family:var(--font-mono);font-size:.78rem;text-align:right;line-height:1.5}
.cfg-read strong{display:block;color:var(--ink)}
.cfg-read span{color:var(--blue-dark);font-weight:700}
.cfg-read .nb{white-space:nowrap;color:inherit;font-weight:inherit}

/* ——— Before / after ——— */
.ba-block{margin-bottom:30px}
.ba-intro{max-width:760px;margin-bottom:16px}
.ba-intro h3{font-size:1.5rem;margin-bottom:7px}
.ba-intro p{color:var(--ink-2)}
.ba{position:relative;border:2px solid var(--ink);background:#fff;overflow:hidden;aspect-ratio:16/8.6;touch-action:none;user-select:none;-webkit-user-select:none}
.ba-scene{position:absolute;inset:0}
.ba-after{clip-path:inset(0 0 0 50%);background:#17352b}
.ba-handle{position:absolute;top:0;bottom:0;left:50%;width:3px;background:var(--red);transform:translateX(-50%);z-index:5;pointer-events:none}
.ba-grip{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-size:1.1rem;border:2.5px solid #fff;box-shadow:0 4px 14px rgba(0,0,0,.3)}
.ba:focus-within .ba-grip{box-shadow:0 0 0 4px var(--blue),0 4px 14px rgba(0,0,0,.3)}
.ba-range{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;z-index:6;margin:0;padding:0}
/* Corner labels sit ABOVE both scenes, the divider handle (z-5) and the
   invisible range input (z-6): anchored to the fixed frame corners with
   pointer-events off, the moving seam can never cover or clip them. */
.ba-tag{position:absolute;top:12px;z-index:8;font-family:var(--font-body);font-size:.75rem;font-weight:700;letter-spacing:.06em;padding:6px 9px;background:var(--ink);color:#fff;pointer-events:none;white-space:nowrap}
.ba-tag.before{left:12px}
.ba-tag.after{right:12px;background:var(--red)}
.ba-caption{margin-top:12px;color:var(--ink-2);max-width:760px}
/* the 2014 scene — deliberately dated, built from styled HTML */
.old-site{height:100%;background:#fdfdf0;padding:12px 14px;font-family:Georgia,"Times New Roman",serif;color:#111;overflow:hidden}
.old-top{background:#000080;color:#ffff00;text-align:center;font-weight:bold;padding:5px 4px;font-size:.74rem;letter-spacing:.04em;font-family:Verdana,sans-serif}
.old-head{font-size:clamp(1.3rem,3.2vw,2.1rem);font-weight:bold;color:#000080;text-align:center;margin:10px 0 0}
.old-head span{display:block;font-size:.82rem;color:#800000;font-style:italic;margin-top:2px}
.old-nav{text-align:center;background:#c0c0c0;border:1px solid #808080;padding:4px;font-size:.66rem;font-family:Verdana,sans-serif;margin:9px 0;color:#222}
.old-cols{display:grid;grid-template-columns:1fr 148px;gap:14px}
.old-main p{margin:7px 0;font-size:.88rem;line-height:1.45}
.old-welcome{font-size:1.08rem;font-weight:bold;text-decoration:underline;color:#006400}
.old-under{background:#ffff00;display:inline-block;padding:3px 8px;font-weight:bold;font-family:Verdana,sans-serif;font-size:.72rem}
.old-small{font-size:.68rem!important;color:#555;font-family:Verdana,sans-serif}
.old-side{border:2px dashed #000080;padding:10px 8px;text-align:center;font-family:Verdana,sans-serif;font-size:.76rem}
.old-side p{margin:5px 0}
.old-phone{font-weight:bold;color:#cc0000;font-size:.92rem}
.old-badge{margin-top:12px;border:3px double #800000;color:#800000;padding:8px 4px;font-weight:bold;transform:rotate(-4deg);font-size:.74rem;line-height:1.4}
/* the today scene — a miniature Summit Ridge homepage */
.new-site{height:100%;display:flex;flex-direction:column;background:#17352b}
.new-nav{display:flex;align-items:center;gap:11px;background:#fbf7ec;padding:11px 16px;font-family:var(--font-display)}
.new-nav strong{font-size:1.08rem;color:#1d211d}
.new-nav span{color:#687066;font-size:.82rem;font-family:var(--font-body)}
.new-call{margin-left:auto;background:#bc5837;color:#fff;font-style:normal;font-weight:800;padding:8px 12px;font-family:var(--font-body);font-size:.82rem;white-space:nowrap}
.new-hero{flex:1;position:relative;overflow:hidden}
.new-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.new-hero-copy{position:absolute;left:0;right:0;bottom:0;padding:34px 20px 16px;background:linear-gradient(transparent,rgba(15,40,31,.93) 30%);color:#f2e8d5}
.new-stars{font-family:var(--font-mono);font-size:.68rem;color:#e8c98b;letter-spacing:.05em}
.new-hero-copy h3{color:#fff;font-size:clamp(1.35rem,3vw,2.2rem);margin:5px 0 4px}
.new-hero-copy p{color:#e4ddcb;font-size:.88rem}
.new-cta{display:inline-block;margin-top:10px;background:#bc5837;color:#fff;font-weight:800;padding:10px 14px;font-family:var(--font-body);font-size:.86rem}

/* ——— Portfolio showcase ——— */
.demo-photo{overflow:hidden}
.demo-photo img{height:280px;transform:scale(1.14)}
.demo-tile{will-change:transform}
.rv.in[data-tilt]{transition:box-shadow .35s ease,opacity .55s ease}
.demo-tile:hover{box-shadow:10px 12px 0 rgba(25,23,18,.14)}

/* ——— Process beam ——— */
.beam-track{height:4px;background:var(--rule);margin:2px 0 24px}
.beam-fill{height:100%;background:linear-gradient(90deg,var(--blue),var(--red));transform:scaleX(0);transform-origin:left}
.step-num{transition:background .45s ease,transform .45s ease}
.steps li.beam-on .step-num{background:var(--red);transform:scale(1.08)}

/* ——— Compaction trims (v5 length discipline) ——— */
.mast{padding:14px 0}
.hero{padding-top:36px}
.hero h1{font-size:clamp(2.7rem,6.4vw,4.9rem)}
.hero-kicker{margin-bottom:12px}
.hero-statement{margin-top:16px}
.section{padding:32px 0 2px}
.section-intro{margin-bottom:22px}
.estimator-card{margin-top:26px;padding:clamp(20px,3vw,30px)}
.estimator-head{margin-bottom:18px}
.estimator-head h2{font-size:clamp(1.55rem,2.6vw,2.1rem)}
.est-output{padding:18px}
.est-lines td{padding:5px 0}
.est-note{margin:10px 0 14px}
.demo-body{padding:20px}
.include-list div{padding:18px}
.steps li{padding:18px}
.price-sheet{padding:24px}
.sheet-line{padding:8px 0}
.care-plan,.care-report{padding:18px}
.review{padding:18px}
.qa-grid div{padding:12px 0}
.request-sheet{padding:clamp(20px,3vw,28px)}
.req-grid{gap:13px}
.field input,.field select,.field textarea{min-height:44px}
.colophon{margin-top:40px}

@media (max-width:760px){
  .build-steps{grid-template-columns:repeat(2,1fr)}
  .build-step span{display:none}
  .ba{aspect-ratio:auto;height:470px}
  .old-cols{grid-template-columns:1fr}
  .old-side{display:none}
  .new-nav span{display:none}
  .cfg-read{text-align:left;font-size:.72rem}
  .est-side{gap:14px}
}
@media (max-width:430px){
  .build-steps{grid-template-columns:1fr 1fr}
  #buildSvg{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .ba-handle,.ba-grip{transition:none}
  .build-step{opacity:1}
}


/* ——— V5.1 compaction: split hero + deeper trims (measured, see BUILD_NOTES) ——— */
.hero-top{display:grid;grid-template-columns:.94fr 1.06fr;gap:38px;align-items:start}
.hero h1{font-size:clamp(2.5rem,4.9vw,4.35rem);line-height:.99}
.hero-statement{max-width:56ch}
.build-stage{margin-top:0}
#buildSvg{width:100%}
.build-step span{display:none}
.section{padding-top:26px}
.ba{aspect-ratio:16/7.2}
.ba-block{margin-bottom:24px}
.est-lines td{padding-top:4px;padding-bottom:4px}
.est-lines td span{font-size:.74rem}
.est-note{font-size:.82rem;line-height:1.45}
.demo-photo img{height:248px}
.price-sheet{padding:20px}
.sheet-line{padding-top:6px;padding-bottom:6px}
.review{padding:16px}
.steps li{padding:15px}
.care-plan,.care-report{padding:16px}
.qa-grid div{padding-top:10px;padding-bottom:10px}
.colophon{padding-top:22px}
@media (max-width:900px){
  .hero-top{grid-template-columns:1fr}
  .build-stage{margin-top:26px}
  .build-step span{display:block}
}


/* ——— V5.2 compaction pass 2 (measured) ——— */
.hero h1{font-size:clamp(2.4rem,4.4vw,3.9rem);line-height:.98}
.hero-statement{font-size:1.02rem;line-height:1.5}
.build-stage{padding:10px clamp(12px,2.2vw,22px) 8px}
.build-steps{gap:10px}
.build-step strong{font-size:.84rem}
.ba{aspect-ratio:16/6.6}
.ba-caption{font-size:.95rem;max-width:900px}
.demo-photo img{height:232px}
.est-output .action{min-height:44px}
.est-total strong{font-size:1.5rem}
.est-lines td{padding-top:3px;padding-bottom:3px}
.cfg-title{font-size:.88rem;line-height:1.4}
.cfg-bar{padding-top:8px;padding-bottom:6px}
.estimator-head p{font-size:.93rem;line-height:1.45}
#samples-title{font-size:2.35rem}
.price-sheet h3{font-size:1.42rem;margin-bottom:10px}
.sheet-top{margin-bottom:12px}
.sheet-note{line-height:1.45}
.section-intro p{margin-top:8px}
.req-grid{margin-bottom:14px}
.field label{margin-bottom:6px}
.review .review-stars{margin-bottom:7px}
.review-meta{margin-top:10px}
.beam-track{margin-bottom:16px}
.steps h3{margin-bottom:6px}
.fineprint{margin-top:10px}
.mast{padding:12px 0}


/* ——— V5.3 compaction pass 3 (measured) ——— */
.section{padding-top:24px}
.ba{aspect-ratio:16/6.1}
.est-output{padding:14px}
.est-total{padding-top:10px}
.est-note{margin-bottom:10px}
.sheet-line{padding-top:4px;padding-bottom:4px}
.sheet-note{font-size:.86rem;line-height:1.4}
.field input,.field select,.field textarea{min-height:42px}
.review{padding:13px}
.wordmark-mark{width:46px;height:46px}


/* ——— V5.4 compaction pass 4 (measured) ——— */
.section{padding-top:22px}
.ba{aspect-ratio:16/5.9}
.est-output{padding:12px}
.hero-actions{margin-top:16px;gap:10px}


/* ——— V5.5 fixes (from screenshot review) ——— */
/* The split-headline injects spans inside the h1; the v3 rule
   ".hero h1 span" would paint every word blue/underlined. Reset all
   h1 spans, then re-apply the accent to .accent only. */
.hero h1 span{color:inherit;text-decoration:none}
.hero h1 span.accent{color:var(--blue);text-decoration:underline;text-decoration-thickness:.055em;text-underline-offset:.1em}
#bGhost rect,#bGhost polyline{fill:none;stroke:var(--blue);stroke-width:1.6;stroke-dasharray:6 6;opacity:.32}
.section{padding-top:20px}
.ba{aspect-ratio:16/5.8}


/* ——— V5.6 compaction pass 5 (measured; copy column + card are the binders) ——— */
.hero h1{font-size:clamp(2.3rem,4.1vw,3.6rem);line-height:.96}
.hero-statement{line-height:1.45}
.hero-kicker{line-height:1.3;margin-bottom:10px}
.hero-actions-note{font-size:.8rem;line-height:1.5}
.estimator-card{margin-top:20px}
.est-lines td{padding-top:2px;padding-bottom:2px}
.section{padding-top:18px}
.section-intro{margin-bottom:20px}
.ba{aspect-ratio:16/5.5}
.ba-block{margin-bottom:22px}
.sheet-note{font-size:.84rem}
.req-grid{gap:11px}
.review{padding:11px}
.steps li{padding:13px}


/* ——— V5.7 compaction pass 6 (measured) ——— */
.section{padding-top:17px}
.ba{aspect-ratio:16/5.35}
.est-output{padding:10px}


/* ================= V6 — MOBILE-FIRST OVERHAUL =================
   Darek reviews on an Android phone; so does every prospect's
   customer. The phone is the primary artifact now:
   - slim sticky header + menu instead of two rows of boxed buttons
   - the build scene re-staged for portrait (#buildSvgM)
   - configurator: sticky stage + designed touch controls
   - before/after panels composed at phone width
   Desktop rules above are untouched except where noted. */

/* Overflow safety net: nothing may widen the page past the viewport. */
html,body{overflow-x:clip}

/* ——— Estimator: designed touch controls (all widths) ——— */
.est-controls{grid-auto-flow:dense}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips button{flex:1 1 auto;min-height:48px;border:1.5px solid var(--ink);background:#fff;color:var(--ink);font-weight:650;font-size:.94rem;padding:9px 12px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:0}
.chips button.sel{background:var(--blue);border-color:var(--blue);color:#fff}
.chips button:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.mat-chips button{flex:1 1 30%;flex-direction:column;gap:6px;padding:8px 6px 9px;min-height:64px}
.mat-chips button span{font-size:.84rem;line-height:1.1}
.mat-chips button.sel{background:#fff;color:var(--ink);border-color:var(--blue);box-shadow:inset 0 0 0 2px var(--blue)}
.chip-pat{display:block;width:100%;height:20px;border:1px solid rgba(25,23,18,.4)}
.pat-threetab{background:repeating-linear-gradient(90deg,transparent 0 16px,rgba(0,0,0,.35) 16px 17px),repeating-linear-gradient(0deg,#565d64 0 7px,#3c4147 7px 8px)}
.pat-architectural{background:repeating-linear-gradient(90deg,transparent 0 22px,rgba(0,0,0,.4) 22px 23px),repeating-linear-gradient(0deg,#454b52 0 8px,#2f3338 8px 10px)}
.pat-metal{background:repeating-linear-gradient(90deg,#5a6167 0 10px,#31363b 10px 12px)}
.pat-cedar{background:repeating-linear-gradient(0deg,#b0824f 0 5px,#8a6136 5px 6px)}
.pat-slate{background:repeating-linear-gradient(90deg,transparent 0 14px,rgba(0,0,0,.45) 14px 15px),repeating-linear-gradient(0deg,#4c565f 0 9px,#333a41 9px 10px)}
.chips.mini{flex-wrap:nowrap}
.chips.mini button{min-height:44px;padding:7px 12px;font-size:.88rem;flex:0 1 auto}
.toggle-list{display:flex;flex-direction:column;gap:10px}
.toggle-row{display:flex;align-items:center;gap:12px;border:1.5px solid var(--ink);background:#fff;padding:10px 12px;min-height:58px}
label.toggle-row{cursor:pointer}
.toggle-row .t-main{display:flex;align-items:center;gap:12px;flex:1;cursor:pointer;min-height:38px}
.toggle-row input[type="checkbox"]{width:26px;height:26px;accent-color:var(--blue);flex:none;margin:0;cursor:pointer}
.t-text{font-weight:650;line-height:1.25}
.t-text strong{display:block;font-weight:500;font-size:.8rem;color:var(--muted)}
.toggle-row:has(> input[type="checkbox"]:checked),.toggle-row:has(.t-main input[type="checkbox"]:checked){border-color:var(--blue);background:#eef3fb}
.toggle-row .chips{margin-left:auto}
.sky-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px}
.sky-label{font-family:var(--font-mono);font-size:.7rem;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-2)}
.stepper{display:inline-flex;align-items:stretch;border:1.5px solid var(--ink);background:#fff}
.stepper button{width:48px;min-height:48px;font-size:1.35rem;font-weight:700;background:var(--paper);border:0;cursor:pointer;color:var(--ink);padding:0}
.stepper button:active{background:var(--blue);color:#fff}
.stepper input{width:52px;border:0;border-left:1.5px solid var(--ink);border-right:1.5px solid var(--ink);text-align:center;font-weight:700;font-size:1rem;min-height:48px;border-radius:0;-moz-appearance:textfield;appearance:textfield}
.stepper input::-webkit-outer-spin-button,.stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
/* Thumb-sized range sliders */
.est-field input[type="range"],.sheet-range{-webkit-appearance:none;appearance:none;background:transparent;height:36px}
.est-field input[type="range"]::-webkit-slider-runnable-track,.sheet-range::-webkit-slider-runnable-track{height:6px;background:var(--rule)}
.est-field input[type="range"]::-webkit-slider-thumb,.sheet-range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-11px;border-radius:50%;background:var(--blue);border:3px solid #fff;box-shadow:0 0 0 1.5px var(--ink);cursor:pointer}
.est-field input[type="range"]::-moz-range-track,.sheet-range::-moz-range-track{height:6px;background:var(--rule)}
.est-field input[type="range"]::-moz-range-thumb,.sheet-range::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:var(--blue);border:3px solid #fff;box-shadow:0 0 0 1.5px var(--ink);cursor:pointer}

/* ——— Portrait build scene (hidden on desktop) ——— */
#buildSvgM{display:none}
#buildSvgM line{stroke:var(--ink);stroke-width:2.4}
#buildSvgM .bs-ground{stroke-width:3}
#buildSvgM .bs-ticks line{stroke:var(--rule);stroke-width:1.6}
#buildSvgM #mFrame line{stroke:#b08d57;stroke-width:3}
#buildSvgM #mRoof line{stroke-width:2.8}
#buildSvgM #mFinish line{stroke-width:1.8}
#buildSvgM .bs-win{fill:#cfe0ee;stroke:var(--ink);stroke-width:2.2}
#buildSvgM .bs-frame{fill:var(--paper-2);stroke:var(--ink);stroke-width:2.5}
#buildSvgM .bs-pill{fill:var(--paper);stroke:var(--rule);stroke-width:1.5}
#buildSvgM .bs-panel{fill:var(--paper);stroke:var(--ink);stroke-width:1.6}
#buildSvgM #mBrowser line{stroke:var(--rule);stroke-width:1.6}
#buildSvgM text{fill:var(--ink)}
#buildSvgM .bs-h{font-family:var(--font-display);font-weight:800;font-size:17px;letter-spacing:-.01em}
#buildSvgM .bs-h.blue{fill:var(--blue)}
#buildSvgM .bs-mono{font-family:var(--font-mono);font-size:11px;fill:var(--muted)}
#buildSvgM .bs-mono.small{font-size:10.5px}
#buildSvgM .bs-total{font-family:var(--font-display);font-weight:800;font-size:17px;fill:var(--red)}
#buildSvgM .bs-cta{font-family:var(--font-body);font-weight:700;font-size:13px;fill:#fff}
#buildSvgM .bs-note-t{font-family:var(--font-body);font-weight:700;font-size:15px}
#buildSvgM .bs-badge-t{font-family:var(--font-body);font-weight:800;font-size:13px;fill:#fff}
#mGhost rect,#mGhost polyline{fill:none;stroke:var(--blue);stroke-width:1.6;stroke-dasharray:6 6;opacity:.32}

/* Header extras are mobile-only */
.mast-actions{display:none}
.mobile-nav{display:none}
.nav-toggle{display:none}

/* Bigger before/after grip everywhere — it is a drag affordance */
.ba-grip{width:54px;height:54px}

@media (max-width:860px){
  #buildSvg{display:none}
  #buildSvgM{display:block;width:100%;height:auto;margin:2px auto 0}
}

@media (max-width:760px){
  /* — Slim sticky header: mark, one action, one menu button — */
  .masthead{position:sticky;top:0;z-index:60;background:var(--paper);border-bottom-width:2.5px}
  .mast{flex-direction:row;align-items:center;gap:10px;padding:8px 0}
  .wordmark{font-size:1.02rem;gap:9px}
  .wordmark-mark{width:36px;height:36px;font-size:.62rem;border-width:2px}
  .index-nav{display:none}
  .mast-actions{display:flex;align-items:center;gap:9px;margin-left:auto}
  .request-link-m{display:inline-flex;align-items:center;min-height:44px;padding:9px 13px;background:var(--red);color:#fff;font-family:var(--font-mono);font-size:.76rem;font-weight:700;letter-spacing:.03em;text-decoration:none}
  .request-link-m:hover{background:var(--ink);color:#fff}
  .nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;border:1.5px solid var(--ink);background:var(--paper-2);padding:0 11px;cursor:pointer}
  .nav-toggle span{display:block;height:2.5px;background:var(--ink);transition:transform .25s ease,opacity .2s ease}
  .nav-toggle.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
  .nav-toggle.open span:nth-child(2){opacity:0}
  .nav-toggle.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
  .mobile-nav{display:block;border-top:1.5px solid var(--ink);background:var(--paper-2);padding:4px 20px 8px}
  .mobile-nav[hidden]{display:none}
  .mobile-nav a{display:flex;align-items:center;min-height:50px;font-weight:700;font-size:1.02rem;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--rule)}
  .mobile-nav a:last-child{border-bottom:0;color:var(--red)}
  section[id],div[id]{scroll-margin-top:66px}
  .hero{padding-top:26px}

  /* Build steps read as a checklist on a phone */
  .build-steps{grid-template-columns:1fr;gap:0;margin-top:4px}
  .build-step{padding:8px 0 9px}
  .build-step strong{font-size:.95rem}
  .build-step span{display:block;font-size:.84rem}

  /* — Configurator: sticky stage over scrolling controls — */
  .estimator{display:flex;flex-direction:column;gap:18px;align-items:stretch}
  .est-side{display:contents}
  .cfg-panel{order:-1;position:sticky;top:64px;z-index:6;background:var(--paper);box-shadow:0 12px 26px rgba(25,23,18,.16);padding:12px 14px 4px}
  .est-controls{order:0}
  .est-output{order:1}
  .estimator-card{padding:18px 14px}
  .seg span{padding:12px 2px}
  .cfg-swatch{width:40px;height:40px}
  .est-sub input[type="number"]{min-height:48px;font-size:16px}
  .est-sub select{min-height:48px;font-size:16px}

  /* — Before/after, composed at phone width — */
  /* aspect-ratio MUST be off here: the v5.x compaction layers set
     aspect-ratio outside this media query, and aspect + fixed height
     derives a 1,675px width that clips the panels (the v5 defect). */
  .ba{aspect-ratio:auto;height:560px}
  .ba-grip{width:56px;height:56px;font-size:1.25rem}
  .ba-tag{font-size:.7rem;padding:7px 10px}
  .ba-tag-long{display:none}
  .old-site{padding:16px 16px 12px}
  .old-top{font-size:.78rem;line-height:1.55;padding:7px 6px}
  .old-head{font-size:1.65rem;margin-top:14px}
  .old-head span{font-size:.85rem}
  .old-nav{font-size:.7rem;line-height:1.9;padding:6px}
  .old-main p{font-size:.95rem;line-height:1.55;margin:9px 0}
  .old-welcome{font-size:1.18rem}
  .old-under{font-size:.78rem;padding:5px 9px}
  .old-small{font-size:.72rem!important;line-height:1.6}
  .new-nav{padding:12px 14px;gap:9px}
  .new-nav strong{font-size:1.02rem}
  .new-call{font-size:.78rem;padding:8px 10px}
  .new-hero-copy{padding:38px 16px 16px}
  .new-hero-copy h3{font-size:1.55rem}
  .new-hero-copy p{font-size:.92rem}
  .new-stars{font-size:.7rem;line-height:1.6}
}

@media (max-width:560px){
  .wrap{width:calc(100% - 32px)}
  .hero-actions .action{flex:1 1 100%}
  .field input,.field select,.field textarea{min-height:48px;font-size:16px}
  .sheet-line select{font-size:16px;min-height:48px}
  .mobile-nav{padding-left:16px;padding-right:16px}
}

/* ================================================================
   V7 — PHOTOGRAPHY-LED ART DIRECTION (2026-10-12)
   The visual spine is now photography: full-bleed photo heroes and
   photo bands carry the pages; the paper/document system supports
   underneath. Illustrated systems (build scene, configurator) move
   to deep-ink panels so the line work reads as a lit product UI
   instead of clip-art on beige. Plus: real-device header hardening
   and estimator sanity framing.
   ================================================================ */
/* v8 tokens — Barlow Condensed display, Barlow body, contrast-fixed palette */
:root{--ink-deep:#141109}

/* ——— Header hardening: the CTA can never wrap ——— */
.index-nav a{white-space:nowrap}
.request-link-m{white-space:nowrap}
.mast{flex-wrap:nowrap}
.mast-actions{flex-shrink:0}
.wordmark{min-width:0}
.wordmark>span:last-child{white-space:nowrap}
.wordmark-mark{flex-shrink:0}
@media (max-width:480px){
  .request-link-m{font-size:.7rem;padding:8px 10px;letter-spacing:.02em}
  .wordmark{font-size:.96rem;gap:8px}
  .wordmark-mark{width:33px;height:33px}
}
@media (max-width:400px){
  /* Smallest phones: the CTS mark carries the brand; name yields so
     the CTA + menu always fit on one line, even at 125% text size. */
  .wordmark>span:last-child{display:none}
}

/* ——— Photo hero ——— */
.hero-photo{position:relative;overflow:hidden;background:var(--ink-deep);color:#fffdf8}
.hero-photo-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 24%}
.hero-photo-scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,10,6,.86) 0%,rgba(12,10,6,.66) 48%,rgba(12,10,6,.22) 80%),linear-gradient(0deg,rgba(12,10,6,.6) 0%,transparent 42%)}
.hero-photo-inner{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:min(88vh,860px);padding-top:clamp(64px,9vh,110px);padding-bottom:clamp(60px,8vh,96px)}
.hero-photo .hero-kicker{color:#a9c3ee;margin-bottom:20px}
.hero-photo .hero-kicker::before{content:"";display:inline-block;width:9px;height:9px;background:var(--red);margin-right:11px;vertical-align:1px}
.hero-photo h1{font-size:clamp(2.9rem,7.4vw,6.1rem);font-weight:900;line-height:.97;color:#fffdf8;letter-spacing:-.032em}
.hero-photo h1 span{color:#fffdf8}
.hero-photo h1 span.accent{text-decoration:underline;text-decoration-thickness:.055em;text-underline-offset:.1em;text-decoration-color:#e2603f}
.hero-photo .hero-statement{color:rgba(255,253,247,.93);font-size:1.13rem;max-width:600px;margin-top:24px}
.hero-photo .hero-actions{margin-top:30px}
.hero-photo .action{background:rgba(255,253,247,.07);border-color:rgba(255,253,247,.7);color:#fffdf8}
.hero-photo .action:hover{background:#fffdf8;color:var(--ink)}
.hero-photo .action.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.hero-photo .action.primary:hover{background:var(--red);border-color:var(--red)}
.hero-photo .hero-actions-note{color:rgba(255,253,247,.78)}

/* ——— Build + estimator section (below the photo hero) ——— */
.hero{padding-top:44px}
.hero-top{display:block}
.build-stage{background:linear-gradient(180deg,#1c1811,#131009);border-color:#0b0906;color:#f0e9d8;box-shadow:0 24px 50px rgba(20,17,9,.28)}
.build-stage .card-eyebrow{color:#a9c3ee}
.build-skip a{color:#e8dfc9}
#buildSvg .bs-ground,#buildSvgM .bs-ground{stroke:#a2937a}
#buildSvg .bs-ticks line,#buildSvgM .bs-ticks line{stroke:rgba(240,233,216,.3)}
.build-stage #bGhost rect,.build-stage #bGhost polyline,
.build-stage #mGhost rect,.build-stage #mGhost polyline{stroke:#8fb0e8;opacity:.45}
.build-step{border-top-color:rgba(240,233,216,.28)}
.build-step strong{color:#f4eedd}
.build-step span{color:rgba(240,233,216,.6)}
.build-step.now{border-top-color:#e2603f}
.build-step.now strong{color:#ff9a7a}

/* ——— Configurator: deep-ink product panel ——— */
.cfg-panel{background:linear-gradient(180deg,#1a1712,#100e0a);border-color:#0b0906;color:#f2ecdc;box-shadow:0 18px 40px rgba(20,17,9,.25)}
.cfg-title{color:rgba(242,236,220,.75)}
.cfg-title strong{color:#fff}
.cfg-walls{fill:#f6f1e2}
.cfg-gable{fill:#e9dfc4}
.cfg-ground{stroke:#a2937a}
.cfg-ticks line{stroke:rgba(242,236,220,.28)}
.cfg-bar{border-top-color:rgba(242,236,220,.25)}
.cfg-read strong{color:#fff}
.cfg-read span{color:#a9c3ee}
.cfg-swatch{border-color:rgba(242,236,220,.4)}
.cfg-swatch:hover{border-color:#fff}
.cfg-swatch.sel{border-color:#fff;box-shadow:0 0 0 2px #141109,0 0 0 4px #fff}
@media (max-width:760px){.cfg-panel{box-shadow:0 14px 30px rgba(20,17,9,.35)}}

/* ——— Estimator sanity framing ——— */
.est-bignote{border:1.5px solid var(--red);border-left:7px solid var(--red);background:#faeee3;color:var(--ink);font-size:.92rem;line-height:1.5;padding:12px 15px;margin:14px 0 0}
.est-bignote strong{color:var(--red)}

/* ——— Photo band ——— */
.photo-band{position:relative;margin:0;overflow:hidden;background:var(--ink-deep)}
.photo-band img{width:100%;height:clamp(360px,60vh,580px);object-fit:cover;object-position:center 42%}
.photo-band figcaption{position:absolute;left:18px;bottom:18px;max-width:min(560px,calc(100% - 36px));background:rgba(13,11,7,.85);color:#f4eedd;font-family:var(--font-mono);font-size:.74rem;letter-spacing:.05em;line-height:1.55;padding:12px 16px}
.photo-band figcaption strong{color:#fff;font-family:var(--font-display);font-size:.92rem;letter-spacing:0;display:block;margin-bottom:2px}

/* ——— Editorial type bump ——— */
h2{font-size:clamp(2.05rem,3.9vw,3.25rem)}
.estimator-head h2{font-size:clamp(1.85rem,3.2vw,2.6rem)}

@media (max-width:760px){
  .hero-photo-inner{min-height:84vh;padding-top:52px;padding-bottom:48px}
  .hero-photo h1{font-size:clamp(2.55rem,11.6vw,3.5rem)}
  .hero-photo .hero-statement{font-size:1.04rem}
  .hero-photo-bg{object-position:center 18%}
  .photo-band img{height:380px}
  .photo-band figcaption{left:12px;bottom:12px}
}

/* Hub v2 additions: comparison table, audit section, itemized lists, form states */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.include-list ul,.care-plan ul{list-style:none;margin:0;padding:0}
.include-list li,.care-plan li{position:relative;padding:6px 0 6px 20px;color:var(--ink-2);font-size:.95rem;border-top:1px solid var(--rule)}
.include-list li:first-child,.care-plan li:first-child{border-top:0}
.include-list li::before,.care-plan li::before{content:"";position:absolute;left:0;top:5px;width:13px;height:13px;background:no-repeat center/contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 8.5 7 12 13 4" fill="none" stroke="%231f4e9e" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>')}
.compare-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:2px solid var(--ink);background:var(--paper-2)}
.compare{width:100%;min-width:640px;border-collapse:collapse;font-size:.95rem}
.compare th,.compare td{padding:14px 16px;text-align:left;vertical-align:top;border-top:1px solid var(--rule)}
.compare thead th{background:var(--ink);color:var(--paper);font-family:var(--font-display);font-size:1rem;letter-spacing:.01em}
.compare thead th:first-child{background:var(--ink)}
.compare tbody th{font-weight:700;color:var(--ink);width:22%}
.compare tbody tr:nth-child(even){background:rgba(25,23,18,.03)}
.compare td strong{color:var(--blue-dark)}
.compare-note{margin-top:14px;font-size:.85rem;color:var(--ink-2)}
.audit-list{list-style:none;margin:0;padding:0;counter-reset:audit;display:grid;grid-template-columns:1fr 1fr;gap:0 44px}
.audit-list li{counter-increment:audit;display:flex;flex-direction:column;gap:2px;padding:14px 0 14px 52px;position:relative;border-top:1.5px solid var(--ink)}
.audit-list li::before{content:counter(audit,decimal-leading-zero);position:absolute;left:0;top:14px;font-family:var(--font-mono);font-weight:600;color:var(--red);font-size:1.05rem}
.audit-list li strong{font-size:1.05rem;letter-spacing:-.01em}
.audit-list li span{color:var(--ink-2);font-size:.94rem}
.audit-cta{margin-top:26px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.audit-note{margin:0;color:var(--ink-2);font-size:.94rem;max-width:46rem}
.risk-line{margin:12px 0 0;font-size:.88rem;color:var(--ink-2)}
.hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.form-err{border:2px solid var(--red);background:#fdf0ec;padding:14px 16px;color:var(--ink);font-size:.95rem;margin-top:14px}
@media (max-width:720px){
  .audit-list{grid-template-columns:1fr}
}

/* ============ V8 — skill-bank remake layer ============ */
/* Kickers are banned: hide any that remain in markup. */
.hero-kicker,.card-eyebrow,.est-eyebrow{display:none!important}

/* Section opener: full-width rule, then the heading carries its own weight. */
.sec-rule{border:0;border-top:3px solid var(--ink);margin:0 0 20px}
.section{padding:clamp(44px,6vw,84px) 0}
.section h2{font-size:clamp(2rem,4.2vw,3.4rem);font-weight:700;text-transform:uppercase;letter-spacing:-.01em;line-height:1}
.section-lede{max-width:62ch;font-size:1.08rem;color:var(--ink-2);margin-top:14px}

/* Asymmetric editorial splits */
.split{display:grid;grid-template-columns:7fr 5fr;gap:clamp(24px,4vw,64px);align-items:start}
.split.flip>.split-a{order:2}
.split.flip>.split-b{order:1}

/* ---- Hero (photo) ---- */
.hero-photo{position:relative;overflow:hidden;background:var(--ink);color:#fff}
.hero-photo-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-photo-scrim{position:absolute;inset:0;background:linear-gradient(100deg,rgba(20,16,11,.82) 0%,rgba(20,16,11,.55) 42%,rgba(20,16,11,.12) 75%,rgba(20,16,11,.05) 100%)}
.hero-photo-inner{position:relative;z-index:1;padding:clamp(72px,10vw,132px) 0 clamp(56px,7vw,88px);max-width:760px}
.hero-photo h1{color:#fff;font-size:clamp(3rem,7.6vw,6rem);font-weight:700;text-transform:uppercase;line-height:.98;letter-spacing:-.01em}
.u-scribble{position:relative;white-space:nowrap}
.u-scribble svg{position:absolute;left:-2%;bottom:-.12em;width:104%;height:.22em;overflow:visible}
.u-scribble path{stroke:var(--red-light,#e4694e);stroke-width:7;fill:none;stroke-linecap:round}
.hero-statement{margin-top:20px;font-size:1.12rem;line-height:1.6;color:#f3ecdd;max-width:60ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero-note{margin-top:16px;font-size:.92rem;color:#d9cfba;max-width:62ch}
.hero-note a{color:#fff}
.hero-note a:hover{color:#e4694e}

/* ---- Problem ---- */
.problem-h{font-size:clamp(2.2rem,5vw,4rem);font-weight:700;text-transform:uppercase;line-height:1.02;max-width:16ch}
.problem-h .q{color:var(--red)}
.problem p.body{margin-top:18px;font-size:1.1rem;color:var(--ink-2);max-width:62ch}

/* ---- Trustbar (ledger row) ---- */
.trustbar{display:grid;grid-template-columns:repeat(4,1fr);border-top:2px solid var(--ink);border-bottom:1px solid var(--rule);margin:0;padding:0;list-style:none}
.trustbar>div{padding:16px 18px 16px 0;border-left:1px solid var(--rule)}
.trustbar>div:first-child{border-left:0;padding-left:0}
.trustbar dt{font-family:var(--font-display);font-weight:700;font-size:1.5rem;text-transform:uppercase;letter-spacing:-.01em}
.trustbar dd{margin:4px 0 0;font-size:.95rem;color:var(--ink-2)}

/* ---- Rubber stamp ---- */
.stamp{display:inline-block;transform:rotate(-4deg);border:3px solid var(--red);color:var(--red);border-radius:6px;padding:10px 16px;font-family:var(--font-display);font-weight:700;font-size:1.3rem;text-transform:uppercase;letter-spacing:.04em;line-height:1.25;text-align:center;background:rgba(166,58,40,.05);box-shadow:inset 0 0 0 1px rgba(166,58,40,.25)}
.stamp small{display:block;font-size:.72rem;letter-spacing:.14em}

/* ---- Review stars (drawn, not unicode) ---- */
.stars{display:inline-flex;gap:3px;vertical-align:-2px}
.stars svg{width:16px;height:16px;fill:var(--red)}
.review-rating{display:flex;align-items:center;gap:10px;font-weight:700}
.review-rating .num{font-family:var(--font-display);font-size:1.4rem}

/* ---- Estimator v8 chrome ---- */
.estimator-head h2{font-size:clamp(1.9rem,3.4vw,2.8rem);text-transform:uppercase}
.est-report-name{font-family:var(--font-display);font-weight:700;font-size:1.35rem;text-transform:uppercase;letter-spacing:.01em}

/* ---- Compare table: inner breathing room ---- */
.compare-scroll{overflow-x:auto;padding:6px}
.compare{border-collapse:collapse;min-width:640px}

/* ---- Audit: quiet numerals ---- */
.audit-num{font-family:var(--font-display);font-weight:700;font-size:1.5rem;color:var(--red);min-width:2.2rem}

/* ---- Browser surfaces ---- */
::selection{background:var(--red);color:#fff}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:2px}
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:var(--paper)}
::-webkit-scrollbar-thumb{background:var(--ink);border:3px solid var(--paper);border-radius:8px}

/* ---- Buttons: no appended arrows, tactile press ---- */
.action:active{transform:translateY(1px)}

/* ---- V8 responsive ---- */
@media (max-width:900px){
  .split{grid-template-columns:1fr}
  .split.flip>.split-a{order:1}
  .split.flip>.split-b{order:2}
  .trustbar{grid-template-columns:1fr 1fr}
  .trustbar>div{border-left:0;border-top:1px solid var(--rule);padding:12px 0}
  .trustbar>div:nth-child(-n+2){border-top:0}
}
@media (max-width:560px){
  .hero-actions .action{flex:1 1 100%}
  .trustbar{grid-template-columns:1fr}
  .trustbar>div{border-top:1px solid var(--rule)}
  .trustbar>div:first-child{border-top:0}
  .hero-photo h1{font-size:clamp(2.6rem,13vw,3.4rem)}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
