/* ==========================================================================
   EXPRESS LOGISTICS - design tokens
   "Midnight projection room": near-black cosmic canvas, one Iris Glow
   accent, weight-400 display type, pill controls, violet-haloed mockups.
   ========================================================================== */

:root {
  /* Colors */
  --color-carbon-vellum: #ffffff;
  --color-obsidian: #1a1a26;
  --color-pitch: #000000;
  --color-void: #15151a;
  --color-graphite: #18191e;
  --color-smoke: #8b8b97;
  --color-ash: #a5a5b6;
  --color-charcoal: #393943;
  --color-iris-glow: #6199f6;
  --color-twilight: #4d4d80;
  --color-specter-lilac: #e3e4f4;
  --surface-card-halo: #282838;

  /* Type */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-gap: clamp(80px, 10vw, 144px);
  --radius-cards: 10px;
  --radius-feature: 24px;
  --radius-pill: 100px;

  --halo: inset 0 0 0 1px var(--color-twilight), 0 0 60px rgba(77, 77, 128, 0.15);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01" on, "cv11" on;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--color-carbon-vellum);
  background-color: var(--color-obsidian);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 110%, #111b45 0%, transparent 60%),
    linear-gradient(195deg, #1a1123 0%, #13111d 45%, #1c2c43 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--color-iris-glow);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(97, 153, 246, 0.35); color: var(--color-carbon-vellum); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Cursor-following blue spotlight - the one light in the room */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(180px circle at var(--mx, 70%) var(--my, 20%), rgba(141, 183, 255, 0.1), transparent 70%),
    radial-gradient(650px circle at var(--mx, 70%) var(--my, 20%), rgba(97, 153, 246, 0.15), transparent 60%);
  transition: opacity 0.4s;
}

/* Film grain */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

main, .footer, .announce, .nav { position: relative; z-index: 1; }

/* ==========================================================================
   Type
   ========================================================================== */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-iris-glow);
  margin-bottom: 20px;
}

.display {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lede, .sub {
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-ash);
  max-width: 560px;
  text-wrap: pretty;
}

.sub { margin-top: 20px; }

.fine-print {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--color-smoke);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-sm { padding: 12px 20px; }

.btn-primary {
  background: var(--color-carbon-vellum);
  color: var(--color-obsidian);
}

.btn-primary:hover { background: var(--color-specter-lilac); }

.btn-ghost {
  color: var(--color-carbon-vellum);
  box-shadow: inset 0 0 0 1px var(--color-carbon-vellum);
  font-weight: 400;
}

.btn-ghost:hover {
  background: var(--color-carbon-vellum);
  color: var(--color-obsidian);
}

.btn:active { transform: scale(0.98); }

/* ==========================================================================
   Announcement banner
   ========================================================================== */

.announce {
  background: linear-gradient(90deg, #071547 0%, #1a1a53 50%, #27185a 100%);
  font-size: 13px;
  color: var(--color-carbon-vellum);
}

.announce[hidden] { display: none; }

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 40px;
  position: relative;
  padding-right: 48px;
}

.announce-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-specter-lilac);
}

.announce-msg { color: rgba(255, 255, 255, 0.85); font-variant-numeric: tabular-nums; }

.announce-close {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0.7;
  transition: opacity 0.2s, background-color 0.2s;
}

.announce-close:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); }

.pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-iris-glow);
  flex: none;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--color-iris-glow);
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}

