/* ==========================================================================
   VOLKSWAGEN ELITE MOTORS — design system
   ========================================================================== */

/* --- tokens --------------------------------------------------------------- */
:root {
  /* surfaces, darkest to lightest - richer dark blue/purple undertones */
  --ink:        #030508;
  --ink-1:      #06080D;
  --ink-2:      #090C12;
  --ink-3:      #0E131C;
  --ink-4:      #141B26;
  --ink-5:      #1C2533;

  /* Hairlines carry a little blue so edges belong to the palette instead of
     reading as neutral grey scratches on top of it. */
  --line:       rgba(150, 195, 240, .09);
  --line-2:     rgba(160, 202, 245, .16);
  --line-3:     rgba(172, 210, 250, .26);

  /* Text. --fg-3 and --red were below WCAG AA on these surfaces at the small
     sizes they are used at; both raised to clear 4.5:1. */
  --fg:         #EDF1F6;
  --fg-2:       #AEB9C5;
  --fg-3:       #8A99A8;

  /* Blue as a full ramp rather than one flat value — the mid tones give every
     gradient a hue path to travel instead of fading a single colour to nothing. */
  --blue-700:   #00537F;
  --blue-600:   #0086BE;
  --blue:       #00C3FF;   /* brand */
  --blue-2:     #66DBFF;
  --blue-300:   #A6EAFF;
  --blue-ink:   #00111A;
  --deep:       #001B4D;   /* VW dark blue */
  --navy:       #02275C;

  /* Champagne, with a shade and a tint so it can carry depth of its own. */
  --elite-600:  #AC8E52;
  --elite:      #D4B57A;
  --elite-2:    #ECDDAF;

  --red:        #FF7A72;
  --green:      #45D68C;
  --amber:      #F2B94B;

  /* Reusable atmospheric washes, built on the ramps above. */
  --wash-blue:  radial-gradient(70% 100% at 78% 0%,
                  var(--blue-a16) 0%, rgba(0, 134, 190, .1) 26%,
                  rgba(2, 39, 92, .05) 46%, rgba(2, 39, 92, 0) 64%);
  --wash-navy:  radial-gradient(60% 90% at 6% 100%,
                  rgba(2, 39, 92, .6) 0%, rgba(0, 83, 127, .33) 26%,
                  rgba(0, 83, 127, .13) 46%, rgba(0, 83, 127, 0) 68%);

  /* Elevation. Layered shadows read as real depth; one large blur reads as haze. */
  --e-1: 0 2px 4px rgba(0, 0, 0, .45), 0 4px 10px rgba(0, 0, 0, .35);
  --e-2: 0 4px 8px rgba(0, 0, 0, .55), 0 12px 28px -6px rgba(0, 0, 0, .7);
  --e-3: 0 8px 16px rgba(0, 0, 0, .65), 0 24px 50px -10px rgba(0, 0, 0, .85);
  --e-4: 0 12px 24px rgba(0, 0, 0, .75), 0 40px 80px -16px rgba(0, 0, 0, .95);
  --shadow: var(--e-4);
  --glow:   0 0 65px var(--blue-a35);

  /* A single focus treatment, used everywhere. */
  --ring: 0 0 0 2px var(--ink), 0 0 0 4px var(--blue);

  /* spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --pad:    clamp(20px, 5vw, 72px);
  --maxw:   1400px;
  --nav-h:  84px;

  --sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Archivo', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;

  /* Motion. One curve for everything makes every interaction feel the same;
     these are picked per job — exit, entrance, snap, and a gentle overshoot. */
  --ease:        cubic-bezier(.22, 1, .36, 1);      /* expo out — entrances */
  --ease-in:     cubic-bezier(.7, 0, .84, 0);       /* expo in — exits */
  --ease-soft:   cubic-bezier(.4, 0, .2, 1);        /* standard in-out */
  --ease-smooth: cubic-bezier(.65, .05, .36, 1);    /* long transforms */
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);    /* hover overshoot */

  --t-fast: .18s;
  --t:      .32s;
  --t-slow: .6s;
  --t-slower: .95s;

  /* Brand tints. Literals first so every engine gets a correct colour;
     the @supports block below re-derives them from the tokens so the whole
     palette follows a single change to --blue / --elite / --ink-1. */
  --blue-a0: rgba(0, 195, 255, 0);
  --blue-a1: rgba(0, 195, 255, .1);
  --blue-a12: rgba(0, 195, 255, .12);
  --blue-a13: rgba(0, 195, 255, .13);
  --blue-a14: rgba(0, 195, 255, .14);
  --blue-a15: rgba(0, 195, 255, .15);
  --blue-a16: rgba(0, 195, 255, .16);
  --blue-a2: rgba(0, 195, 255, .2);
  --blue-a22: rgba(0, 195, 255, .22);
  --blue-a32: rgba(0, 195, 255, .32);
  --blue-a35: rgba(0, 195, 255, .35);
  --blue-a4: rgba(0, 195, 255, .4);
  --blue-a45: rgba(0, 195, 255, .45);
  --blue-a55: rgba(0, 195, 255, .55);
  --blue-a65: rgba(0, 195, 255, .65);
  --blue-a7: rgba(0, 195, 255, .7);
  --elite-a0: rgba(212, 181, 122, 0);
  --elite-a16: rgba(212, 181, 122, .16);
  --elite-a28: rgba(212, 181, 122, .28);
  --elite-a55: rgba(212, 181, 122, .55);
  --ink1-a0: rgba(6, 8, 13, 0);
}


/* Relative colour syntax keeps the tints locked to the palette. */
@supports (color: rgb(from white r g b / 1)) {
  :root {
    --blue-a0: rgb(from var(--blue) r g b / 0);
    --blue-a1: rgb(from var(--blue) r g b / .1);
    --blue-a12: rgb(from var(--blue) r g b / .12);
    --blue-a13: rgb(from var(--blue) r g b / .13);
    --blue-a14: rgb(from var(--blue) r g b / .14);
    --blue-a15: rgb(from var(--blue) r g b / .15);
    --blue-a16: rgb(from var(--blue) r g b / .16);
    --blue-a2: rgb(from var(--blue) r g b / .2);
    --blue-a22: rgb(from var(--blue) r g b / .22);
    --blue-a32: rgb(from var(--blue) r g b / .32);
    --blue-a35: rgb(from var(--blue) r g b / .35);
    --blue-a4: rgb(from var(--blue) r g b / .4);
    --blue-a45: rgb(from var(--blue) r g b / .45);
    --blue-a55: rgb(from var(--blue) r g b / .55);
    --blue-a65: rgb(from var(--blue) r g b / .65);
    --blue-a7: rgb(from var(--blue) r g b / .7);
    --elite-a0: rgb(from var(--elite) r g b / 0);
    --elite-a16: rgb(from var(--elite) r g b / .16);
    --elite-a28: rgb(from var(--elite) r g b / .28);
    --elite-a55: rgb(from var(--elite) r g b / .55);
    --ink1-a0: rgb(from var(--ink-1) r g b / 0);
  }
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 195, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(172, 142, 82, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--blue); color: var(--blue-ink); }

/* --- focus ---------------------------------------------------------------- */
/* There was no visible focus indicator anywhere, so the site was unusable by
   keyboard. :focus-visible keeps it off for mouse users. */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-sm);
  position: relative;
  z-index: 1;
}
a:focus-visible, button:focus-visible, .pill:focus-visible, .api-ep:focus-visible {
  border-radius: var(--r-full);
}
.card:focus-visible, .gal-item:focus-visible, .acc-head:focus-visible { border-radius: var(--r); }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  box-shadow: 0 0 0 3px var(--blue-a22);
  border-color: var(--blue);
  border-radius: var(--r);
}

