/* ============================================================
   FREIGHT FORCE — "The Dispatch Wall Map"
   Paper cartography + ink type + signal red for live freight.
   Type: Big Shoulders (display) / Public Sans (body) / IBM Plex Mono (data)
   ============================================================ */

/* ---------- fonts (self-hosted, variable where possible) ---------- */
@font-face {
  font-family: "Big Shoulders";
  src: url("../fonts/bigshoulders-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Stencil";
  src: url("../fonts/bigshoulders-stencil-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/publicsans-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --paper: #f6f4ef;
  --paper-hi: #fbfaf8;
  --paper-card: #f0eee8;
  --ink: #16140f;
  --ink-2: #201d17;
  --ink-3: #403c33;
  --line: #d9d5cd;
  --line-dark: #37332a;
  --mut: #6f6a60;
  --mut-2: #98938a;
  --red: #e8182b;
  --red-deep: #b90f20;
  --red-paper: #d31226;   /* red tuned for paper backgrounds */
  --red-bright: #ff5060;   /* red tuned for small text on dark ink */
  --green: #157a44;
  --green-bright: #2fbf71;
  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-stencil: "Big Shoulders Stencil", "Big Shoulders", sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1240px;
  --head-h: 72px;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 40px); } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  font-family: var(--font-mono); font-size: 13px; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- shared text styles ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--mut);
}
.eyebrow b { color: var(--red-paper); font-weight: 600; }
.section--dark .eyebrow b { color: var(--red); }
.eyebrow::after { content: ""; flex: 0 0 56px; height: 1px; background: currentColor; opacity: .4; }

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
  margin: 0;
}
h2.h-display { font-size: clamp(44px, 6.2vw, 88px); margin: 18px 0 0; }
.lede { font-size: clamp(17px, 1.5vw, 19.5px); max-width: 56ch; color: var(--ink-3); }
.section--dark .lede { color: #c9c4b8; }

.mono-label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--red); color: #fff;
  font-family: var(--font-mono); font-weight: 600; font-size: 13.5px;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 17px 26px; text-decoration: none; border: 0; cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
  will-change: transform;
}
.btn .arrow { transition: transform .25s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.section--dark .btn:hover { background: var(--paper); color: var(--ink); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: default; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.section--dark .btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(246,244,239,.65); }
.section--dark .btn--ghost:hover { background: var(--paper); color: var(--ink); box-shadow: none; }

/* ---------- stamp ---------- */
.stamp {
  display: inline-block;
  font-family: var(--font-stencil); font-weight: 700; text-transform: uppercase;
  color: var(--red-paper);
  border: 3px solid currentColor; outline: 1px solid currentColor; outline-offset: 3px;
  padding: .12em .45em .06em; line-height: 1.05;
  letter-spacing: .06em;
  transform: rotate(-6deg);
  opacity: .92;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 .45'/%3E%3C/filter%3E%3Crect width='120' height='120' fill='%23fff'/%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  -webkit-mask-size: 120px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 .45'/%3E%3C/filter%3E%3Crect width='120' height='120' fill='%23fff'/%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-size: 120px;
}
.section--dark .stamp { color: var(--red); }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--head-h);
  background: rgba(246,244,239,.9);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head__row { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }

.brand { display: flex; align-items: center; text-decoration: none; }
.brand__logo {
  display: block;
  width: clamp(152px, 17vw, 210px);
  height: auto;
}
.brand__mark {
  width: 40px; height: 40px; background: var(--red); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 21px; letter-spacing: .02em;
}
.brand__word { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; color: var(--ink); }
.brand__word small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 8.5px; letter-spacing: .3em; color: var(--mut); margin-top: 3px; }

.nav { display: flex; gap: 26px; }
.nav a {
  position: relative;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink-3);
  padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .3s cubic-bezier(.6,0,.2,1);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.head-cta { display: flex; align-items: center; gap: 18px; }
.phone-link { text-decoration: none; text-align: right; line-height: 1.15; }
.phone-link .lbl { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--mut); }
.phone-link b { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: .05em; color: var(--ink); }
.phone-link:hover b { color: var(--red-paper); }
.head-cta .btn { padding: 13px 20px; }

.nav-toggle { display: none; }

@media (max-width: 940px) {
  .nav {
    position: fixed; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s ease, visibility 0s .35s;
  }
  .nav.open { max-height: 320px; visibility: visible; transition: max-height .35s ease; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); font-size: 14px; }
  .nav a::after { display: none; }
  .head-cta .btn { display: none; }
  .phone-link .lbl { display: none; }
  .nav-toggle {
    display: block; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
    transition: transform .3s, opacity .3s;
  }
  .nav-toggle::before { top: 15px; }
  .nav-toggle span { top: 21px; }
  .nav-toggle::after { top: 27px; }
  .nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span { opacity: 0; }
  .nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 480px) {
  .phone-link { display: none; }
}

