/* =========================================================
   DESERT DRIFT — Dark-luxury automotive editorial
   Design law: obsidian + single amber accent · glass · motion tokens
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* color */
  --obsidian: #0A0A0B;
  --obsidian-2: #0E0E10;
  --surface: #141416;
  --surface-2: #1A1A1D;
  --glass: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --bone: #F5F4F1;
  --muted: #A1A1AA;
  --muted-2: #8A8A93;
  --amber: #E9A23B;
  --amber-bright: #F6B95A;
  --ember: #C2410C;
  --danger: #E5604D;

  /* motion */
  --d-instant: 80ms;
  --d-fast: 180ms;
  --d-normal: 350ms;
  --d-slow: 600ms;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-sharp: cubic-bezier(0.4, 0, 0.2, 1);

  /* shape */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 68px;

  /* type */
  --f-display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --f-body: "Satoshi", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  background: var(--obsidian);
  color: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.aed { font-family: var(--f-mono); font-size: 0.62em; color: var(--amber); letter-spacing: 0.04em; vertical-align: 0.18em; margin-right: 0.18em; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 2000;
  background: var(--amber); color: #1a1206; padding: 10px 16px;
  border-radius: var(--r-sm); font-weight: 600; transform: translateY(-160%);
  transition: transform var(--d-fast) var(--ease-sharp);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(5rem, 11vw, 11rem); position: relative; }

.eyebrow {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem;
}
.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--left { margin-bottom: 2rem; }
.section__title {
  font-family: var(--f-display); font-weight: 600; line-height: 1.04;
  letter-spacing: -0.02em; font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  color: var(--bone);
}
.section__lead { color: var(--muted); margin-top: 1.1rem; font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 60ch; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%) contrast(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(180%) contrast(1.05);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 24px 60px -28px rgba(0,0,0,0.7);
}
@media (prefers-reduced-transparency: reduce) {
  .glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(26,26,29,0.94); }
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--bone); --bd: var(--hairline-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  padding: 0.85rem 1.5rem; border-radius: var(--r-pill);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  transition: transform var(--d-fast) var(--ease-sharp), background var(--d-fast) var(--ease-sharp), color var(--d-fast) var(--ease-sharp), box-shadow var(--d-fast) var(--ease-sharp);
  touch-action: manipulation; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px) scale(1.02); }
.btn:active { transform: scale(0.97); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  --bg: var(--amber); --fg: #1a1206; --bd: transparent;
  box-shadow: 0 10px 30px -10px rgba(233,162,59,0.55);
}
.btn--primary:hover { --bg: var(--amber-bright); box-shadow: 0 16px 40px -12px rgba(233,162,59,0.7); }
.btn--outline { --bg: transparent; --bd: var(--hairline-strong); }
.btn--outline:hover { --bd: var(--amber); background: rgba(233,162,59,0.06); }
.btn--ghost { --bg: transparent; --bd: transparent; color: var(--muted); }
.btn--ghost:hover { color: var(--bone); background: rgba(255,255,255,0.05); }

.btn__spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(0,0,0,0.25); border-top-color: #1a1206; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: 0.6; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Preloader (spinning tyre) ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 5000;
  width: 100vw; height: 100vh; height: 100dvh; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, #141417, var(--obsidian) 70%);
  display: grid; place-content: center; gap: 1.5rem; justify-items: center;
}
/* exit: the loader "drives off" upward (no see-through fade) */
.preloader.is-done { transform: translateX(100%); transition: transform var(--d-slow) var(--ease-smooth); }
.preloader__mark { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 6vw, 2.6rem); letter-spacing: 0.08em; display: flex; gap: 0.5em; }
.preloader__word { opacity: 0; transform: translateY(110%); display: inline-block; }
.preloader__word--accent { color: var(--amber); }
.preloader__tag { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); transition: color var(--d-fast); }
.preloader__tag.is-go { color: var(--amber); }

