/* =========================================================================
   Clint's Panel & Paint — shared styles
   Palette + type per research/design-language.md. Contrast values verified
   in-browser math (see NOTES.md): dark --surface #2C3038 on ground #131417
   measures 1.39:1 (>=1.35 required). Do not hand-guess these.
   ========================================================================= */

/* ---- Design tokens: light (default) ---- */
:root {
  --charcoal: #1F2124;
  --ink-deep: #131417;
  --blue: #2D6CB5;          /* fills / rules / marks / large display only */
  --blue-fill: #2D6CB5;     /* CTA fill (white label >=4.5:1 -> 5.35) */
  --blue-text: #1F5591;     /* small blue text on light (6.90:1) */
  --amber: #E8951F;         /* one job: towing / call-now / open dot */
  --amber-text: #8A5A0E;    /* small amber text on light (5.38:1) */

  --ground: #F3F4F6;        /* page ground */
  --surface: #FFFFFF;       /* card / panel fill */
  --band: #E7E9EC;          /* quiet section bands, credentials strip */
  --hairline: #D9DBDF;      /* borders */

  --text: #191A1C;          /* body (15.82:1 on ground) */
  --muted: #5A5F66;         /* secondary (5.85:1 on ground) */

  /* fixed in BOTH themes — never remap */
  --on-brand: #F3F4F6;      /* light label on charcoal / blue fill */
  --on-amber: #1F2124;      /* dark label on amber fill */

  /* always-dark-surface chip (header/footer/hero) — light-on-dark in both themes */
  --chip-bg: rgba(243, 244, 246, 0.12);
  --chip-text: #F3F4F6;
  --chip-border: rgba(243, 244, 246, 0.28);

  --shadow: 0 1px 2px rgba(25, 26, 28, 0.06), 0 4px 16px rgba(25, 26, 28, 0.08);
  --shadow-lg: 0 8px 32px rgba(25, 26, 28, 0.14);

  --radius: 10px;
  --radius-sm: 6px;
  --maxw: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Work Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- Design tokens: dark override ---- */
[data-theme="dark"] {
  --ground: #131417;
  --surface: #2C3038;       /* 1.39:1 on ground — verified */
  --band: #1B1D22;
  --hairline: #40454E;      /* 1.41:1 on surface — visible border */

  --text: #ECECEE;          /* 15.61:1 on ground */
  --muted: #9A9EA4;         /* 4.92:1 on surface */

  --blue-text: #6FA8E0;     /* lifted blue on dark surface (5.26:1) */
  --amber-text: #F0B45E;    /* lifted amber on dark surface (7.18:1) */

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);

  /* chip tokens stay light-on-dark — unchanged from :root */
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1rem; }
a { color: var(--blue-text); }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--band { background: var(--band); }
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-text);
  margin: 0 0 0.5rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 0.75rem 1.35rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  min-height: 48px; line-height: 1.2; transition: transform 0.06s ease, filter 0.15s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue-fill); color: var(--on-brand); }
.btn--amber { background: var(--amber); color: var(--on-amber); }
.btn--ghost {
  background: transparent; color: var(--text); border-color: var(--hairline);
}
.btn--ghost:hover { border-color: var(--blue); filter: none; }
.btn--lg { padding: 0.95rem 1.7rem; font-size: 1.08rem; min-height: 54px; }
.btn--block { width: 100%; }

/* ---- Chips / pills (always-dark-surface safe: light-on-dark both themes) ---- */
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  background: var(--chip-bg); color: var(--chip-text);
  border: 1px solid var(--chip-border);
}
.chip--confirm {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem; border-radius: 4px;
  background: rgba(232, 149, 31, 0.16); color: var(--amber-text);
  border: 1px solid rgba(232, 149, 31, 0.4);
  vertical-align: middle; margin-left: 0.4rem; white-space: nowrap;
}
/* On a light surface (body copy) the confirm chip needs the deep-amber text */
.chip--confirm { color: var(--amber-text); }

