/* ==========================================================================
   EMTR Fleet Maintenance & Repairs - design system
   Dark industrial. Blue/steel from the logo. OKLCH tokens. No #000/#fff.
   ========================================================================== */

:root {
  --hue: 68;   /* warm graphite; the deep theme flips this to 252 */
  --ink:         oklch(0.17 0.022 var(--hue));
  --ink-2:       oklch(0.21 0.028 var(--hue));
  --surface:     oklch(0.25 0.030 var(--hue));
  --surface-2:   oklch(0.30 0.032 var(--hue));
  --line:        oklch(0.36 0.030 var(--hue));
  --steel:       oklch(0.74 0.018 var(--hue));
  --blue:        oklch(0.62 0.165 252);
  --blue-bright: oklch(0.74 0.150 240);
  --blue-deep:   oklch(0.42 0.130 256);
  --paper:       oklch(0.965 0.010 var(--hue));
  --muted:       oklch(0.74 0.020 var(--hue));
  --faint:       oklch(0.66 0.018 var(--hue));   /* lifted from 0.58 for AA on small informational text */

  --blue-glow:   oklch(0.62 0.165 252 / 0.45);
  --shadow:      0 18px 50px -20px oklch(0.10 0.04 var(--hue) / 0.8);

  --maxw: 1240px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --radius: 14px;
  --radius-lg: 22px;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --amber: oklch(0.78 0.15 75);   /* fault state only, never a brand colour */

  --ease: cubic-bezier(0.16, 1, 0.3, 1);        /* ease-out-expo-ish */
}
/* de-vibe S1141: the deep theme (Katrin's preference), blue-black instead of warm graphite. ?theme=deep on any page, remembered per browser. */
:root[data-theme="deep"] {
  --hue: 252;
  --ink:         oklch(0.12 0.018 252);
  --ink-2:       oklch(0.16 0.022 252);
  --surface:     oklch(0.20 0.026 252);
  --surface-2:   oklch(0.25 0.028 252);
  --line:        oklch(0.32 0.028 252);
  --steel:       oklch(0.74 0.016 252);
  --paper:       oklch(0.965 0.008 252);
  --muted:       oklch(0.75 0.018 252);
  --faint:       oklch(0.65 0.016 252);
  --shadow:      0 18px 50px -20px oklch(0.06 0.03 252 / 0.85);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

::selection { background: var(--blue); color: oklch(0.99 0 0); }

:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 300; padding: 0.8rem 1.2rem; background: var(--blue); color: oklch(0.99 0.01 var(--hue)); font-weight: 600; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--blue-bright);
  display: inline-block;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.4rem, 6vw, 6rem); position: relative; }
.section--tight { padding-block: clamp(2.6rem, 4.5vw, 4rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-top: 0.9rem; }
.section-head p { margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--blue);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s ease, border-color .3s ease;
  will-change: transform;
}
.btn--primary { background: var(--bg); color: oklch(0.99 0.01 var(--hue)); box-shadow: 0 0 0 0 var(--blue-glow); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px -12px var(--blue-glow), 0 0 0 4px oklch(0.62 0.165 252 / 0.14); }
.btn--ghost { background: transparent; color: var(--paper); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--steel); transform: translateY(-3px); background: oklch(0.30 0.032 var(--hue) / 0.5); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.1rem;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: oklch(0.19 0.026 var(--hue) / 0.86);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow);
  padding-block: 0.7rem;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__logo img { height: 54px; width: auto; transition: height .4s ease; }
.site-header.scrolled .nav__logo img { height: 44px; }
@media (max-width: 767px) { .nav__logo img { height: 46px; } .site-header.scrolled .nav__logo img { height: 40px; } }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-weight: 500; font-size: 0.96rem; color: var(--muted); position: relative; transition: color .25s ease; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--blue-bright); transition: width .35s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--paper); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-family: var(--font-display); letter-spacing: 0.01em; }
.nav__phone .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 0 var(--blue-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 var(--blue-glow);} 70%{box-shadow:0 0 0 12px oklch(0.62 0.165 252 / 0);} 100%{box-shadow:0 0 0 0 oklch(0.62 0.165 252 / 0);} }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--paper); transition: transform .35s var(--ease), opacity .25s ease; }

