/* Roadwright — electric freight, relayed hub to hub.
   Palette: "cedar smoke" (charcoal → sand) with flow lines, one hi-vis accent. */

:root {
  /* Kyoto dusk */
  --c0: #0a1633;
  --c1: #12264d;
  --c2: #1e3d6e;
  --c3: #8294a8;
  --c4: #ebae7e;
  --sand: #eef1f5;
  --sand-2: #dfe4eb;
  --ink: #0a1633;
  --ink-2: #33466a;
  --ink-3: #66788f;
  --cream: #f3f1ee;
  --cream-2: #c3ccd8;
  --cream-3: #8294a8;
  --hv: #e66c27;
  --hv-2: #f08446;
  --line-d: rgba(195, 204, 216, 0.16);
  --line-dd: rgba(195, 204, 216, 0.09);
  --line-l: rgba(10, 22, 51, 0.15);
  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1360px;
  --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c0);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--hv); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--hv); color: var(--ink); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--hv); outline-offset: 3px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.86;
  margin: 0;
}
.h1 { font-size: clamp(64px, 11vw, 196px); }
.h2 { font-size: clamp(46px, 6.4vw, 108px); }
.h3 { font-size: clamp(32px, 3.4vw, 52px); line-height: 0.92; }
.lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; margin: 0; }
.muted { color: var(--cream-2); }
.mono { font-family: var(--f-mono); font-size: 0.86em; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 22px;
  font-family: var(--f-body); font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-hv { background: var(--hv); color: var(--ink); }
.btn-hv:hover { background: var(--hv-2); }
.btn-line { border-color: rgba(243, 241, 238, 0.42); color: var(--cream); background: rgba(10, 22, 51, 0.22); }
.btn-line:hover { border-color: var(--cream); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #000; }
.btn-line-ink { border-color: rgba(10, 22, 51, 0.4); color: var(--ink); }
.btn-line-ink:hover { border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--cream); }
.brand svg { width: 26px; height: 26px; flex: none; }
.brand span { font-family: var(--f-display); font-weight: 800; font-size: 25px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; padding-top: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  background: rgba(10, 22, 51, 0.74);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--line-dd);
}
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--cream-2); text-decoration: none; font-weight: 500; font-size: 16px; transition: color 0.2s; }
.nav-links a:not(.btn):hover, .nav-links a:not(.btn)[aria-current="page"] { color: var(--cream); }
.nav-links a:not(.btn)[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--hv); padding-bottom: 4px; }
.nav-links .btn { height: 40px; padding: 0 16px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--cream); font-weight: 600; font-size: 15px; align-items: center; gap: 10px; }
.nav-toggle i { display: grid; gap: 5px; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] i::before { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i::after { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; height: calc(100svh - var(--nav-h));
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 28px var(--gut);
    background: var(--c0); opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a:not(.btn) { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 52px; line-height: 1.08; color: var(--cream); }
  .nav-links a:not(.btn)[aria-current="page"] { box-shadow: none; color: var(--hv); padding: 0; }
  .nav-links .btn { margin-top: 24px; height: 52px; font-size: 16px; }
}

/* ---------- Textures: "digits", the dusk gradient written in numbers ---------- */
.tex-dark { background: url(/assets/digits-dark.png) 0 0 / 512px auto, var(--c0); }
.tex-light { background: url(/assets/digits-light.png) 0 0 / 512px auto, var(--sand); color: var(--ink); }
.tex-dusk { background: url(/assets/digits-dusk.jpg?v=2) 50% 100% / cover no-repeat, linear-gradient(180deg, #0a1633, #1e3d6e 25%, #8294a8 50%, #ebae7e 75%, #e66c27); }

/* ---------- Home: the story ---------- */
.story { position: relative; height: 1150vh; background: var(--c0); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--c1); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 22, 51, 0.74) 0%, rgba(14, 30, 64, 0.5) 28%, rgba(30, 61, 110, 0.14) 46%, rgba(30, 61, 110, 0) 58%); }
.stage-fade { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: #0a1633; display: grid; place-items: center; }
.stage-fade .veil-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-fade p { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; text-shadow: 0 2px 30px rgba(10, 22, 51, 0.9); }
.stage-fade p b { font-family: var(--f-display); font-weight: 900; font-size: clamp(110px, 16vw, 240px); line-height: 0.82; color: var(--cream); font-variant-numeric: tabular-nums; min-width: 3ch; }
.stage-fade p span { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3vw, 44px); letter-spacing: 0.01em; color: var(--c4); }
.stage.no-gl { background: url(/assets/hero-still.jpg) 62% 50% / cover no-repeat, var(--c1); }
.stage.no-gl canvas { display: none; }

