/* Legacy Construction and Roofing - site.css
   Order: fonts -> tokens (the ONLY place raw values live) -> base -> kit -> sections -> motion states.
   Motion law: entrances are keyframes with fill both/backwards; hover uses translate/scale; transform/opacity only;
   html.m (set by site.js once motion is wired) is the only thing that ever hides content. */

/* ---------- fonts (self-hosted, OFL; subset to Latin) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-wdth.woff2") format("woff2"); font-weight: 500 900; font-stretch: 100% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-wdth-italic.woff2") format("woff2"); font-weight: 500 900; font-stretch: 100% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks so the swap does not move anything (values measured in Chrome against the real faces). */
@font-face { font-family: "Archivo Fallback"; src: local("Arial Black"), local("ArialMT-Black"), local("Arial Bold"), local("Arial"); size-adjust: 104%; ascent-override: 84%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  /* colour (brand.md §1, measured) */
  --c-black: #000000;
  --c-white: #FFFFFF;
  --c-yellow: #FFF066;
  --c-body: #C7C7C7;
  --c-muted: #8C8C8C;
  --c-surface: #1A1A1A;
  --c-surface-2: #121212;
  --c-line: #2A2A2A;
  --c-line-2: #3A3A3A;
  --c-veil: rgb(0 0 0 / .3);
  --c-veil-strong: rgb(0 0 0 / .72);
  --c-error: #FF8A80;             /* 8.6:1 on black; errors also carry text, never colour alone */
  --c-ink-on-yellow: #000000;

  /* type */
  --f-display: "Archivo", "Archivo Fallback", "Arial Black", Arial, sans-serif;
  --f-text: "Inter", "Inter Fallback", Arial, system-ui, sans-serif;
  --wdth-display: 118%;
  --wdth-ui: 108%;
  --wght-display: 850;
  --wght-ui: 760;
  --t-mega: min(clamp(2.6rem, 1rem + 10vw, 11rem), calc((100vw - 2 * var(--pad-x)) / 7.5), 15svh);
  --t-xl: clamp(2.35rem, .9rem + 6.1vw, 7.25rem);
  --t-l: clamp(1.7rem, 1.05rem + 2.6vw, 3.4rem);
  --t-m: clamp(1.2rem, 1.02rem + .8vw, 1.65rem);
  --t-body: 1.0625rem;
  --t-s: 1rem;                  /* sentences, rung + service lines, form labels (older-reader bar, 2026-11-17: was 15 px) */
  --t-xs: .875rem;              /* short caps labels: eyebrows, nav, chips, link labels (was 13 px) */
  --t-skip: 1.125rem;           /* the intro's Skip + phone buttons */
  --t-phone: clamp(2.6rem, 1rem + 8.4vw, 9rem);
  --lh-display: .86;
  --lh-body: 1.55;
  --tr-display: -.018em;
  --tr-label: .08em;

  /* space */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 7rem;
  --pad-x: clamp(1rem, .4rem + 3.6vw, 4rem);
  --sec-y: clamp(5rem, 3rem + 9vw, 11rem);
  --max: 1440px;
  --measure: 34rem;

  /* geometry: the L's lean (measured 22.6-23.1 deg on the trace) */
  --lean: 22.8deg;
  --tan: .4204;
  --hair: 1px;
  --rule: 2px;
  --rail-w: 3px;
  --rung-h: 6px;                 /* a ladder rung's bar */
  --tuck: .5px;                  /* how far a rung tucks into each rail */
  --r-0: 0;

  /* sizes */
  --nav-h: 64px;
  --dock-h: 60px;
  --btn-h: 56px;
  --btn-h-s: 44px;
  --tap: 44px;
  --chat-fab: 56px;

  /* motion */
  --e-out: cubic-bezier(.16, 1, .3, 1);       /* expo.out: arrivals */
  --e-inout: cubic-bezier(.65, 0, .35, 1);    /* power3.inOut: moves */
  --e-sine: cubic-bezier(.37, 0, .63, 1);     /* sine.inOut: drift */
  --d-ui: .24s;
  --d-in: .7s;
  --d-scene: 1.1s;

  /* depth (no shadows on black: a line does the work) */
  --shadow-panel: 0 0 0 var(--hair) var(--c-line);
  --gradient: none;

  /* z scale */
  --z-hero: 0; --z-section: 2; --z-rail: 40; --z-nav: 50; --z-dock: 60; --z-chat: 70; --z-panel: 80; --z-intro: 100;

  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
@media (min-width: 768px) { :root { --nav-h: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* one landing offset for every anchor and every focus move: the fixed nav (with its safe-area top) plus a breath, so a nav
   link lands the section's top 16 px under the nav (fix 1: sections no longer add a scroll-margin of their own) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--c-black); overflow-x: clip; scroll-padding-top: calc(var(--nav-h) + var(--safe-t) + var(--s-4)); }
body { margin: 0; background: var(--c-black); color: var(--c-body); font-family: var(--f-text); font-size: var(--t-body); line-height: var(--lh-body); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: var(--rule) solid var(--c-white); outline-offset: 4px; }
::selection { background: var(--c-yellow); color: var(--c-ink-on-yellow); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-4); top: calc(var(--s-4) * -10); z-index: calc(var(--z-intro) + 2); background: var(--c-yellow); color: var(--c-ink-on-yellow); padding: var(--s-3) var(--s-4); font-family: var(--f-display); font-weight: var(--wght-ui); text-decoration: none; }
.skip-link:focus { top: var(--s-4); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }

/* ---------- kit: type ---------- */
.display { font-family: var(--f-display); font-weight: var(--wght-display); font-stretch: var(--wdth-display); font-size: var(--t-xl); line-height: var(--lh-display); letter-spacing: var(--tr-display); text-transform: uppercase; color: var(--c-white); text-wrap: balance; }
.display--mega { font-size: var(--t-mega); }
.display--l { font-size: var(--t-l); line-height: .92; }
.hl { color: var(--c-yellow); }
.ln { display: block; }
.ln > span { display: inline-block; }
.eyebrow { font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); font-size: var(--t-xs); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--c-white); display: flex; align-items: center; gap: var(--s-3); }
.eyebrow::before { content: ""; width: calc(var(--s-4) * 1.1); height: var(--rule); background: currentColor; transform: skewX(calc(var(--lean) * -1)); }
.lede { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: var(--c-body); max-width: var(--measure); text-wrap: pretty; }
.num { font-family: var(--f-display); font-style: italic; font-weight: 900; font-stretch: 125%; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ---------- kit: buttons (sheared slab: the fill + the focus ring lean with the L) ---------- */
.btn { --h: var(--btn-h); position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3); min-height: var(--h); padding: 0 calc(var(--h) * var(--tan) / 2 + 1.35em); font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border: 0; background: none; color: var(--c-white); touch-action: manipulation; -webkit-tap-highlight-color: transparent; margin-inline: calc(var(--h) * var(--tan) / 2); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(calc(var(--lean) * -1)); background: var(--c-surface); box-shadow: inset 0 0 0 var(--rule) var(--c-line-2); transition: scale var(--d-ui) var(--e-out), background-color var(--d-ui) linear; }
.btn::after { content: ""; position: absolute; inset: -5px; z-index: -2; transform: skewX(calc(var(--lean) * -1)); box-shadow: 0 0 0 var(--rule) var(--c-white); opacity: 0; }
.btn:focus-visible { outline: none; }
.btn:focus-visible::after { opacity: 1; }
.btn:hover::before { scale: 1.035 1.06; }
.btn:active::before { scale: .97; }
.btn--primary { color: var(--c-ink-on-yellow); }
.btn--primary::before { background: var(--c-yellow); box-shadow: none; }
.btn--ghost::before { background: transparent; box-shadow: inset 0 0 0 var(--rule) var(--c-white); }
.btn--ghost:hover::before { background: var(--c-white); }
.btn--ghost:hover { color: var(--c-black); }
.btn--s { --h: var(--btn-h-s); font-size: var(--t-xs); }
.btn--block { width: calc(100% - var(--h) * var(--tan)); }
.btn .ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- kit: the scene control (js/scene.js): Pause / Play / Replay, an icon and a word, named for its scene ----------
   Every scene that moves for longer than five seconds carries one (WCAG 2.2.2); none under reduced motion (nothing moves). */