.dot-open {
  display: inline-flex; width: 0.6rem; height: 0.6rem; border-radius: 50%;
  background: var(--amber); flex: none;
}
.status-open .dot-open { background: #37B24D; }
.status-closed .dot-open { background: #E03131; }

/* =========================================================================
   Header / nav
   ========================================================================= */
.site-header {
  background: var(--charcoal);
  color: var(--on-brand);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--blue);
}
.header-row {
  display: flex; align-items: center; gap: 1rem;
  min-height: 68px; padding-block: 0.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  flex: 0 1 auto; min-width: 0;
  color: var(--on-brand); text-decoration: none; font-family: var(--font-head);
}
.brand:hover { text-decoration: none; }
.brand-mark { flex: none; display: flex; width: 34px; height: 34px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name {
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em;
  text-transform: uppercase; white-space: nowrap; color: var(--on-brand);
}
.brand-name .brand-short { display: inline; }
.brand-name .brand-full { display: none; }

.main-nav { margin-left: auto; }
.main-nav ul {
  list-style: none; display: flex; gap: 0.35rem; margin: 0; padding: 0;
}
.main-nav a:not([class]) {
  display: inline-block; white-space: nowrap;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  color: var(--on-brand); text-decoration: none; font-weight: 500;
}
.main-nav a:not([class]):hover { background: rgba(243,244,246,0.1); text-decoration: none; }
.main-nav a[aria-current="page"] {
  color: var(--on-brand); box-shadow: inset 0 -2px 0 var(--blue);
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-actions .btn { padding: 0.55rem 1rem; min-height: 44px; }
.call-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--on-brand); text-decoration: none; font-weight: 600;
  font-family: var(--font-head); font-variant-numeric: tabular-nums;
  padding: 0.5rem 0.6rem; white-space: nowrap;
}
.call-link:hover { text-decoration: underline; }

/* theme toggle + hamburger */
.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  background: transparent; border: 1px solid rgba(243,244,246,0.25);
  border-radius: var(--radius-sm); color: var(--on-brand); cursor: pointer;
}
.icon-btn:hover { background: rgba(243,244,246,0.1); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle { display: none; }

/* ---- Off-canvas drawer (mobile) ---- */
.nav-drawer { display: none; }
.nav-scrim { display: none; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions { display: none; }   /* guard #2: hide entirely on mobile */
  .nav-toggle { display: flex; }

  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 190;
    background: rgba(0,0,0,0.5); opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .nav-scrim.open { opacity: 1; pointer-events: auto; }

  .nav-drawer {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; z-index: 200;
    width: min(84vw, 320px); height: 100%;
    background: var(--charcoal); color: var(--on-brand);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.25s ease;
    padding: 1.25rem; overflow-y: auto;
  }
  .nav-drawer.open { transform: translateX(0); }
  .nav-drawer .drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
  }
  .nav-drawer nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
  .nav-drawer nav a:not([class]) {
    display: block; padding: 0.85rem 0.5rem; color: var(--on-brand);
    text-decoration: none; font-weight: 600; font-family: var(--font-head);
    border-bottom: 1px solid rgba(243,244,246,0.12); white-space: nowrap;
  }
  .nav-drawer nav a[aria-current="page"] { color: var(--on-brand); box-shadow: inset 3px 0 0 var(--blue); }
  .drawer-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.5rem; }
  .drawer-actions .btn { width: 100%; }
  .drawer-actions .call-link,
  .drawer-actions .tow-link {
    justify-content: center; border: 1px solid rgba(243,244,246,0.25);
    border-radius: var(--radius-sm); padding: 0.7rem;
  }
}

/* keep brand short below the widest breakpoint; full wordmark at >=1280 */
@media (min-width: 1280px) {
  .brand-name .brand-short { display: none; }
  .brand-name .brand-full { display: inline; }
}

/* tow link (amber) */
.tow-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--amber-text); font-weight: 600; text-decoration: none;
  font-family: var(--font-head); font-variant-numeric: tabular-nums;
}
.tow-link:hover { text-decoration: underline; }

/* =========================================================================
   Hero (always-dark surface)
   ========================================================================= */
