/* Dubai Transfers — a warm, restrained, chauffeur-company aesthetic.
   Ink-black with a warm cast, ivory type and champagne gold. The old
   scheme was cold graphite with a signal amber and a cyan accent, which
   read like an instrument panel; a car service should feel like the back
   of the car, not the dashboard.

   The --amber and --cyan custom properties are kept as names because the
   markup references them, but they now hold gold and bronze. */

:root {
  color-scheme: light;

  /* Channels, so every translucent value can follow the theme. */
  --bg-rgb: 250, 247, 243;
  --fg-rgb: 24, 22, 20;
  --accent-rgb: 13, 106, 112;

  /* The legacy names are kept because the markup references them; they
     no longer mean what they say. --ink is the PAGE, --paper is the TEXT,
     and in light mode those are the other way round from before. */
  --ink: rgb(var(--bg-rgb));
  --ink-2: #FFFFFF;
  --ink-3: #F2EEE8;
  --paper: rgb(var(--fg-rgb));
  --muted: #5F5952;
  --muted-2: #3B3733;
  --line: rgba(var(--fg-rgb), 0.12);
  --line-2: rgba(var(--fg-rgb), 0.22);
  --amber: rgb(var(--accent-rgb));
  --amber-2: #0A5459;
  --cyan: #8A7F76;
  --red: #B4432C;
  --on-accent: #FFFFFF;
  --shadow: 0 24px 60px -28px rgba(24, 22, 20, .28);

  /* Light keeps the photograph bright and scrims only behind the words;
     dark drops the exposure and washes the whole frame, as it must to
     hold light type. */
  --hero-op: 1;
  --hero-fade: .35;
  --hero-sat: 1.02;
  --hero-scrim: linear-gradient(180deg, rgba(var(--bg-rgb), .06) 0%, rgba(var(--bg-rgb), .30) 34%,
                                rgba(var(--bg-rgb), .88) 64%, rgb(var(--bg-rgb)) 92%);

  --radius: 3px;
  --wrap: 1180px;
  --font-d: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-b: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Dark is a deliberate choice or the system default — never a surprise. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg-rgb: 15, 19, 18;
    --fg-rgb: 240, 237, 231;
    --accent-rgb: 84, 199, 196;
    --ink-2: #161C1B;
    --ink-3: #1E2524;
    --muted: #9AA09C;
    --muted-2: #C8CBC7;
    --amber-2: #86DEDA;
    --cyan: #9AA6A3;
    --red: #E08A72;
    --on-accent: #08201F;
    --shadow: 0 26px 70px -30px rgba(0, 0, 0, .75);
    --hero-op: .60;
    --hero-fade: .34;
    --hero-sat: .86;
    --hero-scrim: linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0%, rgba(var(--bg-rgb), .40) 34%, rgba(var(--bg-rgb), .88) 68%, rgb(var(--bg-rgb)) 96%);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-rgb: 15, 19, 18;
  --fg-rgb: 240, 237, 231;
  --accent-rgb: 84, 199, 196;
  --ink-2: #161C1B;
  --ink-3: #1E2524;
  --muted: #9AA09C;
  --muted-2: #C8CBC7;
  --amber-2: #86DEDA;
  --cyan: #9AA6A3;
  --red: #E08A72;
  --on-accent: #08201F;
  --shadow: 0 26px 70px -30px rgba(0, 0, 0, .75);
  --hero-op: .60;
  --hero-fade: .34;
  --hero-sat: .86;
  --hero-scrim: linear-gradient(180deg, rgba(var(--bg-rgb), .55) 0%, rgba(var(--bg-rgb), .40) 34%, rgba(var(--bg-rgb), .88) 68%, rgb(var(--bg-rgb)) 96%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  transition: background-color .4s ease, color .4s ease;
  font-family: var(--font-b); font-size: 17.5px; line-height: 1.75; letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.d { font-family: var(--font-d); font-weight: 600; letter-spacing: -0.012em; }
.kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--amber);
}
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 30px; border-radius: 3px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; letter-spacing: .02em; cursor: pointer; transition: all .3s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--on-accent); }
.btn-primary:hover { background: var(--amber-2); }
.btn-ghost { border-color: var(--line-2); background: transparent; color: var(--paper); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }

/* ---------- header ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); background: rgba(var(--bg-rgb), .86);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 12px; }
/* Nothing in the header could shrink: the wordmark, the CTA and the strapline
   all carried white-space:nowrap with no min-width:0 anywhere, so at 320-768px
   the row overflowed and body{overflow-x:hidden} clipped the burger — the only
   navigation control on the page — clean off the screen. */
.logo { display: flex; align-items: center; gap: 12px; min-width: 0; font-family: var(--font-d);
  font-weight: 600; font-size: 23px; letter-spacing: .01em; line-height: 1.1; white-space: nowrap; }
.logo > span:not(.logo-mark) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nav-right { min-width: 0; }
/* Under 430px the mark carries the brand on its own — which is what a real
   mark is for. */
