/* Hallmark · genre: editorial · macrostructure: Photographic · theme: custom (steel-blue anchor, dark)
 * enrichment: real photography (Tier: authentic — no generated imagery used) · nav: N9 (scroll-morph) · footer: Ft1
 * pre-emit critique: P4 H4 E4 S4 R5 V4
 */
@import url("tokens.css");

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 350;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 700; overflow-wrap: anywhere; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.container { max-width: 78rem; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }
.eyebrow {
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
}

/* ============ NAV — solid dark navy top bar (v2: chargerlogistics.com's
   nav is a permanent dark navy bar, not a white-to-scrolled one, so v2
   follows that instead of v1's white nav) ============
   The sticky positioning lives on <header>, not <nav>, on purpose: a
   position:sticky element is constrained within its own parent's box, and
   <header> here has no height of its own beyond its single <nav> child —
   with sticky on nav directly, nav had zero room to actually stick and
   silently scrolled away with the page (the "header disappears on scroll"
   bug). <header>'s containing block is <body> (page-length), which gives
   the stuck position room to hold. */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-rule);
  box-shadow: 0 1px 0 0 transparent;
  transition: height var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav.is-scrolled { height: var(--nav-height-scrolled); background: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 20px -6px rgba(0,0,0,0.12); }
body.has-static-header { padding-top: 0; }

.nav__wordmark { display: flex; align-items: center; text-decoration: none; }
.nav__logo-crop {
  display: block;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.nav__logo-crop img {
  display: block;
  height: 3rem;
  width: auto;
  transition: height var(--dur-base) var(--ease-out);
}
.nav__wordmark:hover .nav__logo-crop { opacity: 0.85; }
.nav.is-scrolled .nav__logo-crop img { height: 2.4rem; }

.nav__links { display: flex; align-items: center; gap: var(--space-lg); margin-right: var(--space-lg); }
.nav__links a { color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); font-weight: 600; transition: color var(--dur-fast) var(--ease-out); }
.nav__links a:hover { color: var(--glow-blue); }
@media (max-width: 64rem) { .nav__links { display: none; } }

.nav__actions { display: flex; align-items: center; gap: var(--space-sm); }
.nav__cta {
  border: 1.5px solid var(--color-cta);
  background: var(--color-cta);
  color: #fff;
  padding-inline: 1.5em;
  min-width: 150px;
  height: 48px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 10px -3px oklch(52% 0.19 25 / 0.4);
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav__cta:hover { background: var(--color-cta-hover); border-color: var(--color-cta-hover); box-shadow: 0 6px 18px -6px oklch(52% 0.19 25 / 0.5); }
.nav__cta { color: #fff; }
.nav__cta:active { transform: translateY(1px); }

.nav__menu-btn { display: none; }
@media (max-width: 64rem) {
  .nav__menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: none; background: transparent;
    color: var(--color-ink); cursor: pointer; order: 3;
  }
  .nav__menu-btn svg { width: 26px; height: 26px; }
  /* The hamburger panel has its own "Request a Quote" CTA - don't also
     squeeze one into the header bar alongside the logo + menu button. */
  .nav__actions { display: none; }
}

/* Mobile nav panel — dark navy, matching the v2 nav bar */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1100;
  background: var(--color-ink-paper);
  display: flex; flex-direction: column;
  padding: var(--space-md) clamp(1.25rem, 4vw, 3rem);
  transform: translateX(100%);
  transition: transform var(--dur-base) var(--ease-out);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); }
.mobile-nav__close { width: 44px; height: 44px; border: none; background: transparent; color: var(--color-ink-text); cursor: pointer; }
.mobile-nav__links { display: flex; flex-direction: column; gap: var(--space-md); margin-top: var(--space-xl); }
.mobile-nav__links a { font-size: var(--text-2xl); font-weight: 700; color: var(--color-ink-text); text-decoration: none; }
.mobile-nav__cta { margin-top: auto; margin-bottom: var(--space-xl); }
body.nav-open { overflow: hidden; }
@media (min-width: 64.01rem) { .mobile-nav { display: none; } }

