/* ==========================================================================
   MISA TRANSPORTATION
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Misa blue palette (tuned from the brand blues; medium blue nudged brighter for AA contrast on navy) */
  --navy-ink: #071a2c;   /* near-black navy: text on light/bright fills */
  --navy: #063b70;       /* deep Misa navy */
  --blue: #0b4d86;       /* primary Misa blue */
  --blue-mid: #4696cf;   /* medium / corporate blue */
  --blue-lt: #9cc9e8;    /* light sky blue */
  --blue-xlt: #e8f3fa;   /* very light blue */

  --bg: #061f38;         /* page: deep navy, darker than --navy for cinematic depth */
  --bg2: #08284a;        /* alternating sections */
  --bg3: #0c3763;        /* image placeholders / raised surfaces */
  --bg-rgb: 6, 31, 56;
  --ink-rgb: 244, 249, 253;
  --ink: rgb(var(--ink-rgb));   /* white / cool off-white */
  --ink2: rgba(var(--ink-rgb), .72);
  --ink3: rgba(var(--ink-rgb), .52);
  --line: rgba(156, 201, 232, .16);
  --line2: rgba(156, 201, 232, .34);
  --accent: var(--blue-mid);
  --accent-rgb: 70, 150, 207;
  --accent-soft: var(--blue-lt);
  --danger: #ff9b9b;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --pad: clamp(20px, 4.2vw, 72px);
  --nav-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--display);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--blue-lt); color: var(--navy-ink); }
:focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--bg); padding: 10px 16px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(96px, 13vw, 210px); }

.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.6;
}
.label { color: var(--ink2); margin-bottom: clamp(28px, 4vw, 56px); }
.label span { color: var(--accent); margin-right: .8em; }

.sec-title {
  font-weight: 900;
  font-stretch: 100%;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .86;
  font-size: clamp(54px, 9.6vw, 190px);
}

/* line mask (JS animates .ln__i) */
.ln { display: block; overflow: hidden; padding-block: .07em; margin-block: -.07em; }
.ln__i { display: block; will-change: transform; }

.arr { width: 24px; height: 10px; flex: none; transition: transform .5s var(--ease); }

/* ---------- buttons ---------- */
.btn {
  --h: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 28px;
  font-weight: 800; font-stretch: 112%; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--line2);
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover .arr { transform: translateX(6px); }
.btn--primary { background: var(--blue); border-color: var(--blue-mid); color: #fff; }
.btn--primary::before { background: var(--blue-xlt); }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--navy-ink); border-color: var(--blue-xlt); }
.btn--ghost { color: var(--ink); background: rgba(var(--bg-rgb), .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--navy-ink); border-color: var(--ink); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 11px; }
.btn--lg { --h: 64px; padding: 0 36px; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: var(--bg); border-bottom: 1px solid var(--line);
  transition: transform .6s var(--ease), background .4s, border-color .4s;
}
.nav.is-hidden { transform: translateY(-101%); }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 34px; padding-inline: var(--pad); max-width: 1760px; margin-inline: auto; }
.brand { display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand__mark { font-weight: 900; font-stretch: 125%; font-size: 22px; letter-spacing: -.02em; }
.brand__sub { font-family: var(--mono); font-size: 8.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--ink2); margin-top: 5px; }
.nav__links { display: flex; gap: clamp(20px, 2.5vw, 40px); }
.nav__links a { position: relative; font-weight: 500; font-stretch: 100%; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); padding: 10px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-current { color: var(--blue-lt); }
.nav__phone {
  display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 24px; border-radius: 999px;
  border: 2px solid var(--blue-mid); color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: .02em; white-space: nowrap;
  background: rgba(var(--accent-rgb), .06); transition: background .3s, color .3s, border-color .3s;
}
.nav__phone svg { width: 17px; height: 17px; color: var(--blue-mid); flex: none; }
.nav__phone:hover, .nav__phone:focus-visible { background: var(--blue-mid); color: var(--navy-ink); border-color: var(--blue-mid); }
.nav__phone:hover svg, .nav__phone:focus-visible svg { color: var(--navy-ink); }

.burger { display: none; width: 44px; height: 44px; position: relative; margin-right: -8px; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-weight: 900; font-stretch: 100%; font-size: clamp(44px, 13vw, 84px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase;
  transform: translateY(24px); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.menu__links a i { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--accent); }
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--ink2); }
.menu__foot a:first-child { color: var(--ink); font-size: 15px; }