/* the wheel */
.loader-wheel { width: clamp(78px, 19vw, 116px); aspect-ratio: 1; filter: drop-shadow(0 14px 26px rgba(0,0,0,0.6)); }
.loader-wheel svg { width: 100%; height: 100%; transform-origin: 50% 50%; animation: wheelSpin 0.62s cubic-bezier(0.5,0,0.5,1) infinite; }
.wheel-tyre { fill: #131316; stroke: #2a2a30; stroke-width: 7; }
.wheel-tread { fill: none; stroke: #44444b; stroke-width: 7; stroke-dasharray: 1.6 4.4; }
.wheel-rim { fill: none; stroke: var(--amber); stroke-width: 3; }
.wheel-spoke { stroke: var(--amber); stroke-width: 3.2; stroke-linecap: round; }
.wheel-hub { fill: var(--amber-bright); }
.wheel-nut { fill: #131316; }

/* road the wheel rolls on */
.loader-road { width: clamp(150px, 42vw, 250px); height: 2px; background: var(--hairline); border-radius: 2px; overflow: hidden; position: relative; margin-top: -2px; }
.loader-road::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--amber) 0 16px, transparent 16px 38px); opacity: 0.85; animation: roadMove 0.42s linear infinite; }

@keyframes wheelSpin { to { transform: rotate(360deg); } }
@keyframes roadMove { to { transform: translateX(-38px); } }
@media (prefers-reduced-motion: reduce) {
  .loader-wheel svg, .loader-road::after { animation: none; }
}

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 12px 0 auto; z-index: 1000; display: flex; justify-content: center; padding-inline: var(--gutter); }
.nav__inner {
  width: 100%; max-width: var(--container); height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 0.7rem 0 1.3rem; border-radius: var(--r-pill);
  transition: height var(--d-normal) var(--ease-smooth), background var(--d-normal);
}
.nav.is-scrolled .nav__inner { height: 58px; }
.nav__brand { display: flex; align-items: center; gap: 0.5rem; }
.nav__logo { color: var(--amber); }
/* brand logo image */
.brand-logo { display: block; width: auto; height: 34px; }
.nav.is-scrolled .nav__brand .brand-logo { height: 30px; transition: height var(--d-normal) var(--ease-smooth); }
.footer__brand .brand-logo { height: 52px; }
.preloader__logo { height: clamp(46px, 12vw, 64px); }
.nav__links { display: flex; gap: 1.6rem; margin-inline: auto; }
.nav__links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; transition: color var(--d-fast); position: relative; }
.nav__links a:hover { color: var(--bone); }
.nav__actions { display: flex; align-items: center; gap: 0.6rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--bone); border-radius: 2px; transition: transform var(--d-fast) var(--ease-sharp), opacity var(--d-fast); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { position: absolute; top: calc(var(--nav-h) + 18px); left: var(--gutter); right: var(--gutter); border-radius: var(--r-md); padding: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.nav__mobile a { padding: 0.75rem 0.6rem; border-radius: var(--r-sm); color: var(--bone); font-weight: 500; }
.nav__mobile a:hover { background: rgba(255,255,255,0.05); }
.nav__mobile .btn { margin-top: 0.4rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 4rem; overflow: hidden; background: var(--obsidian); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(120% 80% at 82% 14%, rgba(233,162,59,0.14), transparent 52%),
    radial-gradient(90% 70% at 6% 92%, rgba(194,65,12,0.12), transparent 48%);
}
/* legibility scrim over the video: heavy on the left (copy), lighter mid-right (reveals the build) */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,7,8,0.94) 0%, rgba(7,7,8,0.78) 36%, rgba(7,7,8,0.34) 64%, rgba(7,7,8,0.6) 100%),
    linear-gradient(0deg, var(--obsidian) 1%, transparent 26%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; width: 100%; }