.beat {
  position: absolute; left: var(--gut); top: 50%; z-index: 3;
  width: min(36rem, 44vw);
  opacity: 0; visibility: hidden;
  transform: translateY(calc(-50% + (1 - var(--o, 0)) * 26px));
  will-change: opacity, transform;
}
.beat.on { visibility: visible; }
.beat h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(52px, 5.6vw, 96px); line-height: 0.87; margin: 0 0 22px; }
.beat p { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; color: var(--cream-2); max-width: 30em; }
.beat p strong { color: var(--cream); font-weight: 600; }
.beat .stamp { display: inline-flex; gap: 12px; align-items: baseline; font-family: var(--f-mono); font-size: 13px; color: var(--cream-2); margin-bottom: 16px; }
.beat .stamp b { color: var(--hv); font-weight: 500; }
.beat .actions { margin-top: 30px; }

.beat--hero { inset: 0; width: auto; top: 0; transform: none; padding: calc(var(--nav-h) + clamp(28px, 6vh, 72px)) var(--gut) 0; display: flex; flex-direction: column; }
.beat--hero .hero-top { max-width: 34rem; }
.beat--hero .lead { color: var(--cream); }
.beat--hero .actions { margin-top: 28px; }
.wordmark {
  position: absolute; left: 0; right: 0; bottom: -0.05em;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(88px, 19.4vw, 420px); line-height: 0.8; letter-spacing: -0.005em;
  text-align: center; color: var(--cream); margin: 0; white-space: nowrap;
  transform: translateY(calc((1 - var(--o, 1)) * 0.12em));
  text-shadow: 0 1px 40px rgba(10, 22, 51, 0.3);
}
.scroll-cue { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--cream-2); text-decoration: none; }
.scroll-cue::after { content: ""; width: 1px; height: 22px; background: linear-gradient(var(--cream-2), transparent); }

.hud {
  position: absolute; left: var(--gut); right: var(--gut); bottom: 26px; z-index: 4;
  display: flex; gap: clamp(18px, 2.6vw, 40px); align-items: flex-end;
  font-family: var(--f-mono); color: var(--cream);
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.hud.on { opacity: 1; }
.hud > div { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line-d); min-width: 0; }
.hud span { font-size: 11px; color: var(--cream-3); letter-spacing: 0.04em; }
.hud b { font-weight: 400; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hud .speed b { font-size: 30px; line-height: 1; }
.hud .speed i { font-style: normal; font-size: 12px; color: var(--cream-3); margin-left: 6px; }
.hud .speed em { font-style: normal; font-size: 11px; color: var(--hv); margin-left: 8px; opacity: 0; transition: opacity 0.2s; }
.hud .speed.capped em { opacity: 1; }
.hud .speed .v { display: flex; align-items: baseline; }

.map-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0; }
.map-labels span {
  position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-size: 12px; color: var(--cream-2);
  white-space: nowrap; transform: translate(-50%, -50%); will-change: transform;
}
.map-labels span.hq { color: var(--hv); }
.map-labels span b { font-weight: 400; display: block; font-size: 10px; color: var(--cream-3); }

@media (max-width: 760px) {
  .story { height: 1050vh; }
  .stage-scrim { background: linear-gradient(0deg, rgba(10, 22, 51, 0.92) 0%, rgba(10, 22, 51, 0.64) 34%, rgba(18, 38, 77, 0.2) 52%, rgba(18, 38, 77, 0) 62%); }
  .beat { left: var(--gut); right: var(--gut); width: auto; top: auto; bottom: 112px; transform: translateY(calc((1 - var(--o, 0)) * 22px)); }
  .beat h2 { font-size: clamp(44px, 12.5vw, 64px); margin-bottom: 14px; }
  .beat p { font-size: 17px; }
  .beat .actions { margin-top: 22px; }
  .beat--hero { inset: 0; top: 0; bottom: 0; transform: none; padding-top: calc(var(--nav-h) + 26px); }
  .beat--hero .lead { font-size: 18px; }
  .wordmark { bottom: 0.08em; font-size: 19.6vw; }
  .hud { top: calc(var(--nav-h) + 12px); bottom: auto; gap: 14px; flex-wrap: wrap; align-items: flex-start; }
  .hud > div { padding-top: 6px; }
  .hud .unit, .hud .batt { display: none; }
  .hud b { font-size: 13px; }
  .hud .speed b { font-size: 22px; }
}