/* ====================================================================
   HERO — "CALLOUT": the line that comes to you
   Map backdrop + engineered scrim + drawn route + mono instrument layer.
   ==================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }

/* immersive real on-site photo backdrop, dark blue-toned (authenticity = the moat). z0 */
.hero__photo { position: absolute; inset: 0; z-index: 0; background: url("../assets/photos/fleet_dusk_wide.jpg") 60% 58%/cover no-repeat; filter: grayscale(0.15) contrast(1.06) brightness(0.62); transform: scale(1.04); }
@media (max-width: 767px) { .hero__photo { background-image: url("../assets/photos/fleet_dusk_tall.jpg"); background-position: center 42%; } }
.hero__photo::after { content: ""; position: absolute; inset: 0; background:
    radial-gradient(110% 120% at 80% 22%, oklch(0.46 0.15 252 / 0.34), transparent 56%),
    radial-gradient(90% 90% at 50% 100%, oklch(0.30 0.09 256 / 0.3), transparent 60%); }

/* scrim: heaviest bottom-left (under the type) clearing top-right (where the route resolves). Holds AA on any tile. z1 */
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
    linear-gradient(180deg, oklch(0.15 0.02 var(--hue) / 0.86) 0%, oklch(0.15 0.02 var(--hue) / 0.4) 11%, transparent 26%),
    radial-gradient(135% 130% at 8% 96%, oklch(0.15 0.02 var(--hue) / 0.97), oklch(0.16 0.02 var(--hue) / 0.55) 42%, transparent 76%),
    linear-gradient(72deg, oklch(0.16 0.022 var(--hue) / 0.94) 6%, oklch(0.16 0.022 var(--hue) / 0.5) 40%, transparent 72%),
    linear-gradient(0deg, var(--ink) 1%, oklch(0.16 0.02 var(--hue) / 0.2) 26%, transparent 46%); }

/* phone: the portrait clip puts the lit cabs right behind the sub-copy; a mid band holds the text */
@media (max-width: 767px) { .hero__scrim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 24%, oklch(0.15 0.02 var(--hue) / 0.62) 38%, oklch(0.15 0.02 var(--hue) / 0.62) 58%, transparent 76%); } }

/* cartographic route overlay. z2 */
.hero__route { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.route__radius { fill: oklch(0.62 0.165 252 / 0.05); stroke: oklch(0.62 0.165 252 / 0.4); stroke-width: 1.2; opacity: 0; transition: opacity 1s var(--ease) .5s; }
.hero.in-view .route__radius { opacity: 1; }
.route__line { fill: none; stroke: var(--blue-bright); stroke-width: 2.4; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--blue-glow)); }
.route__base { fill: var(--steel); }
.route__base-ring { fill: none; stroke: var(--steel); stroke-width: 1.5; transform-origin: center; opacity: 0.5; }
.route__pin { opacity: 0; transition: opacity .4s ease; }
.hero.routed .route__pin { opacity: 1; }
.route__pinmark { fill: var(--blue); stroke: var(--blue-bright); stroke-width: 1.5; }
.route__pindot { fill: var(--paper); }
.route__ping { fill: none; stroke: var(--blue-bright); stroke-width: 2; opacity: 0; }
.hero.routed .route__ping { animation: ping 1.8s var(--ease) .1s 2; }
@keyframes ping { 0%{ r: 8; opacity: .8; } 100%{ r: 42; opacity: 0; } }
.route__eta { fill: var(--blue-bright); font-size: 15px; letter-spacing: 1.2px; opacity: 0; transition: opacity .5s ease .2s; }
.hero.routed .route__eta { opacity: 0.92; }
@media (prefers-reduced-motion: reduce) {
  .route__radius, .route__pin, .route__eta { opacity: 1 !important; transition: none; }
  .route__ping { animation: none; }
}

/* hero content column — left-anchored editorial, NOT centred, NOT split-with-3D. z3 */
.hero__inner { position: relative; z-index: 3; width: 100%; padding-top: 7rem; padding-bottom: clamp(4rem, 9vh, 7rem); }
.hero__content { max-width: 58ch; }
.hero__logo { height: 78px; width: auto; margin-bottom: 1.5rem; filter: drop-shadow(0 2px 14px oklch(0.1 0.04 var(--hue) / 0.7)); }
.hero__eyebrow { display: block; color: var(--blue-bright); font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  font-weight: 900; line-height: 0.96; letter-spacing: -0.025em;
}
.hero-h1 .hl { color: var(--blue-bright); }
.js .hero-h1 { opacity: 0; clip-path: inset(-15% -15% 100% -15%); transition: clip-path 1.2s var(--ease) .15s, opacity .9s ease .15s; }
.hero-h1.shown { opacity: 1; clip-path: inset(-15% -15% -15% -15%); }
@media (prefers-reduced-motion: reduce) { .js .hero-h1 { opacity: 1; clip-path: none; transition: none; } }
.hero__sub { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: var(--muted); max-width: 46ch; }