.nav.is-scrolled {
  background: rgba(21, 21, 26, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 -1px 0 var(--color-charcoal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 34px; width: auto; }
.brand-logo-color { display: none; }
.logo-swap { display: inline-flex; }

.nav-links { display: flex; gap: 28px; }

.nav-links a, .nav-phone {
  font-size: 14px;
  color: var(--color-carbon-vellum);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.25s var(--ease), color 0.25s;
}

.nav-links a:hover, .nav-phone:hover { text-decoration-color: currentColor; }
.nav-links a.is-current { color: var(--color-iris-glow); }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-variant-numeric: tabular-nums; display: inline-flex; gap: 6px; align-items: center; }
.nav-phone i { display: none; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 120px var(--gutter) 40px;
  background: rgba(21, 21, 26, 0.97);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu a:not(.btn) {
  font-size: 30px;
  letter-spacing: -0.03em;
  padding: 8px 0;
  box-shadow: inset 0 -1px 0 var(--color-charcoal);
}

.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -120px 0 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 50% at 78% 40%, rgba(77, 77, 128, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(28, 44, 67, 0.9), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.hero-text .lede { margin-top: 28px; }

.word-cycle {
  display: inline-block;
  color: var(--color-specter-lilac);
  background: linear-gradient(100deg, var(--color-carbon-vellum) 0%, var(--color-specter-lilac) 40%, var(--color-iris-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), filter 0.35s var(--ease);
  /* Gradient text is clipped to the box; extra bottom room keeps descenders (g, y) intact */
  padding-bottom: 0.2em;
  margin-bottom: -0.14em;
  white-space: nowrap;
}

.word-cycle.is-out { opacity: 0; transform: translateY(0.25em); filter: blur(6px); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  box-shadow: inset 0 1px 0 var(--color-charcoal);
  font-size: 13px;
  color: var(--color-ash);
}

.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { color: var(--color-iris-glow); font-size: 16px; }

.nav-sentinel { position: absolute; top: 40px; height: 1px; width: 1px; }

/* ==========================================================================
   Product UI mockup container
   ========================================================================== */

.mockup {
  position: relative;
  border-radius: var(--radius-cards);
  background: linear-gradient(180deg, #1e1e2a 0%, var(--color-graphite) 100%);
  box-shadow: var(--halo), 0 40px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: var(--font-sans);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 16px;
  background: rgba(21, 21, 26, 0.6);
  box-shadow: inset 0 -1px 0 var(--color-charcoal);
  font-size: 12px;
}

.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-charcoal); }
.mock-title { color: var(--color-ash); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mock-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-iris-glow);
  box-shadow: inset 0 0 0 1px rgba(97, 153, 246, 0.35);
}

.mock-body {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  min-height: 360px;
}

.mock-map {
  position: relative;
  box-shadow: inset -1px 0 0 var(--color-charcoal);
  background: radial-gradient(ellipse at 60% 50%, rgba(77, 77, 128, 0.18), transparent 70%);
}

.mock-map svg { width: 100%; height: 100%; }

.map-dot { fill: #313158; }
.map-route { fill: none; stroke: rgba(77, 77, 128, 0.55); stroke-width: 1.2; stroke-dasharray: 3 5; transition: stroke 0.3s, stroke-width 0.3s; }
.map-route.is-hot { stroke: var(--color-iris-glow); stroke-width: 1.8; stroke-dasharray: none; filter: drop-shadow(0 0 6px rgba(97, 153, 246, 0.8)); }
.map-city circle { fill: var(--color-obsidian); stroke: var(--color-ash); stroke-width: 1.2; }
.map-city.is-hq circle { stroke: var(--color-iris-glow); }
.map-city text { fill: var(--color-smoke); font-size: 10px; font-family: var(--font-sans); letter-spacing: 0.02em; }
.map-truck { fill: var(--color-carbon-vellum); }
.map-truck-halo { fill: rgba(97, 153, 246, 0.25); }
.map-truck.is-hot { fill: var(--color-iris-glow); }

.mock-loads { display: flex; flex-direction: column; padding: 8px; gap: 2px; }

.load {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.25s;
  font-size: 12px;
}

.load:hover, .load.is-hot { background: var(--surface-card-halo); }

.load-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.load-id { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--color-smoke); }
.load-lane { font-size: 13px; color: var(--color-carbon-vellum); font-weight: 500; letter-spacing: -0.01em; }
.load-meta { display: flex; justify-content: space-between; color: var(--color-ash); font-variant-numeric: tabular-nums; }

.load-status {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  color: var(--color-ash);
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
  white-space: nowrap;
}

.load-status.is-moving { color: var(--color-iris-glow); box-shadow: inset 0 0 0 1px rgba(97, 153, 246, 0.4); }

.load-bar { height: 2px; border-radius: 2px; background: var(--color-charcoal); overflow: hidden; }
.load-bar span { display: block; height: 100%; background: var(--color-iris-glow); width: 0; }

.mock-foot {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 11px;
  color: var(--color-smoke);
  box-shadow: inset 0 1px 0 var(--color-charcoal);
  font-variant-numeric: tabular-nums;
}

.mock-foot b { color: var(--color-ash); font-weight: 400; }

/* ==========================================================================
   Stat strip
   ========================================================================== */

.stat-strip { padding-bottom: 24px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 28px 24px 0 0;
  box-shadow: inset 0 1px 0 var(--color-charcoal);
  position: relative;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--color-iris-glow);
}

.stat-value {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  font-variant-numeric: tabular-nums;
}

.stat-label { margin-top: 12px; font-size: 14px; color: var(--color-ash); max-width: 220px; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { position: relative; padding: var(--section-gap) 0 0; }
.section:last-of-type { padding-bottom: var(--section-gap); }

.section-glow-left::before,
.section-glow-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.section-glow-left::before {
  background: radial-gradient(ellipse 50% 60% at 0% 30%, rgba(30, 31, 49, 0.95), transparent 70%),
              radial-gradient(ellipse 40% 40% at 10% 40%, rgba(77, 77, 128, 0.14), transparent 70%);
}

.section-glow-bottom::before {
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(17, 27, 69, 0.9), transparent 70%);
}

.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { display: block; }

/* ==========================================================================
   Capability reel (horizontal accordion)
   ========================================================================== */

.reel {
  display: flex;
  gap: 8px;
  height: 440px;
}

.reel-frame {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 28px;
  border-radius: var(--radius-cards);
  background: linear-gradient(180deg, rgba(40, 40, 56, 0.6) 0%, rgba(24, 25, 30, 0.6) 100%);
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: flex-grow 0.7s var(--ease), box-shadow 0.4s var(--ease), background 0.4s;
  outline-offset: -2px;
}

.reel-frame::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 80%;
  background: radial-gradient(ellipse at 50% 100%, rgba(97, 153, 246, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.reel-frame.is-active {
  flex-grow: 3.4;
  box-shadow: var(--halo);
}

.reel-frame.is-active::after { opacity: 1; }

.reel-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-smoke);
}

.reel-frame.is-active .reel-num { color: var(--color-iris-glow); }

.reel-icon {
  font-size: 28px;
  color: var(--color-iris-glow);
  margin-top: auto;
  margin-bottom: 20px;
}

.reel-frame h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}

