/* Catalyst Consulting USA website look (2026-11-19). Approved mockup:
   website/reference/catalyst-home-mockup.html. Navy + orange, one light look
   (no dark theme). Fonts are self-hosted: Plus Jakarta Sans for headings,
   Inter (the survey's own file) for body. The survey does not load this file. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/site/fonts/plus-jakarta-sans-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-var.woff2") format("woff2"); }


/* Layout: Inquirly's home page order (top bar, header, navy hero with laptop map, 4-step strip,
   tabbed panel, location map panel, two image+card rows, card carousel, CTA band, footer),
   redrawn in Catalyst's own navy + orange. One deliberate light look (the site is light-only). */
:root {
  --navy: #0b1220; --navy-2: #131c2e; --navy-3: #1b2842; --state: #22314f; --state-line: #3a4f78;
  /* Orange (2026-11-20 polish, spec 3.7): --orange for buttons, fills and
     anything on navy; --orange-h (#e2540b) for large headings and icons on
     light; --orange-text (#b63c0a) for small text and links on light.
     website/test/polish.test.js pins which rule may use which. Both were
     darkened a touch for the darker page below (3.1:1 and 4.7:1 on it). */
  --orange: #f97316; --orange-h: #e2540b; --orange-text: #b63c0a; --orange-soft: #fff1e6;
  /* --page is the body (2026-11-20, Marc: the white cards "blend into the
     background too much", then "i can barely tell a difference" at #eef2f7):
     slate #e2e8f0, so white panels clearly stand out (1.23:1, was 1.05:1).
     --paper stays the small light fill inside white cards. --muted darkened
     (#64748b -> #526276) so grey text keeps 4.5:1 on the page (5.1:1). */
  --ink: #0f172a; --muted: #526276; --line: #e2e8f0; --paper: #f8fafc; --page: #e2e8f0; --white: #ffffff;
  --ok: #15803d;
  /* Muted slate for an eyebrow above an orange heading (7.6:1 on white), so
     the orange stays with the heading (2026-11-20 polish, task 2). */
  --slate: #475569;
  /* The focus ring (2026-11-20 polish, spec 3.8): --orange-text on light (4.7:1
     on the page); the navy areas below switch it to the brand orange (6.7:1). */
  --ring: var(--orange-text);
  --f-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* Depth, radius and spacing (polish spec 3.6): navy-tinted layered shadows
     (resting, raised, floating), a hairline for light cards, one radius scale
     and one section spacing. On navy a card gets a light 1px border, no shadow. */
  /* The dark background (2026-11-21): the map panel's soft orange (top right)
     and blue (bottom left) over navy; the heroes use it too (Marc: "lets take
     the background from here and make it the top background the same"). */
  --navy-bg: radial-gradient(70% 55% at 100% 0%, rgb(249 115 22 / 16%), rgb(249 115 22 / 0) 70%), radial-gradient(60% 50% at 0% 100%, rgb(59 100 190 / 22%), rgb(59 100 190 / 0) 70%), var(--navy-2);
  --hairline: rgb(11 18 32 / 12%);
  --e1: 0 1px 2px rgb(11 18 32 / .06), 0 1px 3px rgb(11 18 32 / .08);
  --e2: 0 4px 8px -2px rgb(11 18 32 / .08), 0 12px 24px -8px rgb(11 18 32 / .10);
  --e3: 0 12px 24px -6px rgb(11 18 32 / .12), 0 32px 64px -16px rgb(11 18 32 / .16);
  --r-2: 16px; --r-3: 24px;
  --r-card: var(--r-2); --r-panel: var(--r-3);
  --sec-y: clamp(64px, 8vw, 112px);
  --overlap: clamp(48px, 5vw, 64px);
  color-scheme: light;
}
* { box-sizing: border-box; }
/* One continuous light background for every light section (spec 3.1). */
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
.hero, .hero-inner, .locpanel, .cta-card, .site-footer, .topbar { --ring: var(--orange); }
.btn-ghost { background: var(--white); color: var(--navy); }
.btn-ghost:hover { background: #e9eef6; }

/* ---- Flow (2026-11-20 polish, spec 3.1-3.2) ----
   Sections paint no background of their own. A group that needs setting off
   sits in a contained white panel. The first row after a navy hero (.lift on
   /home/ and /homeowners/, .intro-card on reading pages) rises over the hero's
   bottom edge, and a soft navy-tinted wash under the hero (also showing in its
   rounded corner) fades into the page. */
main { position: relative; }
main::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: -96px; height: 480px; background: linear-gradient(180deg, #d6deea 0, #d6deea 96px, rgb(226 232 240 / 0) 100%); pointer-events: none; }
.panel { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-3); box-shadow: var(--e1); }
.lift { position: relative; z-index: 2; margin-top: calc(-1 * var(--overlap)); background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-3); box-shadow: var(--e2); padding: clamp(24px, 4.5vw, 56px) clamp(16px, 4.5vw, 56px); }
/* Context selectors out-rank ".sec-head p" / ".irow p" (paragraph colors and margins there). */
.eyebrow, .sec-head .eyebrow, .irow .eyebrow { margin: 0 0 10px; color: var(--orange-text); font: 700 13px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
/* Above an orange heading the eyebrow is slate, so the orange is the heading's alone. */
.steps-sec .eyebrow, .irow .eyebrow { color: var(--slate); }

/* top bar + header */

/* hero */
/* Depth (2026-11-20 polish, spec 3.9): two soft glows in the background
   itself (orange top right, navy-blue bottom left) and a faint dot grid on
   ::before, painted under the text (isolation + z-index -1). Gradients and a
   mask only: no blur filter, nothing that moves the layout. */
/* The map panel's background, no dot grid, rings or laptop glow (Marc 2026-11-21:
   the old one felt "a bit too much like ai slop"; then "lets take the background
   from here [the map panel] and make it the top background the same"). */
.hero { position: relative; isolation: isolate; background: var(--navy-bg); color: var(--white); border-bottom-right-radius: 90px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-block: 72px calc(56px + var(--overlap)); }
.hero h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lede { margin-top: 20px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: #dbe3ef; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: #e8edf5; }
.ticks svg { flex: none; width: 24px; height: 24px; color: var(--orange); margin-top: 1px; }
.ticks b { color: var(--white); font-weight: 600; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.fine { margin-top: 16px; font-size: 13px; color: #94a3b8; }

.stage { position: relative; min-width: 0; }
/* The laptop (2026-11-20, Marc: "kind of hard to tell its a laptop"): a silver
   aluminium rim around a black glass bezel with a camera dot, a lit screen, and a
   thick silver base with the thumb notch, on a soft glow so it stands off the navy. */
.laptop { position: relative; margin-left: 48px; }
.lid { position: relative; z-index: 1; background: #0a0d14; border: 3px solid #c3cad5; border-radius: 22px 22px 10px 10px; padding: 18px 14px 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 28px 60px rgba(0,0,0,.55); }
.lid .cam { position: absolute; top: 7px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #3a4357; box-shadow: inset 0 0 0 1px #5b6478; }
.screen { background: #e3e9f2; border-radius: 4px; aspect-ratio: 16 / 10.4; overflow: hidden; }
.screen svg { display: block; width: 100%; height: 100%; }
.base { position: relative; z-index: 1; height: 20px; margin: 0 -9% 0; background: linear-gradient(180deg, #f2f4f7 0%, #d5dae2 45%, #a7afbc 100%); border-top: 2px solid #8a93a2; border-radius: 3px 3px 22px 22px; box-shadow: 0 16px 28px rgba(0,0,0,.5); }
.base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 7px; transform: translateX(-50%); background: linear-gradient(180deg, #9ea7b5, #c6ccd6); border-radius: 0 0 12px 12px; }
.leadcard { position: absolute; z-index: 3; left: 0; top: 50%; transform: translateY(-38%); width: 190px; background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: 34px 16px 18px; text-align: center; box-shadow: 0 18px 40px rgba(2,6,23,.35); }
.leadcard .badge { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; background: var(--orange); border: 4px solid var(--white); display: grid; place-items: center; color: var(--white); box-shadow: 0 6px 14px rgba(249,115,22,.4); }
.leadcard .badge svg { width: 26px; height: 26px; }
.leadcard .pill { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); background: var(--orange-soft); border-radius: 999px; padding: 3px 9px; margin-bottom: 6px; }
.leadcard .big { font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1.05; color: var(--navy); }
.leadcard .k { font-family: var(--f-display); font-weight: 700; font-size: 16px; line-height: 1.25; margin-top: 4px; }
.leadcard .city { margin-top: 10px; font-weight: 700; color: var(--orange-text); font-size: 15px; display: inline-flex; align-items: center; gap: 4px; }
.leadcard .foot { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.leadcard .swap { transition: opacity .35s; }
.leadcard .swap.fade { opacity: 0; }
.stage .cap { margin: 14px 0 0 48px; font-size: 12px; color: #8a9ab3; }

/* steps: a white panel lifted over the hero (polish spec 3.2), left-aligned */
.steps-sec { padding-block: 0 calc(var(--sec-y) / 2); }
.steps-sec h2 { font-size: clamp(28px, 3.2vw, 42px); color: var(--orange-h); font-weight: 800; }
.steps-sec .sub { margin: 14px 0 0; max-width: 36em; color: var(--muted); font-size: 17px; }
.steps-sec ol { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps-sec li { display: grid; justify-items: start; align-content: start; gap: 10px; }
.steps-sec .ic { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fdba74; display: grid; place-items: center; color: var(--orange); background: var(--orange-soft); }
.steps-sec .ic svg { width: 26px; height: 26px; }
.steps-sec h3 { font-size: 17px; font-weight: 700; color: var(--navy); }
.steps-sec li p { color: var(--muted); font-size: 15px; max-width: 17em; }
.strip { margin-top: 40px; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--r-2); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 20px; text-align: left; flex-wrap: wrap; }
.strip p { font-size: 17px; font-weight: 500; color: var(--navy); max-width: 34em; }

/* tabbed panel (a contained white .panel since the 2026-11-20 polish) */
.tabs-sec { padding-block: calc(var(--sec-y) / 2); }
.tabs { display: grid; grid-template-columns: 210px 1fr 1fr; gap: 40px; align-items: center; }
.tablist { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.tablist button { text-align: left; background: none; border: 0; border-left: 3px solid transparent; margin-left: -2px; padding: 11px 14px; font: 500 15px var(--f-body); color: var(--muted); cursor: pointer; }
.tablist button[aria-selected="true"] { color: var(--navy); font-weight: 700; border-left-color: var(--orange); }
.tablist button:hover { color: var(--navy); }
/* The trade's picture: the orange icon on a light fill inside a navy border, no
   circles, no gradient (Marc 2026-11-20: "i dont like how there is a circle on
   another background circle"; then, after two gradients, "the blue does not
   match the rest of the site ... maybe just a navy / blue border"; picked navy). */
.visual { position: relative; background: var(--paper); border: 2px solid var(--navy-3); border-radius: var(--r-card); aspect-ratio: 1 / 0.9; display: grid; place-items: center; overflow: hidden; padding: 22px; min-width: 0; }
.tabcopy { min-width: 0; }
.tabcopy .ic { width: 46px; height: 46px; color: var(--orange); }
.tabcopy h3 { font-size: clamp(26px, 2.6vw, 34px); color: var(--orange-h); font-weight: 800; margin-top: 10px; }
.tabcopy h4 { font-family: var(--f-display); font-size: 17px; color: var(--navy); margin: 14px 0 0; line-height: 1.4; }
.tabcopy p { margin-top: 12px; color: var(--muted); }
.tabcopy a { display: inline-block; margin-top: 14px; color: var(--orange-text); font-weight: 600; text-decoration: none; }
.tabpane[hidden] { display: none; }

/* tab visuals */
.mini { position: relative; background: var(--white); border-radius: 16px; padding: 16px; width: min(300px, 100%); box-shadow: 0 16px 34px rgba(0,0,0,.35); font-size: 13.5px; }
.zips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zips span { font: 600 12.5px var(--f-body); font-variant-numeric: tabular-nums; background: var(--orange-soft); color: var(--orange-text); border-radius: 8px; padding: 4px 8px; }
.mini .row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mini .row:last-child { border-bottom: 0; }
.mini .muted { color: var(--muted); }
.fbad .who { display: flex; gap: 10px; align-items: center; }
.fbad .av { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font: 800 13px var(--f-display); }
.fbad .img { margin: 10px -16px; height: 110px; background: linear-gradient(135deg, #fde68a, #fb923c); display: grid; place-items: center; color: var(--navy); }
.fbad .img svg { width: 54px; height: 54px; }
.fbad .bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #f1f5f9; margin: 0 -16px -16px; padding: 10px 16px; border-radius: 0 0 16px 16px; }
.fbad .bar span:last-child { background: #e2e8f0; border-radius: 6px; padding: 5px 10px; font-weight: 600; }
.sms { background: #e9e9eb; border-radius: 18px; padding: 10px 13px; line-height: 1.45; color: #111; }
.receipt .big { font: 800 30px var(--f-display); color: var(--navy); }

/* location panel */
/* The page's one dark moment (polish spec 3.3): navy with a soft orange glow
   top right and a navy-blue one bottom left (gradients, no blur filter). */
.locate { position: relative; padding-block: calc(var(--sec-y) / 2); }
.locpanel { background: var(--navy-bg); color: var(--white); border: 1px solid rgb(255 255 255 / 8%); border-radius: var(--r-panel); box-shadow: var(--e3); padding: 52px clamp(18px, 5vw, 80px) 56px; }
.locpanel h2 { text-align: center; font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.locpanel h2 span { color: var(--orange); }
.locpanel hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 30px 0 22px; }
.locgrid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; }
.where { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.where svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
.where select { appearance: none; background: transparent; color: var(--white); border: 0; border-bottom: 1px dashed rgba(255,255,255,.4); font: 600 16px var(--f-body); padding: 2px 22px 2px 0; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: right 6px center, right 1px center; background-size: 5px 5px; background-repeat: no-repeat; max-width: 100%; }
.where select option { color: var(--ink); }
.usmap { margin-top: 14px; width: 100%; height: auto; display: block; }
.usmap path { fill: var(--state); stroke: var(--state-line); stroke-width: 1; cursor: pointer; transition: fill .2s; }
.usmap path:hover { fill: #2d4068; }
.usmap path.sel { fill: var(--orange); stroke: #fed7aa; }
.usmap text { fill: #9fb0cc; font: 600 12px var(--f-body); pointer-events: none; text-anchor: middle; dominant-baseline: middle; }
.usmap text.sel { fill: var(--white); }
/* The trades slider (2026-11-21, Inquirly's vertical card, no price): the
   slides share one grid cell, so the card is as tall as its tallest slide and
   never jumps; only the shown slide is visible. The arrows appear once
   /site/home.js runs (.is-live). */
.tradecard { background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: 28px 26px 26px; text-align: center; --ring: var(--orange-text); min-width: 0; }
.tradecard .lbl { font-weight: 600; color: var(--navy); }
.tradecard .slides { display: grid; align-items: center; margin-top: 16px; }
.tradecard .slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s; }
.tradecard .slide.is-on { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.tradecard .slide .ic { display: block; width: 44px; height: 44px; margin: 0 auto 12px; color: var(--orange-h); }
.tradecard .slide .ic svg { width: 44px; height: 44px; }
.tradecard .name { font: 800 30px/1.12 var(--f-display); color: var(--navy); text-wrap: balance; }
.tradecard .per { margin-top: 10px; color: var(--muted); font-size: 15px; }
.tc-nav { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 14px; visibility: hidden; }
.tradecard.is-live .tc-nav { visibility: visible; }
.tc-arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .15s, color .15s; }
.tc-arrow:hover { border-color: var(--orange); color: var(--orange-text); }
.tc-dots { display: flex; align-items: center; gap: 6px; }
.tc-dot { width: 8px; height: 8px; border-radius: 999px; background: #cbd5e1; transition: width .25s, background .25s; }
.tc-dot.is-on { width: 20px; background: var(--orange); }
.tradecard .btn { margin-top: 20px; width: 100%; }
@media (prefers-reduced-motion: reduce) { .tradecard .slide, .tradecard .slide.is-on, .tc-dot { transition: none; } }
.statband { margin-top: 40px; background: var(--navy-3); border: 1px solid rgb(255 255 255 / 8%); border-radius: var(--r-card); padding: 26px; display: grid; grid-template-columns: 1.2fr 2fr; gap: 26px; align-items: center; }
.feed { position: relative; height: 128px; overflow: hidden; }
.feed .note { position: absolute; left: 0; right: 0; background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s; box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.feed .note .av { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--orange-soft); color: var(--orange-h); display: grid; place-items: center; }
.feed .note .av svg { width: 18px; height: 18px; }
.feed .note .t { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.feed .note .s { font-size: 12.5px; color: var(--muted); }
.feed .note .tag { position: absolute; top: -9px; left: 14px; font: 700 10.5px var(--f-body); letter-spacing: .05em; text-transform: uppercase; background: var(--orange); color: var(--white); border-radius: 999px; padding: 2px 8px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stats .n { font: 800 44px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.stats .n small { font-size: 20px; margin-left: 2px; }
.stats .d { margin-top: 8px; font-size: 14px; color: #c7d2e3; font-weight: 500; }
.stats .n.n-text { font-size: 30px; line-height: 1.5; white-space: nowrap; }
.locfine { margin-top: 18px; text-align: center; font-size: 12.5px; color: #8a9ab3; }

/* image + card rows: light navy-tinted picture panels (polish spec 3.3), the
   fan drawn in navy at low opacity, the white cards floating on them */
.rows { display: grid; gap: var(--sec-y); padding-block: calc(var(--sec-y) / 2); }
.irow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.irow.flip .imgcard { order: -1; }
.irow h2 { font-size: clamp(30px, 3.4vw, 44px); color: var(--orange-h); font-weight: 800; line-height: 1.12; }
.irow h3 { font-size: 18px; color: var(--navy); margin-top: 18px; font-weight: 700; line-height: 1.45; }
.irow p { margin-top: 14px; color: var(--muted); }
.irow .txt { min-width: 0; }
.irow a.more { display: inline-block; margin-top: 16px; color: var(--orange-text); font-weight: 600; text-decoration: none; }
.imgcard { position: relative; border-radius: var(--r-panel); min-height: 440px; background: linear-gradient(150deg, #eef2f9 0%, #e3e9f3 100%); border: 1px solid var(--hairline); display: grid; place-items: center; overflow: hidden; padding: 28px 16px; }
.imgcard .grille { position: absolute; width: 520px; height: 520px; right: -150px; bottom: -170px; opacity: .07; color: var(--navy); }
.leadsheet { position: relative; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); width: min(340px, 100%); padding: 26px 22px 20px; box-shadow: var(--e3); }
.leadsheet .new { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); font: 700 12px var(--f-body); border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.leadsheet .nm { font: 800 21px var(--f-display); color: var(--navy); text-align: center; }
.leadsheet .ad { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.leadsheet dl { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0; font-size: 14px; }
.leadsheet dt, .leadsheet dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); }
.leadsheet dt { color: var(--muted); padding-right: 14px; }
.leadsheet dd { font-weight: 600; text-align: right; }
.chk { color: var(--ok); }
.leadsheet .ex { margin-top: 12px; font-size: 11.5px; color: var(--muted); text-align: center; }
.fitcard { position: relative; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); width: min(320px, 100%); padding: 26px 24px; text-align: center; box-shadow: var(--e3); }
.fitcard .lbl { font-weight: 600; color: var(--navy); }
.fitcard .big { font: 800 44px/1.1 var(--f-display); color: var(--navy); margin-top: 6px; }
.fitcard .lineor { display: flex; align-items: center; gap: 10px; color: var(--orange); margin: 14px 0 10px; }
.fitcard .lineor::before, .fitcard .lineor::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.fitcard .lineor svg { width: 28px; height: 28px; }
.fitcard p { color: var(--ink); font-weight: 600; margin: 0; }

/* questions carousel (in the testimonial slot) */
/* No panel since the 2026-11-20 polish: eyebrow, heading, then the white cards on the page.
   The arrows sit beside the heading (beside the eyebrow on phones). */
.qa { padding-block: calc(var(--sec-y) / 2); }
.qa-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow arrows" "head arrows"; column-gap: 24px; align-items: end; }
.qa-top .eyebrow { grid-area: eyebrow; }
.qa-top .head { grid-area: head; }
.qa-top .scroll-btns { grid-area: arrows; }
.qa .head { font: 800 clamp(24px, 2.6vw, 34px)/1.2 var(--f-display); color: var(--navy); max-width: 24em; }
.scroll-btns { display: flex; gap: 10px; }
.scroll-btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--hairline); background: var(--white); box-shadow: var(--e1); cursor: pointer; display: grid; place-items: center; color: var(--navy); transition: background .15s, border-color .15s, opacity .15s; }
.scroll-btn:disabled { opacity: .4; cursor: default; box-shadow: none; }
/* The track reaches into the 16 px gutter (so the next card peeks to the edge
   and the card shadows have room inside the fade mask) and snaps each card to
   the column's edge. Desktop shows about 3.2 cards, tablets 2.2, phones 85%. */
.track { --gap: 20px; display: flex; gap: var(--gap); overflow-x: auto; scroll-padding-inline: 16px; margin-inline: -16px; padding-inline: 16px; padding-block: 10px 22px; margin-top: 14px; }
.qcard { flex: 0 0 calc((100% - 3 * var(--gap)) / 3.2); scroll-snap-align: start; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 24px; box-shadow: var(--e1); }
.qcard h3 { font-size: 17px; color: var(--navy); font-weight: 700; }
.qcard p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.qa-more { margin-top: 2px; }
.qa-more a { color: var(--orange-text); font-weight: 600; text-decoration: none; }

/* ---- Sideways scrollers (2026-11-20 polish, spec 3.5) ----
   site.js sets data-start / data-end on every [data-scroller]; the side that
   has more fades out (a horizontal mask, so nothing is covered by a color),
   and with nothing to scroll there is no mask at all. 32 px everywhere
   (task 3: on desktop 48 px hid most of the peeking card). */
[data-scroller] { --fade: 32px; --fade-l: 0px; --fade-r: 0px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: none; }
[data-scroller]::-webkit-scrollbar { display: none; }
[data-scroller][data-start="false"] { --fade-l: var(--fade); }
[data-scroller][data-end="false"] { --fade-r: var(--fade); }
[data-scroller][data-start="false"], [data-scroller][data-end="false"] { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }

/* CTA band + footer */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 48px calc(40px + var(--overlap)); }
  .tabs { grid-template-columns: 1fr; }
  /* The tab strip scrolls sideways to the panel's edges, under the edge fades. */
  .tablist { display: flex; overflow-x: auto; border-left: 0; border-bottom: 2px solid var(--line); margin-inline: calc(-1 * var(--panel-x)); padding-inline: var(--panel-x); scroll-padding-inline: var(--panel-x); }
  .tablist button { border-left: 0; border-bottom: 3px solid transparent; margin: 0 0 -2px; white-space: nowrap; scroll-snap-align: start; }
  .tablist button:focus-visible { outline-offset: -3px; }
  .qcard { flex-basis: calc((100% - 2 * var(--gap)) / 2.2); }
  .tablist button[aria-selected="true"] { border-bottom-color: var(--orange); }
  .locgrid, .statband, .irow { grid-template-columns: 1fr; }
  .irow.flip .imgcard { order: 0; }
  .imgcard { min-height: 380px; }
  .steps-sec ol { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero { border-bottom-right-radius: 48px; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .laptop { margin-left: 0; margin-top: 70px; }
  .leadcard { left: 50%; top: -58px; transform: translateX(-50%); width: 230px; padding: 30px 14px 14px; }
  .leadcard .big { font-size: 24px; }
  .stage .cap { margin-left: 0; }
  .steps-sec ol { grid-template-columns: 1fr; }
  .stats .n { font-size: 34px; }
  .stats .n.n-text { font-size: 20px; line-height: 1.7; }
  .stats .d { font-size: 12.5px; }
  .locpanel { border-radius: 24px; }
  .track { --gap: 14px; }
  .qcard { flex-basis: 85%; padding: 20px; }
  .qa-top { grid-template-areas: "eyebrow arrows" "head head"; align-items: center; }
  .qa-top .eyebrow { margin: 0; }
  .qa-top .head { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---- Base additions ---- */
html { -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; }
.btn { background: var(--orange); color: var(--white); }
.btn:hover { background: var(--orange-h); }
.btn.btn-ghost { background: var(--white); color: var(--navy); }
.btn.btn-ghost:hover { background: #e9eef6; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Top bar ---- */
.topbar { background: var(--navy); color: #cbd5e1; font-size: 13.5px; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 9px; }
.topbar .phone { color: var(--white); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar .phone:hover { color: var(--orange); }
.topbar .phone svg { flex: none; }

/* ---- Header ---- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand-mark { display: inline-flex; width: 38px; height: 38px; color: var(--orange); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name b { font-family: var(--f-display); font-weight: 800; font-size: 20px; line-height: 1; display: block; }
.brand-name small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; color: #334155; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--orange-text); }
.header-inner > .btn { flex: none; }
.site-nav a.is-section { color: var(--orange-text); }

/* ---- Services menu (desktop): the link + a disclosure button ---- */
.nav-services { position: relative; display: inline-flex; align-items: center; gap: 2px; }
.menu-toggle { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 8px; background: none; color: #334155; cursor: pointer; }
.menu-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { color: var(--orange-h); background: var(--orange-soft); }
.menu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-toggle:focus-visible { outline-offset: 1px; }
.services-menu { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); width: 520px; background: var(--white); border: 1px solid var(--hairline); border-radius: 20px; box-shadow: var(--e3); padding: 10px; z-index: 30; }
.services-menu[hidden] { display: none; }
.services-menu ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.site-nav .services-menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--navy); font-weight: 600; font-size: 15px; }
.site-nav .services-menu a:hover { background: var(--paper); color: var(--orange-text); }
.services-menu .trade-icon { width: 36px; height: 36px; }
.services-menu .trade-icon svg { width: 20px; height: 20px; }
/* The About list (2026-11-21): a short single column under "About". */
.about-menu { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%); width: 220px; background: var(--white); border: 1px solid var(--hairline); border-radius: 16px; box-shadow: var(--e3); padding: 8px; z-index: 30; }
.about-menu[hidden] { display: none; }
.about-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-nav .about-menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--navy); font-weight: 600; font-size: 15px; white-space: nowrap; }
.site-nav .about-menu a:hover, .site-nav .about-menu a[aria-current="page"] { background: var(--paper); color: var(--orange-text); }
.site-nav .services-menu .services-all { justify-content: center; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--orange-text); }

/* ---- Trades: icon chip, hub cards, trade pages ---- */
.trade-icon { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-h); }
.trade-icon svg { width: 24px; height: 24px; }
.trade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 20px 0 28px; }
.trade-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 22px; box-shadow: var(--e1); transition: border-color .15s, box-shadow .15s, transform .15s; }
/* The whole card is its link (2026-11-20 polish, spec 3.8): the trade name's
   link (the HVAC card: its one link) stretches over the card; "Read more" stays
   on top and goes to the same page. */
.trade-card h3 a::after, .trade-feature .trade-link::after { content: ""; position: absolute; inset: 0; }
.trade-card:not(.trade-feature) .trade-link { position: relative; z-index: 1; }
.content .trade-card h3 { margin: 4px 0 0; font-size: 19px; }
.content .trade-card h3 a { color: var(--navy); text-decoration: none; }
.content .trade-card h3 a:hover { color: var(--orange-text); }
.content .trade-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.content .trade-card .trade-link { margin-top: auto; padding-top: 4px; font-weight: 600; text-decoration: none; }
/* HVAC on the hub: the one trade with a published price. Raised and lightly
   navy-tinted since the 2026-11-20 polish (spec 3.1: dark only in the hero,
   the home map panel, the closing card and the footer). */
.trade-card.trade-feature { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; background: linear-gradient(150deg, #eef2f9 0%, var(--white) 70%); color: var(--ink); box-shadow: var(--e2); padding: 26px; margin: 24px 0 8px; }
.trade-card.trade-feature .trade-icon { width: 58px; height: 58px; }
.trade-card.trade-feature .trade-icon svg { width: 30px; height: 30px; }
.content .trade-card.trade-feature h2 { margin: 4px 0 8px; color: var(--navy); font-size: 28px; }
.content .trade-card.trade-feature p { margin: 0 0 10px; color: #334155; font-size: 17px; }
.content .trade-card.trade-feature .trade-price { color: #475569; }
.trade-card.trade-feature .trade-price strong { font: 800 36px/1 var(--f-display); color: var(--navy); margin-right: 6px; }
/* Buttons inside the reading area keep their own colors. */
.content a.btn { text-decoration: none; }
.content a.btn:not(.btn-ghost), .content a.btn:not(.btn-ghost):hover { color: var(--white); }
.content a.btn.btn-ghost, .content a.btn.btn-ghost:hover { color: var(--navy); }
.another { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--e1); padding: 24px 26px; margin: 36px 0 8px; }
.content .another h2 { margin: 0 0 4px; font-size: 24px; }
.content .another p { margin: 0; color: var(--muted); }
.hero-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 50%; background: rgba(249,115,22,.16); color: var(--orange); }
.hero-icon svg { width: 30px; height: 30px; }
.trade-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 24px 0 8px; }
.trade-cta span { color: var(--muted); font-size: 15px; }
.cite { font-size: .7em; line-height: 0; margin-left: 1px; }
.content .cite a { text-decoration: none; font-weight: 600; }
.sources { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.content .sources h2 { margin: 0 0 10px; font-size: 22px; }
.content .sources ol { font-size: 15px; color: var(--muted); }
.content .sources .sources-note { font-size: 14px; color: var(--muted); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---- Inner-page hero ---- */
.hero-inner { position: relative; isolation: isolate; background: var(--navy-bg); color: var(--white); padding-block: 44px calc(44px + var(--overlap)); border-bottom-right-radius: 64px; }
.hero-inner h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; font-weight: 800; max-width: 22ch; }
.hero-inner .eyebrow { margin: 0 0 14px; color: #fdba74; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-inner .lede { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: #dbe3ef; max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: 14px; color: #94a3b8; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #475569; }
.breadcrumb a { color: #cbd5e1; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ---- Reading area ---- */
.content { padding-block: 0 calc(var(--sec-y) / 2); }
.content .wrap > * { max-width: 65ch; }
.content .wrap > .wide, .content .wrap > .card-grid, .content .wrap > .table-wrap, .content .wrap > .steps, .content .wrap > .fit, .content .wrap > .price, .content .wrap > .trade-grid, .content .wrap > .trade-feature, .content .wrap > .another { max-width: none; }
.byline { color: var(--muted); font-size: 14px; margin: 0 0 26px; }
/* The intro block (byline + opening answer) lifts over the hero (polish spec 3.2). */
/* 17px, like the reading column's paragraphs, so its 65ch lines up with them. */
.intro-card { position: relative; z-index: 2; margin-top: calc(-1 * var(--overlap)); margin-bottom: 40px; font-size: 17px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-3); box-shadow: var(--e2); padding: clamp(20px, 3vw, 32px) clamp(18px, 3vw, 36px); }
.intro-card .byline { margin: 0 0 12px; font-size: 14px; }
.content .intro-card > :last-child { margin-bottom: 0; }
.content .intro-card + * { margin-top: 0; }
.content h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--navy); margin: 48px 0 14px; }
.content h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 28px 0 8px; }
.content p { margin: 0 0 16px; font-size: 17px; line-height: 1.65; }
.content ul, .content ol { padding-left: 22px; margin: 0 0 18px; line-height: 1.65; }
.content li { margin-bottom: 6px; }
.content a { color: var(--orange-text); }
.content a:hover { color: #9a3412; }
.content strong { color: var(--navy); }
.content .wrap > :first-child:not(.intro-card), .content .byline + * { margin-top: 0; }
.answer { font-size: 19px; }
.term-def { font-size: 20px; border-left: 4px solid var(--orange); padding-left: 16px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0 28px; }
.card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: 22px; box-shadow: var(--e1); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .big { display: block; font: 800 30px/1.1 var(--f-display); color: var(--orange-h); margin-bottom: 6px; }

.content .steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0 28px; display: grid; gap: 14px; }
.content .steps > li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--e1); padding: 18px 20px; margin: 0; }
.content .steps > li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font: 800 16px var(--f-display); }
.content .steps h3 { margin: 4px 0 4px; font-size: 18px; }
.content .steps p { margin: 0; color: var(--muted); }

.table-wrap { overflow-x: auto; margin: 18px 0 28px; border: 1px solid var(--hairline); border-radius: var(--r-2); background: var(--white); box-shadow: var(--e1); }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th { background: var(--paper); color: var(--navy); font: 700 13px var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.table-wrap td:first-child { font-weight: 600; color: var(--navy); width: 34%; }
@media (max-width: 600px) {
  .table-wrap.stack table { min-width: 0; }
  .table-wrap.stack thead { display: none; }
  .table-wrap.stack tr { display: block; border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .table-wrap.stack tr:last-child { border-bottom: 0; }
  .table-wrap.stack td { display: block; width: auto; border: 0; padding: 0; }
  .table-wrap.stack td:first-child { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
}

.content .note { background: var(--white); border: 1px solid var(--hairline); border-left: 4px solid var(--orange); border-radius: 0 16px 16px 0; box-shadow: var(--e1); padding: 14px 18px; margin: 20px 0 26px; }
.content .note p:last-child { margin-bottom: 0; }

/* The price on /pricing/: a raised, lightly orange-tinted card (was navy; polish spec 3.1). */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; background: linear-gradient(150deg, #fff7ed 0%, var(--white) 70%); color: var(--ink); border: 1px solid #fed7aa; border-radius: var(--r-card); box-shadow: var(--e2); padding: 24px 26px; margin: 20px 0 28px; }
.price .amount { font: 800 48px/1 var(--f-display); color: var(--navy); }
.price .unit { font-size: 18px; color: #475569; }

.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 20px 0 28px; }
.fit > div { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--e1); padding: 20px 22px; }
.fit h3 { margin-top: 0; }
.fit .yes h3 { color: var(--ok); }
.fit .no h3 { color: #b91c1c; }

/* A delivered lead as the contractor's phone shows it (made-up homeowner). */

/* ---- FAQ: tap-to-open rows (every answer is in the HTML) ---- */
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq-row { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-2); box-shadow: var(--e1); }
.faq-row summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font: 700 17px/1.35 var(--f-display); color: var(--navy); }
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-h); font: 700 20px/1 var(--f-body); }
.faq-row[open] summary::after { content: "\2212"; }
.faq-row[open] { border-color: #fdba74; }
.content .faq-row p { margin: 0; padding: 0 20px 18px; color: #334155; }
.faq-row summary:hover { color: var(--orange-text); }

/* ---- Closing call to action (polish spec 3.4): a contained, rounded navy card
   on the light page with an orange glow and the orange button, space around it
   above the footer; the section itself paints nothing. ---- */
.cta-band { padding-block: calc(var(--sec-y) / 2); }
.cta-card { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; padding: clamp(28px, 4.5vw, 56px) clamp(22px, 5vw, 64px); border-radius: var(--r-3); border: 1px solid rgb(255 255 255 / 8%); box-shadow: var(--e2); color: var(--white); background: radial-gradient(60% 120% at 100% 0%, rgb(249 115 22 / 26%), rgb(249 115 22 / 0) 65%), radial-gradient(50% 100% at 0% 100%, rgb(59 100 190 / 22%), rgb(59 100 190 / 0) 70%), linear-gradient(160deg, var(--navy-3), var(--navy)); }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.cta-band p { margin-top: 8px; color: #dbe3ef; font-weight: 500; }
.cta-band p a { color: var(--white); font-weight: 700; }
.cta-band .btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #a8b5c9; font-size: 14.5px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 52px 28px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font: 800 18px var(--f-display); text-decoration: none; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-line { margin: 14px 0 0; max-width: 28em; }
.site-footer .footer-h { font: 700 14px var(--f-display); color: var(--white); margin: 0 0 12px; letter-spacing: .04em; text-transform: uppercase; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.site-footer a { color: #a8b5c9; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13px; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-copy { margin: 0; }
.landing { display: block; }

/* ---- Breakpoints ---- */
@media (max-width: 1180px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 18px; font-size: 14.5px; }
}
@media (max-width: 980px) {
  .nav-services { display: block; width: 100%; }
  .menu-toggle, .services-menu { display: none !important; }
  /* Phones: no "About" link; its pages show flat in the open menu. */
  .site-nav .nav-about > a { display: none; }
  .about-menu, .about-menu[hidden] { display: block; position: static; transform: none; width: auto; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
  .site-nav .about-menu a { padding: 11px 0; font-size: 16px; font-weight: 400; color: inherit; border-radius: 0; }
  .site-nav .about-menu a:hover, .site-nav .about-menu a[aria-current="page"] { background: none; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .header-inner > .btn { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; padding: 4px 0 8px; border-top: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { display: block; width: 100%; padding: 11px 0; font-size: 16px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .topbar .tag { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .brand-name b { font-size: 17px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name small { font-size: 10px; letter-spacing: .12em; }
  .site-header .btn-small { padding: 0 14px; font-size: 14px; min-height: 42px; }
  .header-inner { gap: 8px; }
  .hero-inner { border-bottom-right-radius: 40px; padding-block: 32px calc(32px + var(--overlap)); }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-band .btns .btn { flex: 1 1 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .trade-card.trade-feature { grid-template-columns: 1fr; gap: 12px; padding: 22px; }
  .trade-cta .btn { flex: 1 1 100%; }
  .another .btn { flex: 1 1 100%; }
  .faq-row summary { padding: 14px 16px; font-size: 16px; }
  .content .faq-row p { padding: 0 16px 16px; }
}
@media (max-width: 380px) {
  .header-inner { gap: 6px; }
  .brand { gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name small { letter-spacing: .06em; }
  .site-header .btn-small { padding: 0 10px; font-size: 13px; min-height: 44px; }
}


/* ---- Home page (2026-11-19): what the mockup's styles above need for the
   real page (card C only, the trades panel, the keyboard map, fixed sizes). ---- */
.hero .wrap > * { min-width: 0; }
.ticks li > span { min-width: 0; }
/* Card C: a fixed size, so the city name changing never moves anything. */
.leadcard { width: 206px; padding: 34px 14px 18px; }
.leadcard .city { white-space: nowrap; }
.leadcard .city svg { width: 14px; height: 14px; flex: none; }
.leadcard .big { margin-top: 8px; }

/* Trades panel: tabs left, the trade's drawing centre, its text right. */
.sec-head { max-width: 920px; margin: 0 0 28px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--navy); }
.sec-head p { max-width: 40em; margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.trades-panel { --panel-x: clamp(18px, 4vw, 56px); padding: 44px var(--panel-x); }
.trades-sec .tabs { grid-template-columns: 230px 1fr 1fr; }
.trades-sec .tabs > * { min-width: 0; }
.trades-sec .tablist button { line-height: 1.35; }
.trade-art { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.trade-art[hidden] { display: none; }
.trade-art .art-icon { display: grid; place-items: center; width: min(44%, 180px); aspect-ratio: 1; color: var(--orange-h); }
.trade-art .art-icon svg { width: 100%; height: 100%; stroke-width: 1.25; }
.tabcopy .ic { display: block; width: 46px; height: 46px; color: var(--orange); }
.tabcopy .ic svg { width: 46px; height: 46px; }

/* Location panel: the map keeps its shape before the states are drawn. */
.locmap { min-width: 0; }
.usmap { aspect-ratio: 975 / 610; }
.usmap:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 10px; }
.feed .note { transform: translateY(66px); }
.feed .note.back { transform: translateY(6px) scale(.95); opacity: .55; }
.feed .note.gone { transform: translateY(-60px) scale(.95); opacity: 0; }
/* One line each, as in the mockup, so a note never outgrows the fixed feed. */
.feed .note > div { min-width: 0; }
.feed .note .t, .feed .note .s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statband > * { min-width: 0; }

/* The sample lead card: the lead text's contact lines (compact), then its answers. */
.leadsheet .lead-contact { margin-top: 4px; font-size: 13.5px; }
.leadsheet .lead-contact dt, .leadsheet .lead-contact dd { border-top: 0; padding: 3px 0; }
.leadsheet .lead-contact dt { padding-right: 14px; }
.leadsheet .lead-contact dd { font-weight: 500; overflow-wrap: anywhere; }
.leadsheet .lead-contact dd:first-of-type { font: 800 17px/1.3 var(--f-display); color: var(--navy); }
.leadsheet .lead-answers { margin-top: 12px; }

/* Inside the track's edge: the fade mask would clip a ring drawn outside it. */
.track:focus-visible { outline: 3px solid var(--ring); outline-offset: -3px; border-radius: var(--r-2); }
/* The fade mask would hide half of the ring: drop it while the scroller has keyboard focus. */
[data-scroller]:focus-visible, .track:focus-visible, .tablist:focus-visible { -webkit-mask-image: none; mask-image: none; }

@media (max-width: 980px) {
  .trades-sec .tabs { grid-template-columns: 1fr; gap: 24px; }
  .trades-sec .visual { aspect-ratio: 2 / 1; }
  .trade-art .art-icon { width: auto; height: 52%; }
}
@media (max-width: 560px) {
  /* The card sits 58 px above the laptop with its badge 26 px higher: room for
     both below the buttons' fine print. */
  .hero .stage { margin-top: 48px; }
  .leadcard { width: 230px; padding: 30px 14px 14px; }
  .trades-panel { --panel-x: 16px; padding: 28px var(--panel-x); }
  .sec-head p { font-size: 16px; }
  .statband { padding: 20px 14px; }
  .feed .note .av { display: none; }
}

/* how-it-works sample lead card (Task 7) */
.content .leadsheet.sample-card { margin: 28px 0 20px; box-shadow: var(--e2); }
.content .leadsheet.sample-card .label { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }


/* ---- "For homeowners" / "For contractors" button (2026-11-20) ----
   One outlined button to the other side of the site, left of the header's
   orange button; on narrower screens it drops to its own row under the header
   (right-aligned) so logo, button and menu toggle stay on one row. */
.side-switch { display: inline-flex; align-items: center; justify-content: center; flex: none; min-height: 40px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--navy); font: 700 14px var(--f-display); text-decoration: none; white-space: nowrap; }
.side-switch:hover { border-color: var(--orange); color: var(--orange-text); }
@media (max-width: 1180px) {
  .header-inner { flex-wrap: wrap; }
  .side-switch { order: 4; margin-left: auto; }
  .site-nav.open { order: 3; }
}

/* ---- /homeowners/ ---- */
.topbar.is-homeowner .tag { display: block; }
.topbar.is-homeowner .wrap { justify-content: center; }
.homeowner-hero .lede { max-width: 36em; }
.ho-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--white); font-weight: 600; }
.ho-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ho-ticks svg { width: 20px; height: 20px; color: var(--orange); flex: none; }
.homeowner-hero .hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.ho-section { padding-block: calc(var(--sec-y) / 2); }
.ho-section.ho-services { padding-top: 0; }
.ho-panel { padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 48px); }
.ho-section h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--navy); }
.ho-sub { margin-top: 8px; color: var(--muted); font-size: 18px; }
.service-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; padding: 22px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--e1); text-decoration: none; color: var(--navy); transition: border-color .15s, box-shadow .15s, transform .15s; }
.service-tile .tile-name { font: 700 19px/1.25 var(--f-display); }
.service-tile .tile-go { margin-top: auto; color: var(--orange-text); font-weight: 600; font-size: 15px; }
.ho-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ho-steps li { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--e1); padding: 24px; }
.ho-steps .step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white); font: 800 18px var(--f-display); }
.ho-steps h3, .ho-why h3 { margin: 12px 0 6px; font-size: 19px; color: var(--navy); }
.ho-steps p, .ho-why p { margin: 0; color: #475569; }
.ho-why { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.ho-why li { display: flex; gap: 14px; align-items: flex-start; }
.ho-why h3 { margin-top: 0; }
.why-tick { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-h); }
.why-tick svg { width: 20px; height: 20px; }
.ho-faq { max-width: 820px; }
.ho-faq .content { padding: 0; }
.ho-faq .faq-row a { color: var(--orange-text); overflow-wrap: anywhere; }
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .ho-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ho-services .lift { padding-inline: 12px; }
  .service-tile { padding: 14px; }
  .service-tile .tile-name { font-size: 16px; }
  .ho-why { grid-template-columns: 1fr; }
  .homeowner-hero .hero-actions .btn { flex: 1 1 100%; }
}
@media (min-width: 981px) {
  .site-nav { gap: 20px; }
  .site-nav > a, .nav-services > a { white-space: nowrap; }
  .header-inner { gap: 18px; }
}
/* The homeowners hero's empty right side (2026-11-20 polish, spec 3.9): the
   eight service icons as a decorative cluster of translucent tiles, desktop
   only. aria-hidden, no words, no links; absolutely placed beside the text
   (which ends well short of it at every desktop width), so nothing moves. The
   second row sits half a tile to the left, the two outer tiles are fainter and
   the first (heating and air) carries the orange. */
.ho-hero-art { display: none; }
@media (min-width: 981px) {
  .homeowner-hero .wrap { position: relative; }
  .ho-hero-art { --tile: clamp(56px, 5vw, 72px); position: absolute; top: 50%; right: max(16px, env(safe-area-inset-right, 0px)); transform: translateY(-50%); display: grid; grid-template-columns: repeat(4, var(--tile)); gap: 14px; pointer-events: none; }
  .ho-hero-art > span { display: grid; place-items: center; width: var(--tile); height: var(--tile); border-radius: var(--r-2); background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 12%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%); color: rgb(255 255 255 / 82%); }
  .ho-hero-art > span:nth-child(n+5) { transform: translateX(calc(var(--tile) / -2)); }
  .ho-hero-art > span:nth-child(4), .ho-hero-art > span:nth-child(5) { opacity: .55; }
  .ho-hero-art > span:first-child { background: rgb(249 115 22 / 14%); border-color: rgb(249 115 22 / 36%); color: var(--orange); }
  .ho-hero-art svg { width: 44%; height: 44%; }
}
.footer-inner.is-homeowner { grid-template-columns: 1.4fr 1fr 1fr; }
@media (max-width: 980px) { .footer-inner.is-homeowner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-inner.is-homeowner { grid-template-columns: 1fr; } }

/* ---- Interaction (2026-11-20 polish, spec 3.8) ----
   Clickable cards (the homeowner service tiles, the /services/ trade cards)
   lift 2 px to e2 on hover and sit back to 1 px while pressed; buttons darken
   on hover and press. The tap highlight is off only where a press state
   replaces it. Lifts and presses move only when the visitor allows motion;
   hover looks only apply on devices that hover. */
.btn, .side-switch, .nav-toggle, .scroll-btn, .tablist button, .service-tile, .trade-card { -webkit-tap-highlight-color: transparent; }
@media (hover: hover) {
  .scroll-btn:hover:enabled { background: #eef2f9; border-color: rgb(11 18 32 / 16%); }
  .nav-toggle:hover { background: var(--paper); }
  .service-tile:hover, .trade-card:hover { border-color: #fdba74; box-shadow: var(--e2); }
  .trade-card.trade-feature:hover { box-shadow: var(--e3); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-tile:hover, .trade-card:hover { transform: translateY(-2px); }
}
.btn:active { background: var(--orange-text); }
.btn.btn-ghost:active { background: #dde5f0; }
.scroll-btn:active:enabled { background: #e2e8f0; }
.side-switch:active { background: #eef2f9; }
.nav-toggle:active { background: #eef2f9; }
.tablist button:active { background: rgb(11 18 32 / 4%); }
.service-tile:active, .trade-card:active { box-shadow: var(--e1); }
.trade-card.trade-feature:active { box-shadow: var(--e2); }
@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: translateY(1px); }
  .service-tile:active, .trade-card:active { transform: translateY(-1px); }
}

/* ---- Scroll reveal (2026-11-20 polish, spec 3.10) ----
   site.js adds .reveal only to card groups and sections that are below the
   fold at load, only when the visitor allows motion and IntersectionObserver
   exists, then .is-in as each comes into view (both classes go once it is in).
   The hidden start lives only under prefers-reduced-motion: no-preference, so
   without the script, with reduced motion, or on paper, everything shows. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---- Phone action bar (2026-11-20 polish, spec 3.11) ----
   The page's main button (the header's) fixed to the bottom of a phone
   screen. site.js shows it (.is-shown, aria-hidden and inert removed) once the
   hero has left the screen, and hides it while the closing card or the footer
   is on screen, so it never covers them or the footer's last links. Hidden it
   is off screen and invisible, so nothing in it can be reached. Never above
   560 px; without the script it never shows. */
.action-bar { display: none; }
@media (max-width: 560px) and (min-height: 480px) {
  html { scroll-padding-bottom: 88px; }
  .action-bar { display: block; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--white); border-top: 1px solid var(--hairline); box-shadow: 0 -8px 24px -12px rgb(11 18 32 / 16%); visibility: hidden; transform: translateY(calc(100% + 24px)); transition: transform .25s ease, visibility 0s linear .25s; }
  .action-bar.is-shown { visibility: visible; transform: none; transition: transform .25s ease, visibility 0s; }
  .action-bar .btn { width: 100%; min-height: 48px; }
}