/* the fault → cleared diagnostic beat */
.hero__diag { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.45rem; }
.hero__diag-label { font-size: 0.66rem; letter-spacing: 0.18em; color: var(--faint); }
.diag { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; color: var(--amber); transition: color .6s var(--ease); display: inline-flex; align-items: center; gap: 0.6rem; }
.diag::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.diag.cleared { color: var(--paper); }
@media (prefers-reduced-motion: reduce) { .diag { transition: none; } }

.hero__actions { margin-top: 2.3rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn__num { font-family: var(--font-mono); font-weight: 500; font-size: 0.9em; letter-spacing: 0.02em; padding-left: 0.7rem; margin-left: 0.5rem; border-left: 1px solid oklch(0.99 0.01 var(--hue) / 0.35); }

.hero__scrollcue {
  position: absolute; left: var(--gutter); bottom: 1.5rem; z-index: 3;
  font-size: 0.66rem; letter-spacing: 0.16em; color: var(--faint);
  display: flex; align-items: center; gap: 0.8rem;
}
.hero__scrollcue .bar { width: 34px; height: 1px; background: linear-gradient(90deg, var(--blue-bright), transparent); }
@media (max-width: 1080px) { .hero__scrollcue { display: none; } }

/* ---------- marquee strip ---------- */
/* duration scales with item count so the strip keeps the same px/sec: 24 brands = 72s */
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- generic grid helpers ---------- */
.cols { display: grid; gap: clamp(1.4rem, 2.5vw, 2.2rem); }

/* ---------- split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--surface-2), var(--ink-2));
  display: grid; place-items: center;
}
.split__media .placeholder { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 2rem; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.split p { color: var(--muted); margin-top: 1.1rem; }
.checklist { margin-top: 1.6rem; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--paper); font-weight: 500; }
.checklist svg { color: var(--blue-bright); flex: none; margin-top: 3px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; border-block: 1px solid var(--line); }
.stat { padding: clamp(1.6rem, 3vw, 2.6rem) 1rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--paper); line-height: 1; letter-spacing: -0.02em; }
.stat__num .u { color: var(--blue-bright); }
.stat__label { margin-top: 0.7rem; color: var(--muted); font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid oklch(0.5 0.10 252); padding: clamp(2.4rem, 6vw, 4.5rem); text-align: center;
  background:
    radial-gradient(100% 140% at 50% 0%, oklch(0.42 0.13 256 / 0.6), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--ink-2));
}
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.cta-band p { color: var(--muted); margin: 1rem auto 2rem; max-width: 48ch; font-size: 1.1rem; }
.cta-band .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); }
.contact__info h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.contact__info p { color: var(--muted); margin-top: 1rem; }
.contact__cards { margin-top: 2rem; display: grid; gap: 1rem; }
.cc { display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .3s ease, transform .4s var(--ease); }
.cc:hover { border-color: oklch(0.5 0.08 252); transform: translateY(-3px); }
.cc__ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: oklch(0.62 0.165 252 / 0.14); color: var(--blue-bright); flex: none; }
.cc__label { display: block; font-size: 0.8rem; color: var(--faint); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.cc__value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }

.form { padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--ink-2)); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--steel); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 10px;
  background: var(--ink); border: 1px solid var(--line); color: var(--paper);
  font: inherit; transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px oklch(0.62 0.165 252 / 0.16); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__note { font-size: 0.85rem; color: var(--faint); margin-top: 0.4rem; }
.form__status { margin-top: 1rem; font-size: 0.95rem; font-weight: 600; min-height: 1.2em; }
.form__status.ok { color: var(--blue-bright); }
.form__status.err { color: oklch(0.7 0.16 25); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: 9rem; padding-bottom: 3.5rem; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(80% 120% at 80% 0%, oklch(0.30 0.08 252 / 0.5), transparent 60%), linear-gradient(180deg, var(--ink-2), var(--ink)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; margin-top: 1rem; }
.page-hero p { color: var(--muted); margin-top: 1rem; max-width: 56ch; font-size: 1.1rem; }
.crumbs { font-size: 0.85rem; color: var(--faint); }
.crumbs a:hover { color: var(--blue-bright); }

/* ---------- service detail list ---------- */
.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.3rem; }
.svc-detail { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .5s var(--ease), border-color .4s ease; }
.svc-detail:hover { transform: translateY(-5px); border-color: oklch(0.5 0.08 252); }
.svc-detail__ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: oklch(0.62 0.165 252 / 0.14); color: var(--blue-bright); margin-bottom: 1.1rem; }
.svc-detail h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.svc-detail p { color: var(--muted); font-size: 0.96rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer__brand img { height: 42px; margin-bottom: 1.1rem; }
.footer__brand p { color: var(--muted); max-width: 36ch; font-size: 0.95rem; }
.footer__col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 1.1rem; }
.footer__col a { display: block; color: var(--muted); padding: 0.35rem 0; transition: color .25s ease; }
.footer__col a:hover { color: var(--paper); }
.footer__socials { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer__socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--steel); transition: all .3s ease; }
.footer__socials a:hover { color: var(--blue-bright); border-color: var(--blue); transform: translateY(-3px); }
.footer__bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--faint); font-size: 0.85rem; }