/* ==========================================================================
   HERO — the concept photograph (cleaned of its baked-in type: images/hero-ref-*.webp) with real HTML type over it
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: var(--nav-h);
  height: max(520px, min(54.7vw, calc(100vh - var(--nav-h))));
  height: max(520px, min(54.7vw, calc(100svh - var(--nav-h))));
  /* seen for a moment while the photograph loads: same sunset, so there is never a blank hero */
  background: #171232 linear-gradient(180deg, #2b2050 0, #7a3d55 44%, #e0703a 62%, #2a1a2e 82%, #14101f 100%);
}
.hero__art { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform-origin: 68% 55%; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 14, 32, .30) 0, rgba(6, 14, 32, .12) 34%, rgba(6, 14, 32, 0) 50%);
}
/* melts the photograph into the navy page: no hard edge, no gap */
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 12%; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0), rgba(var(--bg-rgb), .7) 70%, var(--bg) 100%);
}

.hero__tag {
  position: absolute; z-index: 8; left: var(--pad); top: 4.2%;
  display: flex; align-items: center; gap: 12px; color: var(--ink); text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}
.hero__tag .arr { width: 30px; color: var(--blue-lt); }
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--accent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.hero__copy { position: absolute; z-index: 8; left: var(--pad); top: 12.5%; bottom: 5%; width: min(44vw, 720px); display: flex; flex-direction: column; }
.hero__title {
  margin: 0; font-weight: 900; font-stretch: 62%; font-style: italic; text-transform: uppercase; letter-spacing: 0; line-height: .9; white-space: nowrap;
  font-size: clamp(50px, 7.8vw, 176px); color: #fff; margin-left: -.05em;
}
.hero__title .ln { padding-block: .05em; margin-block: -.05em; padding-right: .12em; }
.hero__accent { color: var(--blue-lt); }
.hero__sub {
  margin: 3vh 0 0; font-weight: 500; font-stretch: 100%; text-transform: uppercase; letter-spacing: .2em; line-height: 1.42;
  font-size: clamp(11px, 1.46vw, 30px); color: rgba(255, 255, 255, .96); text-shadow: 0 2px 22px rgba(20, 8, 30, .5);
}
.hero__btns { display: flex; gap: 12px; margin-top: auto; }
.hero__btns .btn { --h: 56px; padding: 0 30px; }
.hero__call { display: none; }