/* ---------- Home: sections after the story ---------- */
.why { position: relative; padding: clamp(110px, 14vw, 200px) 0 clamp(110px, 14vw, 200px); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 6vw, 110px); align-items: end; }
.why .h2 { color: var(--cream); }
.why-grid { align-items: start; }
.why-copy { display: grid; gap: 20px; color: var(--cream); font-size: 19px; }
.why-copy p + p { color: var(--cream-2); }
.why-sign { font-family: var(--f-mono); font-size: 13px; color: var(--cream-2) !important; padding-top: 14px; border-top: 1px solid var(--line-d); display: flex; gap: 22px; flex-wrap: wrap; }
.why-figs { margin-top: clamp(260px, 30vw, 460px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); color: var(--ink); }
.why-figs div { padding: 18px 22px 0 0; }
.why-figs b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 5.4vw, 86px); line-height: 0.9; }
.why-figs span { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-2); max-width: 15em; }

.board { padding: clamp(100px, 12vw, 170px) 0; }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.board-head p { color: var(--cream-2); max-width: 28em; }
.live { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 13px; color: var(--cream-2); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hv); box-shadow: 0 0 0 0 rgba(230, 108, 39, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230, 108, 39, 0.5); } 70% { box-shadow: 0 0 0 9px rgba(230, 108, 39, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 108, 39, 0); } }
.table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--cream-3); padding: 0 28px 12px 0; border-bottom: 1px solid var(--line-d); white-space: nowrap; }
.table td { padding: 16px 28px 16px 0; border-bottom: 1px solid var(--line-dd); vertical-align: baseline; }
.table td.mono, .table td .mono { font-size: 15px; }
.table .r { text-align: right; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table tr.hl td { color: var(--cream); }
.table .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--cream-2); }
.table .tag.go::before { content: ""; width: 6px; height: 6px; background: var(--hv); border-radius: 50%; }
.table .tag.swap::before { content: ""; width: 6px; height: 6px; border: 1.5px solid var(--hv); border-radius: 50%; }
.table .tag.park::before { content: ""; width: 6px; height: 6px; background: var(--cream-3); border-radius: 50%; }
.bar { display: inline-block; width: 64px; height: 6px; background: var(--line-d); vertical-align: middle; margin-right: 10px; position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--cream-2); }
.board-foot { margin-top: 18px; font-family: var(--f-mono); font-size: 12px; color: var(--cream-3); }
@media (max-width: 860px) {
  .table .hide-s { display: none; }
}

.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: clamp(380px, 46vw, 620px); padding: clamp(36px, 4vw, 64px) var(--gut); text-decoration: none; overflow: hidden; }
.door .display { font-size: clamp(64px, 8.4vw, 150px); }
.door p { max-width: 24em; font-size: 18px; }
.door .go { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.door .go svg { width: clamp(48px, 5vw, 76px); height: auto; transition: transform 0.35s var(--ease); flex: none; }
.door:hover .go svg { transform: translateX(10px); }
.door-ship { background: var(--hv); color: var(--ink); }
.door-ship p { color: rgba(10, 22, 51, 0.78); }
.door-drive { color: var(--cream); }
.door-drive p { color: var(--cream-2); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding: 70px 0 34px; border-top: 1px solid var(--line-dd); background: var(--c0); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.foot-top p { color: var(--cream-2); margin-top: 16px; max-width: 24em; font-size: 16px; }
.foot-col h3 { font-size: 13px; font-weight: 500; color: var(--cream-3); margin: 0 0 14px; }
.foot-col a, .foot-col span { display: block; text-decoration: none; color: var(--cream-2); font-size: 16px; padding: 4px 0; }
.foot-col a:hover { color: var(--cream); }
.foot-bottom { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line-dd); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--cream-3); }
.foot-bottom a { color: var(--cream-2); text-decoration: none; }
.foot-bottom a:hover { color: var(--cream); }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Inner pages ---------- */
.page-top { padding-top: var(--nav-h); }

