/* ─────────────────────────── Oshias Auto Mart ─────────────────────────── */
:root {
  --black: #0a0a0b;
  --black-2: #101012;
  --black-3: #16161a;
  --red: #e10600;
  --red-glow: rgba(225, 6, 0, 0.55);
  --white: #f4f2ef;
  --grey: #8d8a86;
  --line: rgba(244, 242, 239, 0.09);
  --display: 'Bebas Neue', Impact, sans-serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* `clip` rather than `hidden`: it contains the off-screen fixed drawers without
   turning the root into a scroll container, which would break position:sticky. */
html { scroll-behavior: initial; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
section { position: relative; }

/* ─────────── NAV ─────────── */
.nav {
  position: fixed; top: 1.15rem; left: 0; right: 0; z-index: 60;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 0 1.6rem; pointer-events: none;
}
.nav > * { pointer-events: auto; }

/* shared glass treatment for the pill, the cart and the logo badge */
.nav__pill, .nav__cart, .nav__logo {
  border: 1px solid rgba(244, 242, 239, .12);
  background: rgba(14, 14, 16, .55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 14px 44px -18px rgba(0, 0, 0, .95);
  border-radius: 999px;
}

.nav__pill {
  position: relative; display: flex; align-items: center;
  height: 3rem; overflow: hidden; width: auto;
}
.nav__pill.is-collapsed { cursor: pointer; }
.nav__pill.is-collapsed .nav__links,
.nav__pill.is-collapsed .nav__brand { pointer-events: none; }

.nav__brand {
  flex-shrink: 0; white-space: nowrap;
  font-family: var(--display); font-size: 1.35rem; letter-spacing: .12em;
  padding: 0 .5rem 0 1.25rem;
}
.nav__brand span { color: var(--red); margin-left: .4em; }

.nav__links { display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; white-space: nowrap; }
.nav__links a {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey);
  transition: color .3s;
}
.nav__links a:hover { color: var(--red); }

/* centred hamburger, only shown while the pill is collapsed */
.nav__burger {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; color: var(--white);
}
.nav__burger svg { width: 21px; height: 21px; }

/* mobile-only trigger for the dropdown sheet */
.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; background: none; border: 0; color: var(--white); cursor: pointer;
}
.nav__toggle svg { width: 21px; height: 21px; }

/* right-hand group: never collapses, stays put through the whole scroll */
.nav__right { display: flex; align-items: center; gap: .6rem; height: 3rem; }

.nav__logo {
  flex-shrink: 0; display: block; overflow: hidden;
  width: 3rem; height: 3rem;
  transition: border-color .35s, transform .35s cubic-bezier(.2,.7,.2,1);
}
.nav__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav__logo:hover { border-color: rgba(225, 6, 0, .55); transform: scale(1.07); }

.nav__cart {
  position: relative; flex-shrink: 0;
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); cursor: pointer;
  transition: color .3s, border-color .3s;
}
.nav__cart svg { width: 21px; height: 21px; }
.nav__cart:hover { color: var(--red); border-color: rgba(225, 6, 0, .5); }
.nav__cart-count {
  position: absolute; top: -2px; right: -2px;
  background: var(--red); color: #fff; font-size: .6rem; font-weight: 600;
  min-width: 17px; height: 17px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  border: 2px solid var(--black);
}