.skip-link {
  position: fixed;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 10001;
  padding: 12px 20px;
  background: var(--blue);
  color: var(--blue-ink);
  font-size: .88rem;
  font-weight: 600;
  border-radius: var(--r-full);
  box-shadow: var(--e-3);
  transform: translateY(calc(-100% - var(--s-5)));
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* --- scroll progress ------------------------------------------------------ */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 950;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--elite));
  pointer-events: none;
}

/* scrollbar */
/* A solid track paints a hard vertical seam beside any gradient section.
   Keep it transparent so the page's own background runs to the window edge. */
html { background: var(--ink); scrollbar-width: thin; scrollbar-color: var(--ink-4) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 10px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: #2A3644; background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }

/* --- grain overlay -------------------------------------------------------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- typography ----------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.h-xl { font-size: clamp(2.8rem, 8.5vw, 7.5rem); }
.h-lg { font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
.h-md { font-size: clamp(1.7rem, 3.4vw, 2.9rem); }
.h-sm { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }

.eyebrow {
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--elite);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--elite-a0), var(--elite));
}
.eyebrow.center::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(270deg, var(--elite-a0), var(--elite));
}

.lede { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--fg-2); max-width: 62ch; }
.muted { color: var(--fg-2); }
.dim { color: var(--fg-3); }
.mono { font-family: var(--mono); }

.grad-text {
  background: linear-gradient(100deg, var(--fg) 20%, var(--blue) 55%, var(--elite) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 11vw, 160px); position: relative; }
.section-head { margin-bottom: clamp(38px, 6vw, 72px); }
.section-head .h-lg { margin-top: 18px; }
.section-head .lede { margin-top: 20px; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }

.hr { height: 1px; background: var(--line); border: 0; }

/* --- preloader ------------------------------------------------------------ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity .7s var(--ease), visibility .7s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-inner { text-align: center; }
.pre-ring { width: 92px; height: 92px; margin: 0 auto 26px; position: relative; }
.pre-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pre-ring circle { fill: none; stroke-width: 2; }
.pre-ring .bg { stroke: var(--ink-4); }
.pre-ring .fg {
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset .3s linear;
  filter: drop-shadow(0 0 8px var(--blue-a7));
}
.pre-logo-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 14px rgba(0, 195, 255, .45));
  animation: prePulse 2s ease-in-out infinite alternate;
}
@keyframes prePulse {
  0% { transform: translate(-50%, -50%) scale(0.96); filter: drop-shadow(0 0 8px rgba(0, 195, 255, .3)); }
  100% { transform: translate(-50%, -50%) scale(1.04); filter: drop-shadow(0 0 20px rgba(0, 195, 255, .7)); }
}
.pre-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.pre-pct { font-family: var(--mono); font-size: .78rem; color: var(--blue); margin-top: 8px; }

/* --- cursor --------------------------------------------------------------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: #fff; margin: -3px 0 0 -3px; }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(255, 255, 255, .55);
  margin: -17px 0 0 -17px;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s, background .3s;
}
.cursor-ring.grow {
  width: 66px; height: 66px; margin: -33px 0 0 -33px;
  border-color: var(--blue);
  background: var(--blue-a1);
}
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* --- nav ------------------------------------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  height: 66px;
  background: rgba(3, 5, 8, .85);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-bottom-color: rgba(255, 255, 255, .15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.1);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .45));
  transition: transform .5s var(--ease), filter .4s;
}
.brand:hover .brand-mark {
  transform: rotate(360deg);
  filter: drop-shadow(0 0 16px var(--blue-a45));
}
.brand-txt { line-height: 1.1; }
.brand-txt b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: .93rem;
  letter-spacing: -.02em;
}
.brand-txt span {
  font-family: var(--mono);
  font-size: 0.70rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--elite);
}

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative;
  z-index: 0;
  padding: 9px 16px;
  font-size: .885rem;
  font-weight: 500;
  color: var(--fg-2);
  border-radius: var(--r-full);
  transition: color .25s;
  white-space: nowrap;
}
/* A soft pill behind the label reads more finished than an underline, and
   gives the current page a shape rather than a hairline. */
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, .06);
  border: 1px solid transparent;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::before { opacity: 1; transform: scale(1); }
.nav-link.active { color: var(--fg); }
.nav-link.active::before {
  opacity: 1;
  transform: scale(1);
  background: var(--blue-a15);
  border-color: var(--blue-a4);
}
/* the dot marks the current page independently of colour */
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -7px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--blue);
}

.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: 10px; }
.nav-phone {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--fg-2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .25s;
}
.nav-phone:hover { color: var(--blue); }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  place-items: center;
  gap: 5px;
  flex-direction: column;
}
.burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--fg);
  transition: transform .35s var(--ease), opacity .25s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: rgba(5, 7, 10, .97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: calc(var(--nav-h) + 30px) var(--pad) 40px;
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
  overflow-y: auto;
}
.drawer.open { transform: translateY(0); }
.drawer a {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  letter-spacing: -.03em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--fg-2);
  transition: color .25s, padding-left .35s var(--ease);
}
.drawer a:hover { color: var(--blue); padding-left: 14px; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: var(--blue-ink);
  --btn-glow: var(--blue-a45);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;              /* comfortable pointer target */
  padding: 14px 30px;
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .89rem;
  font-weight: 600;
  letter-spacing: .005em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--e-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .25s, background .35s;
}
/* A top-edge highlight makes a flat fill read as a lit surface. */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fg);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
@keyframes btnPulse {
  0% { box-shadow: var(--e-2), 0 14px 32px -10px var(--btn-glow); }
  50% { box-shadow: var(--e-2), 0 14px 45px 5px var(--btn-glow); filter: brightness(1.1); }
  100% { box-shadow: var(--e-2), 0 14px 32px -10px var(--btn-glow); }
}
.btn:hover {
  transform: translateY(-3px) scale(1.02);
  color: var(--ink);
  animation: btnPulse 2s infinite ease-in-out;
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: var(--e-1); transition-duration: .08s; }
.btn:disabled, .btn[disabled] { opacity: .5; pointer-events: none; }

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, .04);
  --btn-fg: var(--fg);
  --btn-glow: rgba(255, 255, 255, .15);
  border: 1px solid var(--line-3);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost::after { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 60%); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }
.btn-elite { --btn-bg: var(--elite); --btn-fg: #1A1206; --btn-glow: var(--elite-a55); }
.btn-sm { min-height: 40px; padding: 10px 20px; font-size: .82rem; }
.btn-lg { min-height: 56px; padding: 18px 38px; font-size: .95rem; }
.btn-block { display: flex; width: 100%; }

.btn-arrow { transition: transform .4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* text link */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  transition: gap .3s var(--ease);
}
.tlink:hover { gap: 15px; }

/* --- hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  filter: blur(7px) saturate(1.15);
  transition: opacity 1.15s var(--ease-soft), transform 1.5s var(--ease), filter 1.15s var(--ease-soft);
}
.hero-slide.active { opacity: 1; transform: none; filter: none; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 8s linear;
}
.hero-slide.active img { transform: scale(1); }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Weighted towards the top. The slider images are marketing slides with their
     own headline burned into the upper-left — without this it shows through and
     competes with the hero's real heading. The middle stays light so the car
     itself keeps its punch. */
  background:
    /* The slider art carries its own headline burned into the top-left. A
       full-width band dark enough to hide it also crushed the sky, so kill it
       in the corner where it actually sits and leave the car its contrast. */
    radial-gradient(62% 48% at 4% 4%,
      rgba(3,5,8,.98) 0%,
      rgba(3,5,8,.9) 42%,
      rgba(3,5,8,.55) 62%,
      rgba(3,5,8,0) 80%),
    linear-gradient(180deg,
      rgba(3,5,8,.92) 0%,
      rgba(3,5,8,.62) 22%,
      rgba(3,5,8,.3) 44%,
      rgba(3,5,8,.72) 76%,
      var(--ink) 100%),
    radial-gradient(80% 70% at 12% 82%,
      rgba(2, 39, 92, .7) 0%,
      rgba(0, 83, 127, .42) 26%,
      rgba(0, 83, 127, .2) 46%,
      rgba(0, 83, 127, .07) 60%,
      rgba(0, 83, 127, 0) 70%);
}

