/* v20/site (11-10 rendition 2, from v19/site; rounds 19 + 20 merged): what the merged build adds on top of a-home's site.css. Loaded on EVERY page after site.css.
   1. the stencil headings (R20 #5, stripe.js "THE STENCIL HEADINGS")   2. a service page's first scene (the home column full screen)
   3. the county pages (v19/pages' template: the bright line on the hero, the towns + services)   4. the areas index
   5. contact (the form is the page)   6. the plain legal pages. Same tokens, same easing family, same type. */

/* ---------- 1. (v24 R25: the stencil headings are gone: his pick = 0, striped in) ---------- */

/* ---------- 2. A SERVICE PAGE'S FIRST SCENE: the home page's services column, full screen (his 11-10 ruling). The heading band (as
   the home services heading, on midnight: R20 #4) + the column opened across the whole screen: its photos cycling (left, never wider
   or taller than the smallest file in its list: --cap-w / --cap-h) and its words (right: what's included as label lines, the
   resurfacing line, the estimate button). Phones + portrait: the photo on top, the words under it (the scene scrolls inside itself). ---------- */
.sp-scene { background: var(--bg); }
.stage .sp-scene .scene-in { justify-content: flex-start; padding: var(--hd) 0 0; }
.sp-scene .sv-head h1 { grid-column: 1 / 10; white-space: nowrap; }
@media (max-width: 1023px) { .sp-scene .sv-head h1 { grid-column: 1 / -1; white-space: normal; } }
.sp { position: relative; flex: 1 1 auto; display: flex; min-height: 400px; max-height: var(--cap-h, none); background: var(--surface); }
html:not(.stage) .sp { height: clamp(520px, calc(100svh - var(--hd) - 140px), 900px); }
.sp-ph { position: relative; flex: none; width: min(60%, var(--cap-w, 60%)); overflow: hidden; background: var(--surface); --r: 0px; }
.sp-seq { position: absolute; inset: 0; }
.sp-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(20px, 3.4svh, 40px) clamp(28px, 3.4vw, 64px); }
.sp-k { font-size: 13px; font-weight: 600; color: var(--tx-3); letter-spacing: .01em; }
.sp-list { margin-top: 8px; border-top: 1px solid var(--line); }
.sp-list li { display: flex; gap: 14px; align-items: baseline; padding: clamp(8px, 1.4svh, 13px) 0; border-bottom: 1px solid var(--line); font-size: clamp(17px, .45vw + 12px, 21px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.sp-list 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(-4px) rotate(-45deg); transition: opacity .2s linear; }
.sp-list li.is-key { color: #fff; font-weight: 650; }
.motion.st-ready .sp-list li:has(> .st-host:not(.st-on))::before { opacity: 0; transition: none; }
.sp-note { margin-top: clamp(12px, 2.2svh, 20px); max-width: 40em; font-size: 15.5px; line-height: 1.5; color: var(--tx-2); }
.sp-note b { color: var(--tx); font-weight: 600; }
.sp-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: clamp(16px, 2.8svh, 28px); }
.sp-act .cap a { color: var(--tx); font-weight: 600; }
@media (max-height: 780px) and (min-width: 900px) { .sp-note { display: none; } .sp-list li { padding: 7px 0; font-size: 17px; } }
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .sp { flex-direction: column; max-height: none; min-height: 0; flex: none; }
  html:not(.stage) .sp { height: auto; }
  .sp-ph { width: 100%; aspect-ratio: 4 / 3; }
  .sp-body { padding: 22px var(--gutter) 28px; }
  .sp-list li { font-size: 17px; }
}

/* ---------- 3. THE COUNTY PAGES (v19/pages' template): the bright line on the hero photo; the towns + every service beside a photo ---------- */
.pgl-veil, .pgl-run { display: none; }
.motion .pgl.pgl-ready .pgl-veil { display: block; position: absolute; inset: 0; z-index: 1; background: #000; opacity: .64; pointer-events: none;
  clip-path: inset(0 0 0 0); transition: clip-path 1.15s var(--ease-io); }
.motion .pgl.pgl-ready .pgl-run { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  transform: translate3d(-100%, 0, 0); transition: transform 1.15s var(--ease-io); will-change: transform; }
.pgl-line { 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); transition: opacity .35s linear 1.05s; }
.motion .pgl.pgl-go .pgl-veil { clip-path: inset(0 0 0 100%); }
.motion .pgl.pgl-go .pgl-run { transform: none; }
.motion .pgl.pgl-go .pgl-line { opacity: 0; }
.motion .pgl.pgl-done .pgl-veil, .motion .pgl.pgl-done .pgl-run { display: none; }
/* the hero photo never drawn past its pixels (capped at its own size, centred) */
.dh-media { margin: auto; max-width: var(--cap-w, none); max-height: var(--cap-h, none); }
.dh-media picture { display: contents; }
.dh-in h1.pg-long { max-width: 16ch; }
.pgc .pgc-h2 { margin-top: clamp(24px, 4.4svh, 48px); }
.pgc-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s4); margin-top: var(--s3); border-top: 1px solid var(--line); }
.pgc-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.pgc-links a svg { width: 14px; height: 14px; color: var(--tx-3); transition: transform .5s var(--ease), color .3s var(--ease); }
.pgc-links a:hover svg { transform: translate3d(4px, 0, 0); color: var(--tx); }
@media (max-width: 767px) { .pgc-links { grid-template-columns: 1fr; } }
.sp-txt .spec { margin-top: var(--s4); }
@media (max-height: 860px) and (min-width: 768px) { .sp-txt .ticklist li { padding: 9px 0; } }

/* ---------- 4. THE AREAS INDEX: label and value, a state : its county pages; the old hub's wider list as one quiet line each ---------- */
.ar .sec-head h1 { grid-column: 1 / 8; }
@media (max-width: 1023px) { .ar .sec-head h1 { grid-column: 1 / -1; } }
.ar .plate { margin-top: clamp(20px, 4svh, 44px); }
.ar .plate > div { grid-template-columns: 9em minmax(0, 1fr); align-items: baseline; }
.ar-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: clamp(16px, .3vw + 13px, 19px); font-weight: 550; color: var(--tx); }
.ar-more { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--tx-3); }
.ar-ask { margin-top: clamp(18px, 3svh, 30px); font-size: 17px; color: var(--tx-2); }
.ar-ask a { color: var(--tx); font-weight: 600; }
@media (max-width: 767px) { .ar .plate > div { grid-template-columns: 1fr; } }

/* ---------- 5. CONTACT: the estimate band IS the page (its heading is the H1) ---------- */
.pg-contact .est-h { font-size: clamp(40px, 3.4vw + 8px, 68px); }