.reel-frame p,
.reel-link {
  max-width: 420px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}

.reel-frame p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-ash);
  min-width: 300px;
}

.reel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-iris-glow);
  align-self: flex-start;
  white-space: nowrap;
}

.reel-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.reel-frame.is-active p,
.reel-frame.is-active .reel-link {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}

/* Collapsed frames: title reads vertically like a film-can label */
.reel-frame:not(.is-active) h3 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 4px;
}

.reel-frame:not(.is-active) .reel-icon { margin-bottom: 16px; }

/* ==========================================================================
   Load planner + fleet
   ========================================================================== */

.planner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1px;
  margin-bottom: 24px;
  border-radius: var(--radius-cards);
  background: var(--color-charcoal);
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
  overflow: hidden;
}

.planner > * { background: rgba(24, 25, 30, 0.92); padding: 28px; }

.planner-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  align-items: end;
}

.range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--color-ash);
}

.range-head output {
  font-size: 18px;
  color: var(--color-carbon-vellum);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
  cursor: pointer;
  --fill: 10%;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-iris-glow) var(--fill), var(--color-charcoal) var(--fill));
}

input[type="range"]::-moz-range-track { height: 2px; background: var(--color-charcoal); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--color-iris-glow); }

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--color-carbon-vellum);
  box-shadow: 0 0 0 6px rgba(97, 153, 246, 0.18);
  transition: box-shadow 0.2s;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--color-carbon-vellum);
  box-shadow: 0 0 0 6px rgba(97, 153, 246, 0.18);
}

input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(97, 153, 246, 0.25); }

.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-ash);
  cursor: pointer;
  white-space: nowrap;
  padding-bottom: 2px;
}

.switch input { position: absolute; opacity: 0; pointer-events: none; }

.switch-track {
  width: 40px;
  height: 22px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--color-twilight);
  position: relative;
  transition: background-color 0.25s;
}

.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-ash);
  transition: transform 0.3s var(--ease), background-color 0.25s;
}

