/* Operator site. Night-drive dark, one accent colour (the operator's, appended by the builder),
   motion that respects reduced-motion settings, and nothing inline, so the security policy stays strict.
   This is the Radar theme, the site as designed. The other themes are in themes/, each under its own data-theme. */

@font-face {
  font-family: "Sora";
  src: url("sora.fa26406eed.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --surface: #131315;
  --surface-2: #1a1a1e;
  /* What hairlines, tints and glass are mixed from: white over the dark page, the page's own colour for
     glass. A light theme turns them round. */
  --fg-rgb: 255 255 255;
  --bg-rgb: 10 10 11;
  --line: rgb(var(--fg-rgb) / 0.08);
  --line-2: rgb(var(--fg-rgb) / 0.15);
  --text: #f4f3ef;
  --muted: #a6a5ac;
  --faint: #737279;
  --accent: #ffb300;
  --accent-ink: #121212;
  --accent-lift: 0%;
  --accent-text: color-mix(in oklab, var(--accent), white var(--accent-lift));
  --accent-soft: color-mix(in oklab, var(--accent) 14%, transparent);
  --accent-glow: color-mix(in oklab, var(--accent) 40%, transparent);
  /* How far radar.js darkens the accent for the map: not at all on a dark page. */
  --radar-shade: 0%;
  --radius: 20px;
  --radius-lg: 28px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --page: min(1180px, 100% - 2 * var(--gutter));
  --font: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---- Base --------------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: var(--page); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; padding: 0.6em 1.1em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip:focus { left: 12px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.wide-only { display: none; }
@media (min-width: 560px) { .wide-only { display: inline; } }

/* ---- Logo ---------------------------------------------------------------------------------- */
/* The builder crops the logo to its marks and lifts a dark background out, so it sits straight on the page. */

.logo { display: block; width: auto; max-width: 100%; height: 36px; }
.logo.on-light { padding: 6px 10px; border-radius: 10px; background: #ffffff; }
.wordmark { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.03em; white-space: nowrap; }

/* ---- Buttons ------------------------------------------------------------------------------- */

.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  height: var(--h);
  padding: 0 1.4em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgb(var(--fg-rgb) / 0.04);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.btn:hover { background: rgb(var(--fg-rgb) / 0.08); border-color: rgb(var(--fg-rgb) / 0.26); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .i { width: 18px; height: 18px; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary {
  border-color: transparent;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 40px -12px var(--accent-glow), inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.btn-primary:hover {
  border-color: transparent;
  background: color-mix(in oklab, var(--accent) 86%, white);
  box-shadow: 0 16px 50px -10px var(--accent-glow), inset 0 1px 0 rgb(255 255 255 / 0.4);
}
.btn-lg { --h: 56px; padding: 0 1.7em; font-size: 1rem; }
.btn-sm { --h: 40px; padding: 0 1.15em; font-size: 0.875rem; }
.btn-quiet { border-color: transparent; background: transparent; color: var(--muted); }
.btn-quiet:hover { border-color: transparent; color: var(--text); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---- Header -------------------------------------------------------------------------------- */

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid var(--line);
  background: rgb(var(--bg-rgb) / 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  opacity: 0;
  transition: opacity 0.3s;
}
.site-header.is-scrolled::before { opacity: 1; }
@supports (animation-timeline: scroll()) {
  .site-header::before { animation: fade-in linear both; animation-timeline: scroll(root block); animation-range: 0 140px; }
}
.bar { position: relative; display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; flex: none; }
.brand-name { color: var(--text); }
/* On a phone the header keeps the icons and the Book button; the name returns once there is room. */
.site-header .brand-name { display: none; }
@media (min-width: 440px) { .site-header .brand-name { display: inline; } }
.nav { display: none; gap: 28px; margin-left: auto; color: var(--muted); font-size: 0.9rem; }
.nav a { transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.site-header .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .nav + .btn { margin-left: 0; }
}

/* ---- Hero ---------------------------------------------------------------------------------- */

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh; overflow: clip; }
.hero::after {
  /* the hero's glow and grid fade into the page instead of stopping at a hard edge */
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(60% 55% at 82% 88%, var(--accent-soft), transparent 70%),
    radial-gradient(45% 40% at 8% 0%, rgb(140 150 255 / 0.07), transparent 70%),
    var(--bg); }
.hero-bg::before {
  /* a faint map grid, strongest where the road runs */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(var(--fg-rgb) / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--fg-rgb) / 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 75%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 75%, #000, transparent 75%);
}
.hero-bg::after {
  /* film grain */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(96px, 13vh, 128px) 8px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(var(--fg-rgb) / 0.025);
  color: var(--muted);
  font: 500 0.75rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); animation: ping 2.6s var(--ease) infinite; }
.hero h1 { margin-top: 28px; max-width: 16ch; font-size: clamp(2.6rem, 1.1rem + 5vw, 5.5rem); line-height: 0.98; letter-spacing: -0.048em; }
.hero h1 .main {
  background: linear-gradient(180deg, #ffffff 35%, #bdbbb5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent { display: block; margin-top: 0.12em; color: var(--accent-text); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.875rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { width: 16px; height: 16px; color: var(--accent-text); }

/* The road */
.route { margin: 0; pointer-events: none; }
.route svg { width: 100%; height: auto; overflow: visible; }
.route--wide { display: none; }
.route--narrow { margin-top: 12px; }
.route--narrow svg { max-width: 760px; margin-inline: auto; }
@media (min-width: 560px) {
  .route--narrow .code { font-size: 22px; }
  .route--narrow .name { font-size: 16px; }
}
@media (min-width: 1000px) {
  /* Tucked up under the buttons: the road runs low on the left, where they sit, so the two never meet,
     and the whole road is in view on a 900-pixel-high screen. */
  .route--wide { display: block; margin-top: clamp(-150px, -10vw, -60px); }
  .route--narrow { display: none; }
}
.route .track { fill: none; stroke: rgb(var(--fg-rgb) / 0.07); stroke-width: 2; }
.route .line, .route .glow { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s 0.2s cubic-bezier(0.45, 0.05, 0.25, 1) forwards; }
.route .line { stroke-width: 3; }
.route .glow { stroke-width: 12; opacity: 0.55; }
.route--narrow .track { stroke-width: 3; }
.route--narrow .line { stroke-width: 5; }
.route--narrow .glow { stroke-width: 16; }
.route .g0 { stop-color: var(--accent); stop-opacity: 0; }
.route .g1 { stop-color: var(--accent); stop-opacity: 1; }
.route .g2 { stop-color: #ffffff; stop-opacity: 0.9; }
.route .stop { opacity: 0; animation: pop 0.7s var(--ease) forwards; }
.route .stop:nth-child(1) { animation-delay: 0.9s; }
.route .stop:nth-child(2) { animation-delay: 1.6s; }
.route .stop:nth-child(3) { animation-delay: 2.3s; }
.route .stop:nth-child(4) { animation-delay: 2.7s; }
.route .stop:nth-child(n + 5) { animation-delay: 3s; }
.route .node { fill: var(--bg); stroke: var(--accent); stroke-width: 3; }
.route .ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 3s var(--ease) 3s infinite; opacity: 0; }
.route .code { fill: var(--text); font: 700 21px var(--mono); letter-spacing: 0.08em; }
.route .name { fill: var(--muted); font: 400 15px var(--font); }
.route--narrow .code { font-size: 30px; }
.route--narrow .name { font-size: 22px; }
.route .car { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); }

/* The radar map behind the road, for an operator with a catchment. radar.js draws it from the road's
   data-catchment and turns the car into a slider; without the script none of this is on the page. */
.radar-map, .radar-live {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
  /* quieter behind the headline and buttons: radar.js measures where they are */
  -webkit-mask-image: radial-gradient(var(--hush-w, 0px) var(--hush-h, 0px) at var(--hush-x, 0px) var(--hush-y, 0px), rgb(0 0 0 / 0.3) 60%, #000);
  mask-image: radial-gradient(var(--hush-w, 0px) var(--hush-h, 0px) at var(--hush-x, 0px) var(--hush-y, 0px), rgb(0 0 0 / 0.3) 60%, #000);
}
.radar-map.is-on, .radar-live.is-on { opacity: 1; }
/* Names on the map (a theme with --map-style: names) are placed clear of the headline, so stay at full strength. */
.radar-names { z-index: 0; -webkit-mask-image: none; mask-image: none; }
.radar-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: grid;
  gap: 3px;
  padding: 9px 13px 10px;
  translate: -50% calc(-100% - 50px);
  border: 1px solid color-mix(in oklab, var(--accent) 32%, transparent);
  border-radius: 12px;
  background: rgb(var(--bg-rgb) / 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px -12px rgb(0 0 0 / 0.8);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.radar-tip.is-on { opacity: 1; }
.radar-tip b { font-size: 0.875rem; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.radar-tip span { color: var(--accent-text); font: 500 0.625rem/1.1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.radar-grip { position: absolute; top: 0; left: 0; z-index: 3; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; cursor: grab; touch-action: none; }
.radar-grip::after {
  /* a ring round the car that says it can be picked up */
  content: "";
  position: absolute;
  inset: 11px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s, inset 0.2s var(--ease);
}
.radar-grip:hover::after, .radar-held .radar-grip::after, .radar-focus .radar-grip::after { opacity: 0.85; inset: 7px; }
.radar-held .radar-grip { cursor: grabbing; }

/* ---- Statement ------------------------------------------------------------------------------ */

.statement { padding-block: clamp(72px, 12vw, 168px) clamp(8px, 2vw, 24px); }
.statement-text { max-width: 1060px; font-size: clamp(1.55rem, 0.95rem + 2.5vw, 3.05rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.032em; text-wrap: pretty; }
.statement-more { max-width: 620px; margin-top: 28px; color: var(--muted); font-size: 1.125rem; }

/* ---- Sections ------------------------------------------------------------------------------- */

.section { padding-block: clamp(64px, 8.5vw, 120px); }
.section-head { display: grid; gap: 16px; max-width: 780px; margin-bottom: clamp(32px, 5vw, 56px); }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--muted); font: 500 0.75rem/1 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; }
.kicker .num { display: inline-flex; align-items: center; gap: 12px; color: var(--accent-text); }
.kicker .num::after { content: ""; width: 28px; height: 1px; background: var(--line-2); }
h2 { font-size: clamp(2.05rem, 1.1rem + 3.3vw, 3.7rem); line-height: 1.02; letter-spacing: -0.042em; }
.sub { max-width: 56ch; color: var(--muted); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); }

/* Why ride with us */
/* Laid out by how many there are, so no card is ever left alone on a row: an odd count gives the first
   card double width. */
.grid-cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .grid-cards:has(> :nth-child(odd):last-child) > :first-child { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .grid-cards:has(> :nth-child(odd):last-child) > :first-child { grid-column: auto; }
  .grid-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
  .grid-cards:has(> :nth-child(5):last-child) > :first-child { grid-column: span 2; }
  .grid-cards:has(> :nth-child(7):last-child) { grid-template-columns: repeat(4, 1fr); }
  .grid-cards:has(> :nth-child(7):last-child) > :first-child { grid-column: span 2; }
}
.grid-cards > .card:first-child { background: linear-gradient(150deg, color-mix(in oklab, var(--accent) 9%, var(--surface)), var(--surface) 55%); }
.card { position: relative; isolation: isolate; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), color-mix(in oklab, var(--accent) 15%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover::before { opacity: 1; }
.card .icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent); border-radius: 13px; background: var(--accent-soft); color: var(--accent-text); }
.card .icon .i { width: 22px; height: 22px; }
.card h3 { margin-top: 22px; font-size: 1.25rem; letter-spacing: -0.02em; }
.card p { margin-top: 10px; color: var(--muted); font-size: 0.975rem; }
.card-wide { display: grid; gap: 24px; margin-top: 16px; background: linear-gradient(150deg, color-mix(in oklab, var(--accent) 9%, var(--surface)), var(--surface) 55%); }
@media (min-width: 1000px) { .card-wide { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 40px; } }
.credentials { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.credentials li { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 16px 18px; border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent); border-radius: 14px; background: var(--accent-soft); }
.credentials .st { color: var(--accent-text); font: 500 0.68rem/1 var(--mono); letter-spacing: 0.15em; }
.credentials .name { color: var(--muted); font-size: 0.875rem; }
.credentials .no { align-self: end; color: var(--text); font: 700 1.4rem/1 var(--mono); letter-spacing: 0.04em; }

/* Popular trips: boarding passes with the tear line notched out */
.tickets { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ticket {
  --notch: 12px;
  --tear: 66px;
  display: grid;
  gap: 10px;
  padding: 24px 24px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%);
  transition: transform 0.35s var(--ease), border-color 0.35s;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--tear)), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--tear)), #0000 98%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--tear)), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--tear)), #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket:hover { transform: translateY(-4px); border-color: var(--line-2); }
.t-top { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 14px; }
.t-end { display: grid; gap: 6px; }
.t-dest { text-align: right; }
.t-label { color: var(--faint); font: 500 0.68rem/1 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; }
.t-from { font-size: 1.05rem; font-weight: 600; }
.t-code { color: var(--accent-text); font: 700 2.7rem/0.9 var(--mono); letter-spacing: -0.02em; }
.t-path { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; color: var(--muted); }
.t-path i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.t-path .i { width: 18px; height: 18px; transform: rotate(90deg); }
.t-to { color: var(--muted); font-size: 0.9375rem; }
.t-bottom { display: flex; align-items: center; gap: 12px; height: var(--tear); margin: 6px -24px 0; padding: 0 24px; border-top: 1px dashed var(--line-2); }
.t-price { font-weight: 600; }
.t-price b { font-size: 1.25rem; }
.t-meta { color: var(--faint); font-size: 0.8125rem; }
.t-go { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; border-radius: 50%; background: rgb(var(--fg-rgb) / 0.06); transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.t-go .i { width: 18px; height: 18px; }
.ticket:hover .t-go { background: var(--accent); color: var(--accent-ink); transform: translateX(2px); }

/* Where we go */
.places { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .places { grid-template-columns: 1.05fr 0.95fr; } }
.places .section-head { margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(var(--fg-rgb) / 0.025); font-size: 0.95rem; }
.chip .st { color: var(--faint); font: 500 0.66rem/1 var(--mono); letter-spacing: 0.12em; }
.chip.is-featured { border-color: color-mix(in oklab, var(--accent) 45%, transparent); background: var(--accent-soft); }
.chip.is-featured .st { color: var(--accent-text); }
.chips-sm { margin-top: 8px; }
.chips-sm .chip { padding: 8px 13px; font-size: 0.875rem; }
.board-wrap { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, #08080a, #0d0d10); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04), 0 40px 80px -40px rgb(0 0 0 / 0.9); }
.board-title { display: flex; align-items: center; justify-content: space-between; margin: 4px 6px 16px; color: var(--muted); font: 500 0.72rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; }
.board-live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); }
.board { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.board li { display: flex; align-items: center; gap: 18px; padding: 12px; border: 1px solid rgb(var(--fg-rgb) / 0.04); border-radius: 14px; background: rgb(var(--fg-rgb) / 0.02); }
.flaps { display: flex; flex: none; gap: 4px; perspective: 500px; }
.flap {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 46px;
  border-radius: 6px;
  background: linear-gradient(180deg, #212125 0 50%, #18181b 50% 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), 0 2px 0 rgb(0 0 0 / 0.6);
  color: var(--accent-text);
  font: 700 1.5rem/1 var(--mono);
}
.flap::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: rgb(0 0 0 / 0.75); }
.where { display: grid; gap: 2px; min-width: 0; }
.where b { font-weight: 600; }
.where span { color: var(--muted); font-size: 0.875rem; }

/* The car */
.fleet { display: grid; gap: 16px; }
.vehicle { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
@media (min-width: 900px) { .vehicle { grid-template-columns: 1.35fr 1fr; } }
.vehicle-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(70% 60% at 50% 100%, var(--accent-soft), transparent 70%), linear-gradient(180deg, #101013, #0b0b0d);
}
.vehicle-media img { width: 100%; height: 100%; object-fit: cover; }
.van { width: min(78%, 520px); height: auto; color: rgb(var(--fg-rgb) / 0.8); filter: drop-shadow(0 0 22px var(--accent-soft)); }
.van-shadow { fill: currentColor; stroke: none; opacity: 0.14; }
.vehicle-body { display: grid; align-content: center; gap: 12px; padding: clamp(24px, 4vw, 48px); }
.vehicle-name { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); letter-spacing: -0.035em; }
.vehicle-meta { color: var(--muted); }
.stat { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.stat b { color: var(--accent-text); font-size: clamp(3rem, 2rem + 3vw, 4.2rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.05em; }
.stat span { max-width: 9ch; color: var(--muted); line-height: 1.3; }

/* Drivers */
.drivers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.drivers:has(> :only-child) { grid-template-columns: minmax(0, 820px); }
.driver { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.avatar { display: grid; place-items: center; width: 92px; height: 92px; }
.avatar img { width: 92px; height: 92px; border-radius: 26px; object-fit: cover; }
.monogram { display: grid; place-items: center; width: 92px; height: 92px; background: var(--accent); color: var(--accent-ink); font-size: 2.2rem; font-weight: 700; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.driver h3 { font-size: 1.65rem; letter-spacing: -0.03em; }
.since { margin-top: 4px; color: var(--faint); font-size: 0.875rem; }
.bio { margin-top: 10px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.tags li { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgb(var(--fg-rgb) / 0.04); color: var(--muted); font-size: 0.8125rem; }
.certs { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.certs a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-size: 0.875rem; }
.driver .btn { margin-top: 18px; }
@media (max-width: 480px) { .driver { grid-template-columns: 1fr; } }

/* Drive with us */
.join {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 28px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
  border-radius: 32px;
  background:
    radial-gradient(90% 120% at 100% 0%, color-mix(in oklab, var(--accent) 22%, transparent), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}
@media (min-width: 900px) { .join { grid-template-columns: 1.5fr auto; align-items: end; } }
.join-copy { display: grid; gap: 16px; }
.join h2 { max-width: 16ch; }

/* Ready when you are */
.finale { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(96px, 14vw, 200px); text-align: center; }
.finale-glow { position: absolute; inset: auto -20% -70%; z-index: -1; height: 130%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 70%); }
.finale h2 { font-size: clamp(2.7rem, 1.2rem + 6vw, 6.2rem); line-height: 0.95; letter-spacing: -0.055em; }
.finale .sub { margin: 20px auto 0; }
.finale .cta-row { justify-content: center; }
.hours { margin-top: 26px; color: var(--faint); font-size: 0.875rem; }

/* ---- Footer -------------------------------------------------------------------------------- */

.site-footer { padding-block: 40px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.foot { display: grid; gap: 28px; }
.foot-brand .logo { height: 44px; }
.foot-brand .brand-name { font-size: 1.25rem; }
.legal { margin-top: 14px; color: var(--faint); font-size: 0.8125rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a, .powered a { transition: color 0.2s; }
.foot-links a:hover, .powered a:hover { color: var(--text); }
.powered { margin-top: 14px; color: var(--faint); font-size: 0.8125rem; }
.powered a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
@media (min-width: 900px) {
  .foot { grid-template-columns: auto 1fr; align-items: end; }
  .foot-side { justify-self: end; text-align: right; }
  .foot-links { justify-content: flex-end; }
}

/* ---- The card page (/card/) ------------------------------------------------------------------ */

.page-card { display: grid; place-items: center; min-height: 100svh; padding: 40px var(--gutter); }
.business { position: relative; isolation: isolate; display: grid; gap: 12px; width: min(440px, 100%); text-align: center; }
.business-glow { position: absolute; inset: -35% -40% auto; z-index: -1; height: 75%; background: radial-gradient(50% 50% at 50% 50%, var(--accent-soft), transparent 70%); }
.business .logo { width: 200px; height: auto; margin: 0 auto 20px; }
.business .wordmark { margin: 0 auto 20px; font-size: 1.6rem; }
.business h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3rem); letter-spacing: -0.045em; }
.business .lede { max-width: 32ch; margin: 4px auto 18px; color: var(--muted); }
.stack { display: grid; gap: 10px; }
.stack .btn { --h: 58px; justify-content: flex-start; gap: 12px; padding: 0 22px; font-size: 1rem; }
.stack .btn .arrow { margin-left: auto; }
.business .powered { margin-top: 18px; }

/* ---- 404 ----------------------------------------------------------------------------------- */

.lost { display: grid; place-content: center start; justify-items: start; gap: 20px; width: var(--page); min-height: 100svh; margin-inline: auto; padding-top: 72px; }
.lost h1 { font-size: clamp(3rem, 2rem + 6vw, 7rem); line-height: 0.95; letter-spacing: -0.055em; }
.lost .lede { max-width: 40ch; color: var(--muted); }
.lost .cta-row { margin-top: 12px; }

/* ---- Motion ------------------------------------------------------------------------------- */

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--accent-glow); } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: none; } }
@keyframes ring { 0% { opacity: 0.8; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3.4); } }
@keyframes lift { from { opacity: 0; translate: 0 18px; filter: blur(8px); } to { opacity: 1; translate: none; filter: none; } }
@keyframes reveal { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: none; } }
@keyframes flip { from { opacity: 0.2; transform: rotateX(-95deg); } to { opacity: 1; transform: none; } }
@keyframes ink { from { background-position: 0 100%; } to { background-position: 0 0; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: lift 0.9s var(--ease) both; }
  .hero-inner > :nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > :nth-child(3) { animation-delay: 0.16s; }
  .hero-inner > :nth-child(4) { animation-delay: 0.24s; }

  /* Scroll-driven where the browser supports it; elsewhere everything is simply there. */
  @supports (animation-timeline: view()) {
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
    .flap { animation: flip linear both; animation-timeline: view(); animation-range: entry 20% cover 36%; }
    .flap:nth-child(2) { animation-range: entry 24% cover 40%; }
    .flap:nth-child(3) { animation-range: entry 28% cover 44%; }
    /* On the paragraph, not the inline span, so the ink runs down the lines in reading order. */
    .statement-text {
      background: linear-gradient(180deg, var(--text) 50%, rgb(var(--fg-rgb) / 0.2) 50%);
      background-size: 100% 200%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: ink linear both;
      animation-timeline: view();
      animation-range: entry 35% cover 62%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .route .line, .route .glow { animation: none; stroke-dashoffset: 0; }
  .route .stop { animation: none; opacity: 1; }
  .route .ring, .route .car { display: none; }
  /* With the radar, the car is a slider that only moves when someone moves it. */
  .radar-on .route .car { display: inline; }
  .radar-map, .radar-live { transition: none; }
}

/* This operator */
:root { --accent: #28DD3B; --accent-ink: #121212; --accent-lift: 0%; --accent-drop: 40%; }
