/* ═══════════════════════════════════════════════════════════════════════════
   COASTAL SD PROS — site-elite/styles.css
   Chassis 3.5R elite rebuild · Lane A (Coastal Editorial, brand-locked Mode-B)
   Archetype: Card-Forward Operator (editorial routing-desk, NOT a hero monolith)

   Brand connector — North County San Diego home-services lead engine.
   NOT a contractor: no crew story, no crew photos, no fake reviews/ratings,
   no Featured-Partner block. Honest connector trust framing only.

   This is the SHARED system: every page links /styles.css + /app.js (absolute).
   It builds ON the base.html token system (same vars, same ease, same type
   pairing) and ELEVATES craft — it is NOT a recolor of v1.

   Loud-pixel law (L1): terracotta (--accent) is ACTION-ONLY (call + submit +
   nav-call). It is never decorative, never a fill block, never a large area.
   The phone CTA is the loudest element at every breakpoint.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────
   1. TOKENS  (brand-locked values from design-system/coastal-sd-pros.md)
   ───────────────────────────────────────────────────────────────────────── */
:root {
  /* Canvas strata — the card field layers off these three tints */
  --canvas:        #FAF8F4;   /* paper — base page */
  --canvas-2:      #F2EFE8;   /* sand-light — lifted card surface */
  --canvas-3:      #EAE3D4;   /* sand — recessed strata / poster ground */

  /* Slate-blue inks — authority */
  --ink:           #0F2A3D;   /* deepest — anchor bands, headlines */
  --ink-2:         #2D4A5E;   /* body-strong */
  --ink-3:         #5A7080;   /* muted / labels */

  /* Terracotta — ACTION ONLY (call + submit) */
  --accent:        #D67253;
  --accent-deep:   #B85C3D;
  --accent-tint:   rgba(214, 114, 83, 0.08);

  /* Hairlines + shadow (depth comes from layered tints + 1px lines, not cards) */
  --hair:          rgba(15, 42, 61, 0.08);
  --hair-2:        rgba(15, 42, 61, 0.14);
  --hair-on-ink:   rgba(250, 248, 244, 0.14);
  --shadow-card:   0 12px 32px rgba(15, 42, 61, 0.06);
  --shadow-lift:   0 18px 48px rgba(15, 42, 61, 0.10);

  /* Type */
  --font-display:  'Newsreader', 'Georgia', serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mag:      'Instrument Serif', 'Georgia', serif;
  --font-mono:     'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Layout */
  --container:     1160px;
  --reading:       680px;
  --pad-x:         clamp(22px, 5vw, 80px);
  --pad-y:         clamp(56px, 9vw, 116px);
  --card-pad:      clamp(26px, 4vw, 52px);

  /* Motion */
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:           0.45s;
}

/* ─────────────────────────────────────────────────────────────────────────
   2. RESET + BASE
   ───────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* coastal paper grain — faint, free (no request), establishes material */
  background-image:
    radial-gradient(rgba(15, 42, 61, 0.015) 1px, transparent 1px);
  background-size: 4px 4px;
}

img, svg, canvas { display: block; max-width: 100%; }

::selection { background: var(--accent-tint); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
  letter-spacing: -0.015em;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* flowing-text links underlined (WCAG: not color-alone) */
p > a, li > a, .prose a, .disclosure-strip a, .footer-col a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ── shared type utilities ── */
.mono-label {
  font-family: var(--font-mono); font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  font-size: clamp(11px, 0.78vw, 12px);
  color: var(--ink-3);
}
.mag-italic { font-family: var(--font-mag); font-style: italic; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--pad-y); }
.section-inner { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }

/* eyebrow / section marker */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: clamp(11px, 0.78vw, 12px);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}
.kicker::before {
  content: ""; width: 22px; height: 1px;
  background: var(--accent); display: inline-block;
}

.section-h {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  color: var(--ink);
  max-width: 18ch;
  margin-top: 18px;
}
.section-h .mag-italic { color: var(--ink-3); font-weight: 400; }

.section-lede {
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--ink-2);
  max-width: var(--reading);
  line-height: 1.6;
  margin-top: 20px;
}