/* ---------- mobile fixed call bar (hidden on desktop) ---------- */
.callbar { display: none; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- mobile nav drawer ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 99; background: oklch(0.17 0.022 var(--hue) / 0.98); backdrop-filter: blur(14px); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: var(--gutter); transform: translateY(-100%); transition: transform .55s var(--ease); }
.mobile-nav.open { transform: none; }
.mobile-nav a { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--paper); }
.mobile-nav a:hover { color: var(--blue-bright); }
.mobile-nav .btn { width: fit-content; margin-top: 1rem; }

/* ---------- coverage map ---------- */
.coverage-map {
  position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 45%, oklch(0.30 0.08 252 / 0.5), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--ink-2));
  background-image:
    radial-gradient(circle at 50% 45%, oklch(0.30 0.08 252 / 0.5), transparent 60%),
    linear-gradient(oklch(0.6 0.05 252 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.6 0.05 252 / 0.06) 1px, transparent 1px);
  background-size: cover, 38px 38px, 38px 38px;
}
.coverage-map__leaflet { position: absolute; inset: 0; z-index: 0; background: var(--ink-2); }
.coverage-map .leaflet-control-attribution { background: oklch(0.17 0.022 var(--hue) / 0.72) !important; color: var(--steel) !important; font-size: 11px; }
.coverage-map .leaflet-control-attribution a { color: var(--steel) !important; }
.coverage-map__label { position: absolute; left: 1.4rem; bottom: 1.4rem; font-size: 0.85rem; color: var(--muted); line-height: 1.5; z-index: 600; pointer-events: none; text-shadow: 0 1px 10px oklch(0.12 0.03 var(--hue) / 0.95); }
.coverage-map__label strong { color: var(--paper); font-family: var(--font-display); }

/* ---------- testimonials — log entries (not cards, no decorative quote glyph) ---------- */
.logbook { border-top: 1px solid var(--line); max-width: 980px; }
.logrow { margin: 0; display: grid; grid-template-columns: 220px 1fr; gap: 1.6rem; padding: 1.6rem 1.2rem; border-bottom: 1px solid var(--line); align-items: start; transition: background .35s ease; }
.logrow:hover { background: oklch(0.22 0.028 var(--hue) / 0.5); }
.logrow__ref { color: var(--blue-bright); font-size: 0.72rem; letter-spacing: 0.1em; padding-top: 4px; }
.logrow blockquote { margin: 0; font-size: 1.08rem; line-height: 1.5; color: var(--paper); }
.logrow figcaption { margin-top: 0.7rem; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--steel); }
@media (max-width: 720px) { .logrow { grid-template-columns: 1fr; gap: 0.5rem; } .logrow__ref { padding-top: 0; } }

/* ---------- FAQ accordion ---------- */
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 0.8rem; overflow: hidden; transition: border-color .3s ease; }
.faq__item[open] { border-color: oklch(0.5 0.08 252); }
.faq__item summary { cursor: pointer; padding: 1.2rem 1.4rem; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.5rem; color: var(--steel); line-height: 1; transition: transform .35s var(--ease), color .25s ease; flex: none; }
.faq__item[open] summary::after { content: "\2212"; color: var(--blue-bright); transform: rotate(180deg); }
.faq__item summary:hover { color: var(--blue-bright); }
.faq__body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq__body p { max-width: 68ch; }
.faq__item[open] .faq__body { animation: faqopen .45s var(--ease); }
@keyframes faqopen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- gallery (real work) ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(5, 1fr); gap: 0.9rem; } }
.gallery video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.gallery figure:hover video { transform: scale(1.07); }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
/* uniform gallery, all tiles equal size for clean alignment */
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.1rem 0.9rem;
  font-size: 0.88rem; font-weight: 500; color: var(--paper);
  background: linear-gradient(transparent, oklch(0.12 0.03 var(--hue) / 0.92));
  transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease), opacity .4s ease;
}
.gallery figure:hover figcaption { transform: none; opacity: 1; }
@media (hover: none) { .gallery figcaption { transform: none; opacity: 1; } }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__phone, .nav__cta .btn--primary { display: none; }
  .nav__toggle { display: flex; }
  body { padding-bottom: 66px; }
  .callbar {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--blue); color: oklch(0.99 0.01 var(--hue));
    font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; letter-spacing: 0.01em;
    padding: 1.1rem 1rem calc(1.1rem + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 30px -12px oklch(0.1 0.04 var(--hue) / 0.75);
  }
  .callbar:active { background: var(--blue-deep); }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .field--row { grid-template-columns: 1fr; }
}

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 4vmin; background: oklch(0.12 0.03 var(--hue) / 0.92); backdrop-filter: blur(6px); }
.lightbox.open { display: grid; animation: lbfade .3s ease; }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lightbox__close { position: absolute; top: 1.4rem; right: 1.6rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: oklch(0.25 0.03 var(--hue) / 0.85); color: var(--paper); font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: border-color .25s ease, color .25s ease; }
.lightbox__close:hover { border-color: var(--steel); color: var(--blue-bright); }