/* ============ PHOTO-FOLD (generic — careers section, services band) ============ */
.photo-fold {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background: var(--color-ink-paper);
  overflow: clip;
}
.photo-fold img.bleed {
  position: absolute; inset: -8% 0 0 0;
  width: 100%; height: 116%;
  object-fit: cover;
  object-position: center 88%;
  transform: translateY(var(--parallax-y, 0));
  will-change: transform;
  filter: contrast(1.05) saturate(0.94);
}
@media (prefers-reduced-motion: reduce) {
  .photo-fold img.bleed { transform: none !important; }
}
.photo-fold::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(15% 0.01 215 / 0.05) 0%, oklch(15% 0.01 215 / 0.75) 100%);
}
.photo-fold__content {
  position: relative;
  z-index: 1;
  color: var(--color-ink-text);
  padding: var(--space-2xl) clamp(1.25rem, 4vw, 3rem) var(--space-xl);
  width: 100%;
}
.photo-fold__caption {
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-sm);
}
.photo-fold__headline {
  font-size: var(--text-display);
  max-width: 20ch;
  color: var(--color-ink-text);
}
.photo-fold__lede {
  margin-top: var(--space-md);
  font-size: var(--text-md);
  max-width: 48ch;
  color: var(--color-ink-muted);
}
.photo-fold__actions {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ============ HERO v2 — dark, cinematic treatment ============
   Studied from chargerlogistics.com/en's real hero: pulled its actual
   compiled CSS (radial rim-glow at low opacity, pulse-glow/float
   keyframes, glass badge card, gradient-clip headline text) and its
   rendered screenshot (dark warehouse backdrop, cyan+magenta rim light,
   glowing headlights). Rebuilt with JWD's own real photo underneath —
   only the color grading is stylized (a scrim + two blurred glow blobs
   in JWD's actual brand colors, blue accent + brand red instead of the
   reference's blue+violet), same as any product-photo color grade. The
   truck, the yard, the light bounce off the wet ground are all real. */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: clip;
  background: var(--color-ink-paper);
}
.hero__bleed {
  position: absolute; inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
  filter: brightness(0.45) saturate(1.08) contrast(1.05);
}
/* The actual "light flare" mechanic, lifted from the reference's real CSS:
   radial-gradient(circle at top right, rgba(59,130,246,.1), transparent) —
   here as two blurred, blended blobs so they read as rim-light glow. */
.hero__glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero__glow--blue {
  top: -14%; left: 6%;
  width: 44vw; height: 44vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.55), transparent 70%);
}
.hero__glow--red {
  bottom: -20%; right: 2%;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.38), transparent 70%);
}
/* Content is centered now (not left-anchored), so the scrim went from a
   directional left-heavy gradient to a uniform dark wash + vignette -
   centered text needs contrast across the full width, not just one side. */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(6,11,28,.55) 0%, rgba(6,11,28,.78) 65%, rgba(6,11,28,.92) 100%),
    linear-gradient(0deg, rgba(6,11,28,.65) 0%, transparent 30%);
}
.hero__content {
  position: relative; z-index: 3;
  width: 100%;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.hero__inner { max-width: 42rem; margin-inline: auto; text-align: center; }

/* Pill badge — glass card + floating bob + pulsing dot, matching the
   reference's "NEXT-GEN LOGISTICS SOLUTIONS" badge treatment. */
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #BFDBFE;
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
@media (prefers-reduced-motion: no-preference) { .hero__badge { animation: hero-float 6s ease-in-out infinite; } }
.hero__badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--glow-blue);
  box-shadow: 0 0 6px 1px rgba(59,130,246,.7);
}
@media (prefers-reduced-motion: no-preference) { .hero__badge-dot { animation: hero-pulse 2.4s ease-in-out infinite; } }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hero-pulse { 0%, 100% { opacity: .6; box-shadow: 0 0 4px 1px rgba(59,130,246,.5); } 50% { opacity: 1; box-shadow: 0 0 10px 3px rgba(59,130,246,.85); } }

.hero__eyebrow {
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
}
/* Gradient-clip accent line — the reference's white-line-1 / gradient-
   line-2 headline treatment, re-hued to JWD's blue accent family. */
