/* UltraDrive homepage. Tokens from DIRECTION.md ("The story plays itself", 17 Nov 2026). */
@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin-600-800.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("fonts/rubik-latin-400-500.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("fonts/rubik-latin-italic-400-500.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #070B14;
  --surface: #0E1626;
  --cobalt: #007CF7;      /* his logo blue (Jamal's pick 17 Nov 2026) */
  --cobalt-hi: #4DA3FF;   /* text links and hovers on the dark page */
  --text: #EEF1F6;
  --white: #FFFFFF;
  --muted: #8B95A8;
  --gold: #C9A227;
  --line: rgba(238, 241, 246, .10);
  --line-2: rgba(238, 241, 246, .18);
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "Rubik", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --gutter: clamp(16px, 5vw, 72px);
  --head: 72px;
  --strip: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
cite { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--cobalt); color: #fff; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip { position: fixed; left: 12px; top: 12px; z-index: 60; padding: 10px 14px; background: var(--text); color: var(--bg); font-weight: 500; text-decoration: none; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* ---------- buttons ---------- */
/* Navy lettering on his exact blue: 4.9:1 (white on this blue is only 4.0:1). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 22px; border-radius: 4px;
  font: 700 15px/1 var(--display); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-call { background: var(--cobalt); color: var(--bg); }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 16px; }
@media (hover: hover) { .btn-call:hover { background: var(--cobalt-hi); } }

/* ---------- header ---------- */
.top {
  position: fixed; z-index: 40; left: 0; right: 0; top: 0; height: var(--head);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.top.is-solid { background: rgba(7, 11, 20, .98); border-bottom-color: var(--line); }
/* over the film the header carries its own shade so the logo and links read on a bright sky */
.top::before {
  content: ""; position: absolute; inset: 0 0 -48px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 11, 20, .62) 0, rgba(7, 11, 20, .5) 35%, rgba(7, 11, 20, .26) 65%, rgba(7, 11, 20, 0));
  transition: opacity .35s var(--ease);
}
.top.is-solid::before { opacity: 0; }
.mark { display: block; }
.mark img { width: auto; height: 30px; }
.top-nav { display: flex; align-items: center; gap: 28px; }
.top-link { font-size: 15px; color: var(--text); text-decoration: none; text-shadow: 0 1px 12px rgba(7, 11, 20, .6); }
.top-link:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--cobalt); }

/* ---------- hero: the story plays by itself ---------- */
/* Without JavaScript or with reduced motion: the end picture with the full lockup, nothing moves. */
.hero { position: relative; }
.stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--bg); }
.frame { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.still, .film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film { opacity: 0; transition: opacity 1s var(--ease); }
.js .hero.is-ready .film { opacity: 1; }
/* the left-side shade the lockup sits on, on every picture; a lower shade for the strip */
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, .92) 0, rgba(7, 11, 20, .84) 30%, rgba(7, 11, 20, .74) 44%, rgba(7, 11, 20, .34) 57%, rgba(7, 11, 20, 0) 72%),
    linear-gradient(0deg, rgba(7, 11, 20, .88) 0, rgba(7, 11, 20, .5) 14%, rgba(7, 11, 20, 0) 34%);
}

.lockup {
  position: absolute; z-index: 3; left: var(--gutter); bottom: calc(var(--strip) + clamp(36px, 8vh, 88px));
  max-width: min(760px, 62vw);
}
.title { line-height: 0; }
.title img { width: clamp(320px, 41vw, 660px); height: auto; margin-left: -.6%; }
.tagline {
  margin: clamp(22px, 3.4vh, 36px) 0 0 clamp(14px, 2.2vw, 40px);
  font: 400 clamp(18px, 1.6vw, 25px)/1.35 var(--body); color: var(--text); max-width: 34ch;
}
.tagline em { font-style: italic; font-weight: 500; white-space: nowrap; }
.slogan {
  margin: clamp(10px, 1.6vh, 18px) 0 0 clamp(28px, 4.4vw, 80px);
  font: 700 clamp(28px, 2.9vw, 46px)/1.05 var(--display); letter-spacing: -.02em; color: var(--cobalt);
}
.who {
  margin: 12px 0 0 clamp(28px, 4.4vw, 80px);
  font-size: 16px; line-height: 1.45; color: rgba(238, 241, 246, .86); max-width: 40ch;
}
.lockup .btn-lg { margin: 24px 0 0 clamp(28px, 4.4vw, 80px); }

/* the strip under the film: the step words keep time with the pictures, pause on the right */
.strip {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 0; height: var(--strip);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--line-2);
}
.beats { display: none; gap: clamp(18px, 2.6vw, 40px); font: 600 12.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: rgba(238, 241, 246, .62); }
.js .beats { display: flex; }
.beats li { display: flex; align-items: center; gap: 10px; transition: color .5s var(--ease); }
.beats li::before { content: ""; width: 18px; height: 1px; background: currentColor; transition: background-color .5s var(--ease), width .5s var(--ease-out); }
.beats li.is-on { color: var(--white); }
.beats li.is-on::before { background: var(--gold); width: 28px; }
.beats li[hidden] { display: none; }