/* dropdown sheet (mobile) */
.nav__sheet {
  position: fixed; top: 4.6rem; left: 1.6rem; right: 1.6rem; z-index: 59;
  display: none; flex-direction: column;
  border: 1px solid rgba(244, 242, 239, .12); border-radius: 14px;
  background: rgba(14, 14, 16, .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .95);
  padding: .5rem; opacity: 0; transform: translateY(-10px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.nav__sheet.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav__sheet a {
  padding: .85rem 1rem; border-radius: 9px;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--grey);
}
.nav__sheet a:hover { background: rgba(244, 242, 239, .05); color: var(--white); }

/* ─────────── HERO ─────────── */
/* svh: on phones the browser's toolbars never sit over the bottom of the screen-sized sections */
.hero { height: 100vh; height: 100svh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
/* both layers share one transform so the glow stays welded to the lamps */
.hero__layers {
  position: absolute; inset: 0;
  transform-origin: 50% 60%;
  will-change: transform;
}
/* backdrop, rotating car and LED pass are all 1600x900, so identical
   object-fit keeps the lamps welded to the car at every viewport */
.hero__void, .hero__car, .hero__led {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
/* the moving group — car, reflection, underglow and lamp bloom */
.hero__rig { position: absolute; inset: 0; will-change: transform; }
/* the LED emission pass — screened over the car so it can be ignited */
.hero__led {
  mix-blend-mode: screen; opacity: 0;
  will-change: opacity; pointer-events: none;
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, transparent 30%, rgba(10,10,11,.72) 100%),
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, transparent 25%, transparent 60%, var(--black) 100%);
}
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__content {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  text-align: left; padding: 0 6vw;
  pointer-events: none;
}
.hero__eyebrow { font-size: .68rem; letter-spacing: .5em; color: var(--grey); margin-bottom: 1.4rem; }
.hero__title { font-family: var(--display); font-weight: 400; line-height: .92; }
.hero__line { display: block; font-size: clamp(3.1rem, 8.6vw, 7.4rem); letter-spacing: .04em; }
.hero__line--accent { color: var(--red); text-shadow: 0 0 60px var(--red-glow); }
/* the promise, sitting directly under the name */
.hero__tag {
  margin-top: 1.3rem; font-family: var(--display); font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 2.05rem); letter-spacing: .1em;
  color: var(--white); line-height: 1.15; text-transform: uppercase;
}
.hero__tag span { color: var(--red); }
.hero__sub { margin-top: 1rem; max-width: 24rem; color: var(--grey); font-size: .92rem; line-height: 1.75; }
.hero__scroll {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); z-index: 5;
  font-size: .62rem; letter-spacing: .4em; color: var(--grey);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
}
/* Before main.js has loaded and the car has decoded, the hero would show its
   finished layout — the name over a centred car — and then restart as the intro
   ran. It stays dark until then instead; the fallback shows it anyway if the
   intro never comes. */