html.js:not(.is-ready) .hero__tag, html.js:not(.is-ready) .hero__copy { visibility: hidden; }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); position: relative; z-index: 2; }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__group span { font-weight: 800; font-stretch: 78%; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(20px, 2.4vw, 34px); padding: 22px clamp(22px, 3vw, 48px); color: var(--ink); white-space: nowrap; }
.ticker__group i { width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ==========================================================================
   CARRIER
   ========================================================================== */
.carrier { background: var(--bg); }
.statement {
  font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: -.012em; line-height: 1;
  font-size: clamp(30px, 5.2vw, 96px); max-width: 24ch;
}
.statement .w { display: inline-block; white-space: pre; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); }
.facts__item { padding: 26px clamp(0px, 2vw, 32px) 0 0; }
.facts__item dt { color: var(--ink3); margin-bottom: 14px; }
.facts__item dd { font-weight: 600; font-stretch: 90%; font-size: clamp(19px, 1.7vw, 28px); line-height: 1.25; }
.facts__item a { transition: color .3s; }
.facts__item a:hover { color: var(--accent); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--bg2); padding-bottom: 0; position: relative; }
.sec-head { margin-bottom: clamp(48px, 7vw, 110px); }
.svc__layout {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 26vw, 520px);
  column-gap: clamp(20px, 3vw, 56px); align-items: start; padding-right: var(--pad);
}
.svc { border-top: 1px solid var(--line); }
.svc__row { position: relative; border-bottom: 1px solid var(--line); }
.svc__line { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.svc__row.is-active .svc__line { transform: scaleX(1); }
.svc__link {
  display: grid; grid-template-columns: clamp(40px, 5vw, 96px) minmax(0, 1fr) clamp(44px, 4vw, 72px);
  align-items: start; column-gap: clamp(16px, 2.4vw, 44px); row-gap: clamp(12px, 1.4vw, 22px);
  padding: clamp(24px, 3.4vw, 60px) var(--pad);
  transition: opacity .6s var(--ease);
}
.svc__idx { grid-column: 1; grid-row: 1; color: var(--ink3); padding-top: .8em; }
.svc__name {
  grid-column: 2; grid-row: 1;
  font-weight: 900; font-stretch: 74%; text-transform: uppercase; letter-spacing: -.025em; line-height: .86;
  font-size: clamp(56px, 9vw, 220px);
  transition: transform .8s var(--ease), color .4s;
}
@media (min-width: 821px) { .svc__link { padding-right: 0; } }
@media (min-width: 821px) and (max-width: 1100px) { .svc__name { font-size: 7.8vw; } }
.svc__desc { grid-column: 2; grid-row: 2; max-width: 40ch; color: var(--ink2); font-size: clamp(15px, 1.3vw, 21px); line-height: 1.45; transition: color .4s; }
.svc__go { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: clamp(30px, 3.4vw, 56px); justify-self: end; color: var(--ink3); transition: color .4s, transform .7s var(--ease); }
.svc__go svg { width: 100%; height: auto; }
.svc__row:not(.is-active) .svc__link { opacity: .5; }
.svc__row.is-active .svc__go { color: var(--accent); transform: rotate(45deg); }
.svc__row.is-active .svc__name { transform: translateX(clamp(6px, 1vw, 20px)); }
.svc__row.is-active .svc__desc { color: var(--ink); }

/* one stable image area: never follows the cursor; the active service decides the picture */
.svc-media { position: sticky; top: calc(var(--nav-h) + 24px); margin-top: clamp(24px, 3vw, 48px); }
.svc-media__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg3); border: 1px solid var(--line); }
.svc-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; z-index: 1; transform: scale(1.12); -webkit-clip-path: inset(100% 0 0 0); clip-path: inset(100% 0 0 0);
  /* leaving image stays put until the incoming one has wiped over it */
  transition: opacity 0s linear 1.1s, transform 0s linear 1.1s, -webkit-clip-path 0s linear 1.1s, clip-path 0s linear 1.1s;
}
.svc-media img.is-active {
  opacity: 1; z-index: 2; transform: none; -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0);
  transition: opacity 0s, transform 1.7s var(--ease), -webkit-clip-path 1.1s var(--ease-io), clip-path 1.1s var(--ease-io);
}
.svc-media img:nth-child(1) { object-position: 4% 55%; }
.svc-media img:nth-child(2) { object-position: 80% 50%; }
.svc-media img:nth-child(3) { object-position: 28% 55%; }

/* ==========================================================================
   HIGHWAY — a short original night-driving film of the real Kenworth (highway-video.js)
   The poster frame is the polished still (reduced motion, before load, no autoplay).
   ========================================================================== */
.drive {
  position: relative; overflow: hidden; height: clamp(560px, 96vh, 980px); height: clamp(560px, 96svh, 980px);
  background: #05060c;
}
.drive__video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 80% 60%; background: #05060c; }
/* navy seats the scene in the page and keeps the type legible; the film keeps its own colours */
.drive__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0, rgba(var(--bg-rgb), 0) 14%, rgba(var(--bg-rgb), 0) 86%, rgba(var(--bg-rgb), .6) 100%); }
.drive__type { position: absolute; left: 0; right: 0; top: clamp(84px, 8.6vw, 150px); padding-inline: var(--pad); pointer-events: none; }
.drive__word {
  font-weight: 900; font-stretch: 82%; text-transform: uppercase; letter-spacing: -.035em; line-height: .86;
  font-size: clamp(44px, 6.4vw, 140px); color: var(--ink); text-shadow: 0 10px 60px rgba(0, 0, 0, .5);
}
.drive__word .ln { display: block; overflow: hidden; }
.drive__word .ln__i { display: block; transform: translateY(118%); transition: transform 1.3s cubic-bezier(.16, 1, .3, 1); }
.drive__word .ln:nth-child(2) .ln__i { transition-delay: .12s; }
.drive.is-word .ln__i { transform: none; }
.drive:not(.is-word) .ln__i { transition-duration: .7s; }

/* ==========================================================================
   FEATURED LANE
   ========================================================================== */