.hero__headline-glow {
  background: linear-gradient(90deg, #93C5FD, var(--glow-blue) 55%, var(--glow-indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__glass {
  margin-top: var(--space-md);
  padding: 1.1em 1.3em;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  max-width: 32rem;
  margin-inline: auto;
  text-align: left;
}
.hero__lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}
.hero__actions { margin-top: var(--space-lg); display: flex; justify-content: center; gap: var(--space-md); flex-wrap: wrap; }
.hero__actions .btn-solid, .hero__actions .btn-outline, .hero__actions .btn-outline--on-dark { min-width: 165px; height: 52px; padding-inline: 1.6em; }
.hero__actions .arrow { display: inline-block; transition: transform var(--dur-fast) var(--ease-out); }
.hero__actions .btn-solid:hover .arrow, .hero__actions .btn-outline--on-dark:hover .arrow { transform: translateX(4px); }
.hero__data {
  margin-top: var(--space-xl);
  display: flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-outlier); font-size: var(--text-xs);
  letter-spacing: 0.08em; color: rgba(255,255,255,0.55);
}
.hero__data .sep { opacity: 0.5; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* Services hero uses a different source photo — cab/logo sits further
   left-of-center than the home hero truck, so the crop anchor differs. */
.hero--services .hero__bleed { object-position: 56% 38%; }
@media (max-width: 40rem) {
  .hero { min-height: 94vh; align-items: flex-end; padding-bottom: var(--space-xl); }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(6,11,28,.2) 0%, rgba(6,11,28,.72) 55%, rgba(6,11,28,.97) 80%);
  }
  .hero__headline { font-size: clamp(2rem, 8vw, 2.5rem); }
  .hero__bleed { object-position: 68% center; }
  .hero--services .hero__bleed { object-position: 62% 30%; }
  .hero__glow--blue, .hero__glow--red { width: 70vw; height: 70vw; }
}
.btn-solid, .btn-outline, .btn-outline--on-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1.6em;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  min-height: 44px;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn-solid { background: var(--color-cta); color: #fff; border: 1.5px solid var(--color-cta); box-shadow: 0 4px 14px -4px oklch(52% 0.19 25 / 0.4); }
.btn-solid:hover { background: var(--color-cta-hover); border-color: var(--color-cta-hover); box-shadow: 0 8px 20px -6px oklch(52% 0.19 25 / 0.5); }
/* Default outline button — dark paper is now the default context */
.btn-outline { background: transparent; color: var(--color-ink); border: 1.5px solid var(--color-rule); }
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-paper-2); }
/* On-dark variant — for use inside .photo-fold sections (careers band, services tanker band) */
.btn-outline--on-dark { background: transparent; color: var(--color-ink-text); border: 1.5px solid var(--color-ink-rule); }
.btn-outline--on-dark:hover { border-color: var(--color-ink-text); background: oklch(100% 0 0 / 0.1); }
/* Hover lift/scale for these three is handled by Motion (see the module
   script) so it can spring rather than ease-linear; :active stays CSS-only
   as the touch/keyboard fallback since hover never fires on tap. */
.btn-solid:active, .btn-outline:active, .btn-outline--on-dark:active { transform: translateY(1px); }

/* Glow-sweep hover — the reference's actual .glow-button technique: a
   radial white glow fades in centered on the button on hover. Applied to
   the hero's primary CTA. */
.glow-button { position: relative; overflow: hidden; }
.glow-button::after {
  content: "";
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.glow-button:hover::after { opacity: 1; }

/* ============ TEXT-FOLD ============ */
.text-fold { padding-block: var(--space-2xl); }
.text-fold--tight { padding-block: var(--space-xl); }
.text-fold__head { max-width: 42rem; margin-bottom: var(--space-xl); }
.text-fold__head h2 { font-size: var(--text-3xl); margin-top: var(--space-xs); }
.text-fold__head p { margin-top: var(--space-sm); font-size: var(--text-md); color: var(--color-muted); max-width: 55ch; }

/* ---- Services — editorial list, not a card grid ---- */
.services { border-top: 1px solid var(--color-rule); }
.service-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--color-rule);
  align-items: baseline;
}
.service-row__name { display: flex; align-items: baseline; gap: var(--space-sm); }
.service-row__num { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-neutral); }
.service-row__name h3 { font-size: var(--text-2xl); }
.service-row__body p { color: var(--color-muted); max-width: 58ch; }
.service-row__body p + p { margin-top: var(--space-xs); }
.service-row__body .who { margin-top: var(--space-sm); font-size: var(--text-sm); }
.service-row__body .who strong { color: var(--color-ink); font-weight: 600; }