/* scroll progress */
.scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 110; pointer-events: none; }
.scrollbar::before {
  content: ""; display: block; height: 100%; background: var(--red);
  transform-origin: left; transform: scaleX(var(--p, 0));
}

/* ============================================================
   HERO — the wall map
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: clip;
  background: var(--paper-hi);
}
.hero__map, .run__map {
  position: absolute; inset: 0;
  overflow: hidden;
}
.map-pane { position: absolute; left: 0; top: 0; will-change: transform; transform-origin: 0 0; }
.map-pane > svg, .map-pane > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pane .base-map { opacity: 0; transition: opacity .9s ease; }
.map-pane .base-map.ready { opacity: 1; }

/* screen-space FX layer: dynamic content lives OUTSIDE the transformed map pane
   so truck/route animation never forces a repaint of the heavy base-map layer */
.map-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* NOTE: no vector-effect:non-scaling-stroke here — Chrome dashes non-scaled
   strokes in screen space, which desyncs the draw-on line from the truck dot */
.route-line {
  fill: none; stroke: var(--red); stroke-width: 4;
  stroke-linecap: round; stroke-linejoin: round;
}
.route-line--ghost { stroke: var(--red); stroke-width: 3.5; opacity: .14; }
.route-dot { fill: var(--red); }
.route-halo { fill: rgba(232,24,43,.16); }
.map-pin circle.core { fill: var(--red); }
.map-pin circle.rim { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.map-pin--go circle.core { fill: var(--green-bright); }
.map-citydot { fill: var(--ink); }
.map-citylabel {
  font-family: var(--font-mono); font-size: 17px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; fill: #4d4a42;
  paint-order: stroke; stroke: rgba(251,250,248,.9); stroke-width: 4px;
}
.depot { fill: var(--red); }
.depot-ring { fill: none; stroke: var(--red); stroke-width: 2; }
.truck rect { fill: var(--red); stroke: var(--paper-hi); stroke-width: 1.6; }
@media (max-width: 720px) {
  .map-citylabel { font-size: 12.5px; letter-spacing: .1em; }
}

.hero__veil {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(90deg, rgba(246,244,239,.95) 0%, rgba(246,244,239,.75) 28%, rgba(246,244,239,0) 60%),
    linear-gradient(0deg, rgba(246,244,239,.92) 0%, rgba(246,244,239,0) 32%),
    linear-gradient(180deg, rgba(246,244,239,.7) 0%, rgba(246,244,239,0) 16%);
}
@media (max-width: 720px) {
  .hero__veil {
    background:
      linear-gradient(0deg, rgba(246,244,239,.97) 10%, rgba(246,244,239,.45) 48%, rgba(246,244,239,.12) 72%),
      linear-gradient(180deg, rgba(246,244,239,.92) 0%, rgba(246,244,239,.25) 28%);
  }
}

.hero__inner {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(100px, 14vh, 160px);
}

.hero__manifest {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--mut);
  margin-bottom: 22px;
}
.hero__manifest b { color: var(--red-paper); font-weight: 600; }

.hero h1 {
  margin: 0;
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, min(12.5vw, 19vh), 176px);
  line-height: .86; letter-spacing: .005em;
}
@media (max-height: 700px) {
  .hero h1 { font-size: clamp(44px, min(11vw, 13.5vh), 120px); }
  .hero__sub { margin: 16px 0 20px; }
  .hero__inner { padding-bottom: clamp(84px, 12vh, 120px); }
}
.hero h1 .l { display: block; overflow: hidden; }
.hero h1 .l > span { display: inline-block; will-change: transform; }
.hero h1 .l--red { color: var(--red); }
.hero h1 .l--outline {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}
@supports not (-webkit-text-stroke: 2px black) {
  .hero h1 .l--outline { color: var(--ink); }
}

.hero__sub {
  max-width: 46ch; font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--ink-3); margin: 26px 0 30px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.coords {
  position: absolute; z-index: 4; top: calc(var(--head-h) + 18px); right: 26px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em;
  color: var(--mut); text-align: right; pointer-events: none;
  display: flex; flex-direction: column; gap: 2px;
}
.coords b { color: var(--ink); font-weight: 600; }
@media (max-width: 720px), (pointer: coarse) { .coords { display: none; } }

.crosshair {
  position: absolute; z-index: 2; left: 0; top: 0; pointer-events: none; opacity: 0;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  transition: opacity .3s;
}
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: var(--red); opacity: .7; }
.crosshair::before { left: 50%; top: 0; width: 1px; height: 100%; }
.crosshair::after { top: 50%; left: 0; height: 1px; width: 100%; }
.crosshair .ring { position: absolute; inset: 10px; border: 1px solid var(--red); border-radius: 50%; opacity: .55; }
.hero.pointer-on .crosshair { opacity: 1; }
@media (pointer: coarse) { .crosshair { display: none; } }