/* ---------- 6. PLAIN TEXT PAGES (privacy, terms, text alerts): no stage, native scroll, the site's type + colours ---------- */
.pgx-main { padding: calc(var(--hd) + clamp(40px, 8svh, 96px)) 0 var(--sec); }
.pgx-head { max-width: 46rem; }
.pgx-head .cap { display: block; margin-bottom: var(--s2); }
.pgx-head .lede { margin-top: var(--s3); max-width: 46ch; }
.pgx { max-width: 46rem; margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); color: var(--tx-2); font-size: 17px; line-height: 1.65; }
.pgx h2 { margin-top: var(--s6); font-size: clamp(22px, 1vw + 14px, 28px); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; color: var(--tx); }
.pgx h3 { margin-top: var(--s5); font-size: 19px; font-weight: 650; color: var(--tx); }
.pgx > :first-child { margin-top: 0; }
.pgx p { margin-top: var(--s2); }
.pgx ul, .pgx ol { margin-top: var(--s2); padding-left: 1.3em; }
.pgx ul { list-style: disc; }
.pgx ol { list-style: decimal; }
.pgx li { margin-top: 6px; padding-left: 4px; }
.pgx li::marker { color: var(--blue-ink); }
.pgx strong { color: var(--tx); font-weight: 600; }
.pgx a { color: var(--tx); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.pgx a:hover { text-decoration-color: var(--tx); }
.pgx em { font-style: normal; color: var(--tx-3); font-size: 15px; }

/* =====================================================================================================================
   7. v21 PHONE PASS (R22 #1, his words 11-09: "the mobile layout isnt that good to me"). Loaded last on every page, so it wins over
   site.css + the blocks above. Rules: every tap target 44 px tall (inline links in a sentence: 44 px tall hit rows too), body copy
   >= 15 px, nothing past the screen's edges, the scenes sized to the screen they are actually on (100%, never 100vh / 100svh: the
   address bar / the iOS bottom bar), the safe areas kept clear. Desktop is untouched: every rule here is inside a phone / portrait query
   or only adds what desktop already has.
   ===================================================================================================================== */
/* the scenes: a scene is position: fixed; inset: 0 = exactly the screen it is on. The opening's stage fills ITS scene (100%), not
   100svh (with the address bar gone, or iOS 26's floating bar, 100svh is shorter than the scene: a dark band under the photos) */
.stage .fs-stage { height: 100%; min-height: 0; }
/* the safe areas (viewport-fit=cover): the container's sides clear a notch in landscape, the last row of a scene clears the home bar */
@supports (padding: max(0px)) {
  .wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
  .stage .scene-in { padding-bottom: calc(var(--sc-b) + env(safe-area-inset-bottom)); }
  .ft { padding-bottom: calc(clamp(14px, 2.2svh, 22px) + env(safe-area-inset-bottom)); }
}

@media (max-width: 767px) {
  /* ---- the header, one-handed: logo | Preview | Free estimate | Menu, every one a 44 px target ---- */
  .hd-in { column-gap: var(--s1); }
  .hd-logo { display: flex; align-items: center; height: 44px; }
  .hd-act .btn-sm { --bh: 44px; padding: 0 16px; }
  .hd-burger { width: 44px; height: 44px; padding: 0; justify-content: center; }
  /* ---- the menu, one-handed: the links sit LOW (in reach of the thumb), the calls + the estimate at the bottom; it scrolls if the
     screen is short; a swipe down closes it (site.js) ---- */
  .menu { overflow-y: auto; overscroll-behavior: contain; }
  .menu-links { margin-top: auto; padding-top: var(--s3); }
  .menu-links a { padding: 9px 0; }
  .menu-foot { margin-top: 0; padding-top: var(--s3); gap: 10px; }
  .menu-foot .btn { --bh: 50px; }
  /* ---- the estimate sheet (docked at the bottom): its close button and handle are the one place a thumb reaches the top; a swipe down
     on its top bar closes it too (site.js) ---- */
  .sheet-top { touch-action: none; }
  /* ---- the work scene: the reviews' ticks and Pause are 44 px tall targets (the bars drawn inside them stay 3 px) ---- */
  .wk-tk { height: 44px; width: 28px; }
  .wk-tk::before, .wk-tk i { top: 20px; }
  .wk-pause { height: 44px; min-width: 44px; padding: 0 12px; justify-content: center; }
  .wk-side { gap: 0 12px; }
  .stage .wk-head { padding-bottom: 6px; }
  /* ---- services (bars): the open column's words at phone size ---- */
  .sv-p { font-size: 16px; }
  .sv-list li { font-size: 16px; padding: 8px 0; }
  .sv-note { font-size: 15px; }
  .sv-body-in .more { min-height: 44px; font-size: 15px; }
  /* ---- the estimate band: the numbers are tap rows; chips + fields full phone size (the compact desktop form packs them small) ---- */
  .est-tel { display: flex; align-items: center; min-height: 44px; }
  .est-mail { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; }
  .form.is-compact { gap: 22px; }
  .form.is-compact .chip > span, .sheet .chip > span { height: 44px; padding: 0 15px; font-size: 14px; }
  .form.is-compact .chips { gap: 8px; }
  .form.is-compact .in { height: 52px; }
  .form.is-compact textarea.in { height: 88px; }
  .form.is-compact .send .btn { --bh: 56px; }
  /* ---- inline phone numbers / links in a sentence: a 44 px tall hit row (the words do not move: the padding is cancelled) ---- */
  .sp-act .cap a, .ar-ask a, .lot .aisle-t a, .sheet-top .lede a, .back a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .sp-act .cap { line-height: 1.6; }
  /* ---- the footer: every link a 44 px row, the link lists in two columns ---- */
  .ft-tels { display: grid; }
  .ft-tel { display: flex; align-items: center; min-height: 44px; }
  .ft-col > a.ul { display: inline-flex; align-items: center; min-height: 44px; }
  .ft-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .ft-links a { display: flex; align-items: center; min-height: 44px; }
  .ft-base span:last-child a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .ft-base { padding-top: 4px; }
  /* ---- areas: each county a 44 px row ---- */
  .ar-links { gap: 0 22px; }
  .ar-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .ar-more { font-size: 14px; }
  /* ---- county pages: the hero's words on a deeper black shade (they run over the photo's bright top on a phone), the three buttons
     as one block: the estimate full width, the two calls side by side ---- */
  .dh-media::after { background: linear-gradient(to top, rgba(0, 0, 0, .78) 0, rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, .3) 100%); }
  .dh-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .dh-act .btn { --bh: 48px; padding: 0 10px; font-size: 13px; gap: 6px; }
  .dh-act .btn:first-child { grid-column: 1 / -1; }
  .pgc-links a { min-height: 44px; }
  /* ---- the plain legal pages: the footer's rows as above; the prose at a phone measure ---- */
  .pgx { font-size: 16px; }
}
/* the smallest phones (360 and under): the header's logo a little smaller so logo + Preview + Free estimate + Menu fit one row */
@media (max-width: 374px) {
  .hd-logo, .hd-logo img { width: 98px; }
  .hd-act { gap: 6px; }
  .hd-act .btn-sm { padding: 0 13px; }
}
/* phones + portrait tablets: the open column's link + a question's row are full-size targets */
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .lot .qa-q { min-height: 52px; }
}
/* TOUCH TABLETS (768..1199 with a finger, e.g. an iPad either way up): the phone's 44 px targets, not its layout */
@media (pointer: coarse) and (min-width: 768px) and (max-width: 1199px) {
  .hd-act .btn-sm, .hd-burger { height: 44px; }
  .hd-act .btn-sm { --bh: 44px; }
  .hd-tel { display: flex; align-items: center; min-height: 34px; padding: 0; }
  .wk-tk { height: 44px; }
  .wk-tk::before, .wk-tk i { top: 20px; }
  .wk-pause { height: 44px; }
  .est-tel { display: flex; align-items: center; min-height: 44px; }
  .est-mail { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; }
  .form.is-compact .chip > span, .sheet .chip > span { height: 44px; padding: 0 15px; font-size: 14px; }
  .form.is-compact .in { height: 52px; }
  .sp-act .cap a, .ar-ask a, .lot .aisle-t a, .sheet-top .lede a, .back a { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .ft-tel { display: flex; align-items: center; min-height: 44px; }
  .ft-col > a.ul { display: inline-flex; align-items: center; min-height: 44px; }
  .ft-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .ft-base span:last-child a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .ar-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* =====================================================================================================================
   8. v22 (R23): loading, the three phone try-outs, the family row. Loaded last, so it wins.
   ===================================================================================================================== */
/* the logo's <picture> (WebP, the PNG the fallback) lays out as if the <img> were there alone */
.pic { display: contents; }
/* (R23 #1) the big surface textures load with their scene: site.js LD gives a scene .is-ld once it is NEAR (on screen, next, previous);
   before that the scene is never seen. ⚠ v21 fetched them all at load (tex-worn 544 KB + tex-sealed 428 KB + tex-lot 220 KB ...) */
.stage [data-scene]:not(.is-ld) .sk-worn, .stage [data-scene]:not(.is-ld) .sk-seal, .stage [data-scene]:not(.is-ld) .svh,
.stage [data-scene]:not(.is-ld) .svh-base, .stage [data-scene]:not(.is-ld) .svh-mat, .stage .lot-scene:not(.is-ld),
.stage [data-scene]:not(.is-ld) .pl > b { background-image: none; }   /* (+ the painted lines' paint, sheen, mist: the stalls, the divider) */

@media (max-width: 767px) {
  /* c) v24 (R25, the coordinator's call after his "less scrolling"): the phone footer is the SHORT one, always (the foot switch is gone):
     logo, both numbers, email, Facebook, Privacy / Terms / Text alerts, (c). The menu has every page. */
  .ft-nav { display: none; }
}
/* the docked sheet (v22's Call sheet; the Call try-out is gone, the phone questions' answer sheet is built on it: site.js qaSheet): at the
   bottom (the thumb); tap outside / X / Esc / a swipe down closes it */
.call-sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: none; color: var(--tx);
  transform: translate3d(0, 100%, 0); transition: transform .45s var(--ease); }
.call-sheet.is-open { transform: none; }
.call-sheet::backdrop { background: rgba(2, 4, 10, 0); transition: background-color .45s var(--ease); }
.call-sheet.is-open::backdrop { background: rgba(2, 4, 10, .74); }
.call-in { display: grid; gap: 10px; max-width: 560px; margin: 0 auto; padding: 8px var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom));
  border: 1px solid var(--line-2); border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--surface); touch-action: none; }
