/* Santiago GC — styles, direction 2 (2026-11-24).
   Direction 1 was rejected: white rounded cards, icon tiles, same rhythm in every section ("still looks built with AI").
   Rules now: hard edges (no radius), no icons-in-tiles, no floating cards, photos and type do the work,
   every section has its own layout, and something moves. Palette B and Archivo are unchanged.
   Mobile-first notes: phone-only overrides live in ONE block at the end. No inline styles (CSP: style-src 'self'). */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/archivo-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F7F6F3; --surface: #FFFFFF; --ink: #141414; --panel: #1C1C1C; --black: #0D0D0D;
  --muted: #5C5C5C; --muted-dark: #B5B5B5;
  --brand: #C52020; --brand-dark: #9E1A1A; --brand-on-dark: #F05A52;
  --slate: #5F6E7B; --slate-light: #A3B1BC; --rule: #141414; --rule-soft: #D9D5CC; --rule-dark: #343434;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --h1: clamp(2.6rem, 1.1rem + 5vw, 5rem);
  --h2: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
  --h3: clamp(1.3rem, 1.1rem + .9vw, 1.75rem);
  --body: 1.0625rem; --body-lg: 1.1875rem; --small: .9375rem;
  --max: 1320px; --gutter: clamp(1rem, 4vw, 3rem);
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 7rem;
  --header-h: 76px; --sticky-top: var(--header-h);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 var(--body)/1.6 var(--font); color: var(--ink); background: var(--paper); }
body:not(.has-hero) main { padding-top: var(--header-h); }
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1; margin: 0 0 .45em; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: var(--h1); font-weight: 850; }
h2 { font-size: var(--h2); font-weight: 850; }
h3 { font-size: var(--h3); font-weight: 800; letter-spacing: -.015em; line-height: 1.1; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 68ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 1000; background: var(--paper); color: var(--ink); padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.tag { display: flex; align-items: center; gap: .7rem; font: 700 .78rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate); margin: 0 0 var(--s3); }
.tag::before { content: ""; width: 10px; height: 10px; background: var(--brand); flex: none; }
.dark .tag { color: var(--slate-light); }
.dark .tag::before { background: var(--brand-on-dark); }
.accent { color: var(--brand); }
.dark .accent { color: var(--brand-on-dark); }
.lead { font-size: var(--body-lg); max-width: 58ch; }
.muted { color: var(--muted); }
.dark .muted { color: var(--muted-dark); }

/* buttons: square, uppercase, colour wipes in from the left, arrow slides */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 52px; padding: .9rem 1.5rem; border: 2px solid transparent; font: 700 .9rem/1 var(--font); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; cursor: pointer; transition: background-position .3s ease, color .3s ease, border-color .3s ease; }
.btn::after { content: "\2192"; font-size: 1.1em; transition: translate .25s ease; }
.btn:hover::after { translate: 5px 0; }
.btn-primary { color: #fff; background: linear-gradient(90deg, var(--ink) 50%, var(--brand) 50%) 100% 0 / 200% 100%; border-color: var(--brand); }
.btn-primary:hover { background-position: 0 0; border-color: var(--ink); }
.dark .btn-primary, .site-header .btn-primary { background-image: linear-gradient(90deg, var(--paper) 50%, var(--brand) 50%); }
.dark .btn-primary:hover, .site-header .btn-primary:hover { color: var(--ink); border-color: var(--paper); }
.btn-ghost { color: var(--ink); border-color: var(--ink); background: linear-gradient(90deg, var(--ink) 50%, transparent 50%) 100% 0 / 200% 100%; }
.btn-ghost:hover { background-position: 0 0; color: var(--paper); }
.dark .btn-ghost { color: var(--paper); border-color: var(--paper); background-image: linear-gradient(90deg, var(--paper) 50%, transparent 50%); }
.dark .btn-ghost:hover { color: var(--ink); }
.btn-sm { min-height: 44px; padding: .6rem 1rem; font-size: .8rem; }
.btn-plain::after { content: none; }

section { padding: var(--s6) 0; }
.dark { background: var(--ink); color: var(--paper); }
.sec-head { margin-bottom: var(--s5); }
.sec-head h2 { margin-bottom: 0; }

/* ---------- header: clear over the hero, solid once you scroll ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--rule-dark); transition: translate .3s ease, background .3s ease, border-color .3s ease; }
.site-header.is-clear { background: transparent; border-color: transparent; }
html.hdr-hidden .site-header { translate: 0 -100%; }
.header-inner { display: flex; align-items: center; gap: var(--s3); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--paper); text-decoration: none; }
.brand-logo { width: 50px; height: 50px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word strong { font-weight: 850; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .01em; }
.brand-word span { font-weight: 600; font-size: .62rem; text-transform: uppercase; letter-spacing: .2em; color: var(--slate-light); margin-top: .3rem; }
.main-nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
.main-nav > a, .nav-drop-link { position: relative; display: inline-flex; align-items: center; padding: 0 .95rem; color: var(--paper); text-decoration: none; font: 700 .82rem/1 var(--font); text-transform: uppercase; letter-spacing: .09em; }
.main-nav > a::after, .nav-drop-link::after { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: 22px; height: 2px; background: var(--brand-on-dark); scale: 0 1; transform-origin: left; transition: scale .25s ease; }
.main-nav > a:hover::after, .nav-drop:hover .nav-drop-link::after, .main-nav a[aria-current="page"]::after { scale: 1 1; }
.nav-phone { font-size: .95rem !important; letter-spacing: .02em !important; white-space: nowrap; }
.header-cta { flex: none; }
.header-call, .nav-toggle, .menu-legal { display: none; }
.nav-drop { display: flex; align-items: center; }
.nav-drop-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; margin-left: -.4rem; border: 0; background: transparent; color: var(--paper); cursor: pointer; }
.nav-drop-btn svg { width: 11px; height: 7px; transition: rotate .25s; }
.nav-drop.open .nav-drop-btn svg, .nav-drop:hover .nav-drop-btn svg { rotate: 180deg; }

/* mega menu: full-width dark panel, photo on the left, numbered trades on the right */
.nav-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-top: 1px solid var(--rule-dark); border-bottom: 4px solid var(--brand); visibility: hidden; opacity: 0; translate: 0 -8px; transition: opacity .22s ease, translate .22s ease, visibility 0s .22s; }
.nav-drop.open .nav-menu { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
.mega { display: grid; grid-template-columns: 340px 1fr; gap: var(--s5); padding: var(--s4) 0; }
.mega-feature { position: relative; display: block; min-height: 300px; overflow: hidden; color: var(--paper); text-decoration: none; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: scale .6s ease, filter .3s; }
.mega-feature:hover img { scale: 1.04; filter: brightness(.75); }
.mega-feature span { position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3); }
.mega-feature small { display: block; font: 700 .7rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate-light); margin-bottom: .5rem; }
.mega-feature strong { display: block; font: 850 1.9rem/1 var(--font); letter-spacing: -.02em; }
.mega-feature em { display: block; margin-top: .7rem; font: 700 .78rem/1 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-on-dark); }
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s5); align-content: start; }
.mega-list a { display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: .5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule-dark); color: var(--paper); text-decoration: none; transition: padding .25s ease, border-color .25s; }
.mega-list a:hover, .mega-list a:focus-visible { padding-left: .8rem; border-color: var(--brand-on-dark); }
.mega-list .n { font: 800 .85rem/1 var(--font); color: var(--brand-on-dark); letter-spacing: .05em; }
.mega-list strong { display: block; font: 800 1.3rem/1.1 var(--font); letter-spacing: -.015em; }
.mega-list em { display: block; font-style: normal; font-size: .88rem; color: var(--muted-dark); margin-top: .25rem; }
.mega-list .go { color: var(--brand-on-dark); opacity: 0; translate: -8px 0; transition: opacity .25s, translate .25s; }
.mega-list a:hover .go, .mega-list a:focus-visible .go { opacity: 1; translate: 0 0; }
.mega-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-top: var(--s3); border-top: 1px solid var(--rule-dark); font: 600 .75rem/1 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--slate-light); }
.mega-foot a { color: var(--paper); text-decoration: none; }

