/* tokens.css is linked from the document before this sheet */

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  background: var(--asphalt);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--asphalt);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, select, label[for] { cursor: pointer; }

/* One house grade for every photograph */
.photo { filter: saturate(0.5) contrast(1.08) brightness(0.82); }

/* --- Browser surfaces --- */
::selection { background: var(--amber); color: var(--asphalt); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
html { scrollbar-color: var(--scroll) var(--asphalt); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--asphalt); }
::-webkit-scrollbar-thumb { background: var(--scroll); border: 3px solid var(--asphalt); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-2); }
input:-webkit-autofill, input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px var(--asphalt) inset;
  caret-color: var(--text);
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   TYPE
   ============================================================ */
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  text-wrap: balance;
}
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.025em; }
p { text-wrap: pretty; }
.lede { font-size: var(--t-md); line-height: 1.55; color: var(--text-2); max-width: 56ch; }
.body-follow { margin-top: var(--s-4); font-size: var(--t-m); color: var(--text-2); max-width: 54ch; line-height: 1.65; }
.fine { font-size: var(--t-xs); color: var(--text-3); line-height: 1.55; }
.fine a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; padding-block: 0.6em; margin-block: -0.6em; transition: color var(--d-fast) linear, text-decoration-color var(--d-fast) linear; }
.fine a:hover { color: var(--amber-2); text-decoration-color: var(--amber); }

/* Mono is for data: numbers, ids, lanes, miles */
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* Descriptive labels are sentence-case body type, not tracked caps */
.lab { font-size: var(--t-s); font-weight: 600; color: var(--text-2); }

/* Section head: heading plus a plain lead and a hairline that runs off right */
.head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: clamp(var(--s-6), 5vw, var(--s-8));
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.head__lead { font-size: var(--t-sm); color: var(--text-2); padding-bottom: 0.6em; max-width: 38ch; text-align: right; }

/* ============================================================
   SHELL
   ============================================================ */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.band { padding-block: clamp(var(--s-8), 10vw, var(--s-10)); }

/* Ambient light sources: radial gradients, no filters, cheap to animate.
   Intensity per section is set with --lo so the keyframes respect it. */