.hero-body { width: 100%; padding-bottom: clamp(60px, 9vw, 120px); position: relative; }
.hero-eyebrow { margin-bottom: 22px; }
.hero-title { margin-bottom: 22px; }
.hero-sub { max-width: 54ch; margin-bottom: 38px; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--fg-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  position: absolute;
  right: var(--pad);
  bottom: clamp(60px, 9vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.hero-dots { display: flex; gap: 9px; }
.hero-dot {
  width: 42px; height: 3px;
  background: rgba(255, 255, 255, .22);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.hero-dot i {
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dot.active i { animation: dotfill 6s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

.hero-count { font-family: var(--mono); font-size: .72rem; color: var(--fg-3); letter-spacing: .18em; }

.scroll-cue {
  position: absolute;
  left: var(--pad);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 0.70rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.scroll-cue i {
  width: 42px; height: 1px;
  background: var(--fg-3);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* --- page header (inner pages) -------------------------------------------- */
.phead {
  position: relative;
  padding: calc(var(--nav-h) + clamp(60px, 9vw, 120px)) 0 clamp(46px, 7vw, 88px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.phead::before {
  content: '';
  position: absolute;
  /* Bleed past the header so the blur never samples past its own edge —
     needs to clear roughly three times the blur radius. */
  inset: -56px;
  z-index: -1;
  background-image:
    radial-gradient(circle at 80% 10%, rgba(0, 195, 255, .22) 0%, rgba(0, 195, 255, 0) 60%),
    radial-gradient(circle at 20% 90%, rgba(0, 83, 127, .42) 0%, rgba(0, 83, 127, 0) 70%),
    /* The scrim has to stay dark through the middle — that is where the
       headline sits. Fading it to transparent at 50% put white type straight
       onto the brightest part of the photo. */
    linear-gradient(180deg,
      rgba(3, 5, 8, .96) 0%,
      rgba(3, 5, 8, .89) 22%,
      rgba(3, 5, 8, .82) 46%,
      rgba(3, 5, 8, .86) 70%,
      rgba(3, 5, 8, .97) 92%,
      var(--ink) 100%),
    var(--bg-img, none);
  background-size: 150% 150%, 150% 150%, 100% 100%, cover;
  /* Per layer. The keyframes below move only the two glow layers; giving the
     photo its own value stops the animation panning it off the left edge. */
  background-position: 0% 50%, 100% 50%, center, center;
  background-repeat: no-repeat;
  /* The slider photos are marketing slides with headlines and prices burned
     into them, some of it set very large. Only a heavy blur reliably breaks
     that lettering down into texture, so the layer reads as atmosphere rather
     than as someone else's copy sitting behind ours. */
  filter: blur(16px) saturate(.9);
  animation: pheadGlow 18s var(--ease-soft) infinite alternate;
}
/* No photo on this page? Drop the blur so the gradients stay crisp. */
.phead:not([class*=" "])::before { filter: none; }

.phead.models { --bg-img: url('/assets/img/mainslider/desktop/taigun1.jpg'); }
.phead.service { --bg-img: url('/assets/img/mainslider/desktop/serpc.jpg'); }
.phead.finance { --bg-img: url('/assets/img/mainslider/desktop/tiguanrline-pc.jpg'); }
.phead.rentals { --bg-img: url('/assets/img/mainslider/desktop/golfpc.jpg'); }
.phead.outlets { --bg-img: url('/assets/img/mainslider/desktop/locpc.jpg'); }
/* Was the scanned approval certificate — a bright document on dark, which read
   as a stray white panel behind the headline rather than as atmosphere. */
.phead.about { --bg-img: url('/assets/img/mainslider/desktop/firstpc.jpg'); }
.phead.careers { --bg-img: url('/assets/img/career/9e44b17c-d30e-4236-a8d0-05d02dcae362.jpg'); }

@keyframes pheadGlow {
  /* Only the two glow layers drift. The photo and its scrim stay centred, and
     nothing animates opacity or brightness — text contrast has to stay constant. */
  from { background-position:   0% 50%, 100% 50%, center, center; }
  to   { background-position: 100% 50%,   0% 50%, center, center; }
}
.phead .h-lg { margin-top: 16px; }
.phead .lede { margin-top: 18px; }

.crumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 20px;
}
.crumbs a:hover { color: var(--blue); }

/* --- reveal --------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal='left']  { transform: translateX(-40px); }
[data-reveal='right'] { transform: translateX(40px); }
[data-reveal='zoom']  { transform: scale(.93); }
[data-reveal='clip']  { opacity: 1; clip-path: inset(0 100% 0 0); transform: none; transition: clip-path 1.1s var(--ease); }
[data-reveal='clip'].in { clip-path: inset(0 0 0 0); }

/* --- marquee -------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 22px;
  background: var(--ink-1);
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink-1), var(--ink1-a0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ink-1), var(--ink1-a0)); }
.marquee-track {
  display: flex;
  gap: 54px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 54px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: -.02em;
  color: var(--fg-3);
  white-space: nowrap;
  transition: color .3s;
}
.marquee-item:hover { color: var(--blue); }
.marquee-item::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--elite); }

/* --- stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--ink); padding: clamp(28px, 4vw, 48px) clamp(18px, 2.5vw, 34px); transition: background .4s, transform .4s var(--ease); }
.stat:hover { background: var(--ink-2); transform: scale(1.02); z-index: 1; position: relative; }
.stat-n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(160deg, var(--fg), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-l {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 12px;
}

/* --- cards ---------------------------------------------------------------- */
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 42%),
    rgba(9, 12, 18, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--e-1);
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease), background .35s;
}
/* A hairline of light along the top edge — the cue that separates a raised
   surface from a flat panel. */
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0), rgba(255, 255, 255, .16) 22%,
    rgba(255, 255, 255, .16) 78%, rgba(255, 255, 255, 0));
  opacity: .7;
  transition: opacity .4s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 195, 255, 0.4);
  box-shadow: var(--e-3), inset 0 0 20px rgba(0, 195, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 42%),
    rgba(14, 19, 28, 0.7);
}
.card:hover::before { opacity: 1; }

/* model card */
.mcard { display: flex; flex-direction: column; }
.mcard-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(70% 58% at 50% 34%, var(--blue-a12), var(--blue-a0) 72%),
    linear-gradient(165deg, var(--ink-3), var(--ink-1) 72%);
  overflow: hidden;
}
/* Grounds the car on a surface instead of floating it in a box. */
.mcard-media::before {
  content: '';
  position: absolute;
  left: 12%; right: 12%; bottom: 9%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0) 72%);
  filter: blur(5px);
  transition: transform .8s var(--ease), opacity .5s;
}
.mcard-media img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 9% 8% 11%;
  transition: transform .8s var(--ease);
}
.mcard:hover .mcard-media img { transform: scale(1.07) translateY(-6px); }
.mcard:hover .mcard-media::before { transform: scaleX(.88); opacity: .75; }
.mcard-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 108%, var(--blue-a4), var(--blue-a0) 70%);
  opacity: 0;
  transition: opacity .5s;
}
.mcard:hover .mcard-media::after { opacity: 1; }