.menu-fab, .phone-bar { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + var(--s5)) 0 0; min-height: min(100svh, 960px); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; background: var(--black); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: brightness(.5) contrast(1.05) saturate(.8); }
.hero-bg img:first-child { opacity: 1; }
html.motion .hero-bg img { opacity: 0; animation: heroFade 21s infinite; }
html.motion .hero-bg img:nth-child(1) { animation-delay: -1.05s; }
html.motion .hero-bg img:nth-child(2) { animation-delay: 5.95s; }
html.motion .hero-bg img:nth-child(3) { animation-delay: 12.95s; }
@keyframes heroFade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
/* shade + film grain (the grain also hides that these are small placeholder photos) */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(13 13 13 / .88) 0%, rgb(13 13 13 / .55) 45%, rgb(13 13 13 / .35) 100%), linear-gradient(0deg, rgb(13 13 13 / .9) 0%, transparent 35%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: var(--s5); align-items: end; flex: 1; padding-bottom: var(--s5); }
/* both columns pin to the top, so the headline stays put when the form grows on its last step */
.hero-grid > * { align-self: start; }
.hero-copy { padding-top: clamp(.5rem, 7vh, 5rem); }
.hero h1 { color: var(--paper); margin-bottom: .3em; }
.hero .sub { font: 700 clamp(1.15rem, 1rem + .9vw, 1.6rem)/1.25 var(--font); letter-spacing: -.01em; margin: 0 0 var(--s3); padding-left: var(--s2); border-left: 4px solid var(--brand-on-dark); max-width: 26ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: var(--s3); }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: 0; font: 600 .85rem/1.3 var(--font); color: var(--muted-dark); }
.proof .stars { color: var(--brand-on-dark); letter-spacing: 3px; }
.proof a { color: var(--paper); }

/* the form: a dark work-order panel, red top edge, no icons */
.form-panel { background: rgb(20 20 20 / .94); border: 1px solid var(--rule-dark); border-top: 5px solid var(--brand); padding: 1.75rem; backdrop-filter: blur(6px); }
.form-panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); margin: 0 0 .4rem; }
.form-panel-head h2 { font: 850 1.75rem/1 var(--font); letter-spacing: -.02em; margin: 0; color: var(--paper); }
.form-panel-head span { font: 700 .68rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--brand-on-dark); white-space: nowrap; }
.form-panel-sub { margin: 0 0 var(--s2); color: var(--muted-dark); font-size: 1rem; }

/* facts strip along the bottom edge of the hero */
.spec-strip { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(247 246 243 / .28); }
.spec-strip li { padding: 1.15rem var(--s3) 1.3rem 0; border-left: 1px solid rgb(247 246 243 / .28); padding-left: var(--s3); }
.spec-strip li:first-child { border-left: 0; padding-left: 0; }
.spec-strip small { display: block; font: 700 .66rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate-light); margin-bottom: .45rem; }
.spec-strip strong { font: 800 1.15rem/1 var(--font); letter-spacing: -.005em; color: var(--paper); }

/* ---------- ticker ---------- */
.ticker { background: var(--brand); color: #fff; overflow: hidden; padding: .95rem 0; }
.ticker-run { display: flex; width: max-content; }
html.motion .ticker-run { animation: tick 38s linear infinite; }
.ticker:hover .ticker-run { animation-play-state: paused; }
.ticker-set { display: flex; flex: none; }
.ticker-set span { font: 850 1.35rem/1 var(--font); text-transform: uppercase; letter-spacing: .02em; padding: 0 1.4rem; white-space: nowrap; }
.ticker-set span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px #fff; }
@keyframes tick { to { translate: -50% 0; } }

/* ---------- services: a big index, photo stage follows what you point at ---------- */
.svc { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: var(--s5); align-items: start; }
.svc-stage { position: sticky; top: calc(var(--header-h) + var(--s3)); aspect-ratio: 3 / 4; background: var(--ink); overflow: hidden; }
.svc-stage figure { position: absolute; inset: 0; margin: 0; opacity: 0; scale: 1.04; transition: opacity .45s ease, scale .7s ease; }
.svc-stage figure.on { opacity: 1; scale: 1; }
.svc-stage img { width: 100%; height: 100%; object-fit: cover; }
.svc-stage figcaption { position: absolute; left: 0; bottom: 0; background: var(--brand); color: #fff; font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .12em; padding: .7rem 1rem; }
.svc-stage .nophoto { display: grid; place-content: center; text-align: center; padding: var(--s3); background: var(--ink) repeating-linear-gradient(135deg, transparent 0 22px, rgb(255 255 255 / .035) 22px 23px); }
.svc-stage .nophoto b { font: 850 clamp(2.4rem, 4vw, 3.6rem)/.95 var(--font); text-transform: uppercase; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--brand-on-dark); }
.svc-stage .nophoto small { display: block; margin-top: 1rem; font: 600 .72rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--slate-light); }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--rule); }
.svc-list a { position: relative; display: grid; grid-template-columns: 4.5rem 1fr auto; align-items: center; gap: var(--s2); padding: 1.6rem var(--s2) 1.6rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; isolation: isolate; transition: padding .3s ease, color .3s ease; }
.svc-list a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); scale: 1 0; transform-origin: bottom; transition: scale .3s ease; }
.svc-list a:hover, .svc-list a:focus-visible { color: var(--paper); padding-left: var(--s3); }
.svc-list a:hover::before, .svc-list a:focus-visible::before { scale: 1 1; }
.svc-list .n { font: 800 1rem/1 var(--font); color: var(--brand); letter-spacing: .04em; }
.svc-list a:hover .n, .svc-list a:focus-visible .n { color: var(--brand-on-dark); }
.svc-list strong { display: block; font: 850 clamp(1.5rem, 1rem + 2vw, 2.6rem)/1 var(--font); letter-spacing: -.025em; }
.svc-list em { display: block; font-style: normal; font-size: 1rem; color: var(--muted); margin-top: .45rem; transition: color .3s; }
.svc-list a:hover em, .svc-list a:focus-visible em { color: var(--muted-dark); }
.svc-list .go { font-size: 1.8rem; line-height: 1; color: var(--brand); translate: -10px 0; opacity: .0; transition: translate .3s, opacity .3s, color .3s; }
.svc-list a:hover .go, .svc-list a:focus-visible .go { translate: 0 0; opacity: 1; color: var(--brand-on-dark); }

/* ---------- process: steps on a line that fills as you scroll, beside the written estimate ---------- */
.process { background: var(--ink) linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 100% 44px; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 44px 44px; }
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: var(--s6); align-items: start; }
.timeline { list-style: none; margin: var(--s4) 0 0; padding: 0; position: relative; --p: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--rule-dark); }
.timeline::after { background: var(--brand-on-dark); transform-origin: top; scale: 1 var(--p); }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: var(--s3); padding-bottom: var(--s4); }
.timeline li:last-child { padding-bottom: 0; }
.timeline .num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; background: var(--ink); border: 2px solid var(--rule-dark); font: 800 .95rem/1 var(--font); color: var(--muted-dark); transition: background .3s, border-color .3s, color .3s; }
.timeline li.on .num { background: var(--brand); border-color: var(--brand); color: #fff; }
.timeline h3 { margin: .4rem 0 .4rem; }
.timeline p { color: var(--muted-dark); margin: 0; max-width: 46ch; }
.process-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--s4); }

