/* ==========================================================================
   Overdrive Auto Works - hand-authored, token-driven design system
   No framework, no build step, no preprocessor. This is showcase build 5,
   explicitly asked to be the most ambitious of the batch: multi-page (not
   a single scrolling page like builds 1-4), with a live shop-status chip,
   animated dashboard-style stat gauges, a filterable service grid, a
   draggable before/after comparison slider, and a multi-technician team
   grid. See README.md "Design notes" and
   Builder Man/memory/showcase-builds-batch.md for what's distinct here
   versus builds 1-4.
   Both colour schemes verified programmatically for WCAG AA contrast - see
   README.md "Verified in QA".
   ========================================================================== */

/* -------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  --ink: #1B1D1F;
  --paper: #F2F3F1;
  --paper-2: #FFFFFF;
  --paper-3: #E7E8E5;
  --muted: #5C5F61;
  --line: #DADBD8;

  /* Diagnostic teal, the one accent - reads as scan-tool/tech rather than
     hazard-orange, and needs a darker variant in light mode (a vivid teal
     bright enough to pop off near-black in dark mode fails as light-mode
     text/button - same scheme-flip issue the old orange had, computed
     before writing any markup: #0f766e measures 4.92:1 text / 5.47:1
     white-on-teal button on light paper - both pass). */
  --teal-600: #0F766E;
  --teal-700: #0B5D57;
  --btn-primary-bg: var(--teal-600);
  --btn-primary-bg-hover: var(--teal-700);
  --btn-primary-fg: #FFFFFF;
  --btn-secondary-bg: transparent;
  --btn-secondary-border: var(--ink);
  --btn-secondary-fg: var(--ink);
  --btn-secondary-bg-hover: rgba(27, 29, 31, 0.06);

  --shadow-soft: 0 16px 36px -20px rgba(20, 20, 18, 0.3);
  --shadow-lift: 0 24px 50px -18px rgba(20, 20, 18, 0.35);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --surface-dark: #1B1D1F;
  --on-dark: #F2F3F1;

  --success: #146C43;
  --danger: #C0392B;
  --accent-on-dark: #2DD4BF;

  --font-display: "Rajdhani", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #F0F0EE;
    --paper: #17181A;
    --paper-2: #201F21;
    --paper-3: #262625;
    --muted: #A3A6A8;
    --line: #33342F;

    /* Brighter in dark mode - needs to pop off near-black; dark text on it
       instead of white, since white-on-teal fails regardless of scheme
       (it's the pairing, not the scheme, that's the problem). */
    --teal-600: #2DD4BF;
    --teal-700: #5EEAD4;
    --btn-primary-fg: #17181A;
    --btn-secondary-bg-hover: rgba(240, 240, 238, 0.08);

    --shadow-soft: 0 16px 36px -18px rgba(0, 0, 0, 0.55);
    --shadow-lift: 0 24px 50px -16px rgba(0, 0, 0, 0.6);

    /* Both fail their light-mode values against near-black text/backgrounds
       - brightened here so the status chip and form-error states stay
       readable in dark mode instead of only being checked in light mode. */
    --success: #4ADE80;
    --danger: #FF6B6B;
  }
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
em { font-style: normal; color: var(--teal-600); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--surface-dark); color: var(--on-dark);
  padding: 12px 18px; border-radius: var(--radius-sm);
  z-index: 200; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
