/* =========================================================
   JABER MOTORS — Cinematic dark luxury
   Archivo (expanded) · Instrument Serif · JetBrains Mono
   ========================================================= */

:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --bg-3: #19191c;
  --ink: #efebe4;
  --ink-2: rgba(239, 235, 228, 0.68);
  --ink-3: rgba(239, 235, 228, 0.42);
  --line: rgba(239, 235, 228, 0.12);
  --line-2: rgba(239, 235, 228, 0.22);
  --accent: #d6ad6a;
  --accent-2: #f0cf94;
  --accent-ink: #15110a;
  --glass: rgba(20, 20, 22, 0.52);

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --radius: 22px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 76px;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 10001;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 600;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Primitives ---------- */
.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; font-variation-settings: normal; }
.muted { color: var(--ink-2); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-2);
}
.h2 {
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
  line-height: 0.95;
  font-weight: 700;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.03em;
  margin-top: 18px;
}
.h2 .serif { color: var(--accent); font-size: 1.04em; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.05; font-weight: 700; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; }
.display {
  font-size: clamp(3rem, 8.5vw, 8.6rem);
  line-height: 0.88;
  font-weight: 800;
  font-variation-settings: "wdth" 120;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-top: 18px;
}
.display .serif { text-transform: none; color: var(--accent); font-size: 1.02em; letter-spacing: -0.01em; }

.link { border-bottom: 1px solid var(--line-2); transition: border-color 0.3s, color 0.3s; }
.link:hover { color: var(--accent); border-color: var(--accent); }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: 0.005em;
  font-variation-settings: "wdth" 105;
  overflow: hidden; isolation: isolate;
  white-space: nowrap;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn i { font-style: normal; transition: transform 0.45s var(--ease); }