/* the estimate sheet: paper, ruled, hard edges */
.sheet { position: sticky; top: calc(var(--header-h) + var(--s3)); background: var(--paper); color: var(--ink); padding: var(--s3) var(--s3) var(--s2); box-shadow: 14px 14px 0 var(--brand); }
.sheet-top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s2); padding-bottom: .9rem; border-bottom: 3px solid var(--ink); }
.sheet-top b { font: 850 1.7rem/1 var(--font); text-transform: uppercase; letter-spacing: -.01em; }
.sheet-top span { font: 600 .68rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); text-align: right; }
.sheet dl { margin: 0; }
.sheet .row { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--rule-soft); }
.sheet dt { font-weight: 700; }
.sheet dd { margin: 0; font: 600 .82rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); text-align: right; }
.sheet .total { border-bottom: 3px solid var(--ink); border-top: 2px solid var(--ink); margin-top: -1px; }
.sheet .total dt { font: 850 1.25rem/1 var(--font); }
.sheet .total dd { font-size: .9rem; color: var(--ink); }
.sheet-sign { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); padding: var(--s4) 0 .4rem; }
.sheet-sign span { border-top: 1px solid var(--ink); padding-top: .4rem; font: 600 .66rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.sheet-note { margin: .6rem 0 0; font-size: .74rem; color: var(--muted); }

/* ---------- work: an edge-to-edge strip of real job photos you can drag or arrow through ---------- */
.work { padding-bottom: var(--s6); overflow: hidden; }
.work .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); }
.strip-ctl { display: flex; gap: .5rem; }
.strip-ctl button { width: 52px; height: 52px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s; }
.strip-ctl button:hover { background: var(--ink); color: var(--paper); }
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; scroll-snap-type: none; }
.strip figure { position: relative; flex: none; margin: 0; height: clamp(320px, 52vh, 500px); scroll-snap-align: start; overflow: hidden; background: var(--ink); }
.strip img { height: 100%; width: auto; max-width: none; pointer-events: none; transition: scale .6s ease; }
.strip figure:hover img { scale: 1.03; }
.strip figcaption { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: .8rem; background: var(--ink); color: var(--paper); padding: .7rem 1rem; font: 700 .74rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; }
.strip figcaption b { color: var(--brand-on-dark); }
.work-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); margin-top: var(--s3); }
.work-foot p { margin: 0; font-size: var(--small); color: var(--muted); }

/* ---------- reviews: an honest statement, not a fake carousel ---------- */
.reviews { background: var(--black); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s5); align-items: end; }
.reviews .big { font: 850 clamp(2.8rem, 1rem + 7.5vw, 7.5rem)/.9 var(--font); letter-spacing: -.04em; margin: 0; }
.reviews .big span { display: block; }
.reviews .big .out { color: transparent; -webkit-text-stroke: 2px var(--brand-on-dark); }
.reviews-side { border-left: 4px solid var(--brand-on-dark); padding-left: var(--s3); }
.reviews-side p { color: var(--muted-dark); }

/* ---------- local: towns as a typographic run, beside the guide list ---------- */
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: start; }
.towns { list-style: none; margin: var(--s3) 0 var(--s3); padding: 0; display: flex; flex-wrap: wrap; gap: .1em .5em; font: 850 clamp(1.6rem, 1rem + 2.2vw, 2.6rem)/1.15 var(--font); letter-spacing: -.025em; }
.towns li:not(:last-child)::after { content: "/"; color: var(--brand); margin-left: .5em; font-weight: 400; }
.towns li:nth-child(even) { color: var(--slate); }
.guide-list { list-style: none; margin: var(--s3) 0 0; padding: 0; border-top: 3px solid var(--rule); }
.guide-list li { display: grid; grid-template-columns: 1fr auto; gap: var(--s2); align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.guide-list strong { font: 700 1.08rem/1.25 var(--font); }
.guide-list a { color: inherit; text-decoration: none; }
.guide-list a:hover, .guide-list a:focus-visible { color: var(--brand); text-decoration: underline; }
.guide-list span { font: 700 .64rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--slate); border: 1px solid var(--slate); padding: .4rem .55rem; white-space: nowrap; }

/* ---------- estimate (bottom) ---------- */
.estimate-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: var(--s6); align-items: start; }
.big-phone { display: inline-block; white-space: nowrap; font: 850 clamp(2.3rem, 1rem + 4.2vw, 4.4rem)/1 var(--font); letter-spacing: -.035em; color: var(--paper); text-decoration: none; margin: var(--s2) 0 .3em; background: linear-gradient(var(--brand-on-dark), var(--brand-on-dark)) 0 100% / 0 5px no-repeat; transition: background-size .35s ease; }
.big-phone:hover { background-size: 100% 5px; }
.contact-rows { list-style: none; margin: var(--s4) 0 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.contact-rows li { display: grid; grid-template-columns: 7rem 1fr; gap: var(--s2); align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--rule-dark); }
.contact-rows small { font: 700 .68rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--slate-light); }
.contact-rows a { color: var(--paper); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-rows a:hover { color: var(--brand-on-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--muted-dark); padding: var(--s5) 0 var(--s3); font-size: var(--small); border-top: 1px solid var(--rule-dark); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s4); padding-bottom: var(--s4); }
.site-footer .brand { margin-bottom: var(--s2); }
.site-footer h3 { color: var(--slate-light); font: 700 .7rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; margin: .4rem 0 var(--s2); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--brand-on-dark); }
.site-footer .col a { display: block; padding: .32rem 0; }
.social { display: flex; gap: .5rem; margin-top: var(--s2); }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-dark); }
.social a:hover { border-color: var(--brand-on-dark); }
.social svg { width: 18px; height: 18px; }
.footer-company { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: var(--s3) 0; border-top: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
.footer-company p { margin: 0; }
.licenses { font: 700 .76rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--paper); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); padding-top: var(--s3); font-size: .82rem; }
.legal p { margin: 0; }