.hero__eyebrow { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.4rem; }
.hero__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; }
.hero__title em { font-style: italic; color: var(--amber); }
.hero__title .reveal-line { display: block; overflow: hidden; }
.hero__sub { color: var(--muted); margin-top: 1.5rem; font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 46ch; }
.hero__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.6rem 0.8rem; margin-top: 2rem; }
.hero__price-label { color: var(--muted-2); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.15em; }
.hero__price-was { font-family: var(--f-mono); font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--muted-2); text-decoration: line-through; text-decoration-color: rgba(233,162,59,0.55); font-variant-numeric: tabular-nums; }
.hero__price-value { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-variant-numeric: tabular-nums; }
.hero__price-save { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #1a1206; background: var(--amber); padding: 0.3rem 0.7rem; border-radius: var(--r-pill); align-self: center; font-weight: 700; }
.hero__offer { color: var(--amber); font-size: 0.82rem; margin-top: 0.8rem; letter-spacing: 0.01em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2rem; }
.hero__trust { color: var(--muted-2); font-size: 0.85rem; margin-top: 1.6rem; }

/* reduced motion / no autoplay → show the poster still instead of the video */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero { background: var(--obsidian) url("../img/hero-poster.webp") center/cover no-repeat; }
}
.hero__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; width: 24px; height: 40px; border: 1px solid var(--hairline-strong); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.hero__scroll span { width: 3px; height: 8px; background: var(--amber); border-radius: 2px; animation: scrolldot 1.6s var(--ease-smooth) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-3px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Marquee ---------- */
.marquee-wrap { border-block: 1px solid var(--hairline); background: var(--obsidian-2); overflow: hidden; }
.marquee { overflow: hidden; padding-block: 1.4rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: inline-flex; gap: 2.5rem; align-items: center; white-space: nowrap; will-change: transform; }
.marquee__track span { font-family: var(--f-display); font-weight: 500; font-size: clamp(0.95rem, 1.8vw, 1.3rem); letter-spacing: 0.08em; color: var(--muted); }
.marquee__track span[aria-hidden] { color: var(--amber); font-size: 0.7em; }

/* ---------- Promo video ---------- */
.promo { padding-block: clamp(2.5rem, 6vw, 5rem); }
.promo__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); box-shadow: 0 40px 90px -45px rgba(0,0,0,0.85); background: #000; }
.promo__video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 896; object-fit: cover; }

