/* ==========================================================================
   Yonkers Paint & Hardware
   Visual refresh. Structure, content and URLs are unchanged from the port.

   Order: fonts, tokens, reset, a11y, motion, header, hero, buttons,
   layout, footer, then page-specific sections.

   Rules:
   - No raw hex outside the token block below. Exceptions are annotated
     "RAW-OK:" with a reason.
   - No raw font-size outside the type scale. Same annotation rule.
   - Every transition and animation sits inside
     @media (prefers-reduced-motion: no-preference).
   ========================================================================== */

/* ── Fonts ───────────────────────────────────────────────────────────────
   Self-hosted, latin subset, from Google Fonts' own per-subset woff2 builds.
   No CDN request at runtime: the site makes zero third-party calls.
   Barlow Condensed 600  — headings, an industrial condensed face
   Source Sans 3 400/600 — body and UI
   Symbols outside the latin subset (star glyphs, the caret, the hamburger,
   the About emoji) fall back to a system face by design. */
@font-face{
  font-family:"Barlow Condensed";
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url("/fonts/barlow-condensed-600-latin.woff2") format("woff2");
}
@font-face{
  font-family:"Source Sans 3";
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url("/fonts/source-sans-3-400-latin.woff2") format("woff2");
}
@font-face{
  font-family:"Source Sans 3";
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url("/fonts/source-sans-3-600-latin.woff2") format("woff2");
}

/* ── Tokens ─────────────────────────────────────────────────────────────
   The only place raw colour values, sizes and spacing live. */
:root{
  /* Brand */
  --primary:#0054a6;
  --primary-dark:#003d7a;
  --primary-tint:#e8f0f8;
  /* DEVIATION (audit issue 17): --secondary was #ea1c24, which measured
     4.48:1 on white and failed AA for normal text. #c41218 — already the
     old hover colour — measures 6.09:1. */
  --secondary:#c41218;
  --secondary-dark:#9d0e13;
  /* The brand red is only 2.92:1 on --neutral-900, so the dark utility
     strip needs a lighter red. 5.23:1 on that surface. */
  --secondary-on-dark:#e85d61;

  /* Four-step neutral scale, replacing the old #111 / #999 / #ccc / #ddd */
  --neutral-900:#15181c;
  --neutral-600:#5c6670;
  --neutral-300:#c7ced5;
  --neutral-200:#e0e5e9;

  /* Semantic aliases */
  --text:#1d2328;
  --text-muted:var(--neutral-600);
  --surface:#ffffff;
  --surface-alt:#f5f7f9;
  --border:var(--neutral-200);
  --on-primary:#ffffff;
  --star:#9d0e13;
  --focus:#ffcc00;
  --focus-dark:#0054a6;
  /* Worst-case effective backdrop under the hero scrim: the brightest tile
     in the photo, flattened at the scrim's lightest stop (0.50). Measured by
     tools/hero-scrim.js, not estimated. */
  --hero-scrim-solid:#7c715e;

  /* Type scale — 1.25 ratio, six steps, clamped on the top three */
  --step-0:0.8rem;
  --step-1:1rem;
  --step-2:1.25rem;
  --step-3:clamp(1.375rem, 1.26rem + 0.55vw, 1.5625rem);
  --step-4:clamp(1.5rem, 1.28rem + 1.1vw, 1.9531rem);
  --step-5:clamp(1.875rem, 1.42rem + 2.3vw, 3.0518rem);

  /* Spacing scale — 8px base, with 4px and 12px half-steps */
  --space-1:0.25rem;
  --space-2:0.5rem;
  --space-3:0.75rem;
  --space-4:1rem;
  --space-5:1.5rem;
  --space-6:2rem;
  --space-7:3rem;
  --space-8:4rem;
  --space-9:6rem;

  /* Form */
  --radius:6px;
  --shadow-1:0 1px 3px rgb(21 24 28 / .10), 0 1px 2px rgb(21 24 28 / .06);
  --shadow-2:0 8px 24px rgb(21 24 28 / .16);
  --max:1200px;
  --header-h:3.75rem;

  --font-head:"Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body:"Source Sans 3", system-ui, -apple-system, Segoe UI, Arial, sans-serif;

  --ease:cubic-bezier(.32,.72,.28,1);
}

/* ── Reset / base ────────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

html{-webkit-text-size-adjust:100%}

body{
  font-family:var(--font-body);
  font-size:var(--step-1);
  line-height:1.6;
  color:var(--text);
  background:var(--surface-alt);
  -webkit-font-smoothing:antialiased;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

h1,h2,h3{
  font-family:var(--font-head);
  font-weight:600;
  line-height:1.12;
  letter-spacing:.005em;
  text-wrap:balance;
}
h1{font-size:var(--step-5)}
h2{font-size:var(--step-4)}
h3{font-size:var(--step-3)}

p{text-wrap:pretty}

/* ── Accessibility ───────────────────────────────────────────────────── */
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:200;
  background:var(--surface);color:var(--primary);
  padding:var(--space-3) var(--space-4);
  font-weight:600;
  border-radius:0 0 var(--radius) 0;
  box-shadow:var(--shadow-2);
}
.skip-link:focus{left:0}

:focus-visible{outline:3px solid var(--focus-dark);outline-offset:2px;border-radius:2px}
.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.services-strip :focus-visible,
.cta-locksmith :focus-visible,
.callout :focus-visible,
.cta-box :focus-visible,
.faq-strip :focus-visible{outline-color:var(--focus)}

.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;
}

/* ── Motion ──────────────────────────────────────────────────────────────
   Every animation and transition on the site lives in this block, so a
   reduced-motion preference removes all of it rather than shortening it. */
