/* SARAB · scroll driven 3D car rental site
   Palette: graphite #4A4A4A · silver #CBCBCB · ivory #FFFFE3 · slate #6D8196
   --night (0..1) is driven from JS and blends the whole page from day to night. */

:root {
  --graphite: #4A4A4A;
  --silver: #CBCBCB;
  --ivory: #FFFFE3;
  --slate: #6D8196;

  --night: 0;
  --ov: 0;

  --bg: color-mix(in srgb, var(--graphite) calc(var(--night) * 100%), var(--ivory));
  --fg: color-mix(in srgb, var(--ivory) calc(var(--night) * 100%), var(--graphite));
  --accent: color-mix(in srgb, var(--silver) calc(var(--night) * 100%), var(--slate));
  --line: color-mix(in srgb, var(--fg) 20%, transparent);
  --glass: color-mix(in srgb, var(--bg) 62%, transparent);

  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5.5vw, 96px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  overscroll-behavior-x: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
em { font-style: italic; color: var(--accent); }
::selection { background: var(--slate); color: var(--ivory); }

/* ---------- Layers ---------- */
#scene {
  position: fixed; inset: 0;
  width: 100%; height: 100vh; height: 100lvh;
  z-index: 1; pointer-events: none; display: block;
}
.marquee {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: flex; align-items: center; overflow: hidden;
  opacity: 0;
}
.marquee__track {
  white-space: nowrap;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(7rem, 22vw, 24rem); line-height: 1;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--fg) 9%, transparent);
  will-change: transform;
  padding-top: 6vh;
}
.marquee__track i { font-style: normal; color: color-mix(in srgb, var(--accent) 30%, transparent); padding: 0 .15em; }

.overlay {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--bg) 92%, transparent) 0%,
    color-mix(in srgb, var(--bg) 60%, transparent) 30%,
    transparent 52%);
  opacity: var(--ov);
}
main { position: relative; z-index: 3; }
.hotspots, .pins { position: fixed; inset: 0; z-index: 4; pointer-events: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ivory); color: var(--graphite);
  display: grid; place-content: center; gap: 22px; text-align: center;
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__brand { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: .08em; line-height: 1; }
.loader__brand span { font-size: .5em; color: var(--slate); letter-spacing: 0; margin-left: .3em; }
.loader__bar { width: min(260px, 60vw); height: 1px; background: var(--silver); margin: 0 auto; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--slate); transition: width .3s; }
.loader__pct { font-size: .75rem; letter-spacing: .22em; color: var(--slate); font-variant-numeric: tabular-nums; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--gutter) 34px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 88%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 55%, transparent 100%);
}
.nav__logo { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .08em; line-height: 1; }
.nav__logo span { font-size: .62em; color: var(--accent); letter-spacing: 0; margin-left: .25em; }
.nav__links { display: flex; gap: 32px; font-size: .86rem; font-weight: 500; }
.nav__links a { opacity: .8; transition: opacity .3s; }
.nav__links a:hover { opacity: 1; }

/* ---------- Rail ---------- */
.rail {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 20;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-end;
}
.rail a { display: flex; align-items: center; gap: 10px; height: 14px; }
.rail a::after {
  content: ''; width: 6px; height: 6px; border-radius: 6px;
  background: var(--fg); opacity: .3; transition: all .5s var(--ease);
}
.rail a span {
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  opacity: 0; transform: translateX(6px); transition: all .4s var(--ease);
}
.rail a:hover span, .rail a.is-active span { opacity: .85; transform: none; }
.rail a.is-active::after { height: 22px; opacity: 1; background: var(--accent); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.4rem, 8.4vw, 8.8rem); line-height: .9; letter-spacing: -0.02em;
}
.display--md { font-size: clamp(3rem, 6.4vw, 6.6rem); }
.title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.3rem, 4.2vw, 4.1rem); line-height: 1; letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.lede { font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 30em; margin: 26px 0 34px; opacity: .88; }
.body { font-size: .98rem; opacity: .82; max-width: 32em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--fg); color: var(--bg);
  border: 1px solid var(--fg); border-radius: 999px;
  padding: 15px 26px; font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn::after { content: '→'; transition: transform .35s var(--ease); }
