/* Akwaaba Rides homepage: navy and electric blue. Tokens first, then layout.
   Names kept from the first palette: --forest* are the navies, --ochre is the light blue accent on navy, --ochre-ink the royal blue accent on white, --gold the one warm touch (name sign edge). */
:root {
  --forest: #13294B;
  --forest-deep: #0A1A33;
  --forest-line: #22385C;
  --ochre: #7DB0FF;          /* light blue: accents on navy */
  --ochre-hi: #A9C8FF;
  --blue: #1457D9;           /* actions on white */
  --blue-hi: #0F46B0;
  --gold: #C9A227;
  --ochre-ink: #1457D9;      /* blue accent on white */
  --focus: #1457D9;
  --bone: #F6F7F9;
  --sand: #ECEFF3;
  --slate: #5A6270;
  --ink: #1F2329;
  --line: #DCE0E6;
  --ok: #1F7A4D;
  --bad: #B3261E;
  --surface: #FFFFFF;
  --page: var(--bone);
  --text: var(--ink);
  --muted: var(--slate);
  --display: 'Syne', 'Plus Jakarta Sans', system-ui, sans-serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  /* Nkyinkyim ("the journey"): a twisting zigzag, drawn as a tile and shown at a few percent. */
  --nkyinkyim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M0 14 L14 0 L28 14 L42 0 L56 14 M0 42 L14 28 L28 42 L42 28 L56 42' fill='none' stroke='%23F9F8F5' stroke-width='3'/%3E%3Ccircle cx='28' cy='28' r='3' fill='%23F9F8F5'/%3E%3C/svg%3E");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0A1424; --surface: #111E33; --sand: #0D1A2C; --text: #EEF1F5; --muted: #A6B0BF;
    --line: #24344F; --ochre-ink: #7DB0FF; --focus: #7DB0FF; --ok: #6FD3A0; --bad: #F2A39C; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0A1424; --surface: #111E33; --sand: #0D1A2C; --text: #EEF1F5; --muted: #A6B0BF;
  --line: #24344F; --ochre-ink: #7DB0FF; --focus: #7DB0FF; --ok: #6FD3A0; --bad: #F2A39C; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--page); color: var(--text); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ochre); color: var(--forest-deep); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; z-index: 10; }
.skip:focus { top: 12px; }
.hero, .air, .foot, .welcome-photo { --focus: #7DB0FF; }
.card { --focus: #1457D9; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(110% 80% at 88% 0%, #12306A 0%, #0A1A33 55%, #07122A 100%);
  color: var(--bone);
  padding: 0 24px 88px;
  position: relative;
  isolation: isolate;
}
/* The Nkyinkyim tile, kept faint. */
.nav { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: .01em; }
.brand-mark { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 28px; font-weight: 500; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .82; }
.nav-links a:hover, .nav-links a.on { opacity: 1; }

.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: start; padding-top: 48px; }
.hero-copy { padding-top: 24px; display: grid; gap: 24px; }
.welcome { font: 700 20px/1 var(--display); color: var(--ochre); letter-spacing: .02em; }
.hero h1 { font: 800 clamp(38px, 4.7vw, 66px)/1.04 var(--display); letter-spacing: -.03em; max-width: 14ch; text-wrap: balance; }
.lede { font-size: 19px; line-height: 1.55; color: #D5DCE6; max-width: 44ch; }
.trust { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; max-width: 560px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: #E8ECF2; }
.trust svg { flex: none; width: 24px; height: 24px; color: #3F7BFF; margin-top: -1px; }
.brand-rides { color: #4D8DFF; font-weight: inherit; }
.rating { font-size: 15px; color: #D5DCE6; }
.rating b { color: var(--ochre); font-weight: 700; }

/* ---------- Booking card ---------- */
.card { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(125, 176, 255, .45); display: grid; gap: 20px; }

/* The arrivals name sign: the thing the driver holds at Terminal 3. */
.sign { margin: 0; background: #FFFFFF; color: var(--ink); border-radius: var(--r-md); padding: 16px 20px 14px; border: 2px solid var(--gold); display: grid; gap: 4px; position: relative; box-shadow: inset 0 0 0 3px #FFFFFF, inset 0 0 0 4.5px rgba(201, 162, 39, .55); }
.sign-top { font-size: 12px; font-weight: 600; color: #8A6D12; letter-spacing: .02em; }
.sign-name { font: 700 clamp(22px, 2.6vw, 30px)/1.15 var(--display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.sign-name.empty { color: #A3A9B2; }
.sign-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: #3A4048; font-variant-numeric: tabular-nums; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--sand); padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(20, 87, 217, .35); }
.steps button { width: 100%; border: 0; background: transparent; color: var(--muted); font: 600 14px/1 var(--sans); padding: 10px 6px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.steps button span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 12px; }
.steps button[aria-current="step"] { background: var(--blue); color: #FFFFFF; }
.steps button[aria-current="step"] span { background: #FFFFFF; border-color: #FFFFFF; color: var(--blue); }
.steps button.done span { background: var(--forest); border-color: var(--forest); color: var(--bone); }
:root[data-theme="dark"] .steps button[aria-current="step"] { background: var(--blue); color: #FFFFFF; }

form { display: block; }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; min-width: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.f { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); min-width: 0; }
.opt { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 6px; }
input, select { font: 500 16px/1.2 var(--sans); color: var(--text); background: var(--page); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px; min-height: 50px; width: 100%; }
input::placeholder { color: #8A919C; font-weight: 400; }
input:hover, select:hover { border-color: #B4BBC6; }
input:focus, select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(20, 87, 217, .25); }
input[aria-invalid="true"] { border-color: var(--bad); }
.hint { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.55; }
.fine a, .check a { color: var(--text); text-decoration-color: var(--ochre-ink); text-underline-offset: 3px; }

/* Airport toggle and vehicle choice */
.seg, .vehicles { display: grid; gap: 10px; }
.seg { grid-template-columns: 1fr 1fr; }
.vehicles { grid-template-columns: repeat(3, 1fr); }
.seg label, .vehicles label { position: relative; cursor: pointer; }
.seg input, .vehicles input { position: absolute; opacity: 0; inset: 0; min-height: 0; }
.seg span, .vehicles span { display: grid; gap: 2px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--page); transition: border-color .15s, background-color .15s; }
.seg b, .vehicles b { font: 600 16px/1.2 var(--display); }
.seg small, .vehicles small { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.vehicles label.nofit span { opacity: .42; cursor: not-allowed; }
.seg input:checked + span, .vehicles input:checked + span { border-color: var(--forest); background: rgba(19, 41, 75, .06); box-shadow: inset 0 0 0 1px var(--forest); }
:root[data-theme="dark"] .seg input:checked + span, :root[data-theme="dark"] .vehicles input:checked + span { border-color: var(--ochre); box-shadow: inset 0 0 0 1px var(--ochre); background: rgba(125,176,255,.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seg input:checked + span, :root:not([data-theme="light"]) .vehicles input:checked + span { border-color: var(--ochre); box-shadow: inset 0 0 0 1px var(--ochre); background: rgba(125,176,255,.08); } :root:not([data-theme="light"]) .steps button[aria-current="step"] { background: var(--blue); color: #FFFFFF; } }
.seg input:focus-visible + span, .vehicles input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Area autocomplete */
.combo { position: relative; }
.combo ul { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); max-height: 260px; overflow: auto; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); }
.combo li { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.combo li small { color: var(--muted); font-weight: 500; }
.combo li[aria-selected="true"], .combo li:hover { background: var(--sand); }
.combo li.none { cursor: default; color: var(--muted); }
.combo li.unlisted { border-top: 1px solid var(--line); font-weight: 700; color: var(--ochre-ink); }
.combo li.unlisted small { color: var(--muted); font-weight: 500; }

.extras { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 4px 14px; }
.extras summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.extras[open] { padding-bottom: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; padding: 6px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; margin: 1px 0 0; accent-color: var(--forest); }
.check em { font-style: normal; color: var(--muted); margin-left: 4px; }

.btn { font: 700 16px/1 var(--sans); border: 0; border-radius: 999px; padding: 17px 24px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; }
.btn-gold { background: var(--blue); color: #FFFFFF; width: 100%; }
.btn-gold:hover { background: var(--blue-hi); }
.btn-gold:disabled { opacity: .45; cursor: not-allowed; }
.btn-forest { background: var(--forest); color: var(--bone); }
.btn-quiet { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.err { color: var(--bad); font-weight: 600; font-size: 14.5px; }

/* Fare strip */
.fare { border-top: 1.5px dashed var(--line); padding-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: end; }
.fare-main { display: grid; gap: 2px; }
.fare-label { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.fare-total { font: 700 32px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fare-total:empty { display: none; }
.fare-alt { font-size: 13px; color: var(--muted); }
.cur { display: flex; background: var(--sand); border-radius: 999px; padding: 4px; gap: 2px; }
.cur button { border: 0; background: transparent; font: 700 12.5px/1 var(--sans); color: var(--muted); padding: 9px 11px; border-radius: 999px; cursor: pointer; }
.cur button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.fare-lines { grid-column: 1 / -1; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.fare-lines div { display: flex; justify-content: space-between; gap: 12px; }
.fare-lines:empty { display: none; }

/* Confirmation */
.done h2 { font: 700 28px/1.15 var(--display); }
.done #doneText { display: grid; gap: 14px; font-size: 15.5px; }
.note { background: var(--sand); border-radius: var(--r-md); padding: 16px; display: grid; gap: 10px; font-size: 14.5px; }
.pill { display: inline-block; background: var(--sand); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.code { font: 700 15px/1.4 var(--sans); letter-spacing: .04em; user-select: all; overflow-wrap: anywhere; }

/* ---------- Sections ---------- */
main { display: grid; }
.band { max-width: 1200px; margin: 0 auto; padding: 96px 24px 0; width: 100%; }
.band > h2 { font: 700 clamp(28px, 3.2vw, 42px)/1.1 var(--display); letter-spacing: -.02em; max-width: 18ch; margin-bottom: 40px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: how; }
.how li { counter-increment: how; display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--text); padding-top: 20px; }
.how li::before { content: counter(how); font: 800 44px/1 var(--display); color: var(--ochre-ink); }
.how h3, .who h3 { font: 600 20px/1.3 var(--display); }
.how p, .who p, .faq p { color: var(--muted); max-width: 46ch; }

.airports { max-width: 1200px; margin: 96px auto 0; padding: 0 24px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.air { border-radius: var(--r-lg); overflow: hidden; background: var(--forest); color: var(--bone); display: grid; position: relative; min-height: 420px; }
.air-acc { grid-template-rows: auto 1fr; }
.air-acc picture img { width: 100%; height: 250px; object-fit: cover; object-position: 50% 40%; display: block; }
.air-kms { background: var(--forest-deep); isolation: isolate; }
.air-kms::before { content: ""; position: absolute; inset: 0; background-image: var(--nkyinkyim); background-size: 56px 56px; opacity: .06; z-index: -1; }
.air-text { position: relative; padding: 36px 32px; display: grid; gap: 12px; align-content: end; }
.air h3 { font: 700 clamp(22px, 2.1vw, 28px)/1.15 var(--display); letter-spacing: -.015em; }
.air-sub { color: var(--ochre); font-weight: 700; }
.air p:not(.air-sub) { color: #D5DCE6; max-width: 40ch; }

.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.who-grid > div { display: grid; gap: 10px; align-content: start; }
.faq details { max-width: 820px; }
.faq details { border-bottom: 1.5px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font: 600 18px/1.4 var(--display); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ochre-ink); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; }

.foot { margin-top: 112px; background: var(--forest-deep); color: #C5CDD8; padding: 40px 24px 48px; display: grid; gap: 12px; justify-items: center; text-align: center; font-size: 14px; }
.foot p:last-child { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.foot a { text-decoration-color: var(--ochre); text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 20px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { max-width: 16ch; }
  .airports { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero { padding: 0 16px 56px; }
  .nav-links a:not(:last-child) { display: none; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .lede { font-size: 17px; }
  .trust { grid-template-columns: 1fr; }
  .card { padding: 20px 16px; border-radius: 18px; }
  .row2, .row3 { grid-template-columns: 1fr 1fr; }
  .row3 .f:first-child { grid-column: 1 / -1; }
  .vehicles { grid-template-columns: 1fr 1fr; }
  .steps button { font-size: 13px; gap: 6px; }
  .fare { grid-template-columns: 1fr; }
  .cur { justify-self: start; }
  .band { padding: 72px 16px 0; }
  .how, .who-grid { grid-template-columns: 1fr; gap: 32px; }
  .airports { padding: 0 16px; margin-top: 72px; }
  .air { min-height: 0; }
  .air-text { padding: 28px 22px; }
  .row2:has(#phone) { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .steps button { font-size: 0; } .steps button span { font-size: 12px; } }



/* Service switch: airport pickups today, city rides coming soon */
.svc { display: grid; gap: 12px; align-content: start; min-width: 0; }
.svc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: var(--blue); box-shadow: 0 10px 30px -12px rgba(20, 87, 217, .7); }
.svc-tabs button { font: 700 15px/1 var(--sans); color: var(--bone); background: transparent; border: 0; border-radius: 999px; min-height: 46px; padding: 0 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.svc-tabs button[aria-selected="true"] { background: #FFFFFF; color: var(--blue); }
.svc-tabs button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.svc-tabs .soon { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(249, 248, 245, .16); }
.svc-tabs button[aria-selected="true"] .soon { background: rgba(20, 87, 217, .12); }
.city-title { font: 800 26px/1.15 var(--display); letter-spacing: -.01em; }
.city-lede { font-size: 16px; line-height: 1.5; }
#cityForm { display: grid; gap: 14px; }
.h1-sub { font: 700 clamp(22px, 2.4vw, 32px)/1.2 var(--display); color: var(--ochre); letter-spacing: -.01em; margin-top: -6px; text-wrap: balance; max-width: 22ch; }
.city-live:not([hidden]) { display: grid; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }

.band-lede { max-width: 62ch; color: var(--muted, #5A6270); font-size: 18px; line-height: 1.6; margin: -16px 0 40px; }
.band-cta { margin: 32px 0 0; }
.band-cta .btn { width: auto; display: inline-flex; padding-left: 28px; padding-right: 28px; }

.air-kms:has(.air-bg) { grid-template-rows: auto 1fr; }
.air-kms .air-bg img { width: 100%; height: 250px; object-fit: cover; object-position: 50% 45%; display: block; }
.air-kms:has(.air-bg)::before { z-index: 0; }
.air-kms .air-text { z-index: 1; padding-top: 24px; }
.welcome-photo { margin: 0 0 56px; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.welcome-photo img { width: 100%; height: clamp(260px, 42vw, 520px); object-fit: cover; object-position: 50% 35%; display: block; }
.welcome-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 28px 22px; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); color: #F6F7F9; font: 600 clamp(17px, 1.6vw, 22px)/1.35 var(--display); background: linear-gradient(180deg, rgba(10, 26, 51, 0), rgba(10, 26, 51, .92)); }
.welcome-photo figcaption span { color: var(--ochre); }
@media (max-width: 700px) { .air-acc picture img { height: auto; aspect-ratio: 2 / 1; } }

.closing { text-align: center; padding-bottom: 24px; }
.closing > h2 { max-width: none; margin: 0 auto 16px; }
.closing > h2 span { color: var(--ochre-ink); }
.closing .band-lede { margin: 0 auto; }


/* =====================================================================
   Motion (public/motion.js). Everything here is calm by default and
   switches off for visitors who ask for reduced motion.
   ===================================================================== */
html { scroll-padding-top: 84px; }

/* ---------- Hero map in layers ---------- */
.hero-map { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 26%, #000 46%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 26%, #000 46%, #000 92%, transparent 100%); }
.hm-stage { position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 1.6 / 1; transform: translateX(-50%); }
.hm-pan { position: absolute; inset: 0; transition: transform 1.3s cubic-bezier(.6, 0, .2, 1); }
.hero-map.kms .hm-pan { transform: translate(3%, -2%); }
.hm-base, .hm-over { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-base { will-change: transform; }
.hm-base img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.hm-lit { filter: brightness(2.2) saturate(1.25); opacity: 0; transition: opacity .45s ease;
  -webkit-mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.5) 45%, transparent 75%);
  mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0,0,0,.5) 45%, transparent 75%); }
.hero-map.torch .hm-lit { opacity: 1; }
#hmLabels text { transition: opacity .4s ease; }
#hmLabels.swap text { opacity: 0 !important; }
#hmPinBody.drop { animation: hmDrop .8s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes hmDrop { 0% { transform: translateY(-70px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@media (max-width: 820px) { .hero-map { opacity: .55; -webkit-mask-image: none; mask-image: none; } }

/* ---------- Curved road edge under the hero ---------- */
.road-edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; display: block; pointer-events: none; }
.road-edge path:first-child { fill: var(--page); }
.road-edge .lanes { stroke: #7DB0FF; stroke-width: 2.5; stroke-dasharray: 26 38; opacity: .6; vector-effect: non-scaling-stroke; animation: lanes 3s linear infinite; }
@keyframes lanes { to { stroke-dashoffset: -64; } }
@media (max-width: 720px) { .road-edge { height: 40px; } }

/* ---------- Fixed nav: transparent over the hero, frosted glass once you scroll ---------- */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 40; max-width: none; margin: 0;
  padding: 20px max(24px, calc((100% - 1200px) / 2)); transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease, backdrop-filter .35s; color: var(--bone); }
.nav.glass { background: rgba(7, 18, 42, .74); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); padding-block: 12px; }
body .hero { padding-top: 78px; }
.nav-links { position: relative; }
.nav-links a { padding-bottom: 8px; transition: opacity .2s; }
.nav-bar { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; border-radius: 2px; background: var(--ochre); opacity: 0; transition: transform .32s cubic-bezier(.2, .7, .3, 1), width .32s cubic-bezier(.2, .7, .3, 1), opacity .25s; }
@media (max-width: 720px) { .nav { padding: 14px 16px; } .nav.glass { padding-block: 10px; } body .hero { padding-top: 66px; } }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; transition: transform .18s cubic-bezier(.2, .7, .3, 1), box-shadow .18s ease, background-color .18s ease, opacity .2s; }
.btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(20, 87, 217, .7); }
.btn:not(:disabled):active { transform: translateY(0) scale(.98); box-shadow: 0 4px 10px -6px rgba(20, 87, 217, .8); transition-duration: .06s; }
.btn .arr { width: 18px; height: 18px; flex: none; transition: transform .22s cubic-bezier(.2, .7, .3, 1); }
.btn:not(:disabled):hover .arr { transform: translateX(4px); }
.btn .rip { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .42); transform: scale(0); animation: rip .6s ease-out forwards; pointer-events: none; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }
.btn.sweep::after { content: ""; position: absolute; inset: -2px; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.btn.sweep:not(:disabled):hover::after { transform: translateX(120%); transition: transform .8s cubic-bezier(.3, .6, .2, 1); }
.closing .btn { transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .18s ease, background-color .18s ease; }

/* ---------- Service tabs and steps: a pill that slides ---------- */
.svc-tabs { position: relative; }
.svc-tabs.pilled::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 0; width: var(--pw, 0); transform: translateX(var(--px, 0)); border-radius: 999px; background: #FFFFFF; transition: transform .45s cubic-bezier(.3, 1.3, .5, 1), width .3s ease; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); }
.svc-tabs.pilled button { position: relative; z-index: 1; transition: color .3s ease, background-color .2s ease; }
.svc-tabs.pilled button[aria-selected="true"] { background: transparent !important; }
.svc-tabs.pilled button[aria-selected="false"]:hover { background: rgba(255, 255, 255, .12); }
.steps { position: relative; }
.steps li { position: relative; z-index: 1; }
.steps.pilled::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--pw, 0); transform: translateX(var(--px, 0)); border-radius: 999px; background: var(--blue); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), width .3s ease; box-shadow: 0 6px 16px -8px rgba(20, 87, 217, .8); }
.steps.pilled button[aria-current="step"] { background: transparent !important; }
.steps button { transition: color .3s ease; }
.steps button span { transition: background-color .3s, color .3s, border-color .3s; }

/* ---------- Arrivals-board name sign ---------- */
.flap-src { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flap { display: flex; flex-wrap: wrap; gap: 3px; min-height: 36px; align-items: center; }
.flap.empty { font: 700 clamp(22px, 2.6vw, 30px)/1.15 var(--display); letter-spacing: -.01em; color: #A3A9B2; }
.flap i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 34px; border-radius: 4px; background: #0A1A33; color: #FFFFFF; font: 700 19px/1 var(--display); position: relative; overflow: hidden; }
.flap i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.flap i.gap { background: transparent; width: 10px; }
.flap i.gap::after { display: none; }
.flap i.tick { animation: tick .07s linear; }
@keyframes tick { 50% { transform: scaleY(.15); } }
@media (max-width: 720px) { .flap i { width: 20px; height: 30px; font-size: 16px; } }

/* ---------- Fare odometer ---------- */
.odo { display: inline-flex; align-items: baseline; }
.odo:empty { display: none; }
.odo .dg { display: inline-block; height: 1.1em; overflow: hidden; vertical-align: bottom; }
.odo .dg > span { display: flex; flex-direction: column; transition: transform .75s cubic-bezier(.2, .8, .2, 1); }
.odo .dg > span > span { height: 1.1em; line-height: 1.1em; text-align: center; }
.odo .ch { white-space: pre; }

/* ---------- Booked: the sign lights up ---------- */
.done .sign.glow { animation: signGlow 1.8s ease; }
@keyframes signGlow { 35% { box-shadow: inset 0 0 0 3px #FFFFFF, inset 0 0 0 4.5px rgba(201, 162, 39, .95), 0 0 0 12px rgba(201, 162, 39, .25); } 100% { box-shadow: inset 0 0 0 3px #FFFFFF, inset 0 0 0 4.5px rgba(201, 162, 39, .55), 0 0 0 24px rgba(201, 162, 39, 0); } }
.done-check { width: 30px; height: 30px; vertical-align: -5px; margin-right: 8px; color: #1F7A4D; }
.done-check path { stroke-dasharray: 22; stroke-dashoffset: 22; animation: draw .5s .25s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Cards ---------- */
.welcome-band .who-grid > div, .who .who-grid > div, .drive .who-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px; transition: transform .25s cubic-bezier(.2, .7, .3, 1), box-shadow .25s ease, border-color .25s ease; }
.welcome-band .who-grid > div:hover, .who .who-grid > div:hover { transform: translateY(-4px); box-shadow: 0 20px 32px -20px rgba(20, 87, 217, .45); border-color: rgba(20, 87, 217, .45); }
.drive .who-grid { perspective: 1000px; }
.drive .who-grid > div { transform-style: preserve-3d; will-change: transform; transition: transform .18s ease-out, box-shadow .25s ease, border-color .25s ease; }
.drive .who-grid > div h3 { transform: translateZ(18px); }
.drive .who-grid > div:hover { border-color: rgba(20, 87, 217, .45); }
.air::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(125, 176, 255, .18), transparent 60%); opacity: 0; transition: opacity .35s ease; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(125, 176, 255, 0); }
.air:hover::after { opacity: 1; box-shadow: inset 0 0 0 1px rgba(125, 176, 255, .35); }
.air picture { overflow: hidden; display: block; }
.air picture img { transition: transform 1s cubic-bezier(.2, .7, .3, 1), filter .6s; }
.air:hover picture img { transform: scale(1.06); filter: saturate(1.08); }
.air-text p:not(.air-sub) { transition: transform .5s cubic-bezier(.2, .8, .2, 1), color .4s; }
.air:hover .air-text p:not(.air-sub) { transform: translateY(-4px); color: #FFFFFF; }

/* ---------- Rise in as you scroll ---------- */
.rv { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.rv.pre { opacity: 0; transform: translateY(20px); }
.wr .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wr .w > span { display: inline-block; }
.wr.go .w > span { animation: rise .85s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms); }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }

/* ---------- The three steps on a road ---------- */
.how.has-road { position: relative; }
.how.has-road li { border-top-color: transparent; }
.how.has-road::before, .how.has-road::after { content: ""; position: absolute; left: 0; right: 0; top: -4px; height: 8px; border-radius: 4px; pointer-events: none; }
.how.has-road::before { background: linear-gradient(90deg, rgba(255,255,255,.9) 0 10px, transparent 10px 22px) 0 50% / 22px 1px repeat-x, var(--line); }
.how.has-road::after { transform-origin: left center; transform: scaleX(var(--k, 0)); background: linear-gradient(90deg, rgba(255,255,255,.9) 0 10px, transparent 10px 22px) 0 50% / 22px 1px repeat-x, var(--blue); }
@media (max-width: 720px) {
  .how.has-road li { border-top: 0; padding-left: 30px; padding-top: 0; }
  .how.has-road::before, .how.has-road::after { right: auto; top: 6px; bottom: 6px; width: 8px; height: auto; }
  .how.has-road::before { background: linear-gradient(180deg, rgba(255,255,255,.9) 0 10px, transparent 10px 22px) 50% 0 / 1px 22px repeat-y, var(--line); }
  .how.has-road::after { transform-origin: center top; transform: scaleY(var(--k, 0)); background: linear-gradient(180deg, rgba(255,255,255,.9) 0 10px, transparent 10px 22px) 50% 0 / 1px 22px repeat-y, var(--blue); }
}

/* ---------- Phone demo in "Across town, the same care" ---------- */
.city-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.city-grid .how { grid-template-columns: 1fr; gap: 28px; }
.phone-demo { margin: 0; display: grid; gap: 10px; justify-items: center; }
.phone-demo figcaption { font-size: 13px; color: var(--muted); text-align: center; }
.phone { width: 240px; max-width: 100%; aspect-ratio: 9 / 17; border-radius: 32px; background: #050C1C; padding: 10px; box-shadow: 0 0 0 1.5px #24344F, 0 34px 60px -28px rgba(10, 26, 51, .7); }
.screen { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: #0A1A33; display: grid; align-content: end; }
.ph-map { position: absolute; top: 0; left: 50%; height: 64%; width: auto; max-width: none; transform: translateX(-42%); opacity: .9; }
.ph-route { position: absolute; top: 0; left: 0; width: 100%; height: 64%; }
.sheet { position: relative; z-index: 1; background: #FFFFFF; color: #1F2329; border-radius: 18px 18px 0 0; padding: 14px 14px 16px; display: grid; gap: 9px; box-shadow: 0 -10px 24px rgba(0, 0, 0, .2); }
.ph-st { font: 700 14.5px/1.25 var(--display); min-height: 2.5em; }
.ph-bar { height: 5px; border-radius: 3px; background: #E6EBF3; overflow: hidden; }
.ph-bar i { display: block; height: 100%; width: 8%; background: var(--blue); border-radius: 3px; transition: width .9s ease; }
.ph-drv { display: flex; gap: 8px; align-items: center; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.ph-drv.in { opacity: 1; transform: none; }
.ph-av { width: 34px; height: 34px; border-radius: 50%; background: #E8EFFD; color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.ph-who { display: grid; font-size: 11.5px; color: #5A6270; line-height: 1.35; min-width: 0; }
.ph-who b { color: #1F2329; font-size: 12.5px; }
.ph-plate { margin-left: auto; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; padding: 2px 6px; border-radius: 4px; border: 1px solid #9AA3B0; color: #1F2329; white-space: nowrap; }
@media (max-width: 860px) { .city-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .city-grid .how { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .city-grid .how { grid-template-columns: 1fr; } }

/* ---------- Welcome in more than one language ---------- */
.welcome.cycle { display: grid; height: 1.15em; }
.welcome.cycle span { grid-area: 1 / 1; transition: opacity .6s ease, filter .6s ease, transform .6s ease; }
.welcome.cycle span.out { opacity: 0; filter: blur(6px); transform: translateY(-8px); }
.welcome.cycle span.pre { opacity: 0; filter: blur(6px); transform: translateY(8px); }

@media (prefers-reduced-motion: reduce) {
  .hm-pan, .btn, .btn .arr, .rv, .nav, .nav-bar, .svc-tabs.pilled::before, .steps.pilled::before, .air picture img, .air-text p, .welcome-band .who-grid > div, .who .who-grid > div, .drive .who-grid > div, .odo .dg > span { transition: none !important; }
  .road-edge .lanes, .wr.go .w > span, .flap i.tick, #hmPinBody.drop, .done .sign.glow, .done-check path, .btn .rip { animation: none !important; }
  .done-check path { stroke-dashoffset: 0; }
  .rv.pre { opacity: 1; transform: none; }
  .btn:not(:disabled):hover { transform: none; }
}

/* Drive section: portrait city photo beside the pitch */
.drive-split { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 56px; align-items: center; }
.drive-photo { margin: 0; position: relative; border-radius: var(--r-lg, 24px); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10, 26, 51, .55); aspect-ratio: 513 / 640; --focus: #7DB0FF; }
.drive-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.drive-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 22px 18px; color: #F6F7F9; font: 600 17px/1.35 var(--display); background: linear-gradient(180deg, rgba(10, 26, 51, 0), rgba(10, 26, 51, .9)); }
.drive-body > h2 { font: 700 clamp(28px, 3.2vw, 42px)/1.1 var(--display); letter-spacing: -.02em; margin-bottom: 24px; }
.drive-body .band-lede { margin: 0 0 28px; }
.drive-body .who-grid { grid-template-columns: 1fr; gap: 14px; }
.drive-body .who-grid > div { padding: 20px 22px; }
@media (max-width: 900px) {
  .drive-split { grid-template-columns: 1fr; gap: 32px; }
  .drive-photo { aspect-ratio: 4 / 3.4; max-width: 560px; }
  .drive-photo img { object-position: 50% 30%; }
}

/* Arrival photo: keep both faces and the handshake in frame */
.arrival-photo img { object-position: 58% 42%; }
@media (max-width: 700px) { .arrival-photo img { object-position: 62% 40%; } }
