/* v16 / B "real surfaces" (11-09 round 16 B, preview only, not deployed). Base: v15 / C "fewer, better" (copied), every machine
   removed. The opening is R10 C's bright line again. His round 16 B words: base the questions and the estimate on the equipment, done
   right. So two scenes are BUILT ON THE SURFACE (assets/surfaces.js, styles at the end of this file): QUESTIONS = a parking lot seen
   from above whose stall lines are painted in; ESTIMATE = the form on worn, cracked grey asphalt that a sealcoat spray seals black.
   Real textures cropped from his photos (tools/build_textures.py), never drawn past their pixels. No machine is drawn anywhere.
   Where you are: the section's name + "03 / 06" top right under the header; a "Scroll" cue on the opening until the first gesture.
   The whole home page is a series of full-screen SCENES. One gesture = one whole move to the next scene: the next scene RISES in from
   below over the current one (which slides up 30% and darkens), then its headline and items stagger in and its surface does its one
   motion; then everything sits still. Going up plays it in reverse (nothing replays).
   Animation language: rises and slides (translate, clip, opacity). No zoom, no wobble. ONE easing family (expo out; cubic in-out for
   the move itself). Alignment: ONE centred container, equal side margins. Colour: midnight default + 4 cool palettes (picker in header).
   No glows, blur, glass, colour gradients (the gradients here are BLACK shades under text, and the wet sealer's sheen).
   Reduced motion / no JS: no scenes: the plain stacked page, native scroll, every surface shown finished. */

@font-face { font-family: "Geist"; src: url(fonts/geist-var.woff2?v=19f9c92546) format("woff2"); font-weight: 100 900; font-display: swap; }

/* ---------- colour: midnight first (default) + 4 cool options ---------- */
:root, html[data-bg="midnight"] { --bg: #05070f; --surface: #0f1424; --field: #181e32; --field-h: #1f263c; }
:root {
  --tx: #f5f7fa;
  --tx-2: #c4ccd7;
  --tx-3: #8f99a7;
  --line: rgba(255, 255, 255, .13);
  --line-2: rgba(255, 255, 255, .24);
  --line-3: rgba(255, 255, 255, .42);
  --blue: #1458d6;          /* the logo blue (sampled #0444aa), lifted to read on the dark */
  --blue-h: #2468e8;
  --blue-p: #0e48b6;
  --blue-ink: #79a5ff;      /* the same blue for lines, markers, focus */
  --err: #ff9b8a;
  --ease: cubic-bezier(.16, 1, .3, 1);   /* the one easing family (expo out) */
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --ts-s: 0 1px 2px rgba(0, 0, 0, .85), 0 0 12px rgba(0, 0, 0, .6), 0 0 28px rgba(0, 0, 0, .4);
  --r: 18px;
  --r-s: 10px;

  --t-xl: clamp(40px, 4.2vw + 6px, 84px);
  --t-lit: clamp(26px, 2.2vw + 10px, 50px);
  --t-l: clamp(28px, 1.9vw + 10px, 44px);
  --t-m: 18px;
  --t-s: 14px;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;
  --gutter: 64px;
  --gap: 24px;
  --sec: 144px;
  --hd-row: 72px;                       /* the header's own row (logo, links, phone, Free estimate) */
  --deck: 0px;                          /* (v13's road deck height: none in this build) */
  --hd: calc(var(--hd-row) + var(--deck));
  --maxw: 1440px;
  --sc-t: clamp(20px, 4.4svh, 48px);    /* a scene's room under the header */
  --sc-b: clamp(20px, 4.4svh, 48px);    /* ... and at its bottom */
}
@media (max-width: 1199px) { :root { --gutter: 40px; --sec: 120px; } }
@media (max-width: 767px) { :root { --gutter: 16px; --gap: 16px; --sec: 96px; --hd-row: 60px; --r: 14px; --sc-t: 40px; --sc-b: 28px; } }
/* R14 C: no road deck (--deck stays 0): the scenes get their own room under the header back */
@media (max-width: 767px) { html.stage { --sc-t: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--tx);
  font: 400 var(--t-m)/1.55 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  transition: background-color .5s var(--ease);
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 2px; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 200; padding: 12px 16px; background: var(--surface); border-radius: 6px; font-size: var(--t-s); }
.skip:focus { top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
p, dd, .lede { text-wrap: pretty; }

/* ---------- type ---------- */
.t-xl, .t-l { font-family: "Geist", sans-serif; text-wrap: balance; }
.t-xl { font-size: var(--t-xl); font-weight: 680; line-height: 1; letter-spacing: -.04em; }
.t-l { font-size: var(--t-l); font-weight: 650; line-height: 1.06; letter-spacing: -.03em; }
.lede { font-size: var(--t-m); line-height: 1.55; color: var(--tx-2); max-width: 48ch; }
.cap { font-size: var(--t-s); line-height: 1.4; font-weight: 500; color: var(--tx-3); }
.pcap {   /* a caption sitting on a photo: a small solid plate */
  display: inline-block; padding: 6px 10px; border-radius: 6px; background: var(--bg); color: var(--tx);
  font-size: var(--t-s); font-weight: 500; line-height: 1.25; white-space: nowrap;
}

/* ---------- layout: one centred container, equal margins ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
@media (max-width: 767px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* section head: the heading on the container's left edge, its one line on the right */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.sec-head h2 { grid-column: 1 / 8; }
.sec-head .lede { grid-column: 8 / 13; padding-bottom: 4px; }
@media (max-width: 1023px) { .sec-head h2, .sec-head .lede { grid-column: 1 / -1; } .sec-head .lede { margin-top: var(--s2); padding: 0; } }

.ul { position: relative; }
.ul::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.ul:hover::after, .ul:focus-visible::after, .ul[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.more { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-s); font-weight: 600; letter-spacing: .01em; padding-block: 8px; }
.more svg { width: 16px; height: 16px; transition: transform .6s var(--ease); }
.more:hover svg, .more:focus-visible svg { transform: translate3d(5px, 0, 0); }
.more span { position: relative; }
.more span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--line-3); }
.more span::before { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--blue-ink); z-index: 1; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.more:hover span::before, .more:focus-visible span::before { transform: scaleX(1); transform-origin: left; }

/* ---------- buttons: a fill that rises on hover, a press state ---------- */
.btn {
  --bh: 52px;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  font-family: "Geist", sans-serif; font-size: var(--t-s); font-weight: 600; letter-spacing: .01em; line-height: 1; white-space: nowrap;
  background: var(--blue); color: #fff;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease), color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue-h); transform: translate3d(0, 101%, 0); transition: transform .55s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .6s var(--ease); }
.btn:hover svg { transform: translate3d(4px, 0, 0); }
.btn:active { transform: translate3d(0, 1px, 0) scale(.985); }
.btn:active::before { background: var(--blue-p); }
.btn-line { background: transparent; border-color: var(--line-3); color: var(--tx); }
.btn-line::before { background: var(--tx); }
.btn-line:hover, .btn-line:focus-visible { color: var(--bg); border-color: var(--tx); }
.btn-sm { --bh: 40px; padding: 0 18px; }
.btn[disabled] { cursor: not-allowed; }
.btn[disabled]:active { transform: none; }

/* ---------- header: logo + Free estimate (opens the sheet) on every page. Nothing follows you at the bottom (R8/R9).
   On the home opening it starts clear and turns solid as the big logo lands in it. (R14 C: no progress line or bar of any kind.) */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--hd); --hdbg: 1; }