.badge {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.70rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(5, 7, 10, .72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  color: var(--elite);
}

.mcard-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.mcard-type {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.mcard-name { font-size: 1.5rem; margin: 9px 0 8px; letter-spacing: -.03em; }
.mcard-tag { font-size: .88rem; color: var(--fg-2); margin-bottom: 20px; }

.mcard-specs {
  display: flex;
  gap: 20px;
  padding-top: 18px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.mcard-spec { flex: 1; min-width: 0; }
.mcard-spec b { display: block; font-family: var(--display); font-size: .96rem; font-weight: 700; }
.mcard-spec span {
  font-family: var(--mono);
  font-size: 0.70rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.mcard-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.price-l { font-family: var(--mono); font-size: 0.70rem; letter-spacing: .15em; text-transform: uppercase; color: var(--fg-3); }
.price-v { font-family: var(--display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; margin-top: 3px; }

/* feature card */
.fcard { padding: clamp(26px, 3.4vw, 38px); }
.fcard-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(150deg, var(--ink-3), var(--ink-1));
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--blue);
  transition: transform .5s var(--ease), border-color .4s, color .4s;
}
.card:hover .fcard-ico { transform: translateY(-5px) rotate(-6deg); border-color: var(--blue); }
.fcard h3 { font-size: 1.2rem; margin-bottom: 11px; }
.fcard p { font-size: .92rem; color: var(--fg-2); }

/* --- tilt ----------------------------------------------------------------- */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt > * { transform: translateZ(24px); }

/* --- specs table ---------------------------------------------------------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec-cell { background: var(--ink-2); padding: 24px 22px; transition: background .35s; }
.spec-cell:hover { background: var(--ink-3); }
.spec-cell dt {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 9px;
}
.spec-cell dd { font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; }

/* --- pills / filters ------------------------------------------------------ */
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  padding: 10px 19px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: all .3s var(--ease);
}
.pill:hover { border-color: var(--fg-3); color: var(--fg); transform: translateY(-2px); }
.pill.on { background: var(--blue); border-color: var(--blue); color: #00131C; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* --- forms ---------------------------------------------------------------- */
.field { position: relative; margin-bottom: var(--s-5); }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: .73rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  background: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: .95rem;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A99A8' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--ink-3);
  box-shadow: 0 0 0 3px var(--blue-a22);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); opacity: 1; }
.field.err input, .field.err select, .field.err textarea {
  border-color: var(--red);
  background: rgba(255, 122, 114, .05);
}
.field-msg {
  display: none;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--red);
  margin-top: 8px;
}
.field.err .field-msg { display: flex; }
/* A glyph as well as colour, so the error does not rely on hue alone. */
.field.err .field-msg::before {
  content: '!';
  flex-shrink: 0;
  width: 15px; height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .62rem;
  font-weight: 700;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }

/* --- range slider --------------------------------------------------------- */
.range-row { margin-bottom: 30px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.range-lab { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.range-val { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--blue); }

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--ink-4);
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 1px var(--blue), 0 0 16px var(--blue-a65);
  transition: transform .2s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.18); }
input[type=range]::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 1px var(--blue);
}

/* --- EMI donut ------------------------------------------------------------ */
.emi-panel {
  background: linear-gradient(155deg, var(--ink-3), var(--ink-1));
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 46px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.emi-panel::before {
  content: '';
  position: absolute;
  inset: -50% 0 auto;
  height: 260px;
  background: radial-gradient(50% 100% at 50% 0%, var(--blue-a2), var(--blue-a0) 70%);
  pointer-events: none;
}
.donut { width: 210px; height: 210px; margin: 0 auto 26px; position: relative; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 13; stroke-linecap: round; }
.donut .track { stroke: var(--ink-4); }
.donut .arc { stroke: var(--blue); transition: stroke-dashoffset .8s var(--ease); filter: drop-shadow(0 0 10px var(--blue-a55)); }
.donut-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-mid b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.85rem; letter-spacing: -.03em; }
.donut-mid span { font-family: var(--mono); font-size: 0.70rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); }

.emi-rows { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 24px; }
.emi-row { background: var(--ink-2); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.emi-row span { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.emi-row b { font-family: var(--display); font-weight: 700; font-size: 1.02rem; }

/* --- gallery -------------------------------------------------------------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--ink-2);
}
.gal-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gal-item:hover img { transform: scale(1.07); filter: brightness(1.1); }
.gal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--blue-a22), var(--blue-a0) 55%);
  opacity: 0;
  transition: opacity .4s;
}
.gal-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(3, 5, 8, .96);
  backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 5vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 84vh; border-radius: var(--r); box-shadow: var(--shadow); }
.lb-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  transition: background .3s, transform .3s;
}
.lb-close:hover { background: var(--ink-3); transform: rotate(90deg); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 7, 10, .6);
  transition: background .3s, border-color .3s;
}
.lb-nav:hover { background: var(--blue); border-color: var(--blue); color: #00131C; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

/* --- colour swatches ------------------------------------------------------ */
.swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  position: relative;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
}
.swatch:hover { transform: scale(1.13); }
.swatch.on { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-a2); transform: scale(1.13); }

/* --- accordion ------------------------------------------------------------ */
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.7vw, 1.28rem);
  letter-spacing: -.02em;
  transition: color .3s;
}
.acc-head:hover { color: var(--blue); }
.acc-ico {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .45s var(--ease), background .3s, border-color .3s;
}
.acc-item.open .acc-ico { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #00131C; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body p, .acc-body ul { padding-bottom: 24px; color: var(--fg-2); font-size: .94rem; }
.acc-body li { padding-left: 22px; position: relative; margin-bottom: 9px; }
.acc-body li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* --- list ----------------------------------------------------------------- */
.ticks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--fg-2);
  font-size: .94rem;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: .34em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue-a14);
  border: 1px solid var(--blue-a4);
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 6px; top: .72em;
  width: 5px; height: 8px;
  border: solid var(--blue);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

/* --- testimonials --------------------------------------------------------- */
.tcard { padding: clamp(26px, 3.4vw, 38px); display: flex; flex-direction: column; height: 100%; }
.stars { display: flex; gap: 4px; color: var(--elite); margin-bottom: 20px; }
.tquote { font-size: 1.02rem; line-height: 1.7; margin-bottom: 26px; flex: 1; }
.tmeta { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.tavatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), var(--deep));
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: .92rem;
  flex-shrink: 0;
}
.tmeta b { display: block; font-size: .93rem; }
.tmeta span { font-family: var(--mono); font-size: 0.70rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }

/* --- outlet card ---------------------------------------------------------- */
.ocard { padding: clamp(26px, 3.4vw, 38px); }
.ocard-type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--elite);
  margin-bottom: 16px;
}
.ocard dl { display: grid; gap: 16px; margin-block: 24px; }
.ocard dt { font-family: var(--mono); font-size: 0.70rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 5px; }
.ocard dd { font-size: .93rem; color: var(--fg-2); }
.ocard dd a:hover { color: var(--blue); }