.dispatch-strip {
  position: absolute; z-index: 5; left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line);
  background: rgba(251,250,248,.94);
  background: color-mix(in srgb, var(--paper-hi) 93%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dispatch-strip .wrap {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 44px);
  height: 62px; overflow: hidden;
}
.dispatch-strip .cell { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.dispatch-strip .k { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--mut); }
.dispatch-strip .v { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.dispatch-strip .v.red { color: var(--red-paper); }
.dispatch-strip .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright);
  align-self: center; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(47,191,113,.45); } 55% { box-shadow: 0 0 0 7px rgba(47,191,113,0); } }
@media (max-width: 940px) { .dispatch-strip .cell--opt { display: none; } }

.scroll-cue {
  position: absolute; z-index: 5; bottom: 82px; right: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--mut); writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 44px; background: var(--red);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* ============================================================
   THE RUN — pinned scroll story
   ============================================================ */
.run { position: relative; background: var(--paper-hi); }
.run__track { height: calc(100vh + 3800px); height: calc(100svh + 3800px); }
.run__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 600px; overflow: clip; }
.run__veil {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgba(246,244,239,0) 52%, rgba(246,244,239,.55) 100%),
              linear-gradient(0deg, rgba(246,244,239,.55) 0%, rgba(246,244,239,0) 24%),
              linear-gradient(180deg, rgba(246,244,239,.75) 0%, rgba(246,244,239,0) 22%);
}
.run__head {
  position: absolute; z-index: 6; top: calc(var(--head-h) + clamp(14px, 3.5vh, 38px)); left: 0; right: 0;
  pointer-events: none;
}
.run__head .h-display { font-size: clamp(34px, 4.6vw, 60px); }
.run__head .eyebrow { color: var(--mut); }

.beat {
  position: absolute; z-index: 6;
  right: clamp(20px, 5vw, 84px);
  bottom: clamp(92px, 14vh, 150px);
  width: min(410px, calc(100vw - 40px));
  background: var(--paper-hi);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  box-shadow: 0 18px 50px -18px rgba(22,20,15,.28);
  padding: 22px 24px 20px;
  opacity: 0; visibility: hidden;
}
.beat__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.beat__step { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mut); }
.beat__time { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: .03em; color: var(--red-paper); white-space: nowrap; }
.beat h3 { margin: 0 0 8px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 27px; line-height: 1; }
.beat p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.55; }
.beat .stamp { position: absolute; top: -17px; right: 14px; font-size: 19px; }
@media (max-width: 720px) {
  .beat { left: 20px; right: 20px; width: auto; bottom: 86px; padding: 18px 18px 16px; }
  .beat h3 { font-size: 23px; }
  .beat .stamp { font-size: 16px; }
}

.run__progress {
  position: absolute; z-index: 6; left: clamp(20px, 4vw, 60px); top: 57%; transform: translateY(-50%);
  display: flex; flex-direction: column; pointer-events: none;
}
.run__progress .node { display: flex; align-items: center; gap: 12px; }
.run__progress .node .dot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2.5px solid var(--mut-2); background: var(--paper-hi);
  transition: border-color .3s, background .3s;
}
.run__progress .node.active .dot { border-color: var(--red); background: var(--red); }
.run__progress .node .lab { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); }
.run__progress .node.active .lab { color: var(--ink); }
.run__progress .link { width: 2px; height: 42px; background: var(--line); margin-left: 6.5px; position: relative; overflow: hidden; }
.run__progress .link::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleY(var(--f,0)); transform-origin: top; }
@media (max-width: 720px) { .run__progress { display: none; } }

/* ============================================================
   TICKER BAND
   ============================================================ */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; border-block: 4px solid var(--red); }
.ticker__track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__seq { display: flex; align-items: center; padding-block: 15px; }
.ticker__seq span {
  display: flex; align-items: center;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(19px, 2.1vw, 26px); letter-spacing: .06em; white-space: nowrap;
}
.ticker__seq span::after { content: "//"; color: var(--red); margin-inline: 22px; font-family: var(--font-mono); font-size: 14px; font-weight: 500; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; flex-wrap: wrap; width: auto; } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { position: relative; padding-block: clamp(84px, 11vw, 148px); scroll-margin-top: var(--head-h); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: var(--mut-2); }