/* ---------- film grain + section depth (kills the flat monotone) ---------- */
.grain {
  position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#services { background: radial-gradient(56% 52% at 6% -6%, oklch(0.33 0.1 252 / 0.16), transparent 60%); }
#fleetcare { background: radial-gradient(62% 56% at 94% -8%, oklch(0.34 0.1 252 / 0.17), transparent 62%); }
#coverage { background: radial-gradient(56% 50% at 96% 8%, oklch(0.32 0.1 252 / 0.13), transparent 60%); }
#faq .faq { margin-top: 0; }

/* ---------- full-bleed cinematic image band ---------- */
.imageband { position: relative; min-height: 62vh; display: grid; place-items: center; text-align: center; overflow: hidden; border-block: 1px solid var(--line); }
.imageband__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-attachment: fixed; transform: scale(1.05); }
.imageband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(oklch(0.14 0.03 var(--hue) / 0.76), oklch(0.14 0.03 var(--hue) / 0.88)); }
.imageband__inner { position: relative; z-index: 2; padding: clamp(3rem, 8vw, 6rem) var(--gutter); max-width: 56rem; }
.imageband .eyebrow { justify-content: center; }
.imageband h2 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); margin-top: 1rem; line-height: 1.02; }
.imageband p { color: var(--paper); opacity: 0.86; margin: 1.1rem auto 0; max-width: 44ch; font-size: 1.18rem; }
@media (max-width: 820px) { .imageband__bg { background-attachment: scroll; } }

/* ---------- Lenis smooth scroll ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- cinematic preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--ink); transition: transform 1s var(--ease); }
.preloader.done { transform: translateY(-101%); }
html:not(.js) .preloader { display: none; }
.preloader__inner { width: min(78vw, 380px); text-align: center; }
.preloader__logo { height: 42px; width: auto; margin: 0 auto 2.2rem; opacity: 0; transform: translateY(8px); animation: plin .7s var(--ease) .1s forwards; }
.preloader__bar { height: 2px; width: 100%; background: var(--line); border-radius: 2px; overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); transition: width .2s linear; }
.preloader__row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 0.9rem; }
.preloader__tag { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.preloader__pct { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--muted); }
@keyframes plin { to { opacity: 1; transform: none; } }

/* ---------- scroll progress bar ---------- */
.scrollbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 101; background: linear-gradient(90deg, var(--blue), var(--blue-bright)); box-shadow: 0 0 12px var(--blue-glow); transition: width .12s linear; }

/* ====================================================================
   CALLOUT redesign — mono instrument layer + dispatch furniture
   ==================================================================== */

/* mono utility: machine/data/instrument voice ONLY (never headlines/body) */
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-transform: uppercase; }

.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; }

/* section-index spine inside eyebrows */
.eyebrow .idx { color: var(--blue-bright); font-size: 0.82rem; font-weight: 700; }
.eyebrow .idx::after { content: "/"; margin: 0 0.1rem 0 0.35rem; color: var(--faint); }

/* JS-off: route furniture is visible (no animation gate) */
html:not(.js) .route__radius, html:not(.js) .route__pin, html:not(.js) .route__eta { opacity: 1; }

/* corner brackets framing the hero viewport */
@media (max-width: 720px) { .bracket { width: 16px; height: 16px; top: 0.8rem; bottom: 0.8rem; left: 0.8rem; right: 0.8rem; } }

/* corner accents on framed panels (map, engine, about media) */

/* fixed mono HUD status rail (desktop) */
@media (prefers-reduced-motion: reduce) { .nav__phone .pulse { animation: none; } }
@media (max-width: 1080px) { .hud { display: none; } }
@media (min-width: 1081px) { body { padding-bottom: 36px; } .hero__scrollcue { bottom: 3.4rem; } }

