@import url('./fonts.css');

/* =================================================================
   BTR Freight Inc. — Core Stylesheet
   Design system: "Highway Premium" — navy, chrome and BTR blue.
   Sections are dark by default; .section--paper / .section--alt flip to
   the light scheme through the --fg / --surface / --line variables, so
   every component adapts without a light/dark fork of its own.
   ================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Palette */
  --asphalt:  #070b16;
  --asphalt-2:#0b1222;
  --graphite: #101a2c;
  --graphite-2:#17243b;
  --steel:    #23334c;
  --steel-2:  #354865;
  --chrome:   #c9ced6;
  --chrome-2: #8d949e;
  --paper:    #f4f2ee;
  --paper-2:  #ebe8e2;
  --ink:      #101114;
  --signal:   #0b57b8;
  --signal-2: #6aa5ff;
  --signal-ink:#ffffff;
  --ice:      #7cc4ff;
  --ok:       #3ddc84;
  --danger:   #ff6b6b;

  --grad-signal: linear-gradient(100deg, var(--signal) 0%, #0c60c0 45%, var(--signal-2) 100%);
  --grad-chrome: linear-gradient(180deg, #f5f7fa 0%, #c9ced6 48%, #8d949e 52%, #e3e6ea 100%);

  /* Scheme (dark default) */
  --bg:       var(--asphalt);
  --fg:       #f2f3f5;
  --fg-muted: #a5abb3;
  --fg-soft:  #c9ced6;
  --surface:  var(--graphite);
  --surface-2:var(--graphite-2);
  --line:     rgba(255,255,255,.09);
  --line-2:   rgba(255,255,255,.16);
  --accent:   var(--signal);
  --accent-text: #6aa5ff;
  --accent-end: #9abfff;
  --focus-color: #6aa5ff;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.25);
  --shadow-md: 0 14px 40px rgba(0,0,0,.45);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.55);
  --glow:      0 0 0 1px rgba(11,87,184,.35), 0 18px 50px rgba(11,87,184,.28);
  --ring:      0 0 0 3px rgba(11,87,184,.38);
  --ease:      cubic-bezier(.2,.7,0,1);

  /* Layout */
  --container: 1280px;
  --radius:    6px;
  --radius-sm: 4px;
  --radius-lg: 8px;
  --radius-btn: 2px;

  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 84px;

  /* Legacy aliases (pre-redesign pages still reference these) */
  --navy-900: var(--asphalt);
  --navy-800: var(--graphite);
  --navy-700: var(--steel);
  --amber:    var(--signal);
  --amber-600:var(--signal);
  --amber-soft: rgba(11,87,184,.12);
  --muted:    var(--fg-muted);
  --body:     var(--fg-soft);
  --surface-3:var(--graphite-2);
}

/* Light scheme — applied to paper sections, form cards, etc. */
.section--paper, .section--alt, .scheme-light, .form-card {
  --bg:       var(--paper);
  --fg:       var(--ink);
  --fg-muted: #5b6069;
  --fg-soft:  #2c3038;
  --surface:  #ffffff;
  --surface-2:#f8f7f4;
  --line:     rgba(16,17,20,.10);
  --line-2:   rgba(16,17,20,.18);
  --accent-text: #0b57b8;
  --accent-end: #0c60c0;
  --focus-color: #0b57b8;
  --shadow-sm: 0 1px 2px rgba(16,17,20,.06), 0 2px 8px rgba(16,17,20,.06);
  --shadow-md: 0 14px 40px rgba(16,17,20,.10);
  --shadow-lg: 0 30px 80px rgba(16,17,20,.16);
  --body:     var(--fg-soft);
  --muted:    var(--fg-muted);
  --surface-3:var(--paper-2);
  color: var(--fg-soft);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--asphalt); }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--focus-color); outline-offset: 3px; border-radius: 3px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg-soft);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--fg);
  line-height: 1.02;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.04em;
  font-stretch: 100%;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 600; letter-spacing: -0.05em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -.03em; word-spacing: .04em; }
h3 { font-size: 1.32rem; line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; }
p  { margin: 0 0 1rem; }
strong, b { color: var(--fg); }

.hl, .text-signal {
  background: linear-gradient(100deg, var(--accent-text), var(--accent-end)); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.text-chrome {
  background: var(--grad-chrome); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; background: var(--bg); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; position: relative; background: var(--bg); }
.section--dark { background: var(--asphalt); }
.section--graphite, .section--navy { background: var(--asphalt-2); color: var(--fg-soft); }
.section--paper, .section--alt { background: var(--bg); }
.section--grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 3px 3px;
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 720px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px)  { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 560px) and (max-width: 979px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Section headers ---------- */
.section-head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 76px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head--split { max-width: none; display: grid; gap: 20px 60px; text-align: left; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; } }
.section-head--split .lead { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: .7rem;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; flex: none;
  background: var(--signal);
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--fg-muted); line-height: 1.7; }
.section--navy .lead { color: var(--fg-muted); }

/* Dashed lane-line divider */
.lane-divider {
  height: 4px; border: 0; margin: 0;
  background: repeating-linear-gradient(90deg, var(--signal) 0 46px, transparent 46px 86px);
  opacity: .85;
}
.lane-divider--chrome { background: repeating-linear-gradient(90deg, var(--steel-2) 0 46px, transparent 46px 86px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-2);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700; font-size: .84rem;
  letter-spacing: .04em; text-transform: none;
  padding: 16px 26px; border-radius: var(--radius-btn);
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn::after { /* sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-110%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(110%) skewX(-18deg); }

.btn-primary, .btn--primary { --btn-bg: var(--signal); --btn-fg: #fff; --btn-bd: var(--signal); background: var(--signal); box-shadow: none; color: var(--signal-ink); }
.btn-primary:hover, .btn--primary:hover { box-shadow: none; background: #0c60c0; transform: translateY(-2px); }
.btn-dark { --btn-bg: var(--graphite); --btn-fg: #fff; --btn-bd: var(--steel-2); }
.btn-dark:hover { --btn-bd: var(--chrome-2); transform: translateY(-2px); }
.btn-ghost, .btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-2); }
.btn-ghost:hover, .btn--ghost:hover { --btn-bd: var(--fg); background: rgba(127,127,127,.08); }
.btn-light, .btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn-light:hover, .btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,255,255,.18); }
.btn-outline-light { --btn-bg: rgba(255,255,255,.02); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-outline-light:hover { --btn-bd: #fff; background: rgba(255,255,255,.08); }
.btn-lg { padding: 20px 34px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: 48px; height: 48px; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); color: var(--accent-text); }
.link-arrow:hover svg { transform: translateX(5px); }

/* =================================================================
   HEADER / NAV
   ================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s, height .4s var(--ease), transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container, .header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled, .site-header.solid {
  background: rgba(7,11,22,.78);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: var(--line);
}
.site-header.hide { transform: translateY(-100%); }
body.nav-open .site-header, .site-header:focus-within { transform: none; }

/* Brand — Parallel lockup (assets/brand/), reversed version for dark headers/footers. */
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo {
  height: 42px; width: auto; display: block;
  transition: height .4s var(--ease);
}

/* Nav links */
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: none;
  color: rgba(242,243,245,.78); padding: 12px 14px;
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--signal) 0 6px, transparent 6px 10px);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: #fff; }
.nav .nav-quote { display: none; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-quote { font-size: .75rem; font-weight: 500; color: var(--chrome); white-space: nowrap; transition: color .2s; }
.header-quote:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; color: #fff; font-size: .9rem; letter-spacing: .04em;
}
.header-phone svg { width: 18px; height: 18px; color: var(--accent-text); }
.header-cta .btn { padding: 14px 20px; font-size: .76rem; }
@media (min-width: 1081px) and (max-width: 1180px) { .header-phone { display: none; } }