.btn:hover i { transform: translate(3px, 1px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--ink); }
.btn--light { background: var(--ink); color: #0b0b0c; }
.btn--light::before { background: var(--accent); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: #0b0b0c; border-color: var(--ink); }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain 1.2s steps(6) infinite; }
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-2%, 6%); }
  80% { transform: translate(5%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  pointer-events: all;
}
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #070708; will-change: transform; }
.preloader__panel--top { top: 0; }
.preloader__panel--bottom { bottom: 0; }
.preloader__inner { position: relative; width: min(1100px, 100% - 2 * var(--gutter)); }
.preloader__mark { display: flex; align-items: baseline; gap: 0.18em; flex-wrap: wrap; line-height: 0.85; overflow: hidden; padding-bottom: 0.08em; }
.preloader__word {
  font-size: clamp(3.2rem, 13vw, 11rem);
  font-weight: 800; font-variation-settings: "wdth" 125;
  letter-spacing: -0.04em;
}
.preloader__word--serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-variation-settings: normal; color: var(--accent); letter-spacing: -0.02em; }
.preloader__word .ch { display: inline-block; will-change: transform; }
.preloader__meta { display: flex; justify-content: space-between; margin-top: 28px; color: var(--ink-2); }
.preloader__count { color: var(--ink); font-variant-numeric: tabular-nums; }
.preloader__bar { margin-top: 14px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor [data-car] { cursor: none; }
  html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
  html.has-cursor .cursor { display: block; }
  .cursor__dot, .cursor__ring {
    position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
    border-radius: 50%;
    will-change: transform;
  }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
  .cursor__ring {
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
    display: grid; place-items: center;
  }
  .cursor__ring::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(239, 235, 228, 0.45);
    transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s;
  }
  .cursor__label {
    position: relative; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--accent-ink); opacity: 0; transform: scale(0.6);
    transition: opacity 0.3s, transform 0.4s var(--ease);
  }
  .cursor.is-hover .cursor__ring::before { transform: scale(1.5); border-color: var(--accent); }
  .cursor.is-view .cursor__ring::before { transform: scale(2.3); background: var(--accent); border-color: var(--accent); }
  .cursor.is-view .cursor__label { opacity: 1; transform: scale(1); }
  .cursor.is-view .cursor__dot, .cursor.is-hidden .cursor__dot { opacity: 0; }
  .cursor.is-hidden .cursor__ring { opacity: 0; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 500;
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h);
  padding-inline: var(--gutter);
}
.nav__bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 11, 12, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.nav.is-scrolled .nav__bar::before { opacity: 1; }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__wordmark { font-weight: 800; font-variation-settings: "wdth" 125; font-size: 19px; letter-spacing: -0.02em; }
.nav__wordmark em { font-family: var(--f-serif); font-weight: 400; font-variation-settings: normal; color: var(--accent); margin-inline-start: 4px; font-size: 1.1em; letter-spacing: 0; }
html:lang(ar) .preloader__mark { line-height: 1.5; gap: 0; }
html:lang(ar) .preloader__word--serif { margin-inline-start: 0.28em; }
html:lang(ar) .preloader__word { font-family: "Noto Kufi Arabic", sans-serif; font-size: clamp(3rem, 11vw, 9rem); }
html:lang(ar) .preloader__word--serif { font-family: "Amiri", serif; font-style: normal; font-weight: 700; font-size: clamp(3.4rem, 13vw, 11rem); }
html:lang(ar) .footer__mark { font-family: "Noto Kufi Arabic", sans-serif; font-size: 38vw; line-height: 1.3; }
html:lang(ar) .nav__wordmark {font-family: "Noto Kufi Arabic", sans-serif; font-weight: 800; font-size: 20px; }
html:lang(ar) .nav__wordmark em { font-family: "Amiri", serif; font-style: normal; font-weight: 700; margin-inline-start: 6px; font-size: 1.3em; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; display: inline-block; padding: 10px 14px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav__link:hover, .nav__item--mega:hover > .nav__link, .nav__item--mega:focus-within > .nav__link { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { color: var(--ink-2); transition: color 0.3s; }
.nav__phone:hover { color: var(--accent); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform 0.5s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Mega menu */
.nav__item--mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: -24px;
  width: min(760px, 80vw);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(16, 16, 18, 0.86);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.98); transform-origin: top left;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), visibility 0s 0.35s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), visibility 0s;
}
.mega__list { display: flex; flex-direction: column; padding: 6px; }
.mega__list a {
  display: grid; grid-template-columns: 34px 1fr; align-items: baseline; row-gap: 2px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 22px; font-weight: 700; font-variation-settings: "wdth" 115; letter-spacing: -0.02em;
  transition: background-color 0.3s, padding 0.3s;
}
.mega__list a .mono { color: var(--ink-3); font-size: 11px; }
.mega__list a small { grid-column: 2; font-size: 13px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; font-variation-settings: "wdth" 100; }
.mega__list a:hover, .mega__list a:focus-visible, .mega__list a.is-active { background: rgba(255, 255, 255, 0.06); }
.mega__list a:hover .mono, .mega__list a.is-active .mono { color: var(--accent); }
.mega__preview { position: relative; border-radius: 16px; overflow: hidden; min-height: 280px; background: var(--bg-3); }
.mega__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--ease), transform 0.9s var(--ease); }
.mega__preview img.is-leaving { opacity: 0; transform: scale(1.06); }
.mega__tag { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 450;
  background: rgba(8, 8, 9, 0.96);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 800; font-variation-settings: "wdth" 120; letter-spacing: -0.03em; line-height: 1.12;
  border-bottom: 1px solid var(--line); padding: 8px 0;
}
.mobile-menu__foot { display: flex; justify-content: space-between; color: var(--ink-2); gap: 16px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 28px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform-origin: 50% 40%; will-change: transform; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0) 22%),
    linear-gradient(0deg, var(--bg) 2%, rgba(11, 11, 12, 0.82) 34%, rgba(11, 11, 12, 0.1) 70%),
    radial-gradient(120% 80% at 20% 100%, rgba(11, 11, 12, 0.6), transparent 60%);
}
.hero__eyebrow { margin-bottom: 22px; }
.hero__title {
  font-size: clamp(3.4rem, 13.2vw, 14rem);
  line-height: 0.84;
  font-weight: 800;
  font-variation-settings: "wdth" 125;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero__title .serif { color: var(--accent); text-transform: none; font-size: 0.82em; letter-spacing: -0.02em; margin-right: 0.04em; }
.hero__word { display: inline-block; }
.hero__word .ch { display: inline-block; will-change: transform; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 30px; flex-wrap: wrap; }
.hero__lede { max-width: 470px; color: var(--ink-2); font-size: 18px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.quicksearch {
  margin-top: 38px;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: stretch;
  border-radius: 999px; padding: 8px;
}
.qs__field {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: 6px 22px; border-right: 1px solid var(--line);
}
.qs__field .mono { font-size: 10.5px; color: var(--ink-3); }
.qs__field select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: 0;
  font-size: 16px; font-weight: 600; padding: 2px 22px 2px 0; width: 100%;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.qs__field select option, .field select option, .select select option { background: var(--bg-2); color: var(--ink); }
.qs__field:focus-within { background: rgba(255, 255, 255, 0.04); border-radius: 999px; }
.quicksearch .btn { margin-left: 8px; }
.quicksearch .btn b { font-variant-numeric: tabular-nums; }

.hero__scroll {
  position: absolute; right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  writing-mode: vertical-rl; color: var(--ink-3); font-size: 11px;
}
.hero__scroll i { display: block; width: 1px; height: 64px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll i::after { animation: drip 2.2s var(--ease-io) infinite; }
}
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; flex: none; }
.marquee__group span {
  font-size: clamp(1.8rem, 4.4vw, 4rem); font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: -0.03em; text-transform: uppercase; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.marquee__group span:nth-of-type(3n + 1) { color: var(--ink); -webkit-text-stroke-color: transparent; }
.marquee__group span:hover { color: var(--accent); -webkit-text-stroke-color: transparent; }
.marquee__group b { color: var(--accent); font-size: 18px; font-weight: 400; }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding: clamp(100px, 16vw, 220px) 0 clamp(80px, 10vw, 140px); }
.statement__text {
  margin-top: 28px;
  max-width: 22ch;
  font-size: clamp(2rem, 4.9vw, 4.8rem);
  line-height: 1.04;
  font-weight: 600;
  font-variation-settings: "wdth" 108;
  letter-spacing: -0.03em;
}
.statement__text .w { display: inline-block; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; display: grid; grid-template-columns: auto 1fr; align-items: baseline; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 800; font-variation-settings: "wdth" 120; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__plus { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1; margin-left: 4px; }
.stat__label { grid-column: 1 / -1; margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ---------- Collection (horizontal) ---------- */
.collection { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
.collection__pin { display: flex; flex-direction: column; justify-content: center; padding: clamp(80px, 10vh, 120px) 0 clamp(48px, 7vh, 80px); min-height: 100vh; min-height: 100svh; overflow: hidden; }
.collection__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 5vh, 56px); }
.collection__hint { color: var(--ink-3); }
.collection__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.collection__viewport::-webkit-scrollbar { display: none; }
.collection.is-pinned .collection__viewport { overflow: visible; }
.collection__track {
  display: flex; gap: clamp(16px, 2vw, 32px);
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}
.collection__track::after { content: ""; flex: none; width: 1px; }
.feat {
  position: relative; flex: none;
  width: min(78vw, 520px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
@media (min-width: 900px) { .feat { width: min(36vw, 72vh, 560px); } }
.feat__media {
  position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; background: var(--bg-3);
}
.feat__media img { width: 114%; max-width: none; margin-left: -7%; height: 100%; object-fit: cover; }
.feat__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 40%); opacity: 0; transition: opacity 0.6s var(--ease); }
.feat:hover .feat__media::after { opacity: 1; }
.feat:hover .feat__name { color: var(--accent); }
.feat__name { transition: color 0.4s; }
.car__open { text-align: left; font: inherit; letter-spacing: inherit; color: inherit; }
.car__open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.car__open:focus-visible { outline: none; }
.car:has(.car__open:focus-visible), .feat:has(.car__open:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.feat__index { position: absolute; top: 16px; left: 16px; padding: 7px 11px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.feat__body { padding: 20px 4px 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end; }
.feat__make { grid-column: 1 / -1; color: var(--ink-3); }
.feat__name { font-size: clamp(1.7rem, 2.6vw, 2.6rem); font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -0.035em; line-height: 1; }
.feat__price { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.9rem); color: var(--accent); line-height: 1; }
.feat__specs { grid-column: 1 / -1; display: flex; gap: 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.feat__specs b { color: var(--ink); font-weight: 500; }
.feat-end {
  flex: none; width: min(78vw, 420px); border-radius: var(--radius);
  border: 1px dashed var(--line-2);
  display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 36px;
  scroll-snap-align: start;
}
.feat-end p { font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 700; font-variation-settings: "wdth" 112; letter-spacing: -0.03em; line-height: 1.05; }
.feat-end .btn { align-self: flex-start; }
.collection__progress { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin: clamp(28px, 5vh, 48px) auto 0; height: 1px; background: var(--line); display: none; }
.collection.is-pinned .collection__progress { display: block; }
.collection__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Inventory ---------- */
.inventory { padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }
.inventory__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.inventory__count { color: var(--ink-2); }
.inventory__count span { color: var(--accent); }
.filters {
  position: sticky; top: 12px; z-index: 20;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 40px 0 32px; padding: 8px;
  border-radius: 999px;
  background: rgba(17, 17, 19, 0.72);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  transition: top 0.6s var(--ease);
}
.nav:not(.is-hidden) ~ main .filters { top: calc(var(--nav-h) + 8px); }
.chips { display: flex; gap: 4px; flex-wrap: wrap; }
.chip {
  height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background-color 0.35s var(--ease), color 0.35s;
}
.chip:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.chip.is-active { background: var(--ink); color: #0b0b0c; }
.filters__right { display: flex; gap: 8px; flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.search input {
  height: 42px; width: 240px; padding: 0 16px 0 40px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid transparent; outline: 0; font-size: 15px;
  transition: border-color 0.3s, background-color 0.3s;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-color: var(--line-2); background: rgba(255, 255, 255, 0.08); }
.select select {
  appearance: none; -webkit-appearance: none;
  height: 42px; padding: 0 40px 0 16px; border-radius: 999px; font-size: 14px;
  background-color: rgba(255, 255, 255, 0.05); border: 1px solid transparent; outline: 0;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 54%, calc(100% - 15px) 54%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.select select:focus { border-color: var(--line-2); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.car {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line);
  overflow: hidden; text-align: left; width: 100%;
  transform-style: preserve-3d;
  transition: border-color 0.4s, box-shadow 0.6s var(--ease);
}
.car:hover { border-color: var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(214, 173, 106, 0.08); }
.car__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity 0.6s; }
.car__media img[data-loading] { opacity: 0; }
.car:hover .car__media img { transform: scale(1.06); }
.car__badge { position: absolute; top: 14px; left: 14px; padding: 7px 11px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.car__badge--hot { left: auto; right: 14px; background: var(--accent); color: var(--accent-ink); }
.car__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.car__make { color: var(--ink-3); }
.car__name { font-size: 26px; font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -0.03em; line-height: 1.05; }
.car__name span { font-weight: 400; color: var(--ink-2); font-variation-settings: "wdth" 100; letter-spacing: -0.01em; font-size: 0.72em; }
.car__specs { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; color: var(--ink-2); font-size: 11.5px; }
.car__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 18px; }
.car__price { font-size: 24px; font-weight: 700; font-variation-settings: "wdth" 110; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.car__est { display: block; color: var(--ink-3); font-size: 11px; margin-top: 2px; }
.car__go {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: background-color 0.4s var(--ease), color 0.4s, transform 0.5s var(--ease), border-color 0.4s;
}
.car:hover .car__go { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(-45deg); }
.empty { text-align: center; padding: 80px 0; color: var(--ink-2); font-size: 18px; }
.empty .link { display: inline-block; margin-top: 14px; color: var(--ink); }

/* ---------- Big shot ---------- */
.bigshot { position: relative; padding: 0 0 clamp(80px, 10vw, 140px); }
.bigshot__frame {
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  border-radius: 0;
}
.bigshot__frame img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; object-position: 50% 50%; }
.bigshot__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 12, 0.88) 28%, rgba(11, 11, 12, 0.35) 58%, rgba(11, 11, 12, 0.15) 100%); }
.bigshot__frame img { object-position: 50% 28%; }
.bigshot__copy { position: relative; margin-top: -36vh; z-index: 2; }
.bigshot__sub { max-width: 520px; margin-top: 28px; color: var(--ink-2); font-size: 18px; }

/* ---------- Standard (sticky) ---------- */
.standard { padding: clamp(60px, 8vw, 120px) 0 clamp(60px, 8vw, 120px); }
.standard__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 80px); }
.standard__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 110px); }
.standard__visual { position: sticky; top: 14vh; height: 72vh; align-self: start; }
.standard__stack { position: relative; width: 100%; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.standard__stack img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.1);
  transition: opacity 0.9s var(--ease), transform 1.6s var(--ease);
}
.standard__stack img.is-active { opacity: 1; transform: scale(1); }
.standard__index { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.standard__index span { color: var(--accent); }
.standard__steps { display: flex; flex-direction: column; }
.step {
  min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  border-top: 1px solid var(--line); padding: 40px 0;
  opacity: 0.28; transition: opacity 0.7s var(--ease);
}
.step.is-active { opacity: 1; }
.step__num { color: var(--accent); }
.step h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -0.035em; line-height: 1; }
.step p { color: var(--ink-2); font-size: 18px; max-width: 46ch; }
.step__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.step__tags li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); font-size: 11px; }