.hd::before { content: ""; position: absolute; inset: 0; background: var(--bg); border-bottom: 1px solid var(--line); opacity: var(--hdbg); pointer-events: none; transition: background-color .5s var(--ease); }
.hd-in { position: relative; height: var(--hd-row); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: var(--s4); }
.hd-logo { display: block; width: 150px; justify-self: start; transition: opacity .25s linear; }
.hd-logo img { width: 150px; height: auto; }
.hd-nav { display: flex; justify-content: center; gap: var(--s4); font-size: var(--t-s); font-weight: 500; letter-spacing: .01em; }
.hd-nav a { padding-block: 8px; color: var(--tx); }
.hd-act { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: var(--s3); }
.hd-tels { display: grid; justify-items: end; gap: 0; }   /* R13: his two numbers, stacked */
.hd-tel { display: flex; align-items: center; min-height: 24px; font-size: 13px; font-weight: 600; letter-spacing: .02em; line-height: 1.3; padding-block: 1px; }   /* (11-11, WCAG 2.5.8: each number a 24 px target) */
.hd-burger {
  display: none; height: 40px; padding: 0 14px; border: 1px solid var(--line-3); border-radius: 999px; background: transparent;
  font-size: var(--t-s); font-weight: 600; letter-spacing: .015em; align-items: center; gap: 10px; transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.hd-burger:hover { background: var(--field); }
.hd-burger i { display: grid; gap: 4px; width: 14px; }
.hd-burger i::before, .hd-burger i::after { content: ""; height: 1.5px; background: currentColor; }
.hero-run .hd { --hdbg: 0; }
.hero-run:not(.fly-done) .hd-logo { opacity: 0; }
@media (max-width: 1279px) { .hd-nav { gap: var(--s3); } }
@media (max-width: 1199px) {
  .hd-in { grid-template-columns: auto 1fr; }
  .hd-nav { display: none; }
  .hd-act { grid-column: 2; }
  .hd-burger { display: inline-flex; }
}
@media (max-width: 767px) {
  .hd-logo, .hd-logo img { width: 112px; }
  .hd-tels { display: none; }
  .hd-act { gap: var(--s1); }
  .hd-act .btn-sm { --bh: 38px; padding: 0 14px; }
  .hd-burger { height: 38px; padding: 0 12px; }
  .hd-burger span { display: none; }
}

.menu {
  position: fixed; inset: 0; z-index: 70; background: var(--bg); display: flex; flex-direction: column;
  padding: 0 var(--gutter) calc(var(--s4) + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translate3d(0, -16px, 0);
  transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.menu-top { height: var(--hd-row); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); flex: none; }
.menu-top img { width: 112px; height: auto; }
.menu-links { display: grid; margin-top: var(--s4); }
.menu-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-foot { margin-top: auto; display: grid; gap: var(--s2); padding-top: var(--s4); }
.menu-foot .btn { width: 100%; }
.x-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .5s var(--ease); flex: none;
}
.x-btn:hover { background: var(--field); border-color: var(--line-3); transform: rotate(90deg); }
.x-btn svg { width: 18px; height: 18px; }

/* =====================================================================================================================
   THE SCENES (R11 #1). Without the stage (reduced motion / no JS) every scene is a plain block in the page: native scroll.
   With the stage (html.stage, set in <head>): the page itself never scrolls; every scene is a fixed full-screen layer, only the
   current one is visible; site.js moves between them (the next one rises in over the current one). A scene taller than the screen
   scrolls INSIDE itself (overflow-y: auto, contained) and only a NEW gesture at its edge moves on.
   ⚠ main must NOT be a stacking context in the stage (no z-index): the moving scenes are ordered by z-index at the root.
   ===================================================================================================================== */
main { position: relative; }
.scene { position: relative; background: var(--bg); }
.scene-in { padding-block: var(--sec); }
.stage, .stage body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.stage .scene {
  position: fixed; inset: 0; z-index: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none; visibility: hidden;
}
.stage .scene::-webkit-scrollbar { display: none; }
.stage .scene.is-cur, .stage .scene.is-on { visibility: visible; }
.stage .scene-in {
  min-height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hd) + var(--sc-t)) 0 var(--sc-b);
}
.stage-dim { display: none; }
.stage .stage-dim { display: block; position: fixed; inset: 0; z-index: 3; background: #000; opacity: 0; visibility: hidden; pointer-events: none; }
.rv-reset, .rv-reset * { transition: none !important; }   /* site.js: put a scene's entrances back to the start, instantly */

/* ---------- entrances: when a scene arrives its headline arrives letter by letter and its items rise in, one after another (site.js
   adds .is-in and the delays). --ry = 1 coming down the page, -1 going back up (the same rise, mirrored). ---------- */
.cw { display: inline-block; overflow: hidden; vertical-align: top; white-space: nowrap; padding: 0 .03em .14em; margin: 0 -.03em -.14em; }
.ch { display: inline-block; will-change: transform; }
.motion [data-chars]:not(.ch-host) { visibility: hidden; }
.motion .ch-host .ch { transform: translate3d(0, calc(var(--ry, 1) * 112%), 0); transition: transform .5s var(--ease); transition-delay: calc(var(--d, 0ms) + var(--ci, 0) * 12ms); }
.motion .ch-host.is-in .ch, .motion .is-in .ch-host .ch { transform: none; }
.ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ln-i { display: block; }
.motion .ln-i { transform: translate3d(0, calc(var(--ry, 1) * 110%), 0); transition: transform .5s var(--ease); transition-delay: calc(var(--d, 0ms) + var(--li, 0) * 60ms); will-change: transform; }
.motion [data-rise] { opacity: 0; transform: translate3d(0, calc(var(--ry, 1) * 36px), 0); transition: opacity .4s var(--ease), transform .52s var(--ease); transition-delay: var(--d, 0ms); }
.motion .ln-host.is-in .ln-i, .motion [data-rise].is-in { transform: none; opacity: 1; }
.motion [data-lines]:not(.ln-host) { visibility: hidden; }
/* photos rise out of their own frame: the frame opens from the bottom (going up: from the top) while the picture rises inside it */
.motion [data-pop] .pf { clip-path: inset(var(--pt, 100%) 0 var(--pb, 0%) 0 round var(--r)); transition: clip-path .52s var(--ease) var(--d, 0ms); }
.motion [data-pop] .pf > img { transform: translate3d(0, calc(var(--ry, 1) * 8%), 0); transition: transform .55s var(--ease) var(--d, 0ms); }
.scene[data-dir="up"] { --ry: -1; --pt: 0%; --pb: 100%; }   /* site.js: arriving from below (going back up) */
.motion [data-pop].is-in .pf { clip-path: inset(0 0 0 0 round var(--r)); }
.motion [data-pop].is-in .pf > img { transform: none; }
.motion [data-pop] .pf > .pcap { opacity: 0; transition: opacity .3s var(--ease) calc(var(--d, 0ms) + 200ms); }
.motion [data-pop].is-in .pf > .pcap { opacity: 1; }

/* =====================================================================================================================
   1. THE OPENING (R10 C, kept exactly): his three pairs fill the screen edge to edge as three columns with 2px seams; the logo and the
   headline over them. On load the befores rise in; one gesture sends ONE bright line across that turns every column to AFTER and
   writes "done right."; the next gesture is the first scene move (the services rise in over it, the logo flies into the header).
   ⚠ NO UPSCALE: the files are 720x1290; the column box is capped at 720 px wide and 1290 px tall (--set-w).
   ===================================================================================================================== */
.hero {
  position: relative; background: var(--bg);
  --t-fs: clamp(44px, min(6.8vw, 10.4svh), 128px);
  --fs-logo: clamp(170px, min(17vw, 26svh), 300px);
  --fs-in: clamp(12px, 1.6vw, 24px);
  --set-w: 2164px;
}
.stage .hero { overflow: hidden; }
/* ⚠ the stage is .fs-stage, NOT .fs: .fs is the form's fieldset class (round 10 collision gave every fieldset 100vh) */
.fs-stage { position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; background: var(--bg); }
.fs-cols {
  position: absolute; inset: 0; margin: auto; width: min(100%, var(--set-w)); height: min(100%, 1290px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2px;
}
.col { position: relative; overflow: hidden; background: var(--surface); }
.hero-run .col { transform: translate3d(0, 100%, 0); will-change: transform; }
.col-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 60%); }
.col-after { position: absolute; inset: 0; }
.hero-run .col-after { clip-path: inset(0 100% 0 0); }
.col-dim { position: absolute; inset: 0; z-index: 1; background: #000; opacity: 0; pointer-events: none; }
.col-cap {
  position: absolute; left: var(--fs-in); bottom: var(--fs-in); z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 34px;
  padding: 0 12px; border-radius: 999px; background: var(--bg); font-size: var(--t-s); font-weight: 600; line-height: 1; white-space: nowrap;
}
.col-name { color: var(--tx); }
.col-state { position: relative; display: inline-grid; overflow: hidden; }
.s-b, .s-a { grid-area: 1 / 1; transition: transform .45s var(--ease); }
.s-b { color: var(--tx-3); }
.s-a { color: var(--blue-ink); transform: translate3d(0, 110%, 0); }
.col.is-after .s-b, html:not(.hero-run) .s-b { transform: translate3d(0, -110%, 0); }
.col.is-after .s-a, html:not(.hero-run) .s-a { transform: none; }
.fs-shade {
  position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: min(62%, 640px); pointer-events: none;
  /* v20 (R21 #2 jitter, measured in Firefox, his browser): the SAME gradient, pre-rendered (fs-shade.png, 4x640, stretched). As a CSS
     gradient over the three moving photo columns it cost every late frame of the opening (6-9 of ~107 in the line wipe and in the move
     to services at his 2048x1000 @1.25); as an image: 0. ⚠ do not turn it back into a CSS gradient. */
  background: url(img/fs-shade.png) 0 0 / 100% 100% no-repeat;
}
.fs-copy {
  position: absolute; left: 0; right: 0; top: calc(var(--hd) + clamp(4px, 2.2svh, 32px)); z-index: 3;
  display: flex; flex-direction: column; align-items: center; padding: 0 var(--gutter); text-align: center; pointer-events: none;
}
.hero-run:not(.hero-ready) .fs-copy { visibility: hidden; }
.fs-logo { width: var(--fs-logo); aspect-ratio: 960 / 366; overflow: hidden; }
.fs-logo img { width: 100%; height: auto; }
.fs-logo.is-flown img { visibility: hidden; }
.fs-title { margin-top: clamp(2px, 1.4svh, 18px); font-size: var(--t-fs); font-weight: 700; line-height: 1; letter-spacing: -.045em; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .55), 0 2px 20px rgba(0, 0, 0, .34); }
.t-a, .t-b { display: block; }
.t-b { padding: 0 .3em .26em; margin: 0 -.3em -.26em; }
.fs-title .cw { padding: .2em .2em .26em; margin: -.2em -.2em -.26em; }
html:not(.hero-run) .fs-title { white-space: normal; }
.fs-line {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 4; display: none; width: 2px; margin-left: -1px; background: #fff; opacity: 0;
  box-shadow: -1px 0 0 rgba(0, 0, 0, .4), 1px 0 0 rgba(0, 0, 0, .4); pointer-events: none; will-change: transform;
}
.hero-run .fs-line { display: block; }
/* v24 (R25 #6): the single-column (rows) opening = phones + every portrait / square screen; a landscape phone (>= 640 wide) gets the
   three columns (they fit it better than three thin rows). = site.js triMq + gen_site.py's preload media */
@media (max-width: 639px), (max-aspect-ratio: 1/1) {
  .hero { --t-fs: clamp(40px, 11.4vw, 88px); --fs-logo: clamp(160px, 44vw, 300px); --set-w: 720px; }
  .fs-cols { grid-template-columns: minmax(0, 1fr); }
  .hero-run .col { grid-area: 1 / 1; }
  html:not(.hero-run) .fs-stage { height: auto; min-height: 0; overflow: visible; }
  html:not(.hero-run) .fs-cols { position: relative; inset: auto; height: auto; row-gap: 2px; }
  html:not(.hero-run) .col { aspect-ratio: 720 / 1290; }
  html:not(.hero-run) .fs-shade { height: 62svh; }
}
@media (max-width: 767px) { .stage .fs-copy { top: calc(var(--hd) + 10px); } }   /* phones: just under the header */
.fly { position: fixed; left: 0; top: 0; z-index: 62; pointer-events: none; transform-origin: 0 0; visibility: hidden; }
.fly img { width: 100%; height: auto; }
.fly.is-ready { visibility: visible; }

/* =====================================================================================================================
   2. SERVICES (R11 #4): four tall columns side by side filling the scene (the opening's three columns, echoed): Resurfacing · New
   driveways · Parking lots · Private roads. Point at one (or focus it, or tap it) and it widens to ~55%: its big photo, the old site's
   lines, what's included (Sealcoating in all four; Parking lots: Line striping + a striping photo) and a small second photo; the other
   three narrow to slim columns with their names standing up.
   HOW (60 fps, no layout animation, no zoom): every panel is laid out at the OPEN width (--sv-w = photo --sv-ph + words) and site.js
   only moves it (translate) and crops it (clip-path inset) to its slot; CSS transitions both with the same easing, so the visible
   window slides/widens smoothly and the photo is never rescaled. ⚠ the photo box is the same size in every state: sized to the file.
   Phones + portrait tablets: four stacked bars, a tap opens one (one at a time).
   ===================================================================================================================== */