/* ─────────────────────────────────────────────────────────────────────────
   3. SKIP LINK + A11Y
   ───────────────────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--canvas);
  padding: 10px 18px; font-family: var(--font-mono); font-size: 13px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--canvas); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────────────────
   4. NAV  (sticky; phone is the loudest element)
   ───────────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--hair);
}
.nav-inner {
  max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x);
  height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-brand {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(20px, 1.8vw, 24px); color: var(--ink); letter-spacing: -0.01em;
  display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap;
}
.nav-brand .mag-italic { color: var(--ink-3); font-size: 0.74em; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 34px); align-items: center; }
.nav-links a:not(.nav-call):not(.nav-cta) {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  position: relative; padding-block: 4px;
}
.nav-links a:not(.nav-call):not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width 0.28s var(--ease);
}
.nav-links a:not(.nav-call):not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-call):not(.nav-cta):hover::after { width: 100%; }

/* nav phone — terracotta, the loudest bar element, survives mobile collapse */
.nav-call {
  font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.02em;
  font-size: 14px; padding: 10px 18px;
  background: var(--accent); color: var(--canvas);
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-call:hover { background: var(--accent-deep); color: var(--canvas); transform: translateY(-1px); }
.nav-call .nav-call-ico { width: 15px; height: 15px; }
@media (max-width: 860px) {
  .nav-links a:not(.nav-call) { display: none; }
  .nav-call { padding: 9px 15px; }
}

/* ─────────────────────────────────────────────────────────────────────────
   5. HERO / INTAKE CARD  (the request desk — asymmetric, lifted off poster)
   ───────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 88px);
  overflow: clip;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: var(--canvas-3);
}
/* static SVG coastal-current poster — always present (no-JS truth, zero CLS) */
.hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.9;
}
/* WebGL canvas fades IN over the poster (desktop only, see app.js) */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.1s var(--ease-out);
  pointer-events: none;
}
.hero-canvas.is-live { opacity: 1; }
/* scrim guarantees H1 contrast with OR without WebGL (5-sec test holds) */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(250,248,244,0.94) 0%, rgba(250,248,244,0.80) 44%, rgba(250,248,244,0.30) 100%);
}
@media (max-width: 900px) {
  .hero-scrim {
    background: linear-gradient(180deg, rgba(250,248,244,0.82) 0%, rgba(250,248,244,0.92) 60%);
  }
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x);
}

/* the intake card — single soft shadow, hairline, lifted off canvas-3 poster */
.intake-card {
  background: var(--canvas-2);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-card);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .intake-card { grid-template-columns: 5fr 7fr; }
}

/* left rail — the pitch */
.intake-pitch {
  padding: var(--card-pad);
  display: flex; flex-direction: column; gap: 22px;
  border-bottom: 1px solid var(--hair);
}
@media (min-width: 1024px) {
  .intake-pitch { border-bottom: 0; border-right: 1px solid var(--hair); }
}
.hero-eyebrow { color: var(--ink-3); }
.hero h1 {
  font-size: clamp(42px, 6.4vw, 78px);   /* deliberately tighter than monument scale */
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.hero h1 .hero-mag {
  font-family: var(--font-mag); font-style: italic;
  color: var(--accent-deep); font-weight: 400; letter-spacing: 0;
}
/* terracotta accent rule under H1 (draws via scaleX in app.js) */
.hero-rule {
  height: 2px; width: clamp(64px, 9vw, 104px);
  background: var(--accent); transform-origin: left center;
  margin-top: 2px;
}
.js .hero-rule { transform: scaleX(0); }
.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-2); line-height: 1.55; max-width: 42ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-phone-note {
  font-family: var(--font-mag); font-style: italic;
  font-size: 15px; color: var(--ink-3);
}

/* 3 honest trust lines — NOT ratings, NOT reviews */
.trust-lines { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.trust-line {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink-2); line-height: 1.5;
}
.trust-line .tl-ico {
  flex: none; width: 19px; height: 19px; margin-top: 2px; color: var(--accent);
}

/* right rail — the quote form (above the fold on desktop) */
.intake-form-wrap {
  padding: var(--card-pad);
  background: var(--canvas);
  display: flex; flex-direction: column; gap: 18px;
}
.intake-form-head { display: flex; flex-direction: column; gap: 6px; }
.intake-form-head h2 {
  font-size: clamp(23px, 2.2vw, 30px); line-height: 1.15; color: var(--ink);
}
.intake-form-head p { font-size: 15px; color: var(--ink-3); }