/* ---------- lead form (lf-*): one question per step, big tap rows, no icons ---------- */
.lf { color: var(--paper); }
.lf-top { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.lf-back { background: none; border: 0; color: var(--paper); font: 700 .95rem/1 var(--font); cursor: pointer; padding: .7rem .8rem .7rem 0; min-height: 44px; }
.lf-back:hover { color: var(--brand-on-dark); }
.lf-count { font: 700 .9rem/1 var(--font); color: var(--slate-light); }
.lf-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; margin: .2rem 0 var(--s3); }
.lf-bar i { height: 6px; background: #3A3A3A; transition: background .3s ease; }
.lf-bar i.done { background: var(--brand-on-dark); }
.lf-for { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin: 0 0 var(--s3); padding: .65rem .9rem; background: rgb(247 246 243 / .07); border-left: 4px solid var(--brand-on-dark); }
.lf-for[hidden] { display: none; }
.lf-for small { display: block; font: 700 .68rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--slate-light); margin-bottom: .3rem; }
.lf-for b { font: 800 1.05rem/1.1 var(--font); }
.lf-for button { background: none; border: 0; color: var(--paper); font: 600 .9rem/1 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; padding: 0 .2rem; }
.lf-q { font: 850 clamp(1.45rem, 1.2rem + .9vw, 1.85rem)/1.1 var(--font); letter-spacing: -.02em; margin: 0 0 .35rem; }
.lf-hint { margin: 0 0 var(--s2); color: var(--muted-dark); font-size: 1rem; }
.lf-opts { display: grid; gap: 8px; }
.lf-opts.two { grid-template-columns: 1fr 1fr; }
.lf-opts.two > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.lf-opt { display: grid; grid-template-columns: 22px 1fr auto; column-gap: .85rem; align-items: center; min-height: 60px; padding: .7rem 1rem; background: rgb(247 246 243 / .05); border: 2px solid #4D4D4D; color: var(--paper); text-align: left; cursor: pointer; font: 700 1.1rem/1.2 var(--font); transition: border-color .15s, background .15s; }
.lf-mark { width: 22px; height: 22px; border: 2px solid var(--slate-light); transition: background .15s, border-color .15s; }
.lf-opt small { font: 400 .9rem/1.2 var(--font); color: var(--muted-dark); text-align: right; }
.lf-opt:hover { border-color: var(--paper); background: rgb(247 246 243 / .11); }
.lf-opt:hover .lf-mark { border-color: var(--paper); }
.lf-opt.is-on { border-color: var(--brand-on-dark); background: rgb(197 32 32 / .24); }
.lf-opt.is-on .lf-mark { background: var(--brand-on-dark); border-color: var(--brand-on-dark); }
.lf-fields { display: grid; gap: .95rem; }
.lf label { display: block; font: 700 1rem/1.3 var(--font); color: var(--paper); }
.lf label span { font-weight: 400; color: var(--muted-dark); }
.lf input[type="text"], .lf input[type="tel"], .lf input[type="email"], .lf textarea { display: block; width: 100%; margin-top: .4rem; padding: .8rem .9rem; min-height: 54px; background: var(--black); border: 2px solid #4D4D4D; border-radius: 0; color: var(--paper); font: 400 1.08rem/1.3 var(--font); }
.lf input:focus, .lf textarea:focus { border-color: var(--paper); outline: none; }
.lf-hp { position: absolute; left: -9999px; }
.lf-nav { margin-top: var(--s3); }
.lf-nav .btn { width: 100%; min-height: 60px; font-size: 1rem; }
.lf-error { margin: .9rem 0 0; padding: .8rem 1rem; background: #3A1A1A; border-left: 4px solid var(--brand-on-dark); color: #fff; font-size: 1rem; }
.lf-error a { color: #fff; font-weight: 700; }
.lf-anim { animation: lf-in .25s ease; }
@keyframes lf-in { from { opacity: 0; translate: 12px 0; } to { opacity: 1; translate: 0 0; } }

/* ---------- motion (only under html.motion; main.js skips all of it for reduced motion) ---------- */
html.motion [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1); }
html.motion [data-reveal].in { opacity: 1; translate: 0 0; }
html.motion [data-reveal="wipe"] { opacity: 1; translate: 0 0; clip-path: inset(-20px -20px 100% -20px); transition: clip-path .9s cubic-bezier(.2, .7, .2, 1); }
html.motion [data-reveal="wipe"].in { clip-path: inset(-20px); } /* negative inset keeps the offset shadow visible */
html.motion [data-stagger] > * { opacity: 0; translate: 0 18px; transition: opacity .55s ease, translate .55s ease; }
html.motion [data-stagger].in > * { opacity: 1; translate: 0 0; }
html.motion [data-stagger].in > :nth-child(2) { transition-delay: .07s; }
html.motion [data-stagger].in > :nth-child(3) { transition-delay: .14s; }
html.motion [data-stagger].in > :nth-child(4) { transition-delay: .21s; }
html.motion [data-stagger].in > :nth-child(5) { transition-delay: .28s; }
html.motion [data-stagger].in > :nth-child(6) { transition-delay: .35s; }
html.motion [data-stagger].in > :nth-child(7) { transition-delay: .42s; }
html.motion .hero h1, html.motion .hero .sub, html.motion .hero-actions, html.motion .hero .proof, html.motion .hero .tag { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
html.motion .hero h1 { animation-delay: .08s; } html.motion .hero .sub { animation-delay: .2s; } html.motion .hero-actions { animation-delay: .3s; } html.motion .hero .proof { animation-delay: .4s; }
html.motion .form-panel { animation: rise .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* ====================================================================
   SERVICE PAGES — generated by scripts/build-services.mjs from content/services.json
   ==================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 var(--s3); font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--slate-light); }
.crumbs a { color: var(--slate-light); text-decoration: none; }
.crumbs a:hover, .crumbs [aria-current] { color: var(--paper); }
.crumbs .sep { color: var(--brand-on-dark); }

/* hero: copy on the left over a giant outlined number, portrait job photo on the right that hangs into the next section */
.sp-hero { position: relative; z-index: 1; background: var(--black); color: var(--paper); padding: calc(var(--header-h) + var(--s5)) 0 0; }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s5); align-items: end; }
.sp-hero-copy { position: relative; isolation: isolate; padding-bottom: var(--s5); }
.sp-num { position: absolute; z-index: -1; right: 0; top: -.12em; font: 850 clamp(8rem, 17vw, 16rem)/.8 var(--font); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px rgb(247 246 243 / .13); user-select: none; pointer-events: none; }
.sp-hero h1 { font-size: clamp(2.4rem, 1.1rem + 4.2vw, 4.5rem); margin-bottom: .35em; }
.sp-hero .sub { font: 700 clamp(1.1rem, 1rem + .7vw, 1.45rem)/1.3 var(--font); letter-spacing: -.01em; margin: 0 0 var(--s3); padding-left: var(--s2); border-left: 4px solid var(--brand-on-dark); max-width: 30ch; }
.sp-hero .proof { font: 700 .72rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .12em; color: var(--slate-light); }
.sp-hero-photo { position: relative; margin: 0 0 -4.5rem; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; justify-self: end; overflow: hidden; background: var(--ink); box-shadow: -14px 14px 0 var(--brand); }
.sp-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.sp-hero-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--paper); font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .12em; padding: .7rem 1rem; }
.sp-hero-photo.nophoto { display: grid; place-content: center; text-align: center; padding: var(--s3); background: var(--ink) repeating-linear-gradient(135deg, transparent 0 22px, rgb(255 255 255 / .035) 22px 23px); }
.sp-hero-photo.nophoto b { font: 850 clamp(2.2rem, 4vw, 3.4rem)/.95 var(--font); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px var(--brand-on-dark); }
.sp-hero-photo.nophoto small { display: block; margin-top: 1rem; font: 600 .72rem/1.4 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--slate-light); }
html.motion .sp-hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
html.motion .sp-hero-copy > :nth-child(3) { animation-delay: .08s; } html.motion .sp-hero-copy > :nth-child(4) { animation-delay: .18s; } html.motion .sp-hero-copy > :nth-child(5) { animation-delay: .28s; } html.motion .sp-hero-copy > :nth-child(6) { animation-delay: .38s; }

/* ledger: problem on the left, what we do on the right, ruled like a job sheet */
.ledger-sec { padding-top: calc(var(--s6) + 1.5rem); }
.ledger-head { display: grid; grid-template-columns: 5fr 6fr; gap: var(--s4); padding: 0 var(--s2) .9rem 1.5rem; font: 700 .68rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate); }
.ledger { margin: 0; border-top: 3px solid var(--rule); }
.lrow { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: var(--s4); align-items: baseline; padding: 1.6rem var(--s2) 1.6rem 1.5rem; border-bottom: 1px solid var(--rule); transition: background .25s ease; }
.lrow::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 6px; background: var(--brand); scale: 1 0; transform-origin: bottom; transition: scale .3s cubic-bezier(.3, .7, .2, 1); }
@media (hover: hover) {
  .lrow:hover { background: var(--surface); }
  .lrow:hover::before { scale: 1 1; }
}
/* Directional: main.js tags a row with the edge the pointer crossed (in and out). The bar or the dark flood
   grows from that edge and shrinks back toward the exit edge, so it follows the mouse up or down the list. */
.dir-top::before { transform-origin: top !important; }
.dir-bottom::before { transform-origin: bottom !important; }