@media (max-width: 429px) { .logo > span:not(.logo-mark) { display: none; } }
.logo-mark {
  display: grid; place-items: center; color: var(--amber);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.logo:hover .logo-mark { transform: translateY(-2px); }
.logo-mark svg { display: block; }
.logo small { display: none; font-family: var(--font-b); font-size: 12.5px; letter-spacing: .18em;
  color: var(--muted); font-weight: 600; margin-top: 3px; }
@media (min-width: 1024px) { .logo small { display: block; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; }
.hero-img picture, .band > picture { display: contents; }
.hero-img picture img, .hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 60%; object-position: 50% 62%;
  will-change: transform, opacity;
  /* --hero-p is the scroll position, 0 at rest to 1 one screen down.
     Transform and opacity are composited; an animated blur is not — it
     forced a full-viewport re-raster on every scroll frame, which is the
     most expensive thing a phone GPU can be asked to do here. The
     saturation is static, so it costs nothing. */
  opacity: calc(var(--hero-op) - var(--hero-p, 0) * var(--hero-fade));
  transform: scale(calc(1.14 - var(--hero-p, 0) * 0.14)) translateY(calc(var(--hero-p, 0) * 42px));
  filter: saturate(var(--hero-sat));
}
.hero-in { will-change: transform, opacity; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-scrim);
}
.hero-in { position: relative; z-index: 2; padding-block: 120px 56px; }
@media (min-width: 900px) {
  :root { --hero-scrim: linear-gradient(94deg, rgb(var(--bg-rgb)) 0%, rgba(var(--bg-rgb), .90) 26%,
                        rgba(var(--bg-rgb), .34) 58%, rgba(var(--bg-rgb), .02) 92%); }
  :root[data-theme="dark"] { --hero-scrim: linear-gradient(94deg, rgb(var(--bg-rgb)) 0%, rgba(var(--bg-rgb), .88) 28%,
                        rgba(var(--bg-rgb), .48) 62%, rgba(var(--bg-rgb), .20) 96%); }
}
.hero h1 { font-family: var(--font-d); font-weight: 550; font-size: clamp(44px, 8vw, 92px); line-height: 1.03; letter-spacing: -0.005em; margin: 18px 0 0; max-width: 13ch; }
.hero p.lede { font-size: clamp(17.5px, 2vw, 19.5px); color: var(--muted-2); max-width: 56ch; margin: 22px 0 0; line-height: 1.72; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stats b { font-family: var(--font-d); font-weight: 600; font-size: 31px; display: block; line-height: 1.1; }
.hero-stats span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
section.tight { padding: clamp(40px, 5vw, 56px) 0; }
h2.sec { font-family: var(--font-d); font-weight: 550; font-size: clamp(33px, 4.6vw, 54px); line-height: 1.1; letter-spacing: -0.005em; margin: 16px 0 0; }
p.sec-lede { color: var(--muted-2); max-width: 60ch; margin: 20px 0 0; font-size: 18.5px; line-height: 1.78; }

/* ---------- the fare engine ---------- */
.engine {
  background: var(--ink-2);
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  box-shadow: var(--shadow);
}
.engine-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .engine-grid { grid-template-columns: 1.05fr .95fr; } }
.engine-form { padding: 26px; border-bottom: 1px solid var(--line); }
@media (min-width: 1000px) { .engine-form { border-bottom: 0; border-right: 1px solid var(--line); padding: 32px; } }
.engine-out { padding: 26px; }
@media (min-width: 1000px) { .engine-out { padding: 32px; } }

.field { margin-bottom: 16px; position: relative; }
.field .lbl, .field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }


.pop {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
  background: var(--ink-3); border: 1px solid var(--line-2); border-radius: 3px;
  max-height: 300px; overflow: auto; padding: 8px; display: none;
  box-shadow: var(--shadow);
}
.pop.open { display: block; }
.pop input {
  width: 100%; height: 40px; border-radius: 2px; border: 1px solid var(--line);
  background: var(--ink-2); padding: 0 12px; margin-bottom: 8px; font-size: 15.5px;
}
.pop input:focus { border-color: var(--amber); }
.pop-item {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 9px 12px; border-radius: 2px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.pop-item:hover, .pop-item.active { background: rgba(var(--accent-rgb), .14); }
.pop-item .p-name { font-size: 15.5px; font-weight: 500; }
.pop-item .p-area { font-size: 13px; color: var(--muted); }
.pop-group { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; }


.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 42px; padding: 0 16px; border-radius: 2px; border: 1px solid var(--line-2);
  background: transparent; cursor: pointer; font-size: 14.5px; font-weight: 600;
  letter-spacing: .01em; transition: all .25s;
}
.chip:hover { border-color: var(--amber); }
.chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: var(--on-accent); }

/* clock slider */

/* price */
.price-wrap { display: flex; align-items: baseline; gap: 10px; }
.price {
  font-family: var(--font-d); font-weight: 600; font-size: clamp(60px, 10vw, 92px);
  line-height: .96; letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
  color: var(--paper);
}
.price-cur { font-family: var(--font-d); font-size: 25px; color: var(--amber); font-weight: 600; letter-spacing: .04em; }
.price-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.price-meta b { color: var(--paper); font-weight: 600; }

.breakdown { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.bd-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15.5px; }
.bd-row .bd-l { color: var(--muted-2); }
.bd-row .bd-v { font-variant-numeric: tabular-nums; font-weight: 600; }
.bd-note { font-size: 13.5px; color: var(--muted); margin-top: -3px; padding-bottom: 6px; }
.bd-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 17.5px; font-weight: 700; }

.bar { height: 8px; border-radius: 999px; background: var(--ink-3); overflow: hidden; display: flex; margin-top: 14px; }
.bar span { display: block; height: 100%; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.bar-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.bar-legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; margin-right: 6px; }

/* demand meter */
.demand { margin-top: 20px; padding: 18px; border-radius: 3px; background: transparent; border: 1px solid var(--line); }
.demand-head { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; }
.meter { height: 6px; border-radius: 999px; background: rgba(var(--fg-rgb), .08); margin-top: 9px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--amber); transition: width .6s cubic-bezier(.2,.8,.2,1); }

/* ---------- map ---------- */
.map-card { border: 1px solid var(--line); border-radius: 4px; background: var(--ink-2); padding: 20px; }
.map-card svg { width: 100%; height: auto; display: block; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: 1fr; } @media (min-width: 760px) { .g2 { grid-template-columns: 1fr 1fr; } }
.g3 { grid-template-columns: 1fr; } @media (min-width: 760px) { .g3 { grid-template-columns: repeat(3, 1fr); } }
.g4 { grid-template-columns: repeat(2, 1fr); } @media (min-width: 900px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  border: 1px solid var(--line); border-radius: 3px; background: var(--ink-2);
  padding: 26px; transition: border-color .3s, background .3s;
}
.card:hover { border-color: var(--line-2); background: var(--ink-3); }
.card h3 { font-family: var(--font-d); font-weight: 600; font-size: 24px; margin: 12px 0 8px; letter-spacing: 0; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card .ico { width: 38px; height: 38px; border-radius: 2px; border: 1px solid rgba(var(--accent-rgb), .34); color: var(--amber); display: grid; place-items: center; font-family: var(--font-b); font-size: 14.5px; font-weight: 600; }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 800px) { .gal { grid-template-columns: repeat(3, 1fr); } }