/* Mobile toggle */
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: var(--radius-btn);
  background: rgba(255,255,255,.04); position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: #fff; transform: translate(-50%, -50%); transition: .35s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%,  5px); width: 14px; left: calc(50% - 3px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translate(-50%, 0) rotate(-45deg); width: 20px; left: 50%; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto;
    background: rgba(7,11,22,.97); backdrop-filter: blur(18px); padding: 28px clamp(18px,4vw,40px);
    clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); z-index: 99;
  }
  body.nav-open .nav { clip-path: inset(0 0 0 0); }
  body.nav-open { overflow: hidden; }
  .nav a { font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; text-transform: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.active { color: var(--accent-text); }
  .nav .nav-quote { display: block; font-size: 1rem; font-weight: 500; margin-top: 12px; color: var(--chrome); }
}
@media (max-width: 560px) { .header-cta .btn, .header-quote { display: none; } }

/* "Drive With BTR" is the site's main goal. Like the concept cards on
   jabawebdesign.com, a single thin line of light crosses the button once —
   shortly after the page loads, and again on each hover — then it rests. */
.btn--primary[href$="careers.html"] { box-shadow: 0 6px 22px rgba(11,87,184,.3); }
.btn--primary[href$="careers.html"]::after {
  z-index: 1; transform: none; transition: none;
  background: linear-gradient(90deg, transparent 0%, rgba(154,191,255,.14) 47%, rgba(255,255,255,.7) 50%, transparent 53%);
  background-size: 260% 100%; background-repeat: no-repeat; background-position: 120% 0; pointer-events: none;
  animation: drive-sweep 1.3s cubic-bezier(.2,.7,0,1) 1.2s both;
}
/* Hover adds a second animation and keeps the load sweep in the list
   unchanged, so un-hovering doesn't restart the load sweep. */
