:root {
  --bg: #07080b;
  --ink: #f4efe8;
  --mute: #b3aaa0;
  --cu: #e0925a;
  --cu2: #ffc89a;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(12, 12, 16, 0.55);
  --display: 'Syncopate', 'Manrope', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --pad: clamp(20px, 6vw, 96px);
}
*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html { background: var(--bg); }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6;
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--cu); color: #120a05; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: #050507; display: grid; place-content: center; justify-items: center; gap: 18px;
}
.loader-emblem { width: 64px; height: 64px; color: var(--cu); }
.loader-emblem use { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.8s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader-word { font-family: var(--display); font-weight: 700; letter-spacing: 0.55em; font-size: 15px; padding-left: 0.55em; }
.loader-bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--cu); transform-origin: left; transform: scaleX(0); }
.loader-note { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute); }

/* ---------- canvas & overlays ---------- */
#webgl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
.iris { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.7) 0%, #000 60%); }
.flash { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, #fff 0%, #ffe6c8 40%, rgba(255, 210, 160, 0.6) 100%); mix-blend-mode: screen; }

/* ---------- nav ---------- */
.nav::before { content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; background: linear-gradient(rgba(5,5,8,.55), transparent); pointer-events: none; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad); gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-emblem { width: 30px; height: 30px; color: var(--cu); }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 0.42em; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { text-decoration: none; font-size: 13px; letter-spacing: 0.08em; color: rgba(255,255,255,.78); }
.nav-links a:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
  border: 1px solid rgba(255, 200, 154, 0.55); background: linear-gradient(135deg, rgba(224,146,90,.95), rgba(176,96,48,.95));
  color: #170c06; font-family: var(--body); font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  padding: 15px 28px; border-radius: 100px; box-shadow: 0 10px 40px -10px rgba(224, 146, 90, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(224, 146, 90, 0.8); }
.btn-sm { padding: 11px 20px; font-size: 13px; }
.btn-full { width: 100%; }

/* ---------- HUD ---------- */
.hud { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; gap: 16px; align-items: stretch; transition: opacity .4s ease; }
.hud.off { opacity: 0; pointer-events: none; }
.hud-track { width: 1px; background: var(--line); position: relative; }
.hud-track i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--cu); transform-origin: top; transform: scaleY(0); }
.hud-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.hud-list li { display: flex; gap: 10px; align-items: baseline; cursor: pointer; opacity: 0.45; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; transition: opacity 0.3s ease; }
.hud-list li span { font-family: var(--display); font-size: 9px; color: var(--cu); }
.hud-list li b { font-weight: 600; opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .3s ease; }
.hud-list li:hover b { opacity: 1; transform: none; }
.hud-list li.on, .hud-list li:hover { opacity: 1; }

.speedo { position: fixed; right: var(--pad); bottom: 36px; z-index: 40; text-align: right; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.speedo.on { opacity: 1; }
.speedo-num { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.speedo-unit { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.speedo-bar { width: 160px; height: 2px; background: var(--line); margin-top: 10px; margin-left: auto; }
.speedo-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cu), var(--cu2)); transform-origin: left; transform: scaleX(0); }

/* ---------- journey ---------- */
.journey { position: relative; height: 1150vh; z-index: 3; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; pointer-events: none; }
.ch { position: absolute; inset: 0; display: flex; padding: 0 var(--pad); }
.ch [data-a], .ch .ch-card { opacity: 0; visibility: hidden; }
.ch a, .ch button { pointer-events: auto; }
.eyebrow { font-size: 11px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--cu2); margin: 0 0 18px; font-weight: 600; }
.ch-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.5vw, 40px); line-height: 1.12; letter-spacing: 0.02em; margin: 0 0 18px; }
.ch-title.big { font-size: clamp(30px, 5vw, 76px); }
.ch-title.huge { font-size: clamp(34px, 7vw, 120px); text-align: center; line-height: 1; }
.ch-copy { color: rgba(255, 255, 255, 0.78); max-width: 46ch; margin: 0; }
.ch-card {
  max-width: 480px; padding: 30px 32px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(14,14,18,.62), rgba(10,10,14,.38));
  border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.split-line { overflow: hidden; padding-bottom: 0.06em; }