.sv-scene { background: var(--bg); }
.stage .sv-scene .scene-in { justify-content: flex-start; padding: var(--hd) 0 0; }
.sv-head { padding-block: clamp(20px, 3.6svh, 36px) clamp(18px, 3svh, 30px); flex: none; }
.sv-head h2 { grid-column: 1 / 10; white-space: nowrap; }   /* one line from 1024 up (the band stays short, the columns tall) */
.sv-head .lede { grid-column: 10 / 13; font-size: 16px; line-height: 1.45; }
@media (max-width: 1023px) { .sv-head h2 { white-space: normal; } .sv-head .lede { grid-column: 1 / -1; } }
@media (max-width: 767px) { .sv-head { padding-top: 22px; } }
.svc { position: relative; flex: 1 1 auto; min-height: 420px; overflow: hidden; background: var(--bg); --sv-w: 792px; --sv-ph: 418px; }
html:not(.stage) .svc { height: clamp(520px, calc(100svh - var(--hd) - 140px), 900px); }
.sv { position: absolute; inset: 0; pointer-events: none; }
.sv-panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--sv-w); pointer-events: auto;
  transition: transform .82s var(--ease), clip-path .82s var(--ease); will-change: transform;
}
.svc.no-tr .sv-panel, .svc.no-tr .sv-lab, .svc.no-tr .sv-vlab { transition: none !important; }
.sv-ph { position: absolute; left: 0; top: 0; bottom: 0; width: var(--sv-ph); overflow: hidden; background: var(--surface); }
.sv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
/* R12 #2: the column's photos, stacked; the shown one is .is-on (it dissolves in on top), the one it covers is .is-prev until then */
.sv-seq { position: absolute; inset: 0; }
.sq { position: absolute; inset: 0; margin: 0; opacity: 0; }
.sq.is-on { opacity: 1; z-index: 2; transition: opacity .7s cubic-bezier(.4, 0, .2, 1); }
.sq.is-prev { opacity: 1; z-index: 1; }
.sq.no-tr { transition: none; }
.sv-hit { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.sv-hit:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: -4px; border-radius: 4px; }
.sv-lab, .sv-vlab {
  position: absolute; left: 0; bottom: var(--s2); display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px;
  border-radius: 999px; background: var(--bg); color: var(--tx); font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .82s var(--ease), opacity .4s var(--ease);
}
.sv-lab i { position: relative; width: 12px; height: 12px; flex: none; }
.sv-lab i::before, .sv-lab i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--blue-ink); }
.sv-lab i::after { transform: rotate(90deg); }
.sv-vlab { left: 0; width: 38px; height: auto; padding: 14px 0; justify-content: center; writing-mode: vertical-rl; transform-origin: 0 0; opacity: 0; }
.sv-vlab b { display: block; transform: rotate(180deg); font-weight: 600; }
.sv.is-slim .sv-lab, .sv.is-open .sv-lab { opacity: 0; }
.sv.is-slim .sv-vlab { opacity: 1; transition: transform .82s var(--ease), opacity .45s var(--ease) .25s; }
/* the words: a solid column to the right of the photo (only seen when open) */
.sv-body { position: absolute; left: var(--sv-ph); right: 0; top: 0; bottom: 0; background: var(--surface); overflow: hidden; }
.sv-body-in { height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 3.6svh, 36px) 30px clamp(18px, 3svh, 30px); }
.sv-body-in > * { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .2s var(--ease), transform .3s var(--ease); }
.sv.is-open .sv-body-in > * { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease); transition-delay: calc(240ms + var(--k, 0) * 55ms); }
.sv-h { font-size: clamp(26px, 1.2vw + 14px, 34px); font-weight: 650; line-height: 1.05; letter-spacing: -.03em; }
.sv-p { margin-top: 12px; font-size: clamp(15px, .2vw + 13px, 16px); line-height: 1.5; color: var(--tx-2); }
.sv-k { margin-top: clamp(14px, 2.4svh, 22px); font-size: 13px; font-weight: 600; color: var(--tx-3); letter-spacing: .01em; }
.sv-list { margin-top: 6px; border-top: 1px solid var(--line); }
.sv-list li { display: flex; gap: 11px; align-items: baseline; padding: clamp(5px, .9svh, 8px) 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.sv-list li::before { content: ""; flex: none; width: 9px; height: 5px; border-left: 1.5px solid var(--blue-ink); border-bottom: 1.5px solid var(--blue-ink); transform: translateY(-3px) rotate(-45deg); }
.sv-list li b { font-weight: 600; color: #fff; }
.sv-note { margin-top: clamp(12px, 2svh, 18px); font-size: 14px; line-height: 1.45; color: var(--tx-2); }
.sv-note b { color: var(--tx); font-weight: 600; }
.sv-body-in .more { margin-top: 14px; align-self: flex-start; }
/* v19/site: a mouse click on the open column (photo or words) goes to its page (site.js goPage) */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) and (min-aspect-ratio: 1001/1000) { .sv.is-open .sv-body { cursor: pointer; } }
@media (max-height: 760px) and (min-width: 900px) { .sv-note { display: none; } }   /* short screens (1280x720): the list carries it */

/* R19 #1: THE SERVICES HEADING (surfaces.js "THE SERVICES HEADING"): the whole heading band, edge to edge from under the header to the
   columns, is GROUND: the graded base (his P091, toned to the night) with fresh mat (his P093 = tex-lot, the questions' lot: same tile,
   same 2x density) laid over it as the scene arrives. At rest (and with no JS / reduced motion): the mat. No strip, no wash, no steam. */
.sv-head { position: relative; isolation: isolate; }
.sv-head > h2, .sv-head > .lede { position: relative; z-index: 1; }
.svh { position: absolute; z-index: 0; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; overflow: hidden; pointer-events: none;
  background: #16181c url(img/tex-lot.jpg) 0 0 / 700px 350px repeat; }
html:not(.stage) .sv-scene { overflow-x: clip; }
.svh > i, .svh > span { position: absolute; left: 0; top: 0; bottom: 0; right: 0; display: none; }
.svh-win > i { position: absolute; inset: 0; display: block; }
.svh.is-live { background: none; }
.svh.is-live > .svh-base, .svh.is-live > .svh-win, .svh.is-live > .svh-lip { display: block; }
.svh.is-live .svh-win, .svh.is-live .svh-win > i, .svh.is-live .svh-lip { will-change: transform; }
.svh-win { overflow: hidden; }
/* the graded base the mat goes down on (his P091 gravel base, toned down to the night so it never flashes bright under the header) */
.svh-base { background: #3a3b3d url(img/tex-base.jpg) 0 0 / 700px 350px repeat; }
.svh-base::after { content: ""; position: absolute; inset: 0; background: rgba(6, 8, 14, .5); }
/* the mat: a window one band + the ragged edge wide (24 px past the right side at rest); its content stays fixed to the ground */
.svh > .svh-wm, .svh > .svh-ws { right: -24px; }
.svh-mat { background: #16181c url(img/tex-lot.jpg) 0 0 / 700px 350px repeat; }
.svh-wm { -webkit-mask: linear-gradient(#000, #000) 0 0 / calc(100% - 24px) 100% no-repeat, url(img/mat-edge.png) 100% 0 / 24px 256px repeat-y;
          mask: linear-gradient(#000, #000) 0 0 / calc(100% - 24px) 100% no-repeat, url(img/mat-edge.png) 100% 0 / 24px 256px repeat-y; }
/* fresh mat's sheen right behind the screed (the sand + oil catching the sky), drying with distance; it settles after the pass */
.svh-sheen { background: url(img/seal-wet.png) 0 0 / 400px 400px repeat, rgba(150, 166, 194, .075); opacity: .8; }
.svh-ws { -webkit-mask: linear-gradient(90deg, transparent calc(100% - 46%), #000 calc(100% - 40px), transparent calc(100% - 10px));
          mask: linear-gradient(90deg, transparent calc(100% - 46%), #000 calc(100% - 40px), transparent calc(100% - 10px)); }
/* the screed's edge: the fresh mat's thickness shading the base just ahead of it (soft, so the ragged edge reads, never a line) */
.svh > .svh-lip { right: auto; width: 28px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, .14) 65%, rgba(0, 0, 0, 0) 100%); }
@media (max-width: 767px) {
  .svh, .svh-mat { background-size: 466.667px 233.333px; }
  .svh-base { background-size: 466.667px 233.333px; }
  .svh-sheen { background-size: 266.667px 266.667px, auto; }
}
.sv-head .lede { color: #dfe4ea; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }

/* phones + portrait tablets: four stacked bars; a tap opens one (photo grows, the words open under it); the others go slim */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .svc { display: grid; gap: 2px; flex: none; min-height: 0; overflow: visible; --bar-h: 132px; --bar-open: min(56.25vw, 432px); }
  html:not(.stage) .svc { height: auto; }
  .sv { position: relative; inset: auto; pointer-events: auto; }
  .sv-panel { position: relative; width: auto; transform: none !important; clip-path: none !important; transition: none; }
  .sv-ph { position: relative; width: auto; height: var(--bar-h); transition: height .7s var(--ease); }
  .sv.is-open .sv-ph { height: var(--bar-open); }
  .sv.is-slim .sv-ph { height: 64px; }
  .sv-lab { left: var(--s2); bottom: 13px; transform: none !important; height: 38px; }
  .sv.is-slim .sv-lab { opacity: 1; }
  .sv.is-open .sv-lab { opacity: 0; }
  .sv-vlab { display: none; }
  .sv-body { position: static; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
  .sv.is-open .sv-body { grid-template-rows: 1fr; }
  .sv-body > .sv-body-in { min-height: 0; height: auto; overflow: hidden; padding: 0 var(--gutter); }
  .sv.is-open .sv-body > .sv-body-in { padding-block: 22px 26px; }
  .sv:last-child .sv-body-in { padding-right: var(--gutter); }
  .sv-body-in .more { margin-top: 14px; }
  .sv-note { display: block; }
}
@media (min-width: 768px) and (max-aspect-ratio: 1/1) { .svc { --bar-h: 190px; } .sv-body-in { padding-inline: var(--gutter); } }

/* =====================================================================================================================
   3. WORK WE'VE DONE = THE WORK (R19 #3; site.js "THE WORK"): the heading row under the header (the heading left; "Reviews from
   HomeAdvisor", one tick per review and Pause right), then the stage: three options (html[data-work]) built by site.js from the same
   slides. Each frame = two clipping windows + the photo (--fw x --fh, the photo box --cw x --ch), moved by transforms only.
   ⚠ NO UPSCALE: the stage is never wider than the narrowest file in the set (--wk-cap from data-cap: 2400 home, 2048 driveways);
   portrait screens use the 900x1200 files. No captions, no dates.
   ===================================================================================================================== */
.wk-scene { background: var(--bg); }
.wk { position: relative; }
.stage .wk { height: 100%; min-height: 520px; display: flex; flex-direction: column; }
.wk-head { flex: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 32px;
  padding-top: calc(var(--hd) + clamp(48px, 6svh, 58px)); padding-bottom: clamp(14px, 2.4svh, 24px); }
.wk-h { font-size: clamp(30px, 1.9vw + 12px, 50px); font-weight: 680; line-height: 1; letter-spacing: -.035em; }
.wk-side { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.wk-ctl { display: flex; align-items: center; gap: 12px; }
.wk-tks { display: flex; gap: 2px; }
.wk-tk { position: relative; width: 34px; height: 22px; padding: 0; border: 0; background: none; }
.wk-tk::before, .wk-tk i { content: ""; position: absolute; left: 2px; right: 2px; top: 10px; height: 3px; border-radius: 2px; }
.wk-tk::before { background: var(--line-2); }
.wk-tk i { background: var(--tx); transform: scaleX(0); transform-origin: 0 50%; }
.wk-tk:hover::before { background: var(--line-3); }
.wk-pause { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 11px; border: 1px solid var(--line-2); border-radius: 999px; background: none;
  font-size: 13px; font-weight: 600; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.wk-pause:hover { border-color: var(--line-3); background: var(--field); }
.wk-pause svg { width: 14px; height: 14px; }
.wk-pause .i-play, .wk.is-paused .wk-pause .i-pause { display: none; }
.wk.is-paused .wk-pause .i-play { display: inline; }
.wk-stage { position: relative; flex: 1 1 auto; min-height: 300px; width: 100%; margin: 0 auto; }
.stage .wk-stage { max-width: 2400px; overflow: hidden; }
.stage .wk[data-cap="2048"] .wk-stage { max-width: 2048px; }
.stage .wk-photos, .stage .wk-quotes { display: none; }
.wk-view { position: absolute; inset: 0; }
.wk-f, .wk-fb { position: absolute; left: 0; top: 0; width: var(--fw); height: var(--fh); overflow: hidden; }
.wk-f { visibility: hidden; will-change: transform; }
.wk-f.is-vis { visibility: inherit; }   /* (⚠ inherit, not visible: a "visible" child shows through a hidden scene) */
.wk-fb { will-change: transform; }
.wk-fc { position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch); background: var(--surface); will-change: transform; }
.wk-fc figure, .wk-fc picture, .wk-fc img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; }
.wk-fc img, .wk-fc video { object-fit: cover; }
.wk-fc video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* R21: NO UPSCALE, photo by photo (site.js fitOne): a file without the pixels to cover its box is shown whole at no more than its own
   size, centred on the box's dark ground (the figure takes the ground, so a dissolve never shows the photo before it in the margins) */
img.is-fit, video.is-fit { inset: 0 !important; margin: auto !important; width: auto !important; height: auto !important;
  max-width: min(100%, var(--nw)) !important; max-height: min(100%, var(--nh)) !important; object-fit: contain !important; }
figure.has-fit { background: var(--surface); }
/* v21 (R22 #3): a file allowed up to 1.5x (V12, data-maxup): where covering the slot would take more, it covers a box no bigger than
   1.5x the file (centred, dark ground round it): drawn at 1.5x at most, the sides cropped if the slot is wide (2560x1440's page window) */
video.is-fit.is-fitx { width: min(100%, var(--nw)) !important; height: min(100%, var(--nh)) !important; max-width: none !important; max-height: none !important;
  object-fit: cover !important; }
/* R21 J: the work strip laid in, coming down into it: a veil of the scene's own ground over the stage, cleared left to right behind ONE
   bright line (the opening's line). CSS transitions: once started it runs to its end by itself (a scene left mid-way never freezes it) */
.wk-veil, .wk-run { display: none; }
.motion .wk-stage.wk-lay .wk-veil { display: block; position: absolute; inset: 0; z-index: 8; background: var(--bg); pointer-events: none; clip-path: inset(0 0 0 0); }
.motion .wk-stage.wk-lay .wk-run { display: block; position: absolute; inset: 0; z-index: 9; pointer-events: none; transform: translate3d(-100%, 0, 0); will-change: transform; }
.wk-run i { position: absolute; top: 0; bottom: 0; right: 0; width: 2px; margin-right: -1px; background: #fff; box-shadow: -1px 0 0 rgba(0, 0, 0, .4), 1px 0 0 rgba(0, 0, 0, .4); }
.motion .wk-stage.wk-lay.wk-go .wk-veil { clip-path: inset(0 0 0 100%); transition: clip-path 1.15s var(--ease-io); }
.motion .wk-stage.wk-lay.wk-go .wk-run { transform: none; transition: transform 1.15s var(--ease-io); }
.motion .wk-stage.wk-lay.wk-go .wk-run i { opacity: 0; transition: opacity .3s linear 1.1s; }
.wk-dim { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #02040a; opacity: 0; pointer-events: none; }
.wk-o2 .wk-dim { will-change: opacity; }
/* the review on a solid plate (1: on the photo, riding its edge) or as plain words under the frame (2) or in the panel (3) */
.wk-qt { display: block; list-style: none; }   /* (a review li copied out of its list: no marker) */
.wk-qt blockquote p { font-size: clamp(16px, .4vw + 11px, 19px); font-weight: 500; line-height: 1.42; letter-spacing: -.01em; text-wrap: pretty; }
.wk-qt .rv-by { margin-top: 10px; }
.wk-plate { position: absolute; left: 0; top: 0; z-index: 3; padding: 16px 22px 14px 54px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; will-change: transform; }
.wk-plate .rv-q, .wk-rv .rv-q { position: absolute; left: 16px; top: 14px; height: 26px; font-size: 64px; }
.wk-line { position: absolute; left: 0; top: 0; z-index: 5; width: 2px; height: 100%; background: #fff; opacity: 0;
  box-shadow: -1px 0 0 rgba(0, 0, 0, .4), 1px 0 0 rgba(0, 0, 0, .4); pointer-events: none; will-change: transform; }
.wk-rv { position: absolute; left: 0; top: 0; padding: 4px 0 0 46px; visibility: hidden; will-change: transform, opacity; }
.wk-rv.is-vis { visibility: inherit; }
.wk-rv .rv-q { left: 4px; top: 4px; }
.wk-rv .wk-qt { max-width: 46em; }
.wk-panel { position: absolute; left: 0; top: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 64px);
  background: var(--surface); will-change: transform; }
.wk-panel .rv-q { display: block; height: 52px; font-size: 104px; line-height: 1; color: var(--blue-ink); }
.wk-pq { display: grid; margin-top: 18px; }
.wk-pq .wk-qt { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.wk-pq .wk-qt blockquote p { font-size: clamp(20px, 1vw + 12px, 30px); font-weight: 560; line-height: 1.32; letter-spacing: -.018em; }
.wk-pq .rv-by { margin-top: 18px; }
@media (max-height: 760px) and (min-width: 768px) { .wk-head { padding-top: calc(var(--hd) + 46px); } }
@media (max-width: 767px) {
  .stage .wk-head { padding-top: calc(var(--hd) + 46px); padding-bottom: 14px; }
  .wk-h { font-size: 26px; }
  .wk-side { width: 100%; justify-content: space-between; }
  .wk-side .cap { font-size: 13px; }
  .wk-tk { width: 26px; }
  .wk-pause { height: 30px; padding: 0 10px; }
  .wk-pause span { display: none; }
  .wk-plate { padding: 12px 14px 10px 40px; border-radius: 12px; }
  .wk-plate .rv-q, .wk-rv .rv-q { left: 10px; top: 10px; font-size: 52px; height: 22px; }
  .wk-rv { padding-left: 34px; }
  .wk-qt blockquote p { font-size: 15px; line-height: 1.4; }
  .wk-qt .rv-by { margin-top: 6px; }
  .wk-panel { padding: 18px 20px; }
  .wk-panel .rv-q { height: 30px; font-size: 64px; }
  .wk-pq { margin-top: 8px; }
  .wk-pq .wk-qt blockquote p { font-size: 18px; }
}
/* reduced motion / no JS: no stage: the heading, every review, then each slide's first photo in a grid (nothing moves) */
html:not(.stage) .wk-head { padding-top: var(--sec); }
html:not(.stage) .wk-ctl { display: none; }
html:not(.stage) .wk-stage { display: flex; flex-direction: column-reverse; }
html:not(.stage) .wk-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
html:not(.stage) .wk-ph { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
html:not(.stage) .wk-ph:not(.wk-first) { display: none; }
html:not(.stage) .wk-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html:not(.stage) .wk-quotes { display: grid; gap: 22px; width: 100%; max-width: var(--maxw); margin: 0 auto 32px; padding: 0 var(--gutter); }
html:not(.stage) .wk-q blockquote p { font-size: 18px; font-weight: 500; line-height: 1.45; }
@media (max-width: 767px) { html:not(.stage) .wk-photos { grid-template-columns: minmax(0, 1fr); } html:not(.stage) .wk-ph { aspect-ratio: 4 / 5; } }

/* ---------- 4. FIVE GENERATIONS: the old site's line, the facts as big numbers that count in, then the two ways in ---------- */
.stmt h2 { max-width: 14em; }
.st-p { margin-top: var(--s3); font-size: var(--t-lit); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; color: var(--tx-2); max-width: 22em; }
.facts { margin-top: clamp(32px, 7svh, 88px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--gap); }
.facts > div { position: relative; padding-top: var(--s3); display: flex; flex-direction: column-reverse; justify-content: flex-end; border-top: 1px solid var(--line-2); }
.facts dd { font-size: clamp(64px, min(7.6vw, 13svh), 140px); font-weight: 700; line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fx { display: inline-block; }
.fx-u { color: var(--blue-ink); }
.facts dt { margin-top: var(--s2); font-size: var(--t-m); color: var(--tx-2); }
/* the family scene (R14 C: no road strip; the two facts as big numbers, as v12) */
.fam .st-p { font-size: clamp(22px, 1.3vw + 12px, 34px); max-width: 30em; }
.fam-road { position: relative; margin-top: clamp(22px, 4.4svh, 52px); max-width: 980px; }
.fam-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.fam-facts dd { font-size: clamp(56px, min(6vw, 11svh), 120px); }
.fam-p { margin-top: clamp(18px, 3.6svh, 44px); padding-top: clamp(16px, 2.8svh, 28px); border-top: 1px solid var(--line); max-width: 46em;
  font-size: clamp(17px, .5vw + 12px, 20px); line-height: 1.45; color: var(--tx-2); }
.hb { margin-top: clamp(28px, 6svh, 64px); padding-top: var(--s4); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); }
.hb-line { font-size: clamp(20px, 1vw + 12px, 26px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; max-width: 30em; text-wrap: balance; }
.hb-act { display: flex; flex-wrap: wrap; gap: var(--s2); }
@media (max-width: 767px) {
  .facts { grid-template-columns: 1fr; gap: var(--s3); }
  .facts > div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding-top: var(--s2); }
  .facts dd { font-size: 64px; }
  .facts dt { margin: 0; }
  .hb-act { width: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s1); }
  .hb-act .btn { --bh: 48px; padding: 0 14px; }
  .hb-act .btn-line .num { display: none; }
}

/* ---------- 5. REVIEWS (R11 #3): a clean 3x2 grid of EQUAL cards (same top edges, same heights): hairline border, one large quote mark
   in the logo blue, the HomeAdvisor words verbatim, name + "HomeAdvisor" small. The six arrive in one smooth stagger. ---------- */
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s1) var(--s3); }
.rv-grid { margin-top: clamp(24px, 4.4svh, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--gap); }
.rv-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(22px, 3svh, 30px) clamp(22px, 2vw, 30px) clamp(20px, 2.6svh, 26px); border: 1px solid var(--line-2); border-radius: 16px; transition: border-color .4s var(--ease); }
.rv-card:hover { border-color: var(--line-3); }
.rv-q { display: block; height: 30px; margin-left: -3px; font-size: 76px; font-weight: 700; line-height: .82; color: var(--blue); letter-spacing: 0; user-select: none; }
.rv-card blockquote { flex: 1; margin-top: clamp(12px, 2svh, 18px); }
.rv-card blockquote p { font-size: clamp(16px, .6vw + 10px, 20px); font-weight: 500; line-height: 1.42; letter-spacing: -.01em; }
.rv-by { margin-top: clamp(16px, 2.4svh, 22px); display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--tx-3); }
.rv-by b { font-size: 15px; font-weight: 600; color: var(--tx); }
@media (max-height: 820px) and (min-width: 768px) { .rv-grid { margin-top: 20px; } .rv-q { height: 24px; font-size: 64px; } .rv-card blockquote { margin-top: 10px; } .rv-by { margin-top: 14px; } }
@media (max-width: 1023px) and (max-aspect-ratio: 1/1) { .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .rv-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; } .rv-card { padding: 20px; } .rv-q { height: 26px; font-size: 64px; } }

/* ---------- spec rows (label : value) ---------- */
.spec { margin-top: var(--s5); border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: 7.5em 1fr; gap: var(--s2); padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: var(--t-s); color: var(--tx-3); padding-top: 3px; }
.spec dd { font-size: var(--t-m); line-height: 1.4; }
@media (max-width: 767px) { .spec > div { grid-template-columns: 6.5em 1fr; } }

/* ---------- split: photo and words, both inside the container (driveways page) ---------- */
.split .grid { align-items: center; }
.sp-fig { grid-column: 1 / 8; grid-row: 1; }
.sp-frame { position: relative; overflow: hidden; height: clamp(420px, 70svh, 700px); border-radius: var(--r); background: var(--surface); }
.stage .sp-frame { height: clamp(360px, calc(100svh - var(--hd) - var(--sc-t) - var(--sc-b) - 44px), 700px); }
.sp-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.sp-fig figcaption { margin-top: 12px; }
.sp-txt { grid-column: 8 / 13; grid-row: 1; padding-left: var(--s5); }
.split.rev .sp-fig { grid-column: 6 / 13; }
.split.rev .sp-txt { grid-column: 1 / 6; padding-left: 0; padding-right: var(--s5); }
.sp-txt .lede { margin-top: var(--s3); }
.ticklist { margin-top: var(--s4); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); border-top: 1px solid var(--line); }
.ticklist li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.ticklist li::before { content: ""; flex: none; width: 10px; height: 6px; border-left: 1.5px solid var(--blue-ink); border-bottom: 1.5px solid var(--blue-ink); transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 1199px) { .sp-txt { padding-left: var(--s4); } .split.rev .sp-txt { padding-right: var(--s4); } }
@media (max-width: 1023px) and (max-aspect-ratio: 1/1), (max-width: 767px) {
  .sp-fig, .split.rev .sp-fig { grid-column: 1 / -1; }
  .sp-frame, .stage .sp-frame { height: auto; aspect-ratio: 3 / 2; }
  .sp-txt, .split.rev .sp-txt { grid-column: 1 / -1; grid-row: 2; padding: var(--s4) 0 0; max-width: 680px; }
}
@media (max-width: 767px) { .sp-frame, .stage .sp-frame { aspect-ratio: 4 / 3.4; } .ticklist { grid-template-columns: 1fr; } }

/* ---------- small before / after drag slider (driveways page) ---------- */
.ba-tag { position: absolute; z-index: 2; padding: 6px 10px; border-radius: 6px; background: var(--bg); color: var(--tx); font-size: var(--t-s); font-weight: 600; line-height: 1.2; pointer-events: none; }
.ba-txt { grid-column: 1 / 6; align-self: center; }
.ba-txt .spec { margin-top: var(--s5); }
.ba-txt .lede { margin-top: var(--s3); }
.ba-fig { grid-column: 7 / 13; justify-self: center; width: min(100%, calc((100svh - var(--hd) - var(--sc-t) - var(--sc-b) - 44px) / 1.1)); }
html:not(.stage) .ba-fig { width: 100%; }
.ba-fig figcaption { margin-top: 12px; }
.ba { position: relative; overflow: hidden; aspect-ratio: 4 / 4.4; border-radius: var(--r); --x: 50%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; background: var(--field); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-top { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--x); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: #0a0c10; display: grid; place-items: center; pointer-events: none; transition: transform .4s var(--ease); }
.ba:active .ba-knob { transform: scale(.92); }
.ba-knob svg { width: 22px; height: 22px; }
.ba .ba-tag { top: var(--s2); }
.ba .ba-tag-b { left: var(--s2); }
.ba .ba-tag-a { right: var(--s2); }
.ba input { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.ba:focus-within .ba-knob { outline: 2px solid var(--blue-ink); outline-offset: 3px; }
@media (max-width: 1023px) and (max-aspect-ratio: 1/1), (max-width: 767px) { .ba-txt { grid-column: 1 / -1; } .ba-fig { grid-column: 1 / -1; justify-self: start; margin-top: var(--s4); width: min(100%, 560px); } }

/* ---------- 6. questions: short questions that open in place (the old site's answers, trimmed) ---------- */
.qa-head { grid-column: 1 / 5; }
.qa-head .lede { margin-top: var(--s3); max-width: 30ch; }
.qa-head .lede a { color: var(--tx); }
.qa { grid-column: 6 / 13; border-top: 1px solid var(--line); }
.qa-item { border-bottom: 1px solid var(--line); }
.qa-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: clamp(16px, 2.6svh, 24px) 0; border: 0; background: none; text-align: left; font-size: var(--t-m); font-weight: 500; transition: color .3s var(--ease); }
.qa-q:hover { color: #fff; }
.qa-ic { position: relative; width: 14px; height: 14px; flex: none; }
.qa-ic::before, .qa-ic::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .6s var(--ease); }
.qa-ic::after { transform: rotate(90deg); }
.qa-q[aria-expanded="true"] .qa-ic::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding-bottom: var(--s3); color: var(--tx-2); max-width: 60ch; }
/* (R15 fix: the button sits inside the h3, so "+ .qa-a" never matched and no question opened) */
.qa-item:has(> h3 .qa-q[aria-expanded="true"]) > .qa-a { grid-template-rows: 1fr; }
html:not(.js) .qa-a { grid-template-rows: 1fr; }
@media (max-width: 1023px) and (max-aspect-ratio: 1/1), (max-width: 767px) { .qa-head { grid-column: 1 / -1; } .qa { grid-column: 1 / -1; margin-top: var(--s4); } }

/* ---------- 7. the closing scene: the estimate band (compact form) + the footer, one screen. Plain content, nothing sticky. ---------- */
.end-scene { background: var(--surface); }
.stage .end-scene .scene-in { justify-content: flex-start; padding-bottom: 0; }
.est { flex: 1 0 auto; display: flex; align-items: center; padding-bottom: clamp(20px, 4svh, 48px); }
html:not(.stage) .est { padding-bottom: var(--sec); }
.est .grid { align-items: center; }
.est-side { grid-column: 1 / 6; }
.est-h { font-size: clamp(36px, 3vw + 8px, 60px); }   /* one line from 1280 up: the closing scene must fit one screen */
.est-side .lede { margin-top: var(--s3); max-width: 36ch; }
.est-tels { margin-top: clamp(14px, 2.6svh, 32px); display: grid; justify-items: start; gap: 0; }
.est-tel { display: inline-block; font-size: clamp(24px, 1.1vw + 13px, 34px); line-height: 1.22; }
.est-tels .cap { display: block; margin-top: var(--s1); }
.est-mail { display: inline-block; margin-top: var(--s2); font-size: var(--t-m); color: var(--tx-2); }
.est-side .spec { margin-top: clamp(20px, 3.6svh, 40px); }
.est-side .back { margin-top: clamp(16px, 2.6svh, 24px); padding-top: 0; border-top: 0; }
.est-form { grid-column: 7 / 13; }
@media (max-width: 1439px) { .est-form { grid-column: 6 / 13; } }
@media (max-width: 1199px) { .est-side { grid-column: 1 / 5; } .est-form { grid-column: 5 / 13; } }
@media (max-height: 860px) and (min-width: 768px) { .stage .est-side .spec { display: none; } }   /* short screens: the facts are in the scenes before */
@media (max-width: 1023px) and (max-aspect-ratio: 1/1), (max-width: 767px) { .est-side { grid-column: 1 / -1; } .est-form { grid-column: 1 / -1; margin-top: var(--s5); } }

/* ---------- the form ---------- */
.form { display: grid; gap: var(--s4); }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs legend, .fl { display: block; padding: 0; margin-bottom: 12px; font-size: var(--t-s); font-weight: 500; color: var(--tx-2); letter-spacing: .01em; }
.fl .opt { color: var(--tx-3); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip > span { display: inline-flex; align-items: center; gap: 0; height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: var(--t-s); font-weight: 500; background: transparent; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s, gap .45s var(--ease); }
.chip > span svg { width: 0; height: 14px; transition: width .45s var(--ease); }
.chip:hover > span { border-color: var(--line-3); background: rgba(255, 255, 255, .04); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; gap: 8px; }
.chip input:checked + span svg { width: 14px; }
.chip input:focus-visible + span { outline: 2px solid var(--blue-ink); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.row2.addr { grid-template-columns: 1.6fr 1fr; }
.field { position: relative; }
.in { width: 100%; height: 56px; padding: 0 44px 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--field); color: var(--tx); font-size: var(--t-m); line-height: 1.3; transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); -webkit-appearance: none; appearance: none; }
textarea.in { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.in:hover { background: var(--field-h); border-color: var(--line-3); }
.in:focus { outline: none; border-color: var(--blue-ink); box-shadow: 0 0 0 1px var(--blue-ink); background: var(--field-h); }
.ok-ic { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--blue-ink); opacity: 0; transform: scale(.6); transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none; }
.field-in { position: relative; }
.field.is-ok .ok-ic { opacity: 1; transform: none; }
.field.is-bad .in { border-color: var(--err); }
.field.is-bad .in:focus { box-shadow: 0 0 0 1px var(--err); }
.msg { display: block; height: 0; overflow: hidden; font-size: var(--t-s); color: var(--err); transition: height .35s var(--ease); }
.field.is-bad .msg { height: 28px; padding-top: 8px; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); padding-top: var(--s1); }
.send .btn { --bh: 56px; padding: 0 28px; }
.send small { font-size: var(--t-s); color: var(--tx-3); }
.back { font-size: var(--t-s); color: var(--tx-2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.back a { color: var(--tx); font-weight: 600; }
/* the closing scene's form, compact (one screen): smaller chips and fields, no text box (the sheet keeps it) */
.form.is-compact { gap: clamp(14px, 2.2svh, 22px); }
.form.is-compact .fs legend, .form.is-compact .fl { margin-bottom: 8px; }
.form.is-compact .chip > span { height: 40px; padding: 0 14px; }
.form.is-compact .in { height: 50px; }
.form.is-compact .row2 { gap: var(--s2); }
.form.is-compact .send { padding-top: 0; }
.form.is-compact .send .btn { --bh: 52px; }
.form.is-compact .chip > span { height: 38px; padding: 0 12px; font-size: 13px; }
.form.is-compact .chips { gap: 6px; }
@media (max-height: 820px) and (min-width: 768px) { .form.is-compact .in { height: 46px; } .form.is-compact .send .btn { --bh: 48px; } }
/* short screens: the closing form packs a little tighter to stay one screen (kept from v13) */
@media (max-height: 800px) and (min-width: 768px) {
  .stage .form.is-compact { gap: clamp(10px, 1.6svh, 16px); }
  .stage .form.is-compact .chip > span { height: 34px; }
  .stage .form.is-compact .in { height: 42px; }
  .stage .est { padding-bottom: 14px; }
}
@media (max-width: 559px) { .row2, .row2.addr { grid-template-columns: 1fr; } .send .btn { width: 100%; } }

/* ---------- footer (compact: it shares the closing scene) ---------- */
.ft-tels { display: flex; flex-wrap: wrap; column-gap: 18px; }   /* R13: his two numbers on one line */
.ft { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding: clamp(18px, 3svh, 32px) 0 clamp(14px, 2.2svh, 22px); }
.ft-in { display: grid; grid-template-columns: auto auto 1fr 1fr; gap: clamp(14px, 2.2svh, 24px) var(--s5); align-items: start; }
.ft-logo img { width: 150px; height: auto; }
.ft-col { display: grid; align-content: start; gap: 4px; font-size: var(--t-s); }
.ft-k { color: var(--tx-3); margin-bottom: 2px; }
.ft-col a { width: fit-content; }
.ft-tel { font-size: 20px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.ft-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ft-base { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; font-size: 13px; color: var(--tx-3); }
.ft-base > span:last-child { display: flex; gap: var(--s3); }   /* (> : the © line has its own nowrap span inside) */
@media (max-width: 1199px) { .ft-in { column-gap: var(--s4); } .ft-logo img { width: 120px; } }
@media (max-width: 1023px) and (max-aspect-ratio: 1/1), (max-width: 767px) { .ft-in { grid-template-columns: 1fr 1fr; } .ft-logo { grid-column: 1 / -1; } }
@media (max-width: 767px) { .ft-in { grid-template-columns: 1fr; } }

/* ---------- the estimate sheet (header button + buttons in scenes; a centred modal, docked bottom on phones). It pauses the scenes. ---------- */
.sheet {
  margin: auto; padding: 0; border: 1px solid var(--line-2); border-radius: 20px;
  width: min(760px, calc(100vw - 48px)); max-width: none; max-height: min(92vh, 940px); max-height: min(92svh, 940px);
  background: var(--surface); color: var(--tx); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.sheet.is-open { opacity: 1; transform: none; }
.sheet::backdrop { background: rgba(2, 4, 10, 0); transition: background-color .6s var(--ease); }
.sheet.is-open::backdrop { background: rgba(2, 4, 10, .74); }
.sheet-in { padding: 0 var(--s5) var(--s5); }
.sheet-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3); padding: var(--s4) 0 var(--s3); margin-bottom: var(--s4); background: var(--surface); border-bottom: 1px solid var(--line); }
.sheet-top .lede { margin-top: var(--s1); font-size: 16px; }
.sheet-top .lede a { color: var(--tx); font-weight: 600; }
.sheet .form > * { transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(120ms + var(--k, 0) * 50ms); }
.motion .sheet:not(.is-open) .form > * { opacity: 0; transform: translate3d(0, 18px, 0); }
@media (max-width: 767px) {
  .sheet { margin: auto 0 0 0; width: 100vw; max-height: 94vh; max-height: 94dvh; border-radius: 20px 20px 0 0; border-width: 1px 0 0 0; transform: translate3d(0, 100%, 0); opacity: 1; transition: transform .7s var(--ease); }
  .sheet.is-open { transform: none; }
  .sheet-in { padding: 0 var(--gutter) calc(var(--s5) + env(safe-area-inset-bottom)); }
  .sheet-top { padding-top: var(--s3); }
  .sheet-top::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line-2); }
}

/* ---------- driveways page: a full-bleed hero (edge to edge) with the facts row under it, one scene ---------- */
.dh-scene { display: flex; flex-direction: column; }
html:not(.stage) .dh-scene { display: block; }
.dh { position: relative; flex: 1 1 auto; min-height: 520px; padding-top: var(--hd); background: var(--bg); }
html:not(.stage) .dh { height: calc(100svh - 96px); }
.dh-media { position: absolute; inset: var(--hd) 0 0 0; overflow: hidden; background: #000; }
.dh-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.dh-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0, 0, 0, .66) 0, rgba(0, 0, 0, .3) 34%, rgba(0, 0, 0, 0) 60%); }
.dh-in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-bottom: var(--s5); text-shadow: var(--ts-s); }
.dh-in h1 { max-width: 12ch; }
.dh-in .lede { margin-top: var(--s3); color: #fff; font-weight: 500; max-width: 46ch; text-shadow: var(--ts-s); }
.dh-act { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.dh-act .btn-line { background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .55); color: #fff; }
.dh-act .btn-line:hover { color: var(--bg); }
.dh-cap { position: absolute; right: calc(var(--gutter) + 24px); bottom: var(--s5); z-index: 2; }
@media (max-width: 767px) { .dh-in { padding-bottom: var(--s4); } .dh-media img { object-position: 30% 62%; } .dh-cap { display: none; } .dh-act .btn { --bh: 48px; } }
.facts-row { flex: none; border-bottom: 1px solid var(--line); background: var(--bg); }
.facts-row .grid > div { grid-column: span 4; padding: clamp(16px, 2.8svh, 28px) 0; }
.facts-row dt { font-size: var(--t-s); color: var(--tx-3); }
.facts-row dd { margin-top: 4px; font-size: var(--t-m); font-weight: 500; }
@media (max-width: 767px) { .facts-row .grid > div { grid-column: span 2; padding: 14px 0; } .facts-row .grid > div:first-child { grid-column: 1 / -1; padding-bottom: 0; } }


/* =====================================================================================================================
   R16 B "REAL SURFACES"
   ===================================================================================================================== */

/* ---------- where you are: the section's name + "03 / 06", top right under the header, on a solid plate (it sits over photos and the
   lot too). Hidden on the opening. Never at the bottom. ---------- */
.where { display: none; }
.stage .where {
  position: fixed; z-index: 59; top: calc(var(--hd) + 12px); right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: inline-flex; align-items: center; gap: 12px; height: 30px; padding: 0 13px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; line-height: 1; white-space: nowrap;
  opacity: 0; visibility: hidden; transform: translate3d(0, -6px, 0); pointer-events: none;
  transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .45s, background-color .5s var(--ease);
}
.stage .where.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .6s var(--ease), background-color .5s var(--ease); }
/* R17: a tall scene scrolled inside itself (phones): its words pass under the pill's corner, so it steps aside until you are back at
   the scene's top (site.js "is-aside") */
.stage .where.is-on.is-aside { opacity: 0; visibility: hidden; transform: translate3d(0, -6px, 0); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .25s; }
.where-n { color: var(--tx); }
.where-n.is-new { animation: wherein .55s var(--ease) both; }
@keyframes wherein { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: none; } }
.where-n { display: inline-block; }
.where-i { color: var(--tx-3); font-weight: 600; }
.where-i b { color: var(--tx); font-weight: 650; }
@media (max-width: 767px) { .stage .where { top: calc(var(--hd) + 8px); height: 26px; padding: 0 11px; gap: 9px; font-size: 11.5px; } }
/* room for it: nothing in a scene's top right corner may sit under it (services' line, the lot, the form) */
.stage .sv-head { padding-top: clamp(48px, 6svh, 58px); }
@media (max-width: 767px) { html.stage { --sc-t: 46px; } .stage .sv-head { padding-top: 46px; } }

/* ---------- the Scroll cue: on the opening only, above the column labels; a short line with a tick running down it. It fades out at
   the first gesture and does not come back. ---------- */
.cue {
  position: absolute; left: 50%; bottom: calc(var(--fs-in) + 46px); z-index: 5; display: none; align-items: center; gap: 10px; height: 34px;
  padding: 0 14px; border-radius: 999px; background: var(--bg); color: var(--tx-2); font-size: 13px; font-weight: 600; letter-spacing: .03em;
  transform: translate3d(-50%, 0, 0); pointer-events: none; transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.hero-run .cue { display: inline-flex; }
.hero-run:not(.hero-ready) .cue { visibility: hidden; }
.cue i { position: relative; width: 2px; height: 16px; border-radius: 1px; background: var(--line-2); overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; background: #fff; animation: cue 1.6s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translate3d(0, -100%, 0); } 100% { transform: translate3d(0, 200%, 0); } }
.cue.is-gone { opacity: 0; transform: translate3d(-50%, 10px, 0); }
.cue.is-gone i::after { animation: none; }

/* =====================================================================================================================
   QUESTIONS = THE LOT, SEEN FROM ABOVE. The ground: fresh asphalt from his P093 (tex-lot.jpg, 1400x700, shown at 700x350 = 2x;
   phones 3x), tiled seamlessly; it scrolls with the scene (background-attachment: local). Each question sits in a stall.
   Wide (the services' landscape query): a double row nose to nose, 3 + 3, the stalls' side lines branching off the long head line in
   the middle; the last stall (bottom right) is the blue accessible one with its hatched aisle. Every answer is shown.
   Phones + portrait: one row, seen side on: the head line runs down the left, a stall line under each question; the questions open
   in place (one at a time). The painted lines (.pl) are made by surfaces.js; this file places and textures them.
   ===================================================================================================================== */
.lot-scene { background: #1c1e22 url(img/tex-lot.jpg) 0 0 / 700px 350px repeat; background-attachment: local; }
@media (max-width: 767px) { .lot-scene { background-size: 466.667px 233.333px; } }
.lot-scene .qa-head .lede { color: #d3d8df; }
.lot { position: relative; border-top: 0; }
.lot .qa-item { position: relative; border-bottom: 0; }
.lot .qa-item > h3, .lot .qa-item > .qa-a { position: relative; z-index: 1; }
.lot .qa-item > .qa-a { opacity: var(--wo, 1); transform: translate3d(0, var(--wy, 0), 0); }   /* R17: the question is striped, its answer fades in */
/* v20: the access aisle beside the blue stall carries the phone line: the hatch (.aisle-hx, clipped to the aisle, a gap masked out
   round the words by surfaces.js) under the words (.aisle-t, white, the questions' type), the aisle's own blue edges on top */
.lot .aisle { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; }
.lot .aisle-hx { position: absolute; inset: 0; z-index: 0; overflow: hidden; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.lot .aisle-t { position: relative; z-index: 1; max-width: 10.6em; font-size: clamp(15px, .3vw + 11.2px, 17.5px); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; color: #fff; text-align: left; }
.lot .aisle-t .nw { white-space: nowrap; }
.lot .aisle-t a { color: #fff; }
.lot .aisle-t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lot > .aisle > .pl { z-index: 2; }
/* one painted line: a box 17 css px across (7 px of paint + the overspray), centred on its line; the paint (.pp), the wet coat (.pw,
   brighter + smooth, fades as it settles), the droplets at the head (.pm). Textures at 2x (34 file px across). */
.pl { position: absolute; z-index: 0; display: block; pointer-events: none; }
.pl > b { position: absolute; display: block; }
.pl > .pp, .pl > .pw { inset: 0; }
.pl > .pw { opacity: 0; }
.pl.h { height: 17px; margin-top: -8.5px; }
.pl.v { width: 17px; margin-left: -8.5px; }
.pl.h > .pp { background: url(img/paint-h.png) 0 0 / 700px 17px repeat-x; }
.pl.h > .pw { background: url(img/wet-h.png) 0 0 / 700px 17px repeat-x; }
.pl.v > .pp { background: url(img/paint-v.png) 0 0 / 17px 350px repeat-y; }
.pl.v > .pw { background: url(img/wet-v.png) 0 0 / 17px 350px repeat-y; }
.pl.h.blue > .pp { background-image: url(img/paint-h-blue.png); }
.pl.h.blue > .pw { background-image: url(img/wet-h-blue.png); }
.pl.v.blue > .pp { background-image: url(img/paint-v-blue.png); }
.pl.v.blue > .pw { background-image: url(img/wet-v-blue.png); }
.pl > .pm { left: 0; top: 0; width: 60px; height: 60px; margin: -21.5px 0 0 -30px; background: url(img/mist.png) 0 0 / 60px 60px no-repeat; opacity: 0; will-change: transform; }
.pl.v > .pm { margin: -30px 0 0 -21.5px; }
@media (max-width: 767px) {   /* phones: the same paint a little narrower (4.7 px of paint; the files at 3x = 1:1 on their screens) */
  .pl.h { height: 11.333px; margin-top: -5.667px; }
  .pl.v { width: 11.333px; margin-left: -5.667px; }
  .pl.h > .pp, .pl.h > .pw { background-size: 466.667px 11.333px; }
  .pl.v > .pp, .pl.v > .pw { background-size: 11.333px 233.333px; }
  .pl > .pm { width: 40px; height: 40px; background-size: 40px 40px; margin: -14.333px 0 0 -20px; }
  .pl.v > .pm { margin: -20px 0 0 -14.333px; }
}
.pl.hx { transform-origin: 50% 50%; z-index: 0; }
.lot > .pl.v { z-index: 1; }
/* R18: eight questions = 4 + 4 stalls, so on wide screens the heading runs across the top and the lot takes the full width under it
   (one layout from 900 up). v20: the phone line moved from the heading's row into the aisle (the island column / the slot) */
@media (min-width: 900px) and (min-aspect-ratio: 1001/1000) {
  .lot-grid { align-items: start; }
  .lot-scene .qa-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; }
  .lot-scene .qa-head .lede { margin-top: 0; max-width: none; }
  .lot {
    grid-column: 1 / -1; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)) var(--island); grid-template-rows: repeat(2, minmax(0, 1fr));
    --island: clamp(172px, 13.2vw, 240px);
    margin-top: clamp(12px, 2.4svh, 26px); height: clamp(380px, calc(100svh - var(--hd) - var(--sc-t) - var(--sc-b) - var(--t-xl) - 40px), 600px);
  }
  .lot .qa-item { padding: clamp(16px, 2.6svh, 24px) clamp(18px, 1.7vw, 26px) 0; min-width: 0; }   /* rows/columns: surfaces.js */
  .lot .qa-item.r2 { padding-top: clamp(22px, 3.2svh, 30px); }
  .lot .qa-q { display: block; padding: 0; cursor: default; font-size: clamp(16px, .35vw + 12px, 19px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
  .lot .qa-q:hover { color: #fff; }
  .lot .qa-ic { display: none; }
  .lot .qa-a, .lot .qa-item:has(> h3 .qa-q[aria-expanded="false"]) > .qa-a { grid-template-rows: 1fr; }
  .lot .qa-a p { padding: 10px 0 0; font-size: clamp(14px, .2vw + 12px, 16px); line-height: 1.5; color: #c9cfd8; }
  /* an odd count: the aisle is the bottom row's last slot, a stall wide (no island column) */
  .lot[data-shape="slot"] { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
  .lot[data-shape="island"] .aisle-t { padding-inline: 4px; }
}
/* 900..1199 landscape: narrower stalls, a little smaller type so every answer stays in its stall; the phone line a size down so it stays
   on the heading's row ("Driveway questions" pushed it to a second row at 1024 and the scene overflowed by 14 px), and room for it
   anyway if it wraps */
@media (min-width: 900px) and (max-width: 1199px) and (min-aspect-ratio: 1001/1000) {
  .lot-scene .qa-head .lede { font-size: 16px; }
  .lot { height: clamp(340px, calc(100svh - var(--hd) - var(--sc-t) - var(--sc-b) - var(--t-xl) - 72px), 560px); }
  .lot .qa-item { padding-inline: 14px; }
  .lot .qa-q { font-size: 15.5px; }
  .lot .qa-a p { font-size: 13.5px; line-height: 1.45; padding-top: 8px; }
  .lot { --island: 148px; }
  .lot .aisle-t { font-size: 13.5px; }
}
/* v20: short landscape screens (1280x720, 1366x768): the home's 4 + 4 stalls are narrower now (the island beside them), so the
   answers a size down there (the longest one ran past its stall at 1280x720) */
@media (min-width: 1200px) and (max-height: 780px) and (min-aspect-ratio: 1001/1000) {
  .lot .qa-q { font-size: 16px; }
  .lot .qa-a p { font-size: 13.5px; line-height: 1.45; padding-top: 8px; }
}
/* phones + portrait: one row seen side on (stalls stacked, the head line down the left), the questions open in place */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .lot { grid-column: 1 / -1; margin-top: var(--s4); }
  .lot .qa-item > h3 { padding-left: 22px; }
  .lot .qa-item > .qa-a { padding-left: 22px; }
  .lot .qa-q { padding: clamp(15px, 2.2svh, 22px) 4px clamp(15px, 2.2svh, 22px) 0; color: #fff; font-weight: 550; }
  .lot .qa-a p { color: #c9cfd8; padding-bottom: 18px; }
  .lot .aisle { justify-content: flex-start; padding: 30px 16px 30px 22px; }
  .lot .aisle-t { font-size: var(--t-m); font-weight: 550; }
}
html:not(.js) .lot .aisle { display: block; padding: 18px 0; }
html:not(.js) .lot .aisle-hx { display: none; }
html:not(.js) .lot { display: block; height: auto; }   /* no JS: no paint, the plain list (every answer open) */

/* =====================================================================================================================
   THE ESTIMATE ON THE GROUND (R17 B: sealed by the WAND, the whole band). The band (.est) is the job: worn, cracked grey asphalt
   (.sk-worn, tex-worn.jpg, 2000x1200 at 1x; retina + portrait tablets 2x; phones 3x). surfaces.js sweeps the realistic J-wand from
   v16 / C over the whole band and draws, in this order: .sk-coat (the sealed tile wherever the spray has landed), .sk-spk (overspray
   specks that stay where they land), .sk-wetc (the wet sheen that settles), .sk-air (the wand's shadow, the spray in the air, the wand).
   At rest (u = 1, reduced motion, no JS) the canvases are released and .sk-seal (the same tile, the same place) is the sealed ground.
   .sk-wash = a quiet black wash under the words. Everything here sits UNDER the words and the form.
   ===================================================================================================================== */
.end-scene { background: var(--bg); }
.end-scene .scene-in { padding-top: 0; }   /* the ground (.est) starts at the scene top, every mode */
.est { position: relative; isolation: isolate; }
.stage .est { padding-top: calc(var(--hd) + var(--sc-t)); }
html:not(.stage) .est { padding-top: var(--sec); }
.est > .wrap { position: relative; z-index: 1; }
.sk { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #121418; }
.sk > i, .sk-win { position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: block; }
.sk-win { overflow: hidden; }
.sk-win > i { position: absolute; inset: 0; display: block; }
.sk-worn, .sk-seal { background: url(img/tex-worn.jpg) 0 0 / 2000px 1200px repeat; }
.sk-seal { background-image: url(img/tex-sealed.jpg); }
/* R18: the pass moves only transforms (surfaces.js "THE SEAL"); at rest (and with no JS / reduced motion) the sealed window is whole */
/* v20 (R21 #2 jitter, measured in Firefox, his browser): the specks were a full-band repeating CSS MASK moving every frame = the single
   biggest cost (51 of 142 frames late on the estimate's arrival at his 2048x1000 @1.25). Now the same specks, coloured into the PNG
   (seal-specks.png = seal-drops.png's alpha in #060709): a plain background, no mask. */
.sk-spk { background: url(img/seal-specks.png) 0 0 / 200px 200px repeat; }
.sk-wet { background: url(img/seal-wet.png) 0 0 / 400px 400px repeat, rgba(120, 138, 168, .09); }
/* (⚠ ".sk > i" sets display: block: the hide rules need at least its weight, or the riding parts sit at the band's corner at rest) */
.sk > .sk-w-wet, .sk > .sk-w-spk, .sk > .sk-fan, .sk > .sk-front, .sk > .sk-shadow, .sk > .sk-wand { display: none; }
.sk.is-live > .sk-w-wet, .sk.is-live > .sk-w-spk, .sk.is-live > .sk-fan, .sk.is-live > .sk-front, .sk.is-live > .sk-shadow, .sk.is-live > .sk-wand { display: block; }
.sk.is-live .sk-win, .sk.is-live .sk-win > i { will-change: transform; }
.sk > .sk-fan, .sk > .sk-front, .sk > .sk-shadow, .sk > .sk-wand { position: absolute; left: 0; top: 0; right: auto; bottom: auto; will-change: transform; }
.sk-fan { background: url(img/seal-fan.png) 0 0 / 100% 100% no-repeat; }
.sk[data-mode="v"] .sk-fan { background-image: url(img/seal-fan-v.png); }
/* the coat's front: fades in over the seal behind it, a solid core where the fan lands, a cloudy uneven falloff ahead (seal-front.png) */
.sk-front { background: url(img/seal-front.png) 0 0 / 130px 800px repeat-y; }
.sk[data-mode="v"] .sk-front { background: url(img/seal-front-v.png) 0 0 / 800px 130px repeat-x; }
.sk-shadow { transform-origin: 0 50%; border-radius: 999px; background: linear-gradient(90deg, rgba(0, 0, 0, .26), rgba(0, 0, 0, .11)); box-shadow: 0 0 6px 2px rgba(0, 0, 0, .1); }
.sk-wand { max-width: none; transform-origin: 0 0; }
.sk-wash { right: auto; width: min(64%, 980px); background: linear-gradient(90deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .34) 55%, rgba(0, 0, 0, 0) 100%); }
/* the ground's density: 1 file px = 1 css px on desktop; 2 on retina screens and portrait tablets; 3 on phones (their screens are 3x),
   so it is never drawn past its pixels on the device either; the spray sprites follow the same rule */
@media (min-resolution: 1.5dppx), (max-width: 1023px) and (max-aspect-ratio: 1/1) { .sk-worn, .sk-seal { background-size: 1000px 600px; } }
@media (max-width: 767px) {
  .sk-worn, .sk-seal { background-size: 666.667px 400px; }
  .sk-wet { background-size: 266.667px 266.667px, auto; }
  .sk-spk { background-size: 133.333px 133.333px; }
  .sk-front { background-size: 86.667px 533.333px; }
  .sk[data-mode="v"] .sk-front { background-size: 533.333px 86.667px; }
}
@media (max-width: 1023px) and (max-aspect-ratio: 1/1), (max-width: 767px) { .sk-wash { width: 100%; background: rgba(0, 0, 0, .3); } }
/* the words and the form on the ground: white, a soft black shadow; the fields and chips keep SOLID fills (always readable) */
/* (v20 jitter: the 14 px blurred glow is gone: Firefox re-rendered it every frame while the wand sealed the ground under it; the wash
   under the words keeps them readable) */
.est-side, .est-form .fs legend, .est-form .fl, .est-form .send small { text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.est-side .lede, .est-mail { color: #dfe4ea; }
.est-side .cap, .est-side .spec dt { color: #b9c1cc; }
.est-side .spec, .est-side .spec > div { border-color: rgba(255, 255, 255, .2); }
.est-form .fs legend, .est-form .fl { color: #fff; font-weight: 600; }
.est-form .send small { color: #d3d9e1; }
.est-form .chip > span { background: rgba(7, 9, 15, .9); border-color: rgba(255, 255, 255, .3); }
.est-form .chip:hover > span { background: rgba(16, 20, 30, .94); }
.est-form .chip input:checked + span { background: var(--blue); border-color: var(--blue); }
.est-form .in { background: rgba(9, 12, 20, .93); border-color: rgba(255, 255, 255, .28); }
.est-form .in:hover, .est-form .in:focus { background: rgba(14, 18, 30, .96); }
.ft { z-index: 1; }

/* =====================================================================================================================
   R17 B: ALL THE WORDS STRIPED IN (assets/stripe.js). Every heading and key line is a stack per line of type:
     .sl > .sl-in (the line, inline-block, nowrap) > .sl-k (masked while it is being painted; padded so the mask covers descenders,
     the halo and the text shadow) > .sl-c > [.sl-o overspray halo] .sl-p (the real text) [.sl-g voids] .sl-w (wet sheen), + .sl-m
     (the spray at the head, unmasked, rides the front).
   The copies (.sl-o/.sl-g/.sl-w) are the same text, transparent, filled by a texture through background-clip: text. ⚠ No
   text-shadow on them (a shadow would show through a transparent fill); the real text keeps its own.
   ⚠ .sl-o's transparent -webkit-text-stroke widens what background-clip: text fills: a ring of dots just outside every letter,
     under the real paint = the overspray of a sprayed edge (checked in Chromium 149).
   ===================================================================================================================== */
:root { --paint: #eceeec; --paint-blue: rgb(62, 128, 214); }
/* (a host must be a block, an inline-block or a flex / grid item: its lines are blocks) */
.st-host .sl { display: block; }
.st-host .sl-in { position: relative; display: inline-block; vertical-align: top; white-space: nowrap; }
.st-host .sl-k { display: block; padding: max(.34em, 10px) max(.22em, 9px); margin: calc(-1 * max(.34em, 10px)) calc(-1 * max(.22em, 9px)); }
.st-host .sl-k.is-spraying {
  -webkit-mask-size: 100% 100%, 64px 64px, 100% 100%; mask-size: 100% 100%, 64px 64px, 100% 100%;
  -webkit-mask-repeat: no-repeat, repeat, no-repeat; mask-repeat: no-repeat, repeat, no-repeat;
  -webkit-mask-composite: source-over, source-in, source-over; mask-composite: add, intersect, add;
}
.st-host .sl-c { position: relative; display: block; }
.st-host .sl-o, .st-host .sl-g, .st-host .sl-w {
  position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none; -webkit-user-select: none; user-select: none;
  color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; -webkit-background-clip: text; background-clip: text;
}
.st-host .sl-o *, .st-host .sl-g *, .st-host .sl-w * { color: transparent !important; -webkit-text-fill-color: transparent !important; text-shadow: none !important; }
.st-host .sl-o *::after, .st-host .sl-g *::after, .st-host .sl-w *::after { display: none; }
/* the wet coat: brighter and smooth (it pools over the pits), a cool sky sheen across the top of the letters; it settles away */
.st-host .sl-w { opacity: 0; background-image: linear-gradient(180deg, #e9f0fb 0, #ffffff 30%, #ffffff 100%); will-change: opacity; }
/* big type: the paint is traffic white, its voids show (the lot's own pits), a fine overspray rings each letter */
.st-host .sl-big .sl-p { color: var(--paint); }
.st-host .sl-g { background-image: url(img/paint-voids.png); background-size: 128px 128px; }
.st-host .sl-o { -webkit-text-stroke: .09em transparent; background-image: url(img/overspray.png); background-size: 128px 128px; }
/* the spray at the head: a column of droplets the height of the letters, riding the front (never past the line's end) */
.st-host .sl-m {
  position: absolute; left: 0; top: 50%; z-index: 2; width: .7em; height: 1.4em; margin: -.7em 0 0 -.35em; pointer-events: none;
  background: url(img/text-mist.png) 0 0 / .7em 1.4em no-repeat; opacity: 0; will-change: transform, opacity;
}
/* accents keep their paint colour (the "+" of 35+ is the accessible stall's blue) */
.st-host .sl-big .fx-u { color: var(--paint-blue); }
.motion:not(.st-ready) [data-stripe]:not(.st-host) { visibility: hidden; }   /* until the lines are cut (fonts in): no flash of the words */
/* the opening's "done right.": R10 C's letters (rising as the line passes) + copies of them for the paint finish */
.tb-k { position: relative; display: inline-block; }
.tb-p { color: var(--paint); }
.st-host .tb-w { opacity: 0; }
/* the services' name pills: the plate comes in as its name starts being painted (never an empty pill) */
.motion.st-ready .sv-lab { transition: transform .82s var(--ease), opacity .4s var(--ease), background-color .25s linear; }
.motion.st-ready .sv-lab:has(> .st-host:not(.st-on)) { background-color: transparent; }
.motion.st-ready .sv-lab:has(> .st-host:not(.st-on)) i { opacity: 0; }
.sv-lab i { transition: opacity .25s linear; }
/* a question's words in its stall (the lot paints them as its paint head reaches the stall) */
.qa-t { display: block; min-width: 0; }
/* phones: a stall's open / close mark comes in with its question (never a "+" in a stall that is still empty) */
.qa-ic { transition: opacity .25s linear; }
.motion.st-ready .qa-q:has(> .qa-t.st-host:not(.st-on)) .qa-ic { opacity: 0; transition: none; }
/* driveways' tick list: each tick comes in with its item's words (never a tick on a row that is still empty) */
.ticklist li::before { transition: opacity .2s linear; }
.motion.st-ready .ticklist li:has(> .st-host:not(.st-on))::before { opacity: 0; transition: none; }

/* ---------- FIVE GENERATIONS (R17 B content; R19 #5 layout): the section stands on sealed asphalt (the estimate's sealed tile: nearly the
   page's own dark, real ground under the paint). Two rows around ONE painted divider (surfaces.js "THE DIVIDER"): above it the heading +
   the sanctioned line | his trust words : the old site's lines; below it the two numbers | two HomeAdvisor lines. ---------- */
/* R20 #2 (his words: "i dont like how the backround is blacktop for the family part ... it takes away from the midnight backround on
   everything else"): the section stands on the site's own midnight; the painted divider stays (white paint reads on midnight) */
.fam { background: var(--bg); }
/* v21 (R22 #2): ONE composed block (tools/home/family.html). Above the divider: the left column = the heading (its top level with the
   photo's top), the plate, the 5 / 35+ numbers (pushed to the bottom, level with the photo's bottom); the photo takes exactly that
   column's height (it has no height of its own: object-fit cover, from the 3:2 files, never past their pixels). Under the divider, on
   the same two columns: "In their words / HomeAdvisor" left, the two reviews side by side under the photo. */
.fam-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: stretch; }
.fam-l { grid-column: 1 / 6; grid-row: 1; display: flex; flex-direction: column; }
.fam .plate { margin-top: clamp(16px, 2.8svh, 30px); }
.fam-ph { position: relative; grid-column: 6 / 13; grid-row: 1; align-self: stretch; width: 100%; margin: 0; min-height: 240px; overflow: hidden; background: var(--surface); }
.fam-ph img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 38% 34%; }
.fam-rule { position: relative; grid-column: 1 / -1; grid-row: 2; height: 17px; margin: clamp(18px, 3.4svh, 36px) 0; }
.fam-rule > .pl { left: 0; width: 100%; top: 50%; }
html:not(.js) .fam-rule { height: 0; border-top: 1px solid var(--line-2); }
.fam-facts { margin-top: auto; padding-top: clamp(18px, 3.2svh, 34px); }
.fam-rv { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.fam-rv-k { grid-column: 1 / 6; }
.fam-rv .fam-q { grid-column: 6 / 10; margin-top: 0; }
.fam-rv .fam-q + .fam-q { grid-column: 10 / 13; }
.fam h2 { max-width: 9em; }
.fam .st-p { margin-top: clamp(14px, 2.4svh, 24px); font-size: clamp(19px, .7vw + 11px, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--tx-2); max-width: 22em; }
.fam-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
.fam-facts > div { padding-top: 0; border-top: 0; }
/* v20: the spec plate's key values (the sanctioned line in plate form) a size up: they carry the scene now the sanctioned line is not
   repeated as a sentence */
.fam-facts dd { font-size: clamp(60px, min(6.6vw, 12.5svh), 132px); }
.fam-facts dt { margin-top: clamp(8px, 1.4svh, 14px); font-size: 16px; }
.plate > div { display: grid; grid-template-columns: 9.6em minmax(0, 1fr); gap: 4px var(--s3); padding: clamp(11px, 1.9svh, 17px) 0; border-bottom: 1px solid var(--line); }
.plate > div:last-child { border-bottom: 0; padding-bottom: 0; }
.plate dt { font-size: 15px; font-weight: 650; line-height: 1.4; letter-spacing: -.005em; color: var(--tx); padding-top: 1px; }
.plate dd { font-size: clamp(15px, .25vw + 12px, 17px); line-height: 1.45; color: var(--tx-2); }
.fam-rv-k { display: grid; align-content: start; gap: 2px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--tx-3); }
.fam-rv-k span:first-child { color: var(--tx-2); font-size: 15px; font-weight: 650; color: var(--tx); }
.fam-q { position: relative; margin-top: clamp(10px, 1.6svh, 14px); padding-left: 18px; border-left: 2px solid var(--blue); }
.fam-q p { font-size: clamp(15px, .25vw + 12px, 17px); font-weight: 500; line-height: 1.45; letter-spacing: -.005em; color: var(--tx); text-wrap: pretty; }
.fam-q footer { margin-top: 4px; font-size: 13px; color: var(--tx-3); }
.fam .plate dd, .fam .st-p, .fam-q footer { text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.fam-rv [data-wake-el] { will-change: transform, opacity; }
/* 900..1199 landscape: the plate's label column a little narrower; the long review takes more of the photo's width */
@media (min-width: 900px) and (max-width: 1199px) and (min-aspect-ratio: 1001/1000) {
  .fam h2 { max-width: 7em; }
  .plate > div { grid-template-columns: 8.4em minmax(0, 1fr); }
  .fam-rv .fam-q { grid-column: 6 / 11; }
  .fam-rv .fam-q + .fam-q { grid-column: 11 / 13; }
}
/* short screens (1280x720 and the like): tighter, still one screen */
@media (max-height: 780px) and (min-width: 900px) {
  .fam .t-xl { font-size: clamp(40px, min(4.2vw + 6px, 9.4svh), 84px); }
  .fam-rule { margin: 12px 0; }
  .fam-facts dd { font-size: clamp(52px, min(5.4vw, 10.5svh), 110px); }
  .plate > div { padding: 9px 0; }
  .plate dd, .fam-q p { font-size: 15px; line-height: 1.4; }
}
/* phones + portrait: one column: the heading, the photo, the divider, the numbers, the trust lines, the reviews (the scene scrolls inside
   itself if it has to) */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .fam-l { display: contents; }
  .fam-head, .fam .plate, .fam-ph, .fam-rule, .fam-facts, .fam-rv { grid-column: 1 / -1; grid-row: auto; }
  .fam-head { order: 1; } .fam-ph { order: 2; margin-top: clamp(18px, 3svh, 30px); aspect-ratio: 4 / 3; } .fam-rule { order: 3; } .fam-facts { order: 4; margin-top: 0; padding-top: 0; }
  .fam .plate { order: 5; margin-top: clamp(22px, 3.4svh, 36px); } .fam-rv { order: 6; margin-top: clamp(22px, 3.4svh, 36px); display: block; }
  .fam-rv .fam-q { margin-top: clamp(10px, 1.6svh, 14px); }
  .fam-rv-k { display: flex; justify-content: space-between; gap: var(--s2); }
  .fam-rv-k span:first-child { font-size: 13px; font-weight: 600; color: var(--tx-2); }
  .fam h2 { max-width: 8em; }
  .fam-facts { max-width: none; }
}
@media (max-width: 767px) {
  .fam-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .fam-facts > div { flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; padding-top: 0; }
  .fam-facts dd { font-size: 64px; }
  .fam-facts dt { margin-top: 6px; font-size: 15px; line-height: 1.3; }
  .plate > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .plate dd { font-size: 16px; }
  .fam-rule { margin: 18px 0; }
}

/* ---------- R19 #8: the form's extras: the honeypot (live name "website", hidden from people), "(pick all that apply)", the box ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fs legend .opt { color: var(--tx-3); font-weight: 400; }
.est-form .fs legend .opt { color: #c3cad4; }
.form.is-compact textarea.in { min-height: 0; height: 66px; padding: 10px 14px; resize: none; font-size: 16px; line-height: 1.4; }
@media (max-height: 860px) and (min-width: 768px) { .stage .form.is-compact textarea.in { height: 52px; } }
@media (max-height: 800px) and (min-width: 768px) { .stage .form.is-compact textarea.in { height: 44px; padding-top: 8px; } }
.form.is-compact .send small { font-size: 13px; }

/* (R21 #9: the follow-along estimate box is gone) */

/* ---------- reduced motion: no stage, nothing moves; everything is visible ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* R19 #8: the form grew (7 needs, the text box): short desktop screens (1280x720, 1024x768) pack the closing scene a little tighter so
   the band + the footer stay one screen (R18's rule), with every chip and field still full size to tap */
@media (max-height: 800px) and (min-width: 768px) {
  .stage .form.is-compact { gap: 8px; }
  .stage .form.is-compact .fs legend, .stage .form.is-compact .fl { margin-bottom: 5px; }
  .stage .form.is-compact .chip > span { height: 31px; }
  .stage .form.is-compact .chips { gap: 5px; }
  .stage .form.is-compact .send .btn { --bh: 44px; }
  .stage .end-scene .ft { padding: 12px 0 10px; }
  .stage .end-scene .ft-in { row-gap: 10px; }
  .stage .end-scene .ft-base { padding-top: 8px; }
}
@media (max-height: 940px) and (min-height: 801px) and (min-width: 768px) {
  .stage .form.is-compact { gap: clamp(12px, 1.8svh, 18px); }
  .stage .form.is-compact textarea.in { height: 54px; }
  .stage .end-scene .ft { padding: clamp(14px, 2.2svh, 24px) 0 clamp(12px, 1.8svh, 18px); }
}