/* ---------- Included ---------- */
/* fancy ambient background (drifting aurora + telemetry grid) */
.included { background: radial-gradient(130% 90% at 50% -12%, #15151a, var(--obsidian) 62%); }
.included::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  clip-path: inset(0);
  background:
    radial-gradient(38% 48% at 16% 26%, rgba(233,162,59,0.18), transparent 70%),
    radial-gradient(46% 56% at 84% 74%, rgba(194,65,12,0.16), transparent 72%),
    radial-gradient(34% 44% at 66% 10%, rgba(233,162,59,0.10), transparent 70%);
  animation: includedAurora 17s ease-in-out infinite alternate;
}
.included::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(115% 80% at 50% 32%, #000 28%, transparent 76%);
          mask-image: radial-gradient(115% 80% at 50% 32%, #000 28%, transparent 76%);
}
.included > .container { position: relative; z-index: 1; }
@keyframes includedAurora {
  0%   { transform: translate3d(-2.5%, -1.5%, 0) scale(1.02); opacity: 0.85; }
  50%  { opacity: 1; }
  100% { transform: translate3d(2.5%, 1.5%, 0) scale(1.1); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) { .included::before { animation: none; } }

.included__grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr; gap: 1.2rem; align-items: start; }
.included__col { border-radius: var(--r-lg); padding: 2rem; }
.included__h { margin-bottom: 1.4rem; }
.included__tag { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: var(--r-pill); }
.included__tag--yes { color: var(--amber); border: 1px solid rgba(233,162,59,0.4); }
.included__tag--no { color: var(--muted); border: 1px solid var(--hairline); }
.ilist li { position: relative; padding-left: 1.9rem; padding-block: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.96rem; }
.ilist li:last-child { border-bottom: 0; }
.ilist li::before { position: absolute; left: 0; top: 0.5rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; }
.ilist--yes li::before { content: "✓"; background: rgba(233,162,59,0.16); color: var(--amber); }
.ilist--no li { color: var(--muted); }
.ilist--no li::before { content: "✕"; background: rgba(255,255,255,0.06); color: var(--muted-2); }
.included__sub { margin-top: 1.2rem; color: var(--muted-2); font-size: 0.85rem; }
.included__price { border-radius: var(--r-lg); padding: 2rem; text-align: center; position: sticky; top: 90px; }
.included__price-eyebrow { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }
.included__price-was { font-family: var(--f-mono); font-size: 1.1rem; color: var(--muted-2); text-decoration: line-through; text-decoration-color: rgba(233,162,59,0.55); margin-top: 0.6rem; font-variant-numeric: tabular-nums; }
.included__price-value { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3rem); margin: 0.2rem 0 0.6rem; font-variant-numeric: tabular-nums; display: flex; align-items: center; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
.included__price-save { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: #1a1206; background: var(--amber); padding: 0.28rem 0.6rem; border-radius: var(--r-pill); font-weight: 700; }
.included__price-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.included__price .btn { margin-top: 0.6rem; }
.included__turnkey { margin-top: 1.2rem; border-radius: var(--r-lg); padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.included__turnkey h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; margin-bottom: 0.4rem; }
.included__turnkey p { color: var(--muted); max-width: 60ch; }

/* ---------- How it works ---------- */
.how { position: relative; isolation: isolate; }
/* matrix dot-rain that fades into the sections above and below (no hard edge) */
.rain-canvas.how__rain { opacity: 0.5; -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent); }
.how__container { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.how__rail { position: sticky; top: 110px; }
.how__progress { margin-top: 2rem; height: 3px; background: var(--hairline); border-radius: 3px; overflow: hidden; }
.how__progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--ember), var(--amber)); border-radius: 3px; }
.how__phases { display: flex; flex-direction: column; gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.how__phase { position: relative; border-radius: var(--r-lg); padding: 2.2rem 2rem; transition: opacity var(--d-slow) var(--ease-smooth), transform var(--d-slow) var(--ease-smooth); }
.how__num { font-family: var(--f-mono); font-size: 0.85rem; color: var(--amber); letter-spacing: 0.1em; }
.how__phase h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin: 0.5rem 0 0.8rem; }
.how__phase p { color: var(--muted); }
.how__timeline { font-family: var(--f-display); color: var(--bone) !important; font-size: 1.2rem; margin-top: 0.8rem; }
.how__timeline .mono { color: var(--amber); }
.how__goal { color: var(--amber) !important; font-size: 0.88rem; margin-top: 1rem; font-style: italic; }

/* ---------- Matrix dot-rain zone (Why Us → Booking) ---------- */
.rainzone { position: relative; }
.rain-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.5; -webkit-mask-image: linear-gradient(180deg, transparent, #000 5%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 5%, #000 86%, transparent); }
.rainzone > .section { position: relative; z-index: 1; }

/* ---------- Why Us (editorial numbered list) ---------- */
.why__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why__aside { position: sticky; top: 110px; }
.why__aside .section__title { margin-bottom: 0; }
.why__aside-cta { margin-top: 1.8rem; }

.why__list { counter-reset: why; border-top: 1px solid var(--hairline); }
.why__row {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 1.4rem;
  padding: 1.6rem 1.2rem; border-bottom: 1px solid var(--hairline);
  position: relative; overflow: hidden;
  transition: background var(--d-normal) var(--ease-smooth), padding-left var(--d-normal) var(--ease-smooth);
}
/* amber wash + accent bar on hover/focus-within */
.why__row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--amber); transform: scaleY(0); transform-origin: top;
  transition: transform var(--d-normal) var(--ease-smooth);
}
.why__row:hover, .why__row:focus-within { background: rgba(233,162,59,0.05); padding-left: 1.8rem; }
.why__row:hover::before, .why__row:focus-within::before { transform: scaleY(1); }