.hero {
  background:
    linear-gradient(160deg, rgba(19,20,23,0.92), rgba(31,33,36,0.86)),
    var(--charcoal);
  color: var(--on-brand);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(1200px 400px at 80% -10%, rgba(45,108,181,0.28), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 { color: var(--on-brand); }
.hero .lead { color: rgba(243,244,246,0.82); }
.hero-eyebrow { color: #9EC1EA; }  /* light-on-dark, both themes */
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-tow {
  margin-top: 1rem; font-size: 0.95rem; color: rgba(243,244,246,0.82);
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.hero-tow a { color: var(--amber); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.hero-tow a:hover { text-decoration: underline; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }

/* Media placeholder block (no real photos available — see NOTES.md/sources.md) */
.media-ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(45,108,181,0.10) 0 14px, transparent 14px 28px),
    var(--band);
  border: 1px dashed var(--hairline);
  min-height: 260px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 1.25rem; color: var(--muted);
}
.hero .media-ph {
  background:
    repeating-linear-gradient(45deg, rgba(158,193,234,0.10) 0 14px, transparent 14px 28px),
    rgba(243,244,246,0.06);
  border-color: rgba(243,244,246,0.25); color: rgba(243,244,246,0.75);
  min-height: 300px;
}
.media-ph .ph-label {
  font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.04em;
  max-width: 34ch;
}
.media-ph .ph-tag {
  display: block; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.4rem; opacity: 0.8;
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .media-ph { min-height: 200px; }
}

/* =========================================================================
   Credentials strip
   ========================================================================= */
.creds {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--hairline); border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden;
}
.cred {
  background: var(--surface); padding: 1.1rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.25rem;
}
.cred .cred-icon { display: flex; width: 26px; height: 26px; color: var(--blue); margin-bottom: 0.3rem; }
.cred .cred-icon svg { width: 100%; height: 100%; }
.cred strong { font-family: var(--font-head); font-size: 1rem; }
.cred span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 820px) { .creds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .creds { grid-template-columns: 1fr; } }

/* =========================================================================
   Services grid + cards
   ========================================================================= */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card-link { text-decoration: none; color: inherit; transition: transform 0.1s ease, border-color 0.15s ease; }
.card-link:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--blue); }
.card .card-icon {
  display: flex; width: 44px; height: 44px; flex: none;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm); background: rgba(45,108,181,0.12); color: var(--blue);
  margin-bottom: 0.4rem;
}
.card .card-icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card .more { margin-top: auto; padding-top: 0.6rem; color: var(--blue-text); font-weight: 600; font-size: 0.92rem; }

/* =========================================================================
   How-a-repair-works steps
   ========================================================================= */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 1.35rem; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  color: var(--blue); font-variant-numeric: tabular-nums;
  display: inline-flex; margin-bottom: 0.4rem;
}
.step h3 { font-size: 1.05rem; margin: 0 0 0.35rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* =========================================================================
   Service detail sections
   ========================================================================= */
.svc {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; padding-block: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.svc:first-of-type { border-top: 0; }
.svc:nth-child(even) .svc-media { order: -1; }
@media (max-width: 820px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-media { order: 0; }
}
.svc ul { padding-left: 1.1rem; margin: 0.75rem 0 0; }
.svc li { margin-bottom: 0.4rem; }

/* =========================================================================
   Hours + map
   ========================================================================= */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; } }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--hairline); }
.hours-table th { font-family: var(--font-head); font-weight: 600; }
.hours-table td { text-align: right; color: var(--muted); }
.hours-table tr.today th, .hours-table tr.today td { color: var(--text); font-weight: 600; }
.map-embed {
  width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--hairline);
  border-radius: var(--radius); overflow: hidden; background: var(--band);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.status-line { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-family: var(--font-head); margin-bottom: 0.75rem; }