.gal button { position: relative; border: 0; padding: 0; background: var(--ink-3); border-radius: 3px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gal button { height: 100%; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.gal button:hover img { transform: scale(1.06); }
.gal figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; font-size: 13.5px; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(var(--bg-rgb), .92)); color: var(--muted-2);
}
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(var(--bg-rgb), .98); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: none; flex-direction: column; }
.lb.open { display: flex; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.lb-stage { flex: 1; position: relative; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(var(--bg-rgb), .6); cursor: pointer; display: grid; place-items: center; font-size: 21px;
}
.lb-nav:hover { border-color: var(--amber); color: var(--amber); }
.lb-strip { display: flex; gap: 8px; overflow-x: auto; padding: 12px 20px; }
.lb-strip button { width: 84px; aspect-ratio: 4/3; flex: 0 0 auto; border: 0; padding: 0; border-radius: 2px; overflow: hidden; opacity: .45; cursor: pointer; }
.lb-strip button.on { opacity: 1; outline: 2px solid var(--amber); }

/* ---------- misc ---------- */
/* Visible by default. JS adds .armed before observing, so a script that
   never runs — or an observer that never fires, as in a background tab —
   leaves the page readable rather than blank. */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.armed { opacity: 0; transform: translateY(26px); }
.reveal.armed.in { opacity: 1; transform: none; }
details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { cursor: pointer; list-style: none; font-weight: 600; display: flex;
  justify-content: space-between; gap: 14px; min-height: 44px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq p { color: var(--muted); margin: 10px 0 0; font-size: 16px; max-width: 70ch; }
details.faq[open] summary .fq { transform: rotate(180deg); }
.fq { transition: transform .2s; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: 15px; }
.sticky-quote {
  visibility: hidden;
  position: fixed; inset: auto 0 0 0; z-index: 40; background: rgba(var(--bg-rgb), .96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--amber); padding: 10px 0;
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.sticky-quote.show { transform: none; visibility: visible; }
.sticky-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
@media (min-width: 900px) { .sticky-quote { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 84px; } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal.armed { opacity: 1; transform: none; }
}

/* ---------- airport-transfer controls ---------- */
.addr {
  width: 100%; min-height: 52px; border-radius: 3px; border: 1px solid var(--line-2);
  background: var(--ink-3); padding: 0 16px; font-size: 16.5px; font-weight: 500;
  transition: border-color .2s;
}
.addr::placeholder { color: var(--muted); font-weight: 400; }
.addr:focus { border-color: var(--amber); }
.chip.small { min-height: 34px; padding: 0 12px; font-size: 14px; font-weight: 500; }
.src-badge {
  display: inline-block; margin: 12px 0 0; padding: 4px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .05em;
  background: rgba(var(--accent-rgb), .14); color: var(--cyan);
}
.src-badge.est { background: rgba(var(--accent-rgb), .14); color: var(--amber); }
.gmap { width: 100%; height: clamp(260px, 34vw, 420px); border-radius: 3px; background: var(--ink-3); display: none; }
.gmap.on { display: block; }
.map-fallback {
  border: 1px dashed var(--line-2); border-radius: 3px; padding: 22px; text-align: center;
}
.map-fallback.off { display: none; }
.map-fallback code { color: var(--amber); font-size: 14px; }
/* Google Places dropdown, restyled for the dark UI */

/* address search results share the popup styling */
#addrResults { top: calc(100% - 22px); }
.leaflet-container { background: var(--ink-3) !important; border-radius: 3px; }
.leaflet-control-attribution { background: rgba(var(--bg-rgb), .78) !important; color: var(--muted) !important; font-size: 12.5px !important; }
.leaflet-control-attribution a { color: var(--muted-2) !important; }

/* ---- Salik gates listed under the fare ---- */
.gates{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.gate-pill{display:inline-flex;align-items:center;gap:6px;font-size: 13.5px;letter-spacing:.01em;
  padding:5px 10px;border-radius:999px;color:var(--paper);
  background:rgba(var(--accent-rgb), .10);border:1px solid rgba(var(--accent-rgb), .30)}
.gate-pill::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--cyan);flex:none}
.field.no-surge{border-left:2px solid rgba(var(--accent-rgb), .35);padding-left:12px}

/* a gate that rides free on its pair — crossed, but not billed */
.gate-pill.free{color:var(--muted-2);background:rgba(var(--fg-rgb), .03);
  border-color:var(--line-2);border-style:dashed}
.gate-pill.free::before{background:var(--muted)}

/* terminal picker: two lines per chip, so the hint sits under the name */
.chips.terms .chip{flex-direction:column;align-items:flex-start;justify-content:center;
  gap:1px;min-height:44px;padding:6px 12px;line-height:1.25;text-align:left}
.chips.terms .chip-hint{font-size: 12.5px;font-weight:500;opacity:.7;letter-spacing:.01em}

/* ---- published rate table: one row per car, rendered from the engine ---- */
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.rates{overflow-x:auto;-webkit-overflow-scrolling:touch}
/* The fade used to be static, so the last column ("per km after") faded to
   transparent at every scroll position under 700px and could never be read
   in full. A scroll shadow does the same job and gets out of the way. */
@media (max-width:700px){.rates{
  background:
    linear-gradient(to right, var(--ink-2) 30%, rgba(var(--bg-rgb),0)) left / 40px 100% no-repeat,
    linear-gradient(to left,  var(--ink-2) 30%, rgba(var(--bg-rgb),0)) right / 40px 100% no-repeat,
    radial-gradient(farthest-side at 0 50%, rgba(var(--fg-rgb),.16), transparent) left / 14px 100% no-repeat,
    radial-gradient(farthest-side at 100% 50%, rgba(var(--fg-rgb),.16), transparent) right / 14px 100% no-repeat;
  background-attachment: local, local, scroll, scroll}}
.rate-table{width:100%;min-width:520px;border-collapse:collapse;font-size: 15px}
.rate-table th,.rate-table td{padding:12px 14px;text-align:left;
  border-bottom:1px solid var(--line);white-space:nowrap}
.rate-table thead th{font-size: 13px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);font-weight:700;border-bottom-color:var(--line-2)}
.rate-table tbody th{font-weight:600;color:var(--paper)}
.rate-table td{color:var(--muted-2)}
.rate-table .num{text-align:right;font-variant-numeric:tabular-nums}
.rate-table tbody tr{cursor:default}
.rate-table tbody tr:hover td,.rate-table tbody tr:hover th{background:rgba(var(--fg-rgb), .03)}
.rate-table tbody tr.on th{color:var(--amber)}
.rate-table tbody tr.on td:nth-child(4){color:var(--amber);font-weight:700}

/* ============================================================
   Premium layer — the pieces that still read as instrumentation.
   The transparency stays; the dashboard styling goes.
   ============================================================ */

/* Where the distance came from: a quiet footnote, not a status LED. */
.src-badge {
  display: block; margin: 14px 0 0; padding: 0; border-radius: 0;
  background: none; color: var(--muted);
  font-size: 13.5px; font-weight: 500; letter-spacing: .04em; text-transform: none;
}
.src-badge::before { content: "— "; color: var(--amber); }
.src-badge.est { background: none; color: var(--amber-2); }

/* The composition bar: a hairline rule under the price, not a gauge. */
.bar { height: 8px; border-radius: 0; background: rgba(var(--fg-rgb), .07); margin-top: 20px; gap: 2px; }
.bar span { transition: width .6s cubic-bezier(.2,.8,.2,1); }
.bar-legend { gap: 18px; margin-top: 12px; font-size: 13px; letter-spacing: .03em; }
.bar-legend i { width: 14px; height: 2px; border-radius: 0; margin-right: 7px; vertical-align: middle; }

/* Salik gates: a typeset list, not tags in a dev console. */
.gates { gap: 7px; margin-top: 12px; }
.gate-pill {
  border-radius: 2px; padding: 5px 11px; font-size: 13.5px; letter-spacing: .02em;
  background: transparent; border: 1px solid rgba(var(--accent-rgb), .30); color: var(--muted-2);
}
.gate-pill::before { width: 3px; height: 3px; background: var(--amber); }
.gate-pill.free { border-style: dashed; border-color: var(--line-2); color: var(--muted); }

.meter { height: 2px; border-radius: 0; background: rgba(var(--fg-rgb), .08); }
.breakdown { margin-top: 26px; }
.bd-row { padding: 9px 0; font-size: 15.5px; }
.bd-total { font-family: var(--font-d); font-size: 22px; font-weight: 600; padding-top: 16px; }
.bd-total span:last-child { color: var(--amber); }

/* Terminal and car pickers */
.chips.terms .chip { min-height: 52px; padding: 8px 16px; border-radius: 2px; }
.chips.terms .chip-hint { font-size: 12.5px; letter-spacing: .06em; opacity: .9; }

.rate-table th, .rate-table td { padding: 15px 16px; }
.rate-table thead th { font-size: 13px; letter-spacing: .18em; font-weight: 600; }
.rate-table tbody th { font-family: var(--font-b); font-size: 15.5px; font-weight: 600; padding: 0; }
.rate-pick { display: block; width: 100%; text-align: left; background: none; border: 0;
  padding: 15px 16px; min-height: 44px; font: inherit; color: inherit; cursor: pointer; }
.rate-table tbody tr.on .rate-pick { color: var(--amber); }
.rate-table tbody tr.on th { color: var(--amber); }

details.faq { border-color: var(--line); padding: 20px 0; }
details.faq summary { font-family: var(--font-d); font-size: 22px; font-weight: 600; }
details.faq p { color: var(--muted-2); font-size: 17px; line-height: 1.8; max-width: 66ch; }

/* ---- the fleet: one full-width plate per car ---- */
.fleet { display: grid; gap: 26px; margin-top: 34px; }
.fleet-car {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
  background: var(--ink-2); transition: border-color .3s;
}
.fleet-car:hover { border-color: var(--line-2); }
@media (min-width: 860px) {
  .fleet-car { grid-template-columns: 1.15fr 1fr; }
  .fleet-car.flip .fleet-shot { order: 2; }
}
.fleet-shot { position: relative; background: var(--ink-3); aspect-ratio: 16/10; overflow: hidden; }
.fleet-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.fleet-car:hover .fleet-shot img { transform: scale(1.04); }
.fleet-shot .noshot {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: var(--muted); font-size: 13.5px; letter-spacing: .06em; padding: 24px;
}
.fleet-body { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.fleet-body h3 { font-family: var(--font-d); font-weight: 600; font-size: clamp(27px, 3vw, 35px); margin: 0; }
.fleet-body p { color: var(--muted-2); font-size: 16.5px; margin: 12px 0 0; }
.fleet-spec {
  display: flex; flex-wrap: wrap; gap: 26px; margin-top: 22px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.fleet-spec div b {
  display: block; font-family: var(--font-d); font-size: 27px; font-weight: 600;
  line-height: 1.1; color: var(--paper);
}
.fleet-spec div span { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.fleet-spec div.hero-rate b { color: var(--amber); }
.fleet-pick { margin-top: 24px; align-self: flex-start; }

/* ---- the fixed-price promise, repeated deliberately ---- */
.promise {
  border-block: 1px solid var(--line); padding: 22px 0; margin-top: 34px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
}
.promise b { font-family: var(--font-d); font-weight: 600; font-size: 21px; color: var(--amber); }
.promise span { font-size: 15.5px; color: var(--muted-2); }

.seal {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px;
  border: 0; border-top: 1px solid rgba(var(--accent-rgb), .4); border-radius: 0;
  padding: 9px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--amber); background: none;
}

/* ---- what other people charge ---- */
.vs { margin-top: 30px; }
.vs-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.vs-row.us { border-bottom-color: rgba(var(--accent-rgb), .34); }
.vs-name { font-size: 16.5px; color: var(--muted-2); }
.vs-row.us .vs-name { font-family: var(--font-d); font-size: 23px; font-weight: 600; color: var(--paper); }
.vs-sub { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); margin-top: -4px; }
.vs-price { font-family: var(--font-d); font-size: 25px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vs-row.us .vs-price { color: var(--amber); font-size: 31px; }
.vs-bar { grid-column: 1 / -1; height: 2px; background: rgba(var(--fg-rgb), .08); margin-top: 8px; }
.vs-bar i { display: block; height: 100%; background: var(--muted); }
.vs-row.us .vs-bar i { background: var(--amber); }

/* ---- keyboard focus ----
   Several controls cleared the default outline without replacing it,
   which leaves anyone navigating by keyboard unable to see where they
   are on a page people book money through. */
:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}
.addr:focus-visible, .pop input:focus-visible { outline-offset: 0; }
.gal button:focus-visible, .fleet-pick:focus-visible { outline-offset: 2px; }

/* anchors should not land under the sticky header */
/* The header is sticky at 76px, so anything the toolbox or the command bar
   jumps to has to clear it — otherwise the tool's own heading lands behind
   the chrome, which is every jump the toolbox exists to make. */
:where(section, .tool, [id^="t"][data-tool]) { scroll-margin-top: 92px; }
:where(#quote, #services, #car, #pick, #compare, #coverage, #faq, #book,
       #planner, #curve, #how, #route-library, #toolbox) { scroll-margin-top: 92px; }

/* Quick picks sat at 34px tall — below the 44px touch target people
   actually hit on a phone, on a page whose whole job is a booking. */
.chip, .chip.small { min-height: 48px; padding: 0 16px; font-size: 14.5px; }
.chips.terms .chip { min-height: 56px; }
/* the four cars are the primary control: show them as four equal plates */
#vehChips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 520px) { #vehChips { grid-template-columns: repeat(4, 1fr); } }

/* The quote panel is the centre of the page; give it room to breathe and
   let the result side read as a separate plate rather than a second column. */
.engine-out { background: var(--ink-3); }
@media (min-width: 1000px) {
  .engine-form { padding: 40px 44px; }
  .engine-out  { padding: 40px 44px; }
}
.engine-form .field { margin-bottom: 26px; }
.engine-form .field:last-child { margin-bottom: 0; }
.engine-out .price-wrap { margin-top: 18px; }
.engine-out .price-meta { margin-top: 14px; gap: 20px; font-size: 14px; letter-spacing: .02em; }
.field.no-surge { border-left: 1px solid rgba(var(--accent-rgb), .42); padding-left: 16px; }

/* photo credit, where the licence requires one */
/* .shot-credit is styled with the car detail, further down. */

/* the footer's second column stayed right-ragged under a left-aligned one on a phone */
.foot-right { text-align: left; }
@media (min-width: 700px) { .foot-right { text-align: right; } }

/* photo credits ride with the photograph they belong to, and are repeated once in the footer */
.credits { margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }

/* an address outside the service area: dim the numbers we can no longer stand behind */
.engine-out.out-of-area .price-wrap,
.engine-out.out-of-area .price-meta,
.engine-out.out-of-area .bar,
.engine-out.out-of-area .bar-legend,
.engine-out.out-of-area .breakdown,
.engine-out.out-of-area .demand { display: none; }

/* ============================================================
   Full-screen menu — a panel that drops over the page, the way the
   luxury houses do it: a few enormous serif words, a quiet row of
   secondary links, and line-work that draws itself as it opens.
   ============================================================ */

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none; }
@media (min-width: 760px) { .nav-cta { display: inline-flex; } }

.burger {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  padding: 0 14px; background: none; border: 1px solid var(--line-2); border-radius: 2px;
  cursor: pointer; color: var(--paper); transition: border-color .3s, color .3s;
}
.burger:hover { border-color: var(--amber); color: var(--amber); }
.burger-word { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.burger-lines { display: block; width: 16px; }
.burger-lines i {
  display: block; height: 1px; background: currentColor; margin: 4px 0;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
body.menu-open .burger-lines i:first-child { transform: translateY(2.5px) rotate(45deg); }
body.menu-open .burger-lines i:last-child  { transform: translateY(-2.5px) rotate(-45deg); }

/* the panel itself */
.mega {
  position: fixed; inset: 0; z-index: 80; background: rgba(var(--bg-rgb), .97);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); overflow: hidden;
  transform: translateY(-100%);
  transition: transform .72s cubic-bezier(.76,0,.24,1);
}
.mega[hidden] { display: block !important; visibility: hidden; }
body.menu-open .mega { transform: none; visibility: visible; }

.mega-in {
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding-top: 96px; padding-bottom: 32px; position: relative; z-index: 2;
}

.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list a {
  display: flex; align-items: baseline; gap: 20px; padding: 4px 0;
  color: var(--muted-2); text-decoration: none;
  transition: color .35s ease, transform .5s cubic-bezier(.2,.8,.2,1);
}
.mega-idx {
  font-family: var(--font-b); font-size: 13px; font-weight: 600; letter-spacing: .18em;
  color: var(--muted); transition: color .35s; flex: none; width: 26px;
}
.mega-word {
  font-family: var(--font-d); font-weight: 550;
  font-size: clamp(38px, 8.4vw, 92px); line-height: 1.08; letter-spacing: -0.02em;
}
.mega-list a:hover, .mega-list a:focus-visible { color: var(--paper); transform: translateX(14px); }
.mega-list a:hover .mega-idx { color: var(--amber); }
/* while one is hovered the others recede, so the eye is never split */
.mega-list:hover a:not(:hover) { color: rgba(var(--fg-rgb), .58); }

/* each word rises as the panel lands */
.mega-list li { overflow: hidden; }
.mega-list li > a { transform: translateY(115%); transition: transform .7s cubic-bezier(.2,.9,.2,1), color .35s; }
body.menu-open .mega-list li > a { transform: none; }
body.menu-open .mega-list li:nth-child(1) > a { transition-delay: .16s; }
body.menu-open .mega-list li:nth-child(2) > a { transition-delay: .23s; }
body.menu-open .mega-list li:nth-child(3) > a { transition-delay: .30s; }
body.menu-open .mega-list li:nth-child(4) > a { transition-delay: .37s; }
body.menu-open .mega-list a:hover { transform: translateX(14px); }

/* a car fades in behind, changing with the word under the cursor */
.mega-preview {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: min(42vw, 520px); aspect-ratio: 16/10; opacity: 0;
  transition: opacity .6s ease; pointer-events: none; overflow: hidden; border-radius: 3px;
}
.mega-preview img { width: 100%; height: 100%; object-fit: cover; }
.mega-preview::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 4%, rgba(var(--bg-rgb), .35) 60%, rgba(var(--bg-rgb), .6));
}
@media (min-width: 900px) { .mega-list:hover ~ .mega-preview { opacity: .5; } }

.mega-foot {
  margin-top: auto; padding-top: 34px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: baseline; justify-content: space-between;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s ease .42s, transform .5s ease .42s;
}
body.menu-open .mega-foot { opacity: 1; transform: none; }
.mega-sub { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.mega-sub a {
  font-size: 13.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); transition: color .3s;
}
.mega-sub a:hover { color: var(--amber); }
.mega-note { margin: 0; font-size: 13.5px; color: var(--muted); }

/* line-work that draws itself, the way the arcs do on the houses' sites */
.mega-arc {
  position: absolute; color: rgba(var(--accent-rgb), .20); pointer-events: none;
  width: min(78vh, 660px); aspect-ratio: 1;
}
.mega-arc-1 { top: -14%; right: -12%; }
.mega-arc-2 { bottom: -22%; left: -14%; color: rgba(var(--fg-rgb), .09); }
.mega-arc circle { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.2,.8,.2,1) .1s; }
body.menu-open .mega-arc circle { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .mega { transition: none; }
  .mega-list li > a, .mega-foot { transform: none; opacity: 1; transition: none; }
  .mega-arc circle { transition: none; stroke-dashoffset: 0; }
}