.btn--primary[href$="careers.html"]:hover::after {
  transform: none;
  animation: drive-sweep 1.3s cubic-bezier(.2,.7,0,1) 1.2s both, drive-sweep-hover 1.3s cubic-bezier(.2,.7,0,1) both;
}
@keyframes drive-sweep       { from { background-position: 120% 0; } to { background-position: -20% 0; } }
@keyframes drive-sweep-hover { from { background-position: 120% 0; } to { background-position: -20% 0; } }
.nav a[href$="careers.html"]:not(.active) { color: #fff; }
@media (prefers-reduced-motion: reduce) { .btn--primary[href$="careers.html"]::after { animation: none; opacity: 0; } }

/* =================================================================
   HERO (home) — WebGL stage with HTML overlay
   ================================================================= */
.hero {
  position: relative; min-height: 900px; height: max(900px, 100svh); max-height: 1100px;
  color: var(--paper); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 76% 48%, #233955 0%, #101d32 43%, #070e1b 76%);
}
.hero-stage, .hero-poster { position: absolute; left: 27%; right: -1%; top: 22%; bottom: 15%; z-index: -1; }
.hero-stage { mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 88%, transparent 100%); }
.hero-stage canvas { width: 100% !important; height: 100% !important; }
/* The live rig fades in once its shaders are compiled instead of popping in. */
.hero[data-3d] .hero-stage canvas { opacity: 0; transition: opacity .9s var(--ease); }
.hero[data-3d].webgl-ready .hero-stage canvas { opacity: 1; }
.hero-poster { top: 25%; bottom: auto; aspect-ratio: 16 / 9; background-size: contain; background-repeat: no-repeat; background-position: center; mix-blend-mode: lighten; transition: opacity .8s var(--ease); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 87%, transparent), linear-gradient(180deg, transparent, #000 26%, #000 76%, transparent); mask-composite: intersect; }
.hero.webgl-ready .hero-poster { opacity: 0; }
/* The poster's light studio backdrop flashed before the 3D arrived; show it
   only to visitors who get the still image (reduced motion / no WebGL). */
.hero[data-3d] .hero-poster { opacity: 0; }
.hero[data-3d].poster-only .hero-poster { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(7,14,27,.48), transparent 55%); }
.hero > .container { height: 100%; position: relative; padding-top: 162px; padding-bottom: 40px; display: flex; flex-direction: column; }
.hero-inner { max-width: 630px; }
.hero-eyebrow { color: var(--chrome); margin-bottom: 24px; }
.hero h1 { color: var(--paper); font-size: clamp(5rem, 7.9vw, 7.6rem); font-weight: 500; line-height: .94; letter-spacing: -.045em; word-spacing: .04em; margin: 0 0 28px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
.hero-period { color: var(--accent-text); }
.hero-sub { color: var(--chrome); max-width: 325px; font-size: 1rem; line-height: 1.8; margin-bottom: 28px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-actions .btn { padding: 19px 25px; font-size: .87rem; }
.hero-explore { font-size: .82rem; display: inline-flex; align-items: center; gap: 36px; color: var(--chrome); border-bottom: 1px solid var(--line-2); padding-bottom: 7px; }
.hero-explore span { font-size: 1.25rem; color: var(--accent-text); }
.hero-explore:hover { color: var(--paper); }
.hero-hud { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line-2); }
.hud-cell { padding: 0 30px; border-right: 1px solid var(--line-2); }
.hud-cell:first-child { padding-left: 0; }
.hud-cell:last-child { border: 0; }
.hud-cell b { display: block; color: var(--paper); font-family: var(--font-head); font-size: 2.4rem; line-height: 1.1; font-weight: 500; letter-spacing: -.04em; }
.hud-cell b small { font-size: .65em; }
.hud-cell span { display: block; color: var(--chrome-2); font-size: .65rem; text-transform: uppercase; letter-spacing: .15em; margin-top: 7px; }
.hero-caption { position: absolute; right: max(40px, calc((100vw - 1200px) / 2)); bottom: 185px; display: grid; gap: 3px; }
.hero-caption > span { font-size: .6rem; letter-spacing: .17em; color: var(--chrome-2); text-transform: uppercase; }
.hero-caption b { color: var(--chrome); font-size: .75rem; font-weight: 500; }
.hero-caption b span { margin-left: 24px; color: var(--accent-text); }
.carrier-strip { background: var(--asphalt); border-block: 1px solid var(--line); }
.carrier-strip .container { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.carrier-strip span, .carrier-strip b, .carrier-strip a { font-size: .69rem; font-weight: 500; letter-spacing: .035em; }
.carrier-strip .container > span { color: var(--chrome-2); font-size: .6rem; letter-spacing: .14em; }
.carrier-strip b { color: var(--chrome); }
.carrier-strip a { color: var(--paper); }
.carrier-strip a span { color: var(--accent-text); margin-left: 20px; }
@media (min-width: 1600px) { .hero-stage, .hero-poster { left: 31%; right: 0; } }
@media (max-width: 1100px) and (min-width: 721px) {
  .hero h1 { font-size: 6.3rem; }
  .hero-stage, .hero-poster { left: 22%; top: 26%; bottom: 16%; }
  .hero-poster { bottom: auto; }
  .hero-sub { max-width: 285px; }
}
@media (max-width: 720px) {
  .hero { min-height: 990px; height: auto; max-height: none; }
  .hero > .container { padding-top: 124px; padding-bottom: 30px; min-height: 990px; }
  .hero h1 { font-size: clamp(4.7rem, 15vw, 6.4rem); margin-bottom: 20px; }
  .hero-eyebrow { font-size: .58rem; margin-bottom: 18px; }
  .hero-sub { max-width: 370px; font-size: .92rem; margin-bottom: 24px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; width: 100%; max-width: 370px; }
  .hero-actions .btn { padding: 17px 10px; font-size: .72rem; min-width: 0; }
  .hero-actions .btn svg { display: none; }
  .hero-explore { font-size: .72rem; gap: 14px; }
  .hero-stage, .hero-poster { left: -3%; right: -3%; top: 477px; bottom: auto; height: 300px; }
  .hero-poster { top: 510px; height: auto; aspect-ratio: 16 / 9; }
  .hero-stage { mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%); }
  .hero-caption { right: 24px; bottom: 224px; }
  .hero-caption > span { font-size: .5rem; }
  .hero-caption b { font-size: .62rem; }
  .hero-hud { grid-template-columns: repeat(2, 1fr); gap: 24px 0; padding-top: 24px; }
  .hud-cell { padding: 0 0 0 24px; }
  .hud-cell:nth-child(3) { padding-left: 0; }
  .hud-cell:nth-child(2) { border: 0; }
  .hud-cell b { font-size: 1.8rem; }
  .hud-cell span { font-size: .57rem; }
  .carrier-strip .container { min-height: 96px; flex-wrap: wrap; justify-content: flex-start; gap: 10px 23px; padding-block: 20px; }
  .carrier-strip .container > span { width: 100%; }
  .carrier-strip b, .carrier-strip a { font-size: .59rem; }
  .carrier-strip a { margin-left: auto; }
}
@media (max-width: 380px) {
  .hero-explore { gap: 8px; font-size: .64rem; }
  .hero-stage, .hero-poster { top: 505px; height: 260px; }
  .hero-poster { top: 535px; height: auto; }
}

/* =================================================================
   MARQUEE / TRUST BAR
   ================================================================= */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--asphalt-2); padding: 22px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 18px; font-family: var(--font-head); font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.3rem); letter-spacing: .06em; text-transform: uppercase; color: var(--chrome); white-space: nowrap; }
.marquee-item::after { content: ""; width: 26px; height: 3px; background: var(--signal); margin-left: 38px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.trustbar { background: var(--asphalt-2); color: var(--chrome-2); padding: 22px 0; border-block: 1px solid var(--line); }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.trustbar .tb-label { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.trustbar ul { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.trustbar li { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--chrome); }
.trustbar li svg { width: 18px; height: 18px; color: var(--accent-text); }

/* =================================================================
   CARDS
   ================================================================= */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 36px);
  transition: transform .5s var(--ease), border-color .35s, box-shadow .5s var(--ease), background .35s;
  height: 100%; overflow: hidden;
}
.card::before { /* hairline chrome top edge */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--fg-muted); }
.card p:last-child { margin-bottom: 0; }
.card .card-num { font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .2em; color: var(--accent-text); display: block; margin-bottom: 26px; }

.icon-badge {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(11,87,184,.18), rgba(11,87,184,.04));
  border: 1px solid rgba(11,87,184,.28); color: var(--accent-text); margin-bottom: 22px;
}
.icon-badge svg { width: 26px; height: 26px; }
.card--navy, .card--dark { --surface: var(--graphite); background: var(--graphite); border-color: var(--steel); color: var(--chrome); }
.card--navy h3, .card--dark h3 { color: #fff; }

/* Spotlight that follows the cursor (main.js sets --mx/--my) */
.spotlight { --mx: 50%; --my: 50%; }
.spotlight::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(11,87,184,.12), transparent 45%);
}
.spotlight:hover::after { opacity: 1; }

.service-card .more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-family: var(--font-head); font-weight: 700; color: var(--fg); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
}
.service-card .more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); color: var(--accent-text); }
.service-card:hover .more svg { transform: translateX(5px); }
.services-grid { margin-inline: auto; }

/* =================================================================
   STATS
   ================================================================= */