.scene-ctl { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); min-width: var(--tap); padding: 0 var(--s-4) 0 var(--s-3); background: var(--c-veil-strong); border: var(--rule) solid var(--c-muted); color: var(--c-white); font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); font-size: var(--t-xs); letter-spacing: var(--tr-label); text-transform: uppercase; line-height: 1; white-space: nowrap; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.scene-ctl__i { width: 1em; height: 1em; flex: none; }
.scene-ctl:hover, .scene-ctl:focus-visible { border-color: var(--c-white); }   /* 2 px muted grey on black = 6.2:1 */
.strip__ctl { display: flex; justify-content: flex-end; margin-bottom: var(--s-4); }

/* ---------- kit: sheared frame (photos, the hero's closing frame) ---------- */
/* --ar = frame width / height; --hc = how much of the height the corner cuts take (1 = a full parallelogram). */
.frame { --ar: 1.6; --hc: .32; --cx: calc(var(--hc) * var(--tan) / var(--ar) * 100%); position: relative; overflow: hidden; aspect-ratio: var(--ar); background: var(--c-surface); clip-path: polygon(var(--cx) 0, 100% 0, 100% calc(100% - var(--hc) * 100%), calc(100% - var(--cx)) 100%, 0 100%, 0 calc(var(--hc) * 100%)); }
.frame--full { --hc: 1; clip-path: polygon(var(--cx) 0, 100% 0, calc(100% - var(--cx)) 100%, 0 100%); }
.frame img, .frame video, .frame canvas { width: 100%; height: 100%; object-fit: cover; }
.frame__cap { position: absolute; left: calc(var(--cx) + var(--s-4)); bottom: var(--s-3); font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); font-size: var(--t-xs); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--c-white); background: var(--c-black); padding: var(--s-1) var(--s-2); }

/* ---------- progress rail (the ladder rail on the left edge) ---------- */
/* scoped to the bar itself (body > .rail): the intro's SVG draws its ladder with line.rail, which a bare .rail would hide */
body > .rail { position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail-w); z-index: var(--z-rail); pointer-events: none; background: var(--c-surface); display: none; }
html.rail-on body > .rail { display: block; }   /* config.motion.progressRail: off by default (it follows the scroll) */
.rail__fill { position: absolute; inset: 0; background: var(--c-yellow); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
@supports (animation-timeline: scroll()) {
  .rail__fill { animation: rail-grow linear both; animation-timeline: scroll(root block); }
  @keyframes rail-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: calc(var(--nav-h) + var(--safe-t)); padding-top: var(--safe-t); display: flex; align-items: center; transition: background-color var(--d-ui) linear, box-shadow var(--d-ui) linear; }
.nav.is-solid { background: var(--c-black); box-shadow: 0 var(--hair) 0 var(--c-line); }
.nav__in { display: flex; align-items: center; gap: var(--s-5); width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }
.brand { display: flex; align-items: center; gap: calc(var(--nav-h) * .16); text-decoration: none; min-height: var(--tap); flex: none; }
.brand__L { height: calc(var(--nav-h) * .46); width: auto; aspect-ratio: 1284 / 1136; }
.brand__wm { height: calc(var(--nav-h) * .3); width: auto; aspect-ratio: 1600 / 222; }
.nav__links { display: none; gap: var(--s-5); margin-left: auto; }
.nav__links a { white-space: nowrap; font-family: var(--f-display); font-weight: 650; font-stretch: var(--wdth-ui); font-size: var(--t-xs); letter-spacing: var(--tr-label); text-transform: uppercase; text-decoration: none; color: var(--c-white); padding: var(--s-3) 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: var(--s-2); height: var(--rule); background: var(--c-white); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--d-ui) var(--e-out); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: var(--s-4); }
.nav__phone { display: none; font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); font-size: var(--t-s); color: var(--c-white); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; padding: var(--s-3) 0; }
.nav__call { display: inline-flex; }
.nav__quote { display: none; }
@media (min-width: 768px) { .nav__phone { display: inline; } .nav__call { display: none; } .nav__quote { display: inline-flex; } }
/* the section links show only where the whole row fits on one line (2026-11-17: 14 px labels; below this, the menu) */
@media (min-width: 1366px) { .nav__links { display: flex; gap: var(--s-4); } .nav__cta { margin-left: var(--s-5); } }
@media (min-width: 1500px) { .nav__links { gap: var(--s-5); } }
@media (max-width: 380px) { .brand__wm { display: none; } }