@media (prefers-reduced-motion: no-preference){
  @keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

  .hero > *{animation:fadeUp .55s var(--ease) both}
  .hero > *:nth-child(2){animation-delay:.06s}
  .hero > *:nth-child(3){animation-delay:.12s}
  .hero > *:nth-child(4){animation-delay:.18s}

  .site-header{transition:box-shadow .25s var(--ease)}
  .utility-strip{transition:max-height .25s var(--ease),padding .25s var(--ease)}
  .top-nav{transition:transform .28s var(--ease)}
  .nav-scrim{animation:fadeIn .2s var(--ease) both}
  @keyframes fadeIn{from{opacity:0}to{opacity:1}}
  .drawer-close,.nav-toggle{transition:background-color .18s var(--ease)}
  .mega-grid a{transition:background-color .15s var(--ease)}
  .top-nav a,.sub-toggle,.nav-toggle{transition:background-color .18s var(--ease)}
  .btn{transition:background-color .18s var(--ease),border-color .18s var(--ease),
                 color .18s var(--ease),transform .18s var(--ease)}
  .btn:active{transform:translateY(1px)}
  .jump-links a{transition:background-color .18s var(--ease),color .18s var(--ease),
                           border-color .18s var(--ease)}
  .cat-media img,.department .dept-media img{transition:transform .5s var(--ease)}
  .cat-card:hover .cat-media img,
  .department:hover .dept-media img{transform:scale(1.045)}
  .cat-card{transition:box-shadow .2s var(--ease),transform .2s var(--ease)}
  .cat-card:hover{transform:translateY(-3px)}
  .service-card{transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
  .service-card:hover{transform:translateY(-4px)}
  .field input,.field textarea{transition:border-color .15s var(--ease),
                                          box-shadow .15s var(--ease)}
  .faq-group details{transition:box-shadow .2s var(--ease)}
  .sidebar a,.reviews .card{transition:color .15s var(--ease),box-shadow .2s var(--ease)}
}

/* ── Header ──────────────────────────────────────────────────────────────
   Two tiers: a slim utility strip carrying phone / hours / directions, and
   the main bar with the logo and nav. Sticky; the utility strip collapses
   away once the page scrolls, leaving the main bar. */
.site-header{
  position:sticky;top:0;z-index:100;
  background:var(--primary);
  color:var(--on-primary);
}

/* Utility strip */
.utility-strip{
  background:var(--neutral-900);
  font-size:var(--step-0);
  overflow:hidden;
}
.utility-inner{
  max-width:var(--max);margin:auto;
  padding:var(--space-2) var(--space-4);
  display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3) var(--space-5);
}
.utility-item{display:inline-flex;align-items:center;gap:var(--space-2);color:var(--neutral-300)}
.utility-item .icon{flex:0 0 auto}
.utility-phone{color:var(--on-primary);font-weight:600}
.utility-phone .icon{color:var(--secondary-on-dark)}
.utility-phone:hover{text-decoration:underline;text-underline-offset:.2em}
.utility-hours{margin-left:auto}
.utility-directions .icon{color:var(--secondary-on-dark)}

/* Main bar */
.header-main{
  max-width:var(--max);margin:auto;
  padding:0 var(--space-4);
  display:flex;align-items:stretch;gap:var(--space-4);
  min-height:var(--header-h);
}
.logo-wrap{display:flex;align-items:center;padding:var(--space-2) 0}
.logo-wrap img{height:2.75rem;width:auto}

/* ── Nav ─────────────────────────────────────────────────────────────── */
.top-nav{margin-left:auto;display:flex;align-items:stretch}
.top-nav > ul{list-style:none;display:flex;align-items:stretch}
.top-nav > ul > li{position:relative;display:flex}
.top-nav > ul > li > a,.sub-toggle{
  display:flex;align-items:center;gap:var(--space-1);
  padding:0 var(--space-4);
  font-family:var(--font-body);
  font-size:var(--step-1);
  font-weight:600;
  color:var(--on-primary);
  white-space:nowrap;
  background:none;border:none;cursor:pointer;
  letter-spacing:.01em;
  border-bottom:3px solid transparent;
}
.top-nav > ul > li > a:hover,.sub-toggle:hover{background:rgb(255 255 255 / .12)}
.top-nav [aria-current="page"]{
  background:rgb(255 255 255 / .10);
  border-bottom-color:var(--on-primary);
}
/* Departments is a <button>, so it cannot take aria-current. The section
   state is marked on its parent instead. */
.top-nav .is-current-section > .sub-toggle{
  background:rgb(255 255 255 / .10);
  border-bottom-color:var(--on-primary);
}

/* ── Departments mega-panel ──────────────────────────────────────────── */
.has-sub>.sub-toggle .icon-caret{margin-left:var(--space-1)}
.mega{
  display:none;
  position:absolute;top:100%;left:50%;transform:translateX(-50%);
  width:min(62rem,calc(100vw - var(--space-6)));
  background:var(--surface);
  color:var(--text);
  border-radius:0 0 var(--radius) var(--radius);
  box-shadow:var(--shadow-2);
  z-index:60;
}
.mega-inner{padding:var(--space-5)}
.mega-grid{
  list-style:none;
  display:grid;gap:var(--space-2) var(--space-4);
  grid-template-columns:repeat(3,1fr);
}
.mega-grid a{
  display:block;
  padding:var(--space-3);
  border-radius:var(--radius);
  border-bottom:0;
}
.mega-grid a:hover{background:var(--primary-tint)}
.mega-grid [aria-current="page"]{background:var(--primary-tint);box-shadow:inset 3px 0 0 var(--primary)}
.mega-name{
  display:block;
  font-family:var(--font-head);
  font-size:var(--step-2);
  font-weight:600;
  color:var(--primary);
}
.mega-blurb{
  display:block;
  font-size:var(--step-0);
  color:var(--text-muted);
  line-height:1.45;
  margin-top:var(--space-1);
}
.mega-all{
  display:inline-block;
  margin-top:var(--space-4);
  padding-top:var(--space-4);
  border-top:1px solid var(--border);
  width:100%;
  font-weight:600;
  color:var(--primary);
  text-decoration:underline;text-underline-offset:.18em;
}
.mega-all:hover{color:var(--secondary)}
@media (hover:hover){
  .has-sub:hover>.mega{display:block}
}
.has-sub:focus-within>.mega,
.has-sub.is-open>.mega{display:block}

/* Drawer-only furniture, hidden on desktop */
.nav-toggle,.drawer-head,.drawer-cta,.nav-scrim{display:none}

/* Slim the utility strip away once the page scrolls. */
.utility-strip{max-height:3rem}
.site-header.scrolled .utility-strip{max-height:0;padding:0}

/* ── Hero ────────────────────────────────────────────────────────────────
   One .hero replaces the 12 per-page variants from the old site.
   .hero--flat is the solid panel used where a department has no photo. */
.hero{
  position:relative;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  text-align:center;
  min-height:min(60vh,30rem);
  padding:var(--space-8) var(--space-4);
  color:var(--on-primary);
  background:var(--primary) center/cover no-repeat;
  overflow:hidden;
}
/* Scrim. Required, not decorative: tools/hero-scrim.js measures white over
   the raw photo at 3.23:1 in the right-third text bed and 1.45:1 at the
   brightest tile. 0.50 is the lightest opacity that clears 4.5:1 everywhere
   (4.79:1 worst case); this gradient runs 0.50 -> 0.58 so the photo keeps as
   much of its colour as AA allows. */
.hero::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg, rgb(11 14 17 / .50) 0%, rgb(11 14 17 / .58) 100%);
}
.hero > *{position:relative;z-index:1}
.hero h1{
  max-width:22ch;
  text-shadow:0 2px 12px rgb(11 14 17 / .5);
  text-transform:uppercase;
  letter-spacing:.01em;
}
.hero p{
  font-size:var(--step-2);
  max-width:52ch;
  margin-top:var(--space-4);
  text-shadow:0 1px 8px rgb(11 14 17 / .5);
}
.hero-logo{max-width:13.75rem;width:50%;height:auto;margin:0 auto var(--space-5)}