.stats { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats--4 { }
@media (min-width: 960px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: left; padding: clamp(24px, 3vw, 40px); background: var(--bg); }
.stat b { display: block; white-space: nowrap; font-family: var(--font-head); font-weight: 900; font-size: clamp(2.6rem, 5.6vw, 4.6rem); color: var(--fg); line-height: .95; letter-spacing: -0.04em; }
.stat > span { color: var(--fg-muted); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-top: 14px; display: block; }
.stat .plus { color: var(--accent-text); }

/* =================================================================
   SPLIT (image + text)
   ================================================================= */
.split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse .split-media { order: 2; } }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; background: var(--graphite); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.04); }
.split-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,11,22,.55)); pointer-events: none; }
.split-media.framed { background: var(--graphite); }
.split-badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 2;
  background: rgba(11,18,34,.82); backdrop-filter: blur(12px); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; color: var(--chrome);
}
.split-badge .sb-ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(11,87,184,.16); color: var(--accent-text); display: grid; place-items: center; }
.split-badge .sb-ic svg { width: 22px; height: 22px; }
.split-badge b { font-family: var(--font-head); font-size: 1.15rem; color: #fff; display: block; line-height: 1.1; }
.split-badge span { font-size: .8rem; color: var(--chrome-2); }

/* Feature list with checks */
.checklist { display: grid; gap: 18px; margin: 28px 0 32px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; }
.checklist .ci {
  flex: none; width: 26px; height: 26px; border-radius: 4px; margin-top: 2px;
  background: rgba(11,87,184,.14); color: var(--accent-text); display: grid; place-items: center;
}
.checklist .ci svg { width: 14px; height: 14px; }
.checklist b { font-family: var(--font-head); color: var(--fg); display: block; font-size: 1.02rem; }
.checklist span { font-size: .95rem; color: var(--fg-muted); }

/* =================================================================
   DUAL PATH (shippers vs drivers)
   ================================================================= */
.paths { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 820px) { .paths { grid-template-columns: 1fr 1fr; } }
.path-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); isolation: isolate;
  min-height: clamp(380px, 46vw, 560px); display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 4vw, 52px); color: #fff; border: 1px solid var(--line);
}
.path-card::before { content:""; position: absolute; inset: 0; transition: transform 1.4s var(--ease); z-index: -2; filter: grayscale(.35) contrast(1.08); }
.path-card:hover::before { transform: scale(1.07); }
.path-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(7,11,22,.1) 0%, rgba(7,11,22,.92) 78%); }
.path-shippers::before { background: url("https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?q=80&w=1400&auto=format&fit=crop") center/cover; }
.path-drivers::before { background: url("https://images.unsplash.com/photo-1568605117036-5fe5e7bab0b7?q=80&w=1400&auto=format&fit=crop") center/cover; }
.path-card .tag { font-family: var(--font-head); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; color: var(--signal-2); margin-bottom: 14px; }
.path-card h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 14px; letter-spacing: -0.025em; line-height: 1.02; }
.path-card p { color: #c3c8cf; margin-bottom: 26px; max-width: 44ch; }

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; height: 100%; }
.quote-card .stars { color: var(--accent-text); display: flex; gap: 3px; margin-bottom: 16px; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { margin: 0 0 22px; font-size: 1.08rem; color: var(--fg); line-height: 1.6; }
.quote-card .who { display: flex; align-items: center; gap: 14px; }
.quote-card .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--steel); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote-card .who b { display: block; color: var(--fg); font-family: var(--font-head); }
.quote-card .who span { font-size: .86rem; color: var(--fg-muted); }

/* =================================================================
   CTA BAND
   ================================================================= */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center; isolation: isolate;
  background: var(--graphite); border: 1px solid var(--steel);
  border-radius: var(--radius-lg);
  padding: clamp(56px, 8vw, 110px) clamp(24px, 5vw, 64px);
}
.cta-band::before {
  content:""; position:absolute; inset:0; z-index: -1;
  background:
    radial-gradient(700px 320px at 50% 120%, rgba(11,87,184,.35), transparent 65%),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,.025) 60px 61px);
}
.cta-band::after { /* lane line along the bottom */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--signal) 0 46px, transparent 46px 86px);
  animation: lane 2.4s linear infinite;
}
@keyframes lane { to { background-position: -86px 0; } }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { color: #b5bbc4; max-width: 56ch; margin-inline: auto; margin-bottom: 34px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =================================================================
   PAGE HERO (interior pages)
   ================================================================= */
.page-hero {
  padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 7vw, 96px); color: #fff; position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 420px at 85% 110%, rgba(11,87,184,.22), transparent 60%),
    linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt-2) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::before { /* perspective road grid */
  content:""; position:absolute; inset: 40% -20% -10% -20%; z-index: -1; opacity: .5;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 80px);
  transform: perspective(500px) rotateX(62deg); transform-origin: top;
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--signal) 0 46px, transparent 46px 86px); opacity: .9; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 18px; max-width: 16ch; font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.page-hero p { color: #b5bbc4; max-width: 60ch; font-size: clamp(1.02rem, 1.4vw, 1.18rem); margin: 0; }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--font-head); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--chrome-2); margin-bottom: 24px; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs span { color: var(--steel-2); }

/* =================================================================
   FORMS
   ================================================================= */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 52px); color: var(--fg-soft); }
.form-section { margin-bottom: 44px; }
.form-section:last-of-type { margin-bottom: 24px; }
.form-section > h3 {
  display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 26px;
  border-bottom: 1px solid var(--line); font-size: 1.2rem;
}
.form-section > h3 .num {
  width: 34px; height: 34px; flex: none; border-radius: 4px; background: var(--ink); color: var(--signal-2);
  display: grid; place-items: center; font-size: .86rem; font-family: var(--font-head); font-weight: 800;
}
.form-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid.cols-3 { grid-template-columns: repeat(3,1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.span-2 { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--fg); letter-spacing: .01em; }
.field .req { color: #d23b0b; }
.field .hint { font-size: .8rem; color: var(--fg-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--fg);
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--surface-2); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-text); box-shadow: var(--ring); background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: #9aa0a8; }
.field input:invalid:not(:placeholder-shown):not(:focus) { border-color: #e08a6a; }

.check-row { display: flex; gap: 12px; align-items: flex-start; }
.check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent-text); flex: none; }
.check-row label { font-weight: 400; font-family: var(--font-body); color: var(--fg-soft); font-size: .95rem; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill label {
  display: inline-flex; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-btn);
  font-weight: 600; font-size: .84rem; letter-spacing: .04em; color: var(--fg-soft); cursor: pointer; transition: .2s; font-family: var(--font-head);
  background: var(--surface-2);
}
.radio-pill label:hover { border-color: var(--fg-muted); }
.radio-pill input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal); }
.radio-pill input:focus-visible + label { box-shadow: var(--ring); }

