/* Divide Line Freight — concept site */
:root {
  --paper: #efeae1;
  --paper-2: #e5dfd3;
  --paper-3: #d9d2c4;
  --ink: #17191b;
  --ink-2: #2c3034;
  --slate: #5b636a;
  --rule: #c5bdae;
  --red: #b02f27;
  --red-ink: #8f241d;
  --night: #15181b;
  --night-2: #1f2327;
  --fog: #c8ccce;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22,.7,.12,1);
  --ease-in: cubic-bezier(.55,0,.75,.2);
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.5;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  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(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.wrap { padding-inline: var(--pad); max-width: 1440px; margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display {
  font-weight: 760; font-variation-settings: "wdth" 118;
  letter-spacing: -.02em; line-height: .94; margin: 0;
  text-transform: uppercase;
}
.h2 { font-size: clamp(34px, 5.2vw, 76px); }
.label {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); display: flex; align-items: center; gap: 10px; margin: 0 0 20px;
}
.label::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.rate__intro .h2, .drv .h2, .cols2 .h2 { margin-bottom: 24px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 36ch; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink); --f: var(--paper);
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 22px;
  background: var(--b); color: var(--f); border: 1.5px solid var(--b); border-radius: 2px;
  font-weight: 650; font-variation-settings: "wdth" 112; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: -1; }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn:hover { border-color: var(--red); color: #fff; }
.btn .arr { width: 22px; height: 10px; flex: none; }
.btn .arr path { transition: transform .45s var(--ease); }
.btn:hover .arr path { transform: translateX(4px); }
.btn--red { --b: var(--red); --f: #fff; }
.btn--red::after { background: var(--ink); }
.btn--red:hover { border-color: var(--ink); }
.btn--ghost { --b: transparent; --f: currentColor; border-color: currentColor; }
.btn--light { --b: var(--paper); --f: var(--ink); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad); color: var(--ink); transition: background .4s, color .4s, transform .5s var(--ease);
}
.hdr.on-dark { color: var(--paper); }
.hdr::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(14,16,18,.42), rgba(14,16,18,0)); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: -1; }
.hdr.on-dark:not(.solid)::before { opacity: 1; }
.hdr.solid { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule); }
.hdr.solid.on-dark { background: var(--night); color: var(--paper); border-bottom-color: #2c3135; }
.hdr.solid:not(.on-dark) .nav .btn:not(:hover) { --b: var(--red); --f: #fff; }
.hdr.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 40px; height: 22px; }
.brand b { font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: .06em; font-size: 15px; line-height: 1; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .2em; opacity: .7; margin-top: 3px; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; font-size: 14px; font-weight: 560; letter-spacing: .03em; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 13px; }
.hdr.on-dark .nav .btn:not(:hover) { --b: var(--paper); --f: var(--ink); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease); }

/* ---------- film ---------- */
.film { position: relative; height: 900vh; background: #cfd3d3; }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film__poster, .film canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film canvas { opacity: 0; }
.film.ready canvas { opacity: 1; }
.film__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,22,24,.38) 0%, rgba(20,22,24,.12) 42%, rgba(20,22,24,0) 70%),
              linear-gradient(0deg, rgba(20,22,24,.42) 0%, rgba(20,22,24,0) 34%); }
