/* NOWA landing v3 – "Live island map" (23 Oct 2026).
   Day (limestone + lagoon) at the top, Night dive (navy + cyan) from the safety section down.
   Motion lives only inside @media (prefers-reduced-motion: no-preference); the default is the finished, static page. */

/* ---------- Tokens ---------- */
:root {
  --lime: #F2F5F1; --ink: #12302B; --teal: #00706A; --gold: #F0B63F; --navy: #0A1B2E; --cyan: #41E2D0;
  --bg: var(--lime); --text: var(--ink); --muted: #4A5F5A; --brand: var(--teal); --brand-d: #00524D; --on-brand: #FFFFFF;
  --card: #FFFFFF; --tint: #E1EFEB; --line: #D3DFDA; --frame: #16302C; --danger: #B3261E; --on-danger: #FFFFFF; --danger-tint: #F9E3E1;
  --gold-ink: #12302B;
  --sea: #C4E1DB; --lagoon: #DAEEE9; --halo2: #CDE8E2; --halo1: #E8F5F1; --land: #FBFCF8; --coast: rgba(18, 48, 43, .38);
  --road: #D2DED8; --case: #12302B; --label: #3B5852;
  --shadow: 0 1px 2px rgba(18, 48, 43, .07), 0 14px 34px -12px rgba(18, 48, 43, .28);
  --shadow-lg: 0 2px 6px rgba(18, 48, 43, .08), 0 44px 90px -30px rgba(18, 48, 43, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1200px; --gut: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1B1A; --text: #E6EFEC; --muted: #A2B5B0; --brand: #5CCFC2; --brand-d: #86DED3; --on-brand: #06201E;
    --card: #162625; --tint: #173A36; --line: #27403D; --frame: #2B4442; --danger: #FF8A80; --on-danger: #2A0806; --danger-tint: #3A1E1C;
    --gold: #F5C35A; --gold-ink: #1A1405;
    --sea: #0C2426; --lagoon: #10302F; --halo2: #13393A; --halo1: #17403F; --land: #1D2F2C; --coast: rgba(230, 239, 236, .30);
    --road: #314845; --case: #050F0E; --label: #A9BDB8;
    --shadow: 0 14px 34px -14px rgba(0, 0, 0, .7); --shadow-lg: 0 44px 90px -30px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
/* Night dive: driver palette, always dark */
.night, .foot {
  --bg: #0A1B2E; --text: #E8F1F8; --muted: #A3B8CB; --brand: #41E2D0; --brand-d: #7DEBDF; --on-brand: #04222A;
  --card: #11263D; --tint: #143A4A; --line: #21405F; --frame: #24425F; --danger: #FF8A80; --on-danger: #2A0806; --danger-tint: #3A1E2A;
  --gold: #FFC56B; --gold-ink: #2A1A00;
  --lagoon: #0F2C44; --halo1: #133551; --land: #1A3350; --coast: rgba(232, 241, 248, .28); --road: #2A4766; --case: #04101C; --label: #A3B8CB;
  --shadow: 0 16px 40px -16px rgba(0, 0, 0, .8); --shadow-lg: 0 44px 90px -30px rgba(0, 0, 0, .85);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.55 Figtree, system-ui, sans-serif; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--brand); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
::selection { background: var(--gold); color: #12302B; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
@media (min-width: 600px) { :root { --gut: 32px; } }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2 { font-weight: 800; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(2.75rem, 1.4rem + 4.4vw, 5.6rem); line-height: .96; letter-spacing: -.038em; font-weight: 850; }
h2 { font-size: clamp(2.125rem, 1.35rem + 2.5vw, 3.6rem); line-height: 1.02; letter-spacing: -.032em; }
h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.015em; font-weight: 750; text-wrap: balance; }
.lead { color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; max-width: 34rem; text-wrap: pretty; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.5em;
  border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 750; font-size: 1.0625rem; text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 10px 22px -12px var(--brand);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn:hover { background: var(--brand-d); }
.btn-sm { min-height: 44px; padding: 0 1.15em; font-size: .9375rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--text); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: .35em; }
.text-link:hover { color: var(--brand); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ---------- Header ---------- */
.top { background: var(--sea); position: relative; z-index: 3; }
.top-in { display: flex; align-items: center; gap: 6px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; color: var(--text); text-decoration: none; }
.brand-icon { border-radius: 9px; }
.wordmark { display: inline-flex; align-items: center; font-weight: 850; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1; }
.moon { display: inline-block; width: .74em; height: .74em; margin: 0 .05em 0 .07em; border-radius: 50%; background: var(--gold); }
.top-links { display: none; gap: 2px; margin-right: 8px; }
.top-links a, .top-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--text); font-weight: 650; font-size: .9375rem; text-decoration: none; }
.top-links a:hover, .top-signin:hover { background: color-mix(in srgb, var(--card) 55%, transparent); }
.top-signin { display: none; }
@media (min-width: 960px) { .top-links { display: flex; } .top-signin { display: inline-flex; margin-right: 6px; } }

/* ---------- Map drawing (shared) ---------- */
.m-lagoon { fill: var(--lagoon); }
.m-reef { fill: none; stroke: var(--coast); stroke-width: 1.4; stroke-dasharray: 2 5; stroke-linecap: round; }
.m-halo2 { fill: var(--halo2); stroke: var(--halo2); stroke-width: 22; stroke-linejoin: round; }
.m-halo1 { fill: var(--halo1); stroke: var(--halo1); stroke-width: 9; stroke-linejoin: round; }
.m-topo use { fill: none; stroke: var(--coast); stroke-width: 1; opacity: .5; vector-effect: non-scaling-stroke; }
.m-land { fill: var(--land); stroke: var(--coast); stroke-width: 1.2; stroke-linejoin: round; }
.m-road { fill: none; stroke: var(--road); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m-lbl { fill: var(--label); font: 650 15px Figtree, sans-serif; letter-spacing: .06em; }
.m-lbl-xl { font-size: 26px; font-weight: 700; letter-spacing: .2em; }
.m-lbl-s { font-size: 13px; }
.m-scale path { fill: none; stroke: var(--label); stroke-width: 1.6; }
.m-scale text { fill: var(--label); font: 600 12px Figtree, sans-serif; }
.rt-case { fill: none; stroke: var(--case); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.rt { fill: none; stroke: var(--gold); stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; }
.mk-ring { fill: var(--card); stroke: var(--case); stroke-width: 4; }
.mk-sq { fill: var(--case); stroke: var(--card); stroke-width: 2.5; }
.mk-stop circle { fill: var(--gold); stroke: var(--case); stroke-width: 2.5; }
.mk-stop text { fill: #12302B; font: 800 9px Figtree, sans-serif; text-anchor: middle; }
.car rect { fill: var(--brand); stroke: var(--card); stroke-width: 2.5; }
.car .car-glass { fill: var(--card); stroke: none; opacity: .85; }

/* ---------- Hero ---------- */
.hero { background: var(--sea); overflow: hidden; }
.hero-in {
  display: grid; gap: 8px; max-width: 1440px; margin: 0 auto; padding: 8px var(--gut) 0;
}
.hero-copy { display: grid; gap: 20px; align-content: center; padding: 8px 0 4px; }
.hero-copy h1 { max-width: 11ch; }
.hero-note { color: var(--muted); font-size: .9375rem; }
.hero-map { position: relative; width: 100%; aspect-ratio: 1; margin: 0 calc(var(--gut) * -1); width: calc(100% + var(--gut) * 2); }
.hero-map .map { width: 100%; height: 100%; }
.mk-from circle { fill: var(--case); }
.mk-ico { color: #FFFFFF; }
.mk-ico use { fill: none; stroke: #FFFFFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-to rect { fill: var(--card); stroke: var(--case); stroke-width: 5; }
.ror-tag {
  position: absolute; left: 53.7%; top: 33.2%; margin: 26px 0 0 4px;
  padding: 3px 9px; border-radius: 6px; background: var(--case); color: #FFFFFF;
  font-weight: 800; font-size: .875rem; letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
.eta {
  position: absolute; left: 35.17%; top: 36.67%; margin: -54px 0 0 -40px;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px;
  background: var(--gold); color: #12302B; font-size: .9375rem; box-shadow: var(--shadow);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.eta b { font-weight: 800; min-width: 3.6em; }
.eta .i { width: 1.05em; height: 1.05em; }
.fare {
  position: absolute; left: 4%; top: 57%; width: min(17rem, 46%);
  display: grid; gap: 2px; padding: 14px 16px 14px; border-radius: 18px;
  background: var(--card); box-shadow: var(--shadow-lg); color: var(--text);
}
.fare-route { font-size: .8125rem; color: var(--muted); font-weight: 600; }
.fare-t { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 850; letter-spacing: -.025em; line-height: 1.1; }
.fare-s { font-weight: 650; font-size: .9375rem; }
.fare-pay { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; font-weight: 600; }
.fare-pay .i { color: var(--brand); width: 1.1em; height: 1.1em; }

@media (max-width: 599px) {
  .fare { padding: 10px 12px; border-radius: 14px; left: 3%; top: 58%; width: 58%; }
  .fare-s { font-size: .8125rem; }
  .fare-route { display: none; }
  .fare-pay { margin-top: 5px; padding-top: 5px; font-size: .75rem; }
  .eta { font-size: .8125rem; margin: -44px 0 0 -34px; }
  .ror-tag { font-size: .75rem; }
  .m-lbl-xl { font-size: 26px; }
  .m-lbl { font-size: 17px; }
  .m-lbl-s { font-size: 15px; }
  .hero-note { font-size: .875rem; }
  .hero-copy { gap: 16px; }
}
@media (min-width: 960px) {
  .hero-in {
    grid-template-columns: minmax(22rem, 34rem) minmax(0, 1fr); gap: 24px; align-items: center;
    min-height: min(calc(100svh - 72px), 900px); padding-top: 0;
  }
  .hero-copy { gap: 26px; padding: 24px 0 72px; }
  .hero-map { justify-self: end; width: min(100%, calc(100svh - 72px), 900px); margin: 0 calc(var(--gut) * -1) 0 0; }
}

/* ---------- Phone (sizes in em; --pf scales) ---------- */
.phone {
  --pf: 13px; font-size: var(--pf); width: 19em; padding: .5em; border-radius: 2.7em;
  background: var(--frame); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .07);
  color: var(--text); line-height: 1.3; letter-spacing: 0;
}
.ph-screen { position: relative; height: 39em; border-radius: 2.2em; overflow: hidden; background: var(--bg); }
.ph-status { position: absolute; z-index: 4; inset: 0 0 auto; height: 2.3em; padding: 0 1.6em; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .85em; color: var(--text); }
.ph-dots { display: flex; gap: .25em; }
.ph-dots i { width: .38em; height: .38em; border-radius: 50%; background: currentColor; }
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.ph-map { position: relative; height: 17.5em; flex: none; background: var(--lagoon); overflow: hidden; }
.ph-map .map { width: 100%; height: 100%; }
.sheet {
  position: relative; z-index: 2; flex: 1; margin-top: -1.4em; padding: .6em 1.15em 1.1em;
  display: flex; flex-direction: column; gap: .7em; background: var(--card);
  border-radius: 1.5em 1.5em 0 0; box-shadow: 0 -10px 24px -10px rgba(0, 0, 0, .25);
}
.grab { align-self: center; width: 2.6em; height: .3em; border-radius: 1em; background: var(--line); }
.stops { display: grid; gap: .55em; }
.stops li { display: flex; align-items: center; gap: .7em; font-weight: 650; font-size: .95em; line-height: 1.2; }
.stops small { display: block; color: var(--muted); font-weight: 600; font-size: .8em; }
.mk { flex: none; display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; border-radius: 50%; }
.mk-a { background: var(--card); border: .3em solid var(--text); }
.mk-b { border-radius: .25em; background: var(--text); }
.mk-s { background: var(--gold); color: #12302B; font-weight: 800; font-size: .75em; width: 1.6em; height: 1.6em; }
.veh { display: grid; gap: .35em; }
.veh li { display: flex; align-items: center; gap: .7em; padding: .55em .7em; border-radius: .9em; border: 1px solid var(--line); font-size: .92em; }
.veh li.on { border-color: var(--brand); background: var(--tint); }
.veh li > span:first-of-type { flex: 1; line-height: 1.15; }
.veh small { display: block; color: var(--muted); font-size: .82em; }
.veh em { font-style: normal; font-weight: 700; font-size: .85em; }
.ok { display: grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.ok .i { width: .9em; height: .9em; stroke-width: 3; }
.ph-cta { margin-top: auto; display: grid; place-items: center; min-height: 2.9em; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 750; }
.sos-fab { position: absolute; right: .9em; bottom: 2.2em; z-index: 3; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--danger); color: var(--on-danger); box-shadow: var(--shadow); }
.eta-l { color: var(--muted); font-weight: 600; font-size: .9em; }
.eta-big { font-size: 1.6em; font-weight: 600; letter-spacing: -.02em; line-height: 1; margin-top: -.3em; }
.eta-big b { font-weight: 850; color: var(--text); }
.drv { display: flex; align-items: center; gap: .7em; padding: .6em 0; border-block: 1px solid var(--line); }
.drv-av { display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--tint); color: var(--brand); }
.drv-n { flex: 1; line-height: 1.2; }
.drv-n small { display: block; color: var(--muted); }
.plate { padding: .25em .55em; border-radius: .4em; border: 1.5px solid var(--text); font-weight: 800; letter-spacing: .05em; font-size: .9em; font-variant-numeric: tabular-nums; }
.act3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.act3 span { display: grid; justify-items: center; gap: .25em; padding: .6em 0; border-radius: .9em; background: var(--tint); color: var(--text); font-weight: 650; font-size: .85em; }
.act3 .i { color: var(--brand); }
.act3 .act-sos { background: var(--danger-tint); }
.act3 .act-sos .i { color: var(--danger); }
.chips { display: flex; flex-wrap: wrap; gap: .4em; }
.chip { display: inline-flex; align-items: center; gap: .3em; padding: .35em .75em; border-radius: 999px; background: var(--tint); font-weight: 650; font-size: .82em; }
.chip-add { background: none; border: 1.5px dashed var(--brand); color: var(--brand); }
.chip .i { width: 1em; height: 1em; }
.cap { color: var(--muted); font-size: .88em; font-weight: 600; }
.stop-new { padding: .35em .5em; margin: 0 -.5em; border-radius: .7em; background: color-mix(in srgb, var(--gold) 22%, transparent); }
.done { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .45em; padding: 7em 1.4em 1.4em; }
.done .ph-cta { margin-top: auto; }
.done-check { display: grid; place-items: center; width: 4.4em; height: 4.4em; margin-bottom: .6em; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.done-check .i { width: 2.2em; height: 2.2em; stroke-width: 2.6; }
.done > b { font-size: 1.45em; font-weight: 850; letter-spacing: -.02em; }
.done > small { color: var(--muted); font-size: .95em; }
.done-rows { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: .55em 1em; margin-top: 1.1em; padding: .9em 0; border-block: 1px solid var(--line); font-size: .9em; text-align: left; }
.done-rows span:nth-child(odd) { color: var(--muted); }
.done-rows span:nth-child(even) { text-align: right; font-weight: 700; }
.done-rate { margin-top: .8em; font-weight: 650; }
.stars { display: flex; gap: .2em; color: var(--gold); }
.stars .i { width: 1.6em; height: 1.6em; fill: var(--gold); stroke: var(--gold); }
.stars .i:last-child { fill: none; }
.done .ph-cta { width: 100%; }

/* ---------- One trip ---------- */
.trip { position: relative; padding: 72px 0 64px; }
.trip-marks { display: none; }
.trip-grid { display: grid; gap: 24px; justify-items: center; }
.trip-head { justify-self: stretch; display: grid; gap: 12px; }
.trip-head .lead { display: none; }
.trip-phone { order: 2; }
.trip-rail {
  order: 3; justify-self: stretch; display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
  margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 12px; scrollbar-width: none; counter-reset: s;
}
.trip-rail::-webkit-scrollbar { display: none; }
.trip-rail li { scroll-snap-align: start; padding: 14px 16px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.trip-rail a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text); font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; text-decoration: none; }
.trip-rail p { color: var(--muted); font-size: .9688rem; line-height: 1.45; }
.n { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); font-size: .9375rem; font-weight: 800; font-variant-numeric: tabular-nums; transition: background-color .3s, border-color .3s; }
.trip-rail li.on { border-color: var(--text); }
.trip-rail li.on .n { background: var(--gold); border-color: var(--gold); color: #12302B; }
.new { padding: 2px 8px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.trip-phone .phone { --pf: clamp(11px, 3.1vw, 13px); }

/* Which screen shows. No JS: the first screen. With JS: data-step on .trip. */
.scr { opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
.s-book { opacity: 1; visibility: visible; }
.js .trip .s-book { opacity: 0; visibility: hidden; }
.js .trip[data-step="book"] .s-book, .js .trip[data-step="pre"] .s-book,
.js .trip[data-step="driver"] .s-driver, .js .trip[data-step="stop"] .s-stop, .js .trip[data-step="pay"] .s-pay {
  opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s;
}

@media (min-width: 960px) {
  .trip { height: 160vh; padding: 0; view-timeline: --trip block; }
  .trip-marks { display: block; position: absolute; inset: 0 0 auto; height: 60vh; }
  .trip-mark { position: absolute; left: 0; right: 0; height: 15vh; }
  .trip-mark:nth-child(2) { top: 15vh; } .trip-mark:nth-child(3) { top: 30vh; } .trip-mark:nth-child(4) { top: 45vh; }
  .trip-stick { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; }
  .trip-grid {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 112px); row-gap: 28px;
    justify-items: stretch; align-items: start;
  }
  .trip-head { grid-column: 1; grid-row: 1; }
  .trip-head .lead { display: block; }
  .trip-phone { grid-column: 2; grid-row: 1 / 3; order: 0; align-self: center; }
  .trip-phone .phone { --pf: clamp(11px, 1.62vh, 15px); }
  .trip-rail {
    grid-column: 1; grid-row: 2; order: 0; position: relative; display: grid; grid-auto-flow: row; gap: 0;
    overflow: visible; margin: 0; padding: 0; max-width: 34rem;
  }
  /* rail line with a gold fill for progress through the trip */
  .trip-rail::before, .trip-rail::after { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: var(--line); }
  .trip-rail::after { background: var(--gold); transform-origin: top; transform: scaleY(0); transition: transform .5s var(--ease); }
  .trip[data-step="driver"] .trip-rail::after { transform: scaleY(.333); }
  .trip[data-step="stop"] .trip-rail::after { transform: scaleY(.666); }
  .trip[data-step="pay"] .trip-rail::after { transform: scaleY(1); }
  .trip-rail li { position: relative; z-index: 1; padding: 6px 0 14px; border: 0; border-radius: 0; background: none; gap: 2px; }
  .trip-rail li.on { border: 0; }
  .trip-rail a { font-size: 1.3125rem; gap: 16px; }
  .trip-rail a:hover { color: var(--brand); }
  .trip-rail p { padding-left: 48px; max-width: 30rem; font-size: 1rem; }
  .js .trip-rail li:not(.on) a { color: var(--muted); }
}

/* ---------- Places ---------- */
.places { padding: 24px 0 72px; background: var(--bg); }
.places-grid { display: grid; gap: 28px; }
.places-head { display: grid; gap: 14px; }
.ph { display: grid; gap: 10px; }
.ph-crop { overflow: hidden; border-radius: 18px; background: var(--tint); }
.ph-crop img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ph:hover .ph-crop img { transform: scale(1.06); }
.ph figcaption { color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.ph figcaption b { display: block; color: var(--text); font-size: 1.0625rem; }
.ph-big .ph-crop { aspect-ratio: 4 / 3; }
.ph-row { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 6px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.ph-row::-webkit-scrollbar { display: none; }
.ph-row .ph { scroll-snap-align: start; }
.ph-row .ph-crop { aspect-ratio: 4 / 3; }
@media (min-width: 960px) {
  .places { padding: 40px 0 120px; }
  .places-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; row-gap: 40px; align-items: end; }
  .places-head { grid-column: 1 / 5; align-self: center; }
  .ph-big { grid-column: 5 / 13; }
  .ph-big .ph-crop { aspect-ratio: 16 / 9; }
  .ph-row { grid-column: 1 / 13; display: grid; grid-auto-flow: row; grid-template-columns: 5fr 3fr 4fr; gap: 28px; overflow: visible; margin: 0; padding: 0; align-items: start; }
  .ph-a .ph-crop { aspect-ratio: 16 / 10; }
  .ph-b { margin-top: 64px; }
  .ph-b .ph-crop { aspect-ratio: 4 / 5; }
  .ph-c { margin-top: 24px; }
  .ph-c .ph-crop { aspect-ratio: 1; }
}

/* ---------- Night ---------- */
.night { background: var(--bg); color: var(--text); padding-top: 72px; }
.safety-grid { display: grid; gap: 32px; }
.safety-copy { display: grid; gap: 20px; align-content: start; }
.facts { display: grid; gap: 14px 28px; margin-top: 8px; }
.facts li { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9688rem; line-height: 1.45; }
.facts b { display: block; color: var(--text); font-size: 1.0625rem; }
.sos { position: relative; justify-self: center; width: min(100%, 22rem); border-radius: 28px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.sos-map { height: 140px; background: var(--lagoon); position: relative; }
.sos-map::after { content: ""; position: absolute; inset: 0; background: rgba(4, 12, 22, .45); }
.sos-map .map { width: 100%; height: 100%; }
.sos-sheet { display: grid; justify-items: center; gap: 10px; padding: 22px 20px 20px; text-align: center; }
.sos-badge { display: grid; place-items: center; width: 56px; height: 56px; margin-top: -50px; border-radius: 50%; background: var(--danger); color: var(--on-danger); box-shadow: 0 0 0 6px var(--card); position: relative; }
.sos-badge .i { width: 26px; height: 26px; }
.sos-t { font-size: 1.375rem; font-weight: 850; letter-spacing: -.02em; }
.sos-sheet small { color: var(--muted); font-size: .9375rem; max-width: 18rem; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border-radius: 999px; font-weight: 750; }
.pill-danger { background: var(--danger); color: var(--on-danger); margin-top: 4px; }
.pill-tonal { background: var(--tint); color: var(--text); }
.pill-ghost { color: var(--muted); min-height: 40px; }
.pill-brand { background: var(--brand); color: var(--on-brand); }
@media (min-width: 960px) {
  .night { padding-top: 26vh; }
  .safety-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 88px; align-items: center; }
  .safety-copy { grid-column: 2; grid-row: 1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .sos { grid-column: 1; grid-row: 1; justify-self: start; }
}

.drive { padding: 96px 0 72px; }
.drive-grid { display: grid; gap: 36px; }
.drive-copy { display: grid; gap: 20px; align-content: start; }
.rows { display: grid; margin: 4px 0 8px; }
.rows div { display: grid; gap: 2px; align-content: start; padding: 12px 0; border-top: 1px solid var(--line); }
.rows dt { font-weight: 800; }
.rows dd { color: var(--muted); font-size: .9688rem; line-height: 1.45; }
.offer { order: 2; justify-self: center; width: min(100%, 24rem); display: grid; gap: 16px; padding: 18px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.offer-top { display: flex; align-items: center; gap: 12px; }
.offer-top img { border-radius: 9px; }
.offer-top > span:first-of-type { flex: 1; line-height: 1.2; }
.offer-top b { font-size: 1.125rem; font-weight: 800; }
.offer-top small { display: block; color: var(--muted); font-size: .875rem; }
.ring { position: relative; display: grid; place-items: center; width: 56px; height: 56px; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: .18; }
.ring b { position: relative; font-size: .875rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stops-lg { font-size: 1.0625rem; gap: 12px; padding: 14px; border-radius: 16px; background: var(--bg); }
.stops-lg .mk-a { border-color: var(--text); }
.offer-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: .9375rem; font-weight: 600; }
.offer-meta span { display: inline-flex; align-items: center; gap: 6px; }
.offer-meta .i { color: var(--brand); }
.offer-act { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.offer-act .pill-ghost { border: 1.5px solid var(--line); color: var(--text); min-height: 48px; }
@media (min-width: 960px) {
  .drive { padding: 160px 0 120px; }
  .drive-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 88px; align-items: center; }
  .offer { grid-column: 2; grid-row: 1; justify-self: end; transform: rotate(2deg); }
  .drive-copy { grid-column: 1; grid-row: 1; }
  .rows { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}

.get { padding: 40px 0 72px; }
.get-grid { display: grid; gap: 32px; }
.get-main { display: grid; gap: 18px; align-content: start; }
.apps { display: grid; gap: 10px; margin-top: 6px; }
.app { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 18px 12px 12px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .25s var(--ease), border-color .2s; }
.app:hover { border-color: var(--brand); }
.app img { border-radius: 12px; }
.app > span:nth-child(2) { flex: 1; line-height: 1.25; }
.app b { font-size: 1.0625rem; font-weight: 800; }
.app small { display: block; color: var(--muted); font-size: .9063rem; }
.app-go { font-weight: 750; color: var(--brand); }
.app-web { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--brand); }
.soon { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: 24px; border: 1.5px dashed var(--line); }
.soon p { color: var(--muted); font-size: 1rem; }
.soon-list { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.soon-list li { display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.soon-list .i { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--tint); color: var(--gold); }
.soon-list b { display: block; }
.soon-list span { color: var(--muted); font-size: .875rem; }
.soon-list span b { color: var(--text); font-size: 1rem; }
.soon-cta a { font-weight: 700; }
@media (min-width: 960px) {
  .get { padding: 40px 0 120px; }
  .get-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 72px; align-items: end; }
}

.faq-sec { padding: 64px 0 88px; border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 10px 0; font-weight: 750; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary .i { color: var(--brand); transition: transform .3s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 40rem; }
@media (min-width: 960px) {
  .faq-sec { padding: 96px 0 112px; }
  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  .faq-grid h2 { position: sticky; top: 32px; }
}

/* ---------- Footer ---------- */
.foot { background: #071422; color: var(--text); padding: 56px 0 32px; font-size: .9688rem; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 10px; }
.foot-brand p { color: var(--muted); }
.foot-h { font-size: .9375rem; font-weight: 800; letter-spacing: 0; margin-bottom: 6px; }
.foot ul { display: grid; }
.foot li { color: var(--muted); }
.foot li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.foot li a:hover { color: var(--brand); text-decoration: underline; }
.foot li:only-child, .foot li:last-child:not(:has(a)) { min-height: 40px; display: flex; align-items: center; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.foot-base a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 960px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .foot-brand { grid-column: auto; }
}

/* =========================================================
   Motion. Everything below is opt-in: without it the page is complete.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn:hover, .app:hover { transform: translateY(-2px); }
  .btn:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 16px 28px -12px var(--brand); }
  .btn:active { transform: translateY(0); transition-duration: .08s; }

  /* Hero: route draws from ROR to Koror, markers land, fare card arrives, then v3.js drives the car. */
  .rt-hero { stroke-dasharray: 1; animation: draw 1.5s var(--ease) .35s both; }
  .hero-map .rt-case { stroke-dasharray: 1; animation: draw 1.5s var(--ease) .35s both; }
  .mk-from, .mk-to { transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) both; }
  .mk-from { animation-delay: .15s; }
  .mk-to { animation-delay: 1.45s; }
  .ror-tag { animation: rise .6s var(--ease) .2s both; }
  .fare { animation: rise .7s var(--ease) 1.1s both; }
  .eta { animation: fade .5s var(--ease) 1.5s both; }
  .hero-map #hero-car { transition: opacity .4s; }
  .hero-map.is-reset #hero-car, .hero-map.is-reset .eta { opacity: 0; }
  .eta { transition: opacity .4s; }

  /* One trip: what moves inside the phone when a step becomes active (JS only). */
  .js .scr .rt-draw { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) .3s; }
  .js .trip:not([data-step="book"]) .s-book .rt-draw, .js .trip:not([data-step="stop"]) .s-stop .rt-draw { stroke-dashoffset: 1; transition: none; }
  .js .scr .veh li, .js .scr .stop-new, .js .scr .sheet-up, .js .scr .mk-stop, .js .scr .done-check, .js .scr .stars .i {
    transition: transform .6s var(--ease), opacity .5s var(--ease);
  }
  .js .s-book .veh li:nth-child(2) { transition-delay: .07s; } .js .s-book .veh li:nth-child(3) { transition-delay: .14s; }
  .js .trip:not([data-step="book"]) .s-book .veh li { opacity: 0; transform: translateY(12px); transition: none; }
  .js .s-driver .car-in { transform: translate(566px, 534px) rotate(149deg); transition: transform 2.4s cubic-bezier(.33, 0, .2, 1) .35s; }
  .js .trip[data-step="driver"] .s-driver .car-in { transform: translate(506px, 570px) rotate(149deg); }
  .js .trip:not([data-step="driver"]) .s-driver .car-in { transition: none; }
  .js .trip:not([data-step="driver"]) .s-driver .sheet-up { transform: translateY(40%); transition: none; }
  .js .trip:not([data-step="stop"]) .s-stop .stop-new { opacity: 0; transform: translateX(-14px); transition: none; }
  .js .s-stop .stop-new { transition-delay: .5s; }
  .js .scr .mk-stop { transform-box: fill-box; transform-origin: center; transition-delay: .25s; }
  .js .trip:not([data-step="stop"]) .s-stop .mk-stop { transform: scale(0); transition: none; }
  .js .trip:not([data-step="pay"]) .s-pay .done-check { transform: scale(.4); opacity: 0; transition: none; }
  .js .s-pay .done-check { transition-delay: .15s; }
  .js .trip:not([data-step="pay"]) .s-pay .stars .i { transform: scale(.5); opacity: 0; transition: none; }
  .js .s-pay .stars .i:nth-child(1) { transition-delay: .55s; } .js .s-pay .stars .i:nth-child(2) { transition-delay: .62s; }
  .js .s-pay .stars .i:nth-child(3) { transition-delay: .69s; } .js .s-pay .stars .i:nth-child(4) { transition-delay: .76s; }
  .js .s-pay .stars .i:nth-child(5) { transition-delay: .83s; }

  /* Place photos: slow zoom on hover (v1). */
  .ph-crop img { will-change: auto; }

  @supports (animation-timeline: view()) {
    /* Scroll-linked rail progress (continuous) on desktop. */
    @media (min-width: 960px) {
      .trip-rail::after { transition: none; animation: fill linear both; animation-timeline: --trip; animation-range: contain 0% contain 100%; }
      /* Without JS, the scroll position alone switches the phone screens. */
      html:not(.js) .trip .scr { transition: none; animation: linear both; animation-timeline: --trip; animation-range: contain 0% contain 100%; }
      html:not(.js) .trip .s-book { animation-name: scr1; }
      html:not(.js) .trip .s-driver { animation-name: scr2; }
      html:not(.js) .trip .s-stop { animation-name: scr3; }
      html:not(.js) .trip .s-pay { animation-name: scr4; }
    }
    /* Day turns to night: a fixed navy layer fades in as the night part of the page arrives. */
    body { timeline-scope: --night; }
    .night { view-timeline: --night block; background: transparent; }
    body::before {
      content: ""; position: fixed; inset: 0; z-index: -1; background: #0A1B2E; opacity: 0; pointer-events: none;
      animation: fade linear both; animation-timeline: --night; animation-range: entry 0% entry 55%;
    }
    .day { position: relative; background: var(--bg); }
    /* The SOS sheet slides up and the offer timer runs as they scroll in. */
    .sos-sheet { animation: rise linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    .ring-fg { animation: ring linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
  }
}

@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ring { from { stroke-dashoffset: 1; } to { stroke-dashoffset: .18; } }
@keyframes scr1 { 0%, 22% { opacity: 1; visibility: visible; } 25%, 100% { opacity: 0; visibility: hidden; } }
@keyframes scr2 { 0%, 22% { opacity: 0; visibility: hidden; } 25%, 47% { opacity: 1; visibility: visible; } 50%, 100% { opacity: 0; visibility: hidden; } }
@keyframes scr3 { 0%, 47% { opacity: 0; visibility: hidden; } 50%, 72% { opacity: 1; visibility: visible; } 75%, 100% { opacity: 0; visibility: hidden; } }
@keyframes scr4 { 0%, 72% { opacity: 0; visibility: hidden; } 75%, 100% { opacity: 1; visibility: visible; } }
.share-row { display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: auto; min-height: 2.9em; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: .9em; }
.share-row .i { color: var(--brand); width: 1.1em; height: 1.1em; }