/* On wide viewports the content sits over the right-hand side of the photo,
   which is the soft-focus region (see IMAGE-MANIFEST.md). Below that it
   centres, because there is no longer a distinct "right third". */
@media(min-width:64rem){
  .hero--photo{align-items:flex-end;padding-right:var(--space-8)}
  .hero--photo > *{text-align:center;max-width:34rem;margin-left:0;margin-right:0}
  .hero--photo .hero-logo{margin-left:auto;margin-right:auto}
}
.hero-actions{
  display:flex;flex-wrap:wrap;gap:var(--space-3);
  justify-content:center;
  margin-top:var(--space-6);
}
.partner-line{
  display:inline-flex;align-items:center;justify-content:center;
  gap:var(--space-2);
  font-size:var(--step-1);
  margin-top:var(--space-6);
  text-shadow:0 1px 8px rgb(11 14 17 / .5);
}
.partner-logo{height:2.75rem;width:auto}

.hero--flat{
  min-height:0;
  padding:var(--space-7) var(--space-4);
  background:var(--primary);
}
.hero--flat::after{display:none}
.hero--flat h1{font-size:var(--step-4);text-shadow:none}
.hero--flat p{font-size:var(--step-1);opacity:.9;text-shadow:none}
.hero--tall{min-height:min(50vh,24rem)}

/* ── Buttons ─────────────────────────────────────────────────────────────
   One system, one padding. Solid red is the primary action; outline is
   secondary; the -light pair is for use on dark or photographic panels. */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:var(--space-3) var(--space-5);
  min-height:2.75rem;
  border-radius:var(--radius);
  font-family:var(--font-body);
  font-size:var(--step-1);
  font-weight:600;
  letter-spacing:.01em;
  border:2px solid transparent;
  cursor:pointer;
  text-align:center;
  background:var(--secondary);
  color:var(--on-primary);
}
.btn:hover{background:var(--secondary-dark)}

.btn-outline{
  background:transparent;
  color:var(--primary);
  border-color:var(--primary);
}

/* On dark or photographic backgrounds */
.btn-light{background:var(--surface);color:var(--primary);border-color:var(--surface)}
.btn-light:hover{background:var(--primary-tint);color:var(--primary-dark)}

.btn-ghost{
  background:transparent;
  color:var(--on-primary);
  border-color:rgb(255 255 255 / .7);
}
.btn-ghost:hover{background:var(--surface);color:var(--primary);border-color:var(--surface)}

/* ── Layout helpers ──────────────────────────────────────────────────── */
main{display:block}
.grid{display:grid;gap:var(--space-5);grid-template-columns:repeat(auto-fit,minmax(16.25rem,1fr))}
.card{
  padding:var(--space-5);
  display:flex;flex-direction:column;
}
.section-head{
  text-align:center;
  max-width:44ch;
  margin:0 auto var(--space-6);
}
.section-head h2{color:var(--primary)}
.section-head p{color:var(--text-muted);margin-top:var(--space-2)}


/* ── Surface pattern: one background, border, radius and elevation for every
   card-like block. Later rules override only what differs. */
.card,.cat-card,.department,.sidebar,.dept-section,.why-item,.contact-form,.faq-group details,.dept-faq details,.guide-card,table{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
}
.card,.cat-card,.department,.sidebar,.dept-section,.faq-strip details,.why-item,.contact-form,.faq-group details,.dept-faq details,.guide-card{box-shadow:var(--shadow-1)}


/* ── Inline link: blue, semibold, underlined, red on hover. One rule. */
.wrap > ul a,.related-list a,.service-depts a,.lang-note a,.service-guides a,.service-detail-link a,.guide-body p a,.review-all{
  color:var(--primary);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:.18em;
}
.wrap > ul a:hover,.related-list a:hover,.service-depts a:hover,.lang-note a:hover,.service-guides a:hover,.service-detail-link a:hover,.guide-body p a:hover,.review-all:hover:hover{color:var(--secondary)}


/* ── Homepage pull-quote: the reviews card in a band. Only framing is new. */
.pullquote{padding:var(--space-9) var(--space-4);background:var(--primary-tint)}
.pullquote .card{max-width:44rem;margin:auto;text-align:center;align-items:center}
.pullquote .card p{font-size:var(--step-3)}
.pullquote .attribution{justify-content:center}


/* ── Rules that resolved to identical declarations, merged. */
.brands-strip h2,.section-content h2,.services .card h2,.guide-card h2{color:var(--primary);font-size:var(--step-3);margin-bottom:var(--space-3)}
.utility-directions,.cta-locksmith .phone-link a{color:var(--on-primary);text-decoration:underline;text-underline-offset:.2em}
.wrap,.services,.reviews{max-width:var(--max);margin:var(--space-8) auto;padding:0 var(--space-4)}
.site-header.scrolled,.cat-card:hover,.service-card:hover,.faq-group details[open],.reviews .card:hover,.dept-faq details[open]{box-shadow:var(--shadow-2)}
.btn-outline:hover,details summary:hover::before{background:var(--primary);color:var(--on-primary)}
.contact-info h2,.dept-content h2,.cta-band h2{color:var(--primary);margin-bottom:var(--space-3)}
.why-list h3{color:var(--primary);font-size:var(--step-2);margin-bottom:var(--space-2)}

/* ── Footer ──────────────────────────────────────────────────────────────
   Three columns, all rendered from data: departments, services and pages,
   and the NAP/hours block. Doubles as the site's internal-linking anchor. */
.site-footer{
  background:var(--neutral-900);
  color:var(--neutral-300);
  padding:var(--space-9) var(--space-4) var(--space-6);
  font-size:var(--step-1);
  margin-top:var(--space-9);
}
.footer-grid{
  max-width:var(--max);margin:auto;
  display:grid;gap:var(--space-7) var(--space-6);
  grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));
}
.footer-col h2{
  color:var(--on-primary);
  font-size:var(--step-2);
  margin-bottom:var(--space-4);
  text-transform:uppercase;
  letter-spacing:.05em;
  display:flex;align-items:center;gap:var(--space-2);
}
.footer-col h2 .icon{color:var(--neutral-300)}
.footer-hours-head{margin-top:var(--space-6)}
.footer-links{list-style:none}
.footer-links li{margin-bottom:var(--space-2)}
.footer-links a{
  color:var(--neutral-300);
  text-decoration:none;
  display:inline-block;
  padding:var(--space-1) 0;
}
.footer-links a:hover{color:var(--on-primary);text-decoration:underline;text-underline-offset:.2em}
.footer-links--pages{
  margin-top:var(--space-4);
  padding-top:var(--space-4);
  border-top:1px solid rgb(255 255 255 / .14);
}
.site-footer a{color:var(--on-primary);text-decoration:underline;text-underline-offset:.18em}
.site-footer a:hover{text-decoration-thickness:2px}
.site-footer .footer-phone{
  font-weight:600;text-decoration:none;font-size:var(--step-2);
  display:inline-flex;align-items:center;gap:var(--space-2);
}
.site-footer .footer-phone:hover{text-decoration:underline}
.site-footer .footer-phone .icon{color:var(--secondary-on-dark)}
.footer-col--nap address{margin-bottom:var(--space-3)}
.footer-col--nap p{margin-bottom:var(--space-2)}
/* Stacked links need real height and spacing to clear the WCAG 2.2
   target-size minimum; Lighthouse flagged the old <br>-separated pair. */