.lrow dt { display: grid; grid-template-columns: 3.2rem 1fr; align-items: baseline; font: 850 clamp(1.25rem, 1rem + 1.1vw, 1.9rem)/1.1 var(--font); letter-spacing: -.02em; }
.lrow dt .n { font: 800 .9rem/1 var(--font); color: var(--brand); letter-spacing: .04em; }
.lrow dd { margin: 0; font-size: var(--body-lg); color: #2E2E2E; max-width: 54ch; }

/* choice: two full-bleed halves, dark and white, with a red OR on the seam */
.choice .sec-head { margin-bottom: var(--s4); }
.choice .sec-head h2 { margin-bottom: .3em; }
.choice-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.choice-split > div { padding-block: var(--s5); }
.choice-a { background: var(--ink); color: var(--paper); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: var(--s5); }
.choice-b { background: var(--surface); border-block: 3px solid var(--rule); padding-left: var(--s5); padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.choice-or { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; display: grid; place-items: center; width: 76px; height: 76px; background: var(--brand); color: #fff; font: 850 1.15rem/1 var(--font); text-transform: uppercase; letter-spacing: .08em; }
.choice-split .when { margin: 0 0 .8rem; font: 700 .7rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate); }
.choice-a .when { color: var(--slate-light); }
.choice-split h3 { font: 850 clamp(2rem, 1.2rem + 2.8vw, 3.5rem)/1 var(--font); letter-spacing: -.03em; margin: 0; }
.choice-split ul { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.choice-split li { position: relative; padding: .95rem 0 .95rem 1.9rem; border-top: 1px solid var(--rule-soft); font-size: var(--body-lg); font-weight: 500; }
.choice-a li { border-color: var(--rule-dark); }
.choice-split li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 10px; height: 10px; background: var(--brand); }
.choice-a li::before { background: var(--brand-on-dark); }

/* steps: three across on a red line that draws itself */
.hsteps { position: relative; list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.hsteps::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--brand-on-dark); transform-origin: left; }
html.motion .hsteps::before { scale: 0 1; transition: scale 1.3s cubic-bezier(.2, .7, .2, 1) .15s; }
html.motion .hsteps.in::before { scale: 1 1; }
.hsteps .num { position: relative; display: grid; place-items: center; width: 44px; height: 44px; background: var(--brand); color: #fff; font: 800 .95rem/1 var(--font); }
.hsteps h3 { margin: var(--s3) 0 .5rem; }
.hsteps p { margin: 0; color: var(--muted-dark); max-width: 38ch; }

/* faq: heading stays put on the left while the answers scroll */
.faq { background: var(--surface); border-block: 1px solid var(--rule-soft); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s6); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + var(--s3)); }
.qa { border-bottom: 1px solid var(--rule); }
.qa:first-of-type { border-top: 3px solid var(--rule); }
.qa summary { display: grid; grid-template-columns: 1fr 30px; gap: var(--s2); align-items: center; padding: 1.4rem 0; cursor: pointer; list-style: none; font: 800 clamp(1.1rem, 1rem + .5vw, 1.4rem)/1.2 var(--font); letter-spacing: -.012em; transition: color .2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brand); }
.qa summary i { position: relative; width: 30px; height: 30px; border: 2px solid var(--ink); transition: background .2s, border-color .2s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 6px; right: 6px; top: 12px; height: 2px; background: var(--ink); transition: rotate .3s ease, background .2s; }
.qa summary i::after { rotate: 90deg; }
.qa[open] summary i { background: var(--brand); border-color: var(--brand); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa[open] summary i::after { rotate: 0deg; }
.qa > div { padding: 0 0 1.5rem; max-width: 60ch; font-size: var(--body-lg); }
.qa > div p { margin: 0; }

/* related: the other trades as a ruled band of tall cells that flood dark */
.rel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 3px solid var(--rule); border-left: 1px solid var(--rule); }
.rel a { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s3); min-height: 230px; padding: var(--s3) var(--s2); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; transition: color .3s ease; }
.rel a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); scale: 1 0; transform-origin: bottom; transition: scale .3s ease; }
.rel a:hover, .rel a:focus-visible { color: var(--paper); }
.rel a:hover::before, .rel a:focus-visible::before { scale: 1 1; }
.rel .n { font: 800 .9rem/1 var(--font); color: var(--brand); letter-spacing: .04em; }
.rel a:hover .n, .rel a:hover .go { color: var(--brand-on-dark); }
.rel strong { display: block; font: 850 clamp(1.2rem, 1rem + .8vw, 1.6rem)/1.05 var(--font); letter-spacing: -.02em; }
.rel em { display: block; margin-top: .45rem; font-style: normal; font-size: .88rem; color: var(--muted); transition: color .3s; }
.rel a:hover em { color: var(--muted-dark); }
.rel .go { font-size: 1.5rem; line-height: 1; color: var(--brand); transition: translate .3s ease, color .3s; }
.rel a:hover .go { translate: 8px 0; }

@media (max-width: 1023px) {
  .sp-hero-grid { grid-template-columns: 1fr; gap: var(--s3); }
  .sp-hero-copy { padding-bottom: 0; }
  .sp-hero-photo { aspect-ratio: 16 / 10; margin-bottom: -3rem; box-shadow: none; }
  .ledger-head { display: none; }
  .lrow { grid-template-columns: 1fr; gap: .6rem; }
  .lrow dd { padding-left: 3.2rem; }
  .choice-split { grid-template-columns: 1fr; }
  .choice-split > div { padding-inline: var(--gutter); }
  .choice-or { position: static; translate: none; margin: -38px auto; }
  .choice-a { padding-bottom: calc(var(--s5) + 1.5rem); }
  .choice-b { padding-top: calc(var(--s5) + 1.5rem); }
  .hsteps { grid-template-columns: 1fr; gap: var(--s3); }
  .hsteps::before { content: none; }
  .hsteps li { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s2); }
  .hsteps h3 { margin-top: .45rem; }
  .hsteps p { grid-column: 2; }
  .faq-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .faq-grid > div:first-child { position: static; }
  .rel { grid-template-columns: repeat(3, 1fr); }
}

/* ====================================================================
   INNER PAGES (services hub, projects, reviews, guides hub, about, contact)
   Generated by scripts/build-pages.mjs. Each has its own main section; they share this hero.
   ==================================================================== */
.pg-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: var(--paper); padding: calc(var(--header-h) + var(--s5)) 0 var(--s5); }
.pg-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 44px 44px; }
.pg-word { position: absolute; z-index: -1; right: -.04em; bottom: -.16em; font: 850 clamp(7rem, 23vw, 21rem)/.8 var(--font); letter-spacing: -.05em; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px rgb(247 246 243 / .09); user-select: none; pointer-events: none; }
.pg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: var(--s5); align-items: end; }
.pg-hero h1 { font-size: clamp(2.6rem, 1rem + 5.6vw, 5.6rem); margin-bottom: .28em; }
.pg-hero .sub { font: 700 clamp(1.1rem, 1rem + .7vw, 1.45rem)/1.3 var(--font); letter-spacing: -.01em; margin: 0; padding-left: var(--s2); border-left: 4px solid var(--brand-on-dark); max-width: 36ch; }
.pg-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgb(247 246 243 / .28); }
.pg-facts li { padding: .95rem 0; border-bottom: 1px solid rgb(247 246 243 / .28); }
.pg-facts small { display: block; font: 700 .66rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate-light); margin-bottom: .4rem; }
.pg-facts strong { font: 800 1.1rem/1.2 var(--font); }
.pg-facts a { color: var(--paper); }
html.motion .pg-hero h1, html.motion .pg-hero .sub, html.motion .pg-hero .crumbs, html.motion .pg-facts { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
html.motion .pg-hero .sub { animation-delay: .12s; } html.motion .pg-facts { animation-delay: .22s; }

/* services hub + reviews: the index rows can carry a status word on the right */
.svc-list .meta { font: 700 .68rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--slate); white-space: nowrap; }
.svc-list a:hover .meta, .svc-list a:focus-visible .meta { color: var(--slate-light); }
.svc-wide .svc-list em { max-width: 60ch; }

/* projects: photo wall, filter buttons, full-screen viewer */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s4); }
.filters button { min-height: 48px; padding: 0 1.2rem; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 700 .82rem/1 var(--font); text-transform: uppercase; letter-spacing: .09em; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { background: var(--ink); color: var(--paper); }
.filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.wall { columns: 3; column-gap: 10px; }
.wall figure { position: relative; margin: 0 0 10px; break-inside: avoid; overflow: hidden; background: var(--ink); }
.wall figure[hidden] { display: none; }
.wall button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.wall img { width: 100%; height: auto; transition: scale .6s ease; }
.wall figure:hover img { scale: 1.04; }
.wall figcaption { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: .8rem; background: var(--ink); color: var(--paper); padding: .7rem 1rem; font: 700 .74rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; pointer-events: none; }
.wall figcaption b { color: var(--brand-on-dark); }
.wall-note { margin: var(--s3) 0 0; color: var(--muted); font-size: var(--small); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: var(--s4) 5.5rem; background: rgb(13 13 13 / .96); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 9rem); width: auto; height: auto; margin-inline: auto; }
.lightbox p { margin: 1rem 0 0; text-align: center; color: var(--paper); font: 700 .8rem/1 var(--font); text-transform: uppercase; letter-spacing: .12em; }
.lightbox button { position: absolute; width: 56px; height: 56px; border: 2px solid var(--paper); background: transparent; color: var(--paper); font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s; }
.lightbox button:hover { background: var(--paper); color: var(--ink); }
.lightbox :focus-visible { outline-color: var(--paper); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* guides hub: a big topic name on the left, its questions on the right */
.topic { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: var(--s5); align-items: start; padding: var(--s4) 0; border-top: 3px solid var(--rule); }
.topic h3 { font: 850 clamp(1.8rem, 1.2rem + 2.2vw, 3.2rem)/1 var(--font); letter-spacing: -.03em; margin: 0 0 .4rem; }
.topic > div > p { margin: 0; color: var(--muted); }
.topic .guide-list { margin: 0; border-top: 0; }
.topic .guide-list li:first-child { padding-top: 0; }

/* about: the business as a spec sheet */
.spec { margin: 0; border-top: 3px solid var(--rule); }
.spec > div { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); gap: var(--s4); align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.spec dt { font: 700 .72rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate); }
.spec dd { margin: 0; font: 850 clamp(1.3rem, 1rem + 1.5vw, 2.3rem)/1.1 var(--font); letter-spacing: -.02em; }
.spec dd small { display: block; margin-top: .5rem; font: 400 1rem/1.5 var(--font); letter-spacing: 0; color: var(--muted); max-width: 60ch; }
.spec dd a { color: inherit; text-decoration-color: var(--brand); text-underline-offset: .15em; }
.story { background: var(--surface); border-block: 1px solid var(--rule-soft); }
.story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s6); align-items: start; }
.note { border-left: 4px solid var(--brand); padding-left: var(--s3); max-width: 60ch; font-size: var(--body-lg); }
.note strong { display: block; font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate); margin-bottom: .7rem; }
.rel.six { grid-template-columns: repeat(6, 1fr); }

