/* LUMEN GT — Luxury EV launch */
:root {
  --bg: #0a0b0d;
  --bg-2: #0e1013;
  --surface: #14171c;
  --line: rgba(255,255,255,0.09);
  --line-2: rgba(255,255,255,0.16);
  --text: #f4f4f5;
  --text-2: #a6a9b0;
  --text-3: #6b6f77;
  --accent: #e8e5d8;     /* warm off-white */
  --gold: #c9a557;
  --copper: #d47a3b;
  --spec: #a0f5ff;       /* electric blue accent */

  --font-display: 'Neue Haas Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-serif: 'GT Sectra', 'Playfair Display', 'Cormorant Garamond', Georgia, serif;

  --edge: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* type helpers */
.mono {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-2);
}
.serif { font-family: var(--font-serif); font-style: italic; }
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-block;
}

/* NAV */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--edge);
  display: flex; align-items: center; justify-content: space-between;
  mix-blend-mode: difference;
  color: #fff;
}
nav.top .brand {
  font-size: 15px;
  letter-spacing: 6px;
  font-weight: 500;
}
nav.top .brand .dot { color: var(--copper); }
nav.top ul {
  list-style: none;
  display: flex; gap: 24px;
  flex-wrap: nowrap;
  min-width: 0;
}
@media (max-width: 900px) {
  nav.top ul { gap: 14px; }
  nav.top ul a { font-size: 11px; letter-spacing: 1px; }
  nav.top .reserve-mini { display: none; }
}
@media (max-width: 720px) {
  nav.top ul { display: none; }
}
nav.top ul a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
  transition: opacity .2s;
}
nav.top ul a:hover { opacity: 1; }
nav.top .reserve-mini {
  border: 1px solid rgba(255,255,255,0.5);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
nav.top .reserve-mini:hover { background: #fff; color: #000; }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--bg);
}
.hero .bg-layer {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(212, 122, 59, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(160, 245, 255, 0.06) 0%, transparent 55%),
    var(--bg);
  z-index: 0;
}
.hero .bg-layer::before {
  /* subtle grid */
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero .car-photo {
  position: absolute;
  bottom: 12%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  max-width: 92vw;
  z-index: 2;
  opacity: 0;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6));
}
.hero .car-photo img {
  height: min(46vh, 420px);
  width: auto;
  max-width: 92vw;
  object-fit: contain;
  display: block;
}

.hero .wordmark-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start center;
  padding-top: clamp(80px, 12vh, 160px);
  z-index: 1;
  pointer-events: none;
}
.hero .wordmark {
  font-weight: 200;
  letter-spacing: clamp(8px, 3vw, 40px);
  font-size: clamp(72px, 18vw, 300px);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  text-indent: clamp(8px, 3vw, 40px); /* offset the letter-spacing on the right */
  opacity: 0.96;
}
.hero .wordmark .char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero .hero-meta {
  position: absolute;
  bottom: 40px;
  left: var(--edge);
  right: var(--edge);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  z-index: 3;
  color: var(--text-2);
}
.hero .hero-meta .cell {
  max-width: 260px;
}
.hero .hero-meta .cell .label { display: block; margin-bottom: 6px; }
.hero .hero-meta .cell .val {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.hero .hero-meta .cell.tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text);
  line-height: 1.35;
  max-width: 360px;
}

.hero .scroll-cue {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 3;
  display: flex; align-items: center; gap: 10px;
}
.hero .scroll-cue::before {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-3));
  animation: cueSlide 2.4s ease-in-out infinite;
}
@media (max-width: 720px) { .hero .scroll-cue { display: none; } }
@keyframes cueSlide {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(6px); opacity: 1; }
}

/* CHAPTER (pinned intro / silence / etc.) */
.chapter {
  padding: 140px var(--edge);
  position: relative;
}
.chapter.small { padding: 100px var(--edge); }

.chapter-mark {
  display: flex; align-items: center; gap: 14px;
  color: var(--text-3);
  margin-bottom: 60px;
}
.chapter-mark .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
}
.chapter-mark .rule {
  height: 1px;
  width: 60px;
  background: var(--line-2);
}
.chapter-mark .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Approach headline */
.approach {
  background: var(--bg);
}
.approach .headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 1.02;
  letter-spacing: -3px;
  max-width: 1200px;
  color: var(--text);
}
.approach .headline .accent {
  font-style: italic;
  color: var(--gold);
}
.approach .headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.approach .headline .word > span {
  display: inline-block;
  will-change: transform;
}