.footer-social{list-style:none;margin-top:var(--space-5);font-size:var(--step-0)}
.footer-social li{margin-bottom:var(--space-2)}
.footer-social a{display:inline-flex;align-items:center;min-height:2.75rem}
address{line-height:1.5;font-style:normal}
.hours{list-style:none}
.hours li{list-style:none;display:flex;justify-content:space-between;gap:var(--space-4);
          max-width:16rem;padding:var(--space-1) 0}
/* Agency credit sits in the copyright line, same muted treatment. */
.copyright .credit{white-space:nowrap}
.copyright .credit a{
  color:var(--neutral-300);
  text-decoration:underline;
  text-underline-offset:.18em;
}
.copyright .credit a:hover{color:var(--on-primary)}
.copyright{
  max-width:var(--max);margin:var(--space-7) auto 0;
  padding-top:var(--space-5);
  border-top:1px solid rgb(255 255 255 / .12);
  text-align:center;
  font-size:var(--step-0);
  color:var(--neutral-300);
}

/* ── Mobile: slide-in drawer, 820px ──────────────────────────────────────
   The nav becomes a full-height panel from the right, with the departments
   list as an accordion and a pinned call button at the bottom.
   Without JavaScript the <noscript> block in layout.njk overrides all of
   this back to a plain stacked list. */
@media(max-width:820px){
  .utility-hours{margin-left:0}
  .utility-inner{justify-content:center;gap:var(--space-2) var(--space-4)}
  .site-header.scrolled .utility-strip{max-height:0;padding:0}

  .header-main{align-items:center;gap:var(--space-2)}
  .logo-wrap img{height:2.25rem}

  .nav-toggle{
    display:flex;align-items:center;justify-content:center;
    margin-left:auto;
    min-width:2.75rem;min-height:2.75rem;
    background:none;border:none;color:var(--on-primary);cursor:pointer;
    border-radius:var(--radius);
  }
  .nav-toggle:hover{background:rgb(255 255 255 / .12)}

  .nav-scrim{
    display:block;
    position:fixed;inset:0;
    background:rgb(11 14 17 / .5);
    z-index:110;
  }
  .nav-scrim[hidden]{display:none}

  .top-nav{
    position:fixed;top:0;right:0;bottom:0;
    width:min(22rem,86vw);
    z-index:120;
    background:var(--primary);
    display:flex;flex-direction:column;
    margin:0;
    transform:translateX(100%);
    overflow-y:auto;
    overscroll-behavior:contain;
    box-shadow:var(--shadow-2);
  }
  .top-nav.open{transform:none}

  .drawer-head{
    display:flex;align-items:center;justify-content:space-between;
    padding:var(--space-4) var(--space-4) var(--space-3);
    border-bottom:1px solid rgb(255 255 255 / .18);
  }
  .drawer-title{
    font-family:var(--font-head);
    font-size:var(--step-2);
    font-weight:600;
    text-transform:uppercase;letter-spacing:.06em;
  }
  .drawer-close{
    background:none;border:none;color:var(--on-primary);
    font-size:var(--step-4);line-height:1;cursor:pointer;
    min-width:2.75rem;min-height:2.75rem;
    border-radius:var(--radius);
  }
  .drawer-close:hover{background:rgb(255 255 255 / .12)}

  .top-nav > ul{
    display:flex;flex-direction:column;align-items:stretch;
    flex:1 1 auto;
    padding:var(--space-2) 0;
  }
  .top-nav > ul > li{display:block;position:static}
  .top-nav > ul > li > a,.sub-toggle{
    width:100%;
    padding:var(--space-3) var(--space-4);
    min-height:2.75rem;
    border-bottom:0;
    justify-content:flex-start;
  }
  .top-nav [aria-current="page"]{
    border-bottom:0;
    box-shadow:inset 3px 0 0 var(--on-primary);
  }

  /* Departments accordion */
  .sub-toggle{justify-content:space-between}
  .mega{
    position:static;transform:none;width:auto;
    background:rgb(0 0 0 / .18);
    box-shadow:none;border-radius:0;
    color:var(--on-primary);
  }
  .mega-inner{padding:var(--space-2) 0}
  .mega-grid{grid-template-columns:1fr;gap:0}
  .mega-grid a{
    padding:var(--space-3) var(--space-4) var(--space-3) var(--space-6);
    border-radius:0;min-height:2.75rem;
  }
  .mega-grid a:hover{background:rgb(255 255 255 / .12)}
  .mega-grid [aria-current="page"]{background:rgb(255 255 255 / .12);box-shadow:inset 3px 0 0 var(--on-primary)}
  .mega-name{color:var(--on-primary);font-size:var(--step-1)}
  .mega-blurb{display:none}
  .mega-all{
    color:var(--on-primary);border-top-color:rgb(255 255 255 / .18);
    margin:0;padding:var(--space-3) var(--space-4) var(--space-3) var(--space-6);
  }
  /* Opened by its button only; hover and focus-within must not fire here. */
  .has-sub:hover>.mega,.has-sub:focus-within>.mega{display:none}
  .has-sub.is-open>.mega{display:block}

  .drawer-cta{
    display:block;
    position:sticky;bottom:0;
    padding:var(--space-4);
    background:var(--primary);
    border-top:1px solid rgb(255 255 255 / .18);
  }
  .drawer-cta .btn{width:100%;gap:var(--space-2)}
}

/* ==========================================================================
   PAGE SECTIONS
   ========================================================================== */

/* ── Homepage: department grid ───────────────────────────────────────── */
.categories{max-width:var(--max);margin:var(--space-9) auto;padding:0 var(--space-4)}
.category-grid{
  display:grid;gap:var(--space-4);
  grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));
}
.cat-card{
  overflow:hidden;
  display:flex;flex-direction:column;
}
.cat-media{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--primary)}
.cat-media img{width:100%;height:100%;object-fit:cover}
/* Flat treatment for departments with no photography: the name set
   oversized in the condensed face, not an empty box. */