.light {
  --lo: 1;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: var(--lo);
}
.light--amber {
  width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(circle at center, rgba(240,165,53,0.42) 0%, rgba(240,165,53,0.14) 32%, rgba(240,165,53,0) 62%);
}
.light--cool {
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at center, rgba(110,140,190,0.26) 0%, rgba(110,140,190,0.08) 36%, rgba(110,140,190,0) 64%);
}
@media (prefers-reduced-motion: no-preference) {
  .light--amber { animation: breathe 9s ease-in-out infinite; will-change: transform, opacity; }
  .light--cool  { animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
  @keyframes breathe {
    0%, 100% { transform: translate3d(0,0,0) scale(1);        opacity: calc(0.85 * var(--lo)); }
    50%      { transform: translate3d(-2%,-3%,0) scale(1.08); opacity: var(--lo); }
  }
  @keyframes drift {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(6%,8%,0) scale(1.12); }
  }
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip {
  position: absolute; left: var(--s-4); top: -100px; z-index: 300;
  background: var(--amber); color: var(--asphalt);
  padding: var(--s-3) var(--s-5);
  font-family: var(--f-display); font-weight: 700;
  border-radius: var(--radius);
  transition: top var(--d-fast) var(--ease-out);
}
.skip:focus { top: var(--s-4); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
}
.nav[data-stuck="true"], .nav[data-open="true"] {
  background: rgba(11, 14, 19, 0.8);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: var(--nav-h); }

.mark { display: inline-flex; align-items: baseline; gap: var(--s-2); min-height: 44px; }
.mark__a { font-family: var(--f-display); font-weight: 800; font-size: var(--t-md); letter-spacing: -0.03em; color: var(--text); }
.mark__b { font-size: var(--t-xs); font-weight: 500; color: var(--text-3); }

.nav__links { display: flex; align-items: center; gap: var(--s-6); }
.nav__links a {
  font-size: var(--t-sm); font-weight: 500; white-space: nowrap;
  color: var(--text-2);
  min-height: 44px; display: inline-flex; align-items: center;
  position: relative;
  transition: color var(--d-fast) linear;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--d-base) var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { display: flex; align-items: center; gap: var(--s-4); }
.nav__tel {
  font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 500;
  color: var(--text); white-space: nowrap;
  min-height: 44px; display: inline-flex; align-items: center;
  transition: color var(--d-fast) linear;
}
.nav__tel:hover { color: var(--amber-2); }

.burger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line-2); border-radius: var(--radius);
}
.burger span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: background var(--d-fast) linear; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text);
  transition: transform var(--d-base) var(--ease-out);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 50px; padding: 0 var(--s-6);
  font-family: var(--f-display); font-weight: 700; font-size: var(--t-r); letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform var(--d-fast) var(--ease-mech), box-shadow var(--d-base) var(--ease-out),
              background var(--d-fast) linear, border-color var(--d-fast) linear, color var(--d-fast) linear;
}
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: var(--asphalt); box-shadow: 0 8px 24px -12px rgba(0,0,0,0.6); }
.btn--amber:hover { background: var(--amber-2); box-shadow: 0 12px 28px -12px rgba(0,0,0,0.7); }
.btn--ghost { background: rgba(235,230,218,0.04); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: rgba(235,230,218,0.45); background: rgba(235,230,218,0.08); }
.btn--wide { width: 100%; }
.btn:disabled, .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; transform: none; pointer-events: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--nav-h);
}
.hero__media { position: absolute; inset: -6% 0; z-index: -4; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%;
  filter: saturate(0.5) contrast(1.1) brightness(0.72);
  transform: scale(1.08);
  transform-origin: center;
}
/* Grade: dusk tint over the whole frame, dark scrim behind the copy, fade into the page */
.hero__grade {
  position: absolute; inset: 0; z-index: -3;
  background:
    linear-gradient(rgba(18, 26, 44, 0.42), rgba(18, 26, 44, 0.42)),
    linear-gradient(90deg, rgba(11,14,19,0.95) 0%, rgba(11,14,19,0.82) 30%, rgba(11,14,19,0.55) 48%, rgba(11,14,19,0.22) 66%, rgba(11,14,19,0.3) 100%),
    linear-gradient(180deg, rgba(11,14,19,0.6) 0%, rgba(11,14,19,0.1) 32%, rgba(11,14,19,0.28) 66%, var(--asphalt) 100%);
}
.hero .light { z-index: -2; }
.hero .light--amber { right: -18vw; bottom: -28vw; }
.hero .light--cool { left: -22vw; top: -24vw; --lo: 0.9; }

.hero__in {
  position: relative; width: 100%;
  padding-bottom: clamp(var(--s-7), 8vw, var(--s-9));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--s-6);
}
.hero__h {
  font-size: var(--t-3xl);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--text-hi);
  text-shadow: 0 2px 40px rgba(0,0,0,0.45);
}
.hero__h .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__h .line > span { display: inline-block; }
.hero__h em { font-style: normal; color: var(--amber); }
.hero__p {
  margin-top: var(--s-5);
  font-size: var(--t-md); line-height: 1.55;
  color: var(--text-soft); max-width: 50ch;
  text-shadow: 0 1px 18px rgba(0,0,0,0.5);
}
.hero__acts { margin-top: var(--s-6); display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.hero__tel {
  font-family: var(--f-mono); font-size: var(--t-md); font-weight: 500; color: var(--text-hi);
  min-height: 44px; display: inline-flex; align-items: center; gap: var(--s-2);
  padding-inline: var(--s-2);
  transition: color var(--d-fast) linear;
}
.hero__tel:hover { color: var(--amber-2); }
.hero__tel i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: inline-block; flex: none; }