.approach .body-grid {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  max-width: 1200px;
}
@media (max-width: 900px) {
  .approach .body-grid { grid-template-columns: 1fr; gap: 40px; }
}
.approach .body-grid p {
  font-size: 20px;
  color: var(--text-2);
  line-height: 1.7;
  font-weight: 300;
}
.approach .body-grid p strong { color: var(--text); font-weight: 500; }

/* SILHOUETTE — pinned side profile with dimensions */
.silhouette {
  height: 220vh; /* pin container needs vertical space */
  position: relative;
}
.silhouette .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.silhouette .stage .car-frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: min(1200px, 92vw);
  height: fit-content;
}
.silhouette .stage .car-frame img {
  width: 100%; height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7));
}
.silhouette .stage .dims {
  position: absolute; inset: 0;
  pointer-events: none;
}
.silhouette .dim {
  position: absolute;
  opacity: 0;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-2);
  font-size: 11px;
  letter-spacing: 2px;
}
.silhouette .dim .v { color: var(--text); font-size: 22px; letter-spacing: 0; margin-bottom: 4px; }
.silhouette .dim .lbl { text-transform: uppercase; }
.silhouette .dim::before {
  content: '';
  position: absolute;
  background: var(--gold);
}
/* individual dimension label positions */
.silhouette .dim.d1 { top: 22%; left: 18%; }
.silhouette .dim.d1::before { top: -20px; left: 40px; width: 1px; height: 20px; }
.silhouette .dim.d2 { top: 22%; right: 14%; text-align: right; }
.silhouette .dim.d2::before { top: -20px; right: 40px; width: 1px; height: 20px; }
.silhouette .dim.d3 { bottom: 22%; left: 22%; }
.silhouette .dim.d3::before { bottom: -20px; left: 40px; width: 1px; height: 20px; }
.silhouette .dim.d4 { bottom: 22%; right: 20%; text-align: right; }
.silhouette .dim.d4::before { bottom: -20px; right: 40px; width: 1px; height: 20px; }

.silhouette .stage .title-side {
  position: absolute;
  top: 8%;
  left: var(--edge);
  right: var(--edge);
  display: flex; justify-content: space-between; align-items: baseline; gap: 40px;
  z-index: 3;
  pointer-events: none;
}
.silhouette .stage .title-side h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -1px;
  line-height: 1;
}
.silhouette .stage .title-side h2 .it { font-style: italic; color: var(--gold); }

/* PERFORMANCE — big counters */
.performance {
  padding: 160px var(--edge) 200px;
  background: var(--bg);
  position: relative;
}
.performance .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 80px;
  max-width: 1400px;
}
@media (max-width: 900px) { .performance .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 60px; } }
.stat {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stat .num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(60px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -3px;
  color: var(--text);
}
.stat .unit {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-2);
  margin-left: 6px;
  letter-spacing: 1px;
}
.stat .cap {
  margin-top: 20px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.stat .desc {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
  max-width: 240px;
}

/* SILENCE — full-bleed atmospheric */
.silence {
  position: relative;
  height: 200vh; /* 100vh stage + 100vh pin duration = matches GSAP pin */
  overflow: hidden;
  background: #000;
}
.silence .bg {
  position: absolute; inset: -10% 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.85)),
    radial-gradient(ellipse at 50% 60%, #1c1f25 0%, #05060a 60%);
  background-size: cover;
  will-change: transform;
}
.silence .bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.silence .stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}
.silence .word {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(64px, 14vw, 240px);
  line-height: 1;
  letter-spacing: -4px;
  color: #fff;
  z-index: 2;
  overflow: hidden;
}
.silence .word .char {
  display: inline-block;
  will-change: transform, opacity;
}
.silence .caption {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 640px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: rgba(255,255,255,0.75);
  z-index: 2;
  padding: 0 24px;
}

/* INTERIOR — split with parallax */
.interior {
  padding: 160px 0;
  background: var(--bg);
}
.interior .split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 100px;
  padding: 0 var(--edge);
  align-items: stretch;
}
@media (max-width: 900px) { .interior .split { grid-template-columns: 1fr; gap: 50px; } }
.interior .photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
}
.interior .photo img {
  position: absolute;
  top: -8%; left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}
.interior .txt h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -1px;
  line-height: 1.05;
  margin: 40px 0 24px;
}
.interior .txt h3 .it { font-style: italic; color: var(--gold); }
.interior .txt p {
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 22px;
}
.interior .txt ul {
  list-style: none;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.interior .txt ul li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
  color: var(--text);
}
.interior .txt ul li .lbl {
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  flex-shrink: 0;
}