.cat-media--flat{
  display:flex;align-items:center;justify-content:center;
  padding:var(--space-3);
  background:var(--primary);
}
.cat-media--flat span{
  font-family:var(--font-head);
  font-size:var(--step-4);
  font-weight:600;
  line-height:1.05;
  color:var(--on-primary);
  text-transform:uppercase;
  text-align:center;
  opacity:.92;
}
.cat-card > .cat-label{
  display:block;
  padding:var(--space-3) var(--space-4);
  font-weight:600;
  color:var(--primary);
}

/* ── Homepage: services strip ────────────────────────────────────────── */
.services-strip{
  background:linear-gradient(160deg,var(--primary) 0%,var(--primary-dark) 100%);
  color:var(--on-primary);
  text-align:center;
  padding:var(--space-9) var(--space-4);
}
.services-strip h2{margin-bottom:var(--space-2)}
.service-cards{
  display:grid;gap:var(--space-5);
  grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));
  max-width:62rem;margin:var(--space-7) auto;
}
.service-card{
  background:rgb(255 255 255 / .08);
  border:1px solid rgb(255 255 255 / .18);
  border-radius:var(--radius);
  padding:var(--space-6) var(--space-4);
}
.service-card svg{width:2.75rem;height:2.75rem;margin:0 auto var(--space-4);fill:currentColor}
.service-card h3{font-size:var(--step-2);margin-bottom:var(--space-2)}
.service-card p{font-size:var(--step-1);opacity:.92}

/* ── Homepage: locksmith CTA ─────────────────────────────────────────── */
.cta-locksmith{
  background:linear-gradient(160deg,var(--secondary) 0%,var(--secondary-dark) 100%);
  color:var(--on-primary);
  text-align:center;
  padding:var(--space-9) var(--space-4);
}
.cta-locksmith h2{margin-bottom:var(--space-4)}
.cta-locksmith p{max-width:44rem;margin:0 auto var(--space-6);font-size:var(--step-2)}
.cta-locksmith .phone-link{
  margin-top:var(--space-5);font-weight:600;font-size:var(--step-2)}

/* ── Visit / map block (homepage + contact) ──────────────────────────── */
.contact-info{
  max-width:var(--max);margin:var(--space-9) auto 0;padding:0 var(--space-4);
  display:grid;gap:var(--space-6);
  grid-template-columns:repeat(auto-fit,minmax(19rem,1fr));
  align-items:start;
}
.contact-info address{margin:var(--space-4) 0}
.phone{
  font-family:var(--font-head);
  font-size:var(--step-4);
  font-weight:600;
  color:var(--secondary);
}
.map iframe{width:100%;height:20rem;border:0;border-radius:var(--radius);
            box-shadow:var(--shadow-1);background:var(--primary-tint)}

/* ── Departments overview ────────────────────────────────────────────── */
.jump-links{
  max-width:var(--max);
  margin:var(--space-6) auto;
  padding:0 var(--space-4);
  display:flex;flex-wrap:wrap;gap:var(--space-2);
}
.jump-links a{
  background:var(--surface);
  border:1px solid var(--border);
  color:var(--primary);
  padding:var(--space-2) var(--space-4);
  border-radius:100px;
  font-size:var(--step-1);
  font-weight:600;
}
.jump-links a:hover{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}

.departments-main{max-width:var(--max);margin:auto;padding:0 var(--space-4)}
.department{
  display:grid;
  grid-template-columns:22rem 1fr;
  overflow:hidden;
  margin-bottom:var(--space-7);
}
/* Explicit alternation from the template loop, not :nth-child(even), so
   inserting a department no longer flips every one below it. */
.department.dept--flip{grid-template-columns:1fr 22rem}
.department.dept--flip .dept-media{order:2}
.department.dept--flip .dept-content{order:1}
.department .dept-media{overflow:hidden;background:var(--primary)}
.department .dept-media img{width:100%;height:100%;object-fit:cover;min-height:15rem}
.dept-content{padding:var(--space-6)}
.dept-content p{margin-bottom:var(--space-4)}
.dept-content ul{margin:0 0 var(--space-5) var(--space-5)}
.dept-content li{list-style:square;margin:var(--space-1) 0}

/* Flat panel for departments with no photography. */
.dept-media--flat{
  display:flex;align-items:center;justify-content:center;
  padding:var(--space-6);
  background:linear-gradient(160deg,var(--primary) 0%,var(--primary-dark) 100%);
  min-height:15rem;
}
.dept-media--flat span{
  font-family:var(--font-head);
  font-size:var(--step-5);
  font-weight:600;
  line-height:1.02;
  color:var(--on-primary);
  text-transform:uppercase;
  text-align:center;
  opacity:.94;
}

.brands-strip{
  max-width:var(--max);
  margin:0 auto var(--space-8);
  padding:var(--space-6);
  background:var(--primary-tint);
  border-radius:var(--radius);
}
.brands-strip p{margin-bottom:var(--space-2);max-width:70ch}

@media(max-width:880px){
  .department,.department.dept--flip{grid-template-columns:1fr}
  .department.dept--flip .dept-media,
  .department.dept--flip .dept-content{order:0}
  .department .dept-media img{min-height:0;aspect-ratio:16/9}
  .dept-media--flat{min-height:0;aspect-ratio:16/6;padding:var(--space-5)}
}

/* ── Department detail pages ─────────────────────────────────────────── */
.dept-wrapper{
  max-width:var(--max);
  margin:var(--space-7) auto;
  padding:0 var(--space-4);
  display:grid;gap:var(--space-6);
  grid-template-columns:15rem 1fr;
  align-items:start;
}
.sidebar{
  position:sticky;top:calc(var(--header-h) + var(--space-4));
  padding:var(--space-5);
}
.sidebar h2{
  font-size:var(--step-2);
  margin-bottom:var(--space-3);
  color:var(--primary);
  text-transform:uppercase;
  letter-spacing:.04em;
}
.sidebar ul{list-style:none}
.sidebar li+li{margin-top:var(--space-2)}
.sidebar a{font-weight:600;color:var(--text)}
.sidebar a:hover{color:var(--secondary)}

.dept-intro{
  font-size:var(--step-2);
  color:var(--text-muted);
  margin-bottom:var(--space-6);
  max-width:65ch;
}
.dept-section{
  overflow:hidden;
  margin-bottom:var(--space-6);
}
.dept-section img{width:100%;aspect-ratio:16/9;object-fit:cover}
.section-content{padding:var(--space-6)}
.section-content p{margin-bottom:var(--space-3)}
.section-content ul{margin:0 0 var(--space-4) var(--space-5)}
.section-content li{list-style:square;margin:var(--space-1) 0}