.switch input:checked + .switch-track { background: var(--color-iris-glow); box-shadow: none; }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(18px); background: var(--color-carbon-vellum); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--color-iris-glow); outline-offset: 3px; }

.planner-result { display: flex; flex-direction: column; justify-content: center; gap: 6px; }

.planner-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-iris-glow);
}

.planner-result strong { font-size: 24px; font-weight: 400; letter-spacing: -0.03em; line-height: 1.2; }
.planner-result p { font-size: 14px; color: var(--color-ash); }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fleet-card {
  position: relative;
  border-radius: var(--radius-cards);
  background: var(--color-graphite);
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), opacity 0.4s;
}

.fleet-card:hover { transform: translateY(-4px); }

.fleet-card.is-pick { box-shadow: var(--halo), 0 0 0 1px var(--color-iris-glow), 0 20px 60px rgba(97, 153, 246, 0.18); }
.fleet-grid.has-pick .fleet-card:not(.is-pick) { opacity: 0.55; }
.fleet-grid.has-pick .fleet-card:not(.is-pick):hover { opacity: 0.85; }

.fleet-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }

.fleet-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--color-graphite) 100%);
}

.fleet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 1s var(--ease), filter 0.6s;
}

.fleet-card:hover img, .fleet-card.is-pick img { transform: scale(1.05); filter: saturate(1) contrast(1.05); }

.fleet-copy {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 4px 24px 24px;
}

.fleet-copy p { margin-top: 6px; font-size: 14px; color: var(--color-ash); }

.fleet-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.fleet-card:hover .fleet-more { background: var(--color-carbon-vellum); color: var(--color-obsidian); box-shadow: none; }

.fleet-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-iris-glow);
  color: var(--color-obsidian);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.fleet-card.is-pick .fleet-tag { opacity: 1; transform: none; }

/* ==========================================================================
   Feature columns (typographic blocks, no card)
   ========================================================================== */

.feature-grid { display: grid; gap: 40px 24px; }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }

.feature i { font-size: 24px; color: var(--color-iris-glow); }
.feature h3 { margin-top: 20px; }
.feature p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--color-ash); }

.feature-grid.four .feature {
  padding-top: 24px;
  box-shadow: inset 0 1px 0 var(--color-charcoal);
}

/* ==========================================================================
   Technology split + tracking mockup
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.track-body { padding: 24px; display: grid; gap: 20px; }

.track-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  box-shadow: inset 0 -1px 0 var(--color-charcoal);
}

.track-route i { color: var(--color-twilight); font-size: 20px; }
.track-route strong, .ping strong { display: block; font-weight: 400; font-size: 18px; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }

.track-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-smoke);
}

.ping {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface-card-halo);
}

.ping-coords { text-align: right; }
.ping-coords strong { font-size: 14px; }

.ping-ring { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.ping-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ping-ring circle { fill: none; stroke: var(--color-charcoal); stroke-width: 2; }
.ping-ring .ping-progress { stroke: var(--color-iris-glow); stroke-dasharray: 119.4; stroke-dashoffset: 0; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.ping-ring i { color: var(--color-iris-glow); font-size: 18px; }
.ping-ring.is-pinging::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--color-iris-glow);
  animation: pulse 1s var(--ease);
}

.timeline { display: grid; gap: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  position: relative;
  padding-bottom: 16px;
  font-size: 13px;
  color: var(--color-smoke);
  transition: color 0.4s;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: 9.5px;
  top: 16px;
  bottom: 0;
  width: 1px;
  background: var(--color-charcoal);
}

.timeline li:last-child::before { display: none; }
.timeline li.is-done::before { background: var(--color-iris-glow); }

.tl-dot {
  width: 11px;
  height: 11px;
  margin: 3px 0 0 4.5px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--color-twilight);
  background: var(--color-graphite);
  transition: background-color 0.4s, box-shadow 0.4s;
}

.timeline strong { display: block; font-weight: 500; font-size: 14px; color: var(--color-ash); transition: color 0.4s; }
.timeline li.is-done .tl-dot { background: var(--color-iris-glow); box-shadow: none; }
.timeline li.is-done strong { color: var(--color-carbon-vellum); }
.timeline li.is-current .tl-dot { box-shadow: 0 0 0 4px rgba(97, 153, 246, 0.25); }

.chat { display: grid; gap: 8px; min-height: 92px; align-content: end; }

.bubble {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.4;
  animation: bubble-in 0.4s var(--ease) both;
}

.bubble span { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-smoke); margin-bottom: 3px; }
.bubble.dispatch { background: var(--surface-card-halo); color: var(--color-specter-lilac); border-bottom-left-radius: 4px; }
.bubble.driver { justify-self: end; background: rgba(97, 153, 246, 0.14); color: var(--color-carbon-vellum); border-bottom-right-radius: 4px; }

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Video showcase player
   ========================================================================== */