/* ─────────────────────────────────────────────────────────────────────────
   6. BUTTONS  (terracotta = action only)
   ───────────────────────────────────────────────────────────────────────── */
.btn { font-family: var(--font-body); cursor: pointer; border: none; }
.call-cta {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--accent); color: var(--canvas);
  padding: 16px 26px; font-weight: 600; font-size: 16px;
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(184, 92, 61, 0.22);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.call-cta:hover {
  background: var(--accent-deep); color: var(--canvas);
  transform: translateY(-2px); box-shadow: 0 10px 26px rgba(184, 92, 61, 0.30);
}
.call-cta .call-cta-ico { width: 18px; height: 18px; }
.call-cta .call-cta-num { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.01em; }
.call-cta-block { display: flex; flex-direction: column; line-height: 1.15; align-items: flex-start; }
.call-cta-block .call-cta-small {
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  font-family: var(--font-mono); opacity: 0.82;
}

/* secondary = ink-underline (NEVER terracotta fill) */
.link-cta {
  color: var(--ink); font-weight: 500; font-size: 15px; padding: 16px 4px;
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 1.5px; text-underline-offset: 4px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
.link-cta:hover { color: var(--accent-deep); text-decoration-color: var(--accent-deep); }

/* submit — terracotta (the second action) */
.submit-cta {
  width: 100%; padding: 17px 28px;
  background: var(--accent); color: var(--canvas);
  font-weight: 600; font-size: 16px; border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 6px 18px rgba(184, 92, 61, 0.22);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.submit-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-2px); box-shadow: 0 10px 26px rgba(184, 92, 61, 0.30);
}
.submit-cta .submit-ico { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.submit-cta:hover .submit-ico { transform: translateX(3px); }

/* ─────────────────────────────────────────────────────────────────────────
   7. LEAD / QUOTE FORM
   ───────────────────────────────────────────────────────────────────────── */
.lead-form { display: flex; flex-direction: column; gap: 16px; }
.lead-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .lead-row.two { grid-template-columns: 1fr 1fr; } }
.lead-field { display: flex; flex-direction: column; gap: 7px; }
.lead-field label {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3);
}
.lead-field .req { color: var(--accent-deep); }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%; padding: 14px 15px;
  border: 1px solid var(--hair-2);
  background: var(--canvas-2);
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  border-radius: 3px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--ink-3); opacity: 0.7; }
.lead-form textarea { min-height: 108px; resize: vertical; line-height: 1.5; }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none; border-color: var(--accent); background: var(--canvas);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.lead-consent {
  font-size: 12.5px; line-height: 1.55; color: var(--ink-3);
  margin-top: 2px;
}

/* ─────────────────────────────────────────────────────────────────────────
   8. HOW-IT-CONNECTS  (3-step honest connector spine, with flow line)
   ───────────────────────────────────────────────────────────────────────── */
.steps-section { background: var(--canvas); border-top: 1px solid var(--hair); }
.steps-grid {
  margin-top: 56px; position: relative;
  display: grid; grid-template-columns: 1fr; gap: 28px;
}
@media (min-width: 880px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
/* the connecting flow line (desktop) — drawn via CSS custom prop, not layout */
.steps-flow {
  display: none;
}
@media (min-width: 880px) {
  .steps-flow {
    display: block; position: absolute; left: 8%; right: 8%; top: 30px; height: 2px; z-index: 0;
    background: var(--hair-2);
  }
  .steps-flow::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-deep));
    transform: scaleX(var(--flow, 0)); transform-origin: left center;
    transition: transform 1.1s var(--ease-out);
  }
}
.step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 14px;
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--canvas-2); border: 1px solid var(--hair-2);
  font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--ink);
}
.step h3 { font-size: clamp(21px, 2vw, 26px); color: var(--ink); }
.step p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ─────────────────────────────────────────────────────────────────────────
   9. VALUE PROPS  (4 line-art SVG cards — honest, asymmetric, NOT 3-even-icons)
   ───────────────────────────────────────────────────────────────────────── */