/* coverage docket */
.docket { margin: 1.6rem 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-family: var(--font-body); }
.docket__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; letter-spacing: 0; }
.docket__row:last-child { border-bottom: 0; }
.docket__k { color: var(--faint); }
.docket__v { color: var(--paper); font-weight: 600; }

/* capability manifest (replaces the bento card grid) */
.manifest { border-top: 1px solid var(--line); }
.manifest__row { display: grid; grid-template-columns: 1fr auto; gap: 1.4rem; align-items: center; padding: 1.5rem 1.2rem; border-bottom: 1px solid var(--line); transition: transform .4s var(--ease), background .35s ease; }
.manifest__row:hover { transform: translateY(-2px); background: oklch(0.22 0.028 var(--hue) / 0.55); }
.manifest__ref { color: var(--blue-bright); font-size: 0.78rem; align-self: start; padding-top: 5px; }
.manifest__name { font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; display: block; }
.manifest__desc { color: var(--muted); font-size: 0.95rem; display: block; margin-top: 4px; max-width: 56ch; }
.manifest__tag { color: var(--steel); font-size: 0.64rem; letter-spacing: 0.12em; border: 1px solid var(--line); padding: 0.32rem 0.6rem; border-radius: 6px; white-space: nowrap; }
.manifest__cta { color: var(--blue-bright); font-size: 0.74rem; letter-spacing: 0.08em; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.4rem; }
.manifest__cta .arrow { transition: transform .35s var(--ease); }
.manifest__row--feature { background: linear-gradient(90deg, oklch(0.32 0.07 252 / 0.42), transparent 72%); }
.manifest__row--feature:hover .manifest__cta .arrow { transform: translateX(4px); }
.manifest__row--feature .manifest__name { font-size: clamp(1.4rem, 2.3vw, 1.95rem); }
.manifest__row--feature .manifest__desc { font-size: 1rem; }
@media (max-width: 640px) {
  .manifest__row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.3rem 0.4rem; }
  .manifest__cta, .manifest__tag { justify-self: start; }
}

/* services as a tap-to-expand job list (compact, esp. on mobile) */
.joblist { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 52px 1fr auto; gap: 1.2rem; align-items: center; padding: 1.25rem 1.1rem; transition: background .3s ease; }
.job > summary::-webkit-details-marker { display: none; }
.job > summary:hover { background: oklch(0.22 0.028 var(--hue) / 0.5); }
.job__ref { color: var(--faint); font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; }
.job__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; }
.job__tag { justify-self: end; display: inline-flex; align-items: center; gap: 0.55rem; color: var(--steel); font-size: 0.64rem; letter-spacing: 0.1em; border: 1px solid var(--line); padding: 0.32rem 0.62rem; border-radius: 6px; white-space: nowrap; }
.job__tag::after { content: "+"; font-family: var(--font-body); font-size: 1rem; line-height: 1; color: var(--steel); }
.job[open] .job__tag::after { content: "\2212"; color: var(--blue-bright); }
.job__body { padding: 0 1.1rem 1.4rem calc(52px + 2.3rem); }
.job__body p { color: var(--muted); max-width: 60ch; }
.job__body .btn { margin-top: 1.1rem; }
.job[open] .job__body { animation: faqopen .4s var(--ease); }
.job--feature > summary { background: linear-gradient(90deg, oklch(0.32 0.07 252 / 0.4), transparent 72%); }
.job--feature .job__name { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
@media (max-width: 640px) {
  .job > summary { grid-template-columns: 36px 1fr auto; gap: 0.7rem; padding: 1.05rem 0.3rem; }
  .job__name { font-size: 1rem; }
  .job__body { padding: 0 0.3rem 1.2rem 0.3rem; }
  .job__tag { font-size: 0.56rem; padding: 0.25rem 0.45rem; }
}

/* we know diesel — real on-site photo */
#diesel { background: radial-gradient(58% 56% at 92% 0%, oklch(0.32 0.1 252 / 0.14), transparent 60%); }
.diesel__photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.diesel__photo img { width: 100%; height: 100%; object-fit: cover; }
.enginefamilies { display: flex; flex-wrap: wrap; gap: 0.5rem 0.7rem; margin-top: 1.5rem; }
.enginefamilies li { font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--steel); border: 1px solid var(--line); padding: 0.32rem 0.62rem; border-radius: 6px; }