.player {
  border-radius: var(--radius-cards);
  box-shadow: inset 0 0 0 1px var(--color-twilight), 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 120px rgba(77, 77, 128, 0.18);
  overflow: hidden;
  background: var(--color-pitch);
}

.player-screen { position: relative; aspect-ratio: 21 / 9; overflow: hidden; }

.player-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--ease), filter 0.5s;
}

.player-screen video.is-switching { opacity: 0; filter: blur(8px); }

.player-letterbox {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 18%, transparent 75%, rgba(0, 0, 0, 0.6) 100%);
}

.player-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--color-carbon-vellum);
  background: rgba(97, 153, 246, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.25s;
}

.player-screen:hover .player-play,
.player-play:focus-visible,
.player.is-paused .player-play { opacity: 1; transform: none; }

.player-play:hover { background: var(--color-iris-glow); }

.player-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  font-size: 12px;
  color: var(--color-smoke);
  background: var(--color-void);
  box-shadow: inset 0 1px 0 var(--color-charcoal);
}

.player-caption { flex: 1; }

.player-tabs { display: flex; gap: 4px; }

.player-tabs button {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ash);
  transition: background-color 0.25s, color 0.25s;
}

.player-tabs button:hover { color: var(--color-carbon-vellum); }
.player-tabs button.is-active { background: var(--color-carbon-vellum); color: var(--color-obsidian); }

.player-tc { font-family: var(--font-mono); font-size: 11px; font-variant-numeric: tabular-nums; color: var(--color-iris-glow); min-width: 64px; text-align: right; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.quotes { max-width: 980px; }

.quote-stage { display: grid; margin-top: 8px; }

.quote {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  pointer-events: none;
}

.quote.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }

.quote blockquote {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.quote figcaption { margin-top: 28px; font-size: 14px; color: var(--color-ash); }
.quote figcaption strong { color: var(--color-carbon-vellum); font-weight: 500; margin-right: 8px; }

.quote-dots { display: flex; gap: 8px; margin-top: 40px; }

.quote-dots button { padding: 10px 0; }

.quote-dots span {
  display: block;
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-charcoal);
  overflow: hidden;
  position: relative;
}

.quote-dots span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-iris-glow);
  transform: scaleX(0);
  transform-origin: left;
}

.quote-dots .is-active span::after { animation: quote-progress 7s linear forwards; }
.quotes.is-paused .quote-dots .is-active span::after { animation-play-state: paused; }

@keyframes quote-progress { to { transform: scaleX(1); } }

/* ==========================================================================
   Careers band
   ========================================================================== */

.band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-feature);
  box-shadow: var(--halo);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 120% at 100% 100%, rgba(97, 153, 246, 0.2), transparent 60%),
    radial-gradient(ellipse 60% 100% at 0% 0%, rgba(77, 77, 128, 0.25), transparent 60%),
    linear-gradient(135deg, #1e1f31 0%, #1a1a26 100%);
}

.band h2 { max-width: 760px; }
.band-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.band-mail { font-size: 13px; color: var(--color-ash); }
.band-mail:hover { color: var(--color-carbon-vellum); }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}

.quote-form {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-cards);
  background: rgba(24, 25, 30, 0.8);
  box-shadow: var(--halo);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }

.field label { font-size: 13px; color: var(--color-ash); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  color: var(--color-carbon-vellum);
  background: var(--color-void);
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
  transition: box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3a3b3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: var(--color-smoke); }

.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--color-twilight); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--color-iris-glow), 0 0 0 4px rgba(97, 153, 246, 0.15); }