/* --- toast ---------------------------------------------------------------- */
.toasts {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 960;
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: min(390px, calc(100vw - 44px));
}
.toast {
  display: flex;
  gap: 14px;
  padding: 17px 19px;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--blue);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  animation: toastin .5s var(--ease);
}
.toast.err { border-left-color: var(--red); }
.toast.ok { border-left-color: #2FBF71; }
.toast b { display: block; font-size: .9rem; margin-bottom: 3px; }
.toast p { font-size: .82rem; color: var(--fg-2); }
@keyframes toastin { from { opacity: 0; transform: translateX(40px); } }
.toast.out { animation: toastout .4s var(--ease-in) forwards; }
@keyframes toastout { to { opacity: 0; transform: translateX(40px); } }

/* --- API explorer --------------------------------------------------------- */
.api-shell { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.api-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); max-height: 74vh; overflow-y: auto; }
.api-ep {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--fg-2);
  transition: background .25s, color .25s;
}
.api-ep:hover { background: var(--ink-3); color: var(--fg); }
.api-ep.on { background: var(--blue-a1); color: var(--fg); border-left: 2px solid var(--blue); }
.verb {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.verb.get { background: var(--blue-a16); color: var(--blue-2); }
.verb.post { background: var(--elite-a16); color: var(--elite-2); }

.api-main { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); }
.api-bar { display: flex; gap: 10px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.api-url {
  flex: 1;
  min-width: 200px;
  padding: 11px 14px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: .78rem;
}
.api-out {
  padding: 20px;
  font-family: var(--mono);
  font-size: .76rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 62vh;
  overflow: auto;
  color: var(--fg-2);
}
.api-status { display: flex; gap: 16px; padding: 11px 20px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; color: var(--fg-3); }
.api-status b { color: #2FBF71; }
.api-status b.bad { color: var(--red); }
.tok-key { color: var(--blue-2); }
.tok-str { color: var(--elite-2); }
.tok-num { color: #B48EFF; }
.tok-bool { color: #2FBF71; }

/* --- footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-1); padding-top: clamp(54px, 7vw, 90px); position: relative; overflow: hidden; }
.footer::before {
  content: '';
  position: absolute;
  inset: auto 0 -40% 0;
  height: 300px;
  background: radial-gradient(50% 100% at 50% 100%, var(--blue-a1), var(--blue-a0) 70%);
  pointer-events: none;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(26px, 4vw, 56px); }
.foot-h {
  font-family: var(--mono);
  font-size: .73rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--elite);
  margin-bottom: 20px;
}
.foot-links li { margin-bottom: 11px; }
.foot-links a { font-size: .9rem; color: var(--fg-2); transition: color .25s, padding-left .3s var(--ease); display: inline-block; }
.foot-links a:hover { color: var(--blue); padding-left: 6px; }

.foot-hours { display: grid; gap: 14px; }
.foot-hour b { display: block; font-family: var(--mono); font-size: 0.70rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 5px; }
.foot-hour span { font-size: .88rem; color: var(--fg-2); }

.socials { display: flex; gap: 10px; margin-top: 24px; }
.social {
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--fg-2);
  transition: all .35s var(--ease);
}
.social:hover { background: var(--blue); border-color: var(--blue); color: #00131C; transform: translateY(-4px); }

.foot-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 13vw, 11rem);
  letter-spacing: -.05em;
  line-height: .85;
  text-align: center;
  margin-top: clamp(46px, 7vw, 90px);
  background: linear-gradient(180deg, rgba(237, 241, 246, .13), rgba(237, 241, 246, 0) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  white-space: nowrap;
}

.foot-bot {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--fg-3);
}
.foot-bot a:hover { color: var(--blue); }
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }

.disclaimer { font-size: .74rem; color: var(--fg-3); line-height: 1.7; padding-bottom: 26px; }

/* --- floating actions ----------------------------------------------------- */
.fabs { position: fixed; right: 20px; bottom: 20px; z-index: 880; display: flex; flex-direction: column; gap: 11px; }
.fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink-3);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  transition: all .35s var(--ease);
}
.fab:hover { transform: translateY(-4px) scale(1.06); background: var(--blue); border-color: var(--blue); color: #00131C; }
.fab.call { background: var(--blue); border-color: var(--blue); color: #00131C; }
.fab.call:hover { background: var(--fg); border-color: var(--fg); color: var(--ink); }
#toTop { opacity: 0; visibility: hidden; }
#toTop.show { opacity: 1; visibility: visible; }

/* --- skeleton ------------------------------------------------------------- */
.skel {
  background: linear-gradient(90deg, var(--ink-2) 25%, var(--ink-3) 50%, var(--ink-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-card { height: 420px; }

/* --- empty state ---------------------------------------------------------- */
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty h3 { font-size: 1.2rem; margin-bottom: 10px; }
.empty p { color: var(--fg-2); font-size: .92rem; }

/* ==========================================================================
   REFINEMENTS
   Depth, atmosphere and component polish. Kept last so these win on ties.
   ========================================================================== */

/* --- heading reveal ------------------------------------------------------- */
/* Headings rise line by line from behind a mask. Split on the <br> the markup
   already uses, so nothing has to be re-authored. */
[data-reveal="text"] { opacity: 1; transform: none; }
[data-reveal="text"] .ln {
  display: block;
  overflow: hidden;
  /* Display headings run at line-height 1.02, so glyphs overflow their line box.
     The mask must be taller than the text or it clips ascenders and descenders;
     the matching negative margin keeps that extra height out of the layout. */
  padding-block: .14em .22em;
  margin-block: -.14em -.22em;
}
[data-reveal="text"] .ln > i {
  display: block;
  font-style: inherit;
  transform: translateY(125%);   /* clears the padded mask, not just the text */
  filter: blur(8px);
  opacity: 0;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease), opacity 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
[data-reveal="text"].in .ln > i { transform: none; filter: blur(0); opacity: 1; }

/* --- cursor sheen --------------------------------------------------------- */
/* A soft highlight tracks the pointer across a card, so a flat panel picks up
   light the way a painted surface would. */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%),
    rgba(0, 195, 255, .25), rgba(0, 195, 255, 0) 68%);
  opacity: 0;
  transition: opacity var(--t) var(--ease-soft);
}
.card:hover::after { opacity: 1; }

/* --- magnetic buttons ----------------------------------------------------- */
.btn { will-change: transform; }
.btn-arrow { transition: transform var(--t) var(--ease-spring); }

/* --- section atmosphere --------------------------------------------------- */
/* Alternating flat panels made every second section look like a different page.
   A faint top-edge wash separates them without the hard switch. */
.section { isolation: isolate; }
.section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 340px;
  z-index: -1;
  background: radial-gradient(120% 100% at 50% 0%,
    rgba(255, 255, 255, .028), rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.phead { position: relative; }
/* a hairline of light where the header meets the page */
.phead::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg,
    var(--blue-a0), var(--blue-a35) 30%,
    var(--elite-a28) 70%, var(--elite-a0));
}

/* --- surfaces ------------------------------------------------------------- */
.spec-grid { box-shadow: var(--e-1); }
.spec-cell { position: relative; transition: background .3s, color .3s; }
.spec-cell::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.spec-cell:hover::before { transform: scaleX(1); }

.emi-panel { box-shadow: var(--e-3); }

/* --- tables --------------------------------------------------------------- */
/* Row hover makes wide comparison tables far easier to read across. */
tbody tr { transition: background .18s; }
tbody tr:hover { background: rgba(255, 255, 255, .028); }

/* --- chips & pills -------------------------------------------------------- */
.chip {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-2);
  color: var(--fg-2);
}
.pill { min-height: 40px; display: inline-flex; align-items: center; }
.pill.on { box-shadow: 0 8px 20px -10px var(--blue-a7); }

/* --- accordion ------------------------------------------------------------ */
.acc-head { padding-inline: var(--s-2); border-radius: var(--r); }
.acc-head:hover { background: rgba(255, 255, 255, .02); }
.acc-body p, .acc-body ul { padding-inline: var(--s-2); }

/* --- stats ---------------------------------------------------------------- */
.stat { position: relative; }
.stat::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-a0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.stat:hover::before { transform: scaleX(1); }

/* --- gallery -------------------------------------------------------------- */
/* Gallery tiles are buttons so they are reachable and operable by keyboard. */
.gal-item { border: 1px solid var(--line); background: var(--ink-2); padding: 0; width: 100%; }
.gal-item:hover { border-color: var(--line-2); }

.lb-count {
  position: absolute;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--fg-2);
  background: rgba(5, 7, 10, .7);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  padding: 7px 16px;
  backdrop-filter: blur(8px);
}

/* --- in-page section nav -------------------------------------------------- */
.mnav {
  position: sticky;
  top: 66px;                      /* sits directly under the stuck header */
  z-index: 800;
  background: rgba(5, 7, 10, .86);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.mnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: 10px;
}
.mnav-links {
  display: flex;
  gap: var(--s-1);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mnav-links::-webkit-scrollbar { display: none; }
.mnav-links a {
  padding: 9px 16px;
  border-radius: var(--r-full);
  font-size: .85rem;
  font-weight: 500;
  color: var(--fg-2);
  white-space: nowrap;
  transition: color .25s, background .25s, box-shadow .25s;
}
.mnav-links a:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.mnav-links a.on {
  color: var(--fg);
  background: var(--blue-a13);
  box-shadow: inset 0 0 0 1px var(--blue-a32);
}
@media (max-width: 780px) { .mnav-cta { display: none; } }

/* --- empty & loading ------------------------------------------------------ */
.empty { background: rgba(255, 255, 255, .015); }
.empty h3 { color: var(--fg); }

/* --- toasts --------------------------------------------------------------- */
.toast { box-shadow: var(--e-4); }
.toast.ok { border-left-color: var(--green); }

/* --- footer --------------------------------------------------------------- */
.social:focus-visible { transform: translateY(-4px); }
.foot-word { letter-spacing: -.055em; }

/* --- touch targets -------------------------------------------------------- */
/* Fine-pointer sizes are tight for a fingertip; raise the small controls. */
@media (pointer: coarse) {
  .btn-sm { min-height: 44px; padding-inline: 22px; }
  .pill { min-height: 44px; padding: 12px 20px; }
  .nav-link, .mnav-links a { padding-block: 12px; }
  .swatch { width: 50px; height: 50px; }
  .social, .fab { width: 46px; height: 46px; }
  .acc-head { padding-block: 20px; }
  /* standalone links are navigation, not prose, so they get a real target */
  .foot-links a { padding-block: 10px; }
  .crumbs a, .foot-bot a, .foot-legal a, .foot-hour a, .ocard dd a, .tlink, .nav-phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .crumbs { flex-wrap: wrap; }
}

/* --- reduced transparency ------------------------------------------------- */
@media (prefers-contrast: more) {
  :root { --line: rgba(255, 255, 255, .2); --line-2: rgba(255, 255, 255, .34); --fg-2: #C8D2DC; --fg-3: #A9B6C3; }
  .card, .spec-cell, .field input, .field select, .field textarea { border-width: 1px; }
  body::after { display: none; }
}

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .api-shell { grid-template-columns: 1fr; }
  .api-list { max-height: 300px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-meta { display: none; }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .gal-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
}

/* below this the brand + CTA + burger no longer fit on one row;
   the drawer already carries a "Book a Test Drive" link. */
@media (max-width: 560px) {
  .nav-cta .btn { display: none; }
}

@media (max-width: 680px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { min-height: 90svh; }
  .foot-bot { justify-content: flex-start; }
  .toasts { right: 12px; left: 12px; bottom: 12px; max-width: none; }
  .fabs { right: 14px; bottom: 14px; }
  .scroll-cue { display: none; }
}

/* --- motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  /* the masked heading lines have their own transform, so clear that too */
  [data-reveal="text"] .ln > i { transform: none !important; transition: none !important; }
  .hero-slide, .hero-slide img { transform: none !important; filter: none !important; }
  .card::after, .progress { display: none; }
}

/* --- print ---------------------------------------------------------------- */
@media print {
  .nav, .fabs, .footer, .cursor-dot, .cursor-ring, #preloader { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   DESIGN POLISH — Premium layer
   Atmospheric depth, micro-interactions, refined typography, ambient glows.
   ========================================================================== */

/* --- Ambient floating orbs ------------------------------------------------ */
/* Subtle, slow-drifting light sources that give the dark background a sense
   of depth without competing with content. */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0;
  animation: orbDrift 28s var(--ease-soft) infinite alternate;
  will-change: transform, opacity;
}
.ambient-orb.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 195, 255, .07) 0%, transparent 70%);
  top: -10vh; left: -10vw;
  animation-duration: 32s;
  animation-delay: 0s;
  opacity: 1;
}
.ambient-orb.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 181, 122, .055) 0%, transparent 70%);
  bottom: 20vh; right: -8vw;
  animation-duration: 38s;
  animation-delay: -10s;
  opacity: 1;
}
.ambient-orb.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(2, 39, 92, .18) 0%, transparent 70%);
  top: 60vh; left: 40vw;
  animation-duration: 45s;
  animation-delay: -20s;
  opacity: 1;
}
@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -40px) scale(1.08); }
  66%  { transform: translate(-30px, 70px) scale(0.94); }
  100% { transform: translate(40px, 30px) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .ambient-orb { animation: none !important; } }