.call-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.call-k { font-size: 15px; font-weight: 650; color: var(--tx-2); }
.call-in .x-btn { width: 44px; height: 44px; }
.call-in .btn { --bh: 52px; width: 100%; justify-content: center; }

/* (R23 #3) FAMILY, desktop: the reviews row reads as ONE plate row: "In their words / HomeAdvisor" in the plate's own label column
   (9.6em, as the rows above), the two reviews from the value column on (the long one wider); and on a taller screen the block's own
   spacing grows (the plate's rows, heading to plate, plate to numbers, round the divider), so the left column and the photo with it
   (P031 bigger) fill more of the scene instead of floating in it (v21 at 1920x1080: 183 px empty above and below). ⚠ not a min-height
   on the left column: that left one empty band between the plate and the numbers. Heading top = photo top and the numbers' labels =
   photo bottom, as v21. Short screens (<= 780 tall) unchanged. */
@media (min-width: 900px) and (min-aspect-ratio: 1001/1000) {
  .fam-rv { grid-template-columns: 9.6em minmax(0, 1.5fr) minmax(0, 1fr); column-gap: var(--s3); }
  .fam-rv-k, .fam-rv .fam-q, .fam-rv .fam-q + .fam-q { grid-column: auto; }
  .fam-rv .fam-q + .fam-q { margin-left: calc(var(--s5) - var(--s3)); }
  .fam-rv-k { padding-top: 2px; }
  .fam .plate { margin-top: clamp(16px, 4.6svh, 52px); }
  .fam .plate > div { padding: clamp(11px, 3.4svh, 36px) 0; }
  .fam .plate > div:last-child { padding-bottom: 0; }
  .fam-facts { padding-top: clamp(18px, 5.4svh, 64px); }
  .fam-rule { margin: clamp(18px, 5.6svh, 64px) 0; }
}
@media (min-width: 900px) and (max-width: 1199px) and (min-aspect-ratio: 1001/1000) {
  .fam-rv { grid-template-columns: 8.4em minmax(0, 1.5fr) minmax(0, 1fr); }
}
@media (max-height: 780px) and (min-width: 900px) {
  .fam .plate { margin-top: clamp(16px, 2.8svh, 30px); }
  .fam .plate > div { padding: 9px 0; }
  .fam .plate > div:last-child { padding-bottom: 0; }
  .fam-facts { padding-top: clamp(18px, 3.2svh, 34px); }
  .fam-rule { margin: 12px 0; }
}

/* =====================================================================================================================
   9. v24 (R25, his review of rounds 21-24): the calmer pace, the services hold, the phone services / questions / estimate that fit
   their screen, the Preview tab on phones, the filmstrip's small photos. Loaded after blocks 1-8, so it wins.
   ===================================================================================================================== */
/* a) the entrances, calmer (his "the animations go too fast"): every duration x1.25 (site.js CALM scales the delays). v23: letters + lines
   .5 s, rise .4 / .52 s, the photos' frame .52 / .55 s */
.motion .ch-host .ch, .motion .ln-i { transition-duration: .62s; }
.motion [data-rise] { transition-duration: .5s, .65s; }
.motion [data-pop] .pf { transition-duration: .65s; }
.motion [data-pop] .pf > img { transition-duration: .7s; }
/* the work strip laid in behind its bright line (moment M): 1.15 s -> 1.4 s (site.js: its clean-up comes 1.9 s after it starts) */
.motion .wk-stage.wk-lay.wk-go .wk-veil { transition-duration: 1.4s; }
.motion .wk-stage.wk-lay.wk-go .wk-run { transition-duration: 1.4s; }
.motion .wk-stage.wk-lay.wk-go .wk-run i { transition-delay: 1.35s; }

/* b) SERVICES HOLDS ONCE (site.js holdSv): the cue under the services after the held gesture + the services' names light up once */
.sv-scene .scene-in { position: relative; }
.sv-cue { display: inline-flex; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 6; opacity: 0; transform: translate3d(-50%, 10px, 0); visibility: hidden;
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s; }
.sv-cue.is-on { opacity: 1; transform: translate3d(-50%, 0, 0); visibility: visible; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.svc.is-nudge .sv-lab, .svc.is-nudge .sv-vlab b { animation: sv-nudge 1.3s var(--ease) 1; }
@keyframes sv-nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(77, 140, 255, 0); } 30% { box-shadow: 0 0 0 3px rgba(77, 140, 255, .95); } }

/* c) the filmstrip's small photos (coordinator, 11-11): the frame behind a photo too small to cover it = a blurred, darkened copy of
   the same photo (site.js fitBack: a 40 px canvas, no CSS filter: nothing to re-run while the strip moves); the photo itself <= 1.25x */
.wk-fc figure.has-fit.has-back { background: #05070f var(--fit-bg) 50% 50% / cover no-repeat; }

/* the phone opening's rows (site.js .fs-rows; = the rows media query): three bands, the row files centred (cut at the photo's focus) */
@media (max-width: 639px), (max-aspect-ratio: 1/1) {
  .hero.fs-rows .fs-cols { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); row-gap: 2px; }
  .hero-run .hero.fs-rows .col { grid-area: auto; }
  /* v24 fix (his phone review: "images are WAY too zoomed in on the first thing ... you cant tell what you are looking at"): the rows
     start UNDER the logo + words (site.js OP measure: --rows-top), nothing sits over a photo; each row = the photo's whole width, and
     its own focus inside its band (tools/build_r25.py): the drive with the street edge, its grass edge and the pothole (1) · the lot's
     buildings and its lines (2) · the drive between its grass edges up to the garage (3). Before and after share it (the line lines up) */
  .hero.fs-rows .fs-cols { top: var(--rows-top, 0px); bottom: 0; height: auto; margin: 0 auto; }
  .hero.fs-rows .fs-shade { opacity: 0; }   /* (no words over the photos any more: no shade needed) */
  .hero.fs-rows .col:nth-child(1) .col-img { object-position: 50% 38%; }   /* (his 2nd look: "the top 1 ... is the only one thats off": the drive's shape + street, not the close ground) */
  .hero.fs-rows .col:nth-child(2) .col-img { object-position: 50% 25%; }
  .hero.fs-rows .col:nth-child(3) .col-img { object-position: 50% 30%; }
}
/* portrait tablets / wide portrait windows (rows, >= 640 wide): the logo + words sized by the screen's HEIGHT too, so the rows under them
   keep their height (768x1024: the 88 px words pushed the rows down to 203 px each). Phones: unchanged (the width wins there) */
@media (min-width: 640px) and (max-aspect-ratio: 1/1) {
  .hero { --t-fs: clamp(40px, min(11.4vw, 6.2svh), 88px); --fs-logo: clamp(160px, min(44vw, 21svh), 300px); }
}