/* NAP block */
.nap { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.nap li { display: flex; gap: 0.75rem; align-items: flex-start; }
.nap .nap-icon { display: flex; width: 22px; height: 22px; flex: none; color: var(--blue); margin-top: 0.2rem; }
.nap .nap-icon svg { width: 100%; height: 100%; }
.nap a { font-weight: 600; text-decoration: none; }
.nap a:hover { text-decoration: underline; }
.nap .big-num { font-size: 1.25rem; font-family: var(--font-head); font-variant-numeric: tabular-nums; }

/* =========================================================================
   Forms
   ========================================================================= */
.form { display: grid; gap: 1rem; max-width: 640px; }
.form .field { display: grid; gap: 0.35rem; }
.form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .field-row { grid-template-columns: 1fr; } }
.form label { font-weight: 600; font-family: var(--font-head); font-size: 0.92rem; }
.form .req { color: var(--blue-text); }
.form input, .form select, .form textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 0.7rem 0.85rem;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(45,108,181,0.25);
}
.form textarea { min-height: 120px; resize: vertical; }
fieldset { border: 1px solid var(--hairline); border-radius: var(--radius-sm); padding: 0.9rem 1rem; margin: 0; }
legend { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; padding-inline: 0.4rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.radio-row label { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-body); font-weight: 400; }
.radio-row input { width: auto; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.popia { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--hairline); padding-top: 0.9rem; }

/* callout / notice */
.notice {
  background: var(--band); border-left: 4px solid var(--blue);
  padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin: 1.25rem 0;
}
.notice--amber { border-left-color: var(--amber); }
.notice p:last-child { margin-bottom: 0; }

/* quote (real attributed FB comment) */
.quote {
  background: var(--surface); border: 1px solid var(--hairline);
  border-left: 4px solid var(--blue); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); max-width: 60ch;
}
.quote blockquote { margin: 0 0 0.75rem; font-size: 1.15rem; font-family: var(--font-head); }
.quote cite { color: var(--muted); font-style: normal; font-size: 0.9rem; }

/* text list of approvals */
.approval-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.6rem; }
.approval-list li { display: flex; align-items: flex-start; gap: 0.6rem; }
.approval-list .tick { display: flex; width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 0.15rem; }
.approval-list .tick svg { width: 100%; height: 100%; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--charcoal); color: var(--on-brand);
  padding-block: clamp(2.5rem, 5vw, 3.5rem); margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.site-footer h4 { color: var(--on-brand); font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer p, .site-footer li { color: rgba(243,244,246,0.78); font-size: 0.92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a:not([class]) { color: var(--on-brand); text-decoration: none; }
.site-footer a:not([class]):hover { text-decoration: underline; color: var(--on-brand); }
.footer-brand .brand-name { color: var(--on-brand); }
/* the footer phone links carry a class, so `.site-footer a:not([class])` doesn't
   reach them — they'd inherit the base `a{color:var(--blue-text)}`, which in light
   mode is the deep #1F5591 meant for a light ground and reads ~2:1 on the charcoal
   footer. Pin them to --on-brand in both themes (guard #8). */
.site-footer .footer-num { color: var(--on-brand); font-family: var(--font-head); font-variant-numeric: tabular-nums; font-weight: 600; }
.site-footer .footer-num:hover { color: var(--on-brand); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(243,244,246,0.15); margin-top: 2rem; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between;
  font-size: 0.82rem; color: rgba(243,244,246,0.6);
}

/* =========================================================================
   Dark-mode link recolor (guard #1)
   Scope to a:not([class]); re-set footer AND nav explicitly to --on-brand.
   ========================================================================= */
[data-theme="dark"] a:not([class]) { color: var(--blue-text); }
[data-theme="dark"] a:not([class]):hover { color: var(--blue-text); }

[data-theme="dark"] .site-footer a:not([class]) { color: var(--on-brand); }
[data-theme="dark"] .site-footer a:not([class]):hover { color: var(--on-brand); }

[data-theme="dark"] .main-nav a:not([class]) { color: var(--on-brand); }
[data-theme="dark"] .main-nav a:not([class]):hover { background: rgba(243,244,246,0.1); color: var(--on-brand); }
[data-theme="dark"] .main-nav a[aria-current="page"] { color: var(--on-brand); box-shadow: inset 0 -2px 0 var(--blue); }
[data-theme="dark"] .nav-drawer nav a:not([class]) { color: var(--on-brand); }

/* utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.body-wrap { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.cta-band { background: var(--charcoal); color: var(--on-brand); }
.cta-band h2 { color: var(--on-brand); }
.cta-band .lead { color: rgba(243,244,246,0.82); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
