/* ==========================================================================
   VANTA MOTORWERKE (019) — 1:1 Midnight Restomod Fastback Atelier (RTL)
   Palette: #050506 obsidian · #FFFFFF stark · #FF4818 vermilion · #3B82F6 nocturne
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050506;
  --panel: #0B0B0E;
  --white: #FFFFFF;
  --muted: #8B8D94;
  --fire: #FF4818;
  --bracket: #FF4818;
  --line: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { background: var(--bg); color: var(--white); scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: clip;
  letter-spacing: 0 !important;
}
h1, h2, h3, h4, p, a, button, span { letter-spacing: 0; }
[dir="ltr"], [lang="en"] { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.vnt-wrap {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3.2vw, 46px);
}

/* Top Orange Scroll Progress Hairline */
.vnt-top-prog {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 95;
  background: rgba(255, 255, 255, 0.08);
}
.vnt-top-prog i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--fire);
}

/* Fixed Header */
.vnt-header {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 80;
  background: linear-gradient(to bottom, rgba(5, 5, 6, 0.86), rgba(5, 5, 6, 0.35));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.vnt-nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.vnt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 1.18rem;
}
.vnt-brand svg { width: 26px; height: 22px; fill: var(--fire); }
.vnt-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
}
.vnt-links a:hover { color: var(--fire); }
.vnt-res-pill {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 72, 24, 0.65);
  background: rgba(255, 72, 24, 0.14);
  font-weight: 700;
  font-size: 0.84rem;
  transition: background 0.2s ease;
}
.vnt-res-pill:hover { background: var(--fire); color: #fff; }
@media (max-width: 760px) { .vnt-links { display: none; } }

/* Floating Bottom-Left (RTL) Motor Idle Synth Toggle */
.vnt-idle-btn {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(11, 11, 14, 0.88);
  backdrop-filter: blur(12px);
  font-size: 0.76rem;
  cursor: pointer;
}
.vnt-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.vnt-eq i {
  width: 2.5px;
  height: 4px;
  background: var(--muted);
  transition: height 0.2s ease, background 0.2s ease;
}
.vnt-idle-btn.is-on { border-color: var(--fire); }
.vnt-idle-btn.is-on .vnt-eq i {
  background: var(--fire);
  animation: vntEq 0.55s ease-in-out infinite alternate;
}
.vnt-idle-btn.is-on .vnt-eq i:nth-child(2) { animation-delay: 0.15s; }
.vnt-idle-btn.is-on .vnt-eq i:nth-child(3) { animation-delay: 0.3s; }
@keyframes vntEq { from { height: 3px; } to { height: 12px; } }
html.cfx-embed-preview .vnt-idle-btn,
html.cfx-embed-preview .vnt-dir-link { display: none !important; }

/* Mixed Display + Italic Serif Accent Headline Style */
.vnt-display {
  font-family: 'Cairo', 'Readex Pro', sans-serif;
  font-weight: 900;
  line-height: 1.08;
}
.vnt-display em {
  font-family: 'Amiri', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--fire);
  padding-inline: 4px;
}

/* 1. Hero Silk-Cover Unveil (#reveal) */
.vnt-hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px 0 34px;
  overflow: hidden;
}
.vnt-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.vnt-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Sculptural Silk Dust-Cover Curtain Veil that lifts cleanly! */
.vnt-silk-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 65% 38% at 50% 54%, rgba(65, 68, 76, 0.88), rgba(10, 10, 13, 0.96) 72%);
  transition: transform 0.95s var(--ease), opacity 0.85s ease;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.vnt-hero.is-unveiled .vnt-silk-veil {
  transform: translateY(-102%);
  opacity: 0;
}
.vnt-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, #050506 0%, rgba(5, 5, 6, 0.25) 45%, rgba(5, 5, 6, 0.62) 100%);
}

.vnt-corners-top, .vnt-corners-bot {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.78);
}
.vnt-hero-center {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-top: auto;
  padding-bottom: 18px;
}
.vnt-hero-center h1 {
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  margin-bottom: 16px;
}
.vnt-unveil-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 72, 24, 0.7);
  background: rgba(5, 5, 6, 0.75);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
}
.vnt-triad {
  text-align: left;
  font-weight: 800;
  line-height: 1.25;
}
.vnt-triad b { color: var(--fire); display: block; }