.route { position: relative; background: var(--bg); }
.route__pin { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + 20px); padding-bottom: 28px; overflow: hidden; }
.route__head { display: flex; justify-content: space-between; align-items: baseline; }
.route__head .label { margin-bottom: 0; }
.route__badge { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.route__stage { position: relative; flex: 1 1 auto; min-height: 420px; margin-inline: var(--pad); }
.route__city { position: absolute; display: flex; flex-direction: column; }
.route__city--a { left: 0; top: 4%; }
.route__city--b { right: 0; bottom: 4%; align-items: flex-end; text-align: right; }
.route__code { color: var(--accent); margin-bottom: 14px; }
.route__name { color: var(--ink2); margin-top: 16px; }
.route__big {
  font-weight: 900; font-stretch: 84%; text-transform: uppercase; letter-spacing: -.03em; line-height: .8;
  font-size: clamp(64px, 14.2vw, 290px); color: var(--ink);
  -webkit-text-stroke: 1.5px var(--ink); transition: none;
}
.route__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.route__svg path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route__track { stroke: var(--line2); stroke-width: 1px; }
.route__road { stroke: var(--ink3); stroke-width: 2px; stroke-dasharray: 2 16; animation: road 1.6s linear infinite; }
.route__fill { stroke: var(--accent); stroke-width: 3px; filter: drop-shadow(0 0 5px rgba(var(--accent-rgb), .45)); }
.route__glint { stroke: var(--blue-lt); stroke-width: 3px; opacity: .55; }
.route__ping { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--blue-lt); opacity: 0; }
@keyframes road { to { stroke-dashoffset: -18; } }
.route__dot { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; }
.route__dot i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .22), 0 0 40px 6px rgba(var(--accent-rgb), .5); }
.route.is-live .route__svg path { vector-effect: none; }
.route__hud { display: flex; justify-content: space-between; color: var(--ink2); padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--line); width: calc(100% - var(--pad) * 2); padding-inline: 0; margin-inline: var(--pad); }
.route__hud b { color: var(--accent); font-weight: 500; }
.route__hud em { font-style: normal; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   SCHEDULE
   ========================================================================== */
.schedule { background: var(--bg2); }
.tl { --dayh: clamp(56px, 6.9vw, 140px); position: relative; margin-top: clamp(20px, 3vw, 40px); }
.tl__rail { position: absolute; left: 0; right: 20%; top: calc(var(--dayh) + 30px); height: 2px; background: var(--line2); }
.tl__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.tl__list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tl__item { position: relative; padding-right: 20px; }
.tl__day {
  display: block; height: var(--dayh); line-height: .84;
  font-weight: 900; font-stretch: 84%; text-transform: uppercase; letter-spacing: -.03em; font-size: var(--dayh);
}
.tl__dot { display: block; width: 14px; height: 14px; margin-top: 24px; border-radius: 50%; background: var(--accent); position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--bg2); }
.tl__item--gap .tl__day { color: var(--ink3); -webkit-text-stroke: 0; opacity: .35; }
.tl__item--gap .tl__dot { width: 8px; height: 8px; margin: 27px 0 0 3px; background: var(--line2); }
.tl__what { margin-top: 28px; font-size: clamp(17px, 1.7vw, 28px); font-weight: 500; font-stretch: 92%; line-height: 1.15; }
.tl__what b { display: block; font-weight: 900; font-stretch: 84%; text-transform: uppercase; font-size: 1.3em; letter-spacing: -.01em; }
.tl__loc { display: block; margin-top: 12px; color: var(--ink3); }

/* ==========================================================================
   PHOTO BREAK
   ========================================================================== */
.break { position: relative; background: var(--bg); }
.break__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.break__frame { position: absolute; inset: 0; overflow: hidden; -webkit-clip-path: inset(0); clip-path: inset(0); will-change: clip-path; }
.break__img { position: absolute; inset: -4% 0 -4% 0; width: 100%; height: 108%; object-fit: cover; object-position: 36% 58%; }
.break__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 11, .55), rgba(10, 10, 11, .1) 40%, rgba(10, 10, 11, .55)); }
.break__type { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding-block: calc(var(--nav-h) + 8px) clamp(54px, 7vw, 96px); pointer-events: none; }
.break__row { display: block; white-space: nowrap; font-weight: 900; font-stretch: 82%; text-transform: uppercase; letter-spacing: -.035em; line-height: .82; font-size: clamp(64px, 13vw, 270px); color: var(--ink); text-shadow: 0 10px 60px rgba(0, 0, 0, .45); padding-inline: var(--pad); will-change: transform; }
.break__row--2 { -webkit-text-stroke: 2px var(--ink); color: transparent; text-shadow: none; text-align: right; }
.break__cap { position: absolute; left: var(--pad); bottom: 28px; color: var(--ink); }