/* ---- Stat strip — frosted-glass cards over a soft gradient-blob field ---- */
.stat-strip {
  position: relative;
  z-index: 0;
  overflow: clip;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-md);
}
.stat-strip::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(38% 60% at 10% 15%, rgba(56, 189, 248, 0.35), transparent 70%),
    radial-gradient(30% 50% at 90% 10%, rgba(220, 38, 38, 0.14), transparent 70%),
    radial-gradient(46% 65% at 50% 105%, rgba(2, 132, 199, 0.22), transparent 70%);
  filter: blur(40px);
}
.stat {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px -14px rgba(11, 19, 43, 0.22);
}
.stat__figure {
  font-family: var(--font-outlier);
  font-variant-numeric: tabular-nums;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-ink);
}
.stat__label { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }

/* ---- Contact page layout ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-2xl);
  align-items: start;
}
@media (max-width: 60rem) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---- Split row (capability / cross-dock explainer) ---- */
.split-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-xl);
  align-items: center;
}
.split-row.reverse { grid-template-columns: 7fr 5fr; }
.split-row.reverse .split-row__media { order: 2; }
/* fleet-01.jpg is a portrait source shot into a landscape 4:3 box - center
   crop left too much empty sky/tree above the truck and clipped the
   trailer's tail; biasing down keeps the whole rig in frame. */
.split-row.reverse .split-row__media img { object-position: center 80%; }
.split-row__media { overflow: clip; border-radius: var(--radius-md); }
.split-row__media img { border-radius: var(--radius-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
/* Fleet capacity section specifically: the named "FTL, LTL, Expedite" card.
   Image dominant at ~60% of the row, large immersive rectangle, no card
   border/shadow wrapper, with a faint electric-blue glow seated behind it. */
.split-row--feature {
  grid-template-columns: 3fr 2fr;
  gap: var(--space-2xl);
  position: relative;
  z-index: 0;
}
.split-row--feature::before {
  content: "";
  position: absolute;
  top: -12%; left: -6%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.split-row--feature .split-row__media { border-radius: var(--radius-md); }
.split-row--feature .split-row__media img {
  aspect-ratio: 16/11;
  border-radius: var(--radius-md);
  object-fit: cover;
  width: 100%;
  height: auto;
}
@media (min-width: 60.01rem) {
  .split-row--feature .split-row__media img { min-height: 450px; }
}
@media (max-width: 60rem) { .split-row--feature { grid-template-columns: 1fr; } }
.split-row__media:hover img { transform: scale(1.045); }
@media (prefers-reduced-motion: reduce) { .split-row__media:hover img { transform: none; } }
.split-row__text .eyebrow { margin-bottom: var(--space-2xs); display: block; }
.split-row__text h3 { font-size: var(--text-2xl); }
.split-row__text p { margin-top: var(--space-sm); color: var(--color-muted); max-width: 46ch; }
.split-row__list { margin-top: var(--space-md); display: grid; gap: var(--space-2xs); padding: 0; list-style: none; }
.split-row__list li { padding-left: 1.3em; position: relative; font-size: var(--text-sm); }
.split-row__list li::before { content: "—"; position: absolute; left: 0; color: var(--color-accent); }

/* ---- Lanes (mono data table) ---- */
.lanes {
  font-family: var(--font-outlier);
  font-size: var(--text-sm);
  border-top: 1px solid var(--color-rule);
}
.lanes__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-rule);
}
.lanes__row span:first-child { color: var(--color-ink); }
.lanes__row span:last-child { color: var(--color-neutral); }

/* ---- Testimonials (T1-ish) ---- */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.testimonial { border-top: 2px solid var(--color-accent); padding-top: var(--space-md); }
.testimonial p.quote { font-size: var(--text-md); line-height: 1.5; }
.testimonial p.quote::before { content: "\201C"; }
.testimonial p.quote::after { content: "\201D"; }
.testimonial .attribution { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.testimonial .attribution strong { color: var(--color-ink); font-weight: 600; }

/* ---- Certifications strip ---- */
.certs {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  align-items: center;
  padding-block: var(--space-md);
  border-top: 1px solid var(--color-rule);
  border-bottom: 1px solid var(--color-rule);
}
.cert-chip {
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  padding: 0.5em 0.9em;
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
}

/* ---- Compliance strip — badge slots, real-logo-ready ---- */
.compliance-strip { background: var(--color-paper-2); padding-block: var(--space-xl); text-align: center; }
.compliance-strip__label {
  font-family: var(--font-outlier); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-muted);
  margin-bottom: var(--space-md);
}
.compliance-strip__row { display: flex; justify-content: center; align-items: stretch; gap: var(--space-lg); flex-wrap: wrap; }
.compliance-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem; width: 150px; height: 90px; padding: var(--space-sm);
  background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-md);
}
.compliance-badge__name { font-weight: 800; font-size: var(--text-md); color: var(--color-ink); }
.compliance-badge__status { font-family: var(--font-outlier); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--color-cta); text-transform: uppercase; }
.compliance-badge img { max-height: 40px; max-width: 100%; object-fit: contain; }
@media (max-width: 40rem) { .compliance-badge { width: 104px; height: 76px; } .compliance-badge__name { font-size: var(--text-sm); } }