/* callout sequence (how it works) */
#how { background: radial-gradient(58% 50% at 6% 0%, oklch(0.31 0.09 252 / 0.12), transparent 58%); }
.sequence { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 4vw, 3rem); position: relative; counter-reset: step; }
.sequence::before { display: none; }
.seq__step { position: relative; padding-right: 1.2rem; }
.seq__node { position: absolute; top: -2.45rem; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--blue); box-shadow: 0 0 10px var(--blue-glow); }
.seq__node--done { background: var(--blue-bright); border-color: var(--blue-bright); }
.seq__ref { display: block; color: var(--blue-bright); font-size: 0.72rem; letter-spacing: 0.1em; margin-bottom: 0.7rem; }
.seq__step { counter-increment: step; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.seq__step h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.seq__step h3::before { content: counter(step) "."; color: var(--blue-bright); margin-right: 0.5rem; }
.seq__step p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; }
@media (max-width: 760px) {
  .sequence { grid-template-columns: 1fr; padding: 0 0 0 1.7rem; gap: 1.9rem; }
  .sequence::before { top: 4px; bottom: 4px; left: 4px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--line), var(--blue) 50%, var(--line)); }
  .seq__step { padding-right: 0; }
  .seq__node { top: 3px; left: -1.7rem; }
}

/* stat labels + numbers in instrument register */
.stat__label.mono { font-size: 0.68rem; letter-spacing: 0.09em; color: var(--muted); }

/* gallery job-ref line */
.gallery figcaption .mono { display: block; font-size: 0.62rem; letter-spacing: 0.12em; color: var(--blue-bright); margin-bottom: 4px; }

/* faq ref + cc labels */
.faq__ref { color: var(--blue-bright); font-size: 0.72rem; margin-right: 0.7rem; }
.cc__label.mono { letter-spacing: 0.12em; }

/* footer manifest sign-off */
.footer__bottom .mono { font-size: 0.7rem; letter-spacing: 0.08em; }
.footer__col h4.mono { font-family: var(--font-mono); }

/* hero on mobile: anchor content to the bottom over the photo, declutter the top */
@media (max-width: 767px) {
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero__inner { padding-top: 5.5rem; padding-bottom: 5rem; }
  .hero__content { max-width: 100%; }
  .hero__logo { height: 56px; margin-bottom: 1rem; }
  .hero__eyebrow { margin-bottom: 0.9rem; }
  .bracket { display: none; }            /* corner ticks were crowding the top on phones */
  .hero__scrollcue { display: none; }
  /* the route overlay ran straight through the headline, the body copy and the buttons on a
     phone, and its ETA label collided with the hero logo. It is decorative (aria-hidden), so
     on phones the photo + headline + call button carry the hero on their own. */
  .hero__route { display: none; }
}

/* hero headline: the 58ch content column was squeezing the h1 to four lines and pushing the
   CALL buttons off a laptop screen. Let the headline break where the markup says it does. */
@media (min-width: 768px) {
  .hero__content { max-width: 62rem; }
}
/* short laptop screens (1366x768, 1440x900): tighten so the primary CTA clears the fold */
@media (min-width: 768px) and (max-height: 940px) {
  .hero__inner { padding-top: 5.4rem; padding-bottom: 3rem; }
  .hero-h1 { font-size: clamp(2.6rem, 4.6vw, 4.3rem); }
  .hero__logo { height: 60px; margin-bottom: 1.1rem; }
  .hero__eyebrow { margin-bottom: 0.9rem; }
  .hero__sub { margin-top: 1.15rem; font-size: 1.06rem; }
  .hero__diag { margin-top: 1.2rem; }
  .hero__actions { margin-top: 1.5rem; }
}

/* reduced-motion: route + diagnostic land in final state, no perpetual motion */
@media (prefers-reduced-motion: reduce) {
  .hero__map { transition: none; }
  .route__line { stroke-dashoffset: 0 !important; }
}

/* ====================================================================
   SERVICE PAGES (S966) — dedicated page per service.
   A page per service is the top-weighted local organic ranking factor,
   and it is what a fleet manager actually searches for. Reuses the
   homepage system: same tokens, same .manifest rows, same imageband.
   ==================================================================== */
body.page { padding-top: 0; }
body.page .site-header { position: sticky; }

.svc-hero { position: relative; padding-block: clamp(5.5rem, 9vw, 7rem) clamp(2.4rem, 4.5vw, 3.6rem); background:
    radial-gradient(120% 100% at 12% 0%, oklch(0.30 0.055 252 / 0.42), transparent 62%),
    linear-gradient(180deg, var(--ink-2), var(--ink)); border-bottom: 1px solid var(--line); }
.svc-hero__inner { max-width: 74ch; }
.svc-hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); margin-top: 1rem; }
.svc-hero .lead { margin-top: 1.4rem; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.6rem; }
.crumbs a { color: var(--steel); transition: color .25s ease; }
.crumbs a:hover { color: var(--blue-bright); }