.field-error { display: none; font-size: 12px; color: #f8a9a9; }
.field.has-error input { box-shadow: inset 0 0 0 1px #cd6c6c; }
.field.has-error .field-error { display: block; }

.quote-form .btn { margin-top: 8px; }

.form-status { margin-top: 16px; font-size: 14px; color: var(--color-iris-glow); min-height: 1.4em; opacity: 0; transition: opacity 0.3s; }
.form-status.is-visible { opacity: 1; }

.contact-card {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-cards);
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
  display: grid;
  gap: 28px;
}

.contact-line { display: grid; grid-template-columns: 24px 1fr; gap: 16px; }
.contact-line i { font-size: 22px; color: var(--color-iris-glow); }
.contact-line strong { display: block; font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.contact-line a, .contact-line span { font-size: 14px; color: var(--color-ash); line-height: 1.5; }
.contact-line a:hover { color: var(--color-carbon-vellum); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 80px 0 32px;
  background: linear-gradient(180deg, transparent, rgba(21, 21, 26, 0.9) 30%);
  box-shadow: inset 0 1px 0 var(--color-charcoal);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p { margin-top: 20px; max-width: 340px; font-size: 14px; color: var(--color-ash); line-height: 1.5; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-smoke);
  margin-bottom: 20px;
}

.footer-col li + li { margin-top: 12px; }
.footer-col a { font-size: 14px; color: var(--color-ash); transition: color 0.2s; }
.footer-col a:hover { color: var(--color-carbon-vellum); }

.footer-wordmark {
  margin: 72px 0 0;
  font-size: clamp(64px, 16vw, 220px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  font-weight: 400;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(227, 228, 244, 0.14) 0%, rgba(227, 228, 244, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  box-shadow: inset 0 1px 0 var(--color-charcoal);
  font-size: 12px;
  color: var(--color-smoke);
}

.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: var(--color-ash); transition: color 0.2s; }
.footer-legal a:hover { color: var(--color-carbon-vellum); }

/* ==========================================================================
   Timecode HUD
   ========================================================================== */

.timecode {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ash);
  background: rgba(21, 21, 26, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}

.timecode.is-visible { opacity: 1; transform: none; }
.tc-scene { color: var(--color-iris-glow); }
.tc-rec { width: 6px; height: 6px; border-radius: 50%; background: #ea454a; animation: blink 1.6s steps(1) infinite; }

@keyframes blink { 50% { opacity: 0.2; } }

/* ==========================================================================
   Reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal { padding: 80px 0 var(--section-gap); }
.legal-inner { max-width: 760px; margin-inline: auto; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  font-size: 14px;
  color: var(--color-ash);
  transition: color 0.2s;
}

.legal-back:hover { color: var(--color-carbon-vellum); }

.legal h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-updated { margin-top: 20px; font-size: 13px; color: var(--color-smoke); }
.legal-intro { margin-top: 32px; font-size: 18px; line-height: 1.5; color: var(--color-ash); }

.legal-body { margin-top: 56px; display: grid; gap: 48px; }

.legal-section { padding-top: 32px; box-shadow: inset 0 1px 0 var(--color-charcoal); }
.legal-section h2 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.25; margin-bottom: 16px; }
.legal-section p, .legal-section li { font-size: 15px; line-height: 1.65; color: var(--color-ash); }
.legal-section p + p, .legal-section p + ul, .legal-section ul + p { margin-top: 16px; }
.legal-section ul { list-style: disc; padding-left: 24px; }
.legal-section li + li { margin-top: 8px; }
.legal-section strong { color: var(--color-carbon-vellum); font-weight: 500; }
.legal-section a { color: var(--color-iris-glow); text-decoration: underline; text-underline-offset: 3px; }
.legal-section a:hover { color: var(--color-carbon-vellum); }

/* ==========================================================================
   Modals
   ========================================================================== */

.pdf-modal, .equip-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.pdf-modal[hidden], .equip-modal[hidden] { display: none; }

.pdf-modal-backdrop, .equip-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 26, 0.82);
  backdrop-filter: blur(10px);
}

.pdf-modal-panel, .equip-modal-panel {
  position: relative;
  border-radius: var(--radius-cards);
  background: var(--color-graphite);
  box-shadow: var(--halo), 0 40px 80px rgba(0, 0, 0, 0.6);
  animation: modal-in 0.35s var(--ease) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.pdf-modal-panel {
  width: min(1100px, 100%);
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdf-modal-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  box-shadow: inset 0 -1px 0 var(--color-charcoal);
}

.pdf-modal-bar h3 { flex: 1; font-size: 16px; font-weight: 500; }
.pdf-modal-link { font-size: 13px; color: var(--color-ash); }
.pdf-modal-link:hover { color: var(--color-carbon-vellum); text-decoration: underline; text-underline-offset: 4px; }

.pdf-modal-close, .equip-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--color-charcoal);
  transition: background-color 0.2s, color 0.2s;
}

.pdf-modal-close:hover, .equip-modal-close:hover { background: var(--color-carbon-vellum); color: var(--color-obsidian); }

.pdf-modal iframe { flex: 1; width: 100%; border: 0; background: #fff; }

.equip-modal-panel {
  width: min(920px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 40px;
}

.equip-modal-close { position: absolute; top: 20px; right: 20px; }

.equip-modal-panel h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: 28px;
}

.equip-modal-table-wrap { overflow-x: auto; }

.equip-modal-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.equip-modal-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-smoke);
  padding: 0 16px 14px 0;
  white-space: nowrap;
}