/* ==========================================================================
   FLEET
   ========================================================================== */
.fleet { position: relative; background: var(--bg2); }
.fleet__pin { position: relative; padding-block: clamp(80px, 9vw, 140px) clamp(48px, 6vw, 96px); display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); overflow: hidden; }
.fleet__head { display: flex; align-items: flex-end; justify-content: space-between; }
.fleet__head .label { margin-bottom: 20px; }
.fleet__head .sec-title { font-size: clamp(48px, 7.6vw, 150px); }

/* automatic slideshow: one truck at a time, the next one peeking in */
.fleet__view { overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-clip-path: inset(0 0 0 calc(var(--pad) - 1px)); clip-path: inset(0 0 0 calc(var(--pad) - 1px)); }
.fleet__track { position: relative; display: flex; gap: clamp(16px, 2.6vw, 44px); padding-inline: var(--pad); width: max-content; transition: transform 1.25s var(--ease-io); will-change: transform; }
.fleet__track.is-dragging, .fleet__track.is-snap { transition: none; }
.fleet__track.is-snap .fleet__item, .fleet__track.is-snap .fleet__media img { transition: none; }
.fleet__item { position: relative; flex: none; width: min(72vw, 1100px); cursor: pointer; opacity: .42; transition: opacity 1.25s var(--ease-io); }
.fleet__item.is-current { opacity: 1; }
/* the white Kenworth photo is square: same slide height, a narrower frame so the whole truck (stacks to wheels) stays in view */
@media (min-width: 821px) { .fleet__item--sq { width: calc(min(62vh, 620px) * 1.45); width: calc(min(62svh, 620px) * 1.45); max-width: 72vw; } }
.fleet__media { position: relative; overflow: hidden; height: min(62vh, 620px); height: min(62svh, 620px); background: var(--bg3); }
.fleet__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); -webkit-user-drag: none; }
/* the truck in the lead slot slowly eases out of a push-in for the whole time it is on screen */
.fleet__item.is-current .fleet__media img { animation: fleetSettle 6.4s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes fleetSettle { from { transform: scale(1.08); } to { transform: scale(1); } }
.fleet__item figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 4px; align-items: baseline; padding-top: 18px; }
.fleet__item figcaption .mono { color: var(--accent); grid-row: 1 / span 2; }
.fleet__item figcaption b { font-weight: 900; font-stretch: 84%; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 44px); letter-spacing: -.01em; line-height: 1; }
.fleet__item figcaption em { font-style: normal; color: var(--ink2); font-size: 14px; }
.fleet__item::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: min(62vh, 620px); border: 1px solid transparent; transition: border-color .4s; pointer-events: none; }
.fleet__item:hover::after, .fleet__item:focus-visible::after { border-color: var(--accent); }

.fleet__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fleet__ctrl { display: flex; align-items: center; gap: 12px; }
.fleet__arrow { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 50%; color: var(--ink2); transition: border-color .3s, color .3s, background .3s; }
.fleet__arrow svg { width: 20px; height: 8px; }
.fleet__arrow:hover { border-color: var(--accent); color: var(--accent); }
.fleet__ticks { display: flex; gap: 6px; margin-left: 10px; }
.fleet__ticks button { position: relative; width: 34px; height: 30px; }
.fleet__ticks button::after { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--line2); transition: background .5s, transform .5s var(--ease); transform-origin: left; }
.fleet__ticks button.is-on::after { background: var(--accent); }
.fleet__end { display: flex; align-items: center; gap: 16px; text-align: right; white-space: nowrap; }
.fleet__end .mono { color: var(--ink2); }
.fleet__end b { font-weight: 900; font-stretch: 84%; text-transform: uppercase; font-size: clamp(20px, 2vw, 32px); line-height: 1; letter-spacing: -.01em; }
.fleet__end .arr { width: 44px; height: 12px; color: var(--accent); }
.fleet__end:hover .arr { transform: translateX(8px); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(48px, 8vw, 140px); scroll-margin-top: calc(var(--nav-h) + 32px); }
.contact__form { scroll-margin-top: calc(var(--nav-h) + 18px); }
.form__title { margin: 0 0 clamp(6px, .8vw, 12px); font-weight: 900; font-stretch: 84%; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; font-size: clamp(30px, 3.1vw, 54px); }
.contact__info { display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 52px); }
.bigtel, .bigmail { display: block; }
.bigtel .mono, .bigmail .mono { display: block; color: var(--ink3); margin-bottom: 12px; }
.bigtel b { display: block; font-weight: 900; font-stretch: 84%; letter-spacing: -.025em; line-height: .9; font-size: clamp(40px, 5.6vw, 104px); transition: color .3s; }
.bigmail b { display: block; font-weight: 700; font-stretch: 92%; letter-spacing: -.01em; font-size: clamp(18px, 2vw, 34px); overflow-wrap: anywhere; transition: color .3s; }
.bigtel:hover b, .bigmail:hover b { color: var(--accent); }
.contact__meta { color: var(--ink2); }