/* ---------- hero (2026-11-17: no longer sticky; it scrolls away like a photo, the wedges stay parked off screen; at least a
   screen tall, taller only when its words need it: a short screen used to clip the trust line) ---------- */
.stage1 { position: relative; }
.hero { position: relative; min-height: max(100svh, 560px); overflow: hidden; z-index: var(--z-hero); display: grid; grid-template-rows: 1fr auto; }
.hero__media { position: absolute; inset: 0; transform-origin: 50% 72%; }
.hero__video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--c-black); }
.hero__veil { position: absolute; inset: 0; background: var(--c-veil); }
.hero__wedge { position: absolute; top: -5%; bottom: -5%; width: 90%; background: var(--c-black); transform: skewX(calc(var(--lean) * -1)); }
.hero__wedge--l { right: calc(100% + 60svh * var(--tan)); }
.hero__wedge--r { left: calc(100% + 60svh * var(--tan)); }
.hero__copy { position: relative; align-self: end; padding-bottom: clamp(1.25rem, 3vw, 2.5rem); padding-top: calc(var(--nav-h) + var(--safe-t) + var(--s-5)); }
.hero__copy .eyebrow { margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.hero__h { font-size: var(--t-mega); }
.hero__h .ln { overflow: hidden; padding-block: .04em; margin-block: -.04em; white-space: nowrap; }
.hero__foot { position: relative; background: var(--c-black); padding-block: clamp(1.25rem, 2.6vw, 2.25rem) calc(clamp(1.25rem, 2.6vw, 2.25rem) + var(--safe-b)); }
.hero__foot::before { content: ""; position: absolute; left: 0; bottom: 100%; width: min(64%, 60rem); height: clamp(.75rem, 2vw, 1.5rem); background: var(--c-black); clip-path: polygon(0 0, calc(100% - clamp(.75rem, 2vw, 1.5rem) * var(--tan)) 0, 100% 100%, 0 100%); }
.hero__foot .wrap { display: grid; gap: var(--s-5); align-items: center; }
.hero__sub { max-width: 30rem; color: var(--c-body); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); margin-inline: calc(var(--btn-h) * var(--tan) / -2); }
.trust { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-s); color: var(--c-body); }
.trust li { display: flex; align-items: center; gap: var(--s-2); }
.trust b { font-family: var(--f-display); font-stretch: var(--wdth-ui); font-weight: var(--wght-ui); color: var(--c-white); letter-spacing: .04em; }
.hero__pause { position: absolute; right: var(--pad-x); top: calc(var(--nav-h) + var(--safe-t) + var(--s-3)); z-index: 3; width: var(--tap); height: var(--tap); display: grid; place-items: center; background: var(--c-veil-strong); border: var(--hair) solid var(--c-line-2); color: var(--c-white); }
.hero__pause svg { width: 16px; height: 16px; }
@media (min-width: 900px) {
  .hero__foot .wrap { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sub ctas" "trust ctas"; column-gap: var(--s-7); }
  .hero__sub { grid-area: sub; } .hero__ctas { grid-area: ctas; justify-content: flex-end; } .trust { grid-area: trust; }
}
@media (max-width: 767px) { .hero__ctas .btn { flex: 1 1 100%; } .hero__ctas .btn:not(.btn--primary) { display: none; } }

/* ---------- services strip ---------- */
/* the strip's top edge steps down at the L's lean (the foot of the L); the hero shows through the notch */
.strip { --step: clamp(2rem, 5vw, 4.5rem); position: relative; z-index: var(--z-section); background: var(--c-black); padding-block: calc(var(--sec-y) * .45 + var(--step)) calc(var(--sec-y) * .8); overflow-x: clip; clip-path: polygon(0 0, 46% 0, calc(46% + var(--step) * var(--tan)) var(--step), 100% var(--step), 100% 100%, 0 100%); }
.strip__head { display: grid; gap: var(--s-5); margin-bottom: clamp(2.5rem, 6vw, 5.5rem); }
@media (min-width: 900px) { .strip__head { grid-template-columns: 1.4fr 1fr; align-items: end; } }
.marquee { display: grid; gap: clamp(.5rem, 1.4vw, 1.25rem); }
.mq { display: flex; width: max-content; will-change: transform; }
.mq__set { display: flex; align-items: center; flex: none; }
.mq__item { font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.6rem, 1rem + 7vw, 8.5rem); line-height: 1; letter-spacing: -.01em; color: var(--c-white); padding-inline: clamp(.75rem, 2vw, 2rem); white-space: nowrap; }
.mq__item--out { color: transparent; -webkit-text-stroke: max(1px, .02em) var(--c-line-2); }
.mq__sep { width: clamp(1.4rem, 3vw, 3rem); height: clamp(.55rem, 1.1vw, 1.1rem); background: var(--c-white); transform: skewX(calc(var(--lean) * -1)); flex: none; }
.mq--rev .mq__sep { background: var(--c-line-2); }