.callout{
  background:linear-gradient(160deg,var(--primary) 0%,var(--primary-dark) 100%);
  color:var(--on-primary);
  padding:var(--space-6);
  border-radius:var(--radius);
  text-align:center;
  margin-top:var(--space-5);
}
.callout h2{color:var(--on-primary);font-size:var(--step-3);margin-bottom:var(--space-2)}
.callout p{margin-bottom:var(--space-5)}
.callout a:not(.btn){color:var(--on-primary);font-weight:600;text-decoration:underline;
                     text-underline-offset:.2em}

/* Mobile: the sidebar becomes a sticky horizontal chip row under the
   header instead of disappearing (resolves audit issue 37). */
@media(max-width:860px){
  .dept-wrapper{grid-template-columns:1fr;gap:var(--space-5)}
  .sidebar{
    position:sticky;top:var(--header-h);z-index:40;
    margin:0 calc(var(--space-4) * -1);
    padding:var(--space-3) 0;
    border-radius:0;border-left:0;border-right:0;border-top:0;
    box-shadow:var(--shadow-1);
    background:var(--surface);
  }
  .sidebar h2{
    font-size:var(--step-0);
    padding:0 var(--space-4);
    margin-bottom:var(--space-2);
    color:var(--text-muted);
  }
  .sidebar ul{
    display:flex;gap:var(--space-2);
    overflow-x:auto;
    padding:var(--space-1) var(--space-4);
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
  }
  .sidebar li+li{margin-top:0}
  .sidebar li{flex:0 0 auto}
  .sidebar a{
    display:block;white-space:nowrap;
    background:var(--primary-tint);
    color:var(--primary);
    padding:var(--space-2) var(--space-4);
    border-radius:100px;
    font-size:var(--step-1);
  }
  .sidebar a:hover{background:var(--primary);color:var(--on-primary)}
}
/* Anchor targets clear both sticky bars. */
.dept-section,.department,.faq-group{scroll-margin-top:calc(var(--header-h) + var(--space-9))}

/* ── Services page ───────────────────────────────────────────────────── */
.services .grid{grid-template-columns:repeat(auto-fit,minmax(19rem,1fr))}
.services .card ul{margin:0 0 var(--space-4) var(--space-5)}
.services .card li{list-style:square;margin:var(--space-1) 0}
/* superseded by .service-note; the old :last-child rule overrode .badge
   and produced a 1.04:1 pair (found by Lighthouse, Package 0). */
.badge{
  display:inline-block;
  background:var(--secondary);color:var(--on-primary);
  font-family:var(--font-body);
  font-size:var(--step-0);
  font-weight:600;
  padding:var(--space-1) var(--space-2);
  border-radius:100px;
  margin-left:var(--space-2);
  vertical-align:middle;
  text-transform:uppercase;letter-spacing:.04em;
}
p.badge{margin-left:0}

.faq-strip{
  background:var(--primary);
  color:var(--on-primary);
  margin-top:var(--space-9);
  padding:var(--space-9) var(--space-4);
}
.faq-strip h2{text-align:center;margin-bottom:var(--space-6)}
.faq-strip details{
  background:var(--surface);color:var(--text);
  border-radius:var(--radius);
  max-width:50rem;margin:var(--space-3) auto;
  padding:var(--space-4) var(--space-5);
}

/* ── About page ──────────────────────────────────────────────────────── */
.section{margin-bottom:var(--space-7)}
.section h2{color:var(--primary);margin-bottom:var(--space-4)}
.section p{margin-bottom:var(--space-4);max-width:70ch}
.why-grid{display:grid;gap:var(--space-4);
          grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}
.why-item{
  border-left:3px solid var(--secondary);
  padding:var(--space-5);
  display:flex;gap:var(--space-3);
}
.why-item span{font-size:var(--step-3);line-height:1}
.cta-box{
  background:linear-gradient(160deg,var(--primary) 0%,var(--primary-dark) 100%);
  color:var(--on-primary);
  border-radius:var(--radius);
  padding:var(--space-7) var(--space-5);
  text-align:center;
}
.cta-box h2{color:var(--on-primary);margin-bottom:var(--space-3)}
.cta-box p{margin-bottom:var(--space-5)}
.about-figure{margin-bottom:var(--space-7)}
.about-figure img{
  width:100%;aspect-ratio:16/9;object-fit:cover;object-position:center 30%;
  border-radius:var(--radius);box-shadow:var(--shadow-1);
}

/* ── Contact page ────────────────────────────────────────────────────── */
.contact-wrap{
  max-width:var(--max);margin:var(--space-8) auto;padding:0 var(--space-4);
  display:grid;gap:var(--space-6);
  grid-template-columns:repeat(auto-fit,minmax(19rem,1fr));
  align-items:start;
}
.contact-wrap .contact-info{max-width:none;margin:0;padding:0;display:block}
.contact-wrap .contact-info h2{font-size:var(--step-3)}
.contact-wrap .hours{margin:var(--space-4) 0}
.contact-wrap .hours li{color:var(--text-muted)}
.contact-form{
  padding:var(--space-6);
}
.contact-form h2{font-size:var(--step-3);margin-bottom:var(--space-5);color:var(--primary)}
.field{margin-bottom:var(--space-5);display:flex;flex-direction:column}
.field label{margin-bottom:var(--space-2);font-weight:600;font-size:var(--step-1)}
.field input,.field textarea{
  padding:var(--space-3) var(--space-4);
  min-height:2.75rem;
  border:1px solid var(--neutral-600);
  border-radius:var(--radius);
  font-family:inherit;
  font-size:var(--step-1);
  color:var(--text);
  background:var(--surface);
}
.field textarea{min-height:9rem;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:var(--text-muted)}
.field input:focus-visible,.field textarea:focus-visible{
  outline:3px solid var(--focus-dark);outline-offset:1px;
  border-color:var(--primary);
}
.contact-form .btn{width:100%}

/* ── FAQ page ────────────────────────────────────────────────────────── */
.faq-main{max-width:52rem;margin:var(--space-8) auto;padding:0 var(--space-4)}
.faq-group{margin-bottom:var(--space-7)}
.faq-group h2{
  font-size:var(--step-3);margin-bottom:var(--space-4);color:var(--primary);
  padding-bottom:var(--space-2);border-bottom:2px solid var(--border);
}
.faq-group details{
  margin-bottom:var(--space-3);
  padding:var(--space-4) var(--space-5);
}
details summary{font-weight:600;cursor:pointer;list-style-position:outside}
details summary::marker{color:var(--secondary)}
details p{margin-top:var(--space-3);color:var(--text-muted)}

/* ── Reviews page ────────────────────────────────────────────────────── */
/* DEVIATION: star colour was #ffb400, 1.78:1 on white and failing at any
   size. The glyphs also carry a visually-hidden text equivalent. */