/* ---------- proof (stats) ---------- */
.proof {
  padding-block: clamp(72px, 8vw, 112px);
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(22,20,15,.035) 50%, transparent 50.1%),
    var(--paper);
  background-size: 80px 100%;
}
.proof__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 58px);
}
.proof__intro .h-display { margin-top: 16px; font-size: clamp(50px, 6.7vw, 94px); }
.proof__intro .red { color: var(--red-paper); }
.proof__lede {
  max-width: 49ch;
  margin: 0 0 7px;
  color: var(--ink-3);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.65;
}
.proof__manifest {
  border: 1px solid var(--ink);
  background: var(--paper-hi);
  box-shadow: 10px 10px 0 rgba(22,20,15,.08);
}
.proof__manifest-bar {
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.proof__hours { color: var(--mut-2); }
.proof__status { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.proof__status i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(232,24,43,.2);
}
.proof__grid {
  display: grid;
  grid-template-columns: .92fr 1.32fr .92fr 1.08fr;
  background: var(--paper-hi);
}
.proof__cell {
  position: relative;
  min-width: 0;
  min-height: clamp(230px, 20vw, 290px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(25px, 3vw, 40px) clamp(20px, 2.25vw, 34px);
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background .25s, color .25s;
}
.proof__cell:last-child { border-right: 0; }
.proof__cell::before {
  content: "";
  position: absolute; left: 0; right: 100%; top: 0; height: 4px;
  background: var(--red);
  transition: right .3s var(--ease, ease);
}
.proof__cell:hover::before { right: 0; }
.proof__code {
  position: absolute; top: 19px; left: clamp(20px, 2.25vw, 34px);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .23em; text-transform: uppercase; color: var(--mut);
}
.proof__code::before { content: "// "; color: var(--red-paper); }
.proof__k {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 5vw, 74px); line-height: .86; letter-spacing: -.01em;
  text-transform: uppercase; white-space: nowrap;
}
.proof__k .red { color: var(--red); }
.proof__cell--service .proof__k { font-size: clamp(54px, 6vw, 84px); }
.proof__v {
  margin-top: 16px; font-family: var(--font-mono); font-size: 10.5px;
  font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mut);
}
.proof__cell--dispatch { background: var(--ink-2); color: var(--paper); }
.proof__cell--dispatch .proof__code,
.proof__cell--dispatch .proof__v { color: #aaa49a; }
.proof__cell--dispatch .proof__code::before { color: var(--red-bright); }
.proof__call {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 23px; padding-top: 13px; border-top: 1px solid var(--line-dark);
  color: var(--paper); text-decoration: none;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em;
}
.proof__call span { color: var(--red-bright); transition: transform .2s; }
.proof__call:hover span { transform: translateX(4px); }
@media (max-width: 940px) {
  .proof__intro { grid-template-columns: 1fr; gap: 20px; }
  .proof__lede { max-width: 62ch; }
  .proof__manifest-bar { grid-template-columns: 1fr auto; }
  .proof__hours { display: none; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof__cell:nth-child(2) { border-right: 0; }
  .proof__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .proof { background-size: 56px 100%; }
  .proof__manifest { box-shadow: 6px 6px 0 rgba(22,20,15,.08); }
  .proof__manifest-bar { grid-template-columns: 1fr; gap: 5px; padding-block: 12px; }
  .proof__status { font-size: 9px; }
  .proof__grid { grid-template-columns: 1fr; }
  .proof__cell {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .proof__cell--dispatch { min-height: 230px; }
  .proof__cell:nth-child(2) { border-right: 0; }
  .proof__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof__cell:last-child { border-bottom: 0; }
  .proof__k, .proof__cell--service .proof__k { font-size: clamp(55px, 18vw, 78px); }
}

/* ---------- services board ---------- */
.board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.board-note {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px dashed var(--line-dark);
  padding: 16px 20px; max-width: 520px;
  font-size: 14.5px; color: #c9c4b8;
}
.board-note svg { flex: 0 0 20px; margin-top: 2px; color: var(--red); }
.board-note b { color: var(--paper); }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--line-dark); }
.svc {
  position: relative; padding: clamp(28px, 3vw, 42px);
  border-right: 1px solid var(--line-dark);
  background: var(--ink);
  transition: background .3s;
  display: flex; flex-direction: column;
}
.svc:last-child { border-right: 0; }
.svc:hover { background: var(--ink-2); }
.svc__no { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .26em; color: var(--mut-2); }
.svc h3 {
  margin: 16px 0 4px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(34px, 3.4vw, 48px); line-height: .92;
}
.svc__win { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .1em; color: var(--red-bright); margin-bottom: 22px; }
.svc ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.svc li {
  padding: 11px 0 11px 24px; position: relative;
  border-top: 1px solid var(--line-dark);
  font-size: 14.5px; color: #c9c4b8;
}
.svc li::before { content: "→"; position: absolute; left: 0; color: var(--red); font-family: var(--font-mono); font-size: 12px; top: 13px; }
.svc__cta { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--paper); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; margin-top: auto; }
.svc__cta .arrow { transition: transform .25s; }
.svc__cta:hover { color: var(--red); }
.svc__cta:hover .arrow { transform: translateX(5px); }
.board-foot {
  margin: 26px 0 0; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .06em; color: var(--mut-2);
}
.board-foot b { color: var(--paper); font-weight: 600; }
.board-foot a { color: var(--red-bright); text-decoration: none; }
.board-foot a:hover { text-decoration: underline; }