/* Credentials plate, like a door decal */
.plate {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.06em;
  color: var(--text-2); line-height: 1.9;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(11,14,19,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  text-align: right;
}
.plate b { color: var(--text); font-weight: 500; }

/* Pre-hide for the entrance only when motion is on and JS is present.
   The class is stamped by an inline script before first paint and
   removed by site.js if GSAP is unavailable. */
.motion .hero__h .line > span { transform: translateY(112%); }
.motion .hero__p, .motion .hero .hero__acts, .motion .plate { opacity: 0; }

/* ============================================================
   LANES BOARD (example lanes, not a live feed)
   ============================================================ */
.board {
  background: var(--asphalt-2);
  border-block: 1px solid var(--line);
  padding-block: var(--s-6);
}
.board__hd { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-4); }
.board__title { font-family: var(--f-display); font-weight: 700; font-size: var(--t-md); letter-spacing: -0.02em; }
.board__lead { font-size: var(--t-sm); color: var(--text-2); }
.board__rows { list-style: none; padding: 0; perspective: 1200px; }
.board__row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) auto;
  gap: var(--s-4); align-items: center;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: var(--t-sm); letter-spacing: 0.02em;
  color: var(--text-2);
  transform-origin: top center;
  transition: color var(--d-fast) linear, background var(--d-fast) linear;
}
.board__row:last-child { border-bottom: 1px solid var(--line); }
.board__row:hover { color: var(--text); background: rgba(235,230,218,0.025); }
.board__lane { display: flex; align-items: center; gap: var(--s-3); color: var(--text); white-space: nowrap; }
.board__lane svg { width: 22px; height: 10px; color: var(--amber); flex: none; }
.board__mi { text-align: right; white-space: nowrap; }

/* ============================================================
   WHAT WE HAUL
   ============================================================ */
.haul { list-style: none; padding: 0; margin-top: calc(-1 * var(--s-4)); }
.haul__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(var(--s-5), 4vw, var(--s-8));
  align-items: start;
  padding-block: clamp(var(--s-5), 4vw, var(--s-7));
  border-top: 1px solid var(--line);
  position: relative;
  cursor: default;
}
.haul__row:first-child { border-top: 0; }
.haul__row:last-child { border-bottom: 1px solid var(--line); }
.haul__row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--amber);
  transition: width var(--d-slow) var(--ease-out);
}
.haul__row:first-child::before { display: none; }
.haul__row:hover::before { width: 100%; }
.haul__h { transition: color var(--d-base) linear; }
.haul__row:hover .haul__h { color: var(--amber-2); }
.haul__d { color: var(--text-2); font-size: var(--t-m); line-height: 1.65; max-width: 52ch; }
.haul__meta { margin-top: var(--s-3); font-size: var(--t-s); color: var(--text-3); }
.haul__fig { display: none; }

/* Cursor-following image on hover-capable devices: trails lower-right of the pointer */
.ghost {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: 340px; aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--d-base) var(--ease-out);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8), 0 0 0 1px var(--line-2);
}
.ghost[data-on="true"] { opacity: 1; }
.ghost img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   THE RECORD
   ============================================================ */
.record { background: var(--asphalt-2); overflow: hidden; }
.record .light--amber { left: -30vw; top: 10%; --lo: 0.7; }
.record__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(var(--s-7), 6vw, var(--s-10));
  align-items: start;
  position: relative;
}
.counters { display: grid; gap: var(--s-5); }
.counter { padding-block: var(--s-4); border-top: 1px solid var(--line); }
.counter:first-child { border-top: 0; padding-top: 0; }
.counter__n {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9;
  font-size: var(--t-counter);
  color: var(--text-hi);
  font-variant-numeric: tabular-nums;
}
/* The only glow on the page: the zero */
.counter__n--amber { color: var(--amber); text-shadow: 0 0 40px var(--amber-glow); }
.counter__l { margin-top: var(--s-2); font-size: var(--t-m); color: var(--text-2); max-width: 36ch; }
.counter__l b { color: var(--text); font-weight: 600; }
/* The comparator is quieter than our numbers */
.counter--ref .counter__n { font-size: var(--t-xl); color: var(--text-3); letter-spacing: -0.03em; line-height: 1; }