.stars{display:block;color:var(--star);margin-bottom:var(--space-2)}
.stars-icons{display:inline-flex;gap:.125rem}
.stars svg{display:block}
.reviews .card p{margin-bottom:var(--space-3)}
.reviews .card .attribution{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-2);
  font-size:var(--step-0);font-weight:600;color:var(--text-muted);
}
.reviews .card .attribution{margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--border)}

/* ── 404 / thanks ────────────────────────────────────────────────────── */
.wrap h2{color:var(--primary);margin-bottom:var(--space-4)}
.wrap > ul{margin-left:var(--space-5)}
.wrap > ul li{margin:var(--space-2) 0}

/* ── Internal linking blocks ─────────────────────────────────────────── */
.related{
  background:var(--primary-tint);
  border-radius:var(--radius);
  padding:var(--space-6);
  margin-bottom:var(--space-6);
}
.related h2{font-size:var(--step-3);color:var(--primary);margin-bottom:var(--space-4)}
.related-list{list-style:none;display:grid;gap:var(--space-4);
              grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.related-list li{display:flex;flex-direction:column;gap:var(--space-1)}
.related-list a{
  font-family:var(--font-head);
  font-size:var(--step-2);
}
.related-list span{font-size:var(--step-0);color:var(--text-muted);line-height:1.5}

.service-note{margin-top:auto;color:var(--text-muted)}
.service-depts{
  margin-top:var(--space-3);
  padding-top:var(--space-3);
  border-top:1px solid var(--border);
  font-size:var(--step-0);
  color:var(--text-muted);
}

/* ── One photo treatment, used everywhere ────────────────────────────── */
.figure{margin:0}
.figure img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--primary-tint);
}
.figure figcaption{
  margin-top:var(--space-2);
  font-size:var(--step-0);
  color:var(--text-muted);
  line-height:1.5;
}
.figure--card img{aspect-ratio:4/3;margin-bottom:var(--space-3)}
.figure--card figcaption{margin-bottom:var(--space-4)}
.figure-row{
  display:grid;gap:var(--space-5);
  grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));
  margin-bottom:var(--space-7);
}
.about-figure img{aspect-ratio:16/9;object-position:center 30%}

/* ── Homepage: why-us band ───────────────────────────────────────────── */
.whyus{background:var(--surface);padding:var(--space-9) var(--space-4);
       border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.whyus-inner{max-width:var(--max);margin:auto}
.why-list{
  list-style:none;display:grid;gap:var(--space-6);
  grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));
}
.why-list li{text-align:center}
.why-list .icon{margin:0 auto var(--space-3);color:var(--secondary);width:2rem;height:2rem}
.why-list p{font-size:var(--step-0);color:var(--text-muted);line-height:1.55}

/* ── Homepage: gallery band ──────────────────────────────────────────── */
.gallery{background:var(--surface-alt);padding:var(--space-9) var(--space-4)}
.gallery-inner{max-width:var(--max);margin:auto}
.gallery-grid{
  display:grid;gap:var(--space-5);
  grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));
}

/* ── Department FAQs ─────────────────────────────────────────────────── */
.dept-faq{margin-bottom:var(--space-6)}
.dept-faq h2{font-size:var(--step-3);color:var(--primary);margin-bottom:var(--space-4)}
.dept-faq details{
  margin-bottom:var(--space-3);
  padding:var(--space-4) var(--space-5);
}

/* ── Services: what / when / bring ───────────────────────────────────── */
.service-detail{margin:var(--space-4) 0}
.service-detail dt{
  font-family:var(--font-head);
  font-size:var(--step-1);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:var(--primary);
  margin-top:var(--space-3);
}
.service-detail dd{margin:var(--space-1) 0 0;font-size:var(--step-0);line-height:1.6}

/* ── Contact: Spanish note ───────────────────────────────────────────── */
.lang-note{
  background:var(--primary-tint);
  border-left:3px solid var(--primary);
  border-radius:0 var(--radius) var(--radius) 0;
  padding:var(--space-4) var(--space-5);
  margin:var(--space-5) 0;
  font-size:var(--step-0);
  line-height:1.6;
}

/* ── Section rhythm ──────────────────────────────────────────────────────
   Top-level bands share one vertical rhythm and alternate surface against
   surface-alt, so no two adjacent bands read the same. */
.band--surface{background:var(--surface);border-block:1px solid var(--border)}
.band--alt{background:var(--surface-alt)}
.categories.band--alt{margin:0;padding:var(--space-9) var(--space-4)}
.categories.band--alt > *{max-width:var(--max);margin-inline:auto}
/* Keep the two-column grid; only the band framing changes. */
.contact-info.band--surface{
  max-width:none;margin:0;
  padding:var(--space-9) var(--space-4);
}
.contact-info.band--surface > *{max-width:calc((var(--max) - var(--space-6)) / 2)}
.contact-info.band--surface{justify-items:center;justify-content:center}

/* ── Icons in headings and labels ────────────────────────────────────── */
.icon{flex:0 0 auto;display:block}
.services .card h2,
.footer-grid h2,
.site-footer .footer-phone{display:flex;align-items:center;gap:var(--space-2)}
.services .card h2 .icon{color:var(--secondary)}
.footer-grid h2 .icon{color:var(--neutral-300)}
.site-footer .footer-phone .icon{color:var(--on-primary)}
.services .card h2 .badge{margin-left:auto}

/* ── Chips: WCAG 2.2 target size ─────────────────────────────────────────
   Lighthouse flagged the jump links at baseline. Chips now clear the 24px
   minimum comfortably and carry their own spacing. */
.jump-links{gap:var(--space-3)}
.jump-links a,
.sidebar a{min-height:2.75rem;display:inline-flex;align-items:center}
.jump-links a{padding:var(--space-2) var(--space-5)}

/* ── Card and testimonial polish ─────────────────────────────────────── */
.card{border-radius:var(--radius)}
.reviews .card{
  border-top:3px solid var(--secondary);
  padding-top:var(--space-5);
}
.reviews .card blockquote{margin:0}
.services .card{padding:var(--space-6)}
.related{border:1px solid var(--border)}

/* ── Services lead figure + price note ───────────────────────────────── */
.services-lead{margin-bottom:var(--space-6)}
.services-lead .figure img{aspect-ratio:16/9}
.price-note{
  margin-top:var(--space-4);
  padding:var(--space-3) var(--space-4);
  background:var(--primary-tint);
  border-left:3px solid var(--primary);
  border-radius:0 var(--radius) var(--radius) 0;
  font-size:var(--step-0);
  color:var(--text);
}