.svc--featured { background: #251d15; box-shadow: inset 0 4px 0 var(--red); }
.svc__flag {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red-bright); border: 1px solid var(--red); padding: 5px 9px;
}
@media (max-width: 940px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .svc:last-child { border-bottom: 0; }
}

/* ---------- coverage ---------- */
.cover__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.cover__grid h2.h-display { font-size: clamp(38px, 4.7vw, 68px); }
.cover__citywrap { columns: 2; column-gap: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.cover__city {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  border-bottom: 1px solid var(--line);
  padding: 12px 6px 11px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(20px, 2vw, 27px); letter-spacing: .03em; color: var(--ink);
  transition: color .2s, padding-left .25s;
  break-inside: avoid;
}
.cover__city small { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: var(--mut); transition: color .2s; }
.cover__city:hover, .cover__city.active { color: var(--red-paper); padding-left: 16px; }
.cover__city:hover small, .cover__city.active small { color: var(--red-paper); }
@media (max-width: 640px) { .cover__citywrap { columns: 1; } }

.spot {
  position: relative; aspect-ratio: 1 / 1.04;
  border: 1px solid var(--line); background: #e7e5e0;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(22,20,15,.35);
}
.spot__ring {
  position: absolute; z-index: 3; left: 50%; top: 50%;
  width: 90px; height: 90px; margin: -45px 0 0 -45px;
  border: 2px solid var(--red); border-radius: 50%;
  pointer-events: none;
  animation: ring 2.6s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.spot__crossV, .spot__crossH { position: absolute; z-index: 3; background: rgba(232,24,43,.35); pointer-events: none; }
.spot__crossV { left: 50%; top: 0; bottom: 0; width: 1px; }
.spot__crossH { top: 50%; left: 0; right: 0; height: 1px; }
.spot__tag {
  position: absolute; z-index: 4; left: 18px; top: 16px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); background: rgba(251,250,248,.92);
  background: color-mix(in srgb, var(--paper-hi) 90%, transparent);
  padding: 8px 12px; border: 1px solid var(--line);
}
.spot__tag b { color: var(--red-paper); }
@media (max-width: 940px) {
  .cover__grid { grid-template-columns: 1fr; }
  .spot { order: 1; aspect-ratio: 4/3; }
}

/* ---------- equipment spec sheet ---------- */
.spec {
  background-color: var(--paper-hi);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  border-block: 1px solid var(--line);
}
.spec__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 72px); align-items: center; margin-top: clamp(36px, 4.5vw, 56px); }
.spec__fig { position: relative; }
.spec__fig svg { width: 100%; height: auto; }
.spec__fig .stamp { position: absolute; right: 2%; top: -6%; font-size: clamp(17px, 2vw, 24px); }
.spec__list { list-style: none; margin: 0; padding: 0; counter-reset: spec; }
.spec__list li {
  counter-increment: spec;
  position: relative;
  padding: 20px 0 20px 64px;
  border-bottom: 1px solid var(--line);
}
.spec__list li::before {
  content: counter(spec, decimal-leading-zero);
  position: absolute; left: 0; top: 20px;
  font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 1;
  color: var(--red);
}
.spec__list h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: .02em; }
.spec__list p { margin: 0; font-size: 15px; color: var(--ink-3); }
@media (max-width: 940px) { .spec__grid { grid-template-columns: 1fr; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: clamp(40px, 5vw, 64px); }
.step { background: var(--ink); padding: clamp(28px, 3vw, 42px); position: relative; overflow: clip; }
.step__n {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(84px, 9vw, 132px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-dark);
  position: absolute; right: 10px; top: 12px; user-select: none; pointer-events: none;
  transition: -webkit-text-stroke-color .3s;
}
@supports not (-webkit-text-stroke: 2px black) { .step__n { color: var(--ink-2); } }
.step:hover .step__n { -webkit-text-stroke-color: var(--red); }
.step h3 { margin: 84px 0 10px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; }
.step p { margin: 0; font-size: 15px; color: #c9c4b8; }
@media (max-width: 940px) { .steps { grid-template-columns: 1fr; } .step h3 { margin-top: 48px; } }

/* ---------- FreightForce web app ---------- */
.portal { background: var(--paper); }
.portal__intro { max-width: 920px; }
.portal__intro .lede { max-width: 78ch; margin-top: 24px; }
.portal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin-top: clamp(38px, 5vw, 64px);
  border: 1px solid var(--line);
}
.portal__role { padding: clamp(26px, 3vw, 40px); border-right: 1px solid var(--line); }
.portal__role:last-child { border-right: 0; }
.portal__role > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red-paper);
}
.portal__role h3 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1;
  text-transform: uppercase;
}
.portal__role p { margin: 0; color: var(--ink-3); font-size: 15px; }
.portal__payment-note { max-width: 760px; margin: 18px 0 0; border-left: 3px solid var(--red-paper); padding: 12px 16px; background: #fff7e6; color: var(--ink-3); font-size: 14px; }
.portal__actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.portal__actions p { max-width: 650px; margin: 0; color: var(--ink-3); font-size: 13px; }
.portal__actions p a { color: var(--ink); font-weight: 700; }
@media (max-width: 940px) {
  .portal__grid { grid-template-columns: 1fr; }
  .portal__role { border-right: 0; border-bottom: 1px solid var(--line); }
  .portal__role:last-child { border-bottom: 0; }
  .portal__actions { align-items: flex-start; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-top: clamp(34px, 4vw, 52px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(19px, 2vw, 25px); letter-spacing: .03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto;
  font-family: var(--font-mono); font-weight: 500; font-size: 22px; color: var(--red-paper);
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--red-paper); }
.faq details p { margin: 0; padding: 0 4px 24px; max-width: 68ch; color: var(--ink-3); font-size: 15.5px; }
.faq details p a { color: var(--red-paper); }

/* ---------- contact ---------- */
.contact { overflow: clip; }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.contact h2 { font-size: clamp(46px, 6.4vw, 94px); }
.contact h2 .red { color: var(--red); }
.contact__phone {
  display: inline-block; text-decoration: none; margin-top: 14px;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(50px, 6.8vw, 100px); line-height: 1; letter-spacing: .02em;
  color: var(--paper);
}
.contact__phone:hover { color: var(--red); }
.contact__lines { display: flex; flex-direction: column; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.contact__line {
  display: flex; align-items: center; gap: 18px;
  background: var(--ink); padding: 22px 24px; text-decoration: none;
  transition: background .25s;
}
a.contact__line:hover { background: var(--ink-2); }
.contact__line svg { flex: 0 0 22px; color: var(--red); }
.contact__line .k { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mut-2); }
.contact__line .v { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--paper); margin-top: 3px; word-break: break-word; }
@media (max-width: 940px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--mut-2); border-top: 1px solid var(--line-dark); }
.foot__row {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-block: 30px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
}
.foot__brand { font-family: var(--font-display); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .04em; color: var(--paper); }
.foot__meta a { color: var(--mut-2); text-decoration: none; }
.foot__meta a:hover { color: var(--paper); }

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed; z-index: 95; left: 0; right: 0; bottom: 0;
  display: none; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-dark);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 10px calc(16px + env(safe-area-inset-bottom, 0px));
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
}
.callbar svg { width: 17px; height: 17px; }
.callbar .call { background: var(--ink); color: var(--paper); }
.callbar .quote { background: var(--red); color: #fff; }
@media (max-width: 720px) {
  .callbar { display: grid; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   QUOTE PAGE — waybill
   ============================================================ */
.qhero { padding-top: calc(var(--head-h) + clamp(48px, 7vw, 90px)); padding-bottom: 34px; }
.qhero h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(52px, 8.5vw, 118px); line-height: .88; margin: 18px 0 0; }
.qhero h1 .red { color: var(--red); }

.waybill {
  border: 2px solid var(--ink);
  background: var(--paper-hi);
  box-shadow: 8px 8px 0 rgba(22,20,15,.12);
  margin-bottom: clamp(70px, 9vw, 120px);
  position: relative;
}
.waybill__head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  padding: 18px 26px;
}
.waybill__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 26px; letter-spacing: .03em; }
.waybill__meta { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); text-align: right; }
.waybill__note {
  display: flex; gap: 14px; align-items: flex-start;
  margin: 24px 26px 4px;
  border: 1.5px dashed var(--red-paper);
  padding: 14px 18px;
  font-size: 14.5px; color: var(--ink-3);
}
.waybill__note svg { flex: 0 0 19px; color: var(--red-paper); margin-top: 2px; }
.waybill__note a { color: var(--red-paper); font-weight: 600; }