/* ---------- section heads ---------- */
.sec { position: relative; z-index: var(--z-section); background: var(--c-black); padding-block: var(--sec-y); }
.sec__head { display: grid; gap: var(--s-5); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec__head .display { max-width: 16ch; }

/* ---------- storm: the insurance path as a ladder that climbs by itself (fix 1, 2026-11-17) ----------
   Two layouts, picked by site.js (fitStorm, on load / fonts / resize), never by the scroll:
   - .storm--wide: >= 1366 x 640 AND the whole leaning ladder fits on one screen under the nav. Copy left, the ladder right,
     every rung with its number, title AND line beside it; the ladder is both the content and the scene.
   - everywhere else (the default, and the page without JS): the scene is a figure (.lf, aria-hidden, built by site.js from
     the rungs): the same leaning ladder with number + title on each rung, sized to fit one screen with its weather. The six
     steps follow as a plain ordered list (number, title, line; never animated, never dimmed), then the CTA. One column puts
     the figure under the headline; two columns (wide or landscape) put it beside the copy, as the first wide cut did. */
.storm { position: relative; z-index: var(--z-section); background: var(--c-black); }
.storm__pin { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "head" "fig" "ctl" "lede" "list" "cta"; row-gap: var(--s-5); padding-block: var(--s-5) var(--s-7); }
.storm__copy { display: contents; }
.storm__copy > .eyebrow { grid-area: eyebrow; }
.storm__copy > .display { grid-area: head; }
.storm__copy > .lede { grid-area: lede; }
.storm__copy .display { font-size: clamp(2.2rem, .9rem + 3.9vw, 5.1rem); }
.storm__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-3); }
.storm__cta .btn { margin-left: 0; }
.storm__cta--copy { display: none; }
.storm__cta--after { grid-area: cta; }
.storm__pin > .ladder { grid-area: list; margin-top: var(--s-4); }
.lf { grid-area: fig; }
/* the scene's Pause / Play / Replay: at the ladder's foot, under it (by step 01), clear of the copy and the chat button */
.scene-ctl--storm { grid-area: ctl; justify-self: start; align-self: start; position: relative; z-index: 1; }

/* the six steps as a plain ordered list: number, title, line */
.ladder { position: relative; }
.ladder__rails { display: none; }
.rungs { display: grid; gap: var(--s-6) var(--s-6); }
@media (min-width: 600px) { .rungs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rungs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rung { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: var(--s-4); border-top: var(--rule) solid var(--c-line-2); padding-top: var(--s-4); }
.rung__bar { display: none; }
.rung__n { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1; color: var(--c-white); width: 2.4ch; }
.rung h3 { font-family: var(--f-display); font-weight: 800; font-stretch: var(--wdth-display); text-transform: uppercase; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); line-height: 1; color: var(--c-white); letter-spacing: .01em; }
.rung p { font-size: var(--t-s); line-height: 1.4; color: var(--c-body); margin-top: var(--s-2); max-width: 30rem; }
.ladder__climb, .lf__climb { position: absolute; top: 0; bottom: 0; left: calc(var(--rail-w) * -1); right: calc(var(--rail-w) * -1); border-inline: var(--rail-w) solid var(--c-yellow); transform-origin: 50% 100%; }
.rung__bar i, .lf__bar i { position: absolute; inset: 0; background: var(--c-yellow); transform-origin: 0 50%; }

/* the figure: the leaning ladder, number + title on each rung, standing at the foot of its box. site.js sets both heights:
   --lf-box fills one screen where a nav link lands the section (the sky over the ladder is where the weather plays), and
   --lf-h is the ladder's own height, short enough that the lean leaves the top rung's title inside the column */
.lf { --lad-h: var(--lf-h, 20rem); --gap: clamp(3rem, 2rem + 4vw, 6rem); position: relative; width: 100%; max-width: 40rem; height: var(--lf-box, var(--lad-h)); }
.lf__rails { position: absolute; left: 0; bottom: 0; width: var(--gap); height: var(--lad-h); transform-origin: 0 100%; transform: skewX(calc(var(--lean) * -1)); border-inline: var(--rail-w) solid var(--c-line-2); }
.lf__rung { --y: calc((var(--i) + .5) / 6 * var(--lad-h)); position: absolute; left: calc(var(--y) * var(--tan)); bottom: var(--y); translate: 0 50%; display: grid; grid-template-columns: var(--gap) auto minmax(0, 1fr); align-items: center; column-gap: var(--s-3); width: calc(100% - var(--y) * var(--tan)); }
/* the rung leans with the rails (same skew) and tucks half a pixel into each, so its ends meet the rails with no gap or overshoot */
.lf__bar { position: relative; height: var(--rung-h); background: var(--c-line-2); margin-inline: calc(var(--rail-w) - var(--tuck)); transform: skewX(calc(var(--lean) * -1)); }
.lf__n { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1; color: var(--c-white); width: 2.4ch; }
.lf__t { font-family: var(--f-display); font-weight: 800; font-stretch: var(--wdth-display); text-transform: uppercase; font-size: clamp(1rem, .9rem + .6vw, 1.5rem); line-height: 1; color: var(--c-white); letter-spacing: .01em; white-space: nowrap; }
.lf--wrap .lf__t { white-space: normal; }

/* two columns (wide, or a landscape screen): the copy centred beside the figure (the control right under the figure's foot,
   its row taking any spare height), the steps and the CTA under both */
@media (min-width: 1024px), (orientation: landscape) and (min-width: 640px) {
  .storm__pin { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "copy fig" "copy ctl" "list list" "cta cta"; grid-template-rows: auto 1fr auto auto; column-gap: var(--s-7); }
  .storm__copy { display: grid; grid-area: copy; gap: var(--s-5); align-self: center; align-content: start; }
  .storm__copy > :is(.eyebrow, .display, .lede) { grid-area: auto; }
}