/* --- Enhanced body background --------------------------------------------- */
body {
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 195, 255, .055) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 90% 100%, rgba(172, 142, 82, .045) 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(2, 39, 92, .12) 0%, transparent 70%);
}

/* --- Navigation — premium frosted glass ----------------------------------- */
.nav {
  background: rgba(3, 5, 8, 0);
  transition: height .4s var(--ease), background .5s, border-color .5s, backdrop-filter .5s, box-shadow .5s;
}
.nav.stuck {
  height: 64px;
  background: rgba(3, 5, 8, .82);
  backdrop-filter: blur(40px) saturate(220%) brightness(1.05);
  -webkit-backdrop-filter: blur(40px) saturate(220%) brightness(1.05);
  border-bottom-color: rgba(255, 255, 255, .08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .06),
    0 8px 32px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(0, 195, 255, .04);
}
/* Brand mark — glow on hover and when page is scrolled */
.nav.stuck .brand-mark {
  filter: drop-shadow(0 0 12px var(--blue-a35));
}

/* Nav link — refined pill hover with faster animation */
.nav-link {
  transition: color .2s, transform .2s var(--ease);
}
.nav-link:hover {
  transform: translateY(-1px);
}
.nav-link::before {
  transition: opacity .25s var(--ease), transform .25s var(--ease), border-color .25s;
}

/* --- Hero enhancements ---------------------------------------------------- */
/* Richer overlay with a subtle blue-to-champagne sweep at the base */
.hero::before {
  background:
    radial-gradient(62% 48% at 4% 4%,
      rgba(3,5,8,.99) 0%,
      rgba(3,5,8,.92) 42%,
      rgba(3,5,8,.52) 62%,
      rgba(3,5,8,0) 80%),
    linear-gradient(180deg,
      rgba(3,5,8,.94) 0%,
      rgba(3,5,8,.58) 22%,
      rgba(3,5,8,.22) 44%,
      rgba(3,5,8,.68) 72%,
      var(--ink) 100%),
    radial-gradient(80% 70% at 12% 82%,
      rgba(2, 39, 92, .75) 0%,
      rgba(0, 83, 127, .46) 26%,
      rgba(0, 83, 127, .22) 46%,
      rgba(0, 83, 127, .08) 60%,
      rgba(0, 83, 127, 0) 70%),
    /* Champagne warmth near the hero actions */
    radial-gradient(40% 30% at 18% 88%,
      rgba(212, 181, 122, .12) 0%,
      rgba(212, 181, 122, 0) 65%);
}