/* MATERIALS grid */
.materials {
  background: var(--bg-2);
  padding: 160px var(--edge);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.materials h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  letter-spacing: -2px;
  line-height: 1;
  max-width: 1000px;
  margin-bottom: 80px;
}
.materials h2 .it { font-style: italic; color: var(--gold); }
.mat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 900px) { .mat-grid { grid-template-columns: 1fr; } }
.mat {
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--surface);
  transition: border-color .3s;
  will-change: transform, opacity;
}
.mat:hover { border-color: var(--line-2); }
.mat .swatch {
  aspect-ratio: 16 / 9;
  margin: -30px -30px 24px;
  background-size: cover;
  background-position: center;
}
.mat.m1 .swatch { background: linear-gradient(135deg, #2b2620, #7c6a4f 40%, #cbaf7e 65%, #6f5a3b); }
.mat.m2 .swatch { background: linear-gradient(135deg, #1e1e22, #3a3d44 40%, #5c6067 60%, #24262b); }
.mat.m3 .swatch { background: linear-gradient(135deg, #14171c, #2a2f38 45%, #4a5464 70%, #0e1013); }
.mat.m4 .swatch { background: linear-gradient(135deg, #f4efe4, #d7cdb6 55%, #b3a58a 100%); }
.mat.m5 .swatch { background: linear-gradient(135deg, #0b0c10, #232732 40%, #3a4051 65%, #0b0c10); }
.mat.m6 .swatch { background: linear-gradient(135deg, #3d1a17, #6d2f2a 40%, #ac6c46 70%, #3d1a17); }
.mat h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.mat p { color: var(--text-2); font-size: 14px; line-height: 1.55; }
.mat .code {
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
}

/* CONFIGURATOR */
.configurator {
  padding: 160px var(--edge);
  background: var(--bg);
  transition: background 1s ease;
}
.configurator h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 60px;
  max-width: 900px;
}
.configurator .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .configurator .row { grid-template-columns: 1fr; gap: 40px; } }
.configurator .car-display {
  aspect-ratio: 5 / 3;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 50% 60%, #1a1e26 0%, #0a0b0d 65%);
  display: grid; place-items: center;
}
.configurator .car-display img {
  width: 100%; height: 100%; object-fit: contain;
  /* Same filter shape as JS target strings so GSAP can interpolate the very first click. */
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7)) hue-rotate(0deg) saturate(1);
}
.configurator .col-choices { }
.configurator .col-choices .active-name {
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.configurator .col-choices .active-code {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.configurator .swatches {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.swatch-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 3px;
  cursor: pointer;
  background: transparent;
  transition: border-color .2s, transform .2s;
}
.swatch-btn:hover { transform: scale(1.05); }
.swatch-btn .fill {
  display: block; width: 100%; height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
}
.swatch-btn.is-active { border-color: var(--text); }
.configurator .price-row {
  margin-top: 30px;
  display: flex; justify-content: space-between;
  color: var(--text-2);
}
.configurator .price-row .p .label { font-family:'JetBrains Mono', monospace; font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--text-3); }
.configurator .price-row .p .val { font-family: var(--font-serif); font-size: 26px; color: var(--text); margin-top: 4px; }

/* CTA */
.cta-block {
  padding: 200px var(--edge);
  background: var(--bg);
  text-align: center;
}
.cta-block h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 180px);
  letter-spacing: -4px;
  line-height: 1;
  margin-bottom: 40px;
}
.cta-block h2 .it { font-style: italic; color: var(--gold); }
.cta-block p {
  color: var(--text-2);
  font-size: 20px;
  max-width: 520px;
  margin: 0 auto 50px;
  line-height: 1.6;
}
.big-btn {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 22px 40px;
  border: 1px solid var(--text);
  border-radius: 100px;
  color: var(--text);
  background: transparent;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background .3s, color .3s, transform .2s;
  cursor: pointer;
}
.big-btn:hover { background: var(--text); color: var(--bg); transform: translateY(-2px); }
.big-btn .arr {
  transition: transform .3s;
}
.big-btn:hover .arr { transform: translateX(6px); }

/* FOOTER */
footer.site {
  background: var(--bg-2);
  padding: 80px var(--edge) 40px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13px;
}
footer.site .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { footer.site .grid { grid-template-columns: 1fr 1fr; } }
footer.site .brand {
  font-size: 22px;
  letter-spacing: 6px;
  color: var(--text);
  margin-bottom: 20px;
}
footer.site h5 {
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site a:hover { color: var(--text); }
footer.site .fine {
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Fallback: reveal content immediately if JS disabled */
.no-js .hero .car-photo,
.no-js .hero .wordmark { opacity: 1 !important; }
.no-js .approach .headline .word > span { transform: none !important; }