/* wide: copy left, the leaning ladder right with every line beside its rung; the control under the ladder's foot */
.storm--wide .storm__pin { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "copy lad" "copy ctl"; grid-template-rows: auto 1fr; column-gap: var(--s-7); row-gap: var(--s-3); }
.storm--wide .storm__copy { display: grid; grid-area: copy; gap: var(--s-5); align-self: center; align-content: start; }
.storm--wide .storm__copy > * { grid-area: auto; }
.storm--wide .storm__cta--copy { display: flex; }
.storm--wide .storm__cta--after, .storm--wide .lf { display: none; }
.storm--wide .storm__pin > .ladder { grid-area: lad; margin-top: 0; }
/* --lad-fit (site.js, on resize): the height that keeps every rung's title + line clear of the next one at 16 px */
.storm--wide .ladder { --lad-h: max(min(calc(100svh - var(--nav-h) - 12rem), 46rem), var(--lad-fit, 0px)); --gap: clamp(4.5rem, 9vw, 7rem); height: var(--lad-h); }
.storm--wide .ladder__rails { display: block; position: absolute; left: 0; bottom: 0; width: var(--gap); height: 100%; transform-origin: 0 100%; transform: skewX(calc(var(--lean) * -1)); border-inline: var(--rail-w) solid var(--c-line-2); }
.storm--wide .rungs { position: absolute; inset: 0; display: block; }
.storm--wide .rung { --y: calc((var(--i) + .5) / 6 * var(--lad-h)); position: absolute; left: calc(var(--y) * var(--tan)); bottom: var(--y); translate: 0 50%; grid-template-columns: var(--gap) auto minmax(0, 1fr); align-items: center; width: calc(100% - var(--y) * var(--tan)); max-width: 42rem; border-top: 0; padding-top: 0; }
.storm--wide .rung__bar { display: block; position: relative; height: var(--rung-h); background: var(--c-line-2); margin-inline: calc(var(--rail-w) - var(--tuck)); transform: skewX(calc(var(--lean) * -1)); }
.storm--wide .rung p { margin-top: var(--s-1); }

/* ---------- services ---------- */
.svc-grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc--lead { grid-column: span 2; grid-row: span 2; } }
.svc { display: grid; gap: var(--s-3); align-content: start; position: relative; }
.svc .frame { --ar: 1.45; }
.svc--lead .frame { --ar: 1.32; --hc: 1; }
@media (min-width: 1100px) { .svc--lead .frame { --ar: 1.22; } }
.svc__body { display: grid; gap: var(--s-2); padding-right: var(--s-4); }
.svc h3 { font-family: var(--f-display); font-weight: 850; font-stretch: var(--wdth-display); text-transform: uppercase; font-size: var(--t-m); line-height: .95; color: var(--c-white); letter-spacing: -.005em; }
.svc--lead h3 { font-size: var(--t-l); }
.svc p { font-size: var(--t-s); color: var(--c-body); max-width: 34rem; }
.svc__link { justify-self: start; font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); font-size: var(--t-xs); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--c-white); text-decoration: none; padding-block: var(--s-3); box-shadow: inset 0 calc(var(--rule) * -1) 0 var(--c-white); min-height: var(--tap); display: inline-flex; align-items: center; }
.svc:not(.has-photo) .frame { display: grid; place-items: end start; padding: var(--s-5) var(--s-5) var(--s-4) var(--s-5); background: var(--c-surface); }
.svc .frame { container-type: inline-size; }
.svc__glyph { white-space: nowrap; font-family: var(--f-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: min(4rem, 10.5cqi); line-height: .85; color: var(--c-line-2); letter-spacing: -.01em; }
.svc__tag { position: absolute; top: var(--s-3); right: var(--s-3); z-index: 2; }

/* ---------- proof (scroll-scrubbed foam -> coat) ---------- */
.proof { position: relative; z-index: var(--z-section); background: var(--c-black); }
.proof__pin { position: relative; height: 100svh; min-height: 560px; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding-top: calc(var(--nav-h) + var(--s-4)); }
.proof__stage { position: relative; margin-inline: var(--pad-x); }
.proof__stage .frame { position: absolute; inset: 0; aspect-ratio: auto; --ar: 1.6; }
.proof__canvas, .proof__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proof__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s linear; }
.proof__video.is-on { opacity: 1; }
.proof__pause { top: var(--s-3); right: var(--s-3); }
.proof__canvas { display: none; }   /* the frames-by-scroll version was retired 2026-11-17 */
.proof__copy { display: grid; gap: var(--s-4); padding: var(--s-5) var(--pad-x) calc(var(--s-6) + var(--safe-b)); }
.proof__copy .display { font-size: clamp(2rem, .9rem + 4.6vw, 5.5rem); }
.meter { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-3); max-width: 30rem; font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); font-size: var(--t-xs); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--c-white); }
.meter__bar { height: var(--rule); background: var(--c-line-2); position: relative; overflow: hidden; }
.meter__bar i { position: absolute; inset: 0; background: var(--c-white); transform-origin: 0 50%; transform: scaleX(var(--sp, 1)); }
@media (min-width: 1024px) {
  .proof__pin { grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); grid-template-rows: 1fr; padding-block: calc(var(--nav-h) + var(--s-6)) var(--s-7); align-items: center; }
  .proof__copy { order: -1; padding: 0 0 0 var(--pad-x); align-self: end; }
  .proof__stage { height: 100%; margin: 0 var(--pad-x) 0 0; }
}
.stills { display: grid; gap: clamp(1rem, 2vw, 1.75rem); grid-template-columns: repeat(12, minmax(0, 1fr)); padding-block: var(--s-7) var(--sec-y); }
.still { grid-column: span 12; }
.still .frame { --ar: 1.5; --hc: 1; }
@media (min-width: 768px) {
  .still:nth-child(1) { grid-column: 1 / span 7; }
  .still:nth-child(2) { grid-column: 8 / span 5; margin-top: 18%; }
  .still:nth-child(2) .frame { --ar: 1.05; }
  .still:nth-child(3) { grid-column: 3 / span 6; margin-top: -6%; }
  .still:nth-child(4) { grid-column: 9 / span 4; margin-top: 8%; }
  .still:nth-child(4) .frame { --ar: .9; }
}
.still figcaption { margin-top: var(--s-2); font-size: var(--t-s); color: var(--c-muted); }