.form { padding: 24px 26px 30px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.field { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 14px 18px 12px; background: var(--paper-hi); transition: background .2s, box-shadow .2s; }
.field:focus-within { background: #fff; box-shadow: inset 3px 0 0 var(--red); }
.field--full { grid-column: 1 / -1; border-right: 0 !important; }
.reach-hint {
  grid-column: 1 / -1;
  margin: -1px 0 0;
  padding: 10px 18px 11px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--mut);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
}
.field:nth-child(even of :not(.field--full)) { border-right: 0; }
.field label { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); margin-bottom: 6px; }
.field .req { color: var(--red-paper); }
.field input, .field select, .field textarea {
  border: 0; background: transparent; padding: 2px 0 4px;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  outline: none; resize: vertical;
}
.field textarea { min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--mut-2); }
.hp { position: absolute; left: -9999px; top: -9999px; }

.form__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.form__hint { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--mut); }
.form__status { margin-top: 18px; font-size: 15px; font-weight: 600; display: none; padding: 14px 18px; }
.form__status.ok { display: block; background: #e5f3ea; color: var(--green); border-left: 4px solid var(--green); }
.form__status.err { display: block; background: #fdeaec; color: var(--red-deep); border-left: 4px solid var(--red-deep); }
@media (max-width: 720px) {
  .form__grid { grid-template-columns: 1fr; }
  .field { border-right: 0 !important; }
  .waybill__head { padding: 16px 18px; }
  .form { padding: 18px 16px 24px; }
  .waybill__note { margin: 18px 16px 0; }
}

/* legal pages style themselves via inline <style> (see privacy.html/terms.html) */

/* ---------- reveal defaults (js adds motion) ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .beat { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .scroll-cue::after, .spot__ring, .dispatch-strip .live-dot { animation: none !important; }
}

/* ---------- truck technical figure ---------- */
.tf-ink { stroke: var(--ink); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tf-faint { stroke: var(--line); stroke-width: 1.25; }
.tf-hatch line { stroke: var(--mut-2); stroke-width: 1; }
.tf-dash { stroke: var(--mut); stroke-width: 1.5; stroke-dasharray: 6 5; color: var(--mut); }
.tf-red { stroke: var(--red-paper); stroke-width: 2.5; color: var(--red-paper); stroke-linecap: round; stroke-linejoin: round; }
.tf-red-fill { fill: var(--red-paper); }
.tf-dim { stroke: var(--mut); stroke-width: 1.2; color: var(--mut); }
.tf-label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; fill: var(--mut); }
.tf-label--red { fill: var(--red-paper); }
.tf-brand { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: .1em; fill: var(--line); }

/* ---------- no-motion / no-js story fallback ---------- */
.no-js .run__track, .no-motion .run__track { height: auto; }
.no-js .run__stage, .no-motion .run__stage { position: relative; height: auto; min-height: 0; padding: clamp(60px, 8vw, 100px) 0 40px; }
.no-js .run__map, .no-js .run__veil, .no-js .run__progress,
.no-motion .run__map, .no-motion .run__veil, .no-motion .run__progress { display: none; }
.no-js .run__head, .no-motion .run__head { position: static; margin-bottom: 34px; pointer-events: auto; }
.no-js .beat, .no-motion .beat {
  position: relative; opacity: 1; visibility: visible;
  right: auto; bottom: auto;
  width: min(var(--wrap), calc(100% - 48px)); margin: 0 auto 18px;
}
.no-js .hero__map, .no-motion .hero__map { opacity: .9; }
.no-js .hero h1 .l > span { transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.run__note { margin: 10px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }

/* mobile GPU relief: blur + grain are expensive on phones */
@media (hover: none), (max-width: 720px) {
  .grain { display: none; }
  .site-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(246,244,239,.97); }
  .dispatch-strip { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251,250,248,.97); }
}

/* ---------- paper grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .09 0 0 0 0 .07 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ============================================================
   NIGHT DISPATCH EDITORIAL
   A cinematic first impression with the live map as signal, not wallpaper.
   ============================================================ */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero {
  min-height: max(100svh, 840px);
  min-height: max(100dvh, 840px);
  background: #08090b;
  color: #fff;
  isolation: isolate;
  contain: paint;
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 64% 50%;
  filter: saturate(.78) contrast(1.08) brightness(.84);
  transform: scale(1.015);
}

.hero__map {
  z-index: 1;
  opacity: .18;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 34%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.2) 34%, #000 78%);
}