/* e) PHONE SERVICES = a 2 x 2 of photo tiles that fills the screen under the heading (his "full service section on phone not a fan of how
   it looks" + "too much scrolling"; v23: four thin bars, an opened one grew the scene to 1293 px at 390x844). A tap opens the service
   OVER the four tiles, inside the same box: its photos run on top, its words, what's included and its "See ..." link under them; a tap
   on its photo closes it. Nothing scrolls. */
@media (max-width: 767px) {
  .stage .sv-scene .scene-in { height: 100%; min-height: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .stage .sv-head { padding-bottom: 14px; }
  .stage .sv-head h2 { font-size: clamp(30px, 8.4vw, 38px); white-space: normal; }
  .stage .sv-head .lede { margin-top: 8px; font-size: 15px; line-height: 1.4; }
  .stage .svc { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 2px; overflow: hidden; margin: 0 var(--gutter); border-radius: 10px; }
  .stage .sv { position: relative; inset: auto; min-height: 0; }
  .stage .sv-panel { height: 100%; }
  .stage .sv-ph, .stage .sv.is-open .sv-ph, .stage .sv.is-slim .sv-ph { position: absolute; inset: 0; width: auto; height: auto; transition: none; }
  .stage .sv-ph::after { content: ""; position: absolute; inset: 45% 0 0 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to top, rgba(5, 7, 15, .72), rgba(5, 7, 15, 0)); }
  .stage .sv-body { display: none; }
  .stage .sv-lab, .stage .sv.is-slim .sv-lab { left: 8px; right: auto; bottom: 8px; max-width: calc(100% - 16px); height: auto; min-height: 36px; padding: 7px 10px;
    white-space: normal; line-height: 1.2; font-size: 14px; opacity: 1; z-index: 2; }
  .stage .sv-lab i { transition: transform .4s var(--ease); }
  /* open: the tile takes the whole box (the other three stay under it) */
  .stage .sv.is-open { position: absolute; inset: 0; z-index: 3; animation: sv-open .45s var(--ease) both; }
  .stage .sv.is-open .sv-panel { display: flex; flex-direction: column; background: var(--surface); }
  .stage .sv.is-open .sv-ph { position: relative; inset: auto; flex: 0 0 30%; }
  .stage .sv.is-open .sv-lab { opacity: 1; }
  .stage .sv.is-open .sv-lab i { transform: rotate(45deg); }
  .stage .sv.is-open .sv-body { display: block; position: relative; left: auto; right: auto; top: auto; bottom: auto; flex: 1 1 auto; min-height: 0; overflow: hidden; }
  .stage .sv.is-open .sv-body > .sv-body-in { height: 100%; justify-content: flex-start; padding: 12px 14px 12px; }
  .stage .sv-body-in .sv-h { display: none; }   /* (the name is on the photo, right above) */
  .stage .sv-body-in .sv-p { margin-top: 0; font-size: 15px; line-height: 1.42; }
  .stage .sv-body-in .sv-k { margin-top: 10px; }
  .stage .sv-body-in .sv-list li { padding: 5px 0; font-size: 15px; }
  .stage .sv-body-in .sv-note { margin-top: 8px; font-size: 14px; }
  .stage .sv-body-in .more { margin-top: auto; padding-top: 6px; }
  @keyframes sv-open { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
  .stage .sv-cue { bottom: calc(18px + env(safe-area-inset-bottom)); }
  /* v24 fix (his phone review: "when you click on a service the writing looks like if you scroll you get more but when you do it takes
     you down to the next section instead"): no pinned link, no fade: the open service's WHOLE content fits its box. site.js svFit steps
     it down until it does (sv-fit1: the list in 2 columns · sv-fit2: tighter type, a shorter photo · sv-fit3: tighter still); measured
     at 360x780, 390x844, 430x932 and 844x390 (tools/r26_svc.py) */
  .stage .sv.is-open .sv-body > .sv-body-in { position: relative; overflow: visible; }
  .stage .sv-body-in .more { margin-top: 10px; padding-top: 0; }
  .stage .sv.sv-fit1 .sv-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; border-top: 0; }
  .stage .sv.sv-fit1 .sv-list li { border-top: 1px solid var(--line); border-bottom: 0; font-size: 14px; line-height: 1.3; padding: 6px 0; }
  .stage .sv.sv-fit2 .sv-p { font-size: 14px; line-height: 1.36; }
  .stage .sv.sv-fit2 .sv-note { font-size: 13px; line-height: 1.38; }
  .stage .sv.sv-fit2.is-open .sv-ph { flex-basis: 22%; }
  .stage .sv.sv-fit3 .sv-list li { font-size: 13.5px; padding: 4px 0; }
  .stage .sv.sv-fit3 .sv-p { font-size: 13.5px; }
  .stage .sv.sv-fit3 .sv-k { margin-top: 6px; }
  .stage .sv.sv-fit3.is-open .sv-ph { flex-basis: 18%; }
}
/* short phones (360x780 and the like): the open service a little tighter so all of it fits with its link */
@media (max-width: 767px) and (max-height: 820px) {
  .stage .sv.is-open .sv-ph { flex-basis: 24%; }
  .stage .sv.is-open .sv-body > .sv-body-in { padding: 10px 12px 8px; }
  .stage .sv-body-in .sv-p { font-size: 14.5px; line-height: 1.38; }
  .stage .sv-body-in .sv-k { margin-top: 8px; }
  .stage .sv-body-in .sv-list li { padding: 3px 0; font-size: 14.5px; }
  .stage .sv-body-in .sv-note { margin-top: 6px; font-size: 13.5px; line-height: 1.4; }
}

/* f) PHONE QUESTIONS = two stalls a row going down, the paint line down the middle (his idea 11-11: "maybe try 2 vertical parking spots
   going down?"; surfaces.js "pair"). A stall = its question; a tap opens the answer in a sheet (site.js). Fills the screen under the
   heading; the hatched aisle with the phone line: a band at the bottom (8 questions) or the last row's right stall (5). */