::selection { background: rgba(15, 118, 110, 0.24); color: var(--ink); }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.95rem;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--btn-primary-bg-hover); transform: translateY(-2px); }
.btn-secondary { background: var(--btn-secondary-bg); color: var(--btn-secondary-fg); border-color: var(--btn-secondary-border); }
.btn-secondary:hover { background: var(--btn-secondary-bg-hover); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn:focus-visible { outline: 2.5px solid var(--teal-600); outline-offset: 3px; }

/* Logomark v2 - a rounded-square badge (matching the button shape language)
   framing a dashboard dial: a dotted gauge ring and a bold triangular
   needle, rather than the original thin-line speedometer icon. Bolder
   shapes hold up better at favicon/16px size than fine linework does. */
.logomark { display: block; flex-shrink: 0; }
.logomark-badge, .logomark-dial { stroke: var(--ink); }
.logomark-needle { fill: var(--teal-600); }
.logomark-hub { fill: var(--ink); }
.footer-brand .logomark-badge, .footer-brand .logomark-dial { stroke: var(--on-dark); }
.footer-brand .logomark-hub { fill: var(--on-dark); }
/* The footer is a fixed-dark surface in both colour schemes (see the
   cta-band eyebrow note above) - pin the needle to the non-flipping
   on-dark accent instead of the scheme-flipping --teal-600. */
.footer-brand .logomark-needle { fill: var(--accent-on-dark); }

/* -------------------------------------------------------------------------
   Header - includes a live "Open now / Closed" chip computed by script.js
   from the real current time against posted hours. None of builds 1-4
   have a live/dynamic header element.
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242, 243, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(23, 24, 26, 0.92); }
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark-text { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); letter-spacing: 0.01em; text-transform: uppercase; }
.wordmark-text span { color: var(--teal-600); }

.status-chip {
  display: none; align-items: center; gap: 7px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 6px 12px 6px 10px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line); color: var(--muted);
}
.status-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-chip.is-open { color: var(--success); border-color: rgba(30,142,90,0.35); }
.status-chip.is-open .status-chip-dot { background: var(--success); box-shadow: 0 0 0 3px rgba(30,142,90,0.18); }
.status-chip.is-closed { color: var(--muted); border-color: var(--line); }
.status-chip.is-closed .status-chip-dot { background: var(--muted); }
@media (min-width: 640px) { .status-chip { display: inline-flex; } }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 22px; }
.main-nav a { font-size: 0.92rem; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .15s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: none; font-size: 0.98rem; font-weight: 700; color: var(--ink); text-decoration: none; }

@media (max-width: 480px) {
  .header-actions .btn-primary { display: none; }
}

.menu-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: transparent; border: 1.5px solid var(--line); color: var(--ink);
}
.menu-toggle-bars { width: 20px; height: 14px; position: relative; }
.menu-toggle-bars span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; }
.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 6px; }
.menu-toggle-bars span:nth-child(3) { top: 12px; }

.mobile-nav { display: none; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { padding: 10px 24px 20px; display: flex; flex-direction: column; }
.mobile-nav a:not(.btn) { display: block; padding: 13px 4px; font-size: 1.02rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--teal-600); }
.mobile-nav li:last-child a { border-bottom: none; }
.mobile-nav-cta { margin-top: 14px; }
.mobile-nav .status-chip { display: inline-flex; margin: 4px 4px 14px; }

@media (min-width: 1040px) {
  .main-nav { display: block; }
  .header-phone { display: inline; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .wordmark-text { white-space: nowrap; }
}

/* -------------------------------------------------------------------------
   Eyebrow / section heading
   ------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-600); font-family: var(--font-body);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal-600); border-radius: 2px; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-top: 12px; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.on-dark h2 { color: var(--on-dark); }
.section-head.on-dark p:not(.eyebrow) { color: rgba(242,243,241,0.72); }

section { padding: 84px 0; }
.page-hero { padding: 56px 0 24px; }
@media (max-width: 640px) { section { padding: 56px 0; } .page-hero { padding: 40px 0 8px; } }

/* -------------------------------------------------------------------------
   Home hero - a real shop photo behind a dark scrim (not a plain-colour
   background like builds 1-3's split heroes), with an animated
   dashboard-gauge stat cluster instead of plain numbers. Because the photo
   makes this a fixed-dark surface in BOTH colour schemes, every piece of
   text and every control inside it is pinned to non-flipping on-dark
   tokens here rather than the normal --ink/--muted/--teal-600 tokens that
   assume they're sitting on the page's own paper colour - the same
   fixed-vs-flipping-token discipline documented in lessons-learned.md,
   applied up front instead of getting caught by QA afterward.
   ------------------------------------------------------------------------- */
.hero {
  padding: 96px 0 88px;
  background-image: linear-gradient(180deg, rgba(10,12,13,0.86), rgba(10,12,13,0.92)), url("images/hero-lift-inspection.jpg");
  background-size: cover;
  background-position: center 30%;
  color: var(--on-dark);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 18px; color: var(--accent-on-dark); }
.hero-copy .eyebrow::before { background: var(--accent-on-dark); }
.hero-copy h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); color: var(--on-dark); }
.hero-copy h1 em { color: var(--accent-on-dark); }
.hero-copy p:not(.eyebrow) { margin-top: 22px; font-size: 1.15rem; color: rgba(242,243,241,0.78); max-width: 52ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-secondary { border-color: var(--on-dark); color: var(--on-dark); }
.hero .btn-secondary:hover { background: rgba(242,243,241,0.1); }

.gauge-cluster { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; }
.gauge { position: relative; width: 132px; height: 132px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge-track { fill: none; stroke: rgba(242,243,241,0.25); stroke-width: 8; }
.gauge-value { fill: none; stroke: var(--accent-on-dark); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 339; stroke-dashoffset: 339; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.gauge-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gauge-label strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--on-dark); }
.gauge-label span { font-size: 0.72rem; color: rgba(242,243,241,0.65); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; max-width: 90px; }

@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
@media (prefers-reduced-motion: reduce) { .gauge-value { transition: none; } }

/* -------------------------------------------------------------------------
   Page hero banner (non-home pages) - a compact title band, not the full
   home hero.
   ------------------------------------------------------------------------- */
.page-hero-copy { max-width: 720px; }
.page-hero-copy h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.page-hero-copy p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------------------------------
   Service filter grid - category filter buttons that show/hide service
   cards. A filtering interaction none of builds 1-4 have.
   ------------------------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  border: 1.5px solid var(--line); background: var(--paper-2); color: var(--muted);
  font-weight: 600; font-size: 0.88rem; padding: 10px 18px; border-radius: var(--radius-sm);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter-btn.is-active { background: var(--teal-600); border-color: var(--teal-600); color: var(--btn-primary-fg); }
.filter-btn:focus-visible { outline: 2.5px solid var(--teal-600); outline-offset: 2px; }

.service-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.service-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px 26px; transition: opacity .25s ease, transform .25s ease;
}
.service-card[hidden] { display: none; }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-card h3 { font-size: 1.2rem; }
.service-card .price-from { font-family: var(--font-display); font-size: 1.1rem; color: var(--teal-600); white-space: nowrap; }
.service-card p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.service-card-tag { display: inline-block; margin-top: 14px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--paper-3); padding: 4px 10px; border-radius: var(--radius-sm); }
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