.ch-hero { flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 15vh; text-align: center; }
.hero-eyebrow { opacity: 0; }
.hero-title {
  font-family: var(--display); font-weight: 700; font-size: clamp(34px, 9.6vw, 170px); line-height: 0.95; margin: 0; letter-spacing: 0.05em; white-space: nowrap;
  color: #f7efe6; text-shadow: 0 10px 60px rgba(0,0,0,.5); padding-left: 0.06em;
}
.hero-tag { font-size: clamp(14px, 1.3vw, 19px); color: rgba(255,255,255,.75); margin: 22px 0 0; letter-spacing: 0.04em; opacity: 0; }
.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mute); opacity: 0; }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--cu), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.ch-design { align-items: flex-end; justify-content: flex-end; padding-bottom: 10vh; }
.mini-stats { list-style: none; display: flex; gap: 28px; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.mini-stats b { display: block; font-family: var(--display); font-size: 19px; }
.mini-stats span { font-size: 11px; color: var(--mute); letter-spacing: 0.06em; }

.ch-interior { align-items: flex-start; justify-content: flex-end; padding-top: 14vh; }
.feat-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.feat-list li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.85); font-size: 15px; }
.feat-list i { width: 22px; height: 1px; background: var(--cu); flex: none; }

.ch-mountains { flex-direction: column; justify-content: space-between; padding-top: 16vh; padding-bottom: 9vh; }
.ch-mountains .ch-title { text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 20px; overflow: hidden; background: rgba(10,10,14,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); }
.counter { padding: 26px 28px; border-left: 1px solid var(--line); }
.counter:first-child { border-left: 0; }
.counter b { display: block; font-family: var(--display); font-size: clamp(28px, 3.4vw, 52px); line-height: 1; font-variant-numeric: tabular-nums; }
.counter span { display: block; margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.72); letter-spacing: 0.06em; }