/* Hero text — more deliberate letter spacing */
.hero-title { letter-spacing: -.04em; }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  line-height: 1.72;
}

/* Hero slide — slightly longer ken-burns */
.hero-slide img { transition: transform 10s linear; }

/* Scroll cue — make line thicker and more visible */
.scroll-cue i {
  width: 50px;
  height: 1.5px;
  background: rgba(255, 255, 255, .2);
}

/* --- Marquee — multi-color model names ------------------------------------ */
.marquee {
  background: linear-gradient(0deg, var(--ink-1), rgba(9, 12, 18, .96));
  border-color: rgba(150, 195, 240, .07);
  padding-block: 20px;
}
.marquee-track { gap: 60px; }
.marquee-item {
  gap: 60px;
  font-size: clamp(1rem, 1.8vw, 1.55rem);
  color: var(--fg-3);
  transition: color .35s, letter-spacing .35s;
}
.marquee-item:hover { color: var(--fg-2); letter-spacing: .01em; }
.marquee-item::after {
  width: 4px; height: 4px;
  background: linear-gradient(135deg, var(--elite), var(--blue));
  box-shadow: 0 0 8px var(--elite-a55);
}

/* --- Stats — elevated with gradient bars & glow --------------------------- */
.stats {
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(0, 195, 255, .05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.stat {
  background: var(--ink);
  position: relative;
  z-index: 1;
  transition: background .4s var(--ease), transform .4s var(--ease), box-shadow .4s;
}
.stat:hover {
  background: var(--ink-2);
  transform: scale(1.025);
  z-index: 2;
  box-shadow: 0 0 40px rgba(0, 195, 255, .08);
}
.stat-n {
  background: linear-gradient(145deg, var(--fg) 0%, var(--blue-2) 55%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
  transition: filter .4s;
}
.stat:hover .stat-n { filter: drop-shadow(0 0 12px var(--blue-a45)); }
.stat-l { letter-spacing: .18em; }

/* Animated top-edge bar on stat hover */
.stat::before {
  background: linear-gradient(90deg, var(--blue), var(--elite), var(--blue-a0));
  height: 2px;
  transition: transform .6s var(--ease);
}
.stat:hover::before { transform: scaleX(1); }

/* --- Cards — deeper glassmorphism with radial glow border ----------------- */
.card {
  background:
    linear-gradient(145deg,
      rgba(255, 255, 255, .055) 0%,
      rgba(255, 255, 255, 0) 50%),
    rgba(9, 12, 18, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow:
    var(--e-1),
    inset 0 1px 0 rgba(255, 255, 255, .07),
    inset 0 -1px 0 rgba(0, 0, 0, .2);
  transition:
    transform .5s var(--ease),
    border-color .4s var(--ease),
    box-shadow .5s var(--ease),
    background .4s;
}
.card:hover {
  transform: translateY(-7px) scale(1.005);
  border-color: rgba(0, 195, 255, .35);
  box-shadow:
    var(--e-3),
    0 0 0 1px rgba(0, 195, 255, .12),
    0 20px 60px -20px rgba(0, 195, 255, .25),
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 0 30px rgba(0, 195, 255, .05);
}
/* Top-edge highlight intensifies on hover */
.card::before { transition: opacity .35s; }
.card:hover::before { opacity: 1; }

/* Feature cards — icon box glow on hover */
.fcard-ico {
  background: linear-gradient(145deg, var(--ink-4), var(--ink-2));
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, color .4s;
}
.card:hover .fcard-ico {
  transform: translateY(-6px) rotate(-8deg) scale(1.05);
  border-color: var(--blue-a45);
  box-shadow: 0 8px 24px rgba(0, 195, 255, .2), 0 0 0 1px var(--blue-a22);
  color: var(--blue);
}

/* --- Model card media — richer spotlight ---------------------------------- */
.mcard-media {
  background:
    radial-gradient(65% 55% at 50% 30%, var(--blue-a14), var(--blue-a0) 68%),
    linear-gradient(160deg, var(--ink-4), var(--ink-2) 70%, var(--ink-3));
  transition: background .5s;
}
.mcard:hover .mcard-media {
  background:
    radial-gradient(65% 55% at 50% 30%, var(--blue-a22), var(--blue-a0) 68%),
    linear-gradient(160deg, var(--ink-4), var(--ink-2) 70%, var(--ink-3));
}
.mcard-media::after {
  background: radial-gradient(65% 55% at 50% 110%, var(--blue-a45), var(--blue-a0) 68%);
}
.mcard:hover .mcard-media img { transform: scale(1.08) translateY(-8px); }

/* Model card name on hover */
.mcard:hover .mcard-name { color: var(--blue); }
.mcard-name { transition: color .35s; }

/* Price — champagne glow on hover */
.mcard:hover .price-v {
  background: linear-gradient(90deg, var(--elite), var(--elite-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-v { transition: color .35s; }

/* --- Spec grid — deeper surfaces ------------------------------------------ */
.spec-grid {
  box-shadow: var(--e-2), 0 0 0 1px var(--line);
}
.spec-cell {
  background: rgba(14, 19, 28, .9);
  backdrop-filter: blur(8px);
}
.spec-cell:hover {
  background: rgba(20, 27, 38, .95);
}
.spec-cell dd {
  font-size: 1.12rem;
  background: linear-gradient(135deg, var(--fg), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- GTI spotlight section — cinematic gradient --------------------------- */
section[style*="isolation:isolate"] .spec-cell dd {
  color: var(--fg);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

/* --- Buttons — richer glow & springier lift -------------------------------- */
.btn {
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease), color .25s, background .35s;
}
.btn:hover {
  transform: translateY(-4px) scale(1.03);
}
.btn:active {
  transform: translateY(-1px) scale(0.98);
}
/* Primary button — stronger glow halo */
.btn:not(.btn-ghost):not(.btn-elite):hover {
  box-shadow:
    var(--e-2),
    0 16px 40px -12px var(--blue-a65),
    0 0 0 1px var(--blue-a4);
}
.btn-elite:hover {
  box-shadow:
    var(--e-2),
    0 16px 40px -12px var(--elite-a55),
    0 0 0 1px var(--elite-a28);
}
/* Ghost button — frosty border on hover */
.btn-ghost:hover {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 4px 16px rgba(0, 0, 0, .3);
}

/* --- EMI panel — premium glow donut --------------------------------------- */
.emi-panel {
  background: linear-gradient(155deg, rgba(14, 19, 28, .95), rgba(6, 8, 13, .98));
  border: 1px solid rgba(0, 195, 255, .12);
  box-shadow:
    var(--e-3),
    0 0 60px rgba(0, 195, 255, .06),
    inset 0 1px 0 rgba(255, 255, 255, .07);
}
.emi-panel::before {
  background: radial-gradient(50% 100% at 50% 0%, rgba(0, 195, 255, .1), transparent 70%);
}
.emi-panel::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 195, 255, .2), transparent);
  pointer-events: none;
}
.donut .arc {
  stroke: url(#emiGrad);
  filter: drop-shadow(0 0 14px var(--blue-a65)) drop-shadow(0 0 28px var(--blue-a32));
  transition: stroke-dashoffset .9s var(--ease-smooth);
}
.donut-mid b {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--fg), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.emi-row {
  background: rgba(9, 12, 18, .8);
  transition: background .3s;
}
.emi-row:hover { background: rgba(14, 19, 28, .95); }

/* --- Section atmosphere — richer edge washes ------------------------------ */
.section::before {
  height: 400px;
  background: radial-gradient(120% 100% at 50% 0%,
    rgba(255, 255, 255, .022), rgba(255, 255, 255, 0) 65%);
}
/* Alternating tinted section glow for the dark-bg sections */
.section[style*="background:var(--ink-1)"]::before {
  background: radial-gradient(110% 90% at 50% 0%,
    rgba(0, 195, 255, .04), rgba(0, 195, 255, 0) 65%);
}

/* --- Pills — refined active state ----------------------------------------- */
.pill {
  transition: all .3s var(--ease), box-shadow .3s;
}
.pill.on {
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  border-color: transparent;
  box-shadow: 0 4px 20px -6px var(--blue-a65), 0 0 0 1px var(--blue-a32);
  color: var(--blue-ink);
}
.pill:not(.on):hover {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .18);
  transform: translateY(-2px);
}

/* --- Chip — subtle pulse on first load ------------------------------------ */
.chip i {
  box-shadow: 0 0 6px var(--blue);
  animation: chipPulse 2.5s ease-in-out infinite;
}
@keyframes chipPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--blue); }
  50% { opacity: .5; box-shadow: 0 0 2px var(--blue); }
}

/* --- Testimonial cards — quote highlight ---------------------------------- */
.tquote::before {
  content: '"';
  display: block;
  font-family: var(--display);
  font-size: 4rem;
  line-height: .8;
  color: var(--blue-a22);
  margin-bottom: 8px;
  font-weight: 900;
}
.tquote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-2);
}
.stars svg { filter: drop-shadow(0 0 4px rgba(212, 181, 122, .5)); }
.tavatar {
  background: linear-gradient(140deg, var(--blue), var(--navy), var(--deep));
  box-shadow: 0 0 0 2px var(--blue-a22), 0 4px 12px rgba(0, 195, 255, .2);
}

/* --- Offer cards — value badge pop ---------------------------------------- */
.fcard [style*="var(--elite)"] {
  text-shadow: 0 0 20px var(--elite-a55);
}

/* --- Visit section — image frame ------------------------------------------ */
section[style*="background:var(--ink-1)"] div[style*="border-radius:var(--r-xl)"] {
  box-shadow: var(--e-3), 0 0 0 1px rgba(0, 195, 255, .08);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
section[style*="background:var(--ink-1)"] div[style*="border-radius:var(--r-xl)"]:hover {
  box-shadow: var(--e-4), 0 0 0 1px rgba(0, 195, 255, .18);
  transform: scale(1.01);
}

/* --- Intro section image frame -------------------------------------------- */
div[style*="border-radius:var(--r-xl);overflow:hidden;border:1px solid var(--line)"] {
  transition: box-shadow .5s, transform .5s var(--ease);
  box-shadow: var(--e-2);
}
div[style*="border-radius:var(--r-xl);overflow:hidden;border:1px solid var(--line)"]:hover {
  box-shadow: var(--e-4), 0 0 40px rgba(0, 195, 255, .06);
  transform: scale(1.01) translateY(-4px);
}

/* --- Scroll cue — enhanced pulsing arrow ---------------------------------- */
.scroll-cue::after {
  content: '↓';
  font-size: .6rem;
  letter-spacing: 0;
  color: var(--fg-3);
  animation: bobDown 2.2s ease-in-out infinite;
  margin-left: 4px;
}
@keyframes bobDown {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(4px); opacity: 1; }
}

/* --- Preloader — richer ring style ---------------------------------------- */
.pre-ring .fg {
  filter: drop-shadow(0 0 12px var(--blue)) drop-shadow(0 0 24px var(--blue-a55));
}
.pre-label { color: var(--elite); letter-spacing: .35em; }

/* --- Page header (inner pages) — enhanced --------------------------------- */
.phead .eyebrow { font-size: .8rem; }
.phead .h-lg {
  text-shadow: 0 0 80px rgba(0, 195, 255, .12);
}

/* --- Footer enhancement --------------------------------------------------- */
.footer {
  background: linear-gradient(180deg, var(--ink-1) 0%, var(--ink) 100%);
  border-top-color: rgba(0, 195, 255, .1);
}
.footer::before {
  background: radial-gradient(60% 100% at 50% 100%,
    rgba(0, 195, 255, .07), rgba(0, 195, 255, 0) 70%);
}
.foot-word {
  background: linear-gradient(180deg,
    rgba(237, 241, 246, .11) 0%,
    rgba(0, 195, 255, .04) 50%,
    rgba(237, 241, 246, 0) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Range sliders — fill track with gradient ----------------------------- */
input[type=range] {
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--ink-4));
  border-radius: 4px;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  width: 22px; height: 22px;
  box-shadow:
    0 0 0 2px var(--ink),
    0 0 0 3px var(--blue),
    0 0 20px var(--blue-a65);
  transition: transform .2s var(--ease-spring), box-shadow .2s;
}
input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.22);
  box-shadow:
    0 0 0 2px var(--ink),
    0 0 0 3px var(--blue),
    0 0 30px var(--blue-a7);
}