.form-note { font-size: .86rem; color: var(--fg-muted); background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--signal); border-radius: var(--radius-sm); padding: 16px 18px; display: flex; gap: 12px; }
.form-note svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; }
.form-submit { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 8px; }

/* Multi-step application wizard (progressive enhancement) */
.form-steps { margin-bottom: 34px; }
.form-steps-bar { height: 6px; background: var(--paper-2); border-radius: 0; overflow: hidden; position: relative; }
.form-steps-bar > span { display: block; height: 100%; width: 10%; background: var(--grad-signal); transition: width .6s var(--ease); position: relative; }
.form-steps-bar > span::after { content: ""; position: absolute; right: -2px; top: -5px; width: 4px; height: 16px; background: var(--ink); }
.form-steps-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 14px; }
.form-steps-meta .cur { font-family: var(--font-head); font-weight: 800; color: var(--fg); font-size: 1.15rem; letter-spacing: -0.01em; }
.form-steps-meta .count { color: var(--fg-muted); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.wizard-nav { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.wizard-nav .spacer { flex: 1; }
@media (max-width: 520px) { .wizard-nav .btn { flex: 1; justify-content: center; } }
.group-error { color: #b13030; font-size: .85rem; font-weight: 600; margin: 8px 0 0; }
.group-error:empty { display: none; }

.form-status { display: none; padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 8px; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f7ee; color: #1c7a45; border: 1px solid #b7e6c8; }
.form-status.err { background: #fdeaea; color: #b13030; border: 1px solid #f3c4c4; }

/* =================================================================
   CONTACT
   ================================================================= */
.contact-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info-card { background: var(--graphite); color: var(--chrome); border: 1px solid var(--steel); border-radius: var(--radius-lg); padding: clamp(28px,4vw,44px); }
.contact-info-card h3 { color: #fff; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ic { width: 44px; height: 44px; flex: none; border-radius: 8px; background: rgba(11,87,184,.14); color: var(--accent-text); display: grid; place-items: center; }
.contact-line .ic svg { width: 22px; height: 22px; }
.contact-line b { color: #fff; font-family: var(--font-head); display: block; margin-bottom: 2px; }
.contact-line a, .contact-line span { color: var(--chrome-2); }
.contact-line a:hover { color: var(--accent-text); }

/* =================================================================
   FAQ / ACCORDION
   ================================================================= */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 26px 4px; display: flex; justify-content: space-between; gap: 18px; align-items: center; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--fg); }
.faq-q .pm { flex: none; width: 34px; height: 34px; border-radius: 2px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: .35s var(--ease); }
.faq-q .pm svg { width: 16px; height: 16px; color: var(--fg); transition: transform .35s var(--ease); }
.faq-item.open .faq-q .pm { background: var(--signal); border-color: var(--accent-text); }
.faq-item.open .faq-q .pm svg { transform: rotate(45deg); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a-inner { padding: 0 4px 26px; color: var(--fg-muted); max-width: 70ch; }

/* =================================================================
   BENEFITS GRID (careers) + PROCESS STEPS
   ================================================================= */
.benefit { display: flex; gap: 18px; align-items: flex-start; }
.benefit .bi { width: 50px; height: 50px; flex: none; border-radius: 10px; background: rgba(11,87,184,.12); border: 1px solid rgba(11,87,184,.25); color: var(--accent-text); display: grid; place-items: center; }
.benefit .bi svg { width: 24px; height: 24px; }
.benefit b { font-family: var(--font-head); color: var(--fg); display: block; margin-bottom: 4px; font-size: 1.04rem; }
.benefit p { font-size: .95rem; color: var(--fg-muted); margin: 0; }

.steps { display: grid; gap: 28px; counter-reset: step; position: relative; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(4,1fr); }
  .steps::before { content: ""; position: absolute; top: 29px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--steel-2) 0 14px, transparent 14px 24px); }
}
.step { text-align: center; position: relative; }
.step .num { position: relative; width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 4px; background: var(--ink); color: var(--signal-2); font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; display: grid; place-items: center; border: 1px solid var(--signal); box-shadow: 0 0 0 6px var(--bg); }
.step h4 { font-family: var(--font-head); color: var(--fg); margin: 0 0 8px; font-size: 1.1rem; }
.step p { font-size: .94rem; color: var(--fg-muted); margin: 0; }

/* =================================================================
   SHOWROOM — 360° truck viewer (home)
   ================================================================= */
.showroom { position: relative; background: #091326; overflow: hidden; }
.showroom-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16 / 9; min-height: 560px; background: radial-gradient(ellipse at 50% 55%, #344d70 0%, #172943 60%, #101d32 100%);
  touch-action: pan-y; cursor: grab;
}
.showroom-frame:active { cursor: grabbing; }
@media (max-width: 720px) { .showroom-frame { aspect-ratio: 3 / 4; min-height: 520px; } }
.showroom-canvas { position: absolute; inset: 0; }
.showroom-canvas canvas { width: 100% !important; height: 100% !important; }
.showroom-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--chrome-2); }
.showroom-fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* Crossfade from the still to the live viewer rather than swapping abruptly. */
.showroom-fallback { transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.showroom.webgl-ready .showroom-fallback { opacity: 0; visibility: hidden; pointer-events: none; }
.showroom-loader { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-family: var(--font-head); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--chrome-2); display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; transition: opacity .6s; }
.showroom-loader::before { content: ""; width: 120px; height: 2px; background: repeating-linear-gradient(90deg, var(--signal) 0 12px, transparent 12px 20px); background-size: 20px 2px; animation: roadline-x .6s linear infinite; }
@keyframes roadline-x { to { background-position: 20px 0; } }
.showroom.webgl-ready .showroom-loader { opacity: 0; }

/* Overlay controls */
.sr-top { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; pointer-events: none; z-index: 3; }
.sr-top > * { pointer-events: auto; }
.sr-dial {
  display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px;
  background: rgba(11,18,34,.7); border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(10px);
  font-family: var(--font-head); color: #fff;
}
.sr-dial svg { width: 40px; height: 40px; }
.sr-dial b { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; display: block; line-height: 1; font-variant-numeric: tabular-nums; min-width: 3.2ch; }
.sr-dial span { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--chrome-2); }
.sr-hint { font-family: var(--font-head); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--chrome-2); padding: 10px 14px; background: rgba(11,18,34,.6); border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(10px); display: inline-flex; align-items: center; gap: 10px; }
.sr-hint svg { width: 18px; height: 18px; color: var(--accent-text); }