/* ---- Careers photo-fold (drivers) ---- */
.photo-fold--careers {
  min-height: 70vh;
}
.photo-fold--careers img.bleed { object-position: center 25%; }

/* ---- Dual CTA ---- */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-rule);
}
.dual-cta__panel {
  padding: var(--space-xl) var(--space-lg);
}
.dual-cta__panel:first-child { border-right: 1px solid var(--color-rule); }
.dual-cta__panel h3 { font-size: var(--text-2xl); max-width: 14ch; }
.dual-cta__panel p { margin-top: var(--space-sm); color: var(--color-muted); max-width: 34ch; }
.dual-cta__panel .btn-solid, .dual-cta__panel .btn-outline { margin-top: var(--space-md); }

/* ---- Our Fleet — real photo grid ----
   2-up instead of 4-up on purpose: at 4 columns each real truck photo
   shrank to a small square, which read as generic stock-thumbnail sizing
   rather than "here is our actual equipment." 2 columns roughly doubles
   the linear size of every photo. The box is landscape (4/3) since 3 of
   the 4 source photos are landscape; the one portrait source gets a
   scoped object-position bias instead of fighting a square/portrait box. */
.fleet-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-lg); }
.fleet-grid__item { position: relative; overflow: clip; border-radius: var(--radius-md); aspect-ratio: 4/3; }
.fleet-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
/* fleet-08.jpg is a wide yard shot with the trucks low in frame. */
.fleet-grid__item--wide img { object-position: center 82%; }
/* fleet-01.jpg is the one portrait source in this grid (0.75 native ratio)
   going into a landscape 4/3 box - bias down so the cab isn't clipped. */
.fleet-grid__item--tall img { object-position: center 80%; }
.fleet-grid__item:hover img { transform: scale(1.06); }
.fleet-grid__item .label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(180deg, transparent, oklch(9% 0.002 240 / 0.78));
  color: #fff; font-weight: 700; font-size: var(--text-md);
}
@media (max-width: 40rem) { .fleet-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .fleet-grid__item:hover img { transform: none; } }

/* ---- Coverage route map — real relative city positions (from actual lat/
   long, not guessed), soft abstracted landmass silhouette, animated glowing
   routes. Positions are geographically accurate relative to each other;
   the landmass shape is intentionally soft/blurred rather than a precise
   coastline trace, so it reads as stylized, not as a wrong map. ---- */
.route-map { position: relative; width: 100%; }
.route-map svg { width: 100%; height: auto; display: block; }
.route-map__land { fill: var(--color-paper-3); opacity: 0.28; filter: blur(1.5px); }
.route-map__grid-dot { fill: var(--color-rule); }
.route-map__route {
  fill: none;
  stroke: var(--color-rule);
  stroke-width: 1.5;
}
.route-map__glow {
  fill: none;
  stroke: var(--color-cta);
  stroke-width: 3;
  stroke-linecap: round;
  filter: blur(3px);
  opacity: 0.75;
  stroke-dasharray: 14 220;
}
@media (prefers-reduced-motion: no-preference) {
  .route-map__glow { animation: route-flow 3.6s linear infinite alternate; }
}
@keyframes route-flow { to { stroke-dashoffset: -700; } }
/* alternate makes each pass reverse direction on completion, so the glow
   travels downstream (terminal -> destination) then upstream (destination
   -> terminal) in a continuous cycle, rather than one-way only. */