/* ---- trip details ---- */
.inp {
  width: 100%; min-height: 48px; border-radius: 2px; border: 1px solid var(--line-2);
  background: var(--ink-3); padding: 0 14px; font-size: 16.5px; font-weight: 500;
  color: var(--paper); transition: border-color .25s;
}
.inp:focus { border-color: var(--amber); }
.inp::placeholder { color: var(--muted); opacity: 1; }
/* color-scheme already draws this glyph for the active theme; a fixed
   filter necessarily double-inverted it in one of the two. */
.inp::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .85; }
/* minmax(0,1fr): date/time inputs have an intrinsic min-width that was
   forcing uneven columns (163px against 128px on a phone). */
.when { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.when-cell, .when .inp, .when .stepper { min-width: 0; }
.when-cell { display: block; }
.when-cap {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.opt { font-size: 12px; letter-spacing: .12em; color: var(--muted); margin-left: 6px; }
.stepper {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: 48px; border: 1px solid var(--line-2); border-radius: 2px; padding: 0 6px;
}
.step-btn {
  width: 38px; height: 38px; border: 0; background: none; color: var(--muted-2);
  font-size: 19px; line-height: 1; cursor: pointer; border-radius: 2px; transition: color .2s, background .2s;
}
.step-btn:hover:not(:disabled) { color: var(--amber); background: rgba(var(--accent-rgb), .08); }
.step-btn:disabled { opacity: .3; cursor: not-allowed; }
.step-val { font-family: var(--font-d); font-size: 23px; font-weight: 600; min-width: 24px; text-align: center; }
.capacity.over { color: var(--amber-2); }

/* ---- the booking drawer ---- */
.drawer-veil {
  position: fixed; inset: 0; z-index: 85; background: rgba(var(--bg-rgb), .72);
  opacity: 0; transition: opacity .4s ease;
}
.drawer-veil.show { opacity: 1; }
.drawer[hidden] { display: none; }
.drawer {
  position: fixed; z-index: 86; top: 0; right: 0; bottom: 0; width: min(94vw, 460px);
  background: var(--ink-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.drawer.show { transform: none; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 24px 26px 18px; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { margin: 0; font-size: 29px; font-weight: 600; }
.drawer-x {
  width: 44px; height: 44px; border: 1px solid var(--line-2); background: none;
  color: var(--muted-2); border-radius: 2px; cursor: pointer; font-size: 16.5px; transition: all .25s;
}
.drawer-x:hover { border-color: var(--amber); color: var(--amber); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 26px; }
.drawer-foot[hidden] { display: none; }
.drawer-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot .btn { width: 100%; }
.drawer-total {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 14.5px; color: var(--muted); margin-bottom: 4px;
}
.drawer-total b { font-size: 31px; color: var(--amber); }

.cart-line { padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cart-route { font-family: var(--font-d); font-size: 21px; font-weight: 600; line-height: 1.25; }
.cart-price { font-family: var(--font-d); font-size: 23px; font-weight: 600; color: var(--amber); white-space: nowrap; }
.cart-meta { margin: 8px 0 0; font-size: 14px; color: var(--muted); line-height: 1.6; }
.cart-meta b { color: var(--muted-2); font-weight: 600; }
.cart-drop {
  margin-top: 10px; background: none; border: 0; padding: 6px 0; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .25s;
}
.cart-drop:hover { color: var(--red); }
.cart-empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* the header booking button */
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: none; border: 1px solid var(--line-2); border-radius: 2px; color: var(--paper);
  cursor: pointer; transition: border-color .3s, color .3s;
}
.cart-btn:hover { border-color: var(--amber); color: var(--amber); }
.cart-word { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--amber); color: var(--on-accent); font-size: 13px; font-weight: 700;
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.cart-btn[data-empty="true"] .cart-count { background: var(--line-2); color: var(--muted); }
@media (max-width: 520px) { .cart-word, .burger-word { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer-veil { transition: none; }
}
.inp.needs { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .14); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---- car detail ---- */
.fleet-tag {
  margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber);
}
.fleet-best { margin: 10px 0 0; font-size: 17px; font-weight: 600; color: var(--paper) !important; }
.fleet-note { margin: 8px 0 0; }
.fleet-feel { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.fleet-feel li {
  position: relative; padding-left: 26px; font-size: 16px; line-height: 1.6; color: var(--muted-2);
}
.fleet-feel li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px;
  border-left: 1.6px solid var(--amber); border-bottom: 1.6px solid var(--amber);
  transform: rotate(-45deg) translateY(-1px);
}
.fleet-story { margin: 0 0 18px !important; font-size: 16.5px; line-height: 1.78; }
.shot-credit {
  position: absolute; right: 10px; bottom: 9px; z-index: 2;
  font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.96);
  background: rgba(0,0,0,.62); padding: 3px 8px; border-radius: 2px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.fleet-shot.zoomable { cursor: zoom-in; }
.fleet-strip {
  grid-column: 1 / -1; display: flex; gap: 8px; padding: 14px 30px 22px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line);
}
.fleet-thumb {
  flex: 0 0 auto; width: 92px; aspect-ratio: 4/3; padding: 0; cursor: pointer;
  border: 1px solid var(--line); border-radius: 2px; overflow: hidden;
  background: var(--ink-3); opacity: .55; transition: opacity .3s, border-color .3s;
}
.fleet-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fleet-thumb:hover { opacity: .85; }
.fleet-thumb.on { opacity: 1; border-color: var(--amber); }

.fleet-more { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.fleet-more summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; min-height: 40px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  transition: color .25s;
}
.fleet-more summary:hover { color: var(--amber); }
.fleet-more summary::-webkit-details-marker { display: none; }
.fleet-more[open] summary .fq { transform: rotate(180deg); }
.spec-list { margin: 12px 0 0; display: grid; gap: 0; }
.spec-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px;
}
.spec-row dt { color: var(--muted); margin: 0; }
.spec-row dd { margin: 0; color: var(--muted-2); text-align: right; }
.spec-kit-h {
  margin: 18px 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.spec-kit { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.spec-kit li {
  font-size: 13.5px; color: var(--muted-2); padding: 5px 11px;
  border: 1px solid var(--line); border-radius: 2px;
}

/* ---- the theme switch ---- */
.theme-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-2); border-radius: 2px;
  color: var(--paper); cursor: pointer; transition: border-color .3s, color .3s;
}
.theme-btn:hover { border-color: var(--amber); color: var(--amber); }
.theme-btn .ico-moon { display: none; }
:root[data-theme="dark"] .theme-btn .ico-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ico-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .ico-sun { display: none; }
  :root:not([data-theme="light"]) .theme-btn .ico-moon { display: block; }
}

/* ============================================================
   Full-bleed Dubai. These break the column deliberately — the page
   needs somewhere to breathe between the dense pricing sections, and
   the city is the reason anyone is booking.
   ============================================================ */
.band {
  position: relative; padding: 0; isolation: isolate;
  min-height: clamp(420px, 56vw, 620px);
  display: grid; align-items: center; overflow: hidden;
}
.band-tall { min-height: clamp(360px, 44vw, 520px); }
.band > picture > img, .band > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg,
    rgba(var(--bg-rgb), .94) 0%,
    rgba(var(--bg-rgb), .80) 38%,
    rgba(var(--bg-rgb), .28) 72%,
    rgba(var(--bg-rgb), .10) 100%);
}
.band-in { position: relative; padding: clamp(48px, 7vw, 88px) 20px; max-width: var(--wrap); }
.band-in h2 {
  font-family: var(--font-d); font-weight: 550;
  font-size: clamp(31px, 4.6vw, 54px); line-height: 1.1; margin: 14px 0 0; max-width: 18ch;
}
.band-in p { max-width: 48ch; margin: 18px 0 0; color: var(--muted-2); font-size: 17.5px; line-height: 1.7; }
.band-in .btn { margin-top: 26px; }
@media (max-width: 700px) {
  .band::after {
    background: linear-gradient(180deg,
      rgba(var(--bg-rgb), .90) 0%, rgba(var(--bg-rgb), .78) 55%, rgba(var(--bg-rgb), .40) 100%);
  }
}