/* contact: the estimate block is the top of the page */
.estimate.top { padding-top: calc(var(--header-h) + var(--s5)); }
.estimate.top h1 { font-size: var(--h2); margin-bottom: 0; }

@media (max-width: 1023px) {
  .pg-hero-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .wall { columns: 2; }
  .topic, .story-grid { grid-template-columns: 1fr; gap: var(--s3); }
  .spec > div { grid-template-columns: 1fr; gap: .5rem; }
  .rel.six { grid-template-columns: repeat(3, 1fr); }
  .lightbox { padding: 5rem 1rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
}

/* ====================================================================
   REVIEW PANELS (home band + reviews page) and the BEFORE YOU HIRE HUB
   Reviews come from content/reviews.json via scripts/build-pages.mjs. Real Google reviews only.
   ==================================================================== */
.rv-head, .rv-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); }
.dark .strip-ctl button { border-color: var(--paper); color: var(--paper); }
.dark .strip-ctl button:hover { background: var(--paper); color: var(--ink); }
.rv-foot { margin-top: var(--s3); align-items: center; }
.rv-foot p { margin: 0; color: var(--muted-dark); font-size: var(--small); }

/* home: ruled columns you drag or arrow through, not cards */
.rv-strip { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); scrollbar-width: none; border-block: 1px solid var(--rule-dark); cursor: grab; }
.rv-strip::-webkit-scrollbar { display: none; }
.rv-strip.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rv { position: relative; display: flex; flex-direction: column; gap: var(--s3); }
.rv-strip .rv { flex: none; width: min(440px, 84vw); min-height: 360px; padding: var(--s4) var(--s3); border-right: 1px solid var(--rule-dark); scroll-snap-align: start; }
.rv-strip .rv:first-child { border-left: 1px solid var(--rule-dark); }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); }
.rv-stars { color: var(--brand-on-dark); letter-spacing: 3px; font-size: 1.05rem; white-space: nowrap; }
.rv-stars i { font-style: normal; color: #4A4A4A; }
.rv-trade { font: 700 .66rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate-light); text-align: right; }
.rv blockquote { flex: 1; margin: 0; font: 500 1.2rem/1.45 var(--font); letter-spacing: -.005em; }
.rv footer { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s2); }
.rv cite { font: 800 .95rem/1.2 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
.rv cite small { display: block; margin-top: .4rem; font: 600 .66rem/1 var(--font); letter-spacing: .16em; color: var(--slate-light); }
.rv-see, .rv-back { min-height: 44px; padding: 0 .95rem; border: 2px solid var(--paper); background: transparent; color: var(--paper); font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.rv-see:hover, .rv-back:hover { background: var(--paper); color: var(--ink); }
/* the job photo sits over the review: hover, keyboard focus, or a tap on "See the job" */
.rv-photo { position: absolute; inset: 0; z-index: 2; margin: 0; background: var(--black); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rv-photo figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: .7rem .7rem .7rem 1rem; background: rgb(13 13 13 / .9); color: var(--paper); font: 700 .7rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .1em; }
.rv.show-photo .rv-photo { opacity: 1; visibility: visible; transition-delay: 0s; }
@media (hover: hover) {
  .rv.has-photo:hover:not(.is-dismissed) .rv-photo, .rv.has-photo:focus-within:not(.is-dismissed) .rv-photo { opacity: 1; visibility: visible; transition-delay: 0s; }
}

/* reviews page: every quote, two ruled columns on paper */
.rv-list { columns: 2; column-gap: var(--s5); border-top: 3px solid var(--rule); }
.rv-list .rv { break-inside: avoid; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); gap: var(--s2); }
.rv-list .rv.has-photo { min-height: 340px; padding-inline: var(--s3); background: var(--ink); color: var(--paper); border-bottom: 0; margin-top: -3px; }
.rv-list .rv:not(.has-photo) .rv-stars { color: var(--brand); }
.rv-list .rv:not(.has-photo) .rv-stars i { color: #C9C5BC; }
.rv-list .rv:not(.has-photo) .rv-trade, .rv-list .rv:not(.has-photo) cite small { color: var(--slate); }
.rv-list .rv blockquote { font-size: 1.12rem; }
.rv-more { display: none; margin: var(--s3) 0 0; }

/* guide hub: search and topics in a panel that stays put, the questions beside it */
.hub { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: var(--s5); align-items: start; }
.hub-side { position: sticky; top: calc(var(--header-h) + var(--s3)); background: var(--ink); color: var(--paper); padding: var(--s3); border-top: 5px solid var(--brand); }
.hub-side h2 { font: 850 1.75rem/1 var(--font); letter-spacing: -.02em; margin: 0 0 var(--s2); }
.hub-side input { display: block; width: 100%; min-height: 54px; padding: .8rem .9rem; background: var(--black); border: 2px solid #4D4D4D; border-radius: 0; color: var(--paper); font: 400 1.05rem/1.3 var(--font); }
.hub-side input::placeholder { color: var(--muted-dark); }
.hub-side input:focus { border-color: var(--paper); outline: none; }
.hub-topics { display: grid; gap: 6px; margin: var(--s2) 0 var(--s3); }
.hub-topics button { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 .9rem; background: transparent; border: 1px solid #4D4D4D; color: var(--paper); font: 700 .95rem/1.2 var(--font); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.hub-topics button span { font: 700 .75rem/1 var(--font); color: var(--slate-light); }
.hub-topics button:hover { border-color: var(--paper); }
.hub-topics button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.hub-topics button[aria-pressed="true"] span { color: #fff; }
.hub-status { margin: 0; font-size: .9rem; color: var(--muted-dark); }
.hub-count { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); min-height: 44px; margin: 0 0 .6rem; font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--slate); }
.hub-count button { background: none; border: 0; color: var(--brand); font: 700 .8rem/1 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.hub-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--rule); }
.hub-list li { display: grid; grid-template-columns: 1fr auto; column-gap: var(--s3); row-gap: .45rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.hub-list li[hidden] { display: none; }
.hub-tag { grid-column: 1 / -1; font: 700 .66rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--brand); }
.hub-list strong { font: 800 clamp(1.15rem, 1rem + .7vw, 1.55rem)/1.2 var(--font); letter-spacing: -.015em; }
.hub-list a { color: inherit; text-decoration: none; }
.hub-list a:hover { color: var(--brand); }
.hub-state { font: 700 .64rem/1 var(--font); text-transform: uppercase; letter-spacing: .14em; color: var(--slate); border: 1px solid var(--slate); padding: .4rem .55rem; white-space: nowrap; }
.hub-empty { margin: var(--s3) 0 0; font-size: var(--body-lg); }

@media (max-width: 1023px) {
  .rv-list { columns: 1; }
  .hub { grid-template-columns: 1fr; gap: var(--s3); }
  .hub-side { position: static; }
  .hub-topics { grid-template-columns: 1fr 1fr; }
}

/* ---------- small laptops ---------- */
@media (max-width: 1240px) {
  .nav-phone { display: none !important; }
  .main-nav > a, .nav-drop-link { padding: 0 .7rem; }
}

/* ---------- tablet and down: menu becomes a panel ---------- */
@media (max-width: 1023px) {
  .main-nav, .header-cta { display: none; }
  .header-call { display: inline-flex; margin-left: auto; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; }
  .nav-toggle span { display: block; width: 26px; height: 2px; background: var(--paper); margin-inline: auto; transition: translate .2s, rotate .2s, opacity .2s; }
  .site-header.open { background: var(--ink); }
  .site-header.open .nav-toggle span:nth-child(1) { translate: 0 8px; rotate: 45deg; }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { translate: 0 -8px; rotate: -45deg; }
  .site-header.open .main-nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 4px solid var(--brand); padding: var(--s1) var(--gutter) var(--s3); max-height: calc(100svh - var(--header-h)); overflow: auto; }
  .site-header.open .main-nav > a, .site-header.open .nav-drop-link { min-height: 56px; padding: 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule-dark); }
  .main-nav > a::after, .nav-drop-link::after { content: none; }
  .site-header.open .nav-phone { display: inline-flex !important; }
  .site-header.open .nav-drop { position: relative; flex-direction: column; align-items: stretch; }
  .site-header.open .nav-drop-btn { position: absolute; right: 0; top: 0; margin: 0; width: 56px; height: 56px; }
  .site-header.open .nav-menu { position: static; display: none; visibility: visible; opacity: 1; translate: 0 0; border: 0; background: transparent; }
  .site-header.open .nav-drop.open .nav-menu { display: block; }
  .site-header.open .mega { display: block; padding: 0 0 var(--s1); width: 100%; }
  .mega-feature, .mega-foot { display: none; }
  .mega-list { grid-template-columns: 1fr; }
  .mega-list a { padding: .8rem 0 .8rem .8rem; }
  .mega-list strong { font-size: 1.05rem; }
  .mega-list em { display: none; }
  .site-header.open .menu-legal { display: block; margin: var(--s2) 0 0; font-size: .8rem; color: var(--muted-dark); }
  .menu-legal a { color: var(--paper); }
  .hero-grid { grid-template-columns: 1fr; align-items: start; gap: var(--s4); }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-strip li:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec-strip li:nth-child(n+3) { border-top: 1px solid rgb(247 246 243 / .28); }
  .svc { grid-template-columns: 1fr; }
  .svc-stage { display: none; }
  .process-grid, .reviews-grid, .local-grid, .estimate-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .sheet { position: static; margin-right: 14px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ======================================================================
   PHONE BLOCK — the only phone-only CSS. Approved phone pass 2026-11-24:
   six blocks (hero + form, services, steps, reviews, contact, footer).
   Everything hidden here stays in the HTML for crawlers.
   ====================================================================== */
@media (max-width: 640px) {
  :root { --header-h: 64px; --s6: 3.5rem; --s5: 2.5rem; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-word strong { font-size: 1.05rem; }
  .brand-word span { font-size: .52rem; letter-spacing: .16em; }
  .btn { min-height: 52px; }

  .hero { min-height: 0; padding-top: calc(var(--header-h) + var(--s3)); }
  .hero-grid { padding-bottom: var(--s3); gap: var(--s3); }
  .hero h1 { font-size: clamp(2.15rem, 1.2rem + 4.6vw, 2.6rem); }
  .hero .sub { font-size: 1.05rem; margin-bottom: var(--s2); }
  .kicker-loc { display: none; }
  .hero-actions { flex-direction: column; margin-bottom: var(--s2); }
  .hero-actions .btn { width: 100%; }
  .form-panel { padding: var(--s2); }
  .lf-opts.two { grid-template-columns: 1fr; }
  .lf-opt { min-height: 56px; font-size: 1.05rem; }

  .spec-strip, .ticker, .work, .local, .sheet, .estimate-form, .process-cta { display: none; }

  .sec-head { margin-bottom: var(--s3); }
  .svc-list a { grid-template-columns: 2.4rem 1fr auto; padding: 1.05rem 0; gap: .6rem; }
  .svc-list strong { font-size: 1.35rem; }
  .svc-list em { font-size: .88rem; margin-top: .25rem; }
  .svc-list .go { opacity: 1; translate: 0 0; font-size: 1.3rem; }

  .timeline { margin-top: var(--s3); }
  .timeline li { gap: var(--s2); padding-bottom: var(--s3); }
  .timeline p { font-size: var(--small); }

  .reviews .big .out { -webkit-text-stroke-width: 1.5px; }
  .contact-rows li { grid-template-columns: 1fr; gap: .3rem; }

  .site-footer { text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--s2); }
  .site-footer .col { display: none; }
  .site-footer .brand, .social, .footer-company, .legal { justify-content: center; }
  .footer-company { flex-direction: column; align-items: center; }

  /* service pages on phones: hero, ledger, repair-or-replace, photos, questions, form, footer */
  .sp-hero { padding: calc(var(--header-h) + var(--s3)) 0 0; }
  .sp-num { font-size: 7rem; top: 1.4rem; }
  .sp-hero h1 { font-size: clamp(2.05rem, 1.2rem + 4.2vw, 2.5rem); }
  .sp-hero-photo { aspect-ratio: 4 / 3; margin-bottom: -2rem; }
  .ledger-sec { padding-top: calc(var(--s6) + 1rem); }
  .lrow { padding: 1.1rem 0; }
  .lrow::before { content: none; }
  .lrow dt { grid-template-columns: 2.4rem 1fr; font-size: 1.2rem; }
  .lrow dd { padding-left: 2.4rem; font-size: 1rem; }
  .choice-split h3 { font-size: 2rem; }
  .choice-split li { font-size: 1rem; }
  .steps3, .related { display: none; }
  .work.sp-work { display: block; }
  .sp-work .sec-head { align-items: flex-start; }
  .sp-work .strip-ctl, .sp-work .work-foot p { display: none; }
  .sp-work .strip figure { height: 250px; }
  .sp-work .work-foot .btn { width: 100%; }
  .qa summary { padding: 1.1rem 0; }
  .qa > div { font-size: 1rem; }
  .estimate.keep-form .estimate-form { display: block; }

  /* inner pages on phones */
  .pg-hero { padding: calc(var(--header-h) + var(--s3)) 0 var(--s4); }
  .pg-hero h1 { font-size: clamp(2.2rem, 1.2rem + 5vw, 2.8rem); }
  .pg-word, .pg-facts { display: none; }
  html.motion .pg-hero h1, html.motion .pg-hero .sub, html.motion .pg-hero .crumbs { animation: none; }
  .svc-list .meta { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters button { flex: none; }
  .wall { column-gap: 6px; }
  .wall figure { margin-bottom: 6px; }
  .wall figcaption { padding: .5rem .6rem; font-size: .62rem; gap: .5rem; }
  .topic { padding: var(--s3) 0; }
  .rel.six { display: none; }
  .estimate.top { padding-top: calc(var(--header-h) + var(--s3)); }

  /* reviews + guide hub on phones */
  .rv-head .strip-ctl { display: none; }
  .rv-strip .rv { min-height: 0; padding: var(--s3) var(--s2); }
  .rv blockquote { font-size: 1.08rem; }
  .rv-foot { flex-direction: column; align-items: stretch; gap: var(--s2); }
  .rv-foot .btn { width: 100%; }
  .rv-list:not(.all) .rv:nth-child(n+8) { display: none; }
  .rv-more { display: block; }
  .rv-more .btn { width: 100%; }
  .rv-list.all + .rv-more { display: none; }
  .hub-topics { grid-template-columns: 1fr; }
  .hub-list li { grid-template-columns: 1fr; }
  .hub-state { justify-self: start; }

  /* phones never wait on an animation to see the headline, buttons or form (also better for load speed) */
  html.motion .hero h1, html.motion .hero .sub, html.motion .hero-actions, html.motion .hero .proof, html.motion .hero .tag, html.motion .form-panel, html.motion .sp-hero-copy > * { animation: none; }

  /* pinned menu button (thumb reach) + one-action sticky bar */
  .menu-fab { display: grid; place-items: center; position: fixed; right: 12px; bottom: 12px; z-index: 120; width: 56px; height: 56px; border: 2px solid var(--paper); background: var(--ink); color: var(--paper); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
  html.hdr-hidden .menu-fab { opacity: 1; pointer-events: auto; }
  .menu-fab svg { width: 24px; height: 24px; }
  .phone-bar { display: block; position: fixed; left: 12px; right: 80px; bottom: 12px; z-index: 115; transition: opacity .2s, translate .2s; }
  .phone-bar .btn { width: 100%; min-height: 56px; border-color: var(--paper); }
  .phone-bar { opacity: 0; pointer-events: none; translate: 0 12px; }
  html.bar-on .phone-bar { opacity: 1; pointer-events: auto; translate: 0 0; }
  body { padding-bottom: 80px; }
}

/* desktop: the mega menu also opens on hover (click and keyboard always work) */
@media (min-width: 1024px) {
  .nav-drop:hover .nav-menu { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
}

/* nav labels never wrap; the phone number drops out first on narrower laptops */
.main-nav > a, .nav-drop-link { white-space: nowrap; }
@media (max-width: 1320px) { .nav-phone { display: none !important; } }
@media (max-width: 1023px) { .site-header.open .nav-phone { display: inline-flex !important; } }

/* ====================================================================
   BEFORE YOU HIRE GUIDE PAGES (generated by scripts/build-guides.mjs)
   Readable article on paper; dark hero; dark answer box straddling the two.
   ==================================================================== */
.guide-hero { padding-bottom: var(--s4); }
.guide-hero h1 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.6rem); max-width: 22ch; }
.guide { background: var(--paper); padding: 0 0 var(--s6); }
.guide-wrap { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }

.answer { background: var(--ink); color: var(--paper); border-top: 5px solid var(--brand); padding: var(--s3) var(--s3) calc(var(--s3) - .4rem); margin: -3rem 0 var(--s5); box-shadow: var(--shadow); }
.answer-tag { margin: 0 0 .6rem; font: 700 .68rem/1 var(--font); text-transform: uppercase; letter-spacing: .16em; color: var(--brand-on-dark); }
.answer p { margin: 0; font: 500 clamp(1.15rem, 1rem + .6vw, 1.4rem)/1.5 var(--font); letter-spacing: -.005em; }

.guide-body > h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); margin: var(--s5) 0 .5em; letter-spacing: -.02em; }
.guide-body > h2:first-child { margin-top: 0; }
.guide-body p, .guide-body li { font-size: var(--body-lg); line-height: 1.65; }
.guide-body p { margin: 0 0 1em; }
.guide-body ul, .guide-body ol { margin: 0 0 1.2em; padding-left: 0; list-style: none; }
.guide-body li { position: relative; padding: .4rem 0 .4rem 1.8rem; }
.guide-body ul li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 9px; height: 9px; background: var(--brand); }
.guide-body ol { counter-reset: g; }
.guide-body ol li { counter-increment: g; padding-left: 2.4rem; }
.guide-body ol li::before { content: counter(g); position: absolute; left: 0; top: .35rem; font: 800 1rem/1.4 var(--font); color: var(--brand); }
.guide-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: .18em; text-decoration-thickness: 2px; }
.guide-body a:hover { color: var(--brand); }
.guide-body strong { font-weight: 800; }