@media (max-width: 767px) {
  .stage .lot-scene .scene-in { height: 100%; min-height: 0; justify-content: flex-start; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }   /* (room for the last paint line's half + its mist: it hangs past the lot's edge) */
  .stage .lot-scene .lot-grid { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .stage .lot-scene .qa-head { flex: none; padding-bottom: 12px; }
  .stage .lot[data-mode="pair"] { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); border-top: 0; }
  .lot[data-mode="pair"] .qa-item { display: flex; align-items: center; min-width: 0; min-height: 0; padding: 4px 18px 4px 4px; }
  .lot[data-mode="pair"] .qa-item:nth-child(even) { padding: 4px 4px 4px 18px; }
  .lot[data-mode="pair"] .qa-item > h3 { width: 100%; }
  .lot[data-mode="pair"] .qa-q { display: block; min-height: 44px; padding: 6px 0; font-size: clamp(14.5px, 3.9vw, 17px); font-weight: 600; line-height: 1.28; color: #fff; text-align: left; }
  .lot[data-mode="pair"] .qa-ic { display: none; }
  .lot[data-mode="pair"] .qa-a { display: none; }
  .lot[data-mode="pair"] .aisle { min-height: 64px; padding: 6px 10px; }
  .lot[data-mode="pair"][data-shape="pair-band"] .aisle-t { max-width: none; }
  .lot[data-mode="pair"][data-shape="pair-slot"] .aisle-t { font-size: 14.5px; }
}
/* the answer sheet (the Call sheet's look, site.js qaOpen) */
.qa-sheet .call-top { align-items: flex-start; gap: 12px; padding-top: 12px; }
.qa-sh-h { font-size: 19px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; color: #fff; }
.qa-sh-a p { padding: 4px 0 8px; font-size: 16px; line-height: 1.55; color: var(--tx-2); }

/* g) PHONE ESTIMATE: less scrolling (his "try to limit how much actual scrolling is needed ... estimate section"; v23: 2348 px at 390x844).
   Same questions, same order. The numbers + email in the band are not shown on phones: the footer right under the form carries both
   numbers and the email (said once). The facts plate as one row; chips tighter; name + phone side by side, street + city side by side;
   the text box 3 lines. Every target stays 44 px. */
@media (max-width: 767px) {
  .stage .est-tels, .stage .est-mail { display: none; }
  .stage .est .grid { align-items: start; }
  .stage .est-h { font-size: clamp(32px, 8.6vw, 40px); }
  .stage .est-side .lede { margin-top: 10px; font-size: 15.5px; line-height: 1.45; }
  .stage .est-side .spec { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-top: 14px; }
  .stage .est-side .spec > div { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .stage .est-side .spec dt { font-size: 12.5px; }
  .stage .est-form { margin-top: 18px; }
  .form.is-compact { gap: 14px; }
  .form.is-compact .fs legend, .form.is-compact .fl { margin-bottom: 7px; font-size: 13.5px; }
  .form.is-compact .chips { gap: 6px; }
  .form.is-compact .chip > span { height: 44px; padding: 0 12px; font-size: 13.5px; }
  .form.is-compact .row2, .form.is-compact .row2.addr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .form.is-compact .row2.addr { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .form.is-compact .in { height: 48px; }
  .form.is-compact textarea.in { height: 76px; }
  .form.is-compact .send .btn { --bh: 52px; }
  .stage .est { padding-bottom: 18px; }
}
/* 11-11 his yes (GO-LIVE.md E): on phones name sits over phone; side by side, the phone box hid the end of the typed number at 390 */
@media (max-width: 479px) { .form.is-compact .row2:not(.addr) { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 10. v24 (R25 #8-9): AREAS PAGE + 404 (+ the Facebook link in the footer / menu) ----------
   AREAS: the 15 county pages folded in (his "fix county pages idk where they even are"). Label and value, as block 4: a state : its
   counties, each = its name (h3) + the live towns its old page carried; one quiet "Also" line per state. The old URL lands on its
   county's anchor (_redirects 301 /baldwin-county-al -> /areas#baldwin-county-al): :target marks that county (CSS only, no script).
   Fit: every county in one screen down to ~1366x768; shorter / phones scroll inside the scene (the engine's native inner scroll). */
.stage .ar .scene-in { padding: calc(var(--hd) + clamp(14px, 3.2svh, 44px)) 0 clamp(14px, 3svh, 40px); }
.ar .sec-head h1 { font-size: clamp(36px, 2.8vw + 8px, 68px); }
.ar .plate.ar-plate { margin-top: clamp(12px, 2.4svh, 32px); }
.ar .plate > .ar-row { grid-template-columns: 9em minmax(0, 1fr); align-items: start; padding: clamp(8px, 1.3svh, 15px) 0; }
.ar-sh { font-size: 16px; font-weight: 650; line-height: 1.4; letter-spacing: -.005em; color: var(--tx); padding-top: 1px; }
.ar-cos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); gap: clamp(6px, 1svh, 10px) 28px; }
.ar-co { min-width: 0; scroll-margin-top: calc(var(--hd) + 24px); border-left: 2px solid transparent; margin-left: -12px; padding-left: 10px;
         transition: border-color .6s var(--ease), background-color .6s var(--ease); }
.ar-co:target { border-left-color: var(--paint-blue); background: linear-gradient(90deg, rgba(62, 128, 214, .12), rgba(62, 128, 214, 0) 80%); }
.ar-cn { font-size: clamp(16px, .25vw + 13px, 18px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--tx); }
.ar-tw { margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--tx-2); }
.ar-row .ar-more { margin-top: clamp(4px, .8svh, 8px); font-size: 13.5px; line-height: 1.5; color: var(--tx-3); }
.ar .ar-ask { margin-top: clamp(14px, 2.4svh, 28px); }
/* short desktop screens: tighter rows so the list still fits (1440x650, 1280x720) */
@media (max-height: 800px) and (min-width: 1024px) {
  .ar .sec-head h1 { font-size: clamp(34px, 2.2vw + 8px, 52px); }
  .stage .ar .scene-in { padding: calc(var(--hd) + 14px) 0 14px; }
  .ar .sec-head .lede { margin-top: 8px; font-size: 16px; }
  .ar .plate > .ar-row { padding: 8px 0; }
  .ar-cos { gap: 6px 24px; }
  .ar-tw { font-size: 14px; line-height: 1.35; }
  .ar-row .ar-more { margin-top: 4px; font-size: 13px; line-height: 1.4; }
}
/* tablets / phones: the state over its counties, two columns of counties where they fit, one at 360 */
@media (max-width: 1023px) { .ar .plate > .ar-row { grid-template-columns: 7.5em minmax(0, 1fr); } }
@media (max-width: 767px) {
  .ar .plate > .ar-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .ar-cos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 12px 18px; }
  .ar-co { margin-left: -10px; padding-left: 8px; }
  .ar-cn { font-size: 16px; }
  .ar-tw { font-size: 14px; }
  .ar-row .ar-more { font-size: 14px; }
}

/* the Facebook link (R25 #9, "let the site link to FB not homeadvisor"): a plain text link in the footer's "Call or email" column (kept
   by the short phone footer) + the menu, under its buttons. 44 px rows on touch screens (the footer's a.ul rows already are). */
.menu-fb { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: var(--t-s); color: var(--tx-2); }
.menu-fb:hover { color: var(--tx); }

/* 404 (generated, noindex): the plain-page look; the label heading, home + the four services as one list, both numbers */
.nf-main { min-height: calc(100svh - 160px); }
.nf { max-width: 34rem; margin-top: var(--s6); border-top: 1px solid var(--line); }
.nf-a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 10px 0; border-bottom: 1px solid var(--line);
        font-size: clamp(17px, .3vw + 14px, 20px); font-weight: 550; color: var(--tx); }
.nf-a svg { width: 15px; height: 15px; color: var(--tx-3); transition: transform .5s var(--ease), color .3s var(--ease); }
.nf-a:hover svg, .nf-a:focus-visible svg { transform: translate3d(4px, 0, 0); color: var(--tx); }
.nf-tels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s5); }
@media (max-width: 767px) { .nf-tels .btn { flex: 1 1 100%; } }

/* ---------- 12. v24 (R25 #4): PHONE JITTER ----------
   Measured with tools/phone_trace.py (a touch walk down the home page at 390x844 DPR 3, CPU 4x, Chromium trace, every frame by the
   compositor's own verdict). v24 before these: 2 dropped of 3354 frames, 0 missing-content / checkerboard frames; the costs were paint
   (the services nudge, the lot) and image decodes landing inside moves (site.js LD warm() decodes the textures ahead now). */
/* the services hold's nudge: v24's first cut pulsed a BOX-SHADOW on each name (a repaint of every label every frame: 51 ms of paint in
   the 1.35 s hold at 4x). Now a ring drawn once and only FADED (opacity: the compositor's own work, no paint per frame) */
.svc.is-nudge .sv-lab, .svc.is-nudge .sv-vlab b { animation: none; }
.sv-lab::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 3px rgba(77, 140, 255, .95); opacity: 0; pointer-events: none; }
.svc.is-nudge .sv-lab::after { animation: sv-ring 1.3s var(--ease) 1; will-change: opacity; }
@keyframes sv-ring { 0%, 100% { opacity: 0; } 30% { opacity: 1; } }

/* ---------- 11. v24 (R25 #5): EVERY SCREEN SIZE ----------
   His words: "animation on different aspect rations and stuff looks odd" / "its not optimized for different aspect rations and
   browser sizes". Shot at 22 sizes (tools/sizes.py + sizes_sheet.py; screenshots/sizes/). Also fixed in site.js (SV capOf): the small
   photos no longer cap the services box (it was 640 x 468 on EVERY desktop: 196 px empty under it at 1920x1080, 556 px at 2560x1440).
   Nothing here acts at 1440x900 or 1920x1080 except the footer row (a, the closing scene ran 5 px past the screen at 1440x900). */