/* ---------- inspection facts (folded into #quote) ---------- */
.stat { border-top: var(--rule) solid var(--c-line-2); padding-top: var(--s-4); display: grid; gap: var(--s-2); }
.stat__v { font-size: clamp(3.4rem, .5rem + 5.6vw, 7rem); line-height: .82; color: var(--c-white); white-space: nowrap; }
.stat__l { font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); text-transform: uppercase; letter-spacing: var(--tr-label); font-size: var(--t-xs); color: var(--c-white); }
.stat__src { font-size: var(--t-s); color: var(--c-muted); }

/* ---------- reviews ---------- */
.rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-3) var(--s-5); }
.rating__v { font-size: clamp(3.5rem, 2rem + 6vw, 7rem); line-height: .85; color: var(--c-white); }
.rating__stars { display: flex; gap: var(--s-1); color: var(--c-white); }
.rating__stars svg { width: 1.25rem; height: 1.25rem; }
.reviews__list { display: grid; gap: var(--s-5); margin-top: var(--s-7); grid-template-columns: 1fr; }
@media (min-width: 900px) { .reviews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.review { border-top: var(--rule) solid var(--c-line-2); padding-top: var(--s-4); display: grid; gap: var(--s-3); }
.review blockquote { color: var(--c-white); font-size: var(--t-m); line-height: 1.35; text-wrap: pretty; }
.review cite { font-style: normal; font-size: var(--t-s); color: var(--c-muted); }

/* ---------- area map ---------- */
.area__grid { display: grid; gap: var(--s-6); }
@media (min-width: 1024px) { .area__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); align-items: center; } }
.map { position: relative; width: 100%; aspect-ratio: 1.45; background: var(--c-black); }
.map svg { width: 100%; height: 100%; overflow: visible; }
.map__grid line { stroke: var(--c-surface); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__grid .major { stroke: var(--c-line); }
.map__ring { fill: none; stroke: var(--c-white); stroke-width: 1.25; vector-effect: non-scaling-stroke; opacity: .55; }
.map__city circle { fill: var(--c-line-2); transition: fill var(--d-ui) linear; }
.map__city text { fill: var(--c-muted); font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); text-transform: uppercase; letter-spacing: .06em; transition: fill var(--d-ui) linear; }
.map__city.is-on circle { fill: var(--c-white); }
.map__city.is-on text { fill: var(--c-white); }
.map__hq path { fill: var(--c-white); }
.cities { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); margin-top: var(--s-5); }
.cities li { font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); text-transform: uppercase; letter-spacing: .06em; font-size: var(--t-xs); color: var(--c-white); padding: var(--s-2) var(--s-3); box-shadow: inset 0 0 0 var(--hair) var(--c-line-2); }

/* ---------- quote ---------- */
.quote__grid { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .quote__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } }
.quote__copy { container-type: inline-size; min-width: 0; }
.quote__copy .display { font-size: min(var(--t-xl), 11.4cqi); }
.bigphone { display: inline-flex; align-items: center; min-height: var(--tap); font-size: min(var(--t-phone), 10.4cqi); line-height: .9; color: var(--c-white); text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.bigphone:hover { color: var(--c-yellow); }
.quote__alt { display: grid; gap: var(--s-3); margin-top: var(--s-5); color: var(--c-body); font-size: var(--t-s); }
.quote__alt a { color: var(--c-white); }
.form { position: relative; background: var(--c-surface); padding: clamp(1.25rem, 3vw, 2.5rem); display: grid; gap: var(--s-5); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3rem), calc(100% - 3rem * var(--tan)) 100%, 0 100%); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); }
.field label, .field legend { font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); text-transform: uppercase; letter-spacing: .06em; font-size: var(--t-s); color: var(--c-white); padding: 0; }
.field .opt { color: var(--c-muted); font-weight: 500; letter-spacing: .02em; text-transform: none; font-family: var(--f-text); }
.input { width: 100%; min-height: 52px; background: var(--c-black); border: 0; box-shadow: inset 0 calc(var(--rule) * -1) 0 var(--c-line-2); padding: var(--s-3) var(--s-3); font-size: 1rem; color: var(--c-white); border-radius: 0; }
.input::placeholder { color: var(--c-muted); }
.input:focus-visible { outline: var(--rule) solid var(--c-white); outline-offset: 2px; box-shadow: inset 0 calc(var(--rule) * -1) 0 var(--c-white); }
.input[aria-invalid="true"] { box-shadow: inset 0 calc(var(--rule) * -1) 0 var(--c-error); }
select.input { appearance: none; background-color: var(--c-black); color: var(--c-white); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chk { position: relative; display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); padding: 0 var(--s-4); background: var(--c-black); box-shadow: inset 0 0 0 var(--hair) var(--c-line-2); cursor: pointer; font-size: var(--t-s); color: var(--c-white); user-select: none; }
.chk input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chk__box { width: 18px; height: 18px; flex: none; box-shadow: inset 0 0 0 var(--rule) var(--c-white); display: grid; place-items: center; }
.chk__box svg { width: 12px; height: 12px; opacity: 0; }
.chk input:checked + .chk__box { background: var(--c-white); }
.chk input:checked + .chk__box svg { opacity: 1; color: var(--c-black); }
.chk:has(input:focus-visible) { outline: var(--rule) solid var(--c-white); outline-offset: 2px; }
.chk:has(input:checked) { box-shadow: inset 0 0 0 var(--rule) var(--c-white); }
/* the spam trap: a field people never see or reach; a filled one is dropped by the door */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); align-items: start; font-size: var(--t-s); line-height: 1.5; color: var(--c-body); cursor: pointer; position: relative; padding: var(--s-2) 0; }
.consent input { position: absolute; left: 0; top: var(--s-2); width: 24px; height: 24px; opacity: 0; margin: 0; cursor: pointer; }
.consent .chk__box { width: 24px; height: 24px; margin-top: 1px; }
.consent .chk__box svg { width: 15px; height: 15px; }
.consent input:checked + .chk__box { background: var(--c-white); }
.consent input:checked + .chk__box svg { opacity: 1; color: var(--c-black); }
.consent:has(input:focus-visible) .chk__box { outline: var(--rule) solid var(--c-white); outline-offset: 3px; }
.consent a { color: var(--c-white); }
.consent b { color: var(--c-white); font-weight: 600; }
.err { font-size: var(--t-s); color: var(--c-error); min-height: 0; }
.err:empty { display: none; }
.form__note { font-size: var(--t-s); color: var(--c-muted); }
.form__done { display: grid; gap: var(--s-3); padding: var(--s-5); box-shadow: inset 0 0 0 var(--rule) var(--c-white); background: var(--c-black); }
.form__done h3 { font-family: var(--f-display); font-weight: 850; font-stretch: var(--wdth-display); text-transform: uppercase; color: var(--c-white); font-size: var(--t-m); line-height: 1; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: var(--z-section); background: var(--c-black); border-top: var(--hair) solid var(--c-line); padding-block: var(--s-8) calc(var(--s-7) + var(--dock-h) + var(--safe-b)); }
@media (min-width: 901px) { .footer { padding-bottom: var(--s-7); } }
.footer__grid { display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer__lockup { width: min(15rem, 70%); height: auto; }
.footer h3 { font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); text-transform: uppercase; letter-spacing: var(--tr-label); font-size: var(--t-xs); color: var(--c-white); margin-bottom: var(--s-3); }
.footer li, .footer address { font-style: normal; font-size: var(--t-s); color: var(--c-body); line-height: 1.7; }
.footer a { color: var(--c-white); text-decoration-thickness: var(--hair); text-underline-offset: .2em; display: inline-flex; align-items: center; min-height: var(--tap); }
.footer__legal { margin-top: var(--s-7); padding-top: var(--s-4); border-top: var(--hair) solid var(--c-line); display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-5); font-size: var(--t-s); color: var(--c-muted); }
.footer__legal a { color: var(--c-body); }