.sheet {
  background: var(--dusk);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.sheet__hd {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  padding: var(--s-4) var(--s-5);
  background: rgba(11,14,19,0.5);
  border-bottom: 1px solid var(--line);
}
.sheet__t { font-family: var(--f-display); font-weight: 700; font-size: var(--t-r); letter-spacing: -0.01em; }
.sheet__row {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-4); align-items: center;
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--line);
}
.sheet__lab { font-size: var(--t-sm); color: var(--text-2); }
.sheet__lab .fine { display: block; margin-top: 1px; }
.sheet__val { font-family: var(--f-mono); font-weight: 600; font-size: var(--t-md); color: var(--text); text-align: right; white-space: nowrap; }
.sheet__val--good { color: var(--amber); }
.sheet__ft { padding: var(--s-4) var(--s-5); border-top: 1px solid var(--line); background: rgba(11,14,19,0.35); }

.vs { padding: var(--s-4) var(--s-5) var(--s-2); }
.vs__row { display: grid; grid-template-columns: 104px 1fr auto; gap: var(--s-3); align-items: center; padding-block: var(--s-2); }
.vs__k { font-size: var(--t-s); color: var(--text-2); }
.vs__bar { height: 6px; background: rgba(235,230,218,0.08); border-radius: 3px; overflow: hidden; }
.vs__fill { display: block; height: 100%; min-width: 3px; border-radius: 3px; transition: width 1100ms var(--ease-out); }
.vs__fill--ours { background: var(--amber); }
.vs__fill--natl { background: var(--text-3); }
.vs__n { font-family: var(--f-mono); font-size: var(--t-s); color: var(--text-2); min-width: 5ch; text-align: right; }

/* ============================================================
   WHERE WE RUN (route strip over the lane canvas)
   ============================================================ */
.territory { overflow: hidden; }
.lanes { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0.9; }
.territory > .shell { position: relative; z-index: 1; }
.territory__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(var(--s-6), 5vw, var(--s-9));
  align-items: start;
}
.route-wrap { margin-top: clamp(var(--s-7), 6vw, var(--s-9)); overflow-x: auto; }
.route-wrap:focus-visible { outline-offset: 8px; }
.route { width: 100%; height: auto; overflow: visible; }
.route .base { stroke: var(--line-2); stroke-width: 2; fill: none; }
.route .draw { stroke: var(--amber); stroke-width: 2; fill: none; stroke-linecap: round; }
.route .stop { fill: var(--asphalt); stroke: var(--text-2); stroke-width: 2; }
.route .hub { fill: var(--amber); stroke: none; }
.route .tick { stroke: var(--line-2); stroke-width: 1; }
.route .lbl { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.04em; fill: var(--text-2); }
.route .lbl--hub { fill: var(--text); font-weight: 600; }
.route .mi { font-family: var(--f-display); font-weight: 700; font-size: var(--t-base); fill: var(--text); letter-spacing: -0.02em; }
.route .truck { fill: var(--amber-2); }
.route .truck-glow { fill: var(--amber); opacity: 0.35; }
/* The list is the phone version of the strip; only one of them shows */
.miles { display: none; list-style: none; padding: 0; margin-top: var(--s-5); }
.miles li { display: flex; align-items: baseline; gap: var(--s-3); padding-block: var(--s-2); border-bottom: 1px solid var(--line); font-size: var(--t-sm); color: var(--text-2); }
.miles .dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.miles .mi { font-family: var(--f-mono); font-weight: 600; color: var(--text); }

/* ============================================================
   DRIVERS
   ============================================================ */