/* a) the closing scene's footer, desktop: email + Facebook on ONE row, a little less padding (1440x900 +5 px, 1536x864 +32, 1280x720
   +15: the closing scene ran past the screen; the Facebook link added a row) */
@media (min-width: 900px) and (min-aspect-ratio: 1001/1000) {
  .ft { padding-top: clamp(14px, 2.4svh, 28px); }
  .ft-base { padding-top: 10px; }
}
@media (max-height: 900px) and (min-width: 900px) and (min-aspect-ratio: 1001/1000) { .stage .est { padding-bottom: 14px; } }   /* (1536x864: the last 5 px) */
@media (min-width: 1400px) and (min-aspect-ratio: 1001/1000) {   /* (narrower, the wider column squeezed the link lists into more rows) */
  .ft-col:not(.ft-nav) { grid-template-columns: auto auto; justify-content: start; column-gap: 18px; }
  .ft-col:not(.ft-nav) > .ft-k, .ft-col:not(.ft-nav) > .ft-tels { grid-column: 1 / -1; }
}

/* b) services on screens taller than its photos (the box stops at the files' 960 px: 1920x1200, 2560x1440, 3440x1440): heading + columns
   sit in the middle of the screen, not on top of an empty band. No change where the box fills the screen (1440x900, 1920x1080) */
@media (min-width: 900px) and (min-aspect-ratio: 1001/1000) {
  .stage .sv-scene .scene-in { justify-content: center; }
}
/* 3440x1440 (any screen wider than 4 x the 702 px files): the columns stop at 2800 px, centred; at full width each closed column was 860 px
   wide round a 702 px photo (a dark gap beside every photo) */
@media (min-width: 2808px) and (min-aspect-ratio: 1001/1000) {
  .stage .svc { width: 100%; max-width: 2800px; margin-inline: auto; }
}

/* c) the opening on screens wider than its photo set (3 x 720 px: 2560 and 3440 wide) or taller (1290 px: 1440 tall), and the rows on a
   wide portrait window (960x1080, 800x1100, tablets): the bands round the photos = the three befores blurred + darkened (tools/build_sizes.py:
   48 x 29 px drawn up; no CSS filter), not flat black. The photos themselves are never drawn past their files */