/* Sections */
.vnt-sec {
  padding: clamp(68px, 8.5vw, 116px) 0;
  border-top: 1px solid var(--line);
}
.vnt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--fire);
  margin-bottom: 12px;
}
.vnt-kicker::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fire);
}
.vnt-sec-h2 {
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  margin-bottom: 12px;
}

/* 2. 02 — Homologation 2x2 Metric Grid */
.vnt-metrics-2x2 {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
@media (max-width: 680px) { .vnt-metrics-2x2 { grid-template-columns: 1fr; } }
.vnt-m-cell {
  padding: 28px 24px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.vnt-m-cell small { display: block; color: var(--fire); font-size: 0.75rem; margin-bottom: 8px; }
.vnt-m-cell strong {
  display: block;
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 6px;
}
.vnt-m-cell span { color: var(--muted); font-size: 0.88rem; }

/* 3. Bonneville Salt Flat Stage (#drive) */
.vnt-drive {
  position: relative;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 0 38px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.vnt-drive img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.vnt-drive::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.25) 55%, rgba(5, 5, 6, 0.72) 100%);
}
.vnt-drive-wm {
  position: absolute;
  top: 14%; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 900;
  font-size: clamp(4.5rem, 15vw, 12.5rem);
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.vnt-drive-cards {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .vnt-drive-cards { grid-template-columns: 1fr; } }
.vnt-d-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(11, 11, 14, 0.76);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}
.vnt-d-card small { color: var(--fire); font-size: 0.74rem; display: block; margin-bottom: 6px; }
.vnt-d-card strong { font-size: 1.4rem; display: block; margin-bottom: 4px; }
.vnt-d-card p { font-size: 0.85rem; color: var(--muted); }

/* 4. 04 — Detail 4-Plate Strip */
.vnt-detail-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 860px) { .vnt-detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .vnt-detail-grid { grid-template-columns: 1fr; } }
.vnt-plate {
  padding: 22px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
}
.vnt-plate b { color: var(--fire); font-size: 0.76rem; }
.vnt-plate h3 { font-size: 1.12rem; margin: 12px 0 6px; }
.vnt-plate p { font-size: 0.85rem; color: var(--muted); }

/* 5. 05 — Finish Interactive Configurator (with 4 Corner Brackets!) */
.vnt-cfg-stage {
  position: relative;
  margin: 30px 0 22px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  background: #08080a;
  border: 1px solid var(--line);
}
.vnt-cfg-stage img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: filter 0.45s var(--ease), transform 0.55s var(--ease);
}
.vnt-brk {
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--bracket);
  border-style: solid;
  z-index: 4;
  transition: border-color 0.3s ease;
}
.vnt-brk.tl { top: 14px; left: 14px; border-width: 2px 0 0 2px; }
.vnt-brk.tr { top: 14px; right: 14px; border-width: 2px 2px 0 0; }
.vnt-brk.bl { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; }
.vnt-brk.br { bottom: 14px; right: 14px; border-width: 0 2px 2px 0; }

.vnt-cfg-pill {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(5, 5, 6, 0.85);
  border: 1px solid var(--bracket);
  font-size: 0.75rem;
}

.vnt-swatches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vnt-sw-row {
  display: grid;
  grid-template-columns: 28px 1.2fr 2fr auto;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: right;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.vnt-sw-row.is-active {
  border-color: var(--bracket);
  background: rgba(255, 255, 255, 0.04);
}
.vnt-sw-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.45);
}
@media (max-width: 720px) {
  .vnt-sw-row { grid-template-columns: 24px 1fr auto; }
  .vnt-sw-row .sw-desc { display: none; }
}
.vnt-cfg-specs {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: 0.86rem;
}
.vnt-cfg-specs span { display: block; font-size: 0.74rem; color: var(--muted); }

/* 6. Allocation + Condensed Marquee + Footer */
.vnt-fire-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 15px 32px;
  border-radius: 999px;
  border: 0;
  background: var(--fire);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}
.vnt-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  color: rgba(255, 255, 255, 0.28);
}
.vnt-marquee b { color: var(--fire); margin-inline: 14px; }

.vnt-footer {
  padding: 36px 0 48px;
}
.vnt-foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}
.vnt-foot-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.vnt-ghost {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 0.82rem;
}