.sr-bar {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
}
.sr-group { display: flex; gap: 6px; padding: 6px; background: rgba(11,18,34,.72); border: 1px solid var(--line); border-radius: 4px; backdrop-filter: blur(10px); align-items: center; }
.sr-group .sr-label { font-family: var(--font-head); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--chrome-2); padding: 0 8px 0 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; padding: 0; background: var(--c); box-shadow: inset 0 -6px 10px rgba(0,0,0,.35), inset 0 4px 6px rgba(255,255,255,.25); transition: transform .3s var(--ease), border-color .2s; }
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 2px rgba(11,87,184,.8), inset 0 -6px 10px rgba(0,0,0,.35); }
.sr-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 4px; border: 0; background: transparent; color: var(--chrome); font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; transition: background .2s, color .2s; }
.sr-btn svg { width: 16px; height: 16px; }
.sr-btn:hover { color: #fff; background: rgba(255,255,255,.06); }
.sr-btn[aria-pressed="true"] { background: #fff; color: var(--ink); }
@media (max-width: 720px) { .sr-bar { flex-direction: column; align-items: stretch; } .sr-group { justify-content: center; } .sr-hint { display: none; } }

/* Hotspots projected from 3D → screen */
.hotspot {
  position: absolute; left: 0; top: 0; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 0; padding: 0; background: rgba(11,87,184,.2);
  display: grid; place-items: center; transition: opacity .35s, transform .35s var(--ease);
  will-change: transform;
}
.hotspot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.hotspot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--signal); animation: hs 2.2s var(--ease) infinite; }
@keyframes hs { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }
.hotspot.is-hidden { opacity: 0; pointer-events: none; visibility: hidden; }
.hotspot[aria-expanded="true"]::before { background: #fff; box-shadow: 0 0 0 3px var(--signal); }

.sr-panel {
  position: absolute; right: 18px; top: 84px; z-index: 4; width: min(340px, calc(100% - 36px));
  background: rgba(11,18,34,.86); border: 1px solid var(--line-2); border-radius: var(--radius); backdrop-filter: blur(16px);
  padding: 22px 22px 20px; color: var(--chrome);
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.sr-panel.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.sr-panel .eyebrow { margin-bottom: 10px; }
.sr-panel h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.sr-panel p { font-size: .92rem; color: var(--chrome); margin-bottom: 14px; }
.sr-panel ul { display: grid; gap: 8px; }
.sr-panel li { display: flex; justify-content: space-between; gap: 16px; font-size: .84rem; border-top: 1px solid var(--line); padding-top: 8px; }
.sr-panel li span { color: var(--chrome-2); }
.sr-panel li b { color: #fff; font-weight: 600; text-align: right; }
.sr-close { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--chrome-2); border-radius: 4px; display: grid; place-items: center; }
.sr-close:hover { color: #fff; background: rgba(255,255,255,.06); }
.sr-close svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .sr-panel { top: auto; bottom: 150px; left: 18px; right: 18px; width: auto; } }

.feature-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }
.feature-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 4px; font-size: .84rem; color: var(--chrome); background: rgba(255,255,255,.02); transition: border-color .25s, color .25s, background .25s; }
.feature-chip:hover, .feature-chip[aria-pressed="true"] { border-color: var(--accent-text); color: #fff; background: rgba(11,87,184,.08); }
.feature-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); font-style: normal; }

/* =================================================================
   JOURNEY — sticky scroll story (home)
   ================================================================= */
.journey { position: relative; }
.journey-grid { display: grid; gap: clamp(32px, 6vw, 80px); }
@media (min-width: 960px) { .journey-grid { grid-template-columns: .9fr 1.1fr; } }
/* Sticky only beside the steps; stacked on narrow screens it would slide over them. */
@media (min-width: 960px) { .journey-sticky { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }
.journey-road { position: relative; height: 6px; background: var(--steel); border-radius: 3px; margin: 34px 0 18px; overflow: visible; }
.journey-road > span { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--grad-signal); border-radius: 3px; transition: width .2s linear; }
.journey-road > i { position: absolute; top: 50%; left: clamp(23px, var(--p, 0%), calc(100% - 23px)); width: 46px; height: 22px; transform: translate(-50%, -50%); background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 44'%3E%3Crect x='0' y='6' width='58' height='26' rx='2' fill='%23c9ced6'/%3E%3Cpath d='M60 12h14l10 10v10H60z' fill='%230b57b8'/%3E%3Cpath d='M66 15h7l6 7h-13z' fill='%23070b16'/%3E%3Ccircle cx='14' cy='36' r='6' fill='%23070b16' stroke='%23c9ced6' stroke-width='2'/%3E%3Ccircle cx='46' cy='36' r='6' fill='%23070b16' stroke='%23c9ced6' stroke-width='2'/%3E%3Ccircle cx='76' cy='36' r='6' fill='%23070b16' stroke='%23c9ced6' stroke-width='2'/%3E%3C/svg%3E"); transition: left .2s linear; }
.journey-legend { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-muted); }
.journey-steps { display: grid; gap: clamp(20px, 3vw, 28px); }
.jstep { position: relative; padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .5s, background .5s, transform .6s var(--ease); min-height: 46vh; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 959px) { .jstep { min-height: 0; } }
.jstep.is-active { border-color: rgba(11,87,184,.55); background: linear-gradient(160deg, rgba(11,87,184,.08), var(--surface) 50%); }
.jstep .jn { font-family: var(--font-head); font-weight: 900; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--steel-2); margin-bottom: 18px; transition: -webkit-text-stroke-color .5s; }
.jstep.is-active .jn { -webkit-text-stroke-color: var(--accent-text); }
.jstep h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 12px; }
.jstep p { color: var(--fg-muted); margin: 0; max-width: 52ch; }

/* =================================================================
   LANES MAP (home)
   ================================================================= */
.lanes { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background:
  radial-gradient(800px 400px at 50% 50%, rgba(11,87,184,.06), transparent 70%),
  repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 40px),
  repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 40px), var(--asphalt-2); }