.ch-tunnel { flex-direction: column; align-items: center; justify-content: center; gap: 7vh; }
.ch-tunnel .ch-title { text-shadow: 0 0 60px rgba(255, 140, 60, 0.45); }
.tunnel-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); gap: 18px; }
.tunnel-feats div { padding: 22px; border-radius: 16px; background: rgba(8,8,10,.5); border: 1px solid rgba(255,170,110,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tunnel-feats b { display: block; font-size: 15px; margin-bottom: 6px; color: var(--cu2); }
.tunnel-feats span { font-size: 13px; color: rgba(255,255,255,.75); }

.ch-sky { align-items: center; justify-content: flex-end; }
.ch-sky .ch-card { background: linear-gradient(160deg, rgba(30,20,16,.5), rgba(20,14,12,.25)); }

.ch-final::before { content: ''; position: absolute; inset: 20% 10%; background: radial-gradient(closest-side, rgba(40,20,10,.28), transparent); z-index: -1; }
.ch-final { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.final-emblem { width: 70px; height: 70px; color: #fff; filter: drop-shadow(0 4px 24px rgba(120,60,20,.5)); }
.final-word { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 9vw, 150px); margin: 0; letter-spacing: 0.08em; line-height: 1; text-shadow: 0 6px 50px rgba(70, 30, 10, 0.55), 0 2px 8px rgba(70,30,10,.25); padding-left: .08em; }
.final-tag { margin: 6px 0 22px; font-size: clamp(15px, 1.4vw, 20px); text-shadow: 0 2px 20px rgba(80,40,10,.6); }

/* ---------- after-journey content ---------- */
.after { position: relative; z-index: 3; }
.section { padding: 16vh var(--pad); }
.section-head { max-width: 900px; margin-bottom: 56px; }
.section-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(28px, 4.2vw, 64px); line-height: 1.05; margin: 0; text-shadow: 0 6px 40px rgba(60,30,10,.4); }
[data-reveal] { opacity: 0; }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.model {
  border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(16,14,16,.78), rgba(10,10,12,.9));
  border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.model-img { aspect-ratio: 16/10; background: radial-gradient(70% 60% at 50% 70%, rgba(224,146,90,.22), transparent 70%); }
.model-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.model:hover .model-img img { transform: scale(1.14) translateX(-2%); }
.model-body { padding: 8px 28px 30px; }
.model-tag { margin: 0; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cu2); }
.model h3 { font-family: var(--display); font-size: 24px; margin: 8px 0 2px; text-transform: uppercase; }
.model-mean { margin: 0 0 18px; color: var(--mute); font-size: 14px; font-style: italic; }
.model-specs { list-style: none; padding: 16px 0; margin: 0 0 16px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.model-specs b { color: var(--ink); font-size: 18px; margin-right: 4px; }
.link { color: var(--cu2); text-decoration: none; font-weight: 700; font-size: 14px; }
.link:hover { text-decoration: underline; }

.table-wrap { border-radius: 22px; overflow: auto; background: rgba(10,10,12,.72); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th, .spec-table td { padding: 20px 28px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { font-family: var(--display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cu2); }
.spec-table td:first-child { color: var(--mute); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover td { background: rgba(255,255,255,.03); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 30px; border-radius: 22px; background: rgba(10,10,12,.7); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.feature svg { width: 40px; height: 40px; fill: none; stroke: var(--cu); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 18px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: rgba(255,255,255,.7); font-size: 14.5px; }

.gallery { position: relative; }
.gallery-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: linear-gradient(180deg, transparent, rgba(7,7,9,.92) 22%, rgba(7,7,9,.96)); }
.gallery-head { padding: 0 var(--pad); margin-bottom: 36px; }
.gallery-track { display: flex; gap: 26px; padding: 0 var(--pad); width: max-content; }
.shot { margin: 0; width: min(62vw, 820px, calc((100vh - 280px) * 1.6)); flex: none; }
.shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 20px; background: #0c0c0f; border: 1px solid rgba(255,255,255,.08); }
.shot figcaption { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; }
.shot figcaption span { color: var(--mute); }

.drive { background: rgba(7,7,9,.96); }
.drive-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; max-width: 1240px; margin: 0 auto; }
.drive-text { color: rgba(255,255,255,.75); margin: 22px 0; max-width: 44ch; }
.drive-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.drive-points li::before { content: ''; display: inline-block; width: 18px; height: 1px; background: var(--cu); vertical-align: middle; margin-right: 12px; }
.drive-form { display: grid; gap: 16px; padding: 34px; border-radius: 24px; background: #0e0e12; border: 1px solid rgba(255,255,255,.09); }
.drive-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.drive-form label { display: grid; gap: 8px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.drive-form input, .drive-form select {
  font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); background: #15151a; border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 13px 14px; outline: none; color-scheme: dark;
}
.drive-form input:focus, .drive-form select:focus { border-color: var(--cu); }
.drive-form input.bad { border-color: #ff6b5a; }
.form-note { margin: 0; font-size: 14px; color: var(--cu2); min-height: 1.4em; }

.footer { background: #050506; padding: 64px var(--pad) 40px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--mute); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--cu2); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hud { display: none; }
  .models, .features { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .counter:nth-child(3) { border-left: 0; }
  .counter:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tunnel-feats { grid-template-columns: 1fr; max-width: 420px; }
  .drive-grid { grid-template-columns: 1fr; gap: 40px; }
  .shot { width: min(80vw, calc((100vh - 280px) * 1.6)); }
}
@media (max-width: 640px) {
  .nav { padding: 16px 18px; }
  .brand-word { font-size: 11px; letter-spacing: 0.32em; }
  .btn-sm { padding: 9px 14px; font-size: 12px; }
  .ch-card { padding: 22px; border-radius: 18px; }
  .ch-design, .ch-sky { align-items: flex-end; padding-bottom: 8vh; }
  .ch-interior { padding-top: 12vh; }
  .ch-mountains { padding-top: 12vh; padding-bottom: 6vh; }
  .counter { padding: 18px; }
  .mini-stats { gap: 16px; }
  .mini-stats b { font-size: 15px; }
  .tunnel-feats div { padding: 14px 16px; }
  .tunnel-feats div span { display: none; }
  .ch-tunnel { gap: 4vh; }
  .speedo { display: none; }
  .drive-form { padding: 22px; }
  .drive-form .row { grid-template-columns: 1fr; }
  .model-body { padding: 4px 20px 24px; }
}

/* ---------- reduced motion / no-webgl fallback ---------- */
html.rm .journey { height: auto; }
html.rm .stage { position: relative; height: auto; overflow: visible; }
html.rm .ch { position: relative; min-height: 100vh; inset: auto; }
html.rm .ch [data-a], html.rm .ch .ch-card, html.rm [data-reveal], html.rm .hero-eyebrow, html.rm .hero-tag, html.rm .scroll-cue { opacity: 1; visibility: visible; }
html.rm .scroll-cue i { animation: none; }
html.rm .speedo, html.rm .hud { display: none; }
html.rm .gallery-pin { height: auto; padding: 14vh 0; }
html.rm .gallery-track { width: auto; overflow-x: auto; padding-bottom: 12px; }
html.rm *, html.rm *::before, html.rm *::after { transition: none !important; animation: none !important; }
html.rm .loader-emblem use { stroke-dashoffset: 0; }
html.no-webgl body { background: radial-gradient(120% 80% at 50% 0%, #3a2618, #07080b 70%); }