.drivers {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 82svh; display: flex; align-items: center;
}
.drivers__media { position: absolute; inset: -12% 0; z-index: -3; }
.drivers__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.drivers__grade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(11,14,19,0.96) 0%, rgba(11,14,19,0.86) 34%, rgba(11,14,19,0.3) 70%, rgba(11,14,19,0.45) 100%),
    linear-gradient(180deg, var(--asphalt) 0%, rgba(11,14,19,0.1) 20%, rgba(11,14,19,0.1) 80%, var(--asphalt) 100%);
}
.drivers .light--amber { right: -20vw; top: -10vw; z-index: -1; --lo: 0.6; }
.drivers__in { padding-block: clamp(var(--s-8), 10vw, var(--s-10)); max-width: 620px; }
.drivers__h { font-size: var(--t-3xl); line-height: 0.94; letter-spacing: -0.04em; color: var(--text-hi); }
.drivers__pts { list-style: none; padding: 0; margin: var(--s-6) 0; display: grid; gap: var(--s-3); }
.drivers__pts li { display: flex; gap: var(--s-3); align-items: baseline; font-size: var(--t-base); color: var(--text-soft); }
.drivers__pts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; transform: translateY(-3px); }
.drivers__acts { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.drivers__note { margin-top: var(--s-4); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: 0; z-index: -3; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.contact__grade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, var(--asphalt) 0%, rgba(11,14,19,0.55) 30%, rgba(11,14,19,0.55) 70%, var(--asphalt) 100%); }
.contact .light--amber { right: -25vw; bottom: -30vw; z-index: -1; }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(var(--s-6), 6vw, var(--s-9));
  align-items: start;
}
/* Definition rows: label and value on one baseline, not a label floating over a heading */
.info { display: grid; gap: 0; }
.info__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s-4); align-items: baseline; padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.info__row:first-child { padding-top: 0; }
.info__row:last-child { border-bottom: 0; }
.info__row dt { font-size: var(--t-s); font-weight: 600; color: var(--text-2); }
.info__row dd { color: var(--text); line-height: 1.5; }
.info__tel {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--f-display); font-weight: 800; font-size: var(--t-xl); letter-spacing: -0.03em; color: var(--text-hi);
  transition: color var(--d-fast) linear;
}
.info__tel:hover { color: var(--amber-2); }
.info__note { margin-top: var(--s-1); }

.form {
  background: rgba(21,28,42,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9);
}
.frow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.field > label { font-size: var(--t-s); font-weight: 600; color: var(--text-2); }
.field .req { color: var(--amber); }
.field input, .field select {
  background-color: var(--asphalt);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: var(--s-3) var(--s-4);
  min-height: 50px;
  font-size: var(--t-r);
  color: var(--text);
  width: 100%;
  transition: border-color var(--d-fast) linear, box-shadow var(--d-fast) linear;
}
.field input::placeholder { color: var(--text-3); opacity: 1; }
.field input:hover, .field select:hover { border-color: rgba(235,230,218,0.4); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 2px var(--amber);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23aab3c1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--s-4) center; background-size: 12px;
  padding-right: var(--s-7);
}
.field__err { font-size: var(--t-xs); color: var(--err); display: none; }
.field[data-invalid="true"] input, .field[data-invalid="true"] select { border-color: var(--err); }
.field[data-invalid="true"] .field__err { display: block; }
/* Always in the accessibility tree; styled only when it carries a message */
.form__status { margin-top: var(--s-4); font-size: var(--t-sm); min-height: 1px; }
.form__status[data-state] { padding: var(--s-3) var(--s-4); border-radius: var(--radius); border: 1px solid; }
.form__status[data-state="ok"] { background: var(--amber-dim); border-color: rgba(240,165,53,0.5); color: var(--amber-2); }
.form__status[data-state="err"] { background: rgba(255,159,122,0.1); border-color: rgba(255,159,122,0.4); color: var(--err-2); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--line); background: var(--asphalt-2); padding-block: var(--s-7) var(--s-5); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: var(--s-6); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.foot__blurb { margin-top: var(--s-3); max-width: 40ch; }
.foot__list { list-style: none; padding: 0; margin-top: var(--s-2); }
.foot__list li { font-size: var(--t-sm); color: var(--text-2); min-height: 36px; display: flex; align-items: center; }
.foot__list a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text-2); transition: color var(--d-fast) linear; }
.foot__list a:hover { color: var(--amber-2); }
.foot__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); }
.foot__id { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--text-3); letter-spacing: 0.04em; }