.value-section { background: var(--canvas-2); border-top: 1px solid var(--hair); }
.value-grid {
  margin-top: 52px;
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--hair); border: 1px solid var(--hair);
  border-radius: 4px; overflow: hidden;
}
@media (min-width: 680px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  /* deliberate asymmetry: first card spans 2 cols on the top row */
  .value-grid { grid-template-columns: repeat(4, 1fr); }
  .value-card.feature { grid-column: span 2; }
}
.value-card {
  background: var(--canvas);
  padding: clamp(24px, 3vw, 38px);
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.25s var(--ease);
}
.value-card:hover { background: var(--canvas-2); }
.value-glyph {
  width: 40px; height: 40px; color: var(--ink); /* slate strokes, NOT terracotta fill */
}
.value-glyph svg { width: 100%; height: 100%; }
.value-glyph svg path, .value-glyph svg line, .value-glyph svg circle,
.value-glyph svg polyline, .value-glyph svg rect {
  stroke: currentColor; stroke-width: 1.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.value-card h3 { font-size: clamp(19px, 1.7vw, 23px); color: var(--ink); }
.value-card p { font-size: 15.5px; line-height: 1.58; color: var(--ink-2); }
.value-card.feature h3 { font-size: clamp(24px, 2.6vw, 34px); }
.value-card.feature .value-glyph { color: var(--accent); }   /* one accent glyph allowed */

/* ─────────────────────────────────────────────────────────────────────────
   10. DARK ANCHOR BAND #1 — "how routing works" confirmation (pinned moment)
   ───────────────────────────────────────────────────────────────────────── */
.routing-band {
  background: var(--ink); color: var(--canvas);
  position: relative; overflow: clip;
}
.routing-band .kicker { color: rgba(250,248,244,0.6); }
.routing-band .kicker::before { background: var(--accent); }
.routing-band .section-h { color: var(--canvas); }
.routing-band .section-lede { color: rgba(250,248,244,0.82); }

/* the pinned narrative: a coastal wave advances, captions cross-fade (desktop) */
.routing-stage {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr; gap: 28px;
  align-items: center;
}
@media (min-width: 980px) { .routing-stage { grid-template-columns: 7fr 5fr; gap: 64px; } }
.routing-wave {
  position: relative; aspect-ratio: 16 / 8;
  border: 1px solid var(--hair-on-ink); border-radius: 4px; overflow: hidden;
  background: linear-gradient(180deg, rgba(45,74,94,0.5), rgba(15,42,61,0.2));
}
.routing-wave svg { position: absolute; inset: 0; width: 200%; height: 100%; }
.routing-wave .wave-stroke { fill: none; stroke: rgba(250,248,244,0.5); stroke-width: 1.5; }
.routing-wave .wave-stroke.accent { stroke: var(--accent); stroke-width: 2; }
/* the request token that rides the current to the convergence point */
.routing-dot {
  position: absolute; top: 50%; left: 6%;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 6px rgba(214,114,83,0.22);
  transform: translateY(-50%);
}
.routing-captions { display: flex; flex-direction: column; gap: 22px; }
.routing-caption {
  padding-left: 22px; border-left: 2px solid var(--hair-on-ink);
  transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease);
}
.routing-caption h3 { color: var(--canvas); font-size: clamp(20px, 1.9vw, 26px); margin-bottom: 6px; }
.routing-caption p { color: rgba(250,248,244,0.78); font-size: 15.5px; line-height: 1.55; }
/* JS pinned mode dims inactive captions; no-JS / reduced-motion = all visible */
.js .routing-band.is-pinnable .routing-caption { opacity: 0.4; }
.js .routing-band.is-pinnable .routing-caption.is-active {
  opacity: 1; border-color: var(--accent);
}

/* ─────────────────────────────────────────────────────────────────────────
   11. SERVICE CATEGORIES  (connector routes these — honest "connect you with")
   ───────────────────────────────────────────────────────────────────────── */
.cats-section { background: var(--canvas); border-top: 1px solid var(--hair); }
.cats-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .cats-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cats-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  background: var(--canvas-2); border: 1px solid var(--hair);
  border-radius: 4px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}