.lanes svg { width: 100%; height: auto; }
.lanes .us-dots circle { fill: rgba(201,206,214,.16); }
.lanes .lane { fill: none; stroke: var(--signal-2); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 5 7; opacity: .75; animation: dash 3s linear infinite; }
.lanes .lane--alt { stroke: var(--ice); opacity: .45; }
@keyframes dash { to { stroke-dashoffset: -48; } }
.lanes .hub circle:first-child { fill: var(--signal-2); }
.lanes .hub circle:nth-child(2) { fill: none; stroke: var(--signal); opacity: .5; transform-box: fill-box; transform-origin: center; animation: hubping 2.6s var(--ease) infinite; }
.lanes .hub--home circle:first-child { fill: #fff; }
.lanes .hub text { fill: var(--chrome); font-family: var(--font-head); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
@keyframes hubping { from { transform: scale(.5); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.lanes-legend { position: absolute; left: 20px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 18px; font-size: .74rem; color: var(--chrome-2); letter-spacing: .08em; }
.lanes-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lanes-legend i { width: 18px; height: 2px; background: var(--signal); }
.lanes-legend i.alt { background: var(--ice); }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { position: relative; background: var(--asphalt); color: var(--chrome-2); padding-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.site-footer::before { /* oversized wordmark */
  content: "BTR FREIGHT"; position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%); z-index: -1;
  font-family: var(--font-head); font-weight: 900; font-size: clamp(5rem, 17vw, 17rem); letter-spacing: -0.05em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.06);
}
.footer-top { display: grid; gap: 44px; padding-bottom: clamp(56px, 8vw, 110px); }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-brand .brand-logo { height: 52px; }
.footer-about { margin: 22px 0; max-width: 38ch; font-size: .95rem; line-height: 1.75; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 4px; border: 1px solid var(--line); display: grid; place-items: center; transition: .25s; }
.footer-social a:hover { background: var(--signal); border-color: var(--accent-text); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: #fff; font-size: .74rem; margin-bottom: 22px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--accent-text); flex: none; margin-top: 3px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.footer-badges .fb { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 2px; font-weight: 700; color: var(--chrome); }
.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0 30px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: .84rem; }
.footer-bottom a:hover { color: #fff; }

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in, .reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.reveal-clip.in { clip-path: inset(0 0 0 0); }

/* Scroll progress "road line" at the very top */
.road-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 120; pointer-events: none; transform-origin: left; transform: scaleX(var(--sp, 0)); background: var(--grad-signal); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-clip { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero h1 .line > span { animation: none; transform: none; }
  .marquee-track, .cta-band::after, .lanes .lane, .lanes .hub circle, .scroll-cue::after, .hotspot::after, .hero-badge .dot { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* Refined equipment and homepage editorial layouts. */
.showroom .section-head--split { align-items: end; }
.showroom .section-head .lead { max-width: 440px; justify-self: end; font-size: 1rem; }
.showroom-frame { border-radius: 4px; width: 100%; }
.sr-top { top: 24px; left: 24px; right: 24px; }
.sr-dial { background: transparent; border: 0; padding: 0; backdrop-filter: none; }
.sr-hint { background: transparent; border: 0; backdrop-filter: none; letter-spacing: .08em; }
.sr-bar { left: 24px; right: 24px; bottom: 24px; }
.sr-group { background: rgba(14,18,22,.88); padding: 10px; gap: 9px; }
.sr-label { max-width: 140px; line-height: 1.5; }
.sr-btn { letter-spacing: .03em; text-transform: none; font-size: .73rem; height: 38px; padding-inline: 11px; }
.swatch { width: 28px; height: 28px; }
.hotspot { width: 28px; height: 28px; margin: -14px 0 0 -14px; background: rgba(255,255,255,.16); }
.hotspot::before { width: 8px; height: 8px; box-shadow: 0 0 0 2px rgba(255,255,255,.8); }
.hotspot::after { animation: none; border-color: rgba(255,255,255,.3); }
.sr-panel { background: rgba(16,20,24,.97); padding: 26px; }
.sr-panel h3 { font-weight: 600; padding-right: 20px; }
.feature-chip { background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 12px 18px; font-size: .76rem; }
.feature-chip i { width: 4px; height: 4px; }
.showroom:not(.webgl-ready) [data-interactive], .showroom:not(.webgl-ready) .hotspot { display: none; }
.showroom-fallback-note { color: var(--chrome); text-align: center; font-size: .85rem; margin: 24px auto 0; max-width: 580px; }
.showroom.webgl-ready .showroom-fallback-note, .showroom.poster-only .showroom-loader { display: none; }
.showroom:not(.is-loading) .showroom-loader { display: none; }
.showroom.poster-only .showroom-frame { cursor: default; }
.showroom.poster-only .showroom-frame { min-height: 0; aspect-ratio: 16 / 8; }
.showroom.poster-only .showroom-fallback img { object-fit: cover; }
.home-services .services-grid { gap: 0; }
.home-services .service-card { border: 0; border-radius: 0; border-left: 1px solid var(--line-2); box-shadow: none; background: transparent; padding: 6px 30px 0; }
.home-services .service-card:first-child { border-left: 0; padding-left: 0; }
.home-services .service-card:last-child { padding-right: 0; }
.home-services .service-card::before, .home-services .icon-badge { display: none; }
.home-services .service-card:hover { transform: none; }
.home-services .card-num { font-size: .67rem; font-weight: 500; color: var(--fg-muted); margin-bottom: 44px; }
.home-services .service-card h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.15; min-height: 3.4rem; letter-spacing: -.04em; }
.home-services .service-card p { font-size: .91rem; line-height: 1.8; }
.home-services .service-card .more { margin-top: 26px; letter-spacing: 0; text-transform: none; font-size: .75rem; }
/* The render fills the frame edge to edge like a photo: the box follows the
   image's own wide shape, and the slight zoom anchored at the bottom crops
   away the render's dark top band so no backdrop colour ever shows. */
.home-promise .split-media { aspect-ratio: 16 / 10; border-radius: 4px; min-width: 0; width: 100%; }
.home-promise .split-media img { object-fit: cover; object-position: 50% 100%; transform: scale(1.08); transform-origin: 50% 100%; }
.home-promise .split-media:hover img { transform: scale(1.12); }
.home-promise .split-media::after { background: linear-gradient(180deg, transparent 58%, rgba(10,22,42,.5)); }
.home-paths { gap: 1px; background: var(--line-2); border-block: 1px solid var(--line-2); }
.home-paths .path-card { min-height: 410px; border-radius: 0; border: 0; background: var(--asphalt); padding: clamp(26px, 4vw, 50px); }
.home-paths .path-drivers { background: var(--graphite); box-shadow: inset 0 3px 0 var(--signal); }
.home-paths .path-card::before, .home-paths .path-card::after { display: none; }
.home-paths .tag { color: var(--chrome-2); }
.home-paths h3 { font-weight: 500; }
.home-page .cta-band { border-radius: 4px; background: #10213a; }
.home-page .cta-band::before { display: none; }
@media (max-width: 979px) {
  .home-services .services-grid { gap: 40px 0; }
  .home-services .service-card:nth-child(3) { border-left: 0; padding-left: 0; }
  .home-services .service-card:nth-child(2) { padding-right: 0; }
}
@media (max-width: 720px) {
  .showroom-frame { min-height: 590px; }
  .sr-top { top: 18px; left: 18px; right: 18px; }
  .sr-bar { left: 14px; right: 14px; bottom: 14px; gap: 8px; }
  .sr-group { gap: 9px; padding: 8px; }
  .sr-group .sr-label { font-size: .55rem; letter-spacing: .08em; padding: 0 7px 0 0; max-width: 102px; }
  .sr-btn { padding-inline: 10px; font-size: .66rem; gap: 7px; }
  .sr-btn svg { width: 14px; height: 14px; }
  .feature-chips { gap: 2px; margin-top: 18px; }
  .feature-chip { font-size: .68rem; padding: 10px 12px; }
  .sr-panel { bottom: 135px; padding: 23px; max-height: 375px; overflow: auto; }
  .sr-panel p { font-size: .84rem; }
  .sr-panel li { font-size: .75rem; }
}
@media (max-width: 559px) {
  .home-services .services-grid { gap: 0; }
  .home-services .service-card, .home-services .service-card:first-child, .home-services .service-card:nth-child(3) { padding: 28px 0; border: 0; border-top: 1px solid var(--line-2); }
  .home-services .service-card h3 { min-height: 0; font-size: 1.7rem; }
  .home-services .card-num { margin-bottom: 18px; }
  .home-services .service-card .more { margin-top: 8px; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--fg-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--signal); color: #fff; padding: 12px 18px; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 0; }

/* =================================================================
   FLOATING UI — back-to-top + mobile action bar
   (injected by main.js so every page gets them without extra markup)
   ================================================================= */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 50px; height: 50px; border-radius: 2px; border: 1px solid var(--line-2);
  background: rgba(11,18,34,.85); backdrop-filter: blur(10px); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s var(--ease), visibility .3s, background .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--signal); border-color: var(--accent-text); }
.to-top svg { width: 20px; height: 20px; }

.mobile-cta { display: none; }
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .brand-logo { height: 34px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(7,11,22,.9); backdrop-filter: saturate(150%) blur(16px);
    border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { width: 100%; padding: 15px 10px; font-size: .74rem; }
  body.has-mobile-cta { padding-bottom: 76px; }
  .to-top { bottom: 88px; width: 44px; height: 44px; }
}

/* =================================================================
   PRINT — clean output (useful for the driver application)
   ================================================================= */
@media print {
  .site-header, .site-footer, .to-top, .mobile-cta, .skip-link, .nav-toggle, .road-progress,
  .hero-actions, .cta-band, .form-submit, .form-note, .hero-stage, .showroom { display: none !important; }
  body { padding: 0 !important; color: #000; background: #fff; font-size: 12pt; }
  .page-hero, .hero, .section { background: #fff !important; color: #000; padding-top: 0; }
  .page-hero::before, .page-hero::after, .hero::after { display: none; }
  .page-hero h1, .page-hero p, .hero h1, .hero-sub, h1, h2, h3 { color: #000; }
  .form-card { box-shadow: none; border: 1px solid #000; }
  .card, .quote-card { box-shadow: none; border: 1px solid #999; }
  a { color: #000; text-decoration: underline; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =================================================================
   ROAD COMPANION — small BTR rig fixed bottom-left on every page
   (injected by main.js). A dark "road plate" chip with a blue lane line;
   never takes input; lifts above the mobile action bar.
   ================================================================= */
.road-companion {
  --rc-w: 168px;
  position: fixed; z-index: 80; pointer-events: none; user-select: none;
  left: calc(16px + env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: var(--rc-w); padding: 9px 12px 11px;
  border-radius: 999px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(24,40,72,.92), rgba(7,11,22,.92));
  box-shadow: inset 0 0 0 1px rgba(91,155,255,.38), 0 10px 26px -8px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(12px) scale(.94); transform-origin: 0 100%;
  /* No transition on bottom: the phone toolbar resizing mid-scroll made it lag and jump. */
  transition: opacity .45s ease, transform .5s cubic-bezier(.22,1,.36,1);
  will-change: transform, opacity; backface-visibility: hidden;
}
.road-companion.is-live { opacity: 1; transform: none; }
.road-companion.is-live.is-tucked { opacity: 0; transform: translateX(-24px) scale(.96); transition: opacity .2s ease, transform .25s ease-in; }
.road-companion img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.road-companion .rc-lane { /* lane line under the wheels; ends fade so dashes glide in and out */
  position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; overflow: hidden; opacity: .75;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 30px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 30px), transparent);
}
.road-companion .rc-lane i {
  display: block; height: 100%; width: calc(100% + 16px);
  background: repeating-linear-gradient(90deg, #5b9bff 0 10px, transparent 10px 16px);
  /* Rolled with transform (compositor, sub-pixel) rather than background-position,
     which snaps to whole pixels and stutters at this slow speed. */
  animation: rc-lane 1s linear infinite; will-change: transform;
}
@keyframes rc-lane { to { transform: translateX(-16px); } }
/* Fallback when a cached older main.js didn't add .rc-lane: keep a lane line visible. */
.road-companion:not(:has(.rc-lane))::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; opacity: .75;
  background: repeating-linear-gradient(90deg, #5b9bff 0 10px, transparent 10px 16px);
  animation: rc-lane-bg 1s linear infinite;
}
@keyframes rc-lane-bg { to { background-position: -16px 0; } }
@media (max-width: 980px) { .road-companion { --rc-w: 132px; padding: 7px 10px 9px; left: calc(12px + env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } }
/* Step up out of the way of the sticky mobile action bar. */
@media (max-width: 640px) { body.has-mobile-cta .road-companion { --rc-w: 118px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .road-companion { transition: none; } .road-companion .rc-lane i, .road-companion::after { animation: none; } }
@media print { .road-companion { display: none !important; } }