/* Network */
.net-hero { position: relative; padding: clamp(60px, 7vw, 110px) 0 clamp(50px, 6vw, 90px); }
.net-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.net-hero .lead { color: var(--cream-2); margin-top: 26px; max-width: 26em; }
.net-figs { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 36px; }
.net-figs div b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 54px; line-height: 0.9; }
.net-figs div span { font-size: 14px; color: var(--cream-3); }
.netmap { position: relative; }
.netmap svg { width: 100%; height: auto; overflow: visible; }
.netmap .tx { fill: rgba(130, 148, 168, 0.07); stroke: rgba(195, 204, 216, 0.34); stroke-width: 1; vector-effect: non-scaling-stroke; }
.netmap .lane { fill: none; stroke: var(--cream-3); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; transition: stroke 0.2s; }
.netmap .lane.hot { stroke: var(--cream); }
.netmap .hub { cursor: pointer; }
.netmap .hub circle.o { fill: var(--c0); stroke: var(--cream); stroke-width: 1.5; vector-effect: non-scaling-stroke; transition: fill 0.2s; }
.netmap .hub.hq circle.o { stroke: var(--hv); }
.netmap .hub:hover circle.o, .netmap .hub.sel circle.o, .netmap .hub:focus-visible circle.o { fill: var(--cream); }
.netmap .hub:focus { outline: none; }
.netmap .hub text { font-family: var(--f-mono); font-size: 11px; fill: var(--cream-2); }
.netmap .truck { fill: var(--hv); }
.hubcard { position: absolute; right: 0; bottom: 0; width: min(300px, 46%); background: rgba(10, 22, 51, 0.88); border: 1px solid var(--line-d); padding: 18px 18px 16px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hubcard h3 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; }
.hubcard .sub { font-size: 14px; color: var(--cream-3); margin-bottom: 12px; }
.hubcard dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 6px 16px; font-size: 14px; }
.hubcard dt { color: var(--cream-3); }
.hubcard dd { margin: 0; text-align: right; font-family: var(--f-mono); font-size: 13px; }
@media (max-width: 900px) {
  .net-grid { grid-template-columns: 1fr; }
  .hubcard { position: static; width: auto; margin-top: 16px; }
}

.lanes { padding: clamp(80px, 10vw, 150px) 0; }
.lanes h2 { margin-bottom: 40px; }
.lanes .table td:first-child { font-weight: 600; color: var(--ink); }
.tex-light .table th { color: var(--ink-3); border-bottom-color: var(--line-l); }
.tex-light .table td { border-bottom-color: var(--line-l); color: var(--ink-2); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-head p { max-width: 30em; }
.tex-light .sec-head p { color: var(--ink-2); }

.track { padding: clamp(90px, 11vw, 160px) 0; }
.track-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.track-grid .lead { color: var(--cream-2); margin-top: 24px; }
.app { background: #0f1f42; border: 1px solid var(--line-d); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-dd); font-size: 14px; color: var(--cream-2); }
.app-top b { color: var(--cream); font-weight: 600; }
.app-body { padding: 22px 18px 20px; }
.eta { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.eta-big { font-family: var(--f-display); font-weight: 800; font-size: clamp(56px, 6vw, 92px); line-height: 0.85; }
.eta-big small { font-size: 0.36em; margin-left: 8px; color: var(--cream-3); font-weight: 700; }
.eta-side { text-align: right; font-size: 14px; color: var(--cream-2); }
.eta-side b { color: var(--hv); font-weight: 500; font-family: var(--f-mono); }
.route { position: relative; margin: 30px 0 8px; height: 46px; }
.route .rl { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line-d); }
.route .rp { position: absolute; left: 0; top: 10px; height: 2px; background: var(--cream); }
.route .st { position: absolute; top: 4px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; }
.route .st i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--cream); background: var(--c0); }
.route .st.done i { background: var(--cream); }
.route .st.now i { border-color: var(--hv); background: var(--hv); box-shadow: 0 0 0 5px rgba(230, 108, 39, 0.2); }
.route .st span { font-family: var(--f-mono); font-size: 11px; color: var(--cream-3); white-space: nowrap; }
.route .st:first-child { transform: none; justify-items: start; }
.route .st:last-child { transform: translateX(-100%); justify-items: end; }
.events { list-style: none; margin: 18px 0 0; padding: 0; }
.events li { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-dd); font-size: 15px; color: var(--cream-2); }
.events li .t { font-family: var(--f-mono); font-size: 13px; color: var(--cream-3); padding-top: 2px; }
.events li b { color: var(--cream); font-weight: 500; }
.events li .s { font-family: var(--f-mono); font-size: 12px; color: var(--cream-3); padding-top: 2px; }
.events li.now .s { color: var(--hv); }
.app-foot { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--line-dd); font-family: var(--f-mono); font-size: 12px; color: var(--cream-3); }
@media (max-width: 900px) { .track-grid { grid-template-columns: 1fr; } .events li { grid-template-columns: 70px minmax(0, 1fr); } .events li .s { grid-column: 2; padding-top: 0; } }