.hero__map .base-map { filter: invert(1) grayscale(1) contrast(1.15); }
.hero__map .map-citylabel { fill: #fff; stroke: rgba(8,9,11,.82); }
.hero__map .map-citydot { fill: #fff; }

.hero__veil {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(8,9,11,.98) 0%, rgba(8,9,11,.9) 31%, rgba(8,9,11,.28) 70%, rgba(8,9,11,.1) 100%),
    linear-gradient(0deg, rgba(8,9,11,.94) 0%, rgba(8,9,11,.08) 47%),
    linear-gradient(180deg, rgba(8,9,11,.55) 0%, transparent 30%);
}

.hero__inner {
  padding-bottom: clamp(100px, 12vh, 140px);
}

.hero__inner .wrap { position: relative; }
.hero__manifest { color: rgba(255,255,255,.62); }
.hero__manifest b { color: var(--red-bright); }

.hero h1 {
  max-width: 920px;
  font-size: clamp(68px, min(11.8vw, 18vh), 164px);
  letter-spacing: -.015em;
  color: #fff;
  text-wrap: balance;
}

.hero h1 .l--outline {
  color: rgba(255,255,255,.03);
  -webkit-text-stroke-color: rgba(255,255,255,.92);
}

.hero__sub {
  max-width: 51ch;
  color: rgba(255,255,255,.78);
}

.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: rgba(8,9,11,.28);
}