.intro-wait .hero__void, .intro-wait .hero__rig, .intro-wait .hero__content, .intro-wait .hero__scroll {
  visibility: hidden; animation: introFallback 0s 8s forwards;
}
@keyframes introFallback { to { visibility: visible; } }
.hero__scroll span { display: block; width: 1px; height: 44px; background: linear-gradient(var(--red), transparent); animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ─────────── STORY ─────────── */
.story { padding: 22vh 8vw; max-width: 1100px; margin: 0 auto; }
.story__kicker, .details__kicker, .specs__kicker, .shop__kicker, .booking__kicker {
  font-size: .68rem; letter-spacing: .5em; color: var(--red); margin-bottom: 2rem;
}
.story__statement { font-family: var(--display); font-weight: 400; line-height: 1.02; margin-bottom: 3rem; }
.story__line { display: block; overflow: hidden; }
.story__line > span { display: inline-block; font-size: clamp(2.6rem, 7vw, 5.5rem); letter-spacing: .03em; }
.story__line--accent > span { color: var(--red); }
.story__body { max-width: 38rem; color: var(--grey); line-height: 1.9; font-size: 1rem; }

/* ─────────── DETAILS (pinned) ─────────── */
.details__pin { height: 100vh; height: 100svh; overflow: hidden; position: relative; }
.details__media { position: absolute; inset: 0; overflow: hidden; }
/* both layers zoom together, anchored on the projector lens */
.details__frame {
  position: absolute; inset: 0;
  transform-origin: 42% 46%;
  will-change: transform;
}
.details__img, .details__led {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.details__led { mix-blend-mode: screen; opacity: 0; will-change: opacity; }
.details__overlay {
  position: absolute; inset: 0; z-index: 4;
  background: linear-gradient(180deg, rgba(10,10,11,.72), transparent 32%, transparent 52%, rgba(10,10,11,.92));
  padding: 7rem 8vw;
}
.details__head { position: relative; z-index: 2; }
.details__title {
  font-family: var(--display); font-weight: 400; letter-spacing: .03em;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; margin-top: -.6rem;
}
.details__callout {
  position: absolute; right: 8vw; bottom: 12vh;
  opacity: 0; transform: translateY(30px);
  max-width: 25rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .9);
}
.details__index {
  display: block; font-family: var(--display); font-size: 1rem;
  letter-spacing: .3em; color: var(--red); margin-bottom: .5rem;
}
.details__callout h3 { font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: .05em; color: var(--white); }
.details__callout h3::after { content: ''; display: block; width: 56px; height: 2px; background: var(--red); margin-top: .6rem; }
.details__callout p { color: #b9b5b0; margin-top: .9rem; line-height: 1.75; font-size: .94rem; }

/* ─────────── SPECS ─────────── */
.specs { padding: 20vh 8vw; background: var(--black-2); }
.specs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 3.5rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.spec { border-left: 1px solid var(--line); padding-left: 1.6rem; }
.spec__num { font-family: var(--display); font-size: clamp(2.8rem, 5vw, 4.4rem); color: var(--white); line-height: 1; }
.spec__num .count { color: var(--red); }
.spec__unit { font-size: .68rem; letter-spacing: .4em; color: var(--white); margin: .7rem 0 .5rem; }
.spec p { color: var(--grey); font-size: .85rem; line-height: 1.6; }

/* ─────────── SHOP ─────────── */
.shop { position: relative; }
.shop__pin {
  height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 8vh 6vw 4vh;
}
.shop__head { text-align: center; flex-shrink: 0; }
.shop__title, .booking__title { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; letter-spacing: .03em; line-height: 1; }

/* ── 3D deck ── */
.deck {
  position: relative; flex: 1; width: 100%;
  perspective: 1500px; perspective-origin: 50% 45%;
  transform-style: preserve-3d;
}
.dcard {
  position: absolute; top: 50%; left: 50%;
  width: clamp(276px, 40vw, 460px);
  background: linear-gradient(165deg, rgba(28,28,33,.96), rgba(13,13,15,.96));
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.95);
  transform-style: preserve-3d; will-change: transform, opacity;
  opacity: 0; pointer-events: none;
  backface-visibility: hidden;
}
.dcard.is-front { pointer-events: auto; }
.dcard.is-front { border-color: rgba(225, 6, 0, .38); box-shadow: 0 44px 100px -28px rgba(0,0,0,.98), 0 0 70px -30px var(--red-glow); }

.dcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.dcard__media img { width: 100%; height: 100%; object-fit: cover; }
.dcard__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,13,15,.9));
}
.dcard__badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  font-size: .55rem; letter-spacing: .26em; text-transform: uppercase;
  background: var(--red); color: #fff; padding: .34rem .6rem; border-radius: 3px;
}
.dcard__body { padding: 1.3rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.dcard__cat { font-size: .6rem; letter-spacing: .3em; color: var(--red); text-transform: uppercase; }
.dcard__name { font-size: 1.14rem; font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
.dcard__desc { font-size: .89rem; line-height: 1.7; color: var(--grey); }
.dcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .35rem; }
.dcard__price { font-family: var(--display); font-size: 1.8rem; letter-spacing: .05em; }
.dcard__btn {
  padding: .8rem 1.25rem; border: 1px solid rgba(225,6,0,.55); background: transparent;
  color: var(--white); font-family: var(--sans); font-size: .66rem; letter-spacing: .22em;
  text-transform: uppercase; cursor: pointer; border-radius: 4px; white-space: nowrap;
  transition: background .3s, color .3s;
}
.dcard__btn:hover { background: var(--red); color: #fff; }

/* ── progress meter ── */
.deck__meter {
  flex-shrink: 0; display: flex; align-items: center; gap: 1.1rem;
  font-size: .68rem; letter-spacing: .26em; color: var(--grey);
}
.deck__num i { font-style: normal; color: var(--white); }
.deck__num em { font-style: normal; opacity: .4; margin: 0 .2em; }
.deck__track { display: block; width: clamp(90px, 18vw, 200px); height: 1px; background: var(--line); position: relative; }
.deck__track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--red); display: block; }

/* short laptop screens: shrink the card so the stack still clears the fold */
@media (max-height: 760px) {
  .shop__pin { padding: 5vh 6vw 3vh; }
  .dcard { width: clamp(258px, 32vw, 366px); }
  .dcard__desc { font-size: .78rem; line-height: 1.55; }
  .dcard__body { padding: .95rem 1.1rem 1.1rem; gap: .4rem; }
}

/* a phone on its side has width to spare and almost no height, so the same
   card lays its photo beside the text instead of above it */
@media (max-height: 500px) and (min-width: 560px) {
  .shop__pin { padding: 4.5rem 6vw .9rem; }
  .shop__kicker { margin-bottom: .4rem; }
  .shop__title { font-size: 1.9rem; }
  .dcard { width: min(76vw, 580px); display: grid; grid-template-columns: 38% minmax(0, 1fr); }
  .dcard__media { aspect-ratio: auto; height: 100%; }
  .dcard__body { padding: .9rem 1.1rem 1rem; gap: .35rem; }
  .dcard__desc {
    font-size: .8rem; line-height: 1.55;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  }
  .dcard__price { font-size: 1.5rem; white-space: nowrap; }
}