.pause {
  display: none; flex: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(7, 11, 20, .55); cursor: pointer;
  place-items: center; transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.js .pause { display: grid; }
.pause:active { transform: scale(.94); }
.pause i { width: 12px; height: 14px; background: linear-gradient(90deg, var(--text) 0 4px, transparent 4px 8px, var(--text) 8px 12px); }
.pause[aria-pressed="true"] i { background: var(--text); clip-path: polygon(8% 0, 100% 50%, 8% 100%); }
@media (hover: hover) { .pause:hover { border-color: var(--text); background: rgba(7, 11, 20, .8); } }

/* the lockup arrives once, quickly; the call button is readable from the start */
.js .lockup > :not(.btn) { opacity: 0; transform: translateY(14px); }
.motion-ready .lockup > :not(.btn) { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.motion-ready .lockup > :nth-child(2) { transition-delay: .10s; }
.motion-ready .lockup > :nth-child(3) { transition-delay: .20s; }
.motion-ready .lockup > :nth-child(4) { transition-delay: .28s; }

/* ---------- sections ---------- */
.sec {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  max-width: 1280px; margin: 0 auto; padding: clamp(72px, 12vh, 136px) var(--gutter);
}

.label { grid-column: 1 / span 4; font: 400 clamp(36px, 3.9vw, 58px)/1.04 var(--serif); letter-spacing: -.005em; padding-right: 16px; text-wrap: balance; }
.sec > :not(.label) { grid-column: 6 / span 7; }
.sec-wide > .label { grid-column: 1 / span 7; }
.sec-wide > .sec-note { grid-column: 1 / span 7; margin-top: 14px; color: var(--muted); }
.sec-wide > .cards { grid-column: 1 / -1; margin-top: clamp(32px, 5vh, 56px); }
.label .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.label .wi { display: inline-block; }
.n { font: 600 13px/1 var(--display); letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* the two services */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #0A101C; overflow: hidden; }
.card-media img, .card-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media canvas { opacity: 0; transition: opacity .8s var(--ease); }
.js .card-media.is-ready canvas { opacity: 1; }
.card-media .pause { position: absolute; right: 16px; bottom: 16px; }
.card-body { display: flex; flex-direction: column; flex: 1; justify-content: flex-end; padding: clamp(24px, 3vw, 36px); }
.card h3 { margin-top: 14px; font: 600 clamp(26px, 2.6vw, 36px)/1.08 var(--display); letter-spacing: -.015em; }
.card p { margin-top: 12px; color: var(--muted); max-width: 34ch; }
.card-link { align-self: flex-start; margin-top: 22px; font: 600 15px/1.2 var(--display); color: var(--cobalt-hi); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--cobalt); transition: color .2s var(--ease), border-color .2s var(--ease); }
@media (hover: hover) { .card-link:hover { color: var(--white); border-color: var(--white); } }

.lines li { display: grid; grid-template-columns: 48px 1fr; gap: 0 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.lines li:first-child { border-top: 0; padding-top: 4px; }
.lines .n { padding-top: 9px; }
.lines p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; }
.lines cite { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* the gold road line */
.road { position: relative; }
.road-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.road-fill { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(1); }
.road-dot { position: absolute; top: -3px; left: 100%; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: var(--gold); }
.road-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; padding-top: 36px; }
.road-steps h3 { margin-top: 14px; font: 600 clamp(22px, 2vw, 28px)/1.1 var(--display); letter-spacing: -.01em; }
.road-steps p { margin-top: 10px; color: var(--muted); max-width: 30ch; }

.help { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.help-col { padding-top: 22px; border-top: 1px solid var(--line-2); }
.help-col:first-child { border-top-color: var(--gold); }
.help-col h3 { font: 600 clamp(20px, 1.8vw, 26px)/1.1 var(--display); }
.help-col p { margin-top: 10px; color: var(--muted); }
.help-note { grid-column: 1 / -1; margin-top: 8px; color: var(--text); max-width: 46ch; }
.help-note a { color: var(--text); text-decoration-color: var(--cobalt); text-underline-offset: 4px; white-space: nowrap; }

.index li { border-top: 1px solid var(--line); }
.index li:last-child { border-bottom: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: 48px 1fr; align-items: baseline; gap: 12px;
  padding: 18px 0; text-decoration: none; font: 600 clamp(19px, 1.6vw, 22px)/1.25 var(--display); letter-spacing: -.005em;
  transition: color .2s var(--ease);
}
.index-q a { font-size: clamp(19px, 1.75vw, 24px); }
@media (hover: hover) { .index a:hover { color: var(--cobalt-hi); } }

/* contact: one detail per line, each with its label */
.contact p { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; }
.contact p:last-child { border-bottom: 1px solid var(--line); }
.contact .k { font: 600 13px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .65em; }
.contact a { text-decoration-color: var(--cobalt); text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact a:hover { color: var(--cobalt-hi); }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 32px; border-top: 1px solid var(--line); padding: clamp(56px, 9vh, 96px) var(--gutter) calc(48px + env(safe-area-inset-bottom)); max-width: 1280px; margin: 0 auto; }
.foot-logo img { width: clamp(200px, 24vw, 320px); height: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 15px; }
.foot-links a { display: inline-block; padding: 13px 0; text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

.callbar { display: none; }

/* ---------- reveals (only once site.js is running) ---------- */
.motion-ready .rv, .motion-ready .label { opacity: 0; transition: opacity .7s var(--ease); }
.motion-ready .rv.is-in, .motion-ready .label.is-in { opacity: 1; }

/* ---------- phones: the picture first, the lockup under it, not over it ---------- */
@media (max-width: 767px) {
  :root { --head: 56px; --strip: 52px; }
  body { font-size: 16px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .top-link, .top .btn-call { display: none; }
  .top, .top.is-solid { background: var(--bg); border-bottom-color: var(--line); }
  .top::before { display: none; }
  .mark img { height: 24px; }

  .stage { height: auto; min-height: 0; overflow: visible; padding-top: var(--head); }
  .frame { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .scrim { display: none; }
  .strip { position: relative; left: auto; right: auto; bottom: auto; padding: 0 20px; border-top: 0; border-bottom: 1px solid var(--line); }
  .beats { gap: 14px; font-size: 11px; letter-spacing: .1em; }
  .beats li { gap: 6px; }
  .beats li::before { width: 10px; }
  .beats li.is-on::before { width: 16px; }
  html:not(.js) .strip { display: none; }
  .lockup { position: relative; left: auto; bottom: auto; max-width: none; padding: 28px 20px 44px; }
  .title img { width: min(100%, 380px); margin-left: -1%; }
  .tagline { margin: 22px 0 0 10px; font-size: 18px; max-width: 28ch; }
  .slogan { margin: 12px 0 0 20px; font-size: clamp(28px, 8.4vw, 36px); }
  .who { margin: 10px 0 0 20px; font-size: 14.5px; }
  .lockup .btn-lg { display: none; }          /* the call bar at the foot of the screen does this job */

  .sec { display: block; padding: 64px 20px; }
  .label { padding: 0 0 28px; font-size: clamp(34px, 9.6vw, 42px); }
  .sec-wide > .sec-note { margin: -14px 0 0; }
  .cards { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .lines li { grid-template-columns: 36px 1fr; }
  .road-line { left: 3px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .road-fill { transform-origin: 50% 0; }
  .road-dot { top: 100%; left: -3px; margin: -3px 0 0; }
  .road-steps { grid-template-columns: 1fr; gap: 32px; padding: 0 0 0 28px; }
  .help { grid-template-columns: 1fr; gap: 24px; }
  .index a { grid-template-columns: 36px 1fr; padding: 16px 0; }
  .contact p { grid-template-columns: 1fr; gap: 6px; }
  .contact .k { padding-top: 0; }
  .foot { padding-left: 20px; padding-right: 20px; }

  .callbar {
    display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(7, 11, 20, .96); border-top: 1px solid var(--line);
  }
  .callbar .btn { flex: 1; min-height: 48px; font-size: 16px; }
  .callbar-note { font: 600 14px/1 var(--display); color: var(--muted); letter-spacing: .04em; padding: 0 4px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .label { grid-column: 1 / -1; padding-bottom: 32px; }
  .sec > :not(.label) { grid-column: 1 / -1; }
  .lockup { max-width: 78vw; }
}

/* short wide screens (laptops): keep the lockup clear of the header */
@media (min-width: 768px) and (max-height: 760px) {
  .lockup { bottom: calc(var(--strip) + 40px); }
  .title img { width: clamp(300px, 34vw, 520px); }
  .tagline { margin-top: 18px; }
}

/* ===== 18 Nov 2026: black, white and blue sections; lines that draw as you scroll; full footer; inner pages ===== */
/* Each section is a full-width band with its own colours. Everything inside reads the same tokens. */
.band { position: relative; background: var(--bg); color: var(--text); }
.band > .sec { position: relative; }
.t-dark, .t-deep { --rail: var(--gold); }
.t-deep { --bg: #0B1322; --surface: #121C30; }
.t-light {
  --bg: #F2F4F8; --surface: #FFFFFF; --text: #0A1020; --white: #0A1020; --muted: #4C5769;
  --line: rgba(10, 16, 32, .12); --line-2: rgba(10, 16, 32, .24);
  --cobalt-hi: #0059B8; --gold: #8F6C00; --rail: var(--cobalt); color-scheme: light;
}
.t-blue {
  --bg: #007CF7; --surface: #0A6FDB; --text: #070B14; --white: #070B14; --muted: #070B14;
  --line: rgba(7, 11, 20, .24); --line-2: rgba(7, 11, 20, .42);
  --cobalt-hi: #070B14; --gold: #FFFFFF; --rail: #FFFFFF;
}
.t-light .n { color: var(--cobalt-hi); }
/* near-white text on the blue button is 3.65:1 on white sections; dark text is 4.9:1 */
.t-light .btn-call { color: #070B14; }
.t-blue .label { color: #FFFFFF; }                       /* large type only: 4.0:1 on his blue */
.t-blue .help-col { border-top-color: rgba(7, 11, 20, .42); }
.t-blue .help-col:first-child { border-top-color: #FFFFFF; }
.t-blue .help-note a { text-decoration-color: #FFFFFF; }
.t-blue .btn-call { background: #070B14; color: #FFFFFF; }
@media (hover: hover) { .t-blue .btn-call:hover { background: #16213A; } }
.btn-ghost { border: 1.5px solid currentColor; color: var(--text); background: transparent; }
@media (hover: hover) { .btn-ghost:hover { background: rgba(7, 11, 20, .1); } }

/* the two lines from his logo sit above every section heading and draw themselves when the heading arrives */
.band:not(.doc) .label::before, .doc-head h1::before {
  content: ""; display: block; width: 64px; height: 13px; margin: 0 0 22px 5px;
  background:
    linear-gradient(var(--cobalt), var(--cobalt)) 0 0 / 100% 5px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 100% / 72% 5px no-repeat;
  transform: skewX(-28deg); transform-origin: 0 50%;
}
.t-blue:not(.doc) .label::before {
  background:
    linear-gradient(#FFFFFF, #FFFFFF) 0 0 / 100% 5px no-repeat,
    linear-gradient(#070B14, #070B14) 0 100% / 72% 5px no-repeat;
}
.motion-ready .band:not(.doc) .label::before, .motion-ready .doc-head h1::before { transform: skewX(-28deg) scaleX(0); transition: transform .9s var(--ease-out) .15s; }
.motion-ready .band:not(.doc) .label.is-in::before, .motion-ready .doc-head h1.is-in::before { transform: skewX(-28deg) scaleX(1); }

/* the route line: one thin line down the side of the page that draws as you scroll, band by band */
.rail { position: absolute; top: 0; bottom: 0; left: max(calc(var(--gutter) * .42), calc((100% - 1280px) / 2 + var(--gutter) * .42)); width: 1px; background: var(--line); pointer-events: none; }
.rail i { position: absolute; inset: 0; background: var(--rail); transform-origin: 50% 0; transform: scaleY(0); }
.rail b { position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--rail); opacity: 0; transition: opacity .25s var(--ease); }
.rail.is-live b { opacity: 1; }

/* the rules between list rows draw across as each row arrives */
.motion-ready .band .index li.rv, .motion-ready .band .lines li.rv:not(:first-child) {
  border-top-color: transparent;
  background: linear-gradient(var(--line-2), var(--line-2)) 0 0 / 0% 1px no-repeat;
  transition: opacity .7s var(--ease), background-size 1.1s var(--ease-out);
}
.motion-ready .band .index li.rv.is-in, .motion-ready .band .lines li.rv.is-in:not(:first-child) { background-size: 100% 1px; }
.t-blue .help-col p, .t-blue .help-note { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; }

/* service cards */
@media (hover: hover) {
  /* no lift on hover: a card passing under a resting mouse while scrolling would jump */
  .card, .motion-ready .card.rv { transition: opacity .7s var(--ease), border-color .3s var(--ease); }
  .card:hover { border-color: var(--cobalt); }
}

/* who pays: large blue numbers */
.lines-big li { grid-template-columns: clamp(72px, 8vw, 116px) 1fr; padding: 30px 0; align-items: start; }
.lines-big li:first-child { padding-top: 6px; }
.lines-big .n { padding-top: 0; font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; line-height: .9; letter-spacing: -.03em; color: var(--cobalt); }

/* how it works: four pictures along the gold road line */
.sec-wide > .road { grid-column: 1 / -1; margin-top: clamp(32px, 5vh, 56px); }
.road-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 36px; }
.shot { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #0A101C; margin-bottom: 20px; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.motion-ready .shot img { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out); }
.motion-ready .is-in .shot img { clip-path: inset(0 0 0 0); }
.road-steps li:nth-child(2) .shot img { transition-delay: .12s; }
.road-steps li:nth-child(3) .shot img { transition-delay: .24s; }
.road-steps li:nth-child(4) .shot img { transition-delay: .36s; }

.more { margin-top: 28px; }
.more .card-link { margin-top: 0; display: inline-block; }

/* contact: details on the left, the message form on a raised panel on the right */
.sec-contact { grid-template-rows: auto 1fr; }
.sec-contact > .label { grid-column: 1 / span 5; }
.sec-contact > .contact-side { grid-column: 1 / span 5; grid-row: 2; margin-top: 28px; }
.sec-contact > .form { grid-column: 7 / span 6; grid-row: 1 / span 2; margin-top: 0; }
.form-panel { max-width: none; padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.form-panel .field input[type], .form-panel .field textarea { background: var(--bg); }

/* footer */
.foot { display: block; max-width: none; margin: 0; padding: 0; background: #05080F; border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr .8fr; gap: 40px 32px; max-width: 1280px; margin: 0 auto; padding: clamp(56px, 9vh, 88px) var(--gutter) 48px; }
.foot-brand p { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 34ch; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; font-size: 15px; min-width: 0; }
.foot-col h2 { margin-bottom: 12px; font: 600 12.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-col > a { padding: 7px 0; color: var(--text); text-decoration: none; }
.foot-col p { padding: 7px 0; overflow-wrap: anywhere; }
.foot-col p a { text-decoration: none; }
.foot-col .k { color: var(--muted); }
.foot-col a:hover { color: var(--cobalt-hi); }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; max-width: 1280px; margin: 0 auto; padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-base ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot-base a { display: inline-block; padding: 10px 0; text-decoration: none; }
.foot-base a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* the menu button (phones and narrow screens, where the header links do not fit) */
.menu { display: none; }
.menu summary { list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 4px; font: 600 14px/1 var(--display); letter-spacing: .04em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--text); color: var(--bg); }
.menu nav { position: fixed; left: 0; right: 0; top: var(--head); display: grid; padding: 4px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.menu nav a { padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; font: 600 18px/1.2 var(--display); }
.menu nav a:first-child { border-top: 0; }
@media (max-width: 1099px) {
  .top-link { display: none; }
  .menu { display: block; }
  .top-nav { margin-left: auto; }
}

/* ---------- inner pages: a dark title band, white reading bands, a blue call band ---------- */
.doc-head { padding-top: var(--head); }
.doc-head .sec { display: block; padding-top: clamp(56px, 10vh, 112px); padding-bottom: clamp(48px, 8vh, 88px); }
.doc-head h1 { font: 400 clamp(44px, 5.6vw, 84px)/1.02 var(--serif); letter-spacing: -.01em; max-width: 18ch; text-wrap: balance; }
.doc-head .lede { margin-top: 24px; max-width: 54ch; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }
.crumb { margin-bottom: 28px; font: 600 12.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--text); }
.band.doc > .sec { padding-top: clamp(48px, 8vh, 88px); padding-bottom: clamp(48px, 8vh, 88px); }
.band.doc > .sec + .sec { border-top: 1px solid var(--line); }
.doc .label { font-size: clamp(28px, 2.8vw, 40px); }
.prose p, .prose li { max-width: 62ch; }
.prose > * + * { margin-top: 14px; }
.prose ul { display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 24px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .68em; width: 12px; height: 2px; background: var(--cobalt); }
.prose a { color: var(--cobalt-hi); text-underline-offset: 4px; }
.prose .src { font-size: 14px; color: var(--muted); }
.prose h3 { margin-top: 28px; font: 600 20px/1.2 var(--display); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 1fr 16px; gap: 20px; align-items: center; padding: 22px 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--display); letter-spacing: -.005em; }
.faq summary::after {
  content: ""; width: 16px; height: 16px; color: var(--cobalt-hi);
  background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 2px 100% no-repeat;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .prose { padding: 0 36px 26px 0; }
.faq details:target summary h2 { color: var(--cobalt-hi); }

.cta .sec { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; padding-top: clamp(56px, 9vh, 96px); padding-bottom: clamp(56px, 9vh, 96px); }
.cta .label { padding: 0; max-width: 16ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 768px) and (max-width: 1023px) {
  .road-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .sec-contact > .label, .sec-contact > .contact-side, .sec-contact > .form { grid-column: 1 / -1; grid-row: auto; }
  .sec-contact > .form { margin-top: 36px; }
  .foot-in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .top .menu summary { min-height: 40px; }
  .rail { left: 9px; }
  .band:not(.doc) .label::before, .doc-head h1::before { width: 48px; height: 11px; margin-bottom: 18px; }
  .lines-big li { grid-template-columns: 58px 1fr; padding: 22px 0; }
  .lines-big .n { font-size: 38px; }
  .road-steps { grid-template-columns: 1fr; gap: 36px; padding: 0 0 0 28px; }
  .shot { margin-bottom: 16px; }
  .sec-contact > .contact-side { margin-top: 0; }
  .form-panel { margin-top: 32px; padding: 22px 18px; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 48px 20px 32px; }
  .foot-brand, .foot-col:nth-of-type(4) { grid-column: 1 / -1; }
  .foot-col > a, .foot-col p { padding: 10px 0; }
  .foot-base { padding-left: 20px; padding-right: 20px; }
  .doc-head .sec { padding: 44px 20px 40px; }
  .doc-head h1 { font-size: clamp(38px, 11vw, 48px); }
  .band.doc > .sec { padding-top: 44px; padding-bottom: 44px; }
  .doc .label { font-size: 28px; padding-bottom: 18px; }
  .faq .prose { padding-right: 0; }
  .cta .sec { display: block; padding: 52px 20px; }
  .cta-btns { margin-top: 24px; }
  .cta-btns .btn { width: 100%; }
}

/* ===== 18 Nov 2026, second pass: outline buttons, the repairer band, the injury / TAC band and page ===== */
.btn-line { border: 1.5px solid rgba(238, 241, 246, .55); color: #EEF1F6; background: rgba(7, 11, 20, .35); }
@media (hover: hover) { .btn-line:hover { border-color: #FFFFFF; background: rgba(7, 11, 20, .7); } }
.lockup .btn-lg + .btn-lg { margin-left: 12px; }
/* the injury / TAC band: yellow and black (Jamal, 18 Nov 2026). No TAC logo: UltraDrive is not part of the TAC. */
.t-care {
  --bg: #FFD200; --surface: #FFDD3D; --text: #0B0B0C; --white: #0B0B0C; --muted: #0B0B0C;
  --line: rgba(11, 11, 12, .22); --line-2: rgba(11, 11, 12, .4);
  --cobalt: #0B0B0C; --cobalt-hi: #0B0B0C; --gold: #0B0B0C; --rail: #0B0B0C; color-scheme: light;
}
.t-care-dark {
  --bg: #0B0B0C; --surface: #17171A; --text: #F5F5F2; --white: #FFFFFF; --muted: #B9B9B4;
  --line: rgba(245, 245, 242, .16); --line-2: rgba(245, 245, 242, .3);
  --cobalt: #FFD200; --cobalt-hi: #FFD200; --gold: #FFD200; --rail: #FFD200;
}
.t-care .btn-call { background: #0B0B0C; color: #FFD200; }
@media (hover: hover) { .t-care .btn-call:hover { background: #26262B; } }
.t-care .btn-ghost { color: #0B0B0C; }
/* a strip of slanted road-marking lines along the top edge, moving slowly on its own */
.t-care::before, .t-care-dark::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(-62deg, #0B0B0C 0 14px, #FFD200 14px 28px); background-size: 31.71px 100%;
}
.motion-ready .t-care::before, .motion-ready .t-care-dark::before { animation: lane-run 1.6s linear infinite; }
/* on a page title band the strip sits below the fixed header, not behind it */
.doc-head.t-care-dark::before { top: var(--head); }
@keyframes lane-run { to { background-position: 31.71px 0; } }
.pitch .only { margin-top: 22px; font: 600 16px/1.4 var(--display); max-width: none; }
/* the three steps: the line draws across and each point lands in turn */
.sec > .route { grid-column: 1 / -1; }
.route { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 6vh, 64px); padding-top: 30px; font: 600 clamp(17px, 1.5vw, 21px)/1.3 var(--display); }
.route::before, .route::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--line-2); }
.route::after { background: var(--cobalt); transform-origin: 0 50%; }
.route li { position: relative; max-width: 24ch; }
.route li::before { content: ""; position: absolute; left: 0; top: -30px; width: 12px; height: 12px; border-radius: 50%; background: var(--cobalt); }
.route .n { display: block; margin-bottom: 8px; color: inherit; opacity: .7; }
.motion-ready .route.rv { opacity: 1; }
.motion-ready .route::after { transform: scaleX(0); transition: transform 2s var(--ease-out) .2s; }
.motion-ready .route.is-in::after { transform: scaleX(1); }
.motion-ready .route li::before { transform: scale(0); transition: transform .5s var(--ease-out); }
.motion-ready .route.is-in li::before { transform: scale(1); }
.motion-ready .route.is-in li:nth-child(1)::before { transition-delay: .2s; }
.motion-ready .route.is-in li:nth-child(2)::before { transition-delay: .8s; }
.motion-ready .route.is-in li:nth-child(3)::before { transition-delay: 1.4s; }
.doc-head .route { max-width: 900px; }
.soc { width: 18px; height: 18px; flex: none; }
.foot-col > a:has(.soc) { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 767px) {
  .route { grid-template-columns: 1fr; gap: 18px; padding: 0 0 0 28px; }
  .route::before, .route::after { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .route::after { transform-origin: 50% 0; }
  .motion-ready .route::after { transform: scaleY(0); }
  .motion-ready .route.is-in::after { transform: scaleY(1); }
  .route li { max-width: none; }
  .route li::before { left: -28px; top: 4px; }
}
.pitch p { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; max-width: 36ch; }
.pitch .btn { margin-top: 28px; }
.pitch .fine { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: none; }
.callbar .btn-line { flex: 0 0 auto; padding: 0 16px; }
@media (max-width: 767px) {
  .top .btn-line { display: none; }
  .pitch .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-top: 12px; padding-bottom: 12px; }
}

/* ===== 18 Nov 2026, third pass: fixes from the design review ===== */
.top { padding-left: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter))); }
.rail { width: 2px; background: var(--line-2); }
.rail b { width: 9px; height: 9px; left: -3.5px; top: -4px; }
/* rules stop at the text edge instead of running through the gutter and the route line */
.band.doc > .sec + .sec { border-top: 0; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.band.doc > .sec { padding-top: clamp(32px, 5vh, 56px); padding-bottom: clamp(32px, 5vh, 56px); }
.band.doc > .sec:first-child { padding-top: clamp(48px, 8vh, 80px); }
.band.doc > .sec:last-child { padding-bottom: clamp(56px, 9vh, 96px); }
.prose { font-size: clamp(18px, 1.35vw, 20px); }
.doc .label { font-size: clamp(26px, 2.2vw, 32px); }
/* who pays: bigger numbers */
.lines-big li { grid-template-columns: clamp(96px, 10vw, 160px) 1fr; }
.lines-big .n { font-size: clamp(56px, 6.4vw, 96px); }
/* can help / can't help: two panels */
.t-blue .help { gap: 20px; }
.t-blue .help-col { padding: clamp(22px, 2.6vw, 32px); border: 0; border-radius: 8px; background: #FFFFFF; }
.t-blue .help-col:nth-child(2) { background: #070B14; color: #EEF1F6; }
.t-blue .help-col:nth-child(2) p { color: #EEF1F6; }
.t-blue .help-note { margin-top: 12px; }
/* the message form on a white band */
.sec-contact > .form { align-self: start; }
.t-light .form-panel { box-shadow: 0 24px 60px -24px rgba(10, 16, 32, .25); }
.t-light .field input[type], .t-light .field textarea { color-scheme: light; }
.t-light .field .err, .t-light .form-status.fail { color: #B3261E; }
.t-light .field.bad input[type], .t-light .field.bad textarea { border-color: #B3261E; }
.t-light .field input:hover, .t-light .field textarea:hover { border-color: rgba(10, 16, 32, .45); }
.t-light .form-status.ok { color: #0A1020; }
.sec-form > * { grid-column: 3 / span 8; }
.sec-form .form-intro p { max-width: none; }
.sec-form .form { margin-top: 28px; }
.foot-base { border-top: 0; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
@media (max-width: 1023px) { .sec-form > * { grid-column: 1 / -1; } }
/* desktop: the "Prefer to talk?" line sits in the empty left side, beside the top of the form */
@media (min-width: 1024px) {
  .sec-form > .form-intro { grid-column: 1 / span 4; grid-row: 1; align-self: start; }
  .sec-form > .form { grid-row: 1; margin-top: 0; }
}
/* no empty line under the send button until there is a message to show */
.form-status:empty { min-height: 0; margin-top: -20px; }
/* on the claim form page itself the phone bar shows only the Call button */
body:has(form[data-form="claim"]) .callbar .btn-line { display: none; }
@media (max-width: 767px) {
  .rail { display: none; }
  .lines-big li { grid-template-columns: 64px 1fr; }
  .lines-big .n { font-size: 44px; }
  .road-steps li { display: grid; grid-template-columns: 112px 1fr; column-gap: 16px; align-content: start; }
  .road-steps .shot { grid-row: span 3; margin: 0; align-self: start; }
  .road-steps h3 { margin-top: 8px; }
  .road-steps p { margin-top: 6px; }
  .band.doc > .sec + .sec, .foot-base { background-position: 20px 0; background-size: calc(100% - 40px) 1px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ===== 18 Nov 2026, fourth pass: fixes from the second design review ===== */
/* small phones: the step words and the pause button fit inside the screen (no sideways scroll) */
@media (max-width: 389px) {
  .strip { padding: 0 16px; }
  .beats { gap: 10px; min-width: 0; }
  .beats li::before { display: none; }
}
/* a link to one question lands with its title below the fixed top bar */
.faq details { scroll-margin-top: calc(var(--head) + 16px); }
/* the menu: scrolls inside itself on short phones, clears the call bar, solid bar behind it, page held still */
@media (max-width: 1099px) {
  .menu nav { max-height: calc(100dvh - var(--head)); overflow-y: auto; overscroll-behavior: contain; }
  .top:has(.menu[open]) { background: var(--bg); border-bottom-color: var(--line); }
  .top:has(.menu[open])::before { opacity: 0; }
  html:has(.menu[open]) { overflow: hidden; }
}
@media (max-width: 767px) {
  .menu nav { max-height: calc(100dvh - var(--head) - 69px - env(safe-area-inset-bottom)); }
  .top .menu summary { min-height: 44px; }
  /* footer: the contact column takes the full width so Email: and its address share one line */
  .foot-in > :nth-child(4) { grid-column: 1 / -1; }
  .sec-contact > .form { margin-top: 32px; }
}
@media (max-width: 359px) {
  .callbar { gap: 8px; padding-left: 10px; padding-right: 10px; }
  .callbar .btn { font-size: 14px; padding: 0 10px; }
}
/* injuries and TAC page: the white reading part keeps to black, no blue links or blue side line */
.t-care-dark.doc-head ~ .band.t-light { --cobalt: #0B0B0C; --cobalt-hi: #0B0B0C; --rail: #0B0B0C; }
/* the hero words fade in only; they do not slide */
.js .lockup > :not(.btn) { transform: none; }
/* form boxes: a clearer edge on white, a heavier red one when a box needs fixing */
.t-light .field input[type], .t-light .field textarea { border-color: rgba(10, 16, 32, .45); }
.t-light .field input:hover, .t-light .field textarea:hover { border-color: rgba(10, 16, 32, .7); }
.t-light .field.bad input[type], .t-light .field.bad textarea { border-color: #B3261E; border-width: 2px; }
/* the required 'not part of the TAC' line at reading size */
.pitch .fine { font-size: 16px; }

/* ===== Our fleet (rebuilt 18 Nov 2026): a black showroom. The cars are studio pictures on pure black, the page
   behind them is black, so there is no cut-out edge. fleet.js slides them; the car in the middle is full size
   and sharp, the cars either side are smaller, dim and soft. The writing sits still under the middle car and
   only fades when the car changes. Without fleet.js it is a plain sideways row. ===== */
.t-show { --bg: #000; --rail: var(--cobalt); background: linear-gradient(#070B14, #000 140px); overflow: hidden; }
.sec-wide > .fl { grid-column: 1 / -1; margin-top: clamp(4px, 2vh, 20px); }
.fl {
  --car: clamp(300px, 56vw, 860px); --text: #EEF1F6; --muted: #98A2B5; --line-2: rgba(238, 241, 246, .2);
  position: relative; margin-inline: calc(var(--gutter) * -1); padding-bottom: 6px; background: #000; color: var(--text);
}
.t-light .fl { margin-inline: 0; padding-block: 18px 30px; border-radius: 10px; overflow: hidden; }
.fl-track {
  position: relative; display: flex; margin: 0; padding: 0 calc(50% - var(--car) / 2); list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.fl-track::-webkit-scrollbar { display: none; }
.fl-track:focus-visible { outline: 2px solid var(--cobalt-hi, #4DA3FF); outline-offset: -3px; border-radius: 8px; }
.car { flex: 0 0 var(--car); scroll-snap-align: center; text-align: center; }
.car-pic { position: relative; width: var(--car); max-width: 100%; }
.car-pic img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; transform-origin: 50% 83%; }
.car-txt { position: relative; z-index: 2; margin-top: clamp(8px, 1.2vw, 18px); padding: 0 16px; }
.car-name { font: 600 clamp(26px, 3.1vw, 46px)/1.08 var(--display); letter-spacing: -.012em; color: #FFFFFF; }
.car-sim { margin-top: 8px; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.3; color: var(--muted); }
.car-sim em { font-style: italic; }
.car-info { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 12px; margin: 22px 0 0; min-height: 44px; }
.car-info > div { padding: 0 clamp(14px, 1.8vw, 28px); }
.car-info > div + div { border-left: 1px solid var(--line-2); }
.car-info dt { font: 600 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.car-info dd { margin: 8px 0 0; font: 600 clamp(15px, 1.2vw, 18px)/1.1 var(--display); white-space: nowrap; font-variant-numeric: tabular-nums; color: #FFFFFF; }
.fl-ui { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 32px); margin-top: 30px; }
.fl-ui[hidden] { display: none; }
.fl-btn {
  flex: none; width: 54px; height: 54px; padding: 0; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .42); background: transparent; color: #FFFFFF;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.fl-btn svg { display: block; width: 24px; height: 24px; }
.fl-prev svg { transform: scaleX(-1); }
.fl-btn:focus-visible { outline: 2px solid #4DA3FF; outline-offset: 3px; }
.fl-btn:active { background: #FFFFFF; color: #000; }
@media (hover: hover) { .fl-btn:hover { background: #FFFFFF; border-color: #FFFFFF; color: #000; } }
.fl-pos { width: min(260px, 34vw); }
.fl-count { margin: 0 0 10px; text-align: center; font: 600 13px/1 var(--display); letter-spacing: .16em; font-variant-numeric: tabular-nums; color: var(--muted); }
.fl-count b { font-weight: 600; color: #FFFFFF; }
.fl-bar { height: 2px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.fl-bar i { display: block; height: 100%; background: var(--cobalt); transition: transform .6s var(--ease-out); }
.fl-live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* with fleet.js running: every car sits in the same spot and fleet.js moves the pictures */
.fl.is-js .fl-track {
  display: grid; padding: 0; overflow: hidden; scroll-snap-type: none; touch-action: pan-y; cursor: grab; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.fl.is-js.is-drag .fl-track { cursor: grabbing; }
/* the light on the floor under the cars, and a soft light from above */
.fl.is-js .fl-track::before {
  content: ""; position: absolute; left: 50%; top: 0; width: var(--car); height: calc(var(--car) * .667 + 70px); transform: translateX(-50%);
  background:
    radial-gradient(ellipse 60% 48px at 50% calc(var(--car) * .643), rgba(0, 124, 247, .30), rgba(0, 124, 247, 0) 100%),
    radial-gradient(ellipse 40% 46% at 50% 0%, rgba(140, 180, 255, .07), rgba(140, 180, 255, 0) 100%);
  pointer-events: none;
}
.fl.is-js .fl-track::after {
  content: ""; position: absolute; left: 50%; top: 0; width: var(--car); aspect-ratio: 3 / 2; transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(77, 163, 255, 0), rgba(77, 163, 255, .95) 30%, #DCEBFF 50%, rgba(77, 163, 255, .95) 70%, rgba(77, 163, 255, 0)) 50% 96.5% / 100% 1px no-repeat;
  pointer-events: none; transition: clip-path 1.4s var(--ease-out) .2s; clip-path: inset(0 0 0 0);
}
.fl.is-js:not(.is-lit) .fl-track::after { clip-path: inset(0 50% 0 50%); }
.fl.is-js .car { grid-area: 1 / 1; display: grid; justify-items: center; align-content: start; pointer-events: none; }
.fl.is-js .car-pic { mix-blend-mode: lighten; will-change: transform, opacity; visibility: hidden; }
.fl.is-js .car-pic img { transition: transform .6s var(--ease-out); }
.fl.is-js .car-txt { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s linear .3s; }
.fl.is-js .car.is-on .car-txt { opacity: 1; visibility: visible; transition: opacity .45s var(--ease) .12s, visibility 0s; }
.fl.is-js .car-info { opacity: 0; transition: opacity .3s var(--ease); }
.fl.is-js .fl-track, .fl.is-js .fl-ui { transition: opacity 1s var(--ease); }
.fl.is-js:not(.is-lit) .fl-track, .fl.is-js:not(.is-lit) .fl-ui { opacity: 0; }
.fl.is-boot .fl-track, .fl.is-boot .fl-ui, .fl.is-boot .car-txt, .fl.is-boot .car-info, .fl.is-boot .fl-track::after { transition: none !important; }
/* the details: on hover with a mouse, on keyboard focus, and always for the middle car on a touch screen */
@media (hover: hover) {
  .fl.is-js:not(.is-drag) .car.is-on.is-hover .car-pic img { transform: scale(1.05); }
  .fl.is-js .car.is-on.is-hover .car-info { opacity: 1; }
}
.fl.is-js .fl-track:focus-visible .car.is-on .car-info { opacity: 1; }
@media (hover: none) { .fl.is-js .car.is-on .car-info { opacity: 1; } }
/* the black Range Rover: lift the dark paint a little so the doors and wheels read (black stays black) */
.car-pic img[src*="/10."] { filter: brightness(1.3); }
/* on the light replacement vehicles page the panel is narrower, so the cars are smaller and the side cars show */
@media (min-width: 701px) { .t-light .fl { --car: clamp(300px, 44vw, 640px); } }
@media (max-width: 700px) {
  .fl { --car: 94vw; }
  .car-txt { margin-top: 10px; }
  .car-info { min-height: 44px; margin-top: 18px; }
  .car-info > div { padding: 0 12px; }
  .fl-ui { margin-top: 22px; }
  .fl-btn { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .fl.is-js .car-pic img, .fl.is-js .car-txt, .fl.is-js .car.is-on .car-txt, .fl.is-js .car-info, .fl-bar i,
  .fl.is-js .fl-track, .fl.is-js .fl-ui, .fl.is-js .fl-track::after { transition: none; }
}

/* ---------- polish review 18 Nov 2026 (applied 19 Nov) ---------- */
/* guide pages: their titles are whole questions, so a smaller size keeps them to 2 or 3 lines */
.doc-head.is-guide h1 { font-size: clamp(38px, 4.2vw, 60px); max-width: 22ch; }
/* bigger tap areas, nothing moves: the extra padding is taken back with a negative margin, or drawn by an
   invisible layer, so the words and lines sit exactly where they did */
.card-link { position: relative; }
.card-link::after { content: ""; position: absolute; left: 0; right: 0; top: -7px; bottom: -7px; }
@media (max-width: 767px) {
  .mark { padding: 10px 0; margin: -10px 0; }
  .foot-col p a { display: inline-block; padding: 11px 0; margin: -11px 0; }
  .foot-col > a { padding: 11px 0; margin: -1px 0; }
  .foot-links a { padding: 14px 0; margin: -1px 0; }
}