.why__index { font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted-2); letter-spacing: 0.1em; align-self: start; padding-top: 0.5rem; transition: color var(--d-normal); }
.why__row:hover .why__index, .why__row:focus-within .why__index { color: var(--amber); }
.why__ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--hairline); color: var(--bone); flex-shrink: 0; transition: color var(--d-normal), border-color var(--d-normal), background var(--d-normal), transform var(--d-normal) var(--ease-smooth); }
.why__ico svg { width: 22px; height: 22px; }
.why__row:hover .why__ico, .why__row:focus-within .why__ico { color: var(--amber); border-color: rgba(233,162,59,0.45); background: rgba(233,162,59,0.08); transform: scale(1.05); }
.why__text h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.4rem); margin-bottom: 0.3rem; }
.why__text p { color: var(--muted); font-size: 0.95rem; max-width: 52ch; }

/* ---------- Gallery ---------- */
.gallery__strip { display: flex; gap: 1rem; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 1rem; }
.gallery__strip::-webkit-scrollbar { display: none; }
.gallery__item { position: relative; flex: 0 0 clamp(240px, 30vw, 360px); aspect-ratio: 7/9; border-radius: var(--r-lg); overflow: hidden; scroll-snap-align: center; background: linear-gradient(160deg, #1a130a, #0c0c0e 70%); border: 1px solid var(--hairline); }
.gallery__item--tall { aspect-ratio: 7/10; align-self: stretch; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.08) brightness(0.92); transition: transform var(--d-slow) var(--ease-smooth), filter var(--d-normal); will-change: transform; }
.gallery__item:hover img { transform: scale(1.06); filter: grayscale(0) contrast(1.1) brightness(1); }
.gallery__item.is-fallback::after { content: "Desert Drift Kings"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); color: rgba(233,162,59,0.4); letter-spacing: 0.1em; }
/* video card (first slide) — matches the video's 5:4 ratio so there's no crop */
.gallery__item--video { flex-basis: clamp(300px, 46vw, 580px); aspect-ratio: 5 / 4; }
.gallery__video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* carousel arrows */
.gallery__carousel { position: relative; }
.gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; line-height: 1; color: var(--bone); background: rgba(18,18,20,0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--hairline-strong); transition: background var(--d-fast), border-color var(--d-fast), transform var(--d-fast) var(--ease-sharp); }
.gallery__arrow:hover { background: rgba(28,28,32,0.92); border-color: var(--amber); }
.gallery__arrow:active { transform: translateY(-50%) scale(0.94); }
.gallery__arrow--prev { left: calc(var(--gutter) - 8px); }
.gallery__arrow--next { right: calc(var(--gutter) - 8px); }
@media (max-width: 640px) { .gallery__arrow { display: none; } } /* swipe on mobile */

/* ---------- Proof ---------- */
.proof__rating { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.2rem; color: var(--muted); font-size: 0.9rem; }
.stars { color: var(--amber); letter-spacing: 0.1em; }
.proof__viewport { overflow: hidden; }
.proof__track { display: flex; transition: transform var(--d-slow) var(--ease-smooth); }
.proof__slide { flex: 0 0 100%; padding: 0.55rem; display: flex; }
.proof__card { flex: 1; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: clamp(1.6rem, 2.4vw, 2.1rem); transition: transform var(--d-normal) var(--ease-smooth), border-color var(--d-normal), box-shadow var(--d-normal); }
.proof__card:hover { transform: translateY(-6px); border-color: rgba(233,162,59,0.4); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 30px 70px -30px rgba(0,0,0,0.8); }
.proof__quote { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.4; letter-spacing: -0.01em; }
.proof__quote::before { content: "“"; color: var(--amber); }
.proof__meta { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; padding-top: 1.6rem; }
.proof__avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(160deg, var(--amber), var(--ember)); display: grid; place-items: center; color: #1a1206; font-weight: 700; font-family: var(--f-display); }
.proof__name { font-weight: 600; }
.proof__role { color: var(--muted); font-size: 0.85rem; }
.proof__controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 1.8rem; }
.proof__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline-strong); color: var(--bone); font-size: 1.4rem; line-height: 1; transition: background var(--d-fast), border-color var(--d-fast); }
.proof__arrow:hover { background: rgba(255,255,255,0.06); border-color: var(--amber); }
.proof__dots { display: flex; gap: 0.5rem; }
.proof__dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline-strong); transition: background var(--d-fast), transform var(--d-fast); }
.proof__dots button.is-active { background: var(--amber); transform: scale(1.3); }