/* ── Contact: parking note ───────────────────────────────────────────── */
.parking-note{
  display:flex;align-items:flex-start;gap:var(--space-2);
  margin:var(--space-3) 0;
  font-size:var(--step-0);
  color:var(--text-muted);
}
.parking-note .icon{color:var(--primary);margin-top:.15rem}

/* ── Breadcrumbs ─────────────────────────────────────────────────────────
   Visible counterpart to the BreadcrumbList schema. */
.breadcrumbs{
  max-width:var(--max);
  margin:var(--space-5) auto 0;
  padding:0 var(--space-4);
  font-size:var(--step-0);
}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}
.breadcrumbs li{display:flex;align-items:center;gap:var(--space-2);color:var(--text-muted)}
.breadcrumbs li+li::before{content:"/";color:var(--neutral-600);opacity:.6}
.breadcrumbs a{color:var(--primary);text-decoration:underline;text-underline-offset:.18em}
.breadcrumbs a:hover{color:var(--secondary)}
.breadcrumbs [aria-current="page"]{color:var(--text-muted)}

/* ── Pre-footer CTA band ─────────────────────────────────────────────── */
.cta-band{
  background:var(--primary-tint);
  border-top:1px solid var(--border);
  padding:var(--space-8) var(--space-4);
  margin-top:var(--space-9);
}
.cta-band-inner{
  max-width:var(--max);margin:auto;
  display:grid;gap:var(--space-6);
  grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));
  align-items:center;
}
.cta-band p{margin-bottom:var(--space-4);max-width:52ch}
.cta-hours{list-style:none;font-size:var(--step-0);color:var(--text-muted)}
.cta-hours li{display:flex;justify-content:space-between;gap:var(--space-4);
              max-width:18rem;padding:var(--space-1) 0}
.cta-band-actions{display:flex;flex-wrap:wrap;gap:var(--space-3)}
.cta-band-actions .btn{gap:var(--space-2)}
.cta-band-actions .btn-outline{background:var(--surface)}

/* ── Testimonials: pull-quote treatment ──────────────────────────────── */
.reviews .card{
  border-top:0;
  border-left:3px solid var(--secondary);
  padding:var(--space-6);
  position:relative;
}
/* One quote glyph, two placements. */
.reviews .card::before{
  content:"C";
  font-family:var(--font-head);
  font-size:var(--step-5);
  color:var(--primary);
}
.reviews .card::before{position:absolute;top:var(--space-2);right:var(--space-4);line-height:1;opacity:.16}
.reviews .card h2{font-size:var(--step-2);color:var(--primary);margin-bottom:var(--space-3)}
.reviews .card p{font-size:var(--step-2);line-height:1.5}
.reviews blockquote{margin:0}
.reviews .card .attribution{
  margin-top:var(--space-4);padding-top:var(--space-3);
  border-top:1px solid var(--border);
  font-size:var(--step-0);color:var(--text-muted);font-weight:600;
  display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--space-2);
}
.attribution-name{color:var(--text)}
/* Third-party label. No review schema anywhere - see CONTENT-SOURCES.md. */
.attribution-source{
  font-weight:600;
  font-size:var(--step-0);
  color:var(--primary);
  background:var(--primary-tint);
  padding:var(--space-1) var(--space-2);
  border-radius:100px;
  white-space:nowrap;
}

/* ── Disclosures ─────────────────────────────────────────────────────── */
details summary{
  font-weight:600;cursor:pointer;list-style:none;
  display:flex;align-items:flex-start;gap:var(--space-3);
  padding-right:var(--space-2);
}
details summary::-webkit-details-marker{display:none}
details summary::before{
  content:"+";
  flex:0 0 auto;
  width:1.5rem;height:1.5rem;
  display:grid;place-items:center;
  border-radius:50%;
  background:var(--primary-tint);
  color:var(--primary);
  font-family:var(--font-head);
  line-height:1;
}
details[open] summary::before{content:"\2212"}
.faq-strip details summary::before{background:var(--primary-tint);color:var(--primary)}

/* ── Tables ──────────────────────────────────────────────────────────── */
.table-wrap{overflow-x:auto;margin:var(--space-5) 0}
table{
  border-collapse:collapse;width:100%;
  font-size:var(--step-0);
}
th,td{padding:var(--space-3) var(--space-4);text-align:left;
      border-bottom:1px solid var(--border);vertical-align:top}
thead th{
  background:var(--primary-tint);
  color:var(--primary);
  font-family:var(--font-head);
  font-weight:600;
  text-transform:uppercase;letter-spacing:.04em;
  white-space:nowrap;
}
tbody tr:last-child td{border-bottom:0}

/* ── Inner-page hero: one treatment ──────────────────────────────────── */
.hero--inner{min-height:min(38vh,20rem);padding:var(--space-8) var(--space-4)}

/* ── Guides ──────────────────────────────────────────────────────────── */
.guides-lede{font-size:var(--step-2);color:var(--text-muted);max-width:60ch;margin-bottom:var(--space-7)}
.guide-grid{
  list-style:none;
  display:grid;gap:var(--space-5);
  grid-template-columns:repeat(auto-fit,minmax(18rem,1fr));
}
.guide-card{
  display:flex;flex-direction:column;height:100%;
  border-left:3px solid var(--primary);
  padding:var(--space-5);
}
.guide-card p{color:var(--text-muted);font-size:var(--step-0);line-height:1.6;margin-bottom:var(--space-4)}
.guide-card .guide-more{margin-top:auto;font-weight:600;color:var(--secondary)}
.guide-card:hover{box-shadow:var(--shadow-2);border-left-color:var(--secondary)}

/* Guide body: a single readable measure. */
.guide-body{max-width:44rem}
.guide-lede{
  font-size:var(--step-2);
  color:var(--text-muted);
  line-height:1.5;
  padding-bottom:var(--space-5);
  margin-bottom:var(--space-5);
  border-bottom:1px solid var(--border);
}
.guide-body h2{
  color:var(--primary);
  margin:var(--space-7) 0 var(--space-3);
}
.guide-body p{margin-bottom:var(--space-4)}
.guide-figure{
  width:100%;aspect-ratio:16/9;object-fit:cover;
  border-radius:var(--radius);border:1px solid var(--border);
  margin:var(--space-6) 0;
}
.guide-body .table-wrap{margin:var(--space-5) 0 var(--space-6)}

/* ── Service card: guide links ───────────────────────────────────────── */
.service-guides{
  margin-top:var(--space-3);
  font-size:var(--step-0);
  color:var(--text-muted);
}

/* ── Service card: detail page link ──────────────────────────────────── */
.service-detail-link{margin-top:var(--space-3);font-weight:600}

/* ── Reviews: Google review call to action ───────────────────────────── */
.review-cta{text-align:center;margin-top:var(--space-6)}
.review-cta p{margin-bottom:var(--space-3)}