/* ---------- Finance ---------- */
.finance { padding: clamp(100px, 12vw, 170px) 0; background: radial-gradient(80% 60% at 85% 40%, rgba(214, 173, 106, 0.09), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.finance__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.finance__intro .muted { margin-top: 26px; max-width: 46ch; font-size: 18px; }
.finance__perks { margin-top: 32px; display: grid; gap: 14px; }
.finance__perks li { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.calc { border-radius: 28px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; }
.calc__out { display: grid; gap: 4px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.calc__payment { font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__payment small { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 0.34em; color: var(--accent); letter-spacing: 0; margin-left: 6px; }
.calc__sub b { color: var(--ink); font-weight: 500; }
.calc__field { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 500; margin-bottom: 14px; padding: 0; }
.calc__label .mono { color: var(--accent); font-size: 13px; }
.calc__row { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: end; }
.calc input[type="range"] {
  --p: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0;
}
.calc input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line-2) var(--p)); }
.calc input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p), var(--line-2) var(--p)); }
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; margin-top: -9.5px;
  background: var(--ink); border: 5px solid var(--accent); box-shadow: 0 0 0 6px rgba(214, 173, 106, 0.15);
  transition: transform 0.3s var(--ease);
}
.calc input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 5px solid var(--accent); }
.calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.seg { display: flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; height: 40px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background-color 0.35s var(--ease), color 0.35s; cursor: pointer; }
.seg input:checked + span { background: var(--ink); color: #0b0b0c; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc__apr input {
  width: 100%; height: 48px; border-radius: 999px; padding: 0 18px; text-align: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid transparent; outline: 0; font-size: 16px; font-variant-numeric: tabular-nums;
}
.calc__apr input:focus { border-color: var(--line-2); }
.calc__apr .calc__label { justify-content: flex-start; }
.calc__fine { color: var(--ink-3); font-size: 13px; line-height: 1.5; }