/* ---------- FAQ ---------- */
.faq__list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq__item { border-radius: var(--r-md); overflow: hidden; transition: transform var(--d-normal) var(--ease-smooth), border-color var(--d-normal), box-shadow var(--d-normal); }
.faq__item:hover { transform: translateY(-5px); border-color: rgba(233,162,59,0.4); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 26px 56px -30px rgba(0,0,0,0.8); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.3rem 1.5rem; font-family: var(--f-display); font-weight: 500; font-size: 1.08rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--amber); font-size: 1.5rem; transition: transform var(--d-normal) var(--ease-smooth); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 1.5rem 1.4rem; color: var(--muted); }
.faq__body strong { color: var(--bone); }

/* ---------- Booking ---------- */
.booking__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.booking__points { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; }
.booking__points li { position: relative; padding-left: 1.7rem; color: var(--muted); }
.booking__points li::before { content: "→"; position: absolute; left: 0; color: var(--amber); }
.booking__intro .btn--ghost { margin-top: 1.8rem; margin-left: -1rem; padding-inline: 1rem; }
.booking__form { border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--bone); }
.req { color: var(--amber); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--bone); background: rgba(0,0,0,0.25);
  border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: 0.8rem 0.9rem; min-height: 46px; transition: border-color var(--d-fast), box-shadow var(--d-fast);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(233,162,59,0.15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 0.78rem; min-height: 0; }
.booking__formnote { font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.booking__formnote.is-success { color: var(--amber); }
.booking__formnote.is-error { color: var(--danger); }

/* ---------- Final CTA ---------- */
.finalcta { padding-block: clamp(5rem, 10vw, 9rem); text-align: center; position: relative; overflow: hidden; }
.finalcta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 50% 0%, rgba(233,162,59,0.16), transparent 60%); }
.finalcta__inner { position: relative; }
.finalcta h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; margin-inline: auto; }
.finalcta h2 em { color: var(--amber); font-style: italic; }
.finalcta p { color: var(--muted); margin-top: 1.2rem; font-size: 1.1rem; }
.finalcta__was { text-decoration: line-through; text-decoration-color: rgba(233,162,59,0.55); color: var(--muted-2); margin-right: 0.3rem; }
.finalcta p .mono { color: var(--bone); }
.finalcta__btns { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--hairline); background: var(--obsidian-2); padding-top: 4rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.footer__brand p { color: var(--muted); margin-top: 1rem; max-width: 40ch; }

/* warranty badge in footer */
.warranty-badge { display: flex; align-items: center; gap: 0.8rem; width: 100%; text-align: left; padding: 0.9rem 1rem; border-radius: var(--r-md); border: 1px solid var(--hairline-strong); background: rgba(233,162,59,0.05); transition: border-color var(--d-fast), background var(--d-fast), transform var(--d-fast) var(--ease-sharp); }
.warranty-badge:hover { border-color: var(--amber); background: rgba(233,162,59,0.1); transform: translateY(-1px); }
.warranty-badge__icon { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(233,162,59,0.14); color: var(--amber); }
.warranty-badge__icon svg { width: 20px; height: 20px; }
.warranty-badge__text { display: flex; flex-direction: column; }
.warranty-badge__title { font-family: var(--f-display); font-weight: 600; color: var(--bone); font-size: 1rem; }
.warranty-badge__sub { color: var(--muted); font-size: 0.78rem; }
.footer__col h4 { font-family: var(--f-display); font-weight: 600; margin-bottom: 1rem; font-size: 1rem; }
.footer__col a { display: block; color: var(--muted); padding: 0.3rem 0; transition: color var(--d-fast); }
.footer__col a:hover { color: var(--amber); }
.footer__addr { color: var(--muted-2); font-size: 0.85rem; margin-top: 0.8rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid var(--hairline); color: var(--muted-2); font-size: 0.82rem; }