.hubplan { padding: clamp(90px, 11vw, 160px) 0; }
.hubplan-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.plan svg { width: 100%; height: auto; }
.specs { list-style: none; margin: 30px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.specs li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-l); font-size: 17px; color: var(--ink-2); }
.specs li b { color: var(--ink); font-weight: 600; text-align: right; }
@media (max-width: 900px) { .hubplan-grid { grid-template-columns: 1fr; } }

.endline { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line-dd); }
.endline-in { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }

/* Drivers */
.drv-hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--nav-h) + 60px) 0 clamp(50px, 6vw, 90px); overflow: hidden; }
.drv-hero .display { font-size: clamp(84px, 17vw, 320px); line-height: 0.8; }
.drv-hero .display span { display: block; }
.drv-hero .display .hv { color: var(--hv); }
.drv-hero-foot { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; }
.drv-hero-foot .lead { color: var(--cream-2); max-width: 30em; }
.clockface { position: absolute; right: var(--gut); top: calc(var(--nav-h) + 40px); width: clamp(140px, 16vw, 240px); }
.clockface svg { width: 100%; height: auto; }
@media (max-width: 760px) { .drv-hero-foot { grid-template-columns: 1fr; } .clockface { display: none; } }

.shift { padding: clamp(100px, 12vw, 170px) 0; }
.shift-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 100px); }
.shift-intro { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.shift-intro .lead { color: var(--ink-2); margin-top: 24px; }
.shift-list { list-style: none; margin: 0; padding: 0; }
.shift-list li { display: grid; grid-template-columns: clamp(150px, 15vw, 230px) minmax(0, 1fr); gap: 24px; padding: 26px 0; border-top: 1px solid var(--line-l); align-items: baseline; }
.shift-list li:last-child { border-bottom: 1px solid var(--line-l); }
.shift-list time { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 5vw, 78px); line-height: 0.85; color: var(--ink); }
.shift-list time small { font-size: 0.4em; margin-left: 6px; color: var(--ink-3); }
.shift-list h3 { margin: 0 0 6px; font-size: 21px; font-weight: 600; color: var(--ink); }
.shift-list p { color: var(--ink-2); font-size: 17px; }
.shift-list li.home time { color: var(--ink); box-shadow: inset 0 -0.12em 0 var(--hv); display: inline; }
@media (max-width: 860px) { .shift-grid { grid-template-columns: 1fr; } .shift-intro { position: static; } .shift-list li { grid-template-columns: 1fr; gap: 8px; } }

.pay { padding: clamp(100px, 12vw, 170px) 0; }
.pay-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.pay .lead { color: var(--cream-2); margin-top: 24px; }
.benefits { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; }
.benefits li { padding: 13px 0; border-top: 1px solid var(--line-dd); color: var(--cream-2); font-size: 17px; }
.benefits li b { color: var(--cream); font-weight: 600; }
.stub { background: var(--sand); color: var(--ink); padding: 26px 26px 22px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); font-variant-numeric: tabular-nums; transform: rotate(-1.2deg); }
.stub-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.stub-top b { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; }
.stub-top span { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); text-align: right; }
.stub table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.stub td { padding: 10px 0; border-bottom: 1px dashed rgba(10, 22, 51, 0.22); font-size: 15px; color: var(--ink-2); }
.stub td.r { text-align: right; font-family: var(--f-mono); font-size: 14px; color: var(--ink); }
.stub tr.tot td { border-bottom: 0; border-top: 2px solid var(--ink); padding-top: 14px; font-weight: 600; color: var(--ink); }
.stub tr.tot td.r { font-family: var(--f-display); font-weight: 800; font-size: 34px; }
.stub-foot { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) { .pay-grid { grid-template-columns: 1fr; } .stub { transform: none; } }