.film__paper { position: absolute; inset: 0; background: var(--paper); opacity: 0; pointer-events: none; }
/* wave 6: the paper layer's multiply relief (never switched on: no .near-end) is gone with the layer */
.film__grain { position: absolute; inset: 0; pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.chap { position: absolute; left: var(--pad); bottom: clamp(88px, 15vh, 150px); max-width: min(760px, 86vw); color: #fbf8f2; pointer-events: none; }
.chap .display { font-size: clamp(40px, min(7vw, 11.2vh), 116px); text-shadow: 0 1px 30px rgba(10,12,14,.18); }
.chap p { font-size: clamp(17px, 1.5vw, 20px); max-width: 40ch; margin: 22px 0 0; line-height: 1.45; text-shadow: 0 1px 14px rgba(10,12,14,.35); }
.chap .row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; pointer-events: auto; }
.chap--1 .display { max-width: none; white-space: nowrap; }
.chap--1 { max-width: min(1100px, 92vw); }
.chap .line { display: block; overflow: hidden; padding-bottom: .04em; }
.chap .line > span { display: block; }
.chap .k { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; display: flex; gap: 10px; align-items: center; }
.chap .k::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.chap:not(.chap--1) { visibility: hidden; }
.chap--2 .display, .chap--3 .display, .chap--4 .display { font-size: clamp(36px, min(5.2vw, 9vh), 84px); }
.chap--3 { left: auto; right: var(--pad); text-align: right; }
.chap--3 .k { justify-content: flex-end; }
.chap--3 p { margin-left: auto; }

.horizon { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* HUD */
.hud { position: absolute; inset: auto var(--pad) 26px; display: flex; justify-content: space-between; align-items: flex-end; color: #fbf8f2; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hud dl { display: flex; gap: 28px; margin: 0; }
.hud dt { opacity: .72; font-size: 11px; }
.hud dd { margin: 2px 0 0; font-size: 15px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.hud__scroll { display: flex; gap: 10px; align-items: center; }
.hud__scroll i { width: 1px; height: 34px; background: currentColor; opacity: .6; transform-origin: top; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.odo { position: absolute; right: calc(var(--pad) - 6px); top: 50%; transform: translateY(-50%); height: 46vh; width: 40px; color: #fbf8f2; pointer-events: none; }
.odo__track { position: absolute; right: 18px; top: 0; bottom: 0; width: 1px; background: rgba(251,248,242,.45); }
.odo__fill { position: absolute; right: 18px; top: 0; width: 2px; margin-right: -.5px; height: 100%; background: var(--red); transform-origin: top; transform: scaleY(0); }
.odo__tick { position: absolute; right: 18px; width: 9px; height: 1px; background: rgba(251,248,242,.7); }
.odo__tick span { position: absolute; right: 16px; top: -7px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; white-space: nowrap; opacity: .8; }
.film__loading { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: #fbf8f2; opacity: .8; text-transform: uppercase; transition: opacity .6s; }
.film.ready .film__loading { opacity: 0; }

.film.static { height: auto; }
.film.static .film__stage { position: relative; height: auto; overflow: visible; }
.film.static .still { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.film.static .chap { visibility: visible !important; opacity: 1 !important; }
.film.static .film__grain { display: none; }

/* ---------- map ---------- */
.lanes { position: relative; background: var(--paper); padding: 0 0 clamp(60px, 9vw, 140px); }
.lanes__pin { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(300px, 430px) 1fr; gap: clamp(20px, 4vw, 64px); align-items: center; padding: 96px var(--pad) 40px; max-width: 1560px; margin-inline: auto; }
.lanes__copy .h2 { margin-bottom: 22px; font-size: clamp(34px, min(3.9vw, 7vh), 60px); }
.lanes__copy .lede { margin: 0 0 26px; }
.lanes__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.lanes__list li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; align-items: baseline; opacity: .35; transition: opacity .4s; }
.lanes__list li.on { opacity: 1; }
.lanes__list li b { font-weight: 600; }
.lanes__list li .mono { font-size: 12.5px; color: var(--slate); }
.lanes__list li.on .mono:last-child { color: var(--red); }
.map { width: 100%; height: auto; max-height: calc(100vh - 140px); overflow: visible; }
.map .st { fill: rgba(239,234,225,.38); stroke: rgba(23,25,27,.32); stroke-width: .8; }
.map .st.home { fill: rgba(239,234,225,.12); }
.map .frame { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.map .grat { stroke: var(--ink); stroke-width: .5; opacity: .22; stroke-dasharray: 1 4; }
.map .gl { font-family: var(--mono); font-size: 9.5px; fill: var(--ink); opacity: .6; letter-spacing: .06em; }
.map .relief { opacity: .92; }
.map .stl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; fill: var(--slate); opacity: .75; }
.map .divide { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-dasharray: 2 5; stroke-linecap: round; opacity: .8; }
.map .dvl { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; fill: var(--ink); opacity: .6; }
.map .lane { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.map .lane-ghost { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .1; stroke-linecap: round; }
.map .term rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.map .term .dot { fill: var(--ink); }
.map .term text { font-family: var(--sans); font-weight: 700; font-variation-settings: "wdth" 115; font-size: 13px; letter-spacing: .04em; fill: var(--ink); text-transform: uppercase; }
.map .term .sub { font-family: var(--mono); font-weight: 400; font-size: 10px; fill: var(--slate); letter-spacing: .08em; }
.map .truck { fill: var(--ink); }
.map__legend { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--slate); margin-top: 12px; text-transform: uppercase; }
.map__legend span { display: inline-flex; gap: 8px; align-items: center; }
.map__legend i { width: 22px; height: 2px; background: var(--red); display: inline-block; }
.map__legend i.dash { background: none; border-top: 1.5px dotted var(--ink); opacity: .7; }
.map__legend i.sq { width: 10px; height: 10px; border: 1.5px solid var(--ink); background: var(--paper); }

/* ---------- equipment ---------- */
.equip { background: var(--night); color: var(--paper); padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.equip .label { color: #9aa2a8; }
.equip__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.equip__head .lede { color: #c9c4ba; margin: 0; }
.tabs { display: flex; gap: 0; border-bottom: 1px solid #3a3f44; margin-bottom: 36px; }
.tab { background: none; border: 0; padding: 16px 0; margin-right: clamp(20px, 4vw, 52px); cursor: pointer; color: #8d959b; font-weight: 700; font-variation-settings: "wdth" 118; font-size: clamp(17px, 2vw, 24px); text-transform: uppercase; letter-spacing: .01em; position: relative; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tab[aria-selected="true"] { color: var(--paper); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tab .mono { font-size: 11px; font-weight: 400; display: block; color: #8d959b; letter-spacing: .14em; margin-bottom: 4px; }
.equip__body { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.equip__fig { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night-2); }
.equip__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.equip__fig img.on { opacity: 1; transform: none; }
.draw { margin-top: 18px; width: 100%; height: auto; color: #d8d2c6; }
.draw .ln { fill: none; stroke: currentColor; stroke-width: 1.2; }
.draw .dim { fill: none; stroke: #7f878d; stroke-width: .8; }
.draw text { font-family: var(--mono); font-size: 10px; fill: #9aa2a8; letter-spacing: .08em; }
.draw .red { stroke: var(--red); }
.draw .fillred { fill: var(--red); }
.draw g[data-k] { display: none; }
.draw g[data-k].on { display: inline; }
.spec { border-top: 1px solid #3a3f44; }
.spec h3 { font-weight: 720; font-variation-settings: "wdth" 115; font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; margin: 22px 0 10px; line-height: 1; }
.spec p { color: #c9c4ba; margin: 0 0 22px; max-width: 42ch; }
.spec dl { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.spec dt, .spec dd { padding: 11px 0; border-bottom: 1px solid #2f3439; margin: 0; }
.spec dt { color: #9aa2a8; font-size: 14px; }
.spec dd { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 15px; text-align: right; }
.therm { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 0; }
.therm b { font-family: var(--mono); font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.therm span { font-family: var(--mono); font-size: 12px; color: #9aa2a8; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- rate (lead magnet) ---------- */
.rate { background: var(--paper); padding: clamp(80px, 10vw, 150px) 0; }
.rate__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.rate__intro .lede { margin: 0 0 30px; }
.ticket { background: #f7f3ec; border: 1px solid var(--rule); box-shadow: 0 1px 0 var(--rule), 0 24px 50px -30px rgba(23,25,27,.35); position: relative; }
.ticket__top { display: flex; justify-content: space-between; padding: 14px 22px; border-bottom: 1px dashed var(--rule); font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.ticket form { padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.f { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.f.full { grid-column: 1 / -1; }
.f label, .f legend { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); padding: 0; }
.f select, .f input, .f textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--ink); background: var(--paper); border-radius: 2px; padding: 0 14px; font-size: 16px; appearance: none; -webkit-appearance: none; }
.f textarea { padding: 12px 14px; min-height: 90px; resize: vertical; }
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317191b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.f select:focus, .f input:focus, .f textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 22%, transparent); }
fieldset.f { border: 0; margin: 0; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--ink); border-radius: 2px; }
.seg label { position: relative; text-align: center; cursor: pointer; padding: 0; text-transform: none; letter-spacing: 0; color: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 600; }
.seg label + label { border-left: 1.5px solid var(--ink); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 47px; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: -4px; }
.est { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; border-top: 1px dashed var(--rule); padding-top: 18px; margin-top: 4px; }
.est svg { width: 100%; height: auto; background: var(--paper-2); }
.est svg .st { fill: var(--paper-3); stroke: var(--paper-2); stroke-width: 1.2; }
.est svg .mini-lane { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.est svg circle { fill: var(--ink); }
.est svg text { font-family: var(--mono); font-size: 13px; fill: var(--ink); letter-spacing: .06em; }
.est__num dl { margin: 0; display: grid; gap: 12px; }
.est__num dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.est__num dd { margin: 2px 0 0; font-family: var(--mono); font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.est__num dd.big { font-size: clamp(24px, 2.3vw, 30px); color: var(--red-ink); }
.est__note { grid-column: 1 / -1; font-size: 13px; color: var(--slate); margin: 0; }
.ticket .send { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.ticket .send .btn { grid-column: 1 / -1; justify-content: space-between; }
.ticket__done { padding: 40px 22px 44px; display: none; }
.ticket.done form { display: none; }
.ticket.done .ticket__done { display: block; }
.ticket__done h3 { font-weight: 760; font-variation-settings: "wdth" 118; text-transform: uppercase; font-size: 30px; margin: 0 0 10px; line-height: 1; }
.stamp { display: inline-block; border: 2px solid var(--red); color: var(--red); font-family: var(--mono); font-size: 12px; letter-spacing: .18em; padding: 6px 10px; transform: rotate(-4deg); margin-bottom: 18px; }

/* ---------- safety ---------- */
.safety { background: var(--paper-2); padding: clamp(80px, 10vw, 150px) 0; }
.safety__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: clamp(32px, 5vw, 60px); }
.safety__head .lede { margin: 0; }
.log { background: #f6f2ea; border: 1px solid var(--rule); padding: clamp(14px, 2vw, 26px); }
.log__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.log svg { width: 100%; height: auto; }
.log .grid line { stroke: var(--rule); stroke-width: 1; }
.log .grid .hr { stroke: #b9b0a0; }
.log text { font-family: var(--mono); font-size: 11px; fill: var(--slate); }
.log .rowl { font-family: var(--mono); font-size: 11px; fill: var(--ink); letter-spacing: .08em; }
.log .trace { fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linejoin: miter; }
.log .tot { font-family: var(--mono); font-size: 12px; fill: var(--ink); }
.log__notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.log__notes span { border-left: 2px solid var(--red); padding-left: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); margin-top: clamp(36px, 5vw, 64px); }
.stat { padding: 22px 20px 0 0; }
.stat + .stat { border-left: 1px solid var(--rule); padding-left: 20px; }
.stat b { display: block; font-family: var(--mono); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); max-width: 24ch; }

/* ---------- drivers teaser ---------- */
.drv { background: var(--paper); padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 120px); }
.drv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.drv__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.drv__photo img { width: 100%; height: 100%; object-fit: cover; }
.drv__photo figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: #fbf8f2; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin: 26px 0 8px; }
.week div { border: 1px solid var(--rule); padding: 10px 6px 12px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--slate); position: relative; overflow: hidden; }
.week div b { display: block; font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 6px; letter-spacing: .02em; }
.week div.home { background: var(--ink); color: var(--paper-3); border-color: var(--ink); }
.week div.home b { color: var(--paper); }
.week div i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.pay { margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 22px; }
.pay__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pay__row label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.pay output { font-family: var(--mono); font-size: clamp(34px, 4vw, 52px); font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.pay output small { font-size: 14px; color: var(--slate); letter-spacing: .04em; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; margin: 10px 0 6px; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--red) var(--p, 50%), var(--rule) var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 2px; background: var(--rule); }
input[type=range]::-moz-range-progress { height: 2px; background: var(--red); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; background: var(--paper); border: 2px solid var(--ink); border-radius: 0; transform: rotate(45deg); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--paper); border: 2px solid var(--ink); border-radius: 0; transform: rotate(45deg); }
.pay__fine { font-size: 13px; color: var(--slate); margin: 6px 0 24px; }

/* ---------- footer ---------- */
.ftr { background: var(--night); color: #cfc9be; padding: clamp(70px, 9vw, 120px) 0 28px; position: relative; overflow: hidden; }
.ftr__line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--red); transform-origin: left; }
.ftr__big { color: var(--paper); font-size: clamp(42px, 8vw, 132px); margin-bottom: clamp(36px, 5vw, 70px); }
.ftr__big a { text-decoration: none; display: inline-flex; align-items: baseline; gap: .2em; }
.ftr__big a:hover { color: #fff; }
.ftr__big .arr2 { width: .6em; height: .4em; transition: transform .5s var(--ease); }
.ftr__big a:hover .arr2 { transform: translateX(.12em); }
.ftr__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; border-top: 1px solid #343a3f; padding-top: 28px; font-size: 15px; }
.ftr__cols h4 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8d959b; margin: 0 0 12px; }
.ftr__cols p, .ftr__cols ul { margin: 0; padding: 0; list-style: none; line-height: 1.75; }
.ftr__cols a { text-decoration: none; }
.ftr__cols a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.ftr__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: #8d959b; }
.ftr__legal strong { color: #cfc9be; font-weight: 500; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fbf8f2; overflow: hidden; background: var(--night); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,20,22,.72), rgba(18,20,22,.1) 60%), linear-gradient(90deg, rgba(18,20,22,.45), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(40px, 7vw, 90px); padding-top: 120px; }
.page-hero .display { font-size: clamp(46px, 8vw, 128px); max-width: 12ch; }
.page-hero p { font-size: clamp(17px, 1.5vw, 20px); max-width: 44ch; margin: 22px 0 0; }
.page-hero .k { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; display: flex; gap: 10px; align-items: center; }
.page-hero .k::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.sec { padding: clamp(70px, 9vw, 130px) 0; }
.sec--alt { background: var(--paper-2); }
.cols2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table th, .table td { text-align: left; padding: 14px 10px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.table td.mono { font-size: 14.5px; white-space: nowrap; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule); position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 18px; height: 2px; background: var(--red); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 2px; background: var(--ink); box-shadow: none; transition: transform .35s var(--ease); }
.faq summary::before { content: ""; position: absolute; right: 12px; top: calc(50% - 6px); width: 2px; height: 14px; background: var(--ink); transition: transform .35s var(--ease); }
.faq details[open] summary::before { transform: scaleY(0); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--pad) 60px; }
.nf .display { font-size: clamp(54px, 10vw, 150px); }
.nf .road { width: min(560px, 90vw); height: 2px; margin: 34px auto; background: repeating-linear-gradient(90deg, var(--ink) 0 34px, transparent 34px 60px); position: relative; }
.nf .road::after { content: ""; position: absolute; right: 0; top: -9px; width: 2px; height: 20px; background: var(--red); }

/* ---------- reveal helpers ---------- */
.js .rv { opacity: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .lanes__pin { grid-template-columns: 1fr; padding-top: 90px; min-height: 0; }
  .equip__head, .safety__head, .rate__grid, .drv__grid, .cols2 { grid-template-columns: 1fr; }
  .equip__body { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 22px; }
  .ftr__cols { grid-template-columns: 1fr 1fr; }
  .log__notes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { position: fixed; inset: 0 0 auto; height: 100vh; background: var(--night); color: var(--paper); flex-direction: column; justify-content: center; gap: 22px; transform: translateY(-102%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
  .nav a:not(.btn) { font-size: 26px; font-weight: 700; font-variation-settings: "wdth" 118; text-transform: uppercase; }
  .nav .btn { min-height: 52px; font-size: 15px; }
  .hdr.open .nav { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
  .hdr.open { color: var(--paper); transform: none !important; }
  .menu-btn { display: block; position: relative; z-index: 2; }
  .hdr.open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .hdr.open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .brand small { display: none; }
  .film { height: 820vh; }
  .chap { bottom: clamp(76px, 12vh, 104px); right: var(--pad); }
  .chap--3 { text-align: left; left: var(--pad); }
  .chap--3 .k { justify-content: flex-start; }
  .chap--3 p { margin-left: 0; }
  .chap .display { font-size: clamp(30px, min(11vw, 6vh), 56px); }
  .chap--1 .row .btn { min-height: 46px; padding: 0 14px; font-size: 13px; gap: 10px; }
  .chap--1 .row { gap: 8px; margin-top: 22px; flex-wrap: nowrap; }
  .chap--1 p { margin-top: 16px; }
  .chap--1 .k { margin-bottom: 12px; }
  .chap--1 .display { white-space: normal; }
  .chap--2 .display, .chap--3 .display, .chap--4 .display { font-size: clamp(32px, 9.4vw, 44px); }
  .chap p { font-size: clamp(14px, 2.1vh, 16px); }
  .film__shade { background: linear-gradient(0deg, rgba(20,22,24,.66) 0%, rgba(20,22,24,.18) 55%, rgba(20,22,24,.08) 100%); }
  .hud { bottom: 18px; }
  .hud dl { gap: 18px; }
  .hud dd { font-size: 13px; }
  .hud__scroll { display: none; }
  .odo { display: none; }
  .ticket form, .ticket .send { grid-template-columns: 1fr; }
  .est { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .ftr__cols { grid-template-columns: 1fr; }
  .log__notes { grid-template-columns: 1fr; }
  .log__scroll { overflow-x: auto; margin-inline: -4px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .log__scroll svg { width: 820px; max-width: none; }
  .log__top::after { content: "Swipe →"; color: var(--red); }
  .lanes__list li { font-size: 13.5px; }
  .tab { margin-right: 18px; font-size: 16px; }
  .week div { padding: 8px 2px 10px; font-size: 10px; }
  .week div b { font-size: 12px; }
  .table { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; }
}

/* ---------- wave 3: first screen on the horizon ---------- */
.film__stage { --hz: 33vh; }
.horizon { top: var(--hz); }
/* wave 6: the red rule across the mountains is gone (Nick: a red stripe across the whole screen) */
.film .horizon { display: none; }
.chap--1 { inset: 0; max-width: none; bottom: auto; height: 100%; pointer-events: none; color: var(--ink); }
.hz-title {
  position: absolute; left: var(--pad); bottom: calc(100% - var(--hz) + .12em); margin: 0;
  font-weight: 780; font-variation-settings: "wdth" 120; text-transform: uppercase; letter-spacing: -.025em; line-height: .9;
  font-size: clamp(38px, min(6.6vw, 8.6vh), 112px); color: #14171a;
}
.hz-title .ln { display: block; overflow: hidden; padding-top: .06em; }
.hz-title .w { display: inline-block; }
.hz-sub { white-space: nowrap; position: absolute; left: var(--pad); top: calc(var(--hz) + 14px); margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fbf8f2; text-shadow: 0 1px 10px rgba(10,12,14,.45); }
.hz-ticket {
  position: absolute; left: var(--pad); bottom: 92px; width: min(620px, calc(100vw - 2 * var(--pad)));
  pointer-events: auto; background: #f4efe6; color: var(--ink); border: 1px solid #d6cebf;
  box-shadow: 0 30px 60px -30px rgba(10,12,14,.55); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.hz-ticket::before, .hz-ticket::after { content: ""; position: absolute; top: 34px; width: 14px; height: 14px; border-radius: 50%; background: rgba(40,44,48,.55); }
.hz-ticket::before { left: -7px; } .hz-ticket::after { right: -7px; }
.hz-ticket__top { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px dashed #cfc6b6; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.hz-ticket__row { display: grid; grid-template-columns: 1fr 28px 1fr auto; gap: 10px; align-items: end; padding: 14px 18px 6px; }
.hz-ticket__row label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hz-ticket__row label span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.hz-ticket__row select { min-height: 46px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; font-size: 17px; font-weight: 650; padding: 0 22px 0 0; appearance: none; -webkit-appearance: none; border-radius: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317191b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; text-overflow: ellipsis; }
.hz-ticket__row select:focus-visible { outline: none; border-bottom-color: var(--red); }
.hz-ticket__arrow { width: 28px; height: 12px; margin-bottom: 17px; color: var(--red); }
.hz-ticket__row .btn { min-height: 46px; }
.hz-ticket__note { margin: 0; padding: 4px 18px 14px; font-size: 13px; color: var(--slate); }
@media (max-width: 760px) {
  .hz-title { font-size: clamp(30px, min(10.5vw, 5.6vh), 52px); }
  .hz-sub { font-size: 10.5px; letter-spacing: .1em; }
  .hz-ticket { bottom: 76px; }
  .hz-ticket__row { grid-template-columns: 1fr 22px 1fr; padding: 12px 14px 4px; }
  .hz-ticket__row .btn { grid-column: 1 / -1; justify-content: center; margin-top: 6px; }
  .hz-ticket__arrow { width: 22px; }
  .hz-ticket__note { display: none; }
  .hz-ticket__top { padding: 10px 14px; }
  .hz-ticket__top span:last-child { display: none; }
  .hz-ticket::before, .hz-ticket::after { top: 30px; }
}
/* wave 6: small phones get the city name alone in the ticket (js/home.js) and a little more room for it */
@media (max-width: 400px) {
  .hz-ticket__row { gap: 8px; padding-inline: 12px; grid-template-columns: 1fr 18px 1fr; }
  .hz-ticket__arrow { width: 18px; }
  .hz-ticket__row select { font-size: 16px; padding-right: 18px; }
}
@media (max-height: 700px) and (min-width: 761px) { .hz-ticket__note { display: none; } .hz-ticket { bottom: 80px; } }
.film.static .chap--1 { position: absolute; }

/* ---------- wave 3: the map is the flight's last scene ---------- */
.film__stage .lanes { position: absolute; inset: 0; padding: 0; background: var(--paper); z-index: 0; overflow: hidden; }
.film__stage .film__poster { z-index: 1; }
.film__stage canvas { z-index: 2; transform-origin: 50% 50%; will-change: transform; }
.film__stage .film__shade, .film__stage .film__grain { z-index: 3; }
/* once a canvas is up it paints the shade itself (js/sky.js, js/film.js): a CSS gradient over a live canvas costs a full-screen blend every frame */
.film.ready .film__stage > .film__shade, .film.sky-ready .film__stage > .film__shade { visibility: hidden; }
.film__stage .chap, .film__stage .hud, .film__stage .horizon, .film__stage .film__loading { z-index: 4; }
.film.to-paper .film__stage canvas { box-shadow: 0 0 0 1px rgba(23,25,27,.25); }
.lanes__map { position: static; overflow: hidden; }
.map__zoom { transform-origin: 50% 50%; will-change: transform; }
.map__zoom .map { display: block; }
.stamp { position: absolute; z-index: 3; opacity: 0; pointer-events: none; outline: 3px solid #f7f3ec; box-shadow: 0 14px 28px -12px rgba(10,12,14,.55); }
.stamp span { position: absolute; left: -3px; bottom: calc(100% + 6px); white-space: nowrap; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: rgba(239,234,225,.9); padding: 2px 5px; }
.film.static .lanes { position: relative; }
.film.static .stamp { display: none; }
@media (max-width: 1080px) {
  .film__stage .lanes__pin { min-height: 100%; height: 100%; padding: 84px var(--pad) 20px; grid-template-rows: auto 1fr; gap: 14px; align-content: start; }
  .film__stage .lanes__copy .lede, .film__stage .lanes__list { display: none; }
  .film__stage .lanes__copy .h2 { margin: 0; font-size: clamp(28px, 7.4vw, 44px); }
  .film__stage .lanes__copy .label { margin-bottom: 10px; }
  .film__stage .map { max-height: 62vh; }
}
/* wave 6: on a phone the map runs edge to edge and drops the empty margins west of Boise and east of the Kansas City
   label (9% and 1.5% of its width), so it is ~22% larger; sign, map and legend sit together in the middle */
@media (max-width: 760px) {
  .film__stage .lanes__pin { grid-template-rows: auto auto auto; align-content: center; gap: 22px; padding-top: 70px; }
  .film__stage .lanes__map { margin-inline: calc(var(--pad) * -1); }
  .film__stage .map__zoom { width: 111.7%; margin-left: -10.05%; }   /* window 9%..98.5%: Boise and the Kansas City label keep ~8 px from the edges at 360 */
  .film__stage .map { max-height: none; }
  .film__stage .map__legend { padding-inline: var(--pad); }
}

/* ---------- wave 3: the road ---------- */
.road { position: fixed; z-index: 40; right: 18px; top: 104px; bottom: 30px; width: 22px; color: var(--ink); pointer-events: none; }
.road.on-dark { color: #f4efe6; }
.road__way { position: absolute; inset: 0; display: flex; justify-content: space-between; opacity: .55; transition: color .4s; }
.road__edge { width: 1px; background: currentColor; }
.road__dash { width: 1.5px; overflow: hidden; position: relative; }
.road__dash b { position: absolute; left: 0; right: 0; top: 0; bottom: -18px; background-image: linear-gradient(currentColor 50%, transparent 50%); background-size: 100% 18px; will-change: transform; }
.road__truck { position: absolute; left: 50%; top: -6px; width: 11px; height: 36px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); will-change: transform; }
.road__exits { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.road__exits li { position: absolute; right: 30px; top: calc(var(--p) * 100%); transform: translateY(-50%); pointer-events: auto; }
.road__exits li::after { content: ""; position: absolute; right: -30px; top: 50%; width: 9px; height: 1px; background: currentColor; opacity: .7; }
.road__exits a { display: block; text-decoration: none; white-space: nowrap; font-size: 11px; font-weight: 600; letter-spacing: .02em; padding: 4px 0; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); }
.road__exits a .mono { font-size: 9.5px; letter-spacing: .12em; font-weight: 400; opacity: .7; margin-right: 4px; }
.road:hover .road__exits a, .road__exits a:focus-visible { opacity: 1; transform: none; }
.road__exits li.on::after { background: var(--red); height: 2px; width: 10px; opacity: 1; }
.road__exits li.on a { color: var(--red); }
.road.on-dark .road__exits li.on a { color: #ff9c8f; }
.road__exits a { text-shadow: 0 0 6px var(--paper), 0 0 2px var(--paper); }
.road.on-dark .road__exits a { text-shadow: 0 1px 6px rgba(0,0,0,.6); }
@media (max-width: 760px) {
  .road { left: 0; right: 0; top: auto; bottom: 0; height: 14px; width: auto; background: rgba(239,234,225,.92); border-top: 1px solid var(--rule); color: var(--ink); }
  .road.on-dark { background: rgba(21,24,27,.85); border-top-color: #2c3135; color: #f4efe6; }
  .road__way { inset: 4px 10px; flex-direction: column; opacity: .5; }
  .road__edge { width: auto; height: 1px; }
  .road__dash { width: auto; height: 1.5px; }
  .road__dash b { top: 0; bottom: 0; right: -18px; background-image: linear-gradient(90deg, currentColor 50%, transparent 50%); background-size: 18px 100%; }
  .road__truck { left: 10px; top: 50%; width: 6px; height: 20px; transform-origin: 50% 50%; }
  .road__exits { display: none; }
}
@media (max-width: 760px) { .hud { bottom: 26px; } .hz-ticket { bottom: 84px; } }

/* ---------- wave 3: fleet scene ---------- */
.equip { padding: 0; }
.equip__pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 40px; }
.equip__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(18px, 3vh, 34px); grid-template-columns: none; }
.equip__h { margin: 0; font-weight: 760; font-variation-settings: "wdth" 118; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; font-size: clamp(30px, min(4vw, 7vh), 62px); }
.equip__h .mono { display: block; font-size: 11.5px; font-weight: 400; letter-spacing: .16em; color: #9aa2a8; margin-bottom: 12px; }
.equip .tabs { border-bottom: 0; margin: 0; gap: 4px; }
.equip .tab { white-space: nowrap; margin: 0; padding: 10px 14px; font-size: clamp(14px, 1.3vw, 18px); border: 1px solid #343a3f; }
.equip .tab::after { bottom: -1px; }
.equip .tab .mono { display: inline; margin: 0 8px 0 0; }
.equip__body { grid-template-columns: 1.35fr .65fr; align-items: stretch; gap: clamp(20px, 3vw, 48px); }
.equip__stage { display: flex; flex-direction: column; min-width: 0; }
.equip__fig { aspect-ratio: auto; height: clamp(200px, 37vh, 420px); }
.draw { margin-top: 10px; height: clamp(110px, 25vh, 240px); width: 100%; }
.draw .thin { stroke-width: .7; opacity: .6; }
.draw .frost { fill: none; stroke: #9cc3d6; stroke-width: 1; opacity: .8; }
.draw .therm-svg { font-family: var(--mono); font-size: 11px; fill: #9cc3d6; }
.draw .dimt, .draw .cap { font-family: var(--mono); font-size: 10px; fill: #9aa2a8; letter-spacing: .08em; }
.draw g[data-k] { display: inline; }
.spec { border-top: 1px solid #3a3f44; align-self: center; }
.spec h3 { margin-top: 18px; }
.therm b { color: #9cc3d6; }
@media (max-width: 1080px) {
  .equip__pin { min-height: 0; padding-top: 80px; padding-bottom: 70px; }
  .equip__head { flex-direction: column; align-items: flex-start; }
  .equip__body { grid-template-columns: 1fr; }
  .equip__fig { height: auto; aspect-ratio: 16 / 10; }
  .draw { height: auto; }
}

/* ---------- wave 3: the log drives the route ---------- */
.route { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; margin: 4px 0 10px; }
.route svg { width: 100%; min-width: 0; height: auto; overflow: visible; }
.route__road { stroke: var(--rule); stroke-width: 6; stroke-linecap: round; fill: none; }
.route__done { stroke: var(--red); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.rt-stop { fill: #f6f2ea; stroke: var(--ink); stroke-width: 1.6; }
.rt-label { font-family: var(--mono); font-size: 11px; fill: var(--slate); letter-spacing: .06em; }
.rt-trailer { fill: #f4efe6; stroke: var(--ink); stroke-width: 1.2; }
.rt-cab { fill: var(--ink); }
.route__clock { text-align: right; min-width: 210px; }
.route__clock span { display: block; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.route__clock small { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .08em; color: var(--slate); text-transform: uppercase; }
.log .now { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; }
@media (max-width: 760px) {
  .route { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .route__clock { text-align: left; min-width: 0; }
  .rt-label { font-size: 20px; }
  .route svg { overflow: visible; }
}
.est svg .mini-relief { mix-blend-mode: multiply; opacity: .85; }
.est svg .st { fill: rgba(239,234,225,.25); stroke: rgba(23,25,27,.35); stroke-width: .8; }
.receipt { border-bottom: 1px dashed var(--rule); margin-bottom: 22px; padding-bottom: 14px; font-size: 13px; }
.receipt div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px dotted #ddd5c6; }
.receipt span { color: var(--slate); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.receipt b { font-weight: 500; text-align: right; }
.board { margin: 28px 0 0; }
.board__svg { width: 100%; height: auto; background: #f6f2ea; border: 1px solid var(--rule); }
.board .b-home { stroke: var(--ink); stroke-width: 3; }
.board .b-run { stroke: var(--red); stroke-width: 3; fill: none; stroke-linecap: round; }
.board .b-day { font-family: var(--mono); font-size: 12px; fill: var(--ink); letter-spacing: .1em; }
.board .b-lbl { font-family: var(--mono); font-size: 11px; fill: var(--slate); }
.board .b-off { font-family: var(--mono); font-size: 11px; fill: var(--slate); opacity: .7; }
.board figcaption { font-size: 11px; letter-spacing: .1em; color: var(--slate); margin-top: 8px; text-transform: uppercase; }
.table.stub { background: #f6f2ea; border: 1px solid var(--rule); box-shadow: 0 18px 30px -24px rgba(23,25,27,.4); }
.table.stub th, .table.stub td { padding-left: 14px; }
@media (max-width: 760px) {
  .equip .tabs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
  .equip .tab { padding: 10px 6px; font-size: 13px; text-align: center; }
  .equip .tab .mono { display: none; }
}
/* wave 6: the subline breaks between its two halves, never inside one (no lone "CITY") */
.hz-sub__a, .hz-sub__b { white-space: nowrap; }
@media (max-width: 760px) {
  .hz-sub { white-space: normal; right: auto; line-height: 1.6; }
  .hz-sub__a, .hz-sub__b { display: block; }
  .hz-sub__sep { display: none; }
  .stamp span { display: none; }
}

/* road v2: an asphalt strip with a photographed truck on it */
.road { width: 30px; right: 14px; }
.road__way { opacity: 1; background: #3b3e41 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); border-radius: 2px; padding: 0 3px; color: #e9e4da; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.road.on-dark .road__way { color: #e9e4da; }
.road__edge { opacity: .75; }
.road__dash { opacity: .85; }
.road__truck { width: 11px; height: auto; left: auto; right: 6px; top: -4px; filter: drop-shadow(2px 1px 1.5px rgba(0,0,0,.55)) drop-shadow(5px 3px 5px rgba(0,0,0,.25)); }
.road__exits li { right: 40px; }
.road__exits li::after { right: -40px; width: 6px; }
@media (max-width: 760px) {
  .road { width: auto; right: 0; height: 18px; background: none; border: 0; }
  .road.on-dark { background: none; }
  .road__way { inset: 0; padding: 3px 0; border-radius: 0; }
  .road__truck { width: 54px; height: auto; right: auto; left: 10px; top: 4px; }
}

/* fleet v2: photographed rig on the ground */
.equip__body { grid-template-columns: 1.5fr .5fr; }
.equip__stage { justify-content: center; }
.rig { position: relative; aspect-ratio: 1600 / 348; margin-top: 46px; }
.rig__img { position: absolute; inset: 0; width: 100%; height: 100%; will-change: opacity, transform; }
.rig__ground { position: absolute; left: -4%; right: -4%; bottom: -22px; height: 34px;
  background: linear-gradient(180deg, #2d3134 0%, #26292c 60%, rgba(38,41,44,0) 100%); }
.rig__ground::before { content: ""; position: absolute; left: 3%; right: 3%; top: -6px; height: 16px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.75), rgba(0,0,0,0)); filter: blur(3px); }
.rig__ground::after { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background-image: linear-gradient(90deg, rgba(233,228,218,.5) 50%, transparent 50%); background-size: 46px 2px; }
.rig__dim { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: #d8d2c6; pointer-events: none; }
.rig__dim .dim { fill: none; stroke: #8f979d; stroke-width: 1.6; }
.rig__dim .dimt { font-family: var(--mono); font-size: 22px; fill: #c7c1b6; letter-spacing: .08em; }
.rig__dim .therm-svg { font-family: var(--mono); font-size: 30px; fill: #9cc3d6; }
.rig__cap { margin: 40px 0 0; font-size: 11px; letter-spacing: .12em; color: #9aa2a8; text-transform: uppercase; }
.equip .spec .equip__fig { height: auto; aspect-ratio: 16 / 10; margin-bottom: 4px; }
@media (max-width: 1080px) {
  .equip__body { grid-template-columns: 1fr; }
  .rig { margin-top: 30px; }
  .rig__dim .dimt { font-size: 30px; } .rig__dim .therm-svg { font-size: 40px; }
}
/* first screen starts hidden until the intro runs (no flash of the final layout) */
@media (prefers-reduced-motion: no-preference) {
  .js .hz-title .w { transform: translateY(115%); opacity: 0; }
  .js .hz-sub, .js .hz-ticket, .js .hud > * { opacity: 0; }
  .js .horizon { transform: scaleX(0); }
}
/* chapters over bright frames (cloud, yard) get their own soft shade that fades with the text */
.chap--2, .chap--3, .chap--4 { isolation: isolate; }
/* wave 6: no CSS patch behind the titles (it sat over the live canvas and looked like a grey smudge on the fog);
   the frame itself darkens under the text (js/sky.js, js/film.js) and the type carries its own shadow */
.chap--2 .display, .chap--3 .display, .chap--4 .display { text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 2px 24px rgba(0,0,0,.42); }
.chap--4 p, .chap--3 p, .chap--2 p { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 1px 18px rgba(0,0,0,.5); }

/* ---------- wave 3: section heads are road signs ---------- */
.sign { --sg: #1e5a41; --fg: #f5f5ef; --rim: #f2f2ec; display: inline-flex; flex-direction: column; align-items: flex-start; margin: 0 0 54px; position: relative; font: 700 16px/1 "Overpass", "Archivo", sans-serif; text-transform: none; letter-spacing: 0; }
.sign--blue { --sg: #1f4c82; }
.sign--white { --sg: #f6f5ef; --fg: #121416; --rim: #121416; }
.sign__tab { margin-left: 18px; padding: 6px 12px 4px; font-size: 12.5px; letter-spacing: .09em; color: var(--fg); background: var(--sg); border-radius: 7px 7px 0 0; box-shadow: inset 0 0 0 2px var(--sg), inset 0 0 0 4px var(--rim); position: relative; top: 3px; }
.sign--white .sign__tab { background: #121416; color: #f6f5ef; box-shadow: none; }
.sign__face { display: block; padding: 20px 30px 17px; font-size: clamp(26px, 2.7vw, 44px); line-height: 1.07; color: var(--fg);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(0,0,0,.07)), var(--sg); border-radius: 11px;
  box-shadow: inset 0 0 0 5px var(--sg), inset 0 0 0 8px var(--rim), 0 18px 28px -18px rgba(0,0,0,.55); }
.sign::after { content: ""; position: absolute; left: 34px; right: 34px; bottom: -40px; height: 40px; pointer-events: none;
  background: linear-gradient(90deg, #6f7378 0 7px, transparent 7px calc(100% - 7px), #6f7378 calc(100% - 7px)); opacity: .9; }
.equip .sign::after { background: linear-gradient(90deg, #4c5156 0 7px, transparent 7px calc(100% - 7px), #4c5156 calc(100% - 7px)); }
.equip__h { display: flex; flex-direction: column; gap: 0; font-size: 16px; }
.equip__h .sign { margin-bottom: 46px; }
.equip__h .mono { margin: 0; font-size: 11.5px; letter-spacing: .16em; color: #9aa2a8; }
.film__stage .lanes__copy .sign { margin-bottom: 52px; }
.film__stage .lanes__copy .sign__face { font-size: clamp(24px, min(2.5vw, 4.6vh), 40px); }
@media (max-width: 760px) {
  .sign { margin-bottom: 44px; }
  .sign__face { padding: 15px 20px 13px; font-size: clamp(22px, 7vw, 30px); }
  .sign::after { bottom: -30px; height: 30px; left: 24px; right: 24px; }
  .film__stage .lanes__copy .sign { margin-bottom: 36px; }
  .film__stage .lanes__copy .sign__face { font-size: 22px; }
}
.ftr__big .sign { text-decoration: none; margin-bottom: 70px; }
.ftr__big .sign__face { font-size: clamp(34px, 5vw, 76px); display: inline-flex; align-items: center; gap: .3em; transition: transform .4s var(--ease); }
.ftr__big .sign:hover .sign__face { transform: translateY(-3px); }
.ftr__big .sign::after { background: linear-gradient(90deg, #4c5156 0 8px, transparent 8px calc(100% - 8px), #4c5156 calc(100% - 8px)); height: 70px; bottom: -70px; }
/* the subline sits on snow and cloud: a soft dark band behind it */
.hz-sub { padding: 5px 12px 4px 0; text-shadow: 0 1px 2px rgba(10,12,14,.75), 0 0 14px rgba(10,12,14,.55);
  background: linear-gradient(90deg, rgba(14,16,18,.42), rgba(14,16,18,.28) 75%, rgba(14,16,18,0)); box-shadow: -12px 0 0 rgba(14,16,18,.42); }

/* the yard frames: soft darkening over the far docks (AI-video smear there) while the terminal chapter holds */
/* (wave 6: painted into the film canvas now, js/film.js) */
/* safety record as the certification block of the log form */
.log__cert { display: grid; grid-template-columns: auto 1fr 1fr 1fr 1fr auto; gap: 6px 18px; align-items: baseline; border-top: 1px dashed var(--rule); margin-top: 14px; padding-top: 12px; font-size: 11.5px; color: var(--slate); letter-spacing: .03em; }
.log__cert b { color: var(--ink); font-weight: 500; font-size: 13px; margin-right: 4px; }
.log__cert-h { text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; color: var(--ink); }
.log__stamp { border: 1.5px solid var(--red); color: var(--red); padding: 3px 7px; transform: rotate(-3deg); font-size: 10px; letter-spacing: .14em; white-space: nowrap; }
@media (max-width: 1080px) { .log__cert { grid-template-columns: 1fr 1fr; } .log__cert-h, .log__stamp { grid-column: 1 / -1; justify-self: start; } }

/* ---------- wave 5: trailer decals (company logo in perspective) ---------- */
.decal { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.decal__face { position: absolute; left: 0; top: 0; width: 1000px; height: 250px; transform-origin: 0 0; }
.decal__art { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: .94; }
.decal__art svg, .decal__art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.decal__sheen { position: absolute; inset: 0; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
  background: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.55) 48%, rgba(255,255,255,0) 62%) no-repeat;
  background-size: 260% 100%; background-position: var(--sheen, 100%) 0; mix-blend-mode: screen; opacity: .55; transition: background-position 1.1s var(--ease); }
.rig__img { position: absolute; inset: 0; will-change: opacity, transform; }
.rig__photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.decal--light .decal__art { mix-blend-mode: normal; opacity: .9; filter: brightness(0) invert(1); }
.decal--light .decal__sheen { opacity: .35; }

/* ---------- wave 5: the live first flight ---------- */
.film__stage .sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; opacity: 0; transition: opacity .5s; }
.film.sky-ready .film__stage .sky { opacity: 1; }
.film.sky-done .film__stage .sky { opacity: 0 !important; transition: opacity .25s; }
.equip__fig .decal { opacity: 0; transition: opacity .7s var(--ease); }
.equip__fig .decal.on { opacity: 1; }

/* ---------- wave 6: block fixes ---------- */
/* equipment: the photo on the right was 320 px wide; give the spec column room */
@media (min-width: 1081px) {
  .equip__body { grid-template-columns: 1.2fr .8fr; }
  .equip .spec .equip__fig { width: 100%; aspect-ratio: 16 / 9; max-height: 34vh; }
  .equip .spec h3 { margin: 14px 0 8px; }
  .equip .spec p { margin-bottom: 12px; }
  .equip .spec dt, .equip .spec dd { padding: 7px 0; }
}
/* lanes table on the map screen: bigger, evenly set */
.lanes__list li { font-size: 15px; padding: 10px 0; grid-template-columns: 1fr 4.5em 4.5em; }
.lanes__list li .mono { font-size: 13px; text-align: right; }
/* safety: title, text and the log fit one screen, no empty paper above the log */
@media (min-width: 1081px) {
  .safety { padding: clamp(56px, 7vh, 84px) 0; }
  .safety__head { align-items: center; margin-bottom: clamp(18px, 3vh, 30px); }
  .safety__head .sign { margin-bottom: 0; }
}
/* footer: the sign stands next to the contacts instead of alone on a dark screen */
.ftr { padding-top: clamp(56px, 6vw, 84px); }
@media (min-width: 1081px) {
  .ftr > div:not(.ftr__line) { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(40px, 6vw, 96px); align-items: end; }
  .ftr__big { margin: 0; grid-row: 1; }
  .ftr__big .sign { margin-bottom: 70px; }
  .ftr__cols { grid-row: 1; grid-column: 2; border-top: 0; padding-top: 0; margin-bottom: 70px; }
  .ftr__legal { grid-column: 1 / -1; }
}
@media (min-width: 1081px) and (max-height: 820px) {
  .equip__pin { padding-top: 76px; padding-bottom: 20px; }
  .equip .spec .equip__fig { max-height: 25vh; }
  .equip .spec p { font-size: 14px; line-height: 1.4; }
  .equip .spec dt, .equip .spec dd { padding: 5px 0; }
}