.btn:hover::after { transform: translateX(3px); }
.btn--small { padding: 10px 18px; font-size: .82rem; }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--wide { grid-column: 1 / -1; width: 100%; padding: 18px; }

/* ---------- Chapters ---------- */
.chapter { position: relative; }
.chapter--sticky { height: var(--len, 300vh); }
.stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

.copy { position: absolute; left: var(--gutter); }
.copy--top { top: clamp(100px, 17vh, 170px); width: min(520px, 40vw); }
.copy--side { top: 50%; transform: translateY(-50%); width: min(460px, 38vw); }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 80px; }
.hero__inner { max-width: 640px; }
.hero .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
body.is-ready .hero .reveal { opacity: 1; transform: none; }
body.is-ready .hero .reveal:nth-child(2) { transition-delay: .1s; }
body.is-ready .hero .reveal:nth-child(3) { transition-delay: .2s; }
body.is-ready .hero .reveal:nth-child(4) { transition-delay: .3s; }
body.is-ready .hero__chips.reveal { transition-delay: .45s; }

.search {
  display: flex; align-items: stretch; gap: 0;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 22px; padding: 8px;
  width: min(640px, 100%);
}
.search__field { flex: 1; display: flex; flex-direction: column; padding: 8px 14px; border-right: 1px solid var(--line); min-width: 0; }
.search__field:first-child { flex: 1.35; }
.search__field:nth-of-type(3) { border-right: 0; }
.search__field span { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.search__field select, .search__field input { background: none; border: 0; outline: 0; font-weight: 600; font-size: .92rem; padding: 4px 0 0; min-width: 0; width: 100%; }
.search .btn { border-radius: 16px; }

.hero__chips {
  position: absolute; right: var(--gutter); bottom: 72px;
  display: flex; gap: 10px; list-style: none;
}
.hero__chips li {
  font-size: .78rem; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__chips b { font-weight: 700; }

.scrollcue {
  position: absolute; left: var(--gutter); bottom: 30px;
  display: flex; align-items: center; gap: 12px;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .7;
}
.scrollcue span { width: 1px; height: 34px; background: var(--line); position: relative; overflow: hidden; }
.scrollcue span::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--fg); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* Drive HUD */
.hud { position: absolute; left: var(--gutter); bottom: clamp(28px, 7vh, 72px); }
.hud__speed { font-family: var(--serif); font-size: clamp(4.4rem, 10vw, 9.5rem); line-height: .85; font-variant-numeric: tabular-nums; }
.hud__speed small { font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-left: 10px; color: var(--accent); font-weight: 600; }
.hud__road { margin-top: 10px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; opacity: .7; display: flex; align-items: center; gap: 10px; }
.hud__road i { width: 6px; height: 6px; border-radius: 6px; background: var(--slate); box-shadow: 0 0 0 4px color-mix(in srgb, var(--slate) 25%, transparent); }

/* Steps and cards stacked in one cell */
.steps, .cards { display: grid; }
.step, .card {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.step.is-active, .card.is-active { opacity: 1; transform: none; pointer-events: auto; }
.counter { margin-top: 34px; display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.counter i { flex: 0 0 120px; height: 1px; background: var(--line); position: relative; margin-left: 10px; }
.counter b { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--fg); }

/* Fleet */
.tabs { display: flex; gap: 6px; margin: 8px 0 22px; flex-wrap: wrap; }
.tabs button {
  border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 8px 14px; font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: all .4s var(--ease);
}
.tabs button.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.card {
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 24px; padding: 26px;
}
.card__kicker { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin: 10px 0 16px; }
.card__price { font-family: var(--serif); font-size: 2.4rem; line-height: 1; margin-bottom: 16px; }
.card__price small, .plan__price small { font-family: var(--sans); font-size: .78rem; opacity: .7; }
.specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.specs li { font-size: .74rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.swatch { margin-top: 18px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: 8px; opacity: .8; }
.swatch i { width: 14px; height: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--silver); transition: background .6s; }

/* Delivery zones */
.zones { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.zones li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.zones b { font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }

/* Flow sections (night) */
.flow { padding: 26vh var(--gutter) 16vh; }
.flow__head { max-width: 640px; margin-bottom: 48px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30vh; }
.plan {
  background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 30px;
  display: flex; flex-direction: column; gap: 12px; min-height: 250px;
}
.plan__name { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.plan__price { font-family: var(--serif); font-size: 2.5rem; line-height: 1; margin-bottom: auto; padding-bottom: 18px; }
.plan--feature { background: color-mix(in srgb, var(--slate) 55%, transparent); border-color: color-mix(in srgb, var(--ivory) 30%, transparent); }
.fineprint { margin-top: 18px; font-size: .74rem; opacity: .6; }

.process { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (min-width: 821px) { .process { max-width: 54vw; gap: 28px; } }
.process li { border-top: 1px solid var(--line); padding-top: 22px; }
.process li > b { font-size: .74rem; letter-spacing: .2em; font-weight: 700; color: var(--accent); }
.process h3 { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; margin: 6px 0 10px; }
.faq { margin-top: 70px; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; }

/* Book */
.book { min-height: 100vh; padding: 22vh var(--gutter) 0; display: flex; flex-direction: column; justify-content: space-between; }
.book__inner { max-width: 560px; }
.bookform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.bookform label {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px;
}
.bookform label:focus-within { border-color: var(--accent); }
.bookform span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.bookform input, .bookform select { background: none; border: 0; outline: 0; font-weight: 600; font-size: .95rem; min-width: 0; color-scheme: light dark; }
.bookform input::placeholder { color: var(--fg); opacity: .4; }
.bookform select option, .search select option { color: #4A4A4A; background: #FFFFE3; }

.foot {
  margin-top: 16vh; padding: 28px 0 34px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px 40px; align-items: baseline;
  font-size: .8rem; opacity: .85;
}
.foot__brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .08em; }
.foot__brand span { font-size: .6em; color: var(--accent); letter-spacing: 0; }
.foot__credit { grid-column: 1 / -1; font-size: .7rem; opacity: .55; }

/* ---------- 3D anchored UI ---------- */
.hs {
  position: absolute; left: 0; top: 0;
  opacity: 0; transition: opacity .5s var(--ease);
}
.hs.is-on { opacity: 1; }
.hs__dot {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 18px;
  background: var(--ivory); border: 5px solid var(--slate);
}
.hs__dot::after {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px solid var(--slate); animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.hs__label {
  position: absolute; left: 22px; top: -14px; white-space: nowrap;
  background: var(--graphite); color: var(--ivory);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; padding: 7px 12px; border-radius: 999px;
}

.pin { position: absolute; left: 0; top: 0; opacity: 0; }
.pin__dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 12px; background: var(--slate); box-shadow: 0 0 0 6px color-mix(in srgb, var(--slate) 25%, transparent); }
.pin__label {
  position: absolute; left: 16px; top: -16px; white-space: nowrap;
  background: var(--ivory); color: var(--graphite); border: 1px solid var(--silver);
  padding: 6px 12px; border-radius: 12px; font-size: .78rem; font-weight: 600;
}
.pin__label b { color: var(--slate); margin-left: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .rail { display: none; }
  .overlay {
    background: linear-gradient(180deg,
      color-mix(in srgb, var(--bg) 92%, transparent) 0%,
      color-mix(in srgb, var(--bg) 55%, transparent) 38%,
      transparent 56%);
  }
  body[data-ch="fleet"] .overlay, body[data-ch="coverage"] .overlay {
    background: linear-gradient(0deg,
      color-mix(in srgb, var(--bg) 92%, transparent) 0%,
      color-mix(in srgb, var(--bg) 55%, transparent) 40%,
      transparent 58%);
  }
  .hero { justify-content: flex-start; padding-top: 110px; }
  .search { flex-wrap: wrap; border-radius: 20px; }
  .search__field { flex: 1 1 45%; border-right: 0; border-bottom: 1px solid var(--line); }
  .search__field:first-child { flex-basis: 100%; }
  .search .btn { flex: 1 1 100%; margin-top: 8px; }
  .hero__chips { display: none; }
  .copy--top, .copy--side { left: 16px; right: 16px; width: auto; top: 88px; transform: none; }
  .copy--side .body { font-size: .92rem; }
  .title { font-size: clamp(2rem, 8.6vw, 2.6rem); margin-bottom: 12px; }
  .eyebrow { margin-bottom: 14px; }
  #fleet .copy--side, #coverage .copy--side { top: auto; bottom: 16px; }
  #fleet .title, #coverage .title { font-size: 1.9rem; }
  .card { padding: 18px; border-radius: 18px; }
  .card h3 { font-size: 1.25rem; margin: 6px 0 10px; }
  .card__price { font-size: 1.8rem; margin-bottom: 12px; }
  .specs { display: none; }
  .swatch { display: none; }
  .tabs { margin: 0 0 12px; }
  .zones { margin-top: 12px; }
  .zones li { padding: 7px 0; font-size: .84rem; }
  #coverage .body { display: none; }
  .hud { bottom: 22px; }
  .plans { grid-template-columns: 1fr; margin-top: 40vh; }
  .process { grid-template-columns: 1fr; }
  .bookform label { grid-column: 1 / -1; padding: 10px 14px; }
  .bookform label:nth-of-type(5), .bookform label:nth-of-type(6) { grid-column: auto; }
  .book { padding-top: 14vh; }
  .foot { grid-template-columns: 1fr; }
  .hs__label { font-size: .66rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scrollcue span::after, .hs__dot::after { animation: none; }
}

/* =====================================================
   GCC Elite Chauffeurs additions
   ===================================================== */
.loader__brand { letter-spacing: .02em; }
.loader__brand em { color: var(--slate); }

.nav__logo { font-size: 1.45rem; letter-spacing: .02em; white-space: nowrap; }
.nav__logo em { color: var(--accent); }
.nav__logo span { font-size: 1em; color: inherit; margin-left: 0; letter-spacing: .02em; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-size: .84rem; font-weight: 600; font-variant-numeric: tabular-nums; opacity: .85; }
.nav__phone:hover { opacity: 1; }

.foot__brand { letter-spacing: .02em; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }

/* Fleet card with the vehicle list */
.copy--fleet { width: min(500px, 40vw); }
.copy--fleet .title { font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.tabs button { padding: 7px 13px; font-size: .78rem; }
.card { padding: 24px 24px 22px; }
.card h3 { font-size: 1.65rem; margin: 6px 0 6px; }
.card__lede { font-size: .86rem; opacity: .78; margin-bottom: 14px; }
.fleetlist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-bottom: 18px; border-top: 1px solid var(--line); }
.fleetlist li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .84rem; font-weight: 500; }
.fleetlist b { flex: none; font-size: .72rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__count { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .7; }
.card .btn { padding: 11px 18px; font-size: .84rem; }

/* Booking option cards (no prices) */
.plan__price { font-size: 2.1rem; }
.plan__link { margin-top: 14px; font-size: .84rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.plan__link::after { content: '→'; transition: transform .35s var(--ease); }
.plan__link:hover::after { transform: translateX(4px); }

/* Book */
.bookform .wide { grid-column: 1 / -1; }
.contact { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 34px; margin-top: 30px; }
.contact a { display: flex; flex-direction: column; gap: 4px; font-size: .92rem; font-weight: 600; }
.contact span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Floating WhatsApp */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--slate); color: var(--ivory);
  padding: 12px 18px 12px 14px; border-radius: 999px;
  font-size: .84rem; font-weight: 600;
  box-shadow: 0 10px 30px rgba(40, 44, 50, .22);
  transition: transform .35s var(--ease);
}
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  .nav__phone { display: none; }
}
@media (max-width: 820px) {
  .nav__logo { font-size: 1.15rem; }
  .nav .btn--small { padding: 9px 14px; font-size: .76rem; }
  .copy--fleet { width: auto; }
  .copy--fleet .title { display: none; }
  .copy--fleet .eyebrow { margin-bottom: 10px; }
  .tabs { gap: 4px; }
  .tabs button { padding: 6px 10px; font-size: .72rem; }
  .card { padding: 16px; }
  .card h3 { font-size: 1.2rem; }
  .card__lede { display: none; }
  .fleetlist { gap: 0 14px; margin-bottom: 12px; }
  .fleetlist li { padding: 5px 0; font-size: .74rem; }
  .fleetlist b { font-size: .66rem; }
  .card__count { display: none; }
  .contact { grid-template-columns: 1fr; }
  .wa { right: 14px; bottom: 14px; padding: 12px; }
  .wa span { display: none; }
}

/* =====================================================
   Showroom card
   ===================================================== */
.show {
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 24px; padding: 22px 22px 16px;
}
.show__top { display: flex; justify-content: space-between; gap: 12px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.show__top span:last-child { font-variant-numeric: tabular-nums; color: var(--fg); opacity: .6; }
.show__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.02; margin: 10px 0 6px; }
.show__lede { font-size: .86rem; opacity: .75; margin-bottom: 14px; }
.show__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; }
.show__meta > span:not(.show__state) { font-size: .74rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; }
.show__state { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .75; }
.show__state em { font-style: normal; color: inherit; }
.show__state i { width: 46px; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.show__state b { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.show__nav { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.show__arrow {
  width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; cursor: pointer; font-size: 1rem; transition: background .3s, color .3s;
}
.show__arrow:hover { background: var(--fg); color: var(--bg); }
.show__nav .btn { padding: 12px 18px; font-size: .84rem; }
.show__nav .btn--ghost { margin-left: auto; }
.show__nav .btn--ghost::after { content: '↻'; }
.show__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.show__list::-webkit-scrollbar { display: none; }
.show__item {
  flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  border: 1px solid var(--line); background: transparent; border-radius: 12px;
  padding: 8px 11px; cursor: pointer; text-align: left; transition: all .35s var(--ease);
}
.show__item span { font-size: .76rem; font-weight: 600; white-space: nowrap; }
.show__item b { font-size: .64rem; font-weight: 600; color: var(--accent); }
.show__item.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.show__item.is-active b { color: inherit; opacity: .75; }

/* Click target over the car on the turntable */
.stagehit {
  position: fixed; left: 0; top: 0; z-index: 4; border: 0; background: transparent; cursor: zoom-in;
  display: flex; align-items: flex-end; justify-content: center;
}
.stagehit span {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  padding: 7px 12px; border-radius: 999px; background: var(--graphite); color: var(--ivory);
  opacity: 0; transform: translateY(6px); transition: all .35s var(--ease);
}
.stagehit:hover span, .stagehit:focus-visible span { opacity: 1; transform: none; }

.previewtag {
  position: fixed; right: 64px; bottom: 26px; z-index: 6;
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  padding: 7px 11px; border-radius: 999px; border: 1px dashed var(--accent); color: var(--accent);
  background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.previewtag--hero { display: none; }
body[data-ch="hero"] .previewtag--hero:not([hidden]),
body[data-ch="drive"] .previewtag--hero:not([hidden]),
body[data-ch="details"] .previewtag--hero:not([hidden]) { display: block; }
.previewtag--inline { position: static; display: inline-block; margin-top: 10px; }
.wa ~ .previewtag { bottom: 80px; }

/* =====================================================
   Inspector
   ===================================================== */
.inspector {
  position: fixed; inset: 0; z-index: 80; padding: clamp(10px, 3vw, 36px);
  background: rgba(74, 74, 74, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .38s var(--ease);
}
.inspector.is-open { opacity: 1; }
.inspector__frame {
  position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden;
  background: var(--ivory); color: var(--graphite); box-shadow: 0 30px 80px rgba(30, 32, 36, .35);
  transform: scale(.97); transition: transform .5s var(--ease);
}
.inspector.is-open .inspector__frame { transform: none; }
.inspector canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.inspector canvas:active { cursor: grabbing; }
.inspector__head { position: absolute; left: clamp(18px, 4vw, 48px); top: clamp(18px, 4vw, 40px); pointer-events: none; }
.inspector__head .eyebrow { color: var(--slate); margin-bottom: 12px; }
.inspector__name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .95; }
.inspector__seats { margin-top: 10px; font-size: .9rem; font-weight: 600; opacity: .75; }
.inspector__close {
  position: absolute; right: 18px; top: 18px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(74, 74, 74, .25); background: var(--ivory); color: var(--graphite);
  font-size: 1.6rem; line-height: 1; cursor: pointer; transition: transform .35s var(--ease);
}
.inspector__close:hover { transform: rotate(90deg); }
.inspector__foot {
  position: absolute; left: clamp(18px, 4vw, 48px); right: clamp(18px, 4vw, 48px); bottom: clamp(16px, 3vw, 32px);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; pointer-events: none;
}
.inspector__foot > * { pointer-events: auto; }
.inspector__foot .btn { margin-left: auto; background: var(--graphite); color: var(--ivory); border-color: var(--graphite); }
.inspector__swatches { display: flex; gap: 8px; }
.inspector__swatches button {
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; background: var(--sw);
  border: 2px solid var(--ivory); box-shadow: 0 0 0 1px rgba(74, 74, 74, .35); transition: transform .3s var(--ease);
}
.inspector__swatches button.is-original { background: conic-gradient(var(--sw) 0 50%, #FFFFE3 0 100%); }
.inspector__swatches button.is-active { box-shadow: 0 0 0 2px var(--slate); transform: scale(1.08); }
.inspector__hint { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .55; transition: opacity .6s; }
.inspector__hint.is-gone { opacity: 0; }
html.is-inspecting { overflow: hidden; }

/* =====================================================
   Fleet lane (replaces the chapter rail)
   ===================================================== */
.lane {
  position: fixed; right: 14px; top: 92px; bottom: 92px; width: 30px; z-index: 20; pointer-events: none;
}
.lane__road {
  position: absolute; inset: 0; border-radius: 16px; overflow: hidden; pointer-events: auto;
  background:
    linear-gradient(var(--fg), var(--fg)) center / 1px 100% no-repeat,
    color-mix(in srgb, var(--fg) 8%, transparent);
  border: 1px solid var(--line);
  --dash: 0px;
}
.lane__road::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(180deg, var(--bg) 0 10px, transparent 10px 40px) center / 1px 100% no-repeat;
  background-position-y: var(--dash);
}
.lane__car {
  position: absolute; left: 50%; top: 0; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0;
  filter: drop-shadow(0 1px 1.5px rgba(30, 32, 36, .35)) blur(calc(var(--blur, 0) * .6px));
  transition: filter .3s;
}
.lane__car:hover, .lane__car.is-active { filter: drop-shadow(0 0 0 transparent) drop-shadow(0 0 5px var(--slate)); }
.lane__marker {
  position: absolute; left: -7px; width: 4px; height: 26px; margin-top: -13px; border-radius: 4px;
  background: var(--slate); transition: top .1s linear;
}
.lane__ticks { position: absolute; inset: 0; }
.lane__tick {
  position: absolute; right: 34px; width: 10px; height: 10px; margin-top: -5px; padding: 0;
  border: 0; background: none; cursor: pointer; pointer-events: auto;
}
.lane__tick::after { content: ''; position: absolute; right: 0; top: 4px; width: 6px; height: 1px; background: var(--fg); opacity: .45; }
.lane__tick span {
  position: absolute; right: 14px; top: -5px; white-space: nowrap;
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  opacity: 0; transform: translateX(4px); transition: all .3s var(--ease);
}
.lane__tick:hover span { opacity: .9; transform: none; }
.lane__tip {
  position: absolute; right: 40px; top: 0; margin-top: -14px; white-space: nowrap;
  font-size: .72rem; font-weight: 600; padding: 6px 11px; border-radius: 999px;
  background: var(--graphite); color: var(--ivory); opacity: 0; transition: opacity .25s;
}
.lane__tip.is-on { opacity: 1; }

@media (max-width: 820px) {
  .lane { display: none; }
  .show { padding: 14px; border-radius: 18px; }
  .show__name { font-size: 1.6rem; margin: 6px 0 4px; }
  .show__lede, .show__state { display: none; }
  .show__meta { margin-bottom: 10px; }
  .show__nav { margin-bottom: 10px; }
  .show__nav .btn { padding: 10px 14px; font-size: .78rem; }
  .show__arrow { width: 36px; height: 36px; }
  .previewtag { right: auto; left: 16px; bottom: auto; top: 76px; }
  .inspector { padding: 0; }
  .inspector__frame { border-radius: 0; }
  .inspector__hint { display: none; }
  .book { min-height: auto; padding: 12vh var(--gutter) 60px; }
  .bookform { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; gap: 12px; margin-top: 8vh; padding-bottom: 90px; }
  .foot__credit { word-break: break-word; line-height: 1.5; }
  .foot__credit a { text-decoration: underline; }
}

/* Video shown instead of a 3D model (assets/videos/<slug>.mp4) */
.showmedia { position: fixed; z-index: 3; right: var(--gutter); top: 50%; width: min(52vw, 820px); aspect-ratio: 16 / 9; transform: translateY(-46%); border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--graphite) 90%, black); box-shadow: 0 30px 80px -30px rgba(0,0,0,.45); opacity: 0; cursor: pointer; }
.showmedia video { width: 100%; height: 100%; object-fit: cover; display: block; }
.inspector__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: color-mix(in srgb, var(--graphite) 92%, black); }
@media (max-width: 820px) {
  .showmedia { left: 16px; right: 16px; top: 84px; width: auto; transform: none; border-radius: 16px; }
}
.show__nav { flex-wrap: wrap; row-gap: 8px; }
#showPhotos::after { content: '→'; }

/* Photo, or a plain card, for a vehicle with neither a 3D model file nor a video (js/showroom.js, js/inspector.js) */
.showmedia [hidden] { display: none; }
.showmedia__img, .showmedia__blank { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.inspector__still, .inspector__blank { position: absolute; inset: 0; width: 100%; height: 100%; }
.inspector__still { object-fit: contain; background: color-mix(in srgb, var(--graphite) 92%, black); }
.showmedia__blank, .inspector__blank {
  background: radial-gradient(120% 70% at 28% 0%, rgba(255, 255, 227, .10), transparent 62%),
    linear-gradient(158deg, var(--graphite) 0%, color-mix(in srgb, var(--graphite) 55%, var(--slate)) 52%, var(--slate) 100%);
}
/* Gallery page: admin text is held back for a moment so the original never flashes (js/content.js adds .c-done) */
@keyframes c-hold { from, to { visibility: hidden; } }
html:not(.c-done) .gal [data-c], html:not(.c-done) .gal [data-setting-text] { animation: c-hold .9s; }