.equip-modal-table td {
  padding: 16px 16px 16px 0;
  color: var(--color-ash);
  box-shadow: inset 0 1px 0 var(--color-charcoal);
  vertical-align: top;
  line-height: 1.45;
}

.equip-modal-table td:first-child { color: var(--color-carbon-vellum); font-weight: 500; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .nav-links { gap: 20px; }
  .nav-phone { display: none; }
  .planner { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }

  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-mockup { max-width: 680px; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .feature-grid.four { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .fleet-grid .fleet-card:last-child { grid-column: 1 / -1; }

  .reel { flex-direction: column; height: auto; }
  .reel-frame { flex: none; padding: 24px; }
  .reel-frame:not(.is-active) h3 { writing-mode: horizontal-tb; transform: none; margin: 0; }
  .reel-frame .reel-icon { margin: 16px 0 12px; }
  .reel-frame:not(.is-active) p, .reel-frame:not(.is-active) .reel-link { display: none; }
  .reel-frame p { min-width: 0; }
  .reel-frame { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .reel-frame .reel-num { grid-column: 1 / -1; }
  .reel-frame .reel-icon { grid-column: 1; margin: 12px 0 0; }
  .reel-frame h3 { grid-column: 2; margin-top: 12px; }
  .reel-frame p, .reel-frame .reel-link { grid-column: 1 / -1; }

  .band { grid-template-columns: 1fr; }
  .band-actions { align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .timecode { display: none; }
}

@media (max-width: 720px) {
  .announce-msg { display: none; }
  .announce-inner { justify-content: flex-start; }

  .mock-body { grid-template-columns: 1fr; }
  .mock-map { box-shadow: inset 0 -1px 0 var(--color-charcoal); aspect-ratio: 3 / 2; }
  .mock-loads { display: grid; grid-template-columns: 1fr 1fr; }
  .load:nth-child(n+3) { display: none; }
  .mock-foot span:last-child { display: none; }

  .planner-controls { grid-template-columns: 1fr; gap: 24px; }
  .fleet-grid { grid-template-columns: 1fr; }
  .feature-grid.two { grid-template-columns: 1fr; }

  .player-screen { aspect-ratio: 16 / 10; }
  .player-strip { flex-wrap: wrap; gap: 12px; }
  .player-caption { flex-basis: 100%; }
  .player-tabs { flex-wrap: wrap; }
  .player-play { opacity: 1; transform: none; }

  .form-row { grid-template-columns: 1fr; }
  .ping { grid-template-columns: auto 1fr; }
  .ping-coords { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 520px) {
  .stat-grid, .feature-grid.four { grid-template-columns: 1fr; }
  .mock-loads { grid-template-columns: 1fr; }
  .load:nth-child(n+2) { display: none; }
  .hero-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

/* ==========================================================================
   Hero X-ray truck
   ========================================================================== */

.xray { position: relative; margin: 0; }
.xray svg { width: 100%; height: auto; overflow: visible; }

.xr-lens,
.xr-ring,
.xr-ring2 { transition: r 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }

.xr-hit { fill: transparent; cursor: crosshair; touch-action: none; }
.xr-sweep { fill: rgba(97, 153, 246, 0.35); }

.xr-ring { fill: none; stroke: var(--color-iris-glow); stroke-width: 1.6; pointer-events: none; }
.xr-ring2 { fill: none; stroke: rgba(97, 153, 246, 0.45); stroke-width: 6; stroke-dasharray: 2 8; pointer-events: none; }
.xr-cross { stroke: var(--color-iris-glow); stroke-width: 1.2; pointer-events: none; }

.xr-readout {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  fill: var(--color-iris-glow);
  pointer-events: none;
}

.xr-ui { pointer-events: none; transition: opacity 0.3s; }
.xr-ui.is-off { opacity: 0; }

.xr-hint-bg { fill: rgba(9, 9, 14, 0.78); stroke: rgba(255, 255, 255, 0.2); }
.xr-hint-text { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; fill: var(--color-carbon-vellum); }
.xr-dot { fill: var(--color-iris-glow); animation: xr-pulse 1.6s ease-in-out infinite; }

@keyframes xr-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.xray-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 8px;
  padding-top: 16px;
  box-shadow: inset 0 1px 0 var(--color-charcoal);
  font-size: 13px;
  color: var(--color-ash);
}

.xray-bar .btn { flex: none; }

/* Desktop: bottom-align both hero columns and give the two footer rows the
   same height, so the hero-meta divider and the x-ray divider sit on one line */
@media (min-width: 981px) {
  .hero-grid--xray { align-items: end; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  /* Larger hero type so the text block stands as tall as the truck */
  .hero-grid--xray .display { font-size: clamp(80px, 8vw, 116px); }
  .hero-grid--xray .lede { font-size: 20px; max-width: 600px; }
  .hero-grid--xray .hero-actions { margin-top: 44px; }
  .hero-grid--xray .hero-meta,
  .hero-grid--xray .xray-bar { height: 72px; align-items: flex-start; }
  .hero-grid--xray .hero-meta { padding-top: 24px; }
  .hero-grid--xray .xray-bar { padding-top: 16px; }
}

@media (max-width: 980px) {
  .xray { max-width: 680px; }
}

@media (max-width: 520px) {
  .xray-bar { justify-content: flex-start; }
}

/* ==========================================================================
   Industries marquee (under the hero), modeled on the Website Claude 3 band
   ========================================================================== */

.industries {
  margin-top: clamp(32px, 3.5vw, 48px);
  padding: 12px 0 0;
}

/* The marquee closes the hero, so it needs less bottom padding */
.hero:has(.industries) { padding-bottom: clamp(40px, 4.5vw, 64px); }

/* Same type as the stat labels below (Inter 14px, ash), not the mono eyebrow */
.industries-label {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0.16px;
  text-transform: none;
  color: var(--color-carbon-vellum);
  margin-bottom: 24px;
}

.industries-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.industries-track {
  display: flex;
  width: max-content;
  animation: industries-scroll 32s linear infinite;
  will-change: transform;
}

/* Spacing lives on each item (not flex gap) so both halves are exactly equal */
.industries-track li {
  padding-right: clamp(40px, 4.5vw, 64px);
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  white-space: nowrap;
  color: var(--color-carbon-vellum);
  transition: opacity 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .industries-viewport:hover .industries-track { animation-play-state: paused; }
  .industries-viewport:hover .industries-track li { opacity: 0.55; }
  .industries-viewport:hover .industries-track li:hover { opacity: 1; }
}

@keyframes industries-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .industries-track { animation-duration: 16s; }
}

@media (prefers-reduced-motion: reduce) {
  .industries-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 12px; }
  .industries-track li[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   First-visit welcome video
   ========================================================================== */

.intro { display: none; }

.intro-pending { overflow: hidden; }

.intro-pending .intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
  background: #000;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.intro.is-leaving { opacity: 0; visibility: hidden; }

.intro video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--gutter);
}

.intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--color-carbon-vellum);
  background: rgba(10, 10, 19, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: background-color 0.25s, color 0.25s;
}

.intro-btn i { font-size: 16px; }
.intro-btn:hover { background: var(--color-carbon-vellum); color: var(--color-obsidian); }

.intro-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.intro-progress span {
  display: block;
  height: 100%;
  background: var(--color-iris-glow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s linear;
}