/* -------------------------------------------------------------------------
   Before / after comparison slider - a draggable image-reveal widget, the
   single most novel interactive component in this whole batch.
   ------------------------------------------------------------------------- */
.compare {
  position: relative; width: 100%; aspect-ratio: 4/3; max-width: 720px; margin: 0 auto;
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-lift);
  touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.compare-after { clip-path: inset(0 0 0 50%); }
.compare-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); transform: translateX(-50%); pointer-events: none; }
.compare-handle {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  background: #FFFFFF; border-radius: 50%; box-shadow: var(--shadow-soft);
  display: grid; place-items: center; cursor: ew-resize;
  border: none; color: var(--ink);
}
.compare-handle svg { width: 20px; height: 20px; }
.compare-tag { position: absolute; top: 14px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(27,29,31,0.72); color: #fff; }
.compare-tag.tag-before { left: 14px; }
.compare-tag.tag-after { right: 14px; }

/* -------------------------------------------------------------------------
   Why us - simple stat-driven cards (used on About + Home)
   ------------------------------------------------------------------------- */
.why-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.why-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 24px; }
.why-card h3 { font-size: 1.1rem; }
.why-card p { margin-top: 10px; color: var(--muted); font-size: 0.94rem; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

/* -------------------------------------------------------------------------
   Legacy / timeline (About page)
   ------------------------------------------------------------------------- */
.timeline { display: flex; flex-direction: column; }
.timeline-step { display: grid; grid-template-columns: auto 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.timeline-step:last-child { border-bottom: 1px solid var(--line); }
.timeline-year { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 2.8rem); font-weight: 700; color: var(--teal-600); line-height: 1; }
.timeline-step h3 { font-size: 1.2rem; }
.timeline-step p { margin-top: 8px; color: var(--muted); font-size: 0.96rem; max-width: 60ch; }
@media (max-width: 560px) { .timeline-step { grid-template-columns: 1fr; gap: 6px; } }

/* -------------------------------------------------------------------------
   Team grid (About page) - multiple technicians, a richer team section
   than any single-founder "about" block in builds 1-4.
   ------------------------------------------------------------------------- */
.team-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.team-card { text-align: left; }
/* .team-photo is applied directly to the <img> in the markup (not a
   wrapper div), so object-fit has to live here, not on a ".team-photo img"
   descendant selector that never matched anything - that mismatch was why
   a landscape source photo (Malik's) rendered stretched to fill the forced
   4:5 box instead of being cropped into it. */
.team-photo { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.team-card h3 { margin-top: 16px; font-size: 1.15rem; }
.team-card .team-role { color: var(--teal-600); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
.team-card p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* -------------------------------------------------------------------------
   Gallery grid (Gallery page)
   ------------------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

/* -------------------------------------------------------------------------
   Reviews - quote grid (Home + used lightly elsewhere)
   ------------------------------------------------------------------------- */
.review-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.review-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 24px; }
.review-stars { color: var(--teal-600); font-size: 0.9rem; letter-spacing: 0.14em; }
.review-card blockquote { margin: 14px 0 0; font-size: 1rem; }
.review-card footer { margin-top: 14px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
@media (min-width: 760px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }

/* -------------------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------------------- */
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-weight: 700; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform .2s ease; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--ink); }
.faq-plus::before { left: 6px; right: 6px; top: 12px; height: 2px; }
.faq-plus::after { top: 6px; bottom: 6px; left: 12px; width: 2px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { padding: 0 4px 22px; color: var(--muted); max-width: 62ch; }

/* -------------------------------------------------------------------------
   Contact - work-order styled form + info strip (Contact page)
   ------------------------------------------------------------------------- */
.contact-band { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.contact-info-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px 26px; margin-top: 24px;
}
.contact-info-card h3 { font-size: 0.98rem; }
.contact-info-card h3:not(:first-child) { margin-top: 22px; }
.contact-info-card ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.contact-info-card li { font-size: 0.98rem; }
.contact-info-card a { text-decoration: none; font-weight: 600; }
.contact-info-card a:hover { text-decoration: underline; }
.contact-info-card span { color: var(--muted); }
.chip-row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.chip { border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 6px 14px; font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.chip:first-child { border-color: var(--teal-600); color: var(--teal-600); }

.work-order {
  background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--radius-md);
  padding: 30px 26px;
}
.work-order-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 16px; margin-bottom: 22px; }
.work-order-head strong { font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; }
.work-order-head span { font-size: 0.8rem; color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; }

.field-group { margin-bottom: 18px; }
.field-label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; }
.field { width: 100%; padding: 13px 15px; font: inherit; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--paper-2); color: var(--ink); }
.field:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.16); }
textarea.field { resize: vertical; min-height: 120px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-error { display: none; color: #C0392B; font-size: 0.84rem; margin-top: 6px; }
.field[aria-invalid="true"] { border-color: #C0392B; }
.field[aria-invalid="true"] + .field-error { display: block; }

.form-status { margin-top: 16px; font-size: 0.92rem; padding: 12px 16px; border-radius: var(--radius-sm); display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(15, 118, 110, 0.1); color: var(--teal-700); }
.form-status.is-error { background: rgba(192, 57, 43, 0.1); color: var(--danger); }
.form-fineprint { margin-top: 10px; font-size: 0.82rem; color: var(--muted); }
.captcha-wrap { min-height: 65px; margin: 6px 0 18px; }
.captcha-wrap:empty { display: none; margin: 0; }

.map-panel {
  background: var(--surface-dark); color: var(--on-dark);
  border-radius: var(--radius-md); aspect-ratio: 16/10;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 28px;
}
.map-panel svg { width: 36px; height: 36px; color: var(--teal-600); }
.map-panel strong { font-family: var(--font-display); font-size: 1.05rem; }
.map-panel span { font-size: 0.85rem; opacity: 0.75; max-width: 32ch; }

@media (min-width: 940px) { .contact-grid { grid-template-columns: 0.85fr 1fr; align-items: start; } }

/* -------------------------------------------------------------------------
   CTA band (used on multiple pages)
   ------------------------------------------------------------------------- */
.cta-band { background: var(--surface-dark); color: var(--on-dark); }
.cta-band .section-head h2 { color: var(--on-dark); }
.cta-band .section-head p:not(.eyebrow) { color: rgba(242,243,241,0.72); }
/* .cta-band is a fixed-dark surface in both colour schemes, but --teal-600
   flips to a darker, light-mode-only value that fails here in light mode -
   pin the eyebrow to the non-flipping on-dark accent instead. */
.cta-band .eyebrow { color: var(--accent-on-dark); }
.cta-band .eyebrow::before { background: var(--accent-on-dark); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band .btn-secondary { border-color: var(--on-dark); color: var(--on-dark); }
.cta-band .btn-secondary:hover { background: rgba(242,243,241,0.1); }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--surface-dark); color: rgba(242, 243, 241, 0.82); padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
.footer-brand .wordmark-text, .footer-brand .wordmark-text span { color: var(--on-dark); }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; max-width: 34ch; color: rgba(242, 243, 241, 0.65); }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(242, 243, 241, 0.5); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(242, 243, 241, 0.82); text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(242, 243, 241, 0.14); font-size: 0.84rem; color: rgba(242, 243, 241, 0.55); display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* -------------------------------------------------------------------------
   Scroll reveals - IntersectionObserver driven, no scroll listeners
   ------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .gallery-item img { transition: none !important; }
}