/* ---------- dock (phone) ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock); display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--s-2); padding: var(--s-2) var(--s-3) calc(var(--s-2) + var(--safe-b)); background: var(--c-black); box-shadow: 0 calc(var(--hair) * -1) 0 var(--c-line); }
.dock .btn { --h: 44px; margin-inline: calc(44px * var(--tan) / 2); padding-inline: var(--s-3); font-size: .875rem; }
@media (min-width: 768px) { .dock { display: none; } }

/* ---------- reduced motion + failsafe states ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .btn::before, .nav__links a::after { transition: none; }
}

/* motion-only initial states (html.m is added by site.js once the observers are wired; any error removes it) */
html.m .rv { opacity: 0; }
html.m .rv.is-in { animation: rv-up var(--d-in) var(--e-out) both; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes rv-up { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
html.m .frame--rv::after { content: ""; position: absolute; inset: -2px -60%; background: var(--c-black); transform: skewX(calc(var(--lean) * -1)); z-index: 2; }
html.m .is-in .frame--rv::after, html.m .frame--rv.is-in::after { animation: curtain var(--d-scene) var(--e-inout) both; animation-delay: calc(var(--d, 0) * 110ms); }
html.m .frame--rv img { scale: 1.12; }
html.m .is-in .frame--rv img, html.m .frame--rv.is-in img { animation: settle 1.6s var(--e-out) both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
@keyframes curtain { from { translate: 0 0; } to { translate: 125% 0; } }
@keyframes settle { from { scale: 1.12; } to { scale: 1; } }

/* ---------- additions: nav icons + sheet, hero action, chips, beats, misc ---------- */
.nav__phone-btn { display: none; font-variant-numeric: tabular-nums; }
.nav__icon { display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); background: transparent; border: var(--hair) solid var(--c-line-2); color: var(--c-white); padding: 0; }
.nav__icon svg { width: 20px; height: 20px; }
.nav__sheet { position: absolute; top: 100%; left: 0; right: 0; background: var(--c-black); box-shadow: 0 var(--hair) 0 var(--c-line); display: grid; padding: var(--s-2) var(--pad-x) var(--s-5); }
.nav__sheet a { font-family: var(--f-display); font-weight: 800; font-stretch: var(--wdth-display); text-transform: uppercase; font-size: var(--t-m); color: var(--c-white); text-decoration: none; padding: var(--s-3) 0; border-bottom: var(--hair) solid var(--c-line); }
@media (min-width: 768px) { .nav__phone-btn { display: inline-flex; } .nav__call { display: none; } }
/* the menu button says "Menu" where the row has room for the word (768-1365); phones keep the icon alone */
.nav__menu-w { display: none; }
@media (min-width: 768px) {
  .nav__menu { display: inline-flex; align-items: center; gap: var(--s-2); width: auto; padding-inline: var(--s-3) var(--s-4); }
  .nav__menu-w { display: inline; font-family: var(--f-display); font-weight: var(--wght-ui); font-stretch: var(--wdth-ui); font-size: var(--t-xs); letter-spacing: var(--tr-label); text-transform: uppercase; line-height: 1; }
}
@media (min-width: 1366px) { .nav__menu { display: none; } }
/* up to 900 px the phone dock carries Free inspection; the nav keeps the number and the menu (2026-11-17: the row ran past 768) */
@media (max-width: 900px) { .nav__quote { display: none; } }
.nav__cta { gap: var(--s-2); }
@media (min-width: 768px) { .nav__cta { gap: var(--s-3); } }
.only-phone { display: none; }
@media (max-width: 600px) { .only-wide { display: none; } .only-phone { display: block; } }
.hero__act { display: grid; gap: var(--s-3); }
.hero__small { font-size: var(--t-s); color: var(--c-body); }
.trust li + li::before { content: ""; width: 4px; height: 4px; background: var(--c-line-2); margin-right: var(--s-3); transform: skewX(calc(var(--lean) * -1)); }
.trust { column-gap: var(--s-3); }
@media (min-width: 900px) { .hero__foot .wrap { grid-template-areas: "sub act" "trust act"; } .hero__act { grid-area: act; justify-items: end; } .hero__ctas { grid-area: auto; } }
.textlink { background: none; border: 0; padding: var(--s-3) 0; min-height: var(--tap); color: var(--c-white); font-size: var(--t-s); text-decoration: underline; text-decoration-thickness: var(--hair); text-underline-offset: .25em; text-align: left; }
.textlink:hover { text-decoration-thickness: var(--rule); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.chips li { font-size: var(--t-xs); color: var(--c-white); padding: var(--s-1) var(--s-3); box-shadow: inset 0 0 0 var(--hair) var(--c-line-2); }
.beats { display: grid; gap: var(--s-2); max-width: 30rem; }
.beat { font-size: var(--t-s); color: var(--c-muted); transition: color var(--d-ui) linear; }
.beat b { font-family: var(--f-display); font-weight: 850; font-stretch: var(--wdth-display); text-transform: uppercase; letter-spacing: .03em; color: inherit; margin-right: var(--s-2); }
.beat.is-on { color: var(--c-white); }
html:not(.m) .beat { color: var(--c-body); }
.proof__after { display: flex; justify-content: center; padding-bottom: var(--sec-y); }
.stat__unit { font-size: max(var(--t-xs), .32em); font-style: normal; letter-spacing: .02em; text-transform: uppercase; margin-left: .15em; }
:is(.area__copy, .quote__copy) > .lede { margin-top: var(--s-5); }   /* the headline and the lede no longer touch (fix 1) */
.area__line { margin-top: var(--s-5); font-size: var(--t-s); }
.area__line a { color: var(--c-white); }
.area__cta { margin-top: var(--s-5); }
.quote__phone { margin-top: var(--s-7); display: grid; gap: var(--s-2); }
.form__send { display: grid; gap: var(--s-3); justify-items: start; }
.form__send .btn--block { margin-inline: calc(var(--btn-h) * var(--tan) / 2); }
.form__note a { color: var(--c-white); }
.footer__lic { margin-top: var(--s-4); font-size: var(--t-s); color: var(--c-body); }
.footer__lic b { color: var(--c-white); font-weight: 600; }
.footer address { margin-top: var(--s-2); }
.svc .frame > img { position: absolute; inset: 0; }
.svc__glyph { position: relative; z-index: 1; }
.has-photo .svc__glyph { display: none; }

/* dock: phones and small tablets (copy deck: <= 900 px). It sits above the intro so the call is one tap from the first second. */
@media (min-width: 768px) and (max-width: 900px) { .dock { display: grid; } }
.dock { z-index: calc(var(--z-intro) + 1); transition: translate var(--d-ui) var(--e-out); }
.dock.is-away { translate: 0 calc(100% + 2px); }
@media (max-width: 900px) {
  .hero__foot { padding-bottom: calc(clamp(1.25rem, 2.6vw, 2.25rem) + var(--dock-h) + var(--safe-b)); }
}

/* hero: the sub leaves room for the pause control on phones; short screens tighten the hero */
@media (max-width: 600px) { .hero__copy .eyebrow { padding-right: calc(var(--tap) + var(--s-2)); } }
@media (max-height: 700px) and (max-width: 900px) { .hero__small { display: none; } }

/* ================= fix pass 2026-11-10 (critic + Business reviews) ================= */
/* 3 · phones: Call · Free inspection · chat in one dock; nothing focusable hides under it */
.dock { grid-template-columns: auto minmax(0, 1fr) 44px; gap: 6px; padding-inline: 8px; }
.dock .btn { font-size: var(--t-xs); letter-spacing: .02em; }
.dock .btn:first-child { padding-inline: calc(44px * var(--tan) / 2 + .55em); }
.dock__chat { align-self: center; width: 44px; height: 44px; display: grid; place-items: center; background: var(--c-white); color: var(--c-black); border: 0; padding: 0; clip-path: polygon(calc(44px * var(--tan)) 0, 100% 0, 100% 100%, 0 100%); touch-action: manipulation; }
.dock__chat svg { width: 20px; height: 20px; margin-left: 8px; }
.dock__chat:focus-visible { outline: var(--rule) solid var(--c-yellow); outline-offset: 3px; }
@media (max-width: 900px) { html { scroll-padding-bottom: calc(var(--dock-h) + var(--safe-b) + var(--s-4)); } }

/* 4 · a division with no real photo is a ruled index row (name · line · link); a photo in config.photos.cards brings its frame back */
.svc-grid { grid-auto-flow: row dense; }
.svc:not(.has-photo) .frame { display: none; }
.svc:not(.has-photo) { order: 2; grid-column: 1 / -1; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr) auto; align-items: baseline; column-gap: var(--s-6); row-gap: var(--s-2); padding-block: var(--s-5); border-top: var(--hair) solid var(--c-line); }
.svc:not(.has-photo) .svc__body { display: contents; }
.svc:not(.has-photo):last-child { border-bottom: var(--hair) solid var(--c-line); }
.svc:not(.has-photo) .svc__maint { grid-column: 2; }
@media (max-width: 767px) { .svc:not(.has-photo) { grid-template-columns: 1fr; } .svc:not(.has-photo) .svc__maint { grid-column: auto; } }
/* with one photo card beside Roofing, the lead takes one row and the side card stands tall beside it */
@media (min-width: 1100px) {
  .svc-grid[data-photos="1"] .svc--lead { grid-row: span 1; }
  .svc-grid[data-photos="1"] .svc.has-photo:not(.svc--lead) .frame { --ar: .62; --hc: .2; }
}

/* 5 · the inspection's terms live in #quote; the copy column rides beside the long form */
.quote__facts { margin-top: var(--s-6); display: grid; gap: var(--s-5); border-top: var(--hair) solid var(--c-line); padding-top: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.quote__facts .stat { border-top: 0; padding-top: 0; }
.quote__facts .stat__v { font-size: min(clamp(2.6rem, 1rem + 4.2vw, 5.5rem), 8.6cqi); }
@media (min-width: 1024px) { .quote__copy { position: sticky; top: calc(var(--nav-h) + var(--s-6)); } }

/* 8 · nav lockup: "AND ROOFING" at a legible size (wordmark 0.4 of the nav height) */
.brand__L { height: calc(var(--nav-h) * .5); }
.brand__wm { height: calc(var(--nav-h) * .4); }