.cat-card:hover {
  border-color: var(--hair-2); transform: translateY(-2px); background: var(--canvas);
}
.cat-glyph { flex: none; width: 30px; height: 30px; color: var(--ink-2); }
.cat-glyph svg { width: 100%; height: 100%; }
.cat-glyph svg * {
  stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.cat-body { display: flex; flex-direction: column; gap: 2px; }
.cat-body strong { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--ink); }
.cat-body span { font-size: 13.5px; color: var(--ink-3); }
.cat-arrow { margin-left: auto; color: var(--ink-3); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.cat-card:hover .cat-arrow { transform: translateX(3px); color: var(--accent); }

/* ─────────────────────────────────────────────────────────────────────────
   12. FAQ  (matches FAQPage schema; answers OPEN in no-JS)
   ───────────────────────────────────────────────────────────────────────── */
.faq-section { background: var(--canvas-2); border-top: 1px solid var(--hair); }
.faq-wrap {
  margin-top: 44px; max-width: 820px;
}
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item:first-child { border-top: 1px solid var(--hair); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.7vw, 23px);
  color: var(--ink); line-height: 1.3;
}
.faq-icon { flex: none; width: 22px; height: 22px; margin-top: 4px; position: relative; color: var(--accent); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: currentColor;
  top: 50%; left: 50%; transition: transform 0.3s var(--ease);
}
.faq-icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
/* answer: grid-rows trick (transform-safe, content always in DOM) */
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.34s var(--ease); }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding-bottom: 24px; font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 68ch; }
/* JS collapses by default; without JS everything stays open */
.js .faq-item[data-faq] .faq-a { grid-template-rows: 0fr; }
.js .faq-item[data-faq].is-open .faq-a { grid-template-rows: 1fr; }
.js .faq-item[data-faq].is-open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }

/* ─────────────────────────────────────────────────────────────────────────
   13. FINAL QUOTE SECTION
   ───────────────────────────────────────────────────────────────────────── */
.quote-section { background: var(--canvas); border-top: 1px solid var(--hair); }
.quote-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (min-width: 980px) { .quote-grid { grid-template-columns: 5fr 7fr; } }
.quote-aside { display: flex; flex-direction: column; gap: 24px; }
.quote-aside .call-row { display: flex; flex-direction: column; gap: 10px; }
.quote-aside .call-row .hero-phone-note { margin-top: 2px; }
.quote-card {
  background: var(--canvas-2); border: 1px solid var(--hair);
  box-shadow: var(--shadow-card); border-radius: 4px; padding: var(--card-pad);
}

/* ─────────────────────────────────────────────────────────────────────────
   14. DARK ANCHOR BAND #2 — "get listed / sponsor" LABELLED-EMPTY honest slot
   ───────────────────────────────────────────────────────────────────────── */
.sponsor-band { background: var(--ink); color: var(--canvas); }
.sponsor-band .kicker { color: rgba(250,248,244,0.6); }
.sponsor-band .kicker::before { background: var(--accent); }
.sponsor-band .section-h { color: var(--canvas); }
.sponsor-band .section-lede { color: rgba(250,248,244,0.82); }
.sponsor-slot {
  margin-top: 44px;
  border: 1px dashed var(--hair-on-ink); border-radius: 6px;
  padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
@media (min-width: 860px) { .sponsor-slot { grid-template-columns: 1fr auto; } }
.sponsor-slot-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(250,248,244,0.55); margin-bottom: 14px;
}
.sponsor-slot-label::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid rgba(250,248,244,0.5);
}
.sponsor-slot h3 { color: var(--canvas); font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 10px; }
.sponsor-slot p { color: rgba(250,248,244,0.78); font-size: 15.5px; line-height: 1.6; max-width: 52ch; }
.sponsor-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--canvas);
  padding: 16px 28px; font-weight: 600; font-size: 15px; border-radius: 3px;
  white-space: nowrap; transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.sponsor-cta:hover { background: var(--accent-deep); color: var(--canvas); transform: translateY(-2px); }

/* ─────────────────────────────────────────────────────────────────────────
   15. DISCLOSURE STRIP  (honest "what we are")
   ───────────────────────────────────────────────────────────────────────── */
.disclosure-strip {
  font-size: 14px; line-height: 1.6; color: var(--ink-3); max-width: var(--reading);
}
.disclosure-band {
  background: var(--canvas-3); border-top: 1px solid var(--hair);
  padding-block: clamp(28px, 4vw, 44px);
}
.disclosure-band .disclosure-strip { display: flex; gap: 14px; align-items: flex-start; }
.disclosure-band .disclosure-strip .disc-ico { flex: none; width: 20px; height: 20px; color: var(--ink-3); margin-top: 1px; }