@media (min-width: 2200px) and (min-aspect-ratio: 1001/1000), (min-height: 1300px) and (min-aspect-ratio: 1001/1000) {
  .stage .hero .fs-stage { background: #05070f url(img/fs-blur-tri.jpg) 50% 50% / 100% 100% no-repeat; }
}
@media (min-width: 760px) and (max-aspect-ratio: 1/1) {
  .stage .hero .fs-stage { background: #05070f url(img/fs-blur-rows.jpg) 50% 50% / 100% 100% no-repeat; }
}

/* d) big screens (>= 2200 wide): the site's column grows (1440 -> 1800 px: at 2560 / 3440 the family, questions and estimate sat in a
   narrow strip in the middle); and where the screen is also tall (2560x1440, 3440x1440) the type grows with it (the blocks filled a third
   of the screen: 289 px empty above and below the family at 2560x1440, v22 NOTES) */
@media (min-width: 2200px) and (min-aspect-ratio: 1001/1000) {
  :root { --maxw: 1800px; }
}
@media (min-width: 2200px) and (min-height: 1300px) and (min-aspect-ratio: 1001/1000) {
  :root { --maxw: 2000px; --t-xl: 104px; --t-l: 54px; --t-m: 21px; --t-s: 16px; --gutter: 80px; }
  .lot .qa-q { font-size: 23px; }
  .lot .qa-a p { font-size: 18px; }
  .lot .aisle-t { font-size: 21px; }
  .fam-rv .fam-q blockquote, .fam-rv .fam-q p { font-size: 20px; }
  .wk-h { font-size: 62px; }
}
/* the questions' lot on tall desktop screens (>= 1150: 1920x1200, 2560x1440, 3440x1440) may grow past 600 px: it stopped there and left a
   band of bare asphalt under it (1920x1200: 230 px, 2560x1440: 520 px) */
@media (min-width: 900px) and (min-aspect-ratio: 1001/1000) and (min-height: 1150px) {
  .stage .lot { height: clamp(380px, calc(100svh - var(--hd) - var(--sc-t) - var(--sc-b) - var(--t-xl) - 40px), 900px); }
}

/* e) wide portrait windows + tablets (768..1023 portrait: 768x1024, 800x1100, 960x1080): the family photo at most 38 % of the screen tall
   (full width at 4:3 it was 576-660 px and the scene ran 234-341 px past the screen) */
@media (min-width: 768px) and (max-width: 1023px) and (max-aspect-ratio: 1/1) {
  .stage .fam-ph { aspect-ratio: auto; height: min(38svh, calc((100vw - 2 * var(--gutter)) * .75)); }
}

/* f) LANDSCAPE PHONES (844x390 and the like: <= 500 tall, wide): the services = FOUR photo tiles in one row under the heading (the four
   bars ran 210 px past a 390 px screen); a tap opens the service over the row: its photo left, its words right (= block 9's phone tiles,
   turned). The heading on one line, the lede beside it */
@media (max-height: 500px) and (min-aspect-ratio: 3/2) and (max-width: 1023px) {
  .stage .sv-scene .scene-in { height: 100%; min-height: 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .stage .sv-head { padding-top: 40px; padding-bottom: 10px; }
  .stage .sv-head h2 { font-size: 26px; white-space: nowrap; }
  .stage .sv-head .lede { display: none; }
  .stage .svc { flex: 1 1 0; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr);
    gap: 2px; overflow: hidden; margin: 0 var(--gutter); border-radius: 10px; position: relative; }
  .stage .sv { position: relative; inset: auto; min-height: 0; }
  .stage .sv-panel { height: 100%; }
  .stage .sv-ph, .stage .sv.is-open .sv-ph, .stage .sv.is-slim .sv-ph { position: absolute; inset: 0; width: auto; height: auto; transition: none; }
  .stage .sv-body { display: none; }
  .stage .sv-lab, .stage .sv.is-slim .sv-lab { left: 8px; right: auto; bottom: 8px; max-width: calc(100% - 16px); height: auto; min-height: 36px; padding: 7px 10px;
    white-space: normal; line-height: 1.2; font-size: 13.5px; opacity: 1; z-index: 2; }
  .stage .sv.is-open { position: absolute; inset: 0; z-index: 3; }
  .stage .sv.is-open .sv-panel { display: flex; flex-direction: row; background: var(--surface); }
  .stage .sv.is-open .sv-ph { position: relative; inset: auto; flex: 0 0 38%; }
  .stage .sv.is-open .sv-lab i { transform: rotate(45deg); }
  .stage .sv.is-open .sv-body { display: block; position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
  .stage .sv.is-open .sv-body > .sv-body-in { height: 100%; justify-content: flex-start; padding: 10px 14px; }
  .stage .sv-body-in .sv-h, .stage .sv-body-in .sv-note { display: none; }
  .stage .sv-body-in .sv-p { margin-top: 0; font-size: 14px; line-height: 1.4; }
  .stage .sv-body-in .sv-k { margin-top: 6px; }
  .stage .sv-body-in .sv-list li { padding: 3px 0; font-size: 14px; }
  .stage .sv-body-in .more { margin-top: auto; min-height: 40px; }
}

/* ---------- 13. v24 fix (his phone review, 11-11: "when you click on a service the writing looks like if you scroll you get more but when
   you do it takes you down to the next section instead"): LANDSCAPE PHONES (844x390): the opened service's words sat off to the right
   (the desktop's left: var(--sv-ph) came back with position: relative) and ran past the bottom. Now: the photo 30 %, the words in TWO
   columns beside it (the note shown again), the whole of it inside the box; site.js svFit steps the type down if it still does not fit. */
@media (max-height: 500px) and (min-aspect-ratio: 3/2) and (max-width: 1023px) {
  .stage .sv.is-open .sv-body { left: auto; right: auto; top: auto; bottom: auto; }
  .stage .sv.is-open .sv-ph { flex-basis: 30%; }
  .stage .sv.is-open .sv-body > .sv-body-in { display: block; height: auto; column-count: 2; column-gap: 20px; column-fill: balance; padding: 10px 14px 8px; }
  .stage .sv-body-in > *, .stage .sv-body-in .sv-list li { break-inside: avoid; }
  .stage .sv-body-in .sv-note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.36; }
  .stage .sv-body-in .more { margin-top: 6px; min-height: 40px; }
  .stage .sv.sv-fit1 .sv-list { display: block; }
  .stage .sv.sv-fit2 .sv-p, .stage .sv.sv-fit2 .sv-body-in .sv-list li { font-size: 13px; line-height: 1.3; }
  .stage .sv.sv-fit2 .sv-body-in .sv-list li { padding: 2px 0; }
  .stage .sv.sv-fit3.is-open .sv-ph { flex-basis: 24%; }
  .stage .sv.sv-fit3 .sv-note { font-size: 12.5px; }
}

/* ---------- 14. v24 (R26, his words in REVISION-26.md): CONTRACTORS + PROPERTY MANAGERS (contractors.html) + the small way to it from
   the estimate band (home + contact). The first scene = the service pages' (block 2: heading band, photo run, words beside it) with a
   label-and-value plate (the family section's .plate) in place of the list; the last scene = the estimate band's ground with the
   on-request list, email and both numbers, one button, no form. ---------- */
.ct-body { justify-content: center; }
/* the heading is longer than the service pages' one-word names: the lede goes under it (beside it, it ran into the lede from 2048 up) */
.ct-scene .sv-head h1 { grid-column: 1 / -1; white-space: normal; }
.ct-scene .sv-head .lede { grid-column: 1 / -1; margin-top: 6px; max-width: 60ch; }
.ct-plate { margin-top: 0; }
.ct-plate > div { grid-template-columns: 10.5em minmax(0, 1fr); }
.ct-plate dd a { color: var(--tx); }
.ct-plate dd a.ul { white-space: nowrap; }
.ct-fam { margin-top: clamp(12px, 2svh, 18px); font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--tx-3); }
.ct-body .sp-act { margin-top: clamp(14px, 2.6svh, 26px); }
.ct-end .est-side { grid-column: 1 / -1; max-width: 980px; }
.ct-end .ct-go { grid-column: 1 / -1; margin-top: clamp(20px, 3.4svh, 36px); }
.ct-end .ct-mail { --bh: 58px; padding: 0 26px; font-size: 16.5px; }
.ct-ask { margin-top: clamp(18px, 3.2svh, 34px); }
.ct-ask dd { color: var(--tx); }
.ct-ask .num { font-weight: 600; }
.ct-or { margin: 0 6px; color: var(--tx-3); }
@media (max-height: 820px) and (min-width: 900px) {   /* short laptops: the plate's rows tighter so the first scene fits its screen */
  .ct-plate > div { padding: 9px 0; }
  .ct-plate dd { font-size: 15px; }
}
@media (max-height: 790px) and (min-width: 900px) {   /* 1280x720, 1366x768: tighter still (1280x720 ran 92 px past the screen, 1366x768 12) */
  .ct-scene .sv-head { padding-block: 14px 12px; }
  .ct-scene .sv-head .lede { margin-top: 2px; font-size: 15px; }
  .ct-plate > div { grid-template-columns: 9em minmax(0, 1fr); padding: 6px 0; }
  .ct-plate dt { font-size: 14px; }
  .ct-plate dd { font-size: 14px; line-height: 1.38; }
  .ct-fam { margin-top: 8px; }
  .ct-body { padding-block: 14px; }
  .ct-body .sp-act { margin-top: 10px; }
}
@media (max-width: 899px), (max-aspect-ratio: 1/1) {
  .ct-plate > div { grid-template-columns: 1fr; gap: 2px; padding: 11px 0; }
  .ct-plate dt { font-size: 13.5px; color: var(--tx-3); font-weight: 600; }
  .ct-plate dd { font-size: 16px; color: var(--tx); }
}
@media (max-width: 767px) {
  .ct-end .ct-mail { width: 100%; justify-content: center; }
  .ct-ask .num { display: inline-flex; align-items: center; min-height: 44px; }
  .ct-plate dd a.ul { display: inline-flex; align-items: center; min-height: 44px; }
}
/* the way to it from the estimate band: under the facts, quiet (a line in a thin frame), never in the form's way */
.est-pro { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(14px, 2.4svh, 24px); padding: 10px 14px; border: 1px solid var(--line-2);
  border-radius: 10px; background: rgba(5, 7, 15, .35); font-size: 14px; line-height: 1.3; color: var(--tx-2); transition: border-color .3s var(--ease); }
.est-pro:hover { border-color: var(--line-3); }
.est-pro-a { color: var(--tx); font-weight: 600; }
.est-pro svg { width: 14px; height: 14px; flex: none; color: var(--blue-ink); }
@media (max-width: 767px) {   /* one line on a phone: the question + the arrow */
  .est-pro { margin-top: 2px; min-height: 44px; padding: 6px 12px; font-size: 13.5px; }
  .est-pro-a { display: none; }
}

/* ---------- 15. GO-LIVE (11-11): the live form's states (site.js "THE LEAD FORM, LIVE") + the Pause / Play on the sealcoat clip ---------- */
.form [hidden] { display: none !important; }   /* (the form's rows set their own display: hidden must still win) */
.form.is-sending .send .btn { cursor: progress; opacity: .82; }
.form-err { margin: 2px 0 0; font-size: var(--t-s); line-height: 1.5; color: var(--err); }
.form-err a { color: var(--tx); font-weight: 600; white-space: nowrap; }
.form-done { display: grid; gap: 10px; padding: var(--s3) 0 var(--s2); outline: none; }
.form-done-h { margin: 0; color: var(--tx); }
.form-done-p { margin: 0; max-width: 34ch; font-size: var(--t-m, 17px); line-height: 1.5; color: var(--tx-2); }
.form-done-p a { color: var(--tx); font-weight: 600; white-space: nowrap; }
.est-form .form-err, .est-form .form-done { text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.est-form .form-done-p { color: #d3d9e1; }
.vid-pz { position: absolute; right: 10px; top: 10px; z-index: 4; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  padding: 0; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(5, 7, 15, .62); color: #fff; cursor: pointer; }
.vid-pz::after { content: ""; position: absolute; inset: -4px; }   /* (a 44 px hit area round the 36 px button) */
.vid-pz:hover { background: rgba(5, 7, 15, .85); border-color: rgba(255, 255, 255, .7); }
.vid-pz svg { width: 14px; height: 14px; }
.vid-pz .i-play, .vid-pz.is-paused .i-pause { display: none; }
.vid-pz.is-paused .i-play { display: inline; }
.vid-pz[hidden] { display: none; }
/* the optional "OK to text me" box (gen_site.py TEXT_OK_BOX, OFF until his yes): one line under name + phone, the chips' tick */
.txok { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0 4px; cursor: pointer; font-size: var(--t-s); line-height: 1.45; color: var(--tx-2); }
.txok input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.txok-b { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 1px; border: 1px solid var(--line-3); border-radius: 6px; background: var(--field); color: transparent; }
.txok-b svg { width: 14px; height: 14px; }
.txok input:checked + .txok-b { background: var(--blue); border-color: var(--blue); color: #fff; }
.txok input:focus-visible + .txok-b { outline: 2px solid var(--blue-ink); outline-offset: 2px; }
.est-form .txok { text-shadow: 0 1px 2px rgba(0, 0, 0, .8); color: #d3d9e1; }
.sv-ph .vid-pz { left: 10px; right: auto; }   /* (top LEFT in a services column: its photo box is wider than the column on screen) */
@media (min-width: 900px) and (min-aspect-ratio: 1001/1000) {   /* the columns: the box is cropped by a centred inset (site.js --cl, as the label) */
  .sv-ph .vid-pz { left: calc(var(--cl, 0px) + 12px); transition: left .82s var(--ease); }
}
/* desktop with a mouse: pointing at a column OPENS it and the clip gives way to its photo run (the loop stops by itself; keyboard focus does the
   same), so a Pause there could never be reached: not shown. Touch screens + the restoration page keep it */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) and (min-aspect-ratio: 1001/1000) { .sv-ph .vid-pz { display: none !important; } }
/* (11-11) the questions lot's two phone numbers: each 44 px tall tap box (above) overlapped the other when the line wraps them one under the
   other (a tap on the middle of the first dialled the second). The first grows UP, the second DOWN: no overlap, each still >= 32 px */
@media (max-width: 767px), (pointer: coarse) and (min-width: 768px) and (max-width: 1199px) {
  .lot .aisle-t .nw a { padding: 12px 0 0; margin: -12px 0 0; }
  .lot .aisle-t .nw + .nw a { padding: 0 0 12px; margin: 0 0 -12px; }
}
/* (11-11) the same for every sentence with both numbers (the sheet's lede, a service page's "Or call", Areas, the sheet's "We'll call you from"): at
   360 the sheet's two wrapped one under the other and overlapped. The first number's box grows up, the last one's down */
@media (max-width: 767px), (pointer: coarse) and (min-width: 768px) and (max-width: 1199px) {
  .sp-act .cap a:first-of-type, .ar-ask a:first-of-type, .sheet-top .lede a:first-of-type, .back a:first-of-type { padding: 12px 0 0; margin: -12px 0 0; }
  .sp-act .cap a:last-of-type, .ar-ask a:last-of-type, .sheet-top .lede a:last-of-type, .back a:last-of-type { padding: 0 0 12px; margin: 0 0 -12px; }
}
/* (11-11 FINAL) THREE numbers in one sentence (Owner + the son's two: gen_site.py call_all + AISLE): the first grows UP, the last DOWN and
   the MIDDLE one only 3 px each way (>= 25 px tall), so when the sentence wraps them one under the other no two tap boxes cover each other.
   ⚠ these must come after (and match the weight of) the two blocks above: a middle number is neither :first- nor :last-of-type there */
@media (max-width: 767px), (pointer: coarse) and (min-width: 768px) and (max-width: 1199px) {
  .sp-act .cap a.tp-a, .ar-ask a.tp-a, .sheet-top .lede a.tp-a, .lot .aisle-t .nw a.tp-a { padding: 12px 0 0; margin: -12px 0 0; }
  .sp-act .cap a.tp-m, .ar-ask a.tp-m, .sheet-top .lede a.tp-m, .lot .aisle-t .nw a.tp-m { padding: 3px 0; margin: -3px 0; }
  .sp-act .cap a.tp-b, .ar-ask a.tp-b, .sheet-top .lede a.tp-b, .lot .aisle-t .nw + .nw a.tp-b { padding: 0 0 12px; margin: 0 0 -12px; }
  /* (the legal pages' contact blocks: privacy "Questions", terms "Contact") */
  .pgx a.tp-a, .pgx a.tp-m, .pgx a.tp-b { display: inline-block; }
  .pgx a.tp-a { padding: 12px 0 0; margin: -12px 0 0; }
  .pgx a.tp-m { padding: 3px 0; margin: -3px 0; }
  .pgx a.tp-b { padding: 0 0 12px; margin: 0 0 -12px; }
}

/* ---------- 16. (11-11 FINAL, his words: "add my fathers phone number say owner ... label son as my numbers") THE NUMBERS, LABELLED:
   Owner = his dad's line, Son = his two. Label and value: the label small and grey in front, the numbers after it, lined up
   (gen_site.py tel_rows: the estimate band + the footer; tel_btns: the phone menu + the 404; the header: two rows, see header()). ---------- */
.tl { display: grid; justify-items: start; gap: 0; }
.tl-r { display: flex; align-items: baseline; gap: 0 10px; margin: 0; }
.tl-k { flex: none; width: 3.5em; font-size: 13px; font-weight: 500; letter-spacing: .01em; line-height: 1.2; color: var(--tx-3); }
.tl-v { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 18px; min-width: 0; }
/* the header: "Owner (850) 977-0051" over "Son (251) 485-8345", right-aligned (the numbers line up, the labels end together) */
.hd-tel .tl-k { width: auto; margin-right: 6px; font-size: 12px; line-height: 1; }
/* (the two labelled rows are 44 px wider than the old numbers: from 1200 to 1365 wide the room beside the centred nav is tight, so the gaps
   give a little; measured: the nav centred from 1240 up, 17 px left of centre at exactly 1200, nothing touching) */
@media (min-width: 1200px) and (max-width: 1365px) { .hd-act { gap: var(--s2); } }
@media (min-width: 1200px) and (max-width: 1279px) { .hd-nav { gap: 20px; } }
/* the estimate band: the band's own grey for the labels, a little more room beside the big numbers */
.est-tels.tl { gap: 0; }
/* ⚠ the son's row = two big numbers side by side in the band's 533 px side (1440-2199 wide): at the old 34 px they need ~484 px + the label
   (58) = 542 and wrap to a 3rd line (+41 px: his 2048x1000 contact page then ran 49 px past the screen). Capped at 31 px (measured 2048 wide, Firefox: 456 of the row's 475
   px); from 2200 the side is wider (--maxw 1800) and they keep 34 */
@media (max-width: 2199px) { .est-tels .est-tel { font-size: clamp(24px, 1.1vw + 13px, 31px); } }
.est-tels .tl-r { gap: 0 12px; }
.est-tels .tl-k { width: 3.3em; font-size: var(--t-s); color: #b9c1cc; }
.est-tels .tl-v { column-gap: .7em; }
.est-tels .cap { margin-top: var(--s1); }
/* the footer: two rows (Owner / Son: both of the son's numbers on his row) */
.ft-tels.tl { display: grid; }
.ft-tels .tl-k { width: 3.7em; }
/* call buttons (menu, 404): "Owner  (850) 977-0051"; the label a fixed width so the numbers of the three buttons line up */
.btn-k { display: inline-block; min-width: 3.4em; text-align: right; font-weight: 500; opacity: .72; }
@media (max-width: 767px) {
  /* the footer's numbers are 44 px rows (above): the son's two one under the other, the label beside the first */
  .ft-tels .tl-v { display: grid; }
  .ft-tels .tl-r { align-items: flex-start; }
  .ft-tels .tl-k { display: flex; align-items: center; min-height: 44px; }
}
@media (pointer: coarse) and (min-width: 768px) and (max-width: 1199px) {
  .ft-tels .tl-r { align-items: center; }
}
/* the © line: "The Gulf Coast and surrounding areas" never splits (at 390 it left "areas" alone on a line) */
.ft-base .nw { white-space: nowrap; }
/* the first scenes that must stay ONE screen with the longer words ("The Gulf Coast and surrounding areas", its 2-line Areas heading):
   contractors at 1440x900 ran 11 px past it, Areas 31 px at 1440x900 and 3 px at his 2048x1000 (Firefox @1.25). The rows a little
   tighter on screens up to 960 (contractors) / 1050 (Areas) tall; nothing changes on taller screens. (1536x864 Areas: 23 px before, 30 now) */
@media (min-width: 900px) and (min-height: 821px) and (max-height: 960px) and (min-aspect-ratio: 1001/1000) {   /* (<= 820: the rules above) */
  .ct-plate > div { padding-block: clamp(9px, 1.45svh, 14px); }
}
@media (min-width: 900px) and (max-height: 1050px) and (min-aspect-ratio: 1001/1000) {   /* (Areas: up to 1050 tall, his 2048x1000 ran 3 px over) */
  .ar .plate > .ar-row { padding-block: clamp(6px, .95svh, 12px); }
  .ar .plate.ar-plate { margin-top: clamp(10px, 1.7svh, 26px); }
  .ar .ar-ask { margin-top: clamp(10px, 1.8svh, 22px); }
}
@media (min-width: 1024px) and (max-height: 800px) {
  .ar .plate > .ar-row { padding-block: 6px; }
}