.form { display: flex; flex-direction: column; gap: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { display: flex; flex-direction: column; padding-block: 14px 4px; }
.field label { color: var(--ink3); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0;
  padding: 12px 0 14px; font-size: 18px; font-weight: 500; font-stretch: 96%; outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink3); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f9fd' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 18px; }
.field select option { background: var(--bg2); color: var(--ink); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 100px var(--bg) inset; }
.field.is-invalid input { border-bottom-color: var(--danger); }
.form .btn { margin-top: 30px; align-self: flex-start; }
.form__status { min-height: 1.6em; margin-top: 18px; color: var(--ink2); font-size: 15px; }
.form__status a { color: var(--ink); border-bottom: 1px solid var(--accent); }
.form__status.is-error { color: var(--danger); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { --ink3: rgba(var(--ink-rgb), .7); background: var(--navy); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; border-top: 1px solid var(--line); }
.foot__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot__col p { color: var(--ink2); font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.foot__col a { transition: color .3s; }
.foot__col a:hover { color: var(--ink); }
.foot__h { color: var(--ink3); margin-bottom: 14px; }
.foot__nav p { display: flex; flex-direction: column; }
.foot__word { padding-inline: var(--pad); margin-top: clamp(48px, 8vw, 140px); line-height: .78; overflow: hidden; }
.foot__word span { display: block; white-space: nowrap; font-weight: 900; font-stretch: 66%; text-transform: uppercase; letter-spacing: -.035em; font-size: 10.9vw; color: var(--ink); }
.foot__bar { display: flex; justify-content: space-between; padding-block: 26px 30px; margin-top: clamp(20px, 3vw, 44px); color: var(--ink3); border-top: 1px solid var(--line); }
.foot__bar a:hover { color: var(--ink); }

/* mobile call pill */
.callpill {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80;
  display: none; align-items: center; gap: 9px; height: 46px; padding: 0 18px 0 14px;
  background: var(--blue); color: #fff; border: 1px solid var(--blue-mid); font-weight: 800; font-stretch: 100%; font-size: 11px; letter-spacing: .09em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.callpill svg { width: 18px; height: 18px; }
.callpill.is-on { transform: none; }
.callpill.is-off { transform: translateY(160%); }

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 56px 32px;
  background: rgba(3, 14, 27, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity .4s var(--ease); }
.lightbox__frame { max-width: min(1500px, 100%); transform: scale(.96) translateY(14px); transition: transform .6s var(--ease); }
.lightbox.is-open .lightbox__frame { transform: none; }
.lightbox__img { max-width: 100%; max-height: 80vh; max-height: 80svh; width: auto; margin-inline: auto; }
.lightbox__caption { margin-top: 18px; text-align: center; color: var(--ink2); }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line2); border-radius: 50%; transition: border-color .3s, transform .5s var(--ease); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__close:hover { border-color: var(--accent); transform: rotate(90deg); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__links { gap: 22px; }
  .foot__top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__phone { display: none; }
  .burger { display: block; }
  .nav__bar { gap: 12px; }

  /* hero: the same photograph, cropped to the cab / front end / sunset; the headline sits below it on navy */
  .hero { height: auto; min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; background: var(--bg); }
  .hero { --art-h: max(96vw, calc(100vh - var(--nav-h) - 300px)); --art-h: max(96vw, calc(100svh - var(--nav-h) - 300px)); }
  .hero__art { position: relative; inset: auto; height: var(--art-h); flex: none; }
  .hero__img { object-position: 32% 50%; }
  .hero__shade { display: none; }
  .hero__fade { top: 0; bottom: auto; height: var(--art-h); background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 68%, rgba(var(--bg-rgb), .85) 94%, var(--bg) 100%); }
  .hero__tag { top: 12px; font-size: 10px; gap: 9px; }
  .hero__tag .arr { width: 22px; }
  .hero__copy { position: relative; left: auto; top: auto; bottom: auto; width: auto; flex: 1 1 auto; margin: -8vw var(--pad) 0; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
  .hero__title { font-size: clamp(56px, 19.5vw, 130px); }
  .hero__sub { font-size: clamp(11px, 3.5vw, 20px); letter-spacing: .2em; margin-top: 16px; }
  .hero__btns { margin-top: 22px; gap: 10px; }
  .hero__btns .btn { --h: 54px; flex: 1 1 0; padding: 0 10px; justify-content: center; font-size: 10.5px; letter-spacing: .08em; font-stretch: 100%; }
  .hero__call { display: inline-flex; flex: 1.2 1 0; }
  .hero__btns .btn--primary .arr { display: none; }

  .services { }
  .svc__layout { display: flex; flex-direction: column; align-items: stretch; padding-right: 0; }
  .svc-media { order: -1; top: 8px; z-index: 6; margin: 0; padding: 8px var(--pad) 14px; background: var(--bg2); }
  .svc-media__frame { aspect-ratio: 16 / 9; }
  .svc__link { grid-template-columns: 1fr auto; row-gap: 14px; padding-block: 28px; }
  .svc__idx { display: none; }
  .svc__name { grid-column: 1 / -1; grid-row: 1; font-size: clamp(52px, 17.8vw, 130px); }
  .svc__desc { grid-column: 1; grid-row: 2; }
  .svc__go { grid-column: 2; grid-row: 2; align-self: end; width: 34px; }

  .facts { grid-template-columns: 1fr; }
  .facts__item { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .statement { max-width: none; }

  .drive { height: clamp(520px, 80svh, 760px); }
  .drive__type { top: 34px; }
  .drive__word { font-size: clamp(46px, 15.4vw, 120px); }
  .drive__video { object-position: 24% 50%; }
  .route__pin { min-height: 0; padding-bottom: 36px; }
  .route__stage { min-height: 130vw; min-height: 128svh; margin-top: 24px; }
  .route__big { font-size: clamp(60px, 20vw, 130px); }
  .route__hud { flex-direction: column; gap: 4px; }

  .tl__rail { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl__fill { transform-origin: top; }
  .tl__list { grid-template-columns: 1fr; padding-left: 42px; row-gap: 34px; }
  .tl__day { height: auto; font-size: clamp(62px, 20vw, 120px); line-height: .82; }
  .tl__dot { position: absolute; left: -42px; top: 12px; margin: 0; }
  .tl__item--gap { display: none; }
  .tl__what { margin-top: 12px; }

  .break__pin { min-height: 520px; }
  .break__type { padding-block: calc(var(--nav-h) + 4px) 64px; }
  .break__row { font-size: clamp(52px, 17.4vw, 190px); white-space: normal; }
  .break__cap { font-size: 10px; bottom: 18px; letter-spacing: .1em; }

  .fleet__pin { padding-block: 72px 56px; }
  .fleet__head { flex-direction: column; align-items: flex-start; }
  .fleet__head .sec-title { font-size: clamp(42px, 12.6vw, 90px); }
  .route__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .fleet__item { width: 84vw; }
  .fleet__media { height: min(58vh, 480px); height: min(58svh, 480px); }
  .fleet__item::after { height: min(58vh, 480px); height: min(58svh, 480px); }
  .fleet__arrow { display: none; }
  .fleet__ticks { margin-left: 0; }
  .fleet__end .mono { display: none; }

  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { align-self: stretch; }
  .foot__top { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .foot__bar { flex-wrap: wrap; gap: 8px 24px; }
  .foot__word span { font-size: 10.7vw; }
  .callpill { display: inline-flex; }
  .lightbox { padding: 60px 12px 24px; }
}

.ticker.is-paused .ticker__track, .route.is-paused .route__road { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .route__road, .pulse::after { animation: none; }
  .btn::before, .btn .arr, .svc__name, .svc__go { transition: none; }
  .svc-media img, .svc-media img.is-active { transition: none; transform: none; }
  .drive__word .ln__i { transform: none; transition: none; }
  .fleet__track, .fleet__item { transition: none; }
  .fleet__media img, .fleet__item.is-current .fleet__media img { animation: none; transform: none; }
}