.route-map__city-dot { fill: var(--color-cta); }
.route-map__city-dot--origin { fill: var(--color-cta); }
.route-map__origin-ring {
  fill: none; stroke: var(--color-cta); stroke-width: 1.5; opacity: 0.7;
  transform-box: fill-box; transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .route-map__origin-ring { animation: route-ping 2.6s var(--ease-out) infinite; }
}
@keyframes route-ping { 0% { transform: scale(0.4); opacity: 0.8; } 100% { transform: scale(2.6); opacity: 0; } }
.route-map__label {
  font-family: var(--font-outlier);
  font-size: 13px;
  font-weight: 700;
  fill: var(--color-ink);
}
.route-map__label--origin { font-size: 14px; }
.route-map__sublabel {
  font-family: var(--font-outlier);
  font-size: 10px;
  fill: var(--color-neutral);
}

/* ---- Coverage — real lane data, styled (no fake maps) ---- */
.coverage {
  background: var(--color-paper-2);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.coverage__terminals { display: grid; gap: var(--space-md); }
.coverage__terminal { padding: var(--space-md); background: var(--color-paper); border-radius: var(--radius-sm); border: 1px solid var(--color-rule); }
.coverage__terminal .name { font-weight: 700; font-size: var(--text-lg); }
.coverage__terminal .role { color: var(--color-muted); font-size: var(--text-sm); margin-top: 0.25rem; }
.coverage__lanes { display: flex; flex-wrap: wrap; gap: 0.6rem; align-content: flex-start; }
.coverage__lane {
  font-family: var(--font-outlier); font-size: var(--text-sm);
  background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: 999px;
  padding: 0.5em 1em; color: var(--color-ink);
}
@media (max-width: 60rem) { .coverage { grid-template-columns: 1fr; } }

/* ---- Why Choose Us — 3 icon features ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-xl); }
.why-item { text-align: left; }
.why-item__icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--color-paper-3); color: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-md);
}
.why-item h3 { font-size: var(--text-lg); }
.why-item p { margin-top: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 60rem) { .why-grid { grid-template-columns: 1fr; gap: var(--space-lg); } }

/* ============ FOOTER — Ft1 Mast-headed ============ */
.footer {
  background: var(--color-ink-paper);
  color: var(--color-ink-text);
  padding-block: var(--space-2xl) var(--space-lg);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-ink-rule);
}
.footer__wordmark { font-family: var(--font-outlier); font-size: var(--text-xl); font-weight: 700; }
.footer__tagline { margin-top: var(--space-2xs); color: var(--color-ink-muted); font-size: var(--text-sm); max-width: 32ch; }
.footer__cols { display: flex; gap: var(--space-2xl); flex-wrap: wrap; }
.footer__col h4 {
  font-family: var(--font-outlier);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ink-muted);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}
.footer__col p, .footer__col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-ink-text);
  text-decoration: none;
  margin-bottom: var(--space-2xs);
}
.footer__col a:hover { color: var(--color-accent); }
.footer__social { display: flex !important; align-items: center; gap: 0.5em; }
.footer__bottom {
  margin-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--color-ink-muted);
}
.footer__certs { font-family: var(--font-outlier); }

/* ============ MOTION ============
   Fail-safe: .reveal is fully visible by default. Content only ever fades
   in if BOTH the page's reveal script has run (adds .js-reveal-ready to
   <html>) AND the browser allows motion. If the script is missing from a
   page, content simply has no scroll-fade - it never goes invisible. */
html.js-reveal-ready .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
html.js-reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-reveal-ready .reveal { opacity: 1; transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 60rem) {
  .service-row { grid-template-columns: 1fr; gap: var(--space-sm); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split-row, .split-row.reverse { grid-template-columns: 1fr; }
  .split-row.reverse .split-row__media { order: 0; }
  .testimonials { grid-template-columns: 1fr; }
  .dual-cta { grid-template-columns: 1fr; }
  .dual-cta__panel:first-child { border-right: none; border-bottom: 1px solid var(--color-rule); }
  .footer__cols { gap: var(--space-lg); }
}
@media (max-width: 40rem) {
  .photo-fold__headline { font-size: var(--text-display-s); }
  .nav__wordmark span.text { display: none; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0,1fr)); padding: var(--space-lg) var(--space-sm); gap: var(--space-sm); }
  .stat { padding: var(--space-md) var(--space-sm); }
  .certs { gap: var(--space-sm); }
}