.do-now { background: var(--ink); color: var(--paper); border-top: 4px solid var(--brand-on-dark); padding: var(--s4) var(--s3); margin: var(--s5) 0; }
.do-now .tag { color: var(--brand-on-dark); }
.do-now ol { counter-reset: d; list-style: none; margin: 0; padding: 0; }
.do-now li { counter-increment: d; position: relative; padding: 1rem 0 1rem 3.2rem; border-top: 1px solid var(--rule-dark); font-size: var(--body-lg); }
.do-now li:first-child { border-top: 0; }
.do-now li::before { content: counter(d, decimal-leading-zero); position: absolute; left: 0; top: 1rem; font: 800 1.1rem/1 var(--font); color: transparent; -webkit-text-stroke: 1.2px var(--brand-on-dark); }

.guide-faq { margin: var(--s5) 0; }
.guide-faq h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); margin: 0 0 var(--s2); }

.sources { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--slate); padding: var(--s3); margin: var(--s5) 0; }
.sources .tag { color: var(--slate); }
.sources ul { list-style: none; margin: 0; padding: 0; }
.sources li { padding: .45rem 0; border-top: 1px solid var(--border); font-size: var(--small); }
.sources li:first-child { border-top: 0; }
.sources a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: .15em; overflow-wrap: anywhere; }
.sources-note { margin: var(--s2) 0 0; font-size: .85rem; color: var(--muted); }