.hero .btn--ghost:hover,
.hero .btn--ghost:focus-visible {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.hero .coords { color: rgba(255,255,255,.45); }
.hero .coords b { color: rgba(255,255,255,.82); }

.hero__route-card {
  position: absolute;
  z-index: 5;
  right: clamp(28px, 5vw, 76px);
  top: 40%;
  width: min(330px, 25vw);
  padding: 18px 20px 17px;
  border-left: 4px solid var(--red);
  background: rgba(8,9,11,.72);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: rotate(-1.5deg);
}

.hero__route-card span,
.hero__route-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: .2em;
  color: rgba(255,255,255,.55);
}

.hero__route-card strong {
  display: block;
  margin: 8px 0 7px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.25vw, 34px);
  line-height: .95;
  letter-spacing: .04em;
}

.hero__route-card i {
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: .34em;
  font-style: normal;
  letter-spacing: .18em;
}

.hero .scroll-cue { color: rgba(255,255,255,.48); }

.hero .dispatch-strip {
  color: #fff;
  border-top-color: rgba(255,255,255,.16);
  background: rgba(8,9,11,.9);
}
.hero .dispatch-strip .k { color: rgba(255,255,255,.48); }
.hero .dispatch-strip .v { color: rgba(255,255,255,.9); }
.hero .dispatch-strip .v.red { color: var(--red-bright); }
.hero .dispatch-strip .live-dot.closed {
  background: var(--red-bright);
  animation: none;
  box-shadow: none;
}

.field-notes {
  padding: clamp(76px, 9vw, 136px) 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-hi);
}

.field-notes__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  align-items: end;
  gap: 40px;
  margin-bottom: 36px;
}

.field-notes__head .eyebrow { color: var(--mut-2); }
.field-notes__head .eyebrow b { color: var(--red-bright); }
.field-notes__head .h-display { margin-top: 18px; color: var(--paper-hi); }
.field-notes__head p { max-width: 50ch; margin: 0; color: #c9c4ba; }

.field-notes__grid {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
  gap: 16px;
}

.field-shot {
  position: relative;
  min-height: clamp(360px, 46vw, 660px);
  margin: 0;
  overflow: hidden;
  background: #050607;
}

.field-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.6) contrast(1.12) brightness(.78);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease;
}

.field-shot:hover img { transform: scale(1.025); filter: saturate(.82) contrast(1.08) brightness(.86); }

.field-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5,6,7,.92) 100%);
  pointer-events: none;
}

.field-shot figcaption {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 3vw, 44px);
  right: clamp(20px, 3vw, 44px);
  bottom: clamp(20px, 3vw, 38px);
}

.field-shot figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--red-bright);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.field-shot figcaption strong {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 62px);
  line-height: .94;
  letter-spacing: .01em;
  text-transform: uppercase;
}

@media (max-width: 940px) {
  .hero__route-card { display: none; }
  .field-notes__head { grid-template-columns: 1fr; align-items: start; }
  .field-notes__grid { grid-template-columns: 1fr; }
  .field-shot { min-height: min(68vw, 520px); }
}

@media (max-width: 720px) {
  .hero {
    height: auto;
    min-height: max(100svh, 820px);
    min-height: max(100dvh, 820px);
  }
  .hero__photo img { object-position: 58% center; filter: saturate(.66) contrast(1.08) brightness(.62); }
  .hero__map { opacity: .13; -webkit-mask-image: none; mask-image: none; }
  .hero__veil {
    background:
      linear-gradient(0deg, rgba(8,9,11,.98) 4%, rgba(8,9,11,.78) 48%, rgba(8,9,11,.28) 83%),
      linear-gradient(90deg, rgba(8,9,11,.74), rgba(8,9,11,.14));
  }
  .hero__inner {
    height: auto;
    min-height: inherit;
    justify-content: flex-start;
    padding-top: calc(var(--head-h) + 28px);
    padding-bottom: 188px;
  }
  .hero__manifest { gap: 9px 16px; margin-bottom: 18px; font-size: 9px; }
  .hero h1 { font-size: clamp(58px, 21vw, 92px); line-height: .84; }
  .hero h1 .l--outline { -webkit-text-stroke-width: 1.5px; }
  .hero__sub { margin: 20px 0 22px; font-size: 16px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 190px; justify-content: center; }
  .hero .dispatch-strip { bottom: 58px; }
  .field-notes__grid { width: calc(100% - 24px); gap: 12px; }
  .field-shot { min-height: 76vw; }

  .run__track { height: auto !important; }
  .run__stage {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0;
    padding: 76px 0 46px;
    overflow: hidden;
  }
  .run__map,
  .run__veil,
  .run__progress { display: none !important; }
  .run__head {
    position: static;
    margin-bottom: 30px;
    pointer-events: auto;
  }
  .beat {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: calc(100% - 40px) !important;
    margin: 0 auto 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .beat .stamp { max-width: calc(100% - 18px); }
}

@media (prefers-reduced-motion: reduce) {
  .field-shot img { transition: none; }
  .field-shot:hover img { transform: none; }
}