/* tablets: 40vw left the card too narrow for its price and button on one line
   (a phone on its side keeps the short-screen card above) */
@media (max-width: 880px) and (min-height: 761px) {
  .dcard { width: min(60vw, 400px); }
  .dcard__price { white-space: nowrap; }
}

/* phones: the same deck, with a card narrow enough to hold its price and button
   on one line, a photo that gives way on short screens, and the counter kept
   clear of the chat button in the corner */
@media (max-width: 620px) {
  .shop__pin { padding: 4.7rem 5vw 4.5rem; }
  .shop__kicker { margin-bottom: .9rem; }
  .shop__title { font-size: 2.3rem; }
  .dcard { width: min(88vw, 340px); }
  .dcard__media { aspect-ratio: auto; height: clamp(110px, 21svh, 200px); }
  .dcard__body { padding: 1rem 1.15rem 1.15rem; gap: .4rem; }
  .dcard__name { font-size: 1.02rem; }
  .dcard__desc {
    font-size: .8rem; line-height: 1.6;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
  }
  .dcard__price { font-size: 1.5rem; white-space: nowrap; }
  .dcard__btn { padding: .85rem 1rem; }
  .deck__all { display: inline-block; padding: .55rem 0; }
}

/* ─────────── BOOKING ─────────── */
.booking { padding: 16vh 8vw; overflow: hidden; }
.booking__media { position: absolute; inset: 0; }
.booking__media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.booking__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.78) 55%, rgba(10,10,11,.55) 100%); }
.booking__inner {
  position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; max-width: 1200px; margin: 0 auto; align-items: center;
}
.booking__body { color: var(--grey); line-height: 1.9; margin: 1.6rem 0 2rem; max-width: 30rem; }
.booking__list { list-style: none; }
.booking__list li { padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--white); font-size: .92rem; letter-spacing: .03em; }
.booking__list li::before { content: '—'; color: var(--red); margin-right: .9rem; }

.booking__form {
  background: rgba(16, 16, 18, .88); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 8px; padding: 2.2rem;
}
.booking__form h3, .checkout h3 { font-family: var(--display); font-size: 1.9rem; letter-spacing: .06em; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--grey); margin-bottom: .45rem; }
.field label em { text-transform: none; letter-spacing: 0; font-style: normal; opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--black); border: 1px solid var(--line); border-radius: 4px;
  color: var(--white); font-family: var(--sans); font-size: .9rem; padding: .8rem .9rem;
  transition: border-color .3s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
/* native pickers: Windows drew the option list white, with the select's white
   text, so every option but the highlighted one vanished */
select, input[type=date] { color-scheme: dark; }
option { background-color: var(--black-2); color: var(--white); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%), linear-gradient(135deg, var(--grey) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

.btn {
  display: inline-block; width: 100%; padding: .95rem 1.4rem; border-radius: 4px; cursor: pointer;
  font-family: var(--sans); font-size: .74rem; letter-spacing: .28em; text-transform: uppercase;
  transition: background .3s, box-shadow .3s, color .3s;
}
.btn--solid { background: var(--red); border: 1px solid var(--red); color: #fff; }
.btn--solid:hover { background: #ff1a13; box-shadow: 0 8px 30px -8px var(--red-glow); }
.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--grey); margin-top: .7rem; }
.btn--ghost:hover { color: var(--white); border-color: var(--grey); }
.form-msg { margin-top: 1rem; font-size: .85rem; line-height: 1.6; color: var(--red); min-height: 1em; }
.form-msg.ok { color: #6fe08b; }

/* ─────────── FOOTER ─────────── */
/* ─────────── FOOTER ─────────── */
.site-footer {
  position: relative; max-width: 1200px; margin: 0 auto;
  padding: 4.5rem 6vw 3.5rem;
  border-top: 1px solid var(--line);
  border-radius: 28px 28px 0 0;
  background: radial-gradient(38% 130px at 50% 0%, rgba(225, 6, 0, .10), transparent 70%);
}
/* the soft light seam across the top edge */
.site-footer .ft__seam {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  width: 34%; height: 1px; border-radius: 999px; filter: blur(1px);
  background: linear-gradient(90deg, transparent, rgba(225, 6, 0, .85), transparent);
}

.ft__grid { display: grid; gap: 3rem; }
.ft__brand { display: flex; flex-direction: column; align-items: flex-start; }
.ft__mark { width: 2.6rem; height: 2.6rem; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); display: block; }
.ft__mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ft__name { font-family: var(--display); font-weight: 400; font-size: 2rem; letter-spacing: .12em; margin-top: 1.1rem; line-height: 1; }
.ft__name span { color: var(--red); margin-left: .4em; }
.ft__copy { color: var(--grey); font-size: .8rem; margin-top: .7rem; letter-spacing: .02em; }

.ft__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.ft__col h3 { font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--red); font-weight: 500; }
.ft__col ul { list-style: none; margin-top: 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
.ft__col li { line-height: 1.5; }
.ft__col a, .ft__col span {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--grey); font-size: .85rem; transition: color .3s ease;
}
.ft__col a:hover { color: var(--white); }
.ft__col svg { width: 15px; height: 15px; flex-shrink: 0; }