.guide-next { margin-top: var(--s5); border-top: 3px solid var(--rule); padding-top: var(--s4); }
.guide-service { display: inline-flex; align-items: center; gap: .6rem; font: 800 clamp(1.3rem, 1rem + 1.4vw, 2rem)/1.1 var(--font); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.guide-service:hover { color: var(--brand); }
.guide-service span { color: var(--brand); transition: translate .25s ease; }
.guide-service:hover span { translate: 6px 0; }
.guide-related { margin-top: var(--s4); }
.guide-related ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.guide-related li { border-bottom: 1px solid var(--rule); }
.guide-related a { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: .9rem 0; color: var(--ink); text-decoration: none; font: 700 1.05rem/1.3 var(--font); }
.guide-related a:hover { color: var(--brand); padding-left: .5rem; }
.guide-related a span { color: var(--brand); }
.guide-all { display: inline-block; margin-top: var(--s3); font-weight: 700; color: var(--brand); text-decoration: none; }
.hub-state.is-ready { color: var(--brand); border-color: var(--brand); }

@media (max-width: 640px) {
  .guide { padding-bottom: var(--s5); }
  .answer { margin: -2rem 0 var(--s4); padding: var(--s2); }
  .answer p { font-size: 1.1rem; }
  .guide-body p, .guide-body li, .do-now li, .sources li { font-size: 1.02rem; }
  .do-now { padding: var(--s3) var(--s2); }
}

/* Audit fixes, Nov 2026 */
/* Hold the form's space before the script draws it, so the page below it does not jump. */
[data-lead-form]:empty { min-height: 440px; }
@media (max-width: 640px) { [data-lead-form]:not([data-preset]):empty { min-height: 615px; } }
/* Links inside the footer's legal line are underlined so they are not told apart by color alone. */
.site-footer .wrap > p a { text-decoration: underline; text-underline-offset: 3px; }

/* Legal + sitemap pages — their own class, so the footer .legal row does not style them. */
.legal-page { padding: var(--s4) 0 var(--s5); }
.legal-page > .wrap { max-width: 760px; }
.legal-page .legal-meta { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 var(--s4); font: 700 .72rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.legal-page .legal-meta::before { content: ""; width: 8px; height: 8px; background: var(--brand); flex: none; }
.legal-page > .wrap > h3 { margin: 0 0 .55rem; padding-top: var(--s3); border-top: 1px solid var(--rule-soft); font: 800 1.2rem/1.25 var(--font); letter-spacing: -.01em; }
.legal-page > .wrap > h3:first-of-type { border-top: 2px solid var(--ink); }
.legal-page p { margin: 0 0 var(--s3); font-size: 1.02rem; line-height: 1.7; color: #2b2b2b; max-width: 68ch; }
.legal-page p a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-page .sitemap-list { list-style: none; margin: 0 0 var(--s2); padding: 0; columns: 2; column-gap: var(--s4); }
.legal-page .sitemap-list li { break-inside: avoid; padding: .32rem 0; }
.legal-page .sitemap-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.legal-page .sitemap-list a:hover, .legal-page .sitemap-list a:focus-visible { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .legal-page .sitemap-list { columns: 1; } }

/* Miranda Media footer credit: the agency wordmark as an inline SVG.
   It takes the link color of each footer (currentColor) and sits on the text baseline. */
.mm-credit a { text-decoration: none; }
.mm-credit svg { display: inline-block; height: .9em; width: auto; vertical-align: baseline; margin-left: .2em; transition: opacity .2s; }
.mm-credit a:hover svg, .mm-credit a:focus-visible svg { opacity: .75; }