/* --- Gradient text for section headings ----------------------------------- */
.section-head h2 .grad-text,
.phead h1 .grad-text {
  background: linear-gradient(105deg, var(--fg) 15%, var(--blue-300) 50%, var(--elite-2) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Ticks list — glowing check marks ------------------------------------- */
.ticks li::before {
  background: var(--blue-a14);
  border-color: var(--blue-a32);
  box-shadow: 0 0 8px var(--blue-a16);
  transition: box-shadow .35s;
}
.ticks li:hover::before {
  box-shadow: 0 0 16px var(--blue-a32);
  background: var(--blue-a22);
}

/* --- Back to top FAB — elite accent --------------------------------------- */
#toTop.show {
  animation: fabIn .5s var(--ease) forwards;
}
@keyframes fabIn {
  from { opacity: 0; transform: translateY(16px) scale(.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Gradient separator line between hero and marquee --------------------- */
.marquee {
  position: relative;
}
.marquee::before {
  width: 160px;
  background: linear-gradient(90deg, var(--ink-1), rgba(6, 8, 13, 0));
}
.marquee::after {
  width: 160px;
  background: linear-gradient(270deg, var(--ink-1), rgba(6, 8, 13, 0));
}

/* --- Outlet card polish ---------------------------------------------------- */
.card[style*="padding:22px"] {
  background:
    linear-gradient(145deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 60%),
    rgba(9, 12, 18, .65);
}

/* --- Accordion — hover background subtlety -------------------------------- */
.acc-head:hover { background: rgba(0, 195, 255, .03); color: var(--blue); }
.acc-item.open .acc-head { color: var(--fg); }
.acc-item.open .acc-ico {
  box-shadow: 0 0 16px var(--blue-a32);
}

/* --- Form field — glowing focus ring -------------------------------------- */
.field input:focus,
.field select:focus,
.field textarea:focus {
  box-shadow: 0 0 0 3px var(--blue-a14), 0 0 20px rgba(0, 195, 255, .08);
  border-color: var(--blue-a65);
}

/* --- Skip link — consistent with button style ----------------------------- */
.skip-link {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: var(--e-3), 0 0 20px var(--blue-a32);
}

/* --- Responsive tweaks for polish items ----------------------------------- */
@media (max-width: 680px) {
  .ambient-orb { display: none; }
  .hero::before {
    background:
      linear-gradient(180deg,
        rgba(3,5,8,.96) 0%,
        rgba(3,5,8,.5) 30%,
        rgba(3,5,8,.72) 76%,
        var(--ink) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .chip i { animation: none !important; }
  .scroll-cue::after { animation: none !important; }
  input[type=range]::-webkit-slider-thumb { transition: none !important; }
}