/* ---- the three things people want to know before they commit ---- */
.pay-up { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 1px; }
.pay-up li { display: grid; gap: 3px; padding: 14px 0; border-top: 1px solid var(--line); }
.pay-up li:last-child { border-bottom: 1px solid var(--line); }
.pay-up b {
  font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--amber);
}
.pay-up span { font-size: 15px; color: var(--muted-2); line-height: 1.6; }

/* ---- all four cars, priced on the route in the calculator ---- */
.pick-route {
  font-family: var(--font-d); font-size: clamp(20px, 2.4vw, 27px); font-weight: 600;
  margin: 26px 0 0; color: var(--paper);
}
.pick-grid { display: grid; gap: 12px; margin-top: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .pick-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pick-grid { grid-template-columns: repeat(4, 1fr); } }
.pick-card {
  display: grid; gap: 0; padding: 0; text-align: left; cursor: pointer; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 3px;
  transition: border-color .3s, background .3s, transform .3s;
}
.pick-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pick-card.on { border-color: var(--amber); background: rgba(var(--accent-rgb), .05); }
.pick-card.tight { opacity: 1; }
.pick-shot { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--ink-3); }
.pick-shot img { width: 100%; height: 100%; object-fit: cover; }
.pick-body { display: grid; gap: 4px; padding: 16px 18px 18px; }
.pick-name {
  font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.pick-card.on .pick-name { color: var(--amber); }
.pick-fare {
  font-family: var(--font-d); font-size: 33px; font-weight: 600; line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--paper);
}
.pick-delta { font-size: 13.5px; color: var(--muted); }
.pick-cap { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.pick-card.tight .pick-cap { color: var(--red); }

/* ---- the coverage map ---- */
.cover-wrap { display: grid; gap: 16px; margin-top: 26px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .cover-wrap { grid-template-columns: 1.5fr 1fr; align-items: stretch; } }
.cover-map {
  min-height: clamp(320px, 44vw, 520px); border: 1px solid var(--line);
  border-radius: 3px; background: var(--ink-3);
}
.cover-side {
  border: 1px solid var(--line); border-radius: 3px; padding: 20px;
  background: var(--ink-2); overflow-y: auto; max-height: clamp(320px, 44vw, 520px);
}
.cover-h {
  margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.cover-h + .cover-list { margin-bottom: 22px; }
.cover-list { display: flex; flex-wrap: wrap; gap: 6px; }
.cover-chip {
  border: 1px solid var(--line-2); background: none; color: var(--muted-2);
  border-radius: 2px; padding: 8px 12px; min-height: 38px; font-size: 14px;
  cursor: pointer; transition: all .25s;
}
.cover-chip:hover { border-color: var(--amber); color: var(--amber); }
.cover-chip.air { display: inline-grid; gap: 1px; text-align: left; padding: 8px 14px; }
.cover-chip.air b { font-family: var(--font-d); font-size: 18px; font-weight: 600; color: var(--paper); }
.cover-chip.air span { font-size: 12.5px; color: var(--muted); }
.cover-chip.air:hover b { color: var(--amber); }

/* Touch targets: the stepper, the coverage chips and the remove control
   were all under the 44px minimum on a phone. */
.step-btn { width: 44px; height: 44px; }
.cover-chip { min-height: 44px; }
.cart-drop { min-height: 44px; padding: 12px 0; }

/* ============================================================
   Interaction
   ============================================================ */

/* how far down the page you are */
.scroll-rail {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 90;
  background: transparent; pointer-events: none;
}
.scroll-rail i {
  display: block; height: 100%; background: var(--amber);
  transform: scaleX(0); transform-origin: 0 50%;
}

/* back to the top */
.to-top[hidden] { display: none; }
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: var(--ink-2); color: var(--paper); cursor: pointer;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s, border-color .3s, color .3s;
  box-shadow: var(--shadow);
}
.to-top.in { opacity: 1; transform: none; }
.to-top:hover { border-color: var(--amber); color: var(--amber); }
@media (max-width: 899px) { .to-top { bottom: 96px; } }

/* swap the direction in one press */
.dir-row { display: flex; align-items: center; gap: 10px; }
.dir-row .chips { flex: 1; }
.swap-btn {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 2px; background: none;
  color: var(--muted-2); cursor: pointer; transition: border-color .25s, color .25s;
}
.swap-btn:hover { border-color: var(--amber); color: var(--amber); }
.swap-btn svg { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.swap-btn.spin svg { transform: rotate(180deg); }

/* ---- the fare curve ---- */
.curve-wrap {
  margin-top: 28px; padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line); border-radius: 4px; background: var(--ink-2);
}
.curve-head {
  display: grid; gap: 20px; grid-template-columns: 1fr;
  padding-bottom: 22px; border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .curve-head { grid-template-columns: auto 1fr auto; align-items: end; } }
.curve-cap {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.curve-km { font-family: var(--font-d); font-size: 34px; font-weight: 600; line-height: 1; }
.curve-out { text-align: left; }
@media (min-width: 720px) { .curve-out { text-align: right; } }
.curve-fare {
  font-family: var(--font-d); font-size: clamp(40px, 6vw, 62px); font-weight: 600;
  line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums;
}
.curve-fare small { font-size: .35em; margin-right: .35em; color: var(--muted); font-weight: 600; }
.curve-gates { display: flex; gap: 6px; }
.curve-gate {
  width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 2px;
  background: none; color: var(--muted-2); cursor: pointer; font-size: 15px;
  font-variant-numeric: tabular-nums; transition: all .22s;
}
.curve-gate:hover { border-color: var(--amber); color: var(--amber); }
.curve-gate.on { background: var(--amber); border-color: var(--amber); color: var(--on-accent); }

.curve-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px;
  margin: 22px 0 6px; background: none; cursor: grab;
}
.curve-range:active { cursor: grabbing; }
.curve-range::-webkit-slider-runnable-track {
  height: 3px; background: var(--line-2); border-radius: 2px;
}
.curve-range::-moz-range-track { height: 3px; background: var(--line-2); border-radius: 2px; }
.curve-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -11.5px;
  border-radius: 50%; background: var(--amber); border: 3px solid var(--ink-2);
  box-shadow: 0 2px 10px rgba(var(--fg-rgb), .22); cursor: grab;
}
.curve-range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--amber);
  border: 3px solid var(--ink-2); cursor: grab;
}
.curve-range:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: 4px; }

.curve-chart { margin-top: 10px; }
.curve-chart svg { width: 100%; height: clamp(120px, 18vw, 180px); display: block; overflow: visible; }
.curve-flat { stroke: var(--muted); stroke-dasharray: 5 4; }
.curve-slope { stroke: var(--amber); }
.curve-dot { fill: var(--amber); stroke: var(--ink-2); stroke-width: 3; transition: cx .12s linear, cy .12s linear; }
.curve-axis {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 13px; color: var(--muted);
}
.curve-eq {
  margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted-2); font-variant-numeric: tabular-nums; line-height: 1.7;
}

/* ---- searching the questions ---- */
.faq-find { margin-top: 22px; }
.faq-count { margin: 10px 0 0; font-size: 14px; }

/* A skip link: the page is sixteen sections long behind a sticky header. */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  padding: 12px 18px; background: var(--amber); color: var(--on-accent);
  border-radius: 2px; font-weight: 600; font-size: 15px;
  transition: top .18s;
}
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { .skip { transition: none; } }