/* ─────────────────────────────────────────────────────────────────────────
   16. FOOTER
   ───────────────────────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--canvas); padding: clamp(56px, 7vw, 80px) var(--pad-x) 32px; }
.footer-inner {
  max-width: var(--container); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 36px;
}
@media (min-width: 760px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; } }
.footer-logo { font-family: var(--font-display); font-weight: 500; font-size: 28px; color: var(--canvas); letter-spacing: -0.01em; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: rgba(250,248,244,0.7); max-width: 340px; line-height: 1.6; }
.footer-phone {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 9px;
  color: var(--canvas); font-family: var(--font-mono); font-weight: 500; font-size: 16px;
}
.footer-phone:hover { color: var(--accent); }
.footer-col h4 {
  font-family: var(--font-mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.08em; color: rgba(250,248,244,0.55); text-transform: uppercase; margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 14px; color: rgba(250,248,244,0.85); margin-bottom: 12px; }
.footer-col a:hover { color: var(--canvas); }
.footer-bottom {
  max-width: var(--container); margin: 56px auto 0; padding-top: 24px;
  border-top: 1px solid var(--hair-on-ink);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(250,248,244,0.55);
}

/* ─────────────────────────────────────────────────────────────────────────
   17. STICKY MOBILE CTA BAR  (CSS-only; never JS-gated for existence)
   ───────────────────────────────────────────────────────────────────────── */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--hair-2);
  border-top: 1px solid var(--hair-2);
  box-shadow: 0 -8px 24px rgba(15, 42, 61, 0.10);
  /* slide-in polish via JS adds .is-up; default visible so no-JS still shows it */
  transform: translateY(0);
  transition: transform 0.3s var(--ease);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 12px; font-weight: 600; font-size: 15px;
}
.mobile-cta .mcta-call { background: var(--accent); color: var(--canvas); font-family: var(--font-mono); letter-spacing: 0.01em; }
.mobile-cta .mcta-call:hover { color: var(--canvas); }
.mobile-cta .mcta-quote { background: var(--canvas); color: var(--ink); }
.mobile-cta .mcta-ico { width: 17px; height: 17px; }
/* JS pre-hides then reveals on scroll for polish (reduced-motion shows immediately) */
.js .mobile-cta.is-armed { transform: translateY(110%); }
.js .mobile-cta.is-armed.is-up { transform: translateY(0); }
@media (min-width: 861px) { .mobile-cta { display: none; } }
/* lift page bottom so the bar never covers footer/form on mobile */
@media (max-width: 860px) { body { padding-bottom: 72px; } }

/* ─────────────────────────────────────────────────────────────────────────
   18. REVEAL CHOREOGRAPHY HOOKS  (default = final visible state; JS adds pre-state)
   ───────────────────────────────────────────────────────────────────────── */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] {
  opacity: 0; transform: translateY(12px);
  will-change: opacity, transform;
}
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
@media (max-width: 700px) {
  .js [data-reveal] { transform: translateY(8px); }
}
/* showAll() fallback if GSAP fails to load */
.js.show-all [data-reveal] { opacity: 1 !important; transform: none !important; }
.js.show-all .hero-rule { transform: scaleX(1) !important; }
.js.show-all .steps-flow { --flow: 1; }

/* ─────────────────────────────────────────────────────────────────────────
   19. REDUCED MOTION  (kills all motion; content identical + fully usable)
   ───────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  [data-reveal], .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-rule, .js .hero-rule { transform: scaleX(1) !important; }
  .steps-flow { --flow: 1 !important; }
  .hero-canvas { display: none !important; }   /* poster stands in */
  .js .faq-item[data-faq] .faq-a { grid-template-rows: 1fr; }  /* FAQ stays open */
  .js .mobile-cta.is-armed { transform: translateY(0) !important; }
  .js .routing-band.is-pinnable .routing-caption { opacity: 1 !important; }
}

/* ─────────────────────────────────────────────────────────────────────────
   20. PRINT
   ───────────────────────────────────────────────────────────────────────── */
@media print {
  .nav, .mobile-cta, .hero-canvas, .hero-poster, .routing-band, .sponsor-band { display: none !important; }
  body { color: #000; background: #fff; }
}