.svc-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.svc-card {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.5rem 1.5rem 1.3rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  transition: transform .5s var(--ease), border-color .3s ease, background .3s ease;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--steel); }
.svc-card__tag { font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); }
.svc-card__name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; line-height: 1.15; }
.svc-card__desc { color: var(--muted); font-size: 0.94rem; }
.svc-card__go { margin-top: auto; padding-top: 0.7rem; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--steel); transition: color .25s ease; }
.svc-card:hover .svc-card__go { color: var(--blue-bright); }
.svc-card--lg { min-height: 190px; }

@media (max-width: 767px) {
  .svc-hero { padding-block: 6rem 2.4rem; }
  .svc-grid { grid-template-columns: 1fr; }
}

/* per-service link out of the homepage accordion into the full service page */
.job__more { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--blue-bright); transition: gap .3s var(--ease); }
.job__more:hover { gap: 0.85rem; }
.job__more .arrow { transition: transform .4s var(--ease); }

/* Leaflet attribution: was overflowing the framed map on phones. Constrain it. */
.coverage-map .leaflet-control-attribution {
  background: oklch(0.17 0.022 var(--hue) / 0.72) !important;
  color: var(--faint) !important;
  font-size: 0.58rem !important;
  padding: 2px 6px !important;
  max-width: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.coverage-map .leaflet-control-attribution a { color: var(--steel) !important; }

/* ====================================================================
   HERO VIDEO (S966) — the truck waking up.
   One-shot, never loops, holds on the final lit frame. The photo layer
   underneath stays as the fallback for reduced-motion, save-data and any
   browser that will not autoplay.
   ==================================================================== */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 62%;
  filter: contrast(1.06) brightness(0.88) saturate(1.0);
  opacity: 0; transition: opacity 1.1s var(--ease);
  pointer-events: none;
}
.hero.video-on .hero__video { opacity: 1; }
.hero.video-on .hero__photo { opacity: 0; transition: opacity 1.1s var(--ease); }

/* the video is already dark, so soften the scrim that was tuned for a bright photo */
.hero.video-on .hero__scrim { opacity: 0.84; }

/* portrait source on a landscape screen crops hard; frame the grille, not the mirror */
/* desktop: push the trucks right of the headline column; phone: the portrait clip frames them mid-height */
/* the clip is a locked camera (so the real number plates can be pasted over every frame); the push-in is CSS */
@keyframes hero-push { from { transform: scale(1.0); } to { transform: scale(1.09); } }
@media (min-width: 768px) { .hero__video { object-position: 60% 58%; } }  /* the desktop clip creeps in about 20% on its own; no CSS push */
/* phones: the portrait clip already creeps in about 9% on its own, so no CSS push there */
@media (prefers-reduced-motion: reduce) { .hero.video-on .hero__video { animation: none; } }
@media (max-width: 767px) { .hero__video { object-position: center 45%; } }

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}


/* ---------- de-vibe S1141 ---------- */
.job summary::after { content: "+"; font-family: var(--font-body); font-size: 1.4rem; line-height: 1; color: var(--steel); justify-self: end; transition: transform .35s var(--ease), color .25s ease; }
.job[open] summary::after { content: "\2212"; color: var(--blue-bright); }
.job summary:hover::after { color: var(--blue-bright); }
.makes { margin-top: 1.2rem; color: var(--faint); font-size: 0.92rem; max-width: 60ch; line-height: 1.55; }
.split--top { align-items: start; }
.split--top .section-head { margin-bottom: 0; }
.split--top .section-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.faq__call { margin-top: 1.6rem; color: var(--muted); }
.faq__call a { color: var(--blue-bright); font-weight: 600; text-decoration: none; }
.coverage-map__label { font-family: var(--font-body); letter-spacing: 0; }
/* section rhythm: alternate the two darks so the flat panels read as bands, not a void */
#services, #how, #about, #faq { background: var(--ink-2); }
/* film grain over everything, 3.5%: kills the flat-vector look without blurred stock behind the copy */
body::before { content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@media (prefers-reduced-motion: reduce) { body::before { display: none; } }

/* dark grade for the keyless OSM tiles; the ring and marker sit in the overlay pane and keep their colour */
.coverage-map__leaflet .leaflet-tile-pane { filter: invert(1) hue-rotate(195deg) saturate(0.3) brightness(0.68) contrast(1.08); }
.coverage-map__leaflet .leaflet-control-attribution { font-size: 9px; background: oklch(0.2 0.02 var(--hue) / 0.85); color: var(--faint); }
/* footer: labels in the body font, mono only ever carries the phone number */
footer .mono, .site-footer .mono { font-family: var(--font-body); letter-spacing: 0.02em; text-transform: none; }