/* ============================================================
   MOBILE CALL BAR
   ============================================================ */
.callbar {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 250;
  background: var(--amber); color: var(--asphalt);
  font-family: var(--f-display); font-weight: 800; font-size: var(--t-base);
  align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 56px; padding-inline: var(--s-4);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.callbar .mono { font-weight: 600; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav__links, .nav__cta .btn, .nav__tel { display: none; }
  .burger { display: inline-flex; }
  .nav__in { height: var(--nav-h-m); }
  .hero { padding-top: var(--nav-h-m); }
  html { scroll-padding-top: calc(var(--nav-h-m) + 8px); }
  .nav__links[data-open="true"] {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; inset: var(--nav-h-m) 0 auto 0;
    background: rgba(11,14,19,0.96); border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--gutter) var(--s-5);
  }
  .nav__links[data-open="true"] a { padding-block: var(--s-3); border-bottom: 1px solid var(--line); font-size: var(--t-base); }
  .nav__links[data-open="true"] a::after { display: none; }
  /* Without JavaScript the menu has no toggle, so show the links */
  html:not(.js) .nav__links { display: flex; flex-wrap: wrap; gap: var(--s-4); }
}
@media (max-width: 1080px) {
  .record__grid, .territory__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .plate { display: none; }
}
@media (max-width: 900px) {
  .route { min-width: 860px; }   /* keep the strip legible; the wrapper scrolls sideways */
  .haul__row { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .drivers__grade {
    background: linear-gradient(180deg, var(--asphalt) 0%, rgba(11,14,19,0.84) 25%, rgba(11,14,19,0.84) 75%, var(--asphalt) 100%);
  }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px), (hover: none), (prefers-reduced-motion: reduce) {
  .ghost { display: none; }
  .haul__fig { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); max-width: 640px; }
  .haul__fig img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 720px) {
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .callbar { display: flex; }
  .hero { min-height: 92svh; }
  .hero__grade {
    background:
      linear-gradient(rgba(18, 26, 44, 0.42), rgba(18, 26, 44, 0.42)),
      linear-gradient(180deg, rgba(11,14,19,0.55) 0%, rgba(11,14,19,0.2) 28%, rgba(11,14,19,0.88) 56%, var(--asphalt) 100%);
  }
  .hero__acts .btn { width: 100%; }
  .frow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .head { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .head__lead { text-align: left; max-width: none; }
  .vs__row { grid-template-columns: 88px 1fr auto; }
  /* Board rows: lane on its own line, details beneath */
  .board__row { grid-template-columns: minmax(0, 1fr) auto; font-size: var(--t-s); }
  .board__lane { grid-column: 1 / -1; }
  .board__co { color: var(--text-3); }
  /* Phones get the list, not the strip */
  .route-wrap { display: none; }
  .miles { display: block; }
  .info__row { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
}

/* ============================================================
   REDUCED MOTION: static final snapshot of everything
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero__media img { transform: none; }
  .vs__fill, .btn, .nav__links a::after, .haul__row::before { transition: none; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  :root {
    --text-hi: #000; --text: #000; --text-soft: #222; --text-2: #222; --text-3: #444;
    --line: #999; --line-2: #777; --dusk: #fff; --asphalt: #fff; --asphalt-2: #fff; --amber: #8a5a00; --amber-2: #8a5a00;
  }
  body { background: #fff; color: #000; }
  .nav, .callbar, .ghost, .lanes, .light, .hero__media, .hero__grade, .drivers__media, .drivers__grade,
  .contact__bg, .contact__grade, .form, .btn, .skip, .burger { display: none !important; }
  .hero, .drivers { min-height: 0; }
  .hero__h, .drivers__h, .hero__p { text-shadow: none; }
  .counter__n--amber { text-shadow: none; }
  .sheet { box-shadow: none; }
  .sheet__ft a::after { content: " (" attr(href) ")"; font-size: var(--t-2xs); word-break: break-all; }
  .route-wrap, .miles { display: block; }
}