@media (min-width: 1000px) {
  .ft__grid { grid-template-columns: 1fr 2fr; gap: 4rem; align-items: start; }
}
@media (max-width: 620px) {
  .ft__cols { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.5rem; }
  .site-footer { padding: 3.5rem 6vw 2.5rem; }
}

/* ─────────── CART DRAWER ─────────── */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(420px, 100vw);
  background: var(--black-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .5s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 1.8rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-family: var(--display); font-size: 1.7rem; letter-spacing: .08em; }
.drawer__close { background: none; border: 0; color: var(--grey); font-size: 1.1rem; cursor: pointer; }
.drawer__close:hover { color: var(--red); }
.drawer__items { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem 1.8rem; }
.drawer__empty { color: var(--grey); font-size: .9rem; padding: 2rem 0; text-align: center; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.cart-item__name { font-size: .85rem; font-weight: 500; }
.cart-item__price { color: var(--grey); font-size: .8rem; margin-top: .25rem; }
.cart-item__qty { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; }
.cart-item__qty button { width: 22px; height: 22px; background: var(--black); border: 1px solid var(--line); color: var(--white); border-radius: 3px; cursor: pointer; font-size: .8rem; line-height: 1; }
.cart-item__qty button:hover { border-color: var(--red); color: var(--red); }
.cart-item__remove { background: none; border: 0; color: var(--grey); cursor: pointer; font-size: .95rem; }
.cart-item__remove:hover { color: var(--red); }
.drawer__foot { padding: 1.4rem 1.8rem 1.8rem; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer__total span { color: var(--grey); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.drawer__total strong { font-family: var(--display); font-size: 1.6rem; letter-spacing: .05em; color: var(--red); }

.checkout {
  position: absolute; inset: 0; background: var(--black-2); padding: 1.8rem;
  transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto; overscroll-behavior: contain;
}
.checkout.is-open { transform: translateX(0); }
.pay-opts { display: grid; gap: .6rem; }
.pay-opt { display: flex; align-items: center; gap: .7rem; background: var(--black); border: 1px solid var(--line); border-radius: 4px; padding: .7rem .9rem; cursor: pointer; font-size: .85rem; }
.pay-opt:has(input:checked) { border-color: var(--red); }
.pay-opt input { accent-color: var(--red); }
/* the pay options sit inside .field, whose label and input rules shrank them to tiny
   uppercase text and stretched each radio button across the whole box */
.field .pay-opt { display: flex; margin-bottom: 0; font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--white); }
.field .pay-opt input { width: auto; flex: none; margin: 0; padding: 0; }

/* ─────────── TOAST ─────────── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translate(-50%, 20px); z-index: 100;
  background: var(--black-3); border: 1px solid rgba(225,6,0,.5); color: var(--white);
  width: max-content; max-width: calc(100vw - 2rem); text-align: center;
  padding: .85rem 1.6rem; border-radius: 100px; font-size: .82rem; letter-spacing: .04em;
  opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.8);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 880px) {
  /* the car sits behind the text on narrow screens, so shade it back */
  .hero__content { padding: 0 7vw; }
  .hero__vignette {
    background:
      radial-gradient(ellipse 120% 80% at 70% 45%, transparent 20%, rgba(10,10,11,.8) 100%),
      linear-gradient(90deg, rgba(10,10,11,.92) 0%, rgba(10,10,11,.55) 55%, transparent 100%),
      linear-gradient(180deg, rgba(10,10,11,.55) 0%, transparent 25%, transparent 60%, var(--black) 100%);
  }
  .hero__sub { max-width: 20rem; font-size: .85rem; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__brand { font-size: 1.15rem; padding-left: 1.1rem; }
  /* tighten everything so pill + cart + logo still clear a 360px screen */
  .nav { padding: 0 1.1rem; }
  .nav__right { gap: .45rem; }
  .nav__cart, .nav__logo { width: 2.5rem; height: 2.5rem; }
  .nav__sheet { display: flex; left: 1.1rem; right: 1.1rem; }
  .booking__inner { grid-template-columns: 1fr; gap: 3rem; }
  .details__callout { left: 6vw; right: 6vw; max-width: none; }
  /* meet the 44px minimum touch target */
  .dcard__btn { padding: 1rem 1.15rem; min-height: 44px; }
}

/* portrait phones and tablets: object-fit:cover crops the 16:9 car to a sliver
   on a tall screen, so the rig gets a 16:9 box of its own under the name. Same
   layers, same intro and scroll — only the framing changes. */
@media (max-width: 880px) and (orientation: portrait) {
  .hero { --rig-w: min(150vw, 1200px); }
  .hero__content { justify-content: flex-start; padding-top: max(7.5rem, 14svh); }
  /* the car sits centred in the space under the name, and shrinks on a short
     screen rather than sliding up behind the text */
  .hero__rig {
    inset: auto; left: calc(50% - var(--rig-w) / 2);
    bottom: 6vh; bottom: max(1rem, 6svh, calc(50svh - 11rem - var(--rig-w) * .236));
    width: var(--rig-w); height: calc(var(--rig-w) * 9 / 16);
  }
  .hero__vignette {
    background:
      radial-gradient(ellipse 110% 60% at 50% 30%, transparent 30%, rgba(10,10,11,.6) 100%),
      linear-gradient(180deg, rgba(10,10,11,.55) 0%, transparent 30%, transparent 72%, var(--black) 100%);
  }
}

/* a phone on its side: centre the name in the space under the nav, not behind it */
@media (max-height: 500px) {
  .hero__content { padding-top: 4.5rem; }
}

@supports (height: 100svh) {
  @media (max-width: 880px) and (orientation: portrait) {
    .hero { --rig-w: min(150vw, 1200px, calc((100svh - 26rem) * 2.5)); }
  }
}

/* touch screens: bigger targets and 16px fields (smaller ones make iOS zoom the page) */
@media (max-width: 880px) {
  .field input, .field select, .field textarea { font-size: 16px; }
  .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nav__sheet a { padding: 1.05rem 1rem; }
  .drawer__head { padding: 1rem 1.2rem 1rem 1.8rem; }
  .drawer__close { width: 44px; height: 44px; font-size: 1.15rem; }
  .cart-item__qty button { width: 34px; height: 34px; font-size: .95rem; }
  .cart-item__remove { width: 44px; height: 44px; margin-right: -.8rem; }
  .ft__col a { padding: .55rem 0; margin: -.55rem 0; }
}

/* ─────────── TESTIMONIALS ─────────── */
.tm { padding: 14vh 6vw 12vh; overflow: hidden; }
.tm__head { text-align: center; max-width: 40rem; margin: 0 auto 3.5rem; }
.tm__pill {
  display: inline-block; font-size: .64rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--red); border: 1px solid rgba(225, 6, 0, .45); border-radius: 100px;
  padding: .45rem 1.1rem; background: rgba(225, 6, 0, .06);
}
.tm__title {
  font-family: var(--display); font-weight: 400; letter-spacing: .03em; line-height: 1;
  font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 1.2rem 0 .8rem;
}
.tm__sub { color: var(--grey); font-size: .95rem; line-height: 1.8; }

/* three columns that scroll on a loop; masked so cards fade at both edges */
.tm__wall {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  height: min(680px, 82vh); max-width: 1200px; margin: 0 auto;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.tm__col { position: relative; overflow: hidden; }
.tm__track { display: flex; flex-direction: column; gap: 1.2rem; will-change: transform; }

.tmc {
  background: var(--black-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.3rem 1.4rem; flex-shrink: 0;
  transition: border-color .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.tmc:hover { border-color: rgba(225, 6, 0, .45); transform: translateY(-3px); }
.tmc__stars { color: var(--gold, #f5c518); font-size: .78rem; letter-spacing: 2px; margin-bottom: .7rem; }
.tmc__text { color: #b9b5b0; font-size: .88rem; line-height: 1.75; }
.tmc__who { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; }
.tmc__av {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
  display: grid; place-items: center; font-size: .8rem; color: var(--white);
  background: linear-gradient(150deg, #3a2b2b, #17131a); border: 1px solid var(--line);
}
.tmc__name { font-size: .85rem; font-weight: 500; }
.tmc__role { font-size: .72rem; color: var(--grey); margin-top: .1rem; }
.tmc__src {
  margin-left: auto; width: 20px; height: 20px; flex-shrink: 0; opacity: .75;
  display: grid; place-items: center;
}
.tmc__src svg { width: 15px; height: 15px; }

@media (max-width: 900px) {
  .tm__wall { grid-template-columns: repeat(2, 1fr); height: min(560px, 78vh); }
  .tm__col:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .tm__wall { grid-template-columns: 1fr; }
  .tm__col:nth-child(2) { display: none; }
}

/* ─────────── SOCIAL DOCK ─────────── */
.dock {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 70;
  display: flex; flex-direction: column; align-items: flex-end; gap: .7rem;
}

.dock__item {
  display: flex; align-items: center; gap: .7rem;
  transform-origin: 90% 50%; will-change: transform, opacity;
}
.dock__label {
  font-size: .72rem; letter-spacing: .06em; color: var(--white); white-space: nowrap;
  background: rgba(14, 14, 16, .82); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: .4rem .7rem; border-radius: 8px;
  opacity: 0; transform: translateX(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.dock__item:hover .dock__label { opacity: 1; transform: translateX(0); }

.dock__ico {
  width: 2.85rem; height: 2.85rem; border-radius: 50%;
  display: grid; place-items: center; color: var(--white);
  background: rgba(14, 14, 16, .8); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 34px -14px rgba(0, 0, 0, .95);
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s cubic-bezier(.2,.7,.2,1);
}
.dock__ico svg { width: 19px; height: 19px; }
/* each channel lights up in its own brand colour */
.dock__item:hover .dock__ico {
  background: var(--brand); border-color: var(--brand); color: #fff;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 14px 40px -12px var(--brand);
}

.dock__fab {
  position: relative; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 1px solid rgba(225, 6, 0, .55); background: var(--red); color: #fff;
  cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 16px 44px -14px var(--red-glow);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s;
}
.dock__fab:hover { transform: scale(1.06); background: #ff1a13; }
.dock__fab svg { width: 23px; height: 23px; }

/* the two glyphs cross-fade and spin as the dock opens */
.dock__fabico { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.dock__fabico--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.dock[data-open="true"] .dock__fabico--open { opacity: 0; transform: rotate(90deg) scale(.6); }
.dock[data-open="true"] .dock__fabico--close { opacity: 1; transform: rotate(0) scale(1); }
.dock[data-open="true"] .dock__fab { background: var(--black-3); border-color: var(--line); box-shadow: 0 16px 44px -18px rgba(0,0,0,.9); }

/* a slow halo so the button reads as live without nagging */
.dock__pulse {
  position: absolute; inset: -3px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(225, 6, 0, .55); animation: dockPulse 2.8s ease-out infinite;
}
.dock[data-open="true"] .dock__pulse { animation: none; opacity: 0; }
@keyframes dockPulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .dock__pulse { animation: none; } }

@media (max-width: 560px) {
  .dock { right: 1rem; bottom: 1rem; gap: .55rem; }
  .dock__ico { width: 2.75rem; height: 2.75rem; }   /* 44px minimum touch target */
  .dock__fab { width: 3.2rem; height: 3.2rem; }
  .dock__label { opacity: 1; transform: none; }
}

/* ─────────── THE BULB (pinned zoom-to-feature) ─────────── */
.blb { position: relative; }
.blb__pin { height: 100vh; height: 100svh; overflow: hidden; position: relative; }

.blb__stage { position: absolute; inset: 0; overflow: hidden; perspective: 1500px; }
.blb__void { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* the four feature photographs, cross-faded over the zoomed bulb */
.blb__scenes { position: absolute; inset: 0; overflow: hidden; }
.blb__scene { position: absolute; inset: 0; opacity: 0; will-change: opacity, transform; }
.blb__scene img { width: 100%; height: 100%; object-fit: cover; }

/* a light wipe across each hand-off, so a cut reads as a move */
.blb__sweep {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 3;
  background: linear-gradient(104deg, transparent 40%, rgba(255,255,255,.13) 50%, transparent 60%);
}

/* the camera box holds the rig centred; GSAP only ever drives the rig */
.blb__camera {
  position: absolute; left: 34%; top: 50%;
  height: 84%; aspect-ratio: 760 / 1780;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
}
.blb__rig { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.blb__rig img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  backface-visibility: hidden;
}

.blb__overlay {
  position: absolute; inset: 0; z-index: 4;
  padding: 7rem 6vw 5rem;
  background:
    linear-gradient(270deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.74) 32%, transparent 58%),
    linear-gradient(180deg, rgba(10,10,11,.72), transparent 24%, transparent 70%, rgba(10,10,11,.92));
  pointer-events: none;
}
.blb__head { position: absolute; top: 7rem; right: 6vw; text-align: right; }
.blb__kicker { font-size: .68rem; letter-spacing: .5em; color: var(--red); margin-bottom: .8rem; }
.blb__title {
  font-family: var(--display); font-weight: 400; letter-spacing: .04em; line-height: 1;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.blb__panel {
  position: absolute; right: 6vw; top: 50%; transform: translateY(-42%);
  width: min(30rem, 44vw); height: 22rem;
}
.blbf {
  position: absolute; inset: 0; text-align: right;
  opacity: 0; transform: translateY(28px);
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
}
.blbf__no { font-family: var(--display); font-size: 1rem; letter-spacing: .34em; color: var(--red); margin-bottom: .6rem; }
.blbf h3 {
  font-family: var(--display); font-weight: 400; letter-spacing: .05em; line-height: 1;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem); color: var(--white);
}
.blbf__sub { font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--grey); margin: .8rem 0 1.1rem; }
.blbf__sub::before {
  content: ''; display: block; width: 52px; height: 2px; background: var(--red);
  margin: 0 0 .9rem auto;
}
.blbf p:last-child { color: #b9b5b0; line-height: 1.8; font-size: .92rem; max-width: 25rem; }

.blb__rail { position: absolute; right: 6vw; bottom: 5rem; display: flex; gap: .5rem; }
.blb__rail i {
  display: block; width: 30px; height: 2px; background: rgba(244,242,239,.16);
  transition: background .35s ease, transform .35s ease;
}
.blb__rail i.is-on { background: var(--red); transform: scaleY(2); }

@media (max-width: 900px) {
  .blb__camera { left: 50%; height: 62%; top: 38%; }
  .blb__overlay {
    padding: 5.5rem 7vw 4rem;
    background: linear-gradient(180deg, rgba(10,10,11,.8) 0%, rgba(10,10,11,.3) 30%, rgba(10,10,11,.94) 62%, var(--black) 100%);
  }
  .blb__head { top: 5.5rem; left: 7vw; right: 7vw; text-align: left; }
  .blb__panel { left: 7vw; right: 7vw; width: auto; top: auto; bottom: 6rem; transform: none; height: 16rem; }
  .blbf { align-items: flex-start; text-align: left; justify-content: flex-end; }
  .blbf__sub::before { margin: 0 auto .9rem 0; }
  .blb__rail { left: 7vw; right: auto; bottom: 3.2rem; }
  .blb__rail i { width: 22px; }
}

/* portrait phones: cover cut each 16:9 photograph down to a narrow, heavily
   zoomed slice. Show the whole photo as a band across the width instead, on
   black so it still hides the zoomed bulb, with its top and bottom edges
   melting into the black rather than stopping on a hard line. The band sits
   30% down, or higher on a short screen so it clears the feature text below. */
@media (max-width: 900px) and (orientation: portrait) {
  .blb__scene {
    --band-h: 56.25vw;
    --band-top: min(calc((100% - var(--band-h)) * .3), calc(100% - var(--band-h) - 360px));
    background: var(--black);
  }
  .blb__scene img { position: absolute; left: 0; top: var(--band-top); height: var(--band-h); }
  .blb__scene::before, .blb__scene::after {
    content: ''; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none;
    height: calc(var(--band-h) * .26);
  }
  .blb__scene::before { top: calc(var(--band-top) - 1px); background: linear-gradient(180deg, var(--black) 8%, transparent); }
  .blb__scene::after { top: calc(var(--band-top) + var(--band-h) * .74 + 1px); background: linear-gradient(0deg, var(--black) 8%, transparent); }
  .blb__overlay {
    background: linear-gradient(180deg, rgba(10,10,11,.7) 0%, transparent 20%, transparent 52%, rgba(10,10,11,.94) 60%, var(--black) 100%);
  }
}

/* ─────────── PHONES ─────────── */
@media (max-width: 620px) {
  /* specs: the desktop row folded into two by two */
  .specs { padding: 14vh 6vw; }
  .specs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.8rem 1.2rem; }
  .spec { padding-left: 1rem; }
  .spec__num { font-size: 2.5rem; }
  .spec__unit { letter-spacing: .3em; }

  .booking { padding: 12vh 6vw; }
  .booking__form { padding: 1.7rem 1.3rem; }
}