/* ---------- Voices ---------- */
.voices { padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; }
.voices__row {
  display: flex; gap: 20px; margin-top: 36px;
  padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.voices__row::-webkit-scrollbar { display: none; }
.voices.is-driven .voices__row { overflow: visible; }
.voice {
  flex: none; width: min(82vw, 480px); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  scroll-snap-align: start;
  background: var(--bg-2);
}
.voice blockquote { font-family: var(--f-serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; }
.voice figcaption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.voice figcaption b { font-weight: 600; }
.voice figcaption .mono { color: var(--ink-3); }

/* ---------- Visit ---------- */
.visit { position: relative; padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; isolation: isolate; }
.visit__bg { position: absolute; inset: 0; z-index: -1; }
.visit__bg img { width: 100%; height: 120%; object-fit: cover; object-position: 50% 60%; opacity: 0.32; filter: saturate(0.9); margin-top: -10%; }
.visit__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 10%, rgba(11, 11, 12, 0.7) 55%, rgba(11, 11, 12, 0.5)), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.visit__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.visit__details { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.visit__details dt { color: var(--accent); margin-bottom: 8px; }
.visit__details dd { color: var(--ink-2); line-height: 1.7; }
.contact { border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 22px; }
.contact__tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.contact__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.contact__tabs span { display: grid; place-items: center; height: 40px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: background-color 0.35s var(--ease), color 0.35s; white-space: nowrap; padding: 0 6px; }
.contact__tabs input:checked + span { background: var(--ink); color: #0b0b0c; }
.contact__tabs input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); outline: 0; font-size: 16px;
  transition: border-color 0.3s, background-color 0.3s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input[type="date"] { color-scheme: dark; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.07); }
.field.is-invalid input { border-color: #e46a5a; }
.contact__status { min-height: 1.4em; font-size: 15px; color: var(--accent); text-align: center; }
.contact__status.is-error { color: #e98d80; }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(80px, 10vw, 120px); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.footer__cta .h3 { max-width: 16ch; }
.newsletter { margin-top: 24px; display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); max-width: 460px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 16px; font-size: 16px; }
.newsletter input::placeholder { color: var(--ink-3); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols .mono { color: var(--ink-3); margin-bottom: 6px; }
.footer__cols a { color: var(--ink-2); transition: color 0.3s; width: fit-content; }
.footer__cols a:hover { color: var(--accent); }
.footer__mark {
  margin-top: clamp(60px, 8vw, 100px);
  text-align: center; line-height: 0.76; overflow: hidden;
  font-size: 22vw; font-weight: 900; font-variation-settings: "wdth" 125; letter-spacing: -0.06em; white-space: nowrap;
  color: var(--ink);
  -webkit-mask-image: linear-gradient(180deg, #000 25%, rgba(0, 0, 0, 0.05) 100%);
  mask-image: linear-gradient(180deg, #000 25%, rgba(0, 0, 0, 0.05) 100%);
  user-select: none;
}
.footer__mark span { display: inline-block; }
.footer__mark .ch { display: inline-block; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0 32px; border-top: 1px solid var(--line); color: var(--ink-3); }
.footer__base a:hover { color: var(--accent); }

/* ---------- Vehicle dialog ---------- */
.vdialog {
  width: min(1100px, 100% - 32px); max-height: min(92vh, 900px);
  padding: 0; border: 1px solid var(--line-2); border-radius: 28px;
  background: var(--bg-2); color: var(--ink);
  overflow: hidden;
}
.vdialog::backdrop { background: rgba(5, 5, 6, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vdialog[open] { animation: dlg-in 0.6s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.vdialog__inner { display: grid; grid-template-columns: 1.15fr 1fr; max-height: inherit; }
.vdialog__media { position: relative; min-height: 320px; background: var(--bg-3); }
.vdialog__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vdialog__body { padding: clamp(24px, 3vw, 44px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.vdialog__body .h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.vdialog__price { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: 2rem; line-height: 1.1; }
.vdialog__specs { display: grid; grid-template-columns: 1fr 1fr; margin: 14px 0; border-top: 1px solid var(--line); }
.vdialog__specs div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.vdialog__specs div:nth-child(odd) { padding-right: 12px; }
.vdialog__specs dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.vdialog__specs dd { font-weight: 600; font-size: 16px; }
.vdialog__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.vdialog__close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1;
  background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease), background-color 0.3s;
}
.vdialog__close:hover { transform: rotate(90deg); background: var(--accent); color: var(--accent-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: inline-block; }
}
@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .quicksearch { grid-template-columns: 1fr 1fr; border-radius: 26px; gap: 4px; }
  .qs__field { border-right: 0; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); }
  .qs__field:nth-child(3) { grid-column: 1 / -1; }
  .quicksearch .btn { grid-column: 1 / -1; margin: 4px 0 0; }
  .hero__scroll { display: none; }
  .hero__media img { object-position: 38% 30%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(11, 11, 12, 0.6) 0%, rgba(11, 11, 12, 0) 18%),
      linear-gradient(0deg, var(--bg) 28%, rgba(11, 11, 12, 0.86) 55%, rgba(11, 11, 12, 0.25) 85%);
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-bottom: 24px; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .standard__body { grid-template-columns: 1fr; }
  .standard__visual { position: relative; top: 0; height: 56vw; min-height: 260px; }
  .step { min-height: 0; opacity: 1; padding: 32px 0; }
  .finance__grid, .visit__grid, .footer__top { grid-template-columns: 1fr; }
  .vdialog__inner { grid-template-columns: 1fr; overflow-y: auto; }
  .vdialog__media { min-height: 0; aspect-ratio: 16 / 10; }
  .vdialog__body { overflow: visible; }
  .filters { border-radius: 24px; position: relative; top: auto; }
  .nav:not(.is-hidden) ~ main .filters { top: auto; }
  .filters__right, .search, .search input { width: 100%; }
  .chips { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .select { width: 100%; }
  .select select { width: 100%; }
  .collection__hint { display: none; }
  .bigshot__frame { height: 80svh; }
  .bigshot__copy { margin-top: -30svh; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 auto; padding: 0 16px; }
  .hero__lede { font-size: 16px; }
  .contact__tabs { grid-template-columns: 1fr 1fr; border-radius: 22px; }
  .contact__grid { grid-template-columns: 1fr; }
  .calc__row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .nav__actions .btn { display: none; }
  .inventory__head, .collection__head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Language toggle ---------- */
.nav__lang {
  display: inline-grid; place-items: center; height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s, border-color 0.35s;
}
.nav__lang:lang(ar) { font-family: "IBM Plex Sans Arabic", var(--f-display); font-size: 15px; }
.nav__lang:hover { background: var(--ink); color: #0b0b0c; border-color: var(--ink); }
.mobile-menu__foot a[data-lang-toggle] { color: var(--accent); }

/* =========================================================
   ARABIC — type. Latin fonts stay first so car names, prices
   and brand names keep their look; Arabic glyphs fall through
   to the Arabic families.
   ========================================================= */
html:lang(ar) {
  --f-display: "Archivo", "Noto Kufi Arabic", sans-serif;
  --f-serif: "Instrument Serif", "Amiri", serif;
  --f-mono: "JetBrains Mono", "IBM Plex Sans Arabic", monospace;
}
html:lang(ar) body { font-family: "Archivo", "IBM Plex Sans Arabic", sans-serif; line-height: 1.85; }
/* Arabic is cursive: tracking breaks letter joins */
html:lang(ar) body *:not([lang="en"]):not([lang="en"] *) { letter-spacing: 0; }
html:lang(ar) :is(.h2, .h3, .display, .hero__title, .statement__text, .stat__num, .feat__name, .car__name, .step h3, .calc__payment, .mega__list a, .mobile-menu nav a, .feat-end p, .car__price, .btn) {
  font-family: "Archivo", "Noto Kufi Arabic", sans-serif;
}
html:lang(ar) .serif { font-style: normal; font-weight: 700; }
html:lang(ar) .mono, html:lang(ar) .eyebrow { font-size: 13px; }
html:lang(ar) .field > span { font-size: 13px; }
html:lang(ar) .hero__title { font-size: clamp(3rem, 10vw, 10rem); line-height: 1.28; }
html:lang(ar) .hero__title .line { padding-block: 0.06em 0.14em; margin-bottom: -0.2em; }
html:lang(ar) .hero__title .serif { font-size: 0.92em; }
html:lang(ar) .h2 { line-height: 1.3; font-size: clamp(2.2rem, 5vw, 4.8rem); }
html:lang(ar) .display { line-height: 1.3; font-size: clamp(2.6rem, 7.4vw, 7.4rem); }
html:lang(ar) .statement__text { line-height: 1.55; font-size: clamp(1.7rem, 4vw, 3.8rem); max-width: 24ch; }
html:lang(ar) :is(.step h3, .feat__name, .car__name, .h3, .feat-end p) { line-height: 1.4; }
html:lang(ar) .mobile-menu nav a { line-height: 1.6; }
html:lang(ar) .mega__list a { font-size: 21px; }
html:lang(ar) .voice blockquote { font-family: "Amiri", serif; line-height: 1.75; font-size: clamp(1.35rem, 2vw, 1.75rem); }
html:lang(ar) .stat__label, html:lang(ar) .hero__lede, html:lang(ar) .step p { line-height: 1.9; }
html:lang(ar) .calc__payment small { font-family: "IBM Plex Sans Arabic", sans-serif; font-size: 0.24em; font-weight: 500; }
html:lang(ar) .vdialog__price { font-family: "Archivo", "IBM Plex Sans Arabic", sans-serif; font-style: normal; font-size: 1.5rem; font-weight: 600; }
html:lang(ar) .feat__price { font-family: "Archivo", sans-serif; font-style: normal; font-weight: 600; font-size: clamp(1.2rem, 1.6vw, 1.5rem); }

/* =========================================================
   RIGHT-TO-LEFT — mirror physically positioned pieces.
   (Flex/grid rows mirror on their own.)
   ========================================================= */
[dir="rtl"] .skip-link { left: auto; right: 16px; }
[dir="rtl"] .preloader__bar span,
[dir="rtl"] .collection__progress span { transform-origin: right; }
[dir="rtl"] .nav__link::after { transform-origin: left; }
[dir="rtl"] .nav__link:hover::after { transform-origin: right; }
[dir="rtl"] .mega { left: auto; right: -24px; transform-origin: top right; }
[dir="rtl"] .mega__tag { left: auto; right: 14px; }
[dir="rtl"] .hero__scroll { right: auto; left: var(--gutter); }
[dir="rtl"] .hero__shade {
  background:
    linear-gradient(180deg, rgba(11, 11, 12, 0.55) 0%, rgba(11, 11, 12, 0) 22%),
    linear-gradient(0deg, var(--bg) 2%, rgba(11, 11, 12, 0.82) 34%, rgba(11, 11, 12, 0.1) 70%),
    radial-gradient(120% 80% at 80% 100%, rgba(11, 11, 12, 0.6), transparent 60%);
}
[dir="rtl"] .hero__title .serif { margin-right: 0; margin-left: 0.04em; }
[dir="rtl"] .qs__field { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .qs__field select { padding: 2px 0 2px 22px; background-position: 4px 55%, 9px 55%; }
[dir="rtl"] .quicksearch .btn { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .btn:hover i { transform: translate(-3px, 1px); }
[dir="rtl"] .stat { padding: 28px 0 0 24px; }
[dir="rtl"] .stat + .stat { padding-left: 24px; padding-right: 24px; border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .stat__plus { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .feat__index { left: auto; right: 16px; }
[dir="rtl"] .feat__media img { margin-left: 0; margin-right: -7%; }
[dir="rtl"] .search svg { left: auto; right: 14px; }
[dir="rtl"] .search input { padding: 0 40px 0 16px; }
[dir="rtl"] .select select { padding: 0 16px 0 40px; background-position: 15px 54%, 20px 54%; }
[dir="rtl"] .car, [dir="rtl"] .car__open { text-align: right; }
[dir="rtl"] .car__badge { left: auto; right: 14px; }
[dir="rtl"] .car__badge--hot { right: auto; left: 14px; }
[dir="rtl"] .car:hover .car__go { transform: rotate(45deg); }
[dir="rtl"] .standard__index { left: auto; right: 18px; }
[dir="rtl"] .finance { background: radial-gradient(80% 60% at 15% 40%, rgba(214, 173, 106, 0.09), transparent 70%), var(--bg-2); }
[dir="rtl"] .calc input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(270deg, var(--accent) var(--p), var(--line-2) var(--p)); }
[dir="rtl"] .calc input[type="range"]::-moz-range-track { background: linear-gradient(270deg, var(--accent) var(--p), var(--line-2) var(--p)); }
[dir="rtl"] .visit__bg::after { background: linear-gradient(270deg, var(--bg) 10%, rgba(11, 11, 12, 0.7) 55%, rgba(11, 11, 12, 0.5)), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
[dir="rtl"] .field select { padding-right: 16px; padding-left: 40px; background-position: 17px 52%, 22px 52%; }
[dir="rtl"] .vdialog__close { right: auto; left: 14px; }
[dir="rtl"] .vdialog__body .h3 { text-align: right; }
[dir="rtl"] .vdialog__specs div:nth-child(odd) { padding-right: 0; padding-left: 12px; }
@media (max-width: 900px) {
  [dir="rtl"] .qs__field { border-left: 0; }
  [dir="rtl"] .stat:nth-child(3) { border-right: 0; padding-right: 0; }
  [dir="rtl"] .hero__shade {
    background:
      linear-gradient(180deg, rgba(11, 11, 12, 0.6) 0%, rgba(11, 11, 12, 0) 18%),
      linear-gradient(0deg, var(--bg) 28%, rgba(11, 11, 12, 0.86) 55%, rgba(11, 11, 12, 0.25) 85%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