/* ---------- Mobile sticky bar ---------- */

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: var(--gutter); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,5,6,0.7); backdrop-filter: blur(6px); }
.modal__panel { position: relative; width: min(640px, 100%); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.modal__close { position: absolute; top: 14px; right: 18px; font-size: 1.8rem; line-height: 1; color: var(--muted); }
.modal__close:hover { color: var(--bone); }
.modal__panel h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; margin-bottom: 1.2rem; }
.modal__video { aspect-ratio: 16/9; border-radius: var(--r-md); background: rgba(0,0,0,0.4); display: grid; place-items: center; border: 1px solid var(--hairline); }
.modal__placeholder { color: var(--muted); text-align: center; padding: 1rem; }
.modal__placeholder a { color: var(--amber); }

/* animated entrance (popup) */
.modal:not([hidden]) .modal__backdrop { animation: modalFade var(--d-normal) var(--ease-smooth); }
.modal:not([hidden]) .modal__panel { animation: modalPop var(--d-normal) var(--ease-smooth); }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(14px) scale(0.96); } }

/* warranty modal */
.modal__panel--warranty { width: min(680px, 100%); max-height: 88vh; overflow-y: auto; }
.modal__panel--warranty h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.1; margin-bottom: 0.8rem; }
.warranty__chip { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(233,162,59,0.4); padding: 0.4rem 0.8rem; border-radius: var(--r-pill); margin-bottom: 1.2rem; }
.warranty__intro { color: var(--muted); margin-bottom: 1.6rem; }
.warranty__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.warranty__list { border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 1.2rem 1.3rem; }
.warranty__list h4 { font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.8rem; }
.warranty__list--yes h4 { color: var(--amber); }
.warranty__list--no h4 { color: var(--muted); }
.warranty__list li { position: relative; padding-left: 1.6rem; padding-block: 0.4rem; font-size: 0.9rem; color: var(--bone); }
.warranty__list--no li { color: var(--muted); }
.warranty__list li::before { position: absolute; left: 0; top: 0.4rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.62rem; }
.warranty__list--yes li::before { content: "✓"; background: rgba(233,162,59,0.16); color: var(--amber); }
.warranty__list--no li::before { content: "✕"; background: rgba(255,255,255,0.06); color: var(--muted-2); }
.warranty__note { color: var(--muted); font-size: 0.9rem; margin: 1.4rem 0 1.6rem; line-height: 1.6; }
.warranty__note strong { color: var(--bone); }

/* ---------- Reveal animation base ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity var(--d-slow) var(--ease-smooth), transform var(--d-slow) var(--ease-smooth); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .included__grid { grid-template-columns: 1fr 1fr; }
  .included__price { grid-column: 1 / -1; position: static; order: -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0.6rem 2rem; text-align: left; }
  .included__price .btn { grid-column: 2; margin: 0; }
  .included__price-eyebrow, .included__price-was, .included__price-value, .included__price-note { grid-column: 1; }
  .included__price-value { justify-content: flex-start; }
  .how__container { grid-template-columns: 1fr; }
  .how__rail { position: static; }
}

@media (max-width: 860px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { padding-right: 0.4rem; }
  .hero { min-height: 88svh; padding-top: calc(var(--nav-h) + 60px); }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* full-width copy on mobile → lighter top so the video reads, darker behind the lower copy */
  .hero__scrim { background:
    linear-gradient(180deg, rgba(7,7,8,0.30) 0%, rgba(7,7,8,0.58) 58%, var(--obsidian) 100%); }
  .hero__scroll { display: none; }
  .booking__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .included__grid { grid-template-columns: 1fr; }
  .included__price { grid-template-columns: 1fr; text-align: center; }
  .included__price .btn { grid-column: 1; }
  .field-row { grid-template-columns: 1fr; }
  .why__row { grid-template-columns: auto 1fr; gap: 1rem; row-gap: 0.4rem; }
  .why__index { grid-column: 1 / -1; padding-top: 0; }
  .hero__cta .btn { flex: 1; min-width: 140px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .warranty__cols { grid-template-columns: 1fr; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.12s !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__scroll span, .hero__frame-glint { animation: none; display: none; }
  .marquee__track { transform: none !important; }
  .gallery__item:hover img { transform: none; }
}