.rig { padding: clamp(100px, 12vw, 170px) 0; }
.rig-draw svg { width: 100%; height: auto; }
.rig-draw .l { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.rig-draw .t { fill: none; stroke: var(--ink-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rig-draw .d { fill: none; stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.rig-draw .hv { fill: var(--hv); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rig-draw text { font-family: var(--f-mono); font-size: 13px; fill: var(--ink-2); }
.rig-specs { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.rig-specs div { padding: 16px 20px 0 0; }
.rig-specs b { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 4vw, 64px); line-height: 0.9; color: var(--ink); }
.rig-specs span { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .rig-specs, .why-figs { grid-template-columns: 1fr 1fr; row-gap: 26px; } }

.voice { padding: clamp(110px, 13vw, 190px) 0; }
.voice blockquote { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(42px, 5.4vw, 90px); line-height: 0.95; text-transform: uppercase; max-width: 16em; text-indent: -0.42em; }
.voice figcaption { margin-top: 30px; display: flex; gap: 14px; align-items: baseline; font-size: 16px; color: var(--cream-2); }
.voice figcaption b { color: var(--cream); font-weight: 600; }

.roles { padding: clamp(90px, 11vw, 160px) 0; }
.roles .table td:first-child { font-weight: 600; color: var(--ink); }
.roles .table a { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; }
.roles .table a:hover { text-decoration: underline; }
.roles-note { margin-top: 22px; color: var(--ink-2); font-size: 16px; }

/* Ship with us (contact) */
.ship { padding: calc(var(--nav-h) + clamp(50px, 7vw, 110px)) 0 clamp(80px, 10vw, 140px); }
.ship .h1 { margin-bottom: 26px; }
.ship-grid { margin-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--cream-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(195, 204, 216, 0.05); border: 0; border-bottom: 1.5px solid rgba(195, 204, 216, 0.32);
  padding: 13px 12px; font-size: 17px; color: var(--cream); border-radius: 0; transition: border-color 0.2s, background 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cream-2) 50%), linear-gradient(135deg, var(--cream-2) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--c0); color: var(--cream); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--hv); background: rgba(195, 204, 216, 0.09); }
.field input::placeholder, .field textarea::placeholder { color: var(--cream-3); }
.form-end { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 14px; color: var(--cream-3); }
.form-msg { grid-column: 1 / -1; font-size: 15px; color: var(--hv); min-height: 1.4em; }
.ship-side { display: grid; gap: 0; border-top: 2px solid var(--cream); }
.ship-side > div { padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.ship-side h3 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.ship-side p { color: var(--cream-2); font-size: 16px; }
.drivers-line { margin-top: clamp(70px, 9vw, 130px); padding: clamp(30px, 4vw, 50px) clamp(24px, 3vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; color: var(--ink); }
.drivers-line .h3 { color: var(--ink); }
.drivers-line p { color: var(--ink-2); margin-top: 10px; max-width: 30em; }
@media (max-width: 860px) { .ship-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* 404 */
.lost { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.lost .display { font-size: clamp(96px, 20vw, 360px); }
.lost p { margin-top: 26px; color: var(--cream-2); max-width: 26em; font-size: 20px; }
.lost .actions { margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- small-screen fixes ---------- */
.table td.mono, .table td .mono, .table .r { white-space: nowrap; }
.roles .table a { white-space: nowrap; }
@media (max-width: 560px) {
  .table th, .table td { padding-right: 14px; }
  .route .st:not(.now):not(:first-child):not(:last-child) span { display: none; }
  .drv-hero { min-height: 0; padding-top: calc(var(--nav-h) + 90px); }
}

/* ---------- interface tags pinned to the 3D tractors ---------- */
.tag3d {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; visibility: hidden;
  display: grid; gap: 3px; padding: 10px 14px 11px 13px; margin-top: -14px;
  background: rgba(10, 22, 51, 0.82); border: 1px solid rgba(195, 204, 216, 0.22); border-left: 2px solid var(--hv);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; line-height: 1.3; white-space: nowrap; color: var(--cream-2);
}
.tag3d b { font-family: var(--f-mono); font-weight: 500; font-size: 12px; color: var(--cream); }
.tag3d::after { content: ""; position: absolute; left: 50%; bottom: -15px; width: 1px; height: 14px; background: rgba(195, 204, 216, 0.5); }
@media (max-width: 760px) {
  .tag3d[data-tag="B"] { display: none; }
  .tag3d { font-size: 11px; padding: 7px 10px 8px 9px; margin-top: 14px; }
  .tag3d b { font-size: 11px; }
}
.tag3d.below::after { bottom: auto; top: -15px; }
