/* XPENG L03 — Live the Vibe
   Concept landing page. Dark, cinematic, one accent family (violet) with
   ruby / amber / jade reserved for the light the car itself makes. */

:root {
  --bg: #050407;
  --bg-2: #0b0910;
  --bg-3: #13101b;
  --ink: #f3f0fa;
  --ink-2: rgba(243, 240, 250, .68);
  --ink-3: rgba(243, 240, 250, .44);
  --line: rgba(243, 240, 250, .12);
  --line-2: rgba(243, 240, 250, .22);
  --violet: #8a68ff;
  --violet-2: #b9a7ff;
  --ruby: #ff3361;
  --amber: #ffb547;
  --jade: #3ff2a6;
  --paper: #efecf3;
  --paper-ink: #0c0a12;
  --paper-ink-2: rgba(12, 10, 18, .62);
  --paper-line: rgba(12, 10, 18, .12);

  --f-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --pad: clamp(20px, 4vw, 64px);
  --maxw: 1440px;
  --r: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: rgba(243, 240, 250, .18) transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
sup { font-size: .5em; vertical-align: super; line-height: 0; margin-left: .1em; color: var(--ink-3); font-weight: 400; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.nowrap { white-space: nowrap; }

/* split-text masks */
.sw { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > .w { display: inline-block; will-change: transform; }

/* ───────────── Buttons ───────────── */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn--lg { --h: 56px; padding: 0 30px; font-size: 15px; }
.btn--light { background: var(--ink); color: #0a0810; }
.btn--light:hover { background: #fff; box-shadow: 0 0 0 6px rgba(185, 167, 255, .16), 0 10px 40px -8px rgba(138, 104, 255, .7); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); background: rgba(255, 255, 255, .06); }
.btn--glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }

/* ───────────── Loader ───────────── */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
}
.loader__inner { width: min(420px, 80vw); text-align: center; }
.loader__brand { font-stretch: 125%; font-weight: 500; font-size: 13px; letter-spacing: .62em; margin-right: -.62em; color: var(--ink-2); }
.loader__model {
  font-stretch: 125%; font-weight: 200; font-size: clamp(88px, 18vw, 168px); line-height: 1; letter-spacing: -.02em;
  margin: 18px 0 34px;
  background: linear-gradient(180deg, #fff 0%, #b9a7ff 70%, #6b47ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader__bar { height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), #fff); transform-origin: 0 50%; transform: scaleX(0); }
.loader__meta { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.loader__pct { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ───────────── Nav ───────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--pad);
  transition: transform .6s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(5, 4, 7, .62); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { justify-self: start; font-stretch: 125%; font-weight: 500; font-size: 15px; letter-spacing: .5em; }
.nav__links { display: flex; gap: 32px; }
.nav__links a { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: color .3s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { justify-self: end; --h: 40px; padding: 0 18px; font-size: 13px; }
body.is-intro .nav, body.is-loading .nav { opacity: 0; }
.nav { transition: transform .6s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease), opacity 1s var(--ease); }

/* ═════════════ FILM ═════════════ */
.film { position: relative; height: 1500vh; }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 95% at 50% 42%, transparent 55%, rgba(5, 4, 7, .6) 100%),
    linear-gradient(0deg, rgba(5, 4, 7, .78) 0%, rgba(5, 4, 7, 0) 34%),
    linear-gradient(180deg, rgba(5, 4, 7, .5) 0%, rgba(5, 4, 7, 0) 16%);
}

.ch {
  position: absolute; z-index: 3; will-change: transform, opacity;
  max-width: min(38.9vw, 662px);   /* scales with .ch__title (5.4vw, capped at 92px) so lines break the same on every screen */
  left: var(--pad); bottom: clamp(104px, 15vh, 170px);
  visibility: hidden; opacity: 0;
}
.ch--right { left: auto; right: var(--pad); }
.ch--center { left: 0; right: 0; margin: 0 auto; text-align: center; max-width: min(52.8vw, 899px); }
.ch--aero { bottom: auto; top: clamp(96px, 17vh, 180px); }
.ch--top { bottom: auto; top: 45%; }

.ch__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.ch__kicker b { font-weight: 500; color: var(--violet-2); }
.ch__kicker::after { content: ""; width: 40px; height: 1px; background: var(--line-2); }
.ch--center .ch__kicker { justify-content: center; }
.ch__title {
  font-stretch: 118%; font-weight: 300;
  font-size: clamp(42px, 5.4vw, 92px); line-height: .98; letter-spacing: -.025em;
  text-wrap: balance;
}
.ch__body { margin-top: 22px; max-width: 40ch; font-size: clamp(15px, 1.15vw, 18px); color: var(--ink-2); }
.ch--center .ch__body { margin-left: auto; margin-right: auto; }

/* hero */
.ch--hero { left: 0; right: 0; margin: 0 auto; max-width: none; text-align: center; bottom: clamp(88px, 13vh, 150px); padding: 0 var(--pad); }
.ch--hero .ch__kicker { justify-content: center; }
.ch--hero .ch__kicker::after { display: none; }
.hero__title {
  font-stretch: 125%; font-size: clamp(54px, 9.2vw, 168px); line-height: .9; letter-spacing: -.03em; font-weight: 200;
  white-space: nowrap;
}
.hero__model { font-weight: 500; background: linear-gradient(180deg, #fff 10%, #c9bbff 60%, #8a68ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin: 22px auto 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: var(--ink-2); }
.hero__lead, .hero__rest { display: block; white-space: nowrap; }
.hero__lead { font-size: 1.1em; color: var(--ink); }
.hero__row { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.hero__price { font-size: 15px; color: var(--ink); }
.hero__price .mono { color: var(--ink-3); margin-right: 6px; }

/* cockpit stats + ambient chip */
.ch__stats { display: flex; gap: clamp(28px, 4vw, 56px); margin-top: 30px; }
.stat__num { font-stretch: 112%; font-weight: 200; font-size: clamp(40px, 4.2vw, 68px); line-height: 1; letter-spacing: -.02em; }
.stat__num span { color: var(--ink-3); margin-left: .04em; }
.stat__label { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ambient {
  --amb: var(--violet);
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  height: 36px; padding: 0 16px 0 12px; border-radius: 99px;
  border: 1px solid var(--line); background: rgba(14, 12, 20, .72);
  font-size: 13px;
}
.ambient .mono { color: var(--ink-3); }
.ambient__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amb); box-shadow: 0 0 12px 2px var(--amb); transition: background-color .6s, box-shadow .6s; }

/* atmosphere captions */
.captions { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(104px, 15vh, 170px); width: min(420px, 40vw); height: 60px; pointer-events: none; }
.captions li {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: baseline; gap: 16px;
  padding-top: 16px; border-top: 1px solid var(--line-2);
  font-size: clamp(16px, 1.3vw, 20px); line-height: 1.3;
  opacity: 0; transform: translateY(14px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
}
.captions li .mono { color: var(--violet-2); flex: none; }
.captions li.is-on { opacity: 1; transform: none; filter: none; }

/* aero */
.aero__num { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.aero__val { font-stretch: 112%; font-weight: 200; font-size: clamp(84px, 11vw, 190px); line-height: .82; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.aero__unit { margin-top: .5em; font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; color: var(--violet-2); }

/* finale */
.ch--finale { left: 0; right: 0; margin: 0 auto; max-width: none; text-align: center; bottom: clamp(92px, 12vh, 140px); padding: 0 var(--pad); }
.finale__title { font-stretch: 125%; font-weight: 200; font-size: clamp(48px, 8vw, 140px); line-height: .92; letter-spacing: -.03em; }
.finale__row { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* HUD */
.hud {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: clamp(16px, 2.4vw, 36px);
  padding: 0 var(--pad) clamp(20px, 3.4vh, 32px);
  opacity: 0; transition: opacity 1s var(--ease);
}
body.is-ready .hud { opacity: 1; }
.hud__skip { height: 28px; color: var(--ink-3); transition: color .3s; }
.hud__skip:hover { color: var(--ink); }
.hud__index { display: flex; gap: 6px; }
.hud__index li { flex: 1 1 0; min-width: 0; }
.hud__index button {
  display: block; width: 100%; text-align: left; padding: 0 0 10px;
  font-size: 11px; letter-spacing: .04em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .4s;
}
.hud__index button .mono { font-size: 10px; margin-right: 4px; color: inherit; }
.hud__index li:hover button, .hud__index li.is-on button { color: var(--ink); }
.hud__index i { display: block; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hud__index b { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), #fff); transform-origin: 0 50%; transform: scaleX(0); }
.hud__time { height: 28px; display: flex; align-items: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hud__total { color: var(--ink-3); }


/* ═════════════ ACT II — shared ═════════════ */
.sec { position: relative; padding: clamp(110px, 14vw, 200px) 0; }
.sec__head { margin-bottom: clamp(48px, 6vw, 88px); }
.sec__head--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--violet-2); }
.sec__title { font-stretch: 116%; font-weight: 300; font-size: clamp(40px, 5.8vw, 100px); line-height: .98; letter-spacing: -.028em; max-width: 15ch; text-wrap: balance; }
.sec__lede { max-width: 42ch; font-size: clamp(16px, 1.3vw, 20px); color: var(--ink-2); }
.sec__head .sec__lede { margin-top: 26px; }
.sec__head--split .sec__lede { margin-top: 0; }

.mode-only { display: none; }
[data-mode="bev"] .mode-only[data-only="bev"], [data-mode="reev"] .mode-only[data-only="reev"] { display: revert; }

/* toggle */
.toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.toggle__btn { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 26px; border-radius: 999px; text-align: left; color: var(--ink-2); transition: color .5s var(--ease); }
.toggle__btn b { font-weight: 500; font-size: 15px; }
.toggle__btn span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); transition: color .5s var(--ease); }
.toggle__btn[aria-pressed="true"] { color: #0a0810; }
.toggle__btn[aria-pressed="true"] span { color: rgba(10, 8, 16, .6); }
.toggle__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--ink); transition: transform .7s var(--ease); box-shadow: 0 8px 30px -10px rgba(138, 104, 255, .8); }
[data-mode="reev"] .toggle__pill { transform: translateX(100%); }
.toggle--sm { margin: 0; }
.toggle--sm .toggle__btn { padding: 10px 22px; align-items: center; text-align: center; }
.toggle--sm .toggle__btn b { font-size: 14px; }

/* ───────────── Energy ───────────── */
.energy__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 4vw, 72px); align-items: stretch; }
.energy__media { position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; background: var(--bg-2); }
.energy__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; transform: scale(1.08); }
.energy__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 4, 7, .86) 0%, rgba(5, 4, 7, 0) 50%); }
.energy__tag { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; max-width: 46ch; font-size: 15px; color: var(--ink-2); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.kpi { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.kpi:nth-child(even):not(.kpi--hero) { padding-left: 24px; border-left: 1px solid var(--line); }
.kpi--hero { grid-column: 1 / -1; padding-top: 10px; }
.kpi dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.kpi dd { margin-top: 8px; font-stretch: 112%; font-weight: 300; font-size: clamp(32px, 3vw, 48px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi--hero dd { font-weight: 200; font-size: clamp(88px, 10vw, 168px); letter-spacing: -.045em; line-height: .9; }
.kpi dd small { margin-left: .2em; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 400; }
.kpi dd small:first-child { margin: 0 .3em 0 0; }
.kpi__sep { color: var(--ink-3); margin: 0 .1em; }
.kpi__note { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ───────────── Journey ───────────── */
.journey { height: 280vh; padding: 0; }
.journey__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.journey__wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto; gap: 20px clamp(32px, 4vw, 72px); align-items: center; }
.journey__head { grid-row: 1; }
.journey__head .sec__title { font-size: clamp(36px, 4.4vw, 76px); }
.journey__head .sec__lede { margin-top: 24px; }
.journey .toggle--sm { grid-row: 2; justify-self: start; align-self: start; }
.journey__map { grid-column: 2; grid-row: 1 / 3; position: relative; }
.route { width: 100%; height: auto; overflow: visible; }
.route__grid path { stroke: rgba(255, 255, 255, .04); stroke-width: 1; fill: none; }
.route__base { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 2; stroke-dasharray: 1 12; stroke-linecap: round; }
.route__ev { fill: none; stroke: url(#g-ev); stroke-width: 6; stroke-linecap: round; }
.route__gen { fill: none; stroke: var(--amber); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(255, 181, 71, .55)); }
.city circle { fill: var(--bg); stroke: var(--ink); stroke-width: 2; }
.city--mid circle { stroke: var(--ink-3); }
.city text { fill: var(--ink); font-family: var(--f-mono); font-size: 17px; letter-spacing: .12em; text-transform: uppercase; }
.city--mid text { fill: var(--ink-3); font-size: 14px; }
.route__car circle:last-child { fill: #fff; }
.route__halo { fill: rgba(185, 167, 255, .22); }
[data-src="gen"] .route__halo { fill: rgba(255, 181, 71, .25); }
.readout {
  display: grid; grid-template-columns: 1fr 1fr 1.3fr auto; align-items: end; gap: 0 24px;
  margin-top: 8px; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}
.readout__row { display: flex; flex-direction: column; gap: 10px; }
.readout__row .mono { color: var(--ink-3); }
.readout__val { font-stretch: 112%; font-weight: 300; font-size: clamp(26px, 2.4vw, 38px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.readout__val small { margin-left: 6px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.readout__src { font-size: clamp(18px, 1.6vw, 24px); color: var(--violet-2); transition: color .4s; }
[data-src="gen"] .readout__src { color: var(--amber); }
.readout__legend { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.readout__legend span { margin-right: 14px; }
.lg { display: inline-block; vertical-align: middle; width: 16px; height: 4px; border-radius: 2px; margin: -2px 8px 0 0; }
.lg--ev { background: var(--violet-2); }
.lg--gen { background: var(--amber); }

/* ───────────── Charge ───────────── */
.charge { height: 240vh; padding: 0; }
.charge__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.charge__wrap { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.charge__copy .sec__title { font-size: clamp(36px, 4.2vw, 72px); max-width: 16ch; }
.charge__copy .sec__lede { margin-top: 24px; }
.charge__facts { margin-top: 40px; border-top: 1px solid var(--line); }
.charge__facts li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.charge__k { font-stretch: 112%; font-weight: 300; font-size: 32px; line-height: 1; color: var(--ink); }
.charge__k small { margin-left: 4px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); }
.gauge { position: relative; width: min(520px, 100%); aspect-ratio: 1; justify-self: center; }
.gauge__svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.gauge__track { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 14; }
.gauge__ring { fill: none; stroke: url(#g-ring); stroke-width: 14; stroke-linecap: round; filter: drop-shadow(0 0 18px rgba(138, 104, 255, .55)); }
.gauge__ticks line { stroke: rgba(255, 255, 255, .16); stroke-width: 2; }
.gauge__ticks line.is-major { stroke: rgba(255, 255, 255, .4); }
.gauge__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__pct { font-stretch: 112%; font-weight: 200; font-size: clamp(88px, 10vw, 160px); line-height: .9; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.gauge__pct small { font-size: .32em; color: var(--ink-3); margin-left: .06em; letter-spacing: 0; }
.gauge__time { margin-top: 18px; color: var(--ink-3); }
.gauge__clock { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ───────────── Cabin bento ───────────── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: auto; gap: 14px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 240px; isolation: isolate;
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile:has(img)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5, 4, 7, .92) 0%, rgba(5, 4, 7, .35) 45%, rgba(5, 4, 7, 0) 70%); }
.tile__body, .tile--stat, .tile--chips { padding: clamp(22px, 2.2vw, 32px); }
.tile h3 { font-stretch: 110%; font-weight: 500; font-size: 18px; letter-spacing: -.005em; }
.tile p:not(.tile__num) { margin-top: 8px; max-width: 38ch; color: var(--ink-2); font-size: 15px; }
.tile__num { font-stretch: 112%; font-weight: 200; font-size: clamp(56px, 5.6vw, 96px); line-height: .9; letter-spacing: -.04em; margin-bottom: 14px; }
.tile__num span { font-size: .38em; letter-spacing: 0; color: var(--ink-2); margin-left: .08em; font-weight: 300; }
.tile--a { grid-column: 1 / 9; grid-row: span 2; min-height: 520px; }
.tile--b { grid-column: 9 / 13; grid-row: span 2; min-height: 520px; }
.tile--b img { object-position: 60% 50%; }
.tile--c { grid-column: 1 / 6; grid-row: span 2; min-height: 494px; }
.tile--d { grid-column: 6 / 9; }
.tile--e { grid-column: 9 / 13; }
.tile--f { grid-column: 6 / 9; }
.tile--g { grid-column: 9 / 13; }
.tile--h { grid-column: 1 / 13; min-height: 0; }
.tile--stat { justify-content: space-between; background: radial-gradient(120% 120% at 100% 0%, rgba(138, 104, 255, .16) 0%, rgba(138, 104, 255, 0) 60%), var(--bg-2); }
.tile--chips { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.chips li { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); }

/* ───────────── Trust ───────────── */
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.trust__big { padding: 34px 28px 38px 0; }
.trust__big + .trust__big { padding-left: 28px; border-left: 1px solid var(--line); }
.trust__num { display: flex; align-items: baseline; gap: 12px; font-stretch: 112%; font-weight: 200; font-size: clamp(96px, 12vw, 200px); line-height: .85; letter-spacing: -.05em; }
.trust__num small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); font-weight: 400; }
.trust__label { margin-top: 18px; max-width: 24ch; color: var(--ink-2); font-size: 16px; }
.trust__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.trust__list li { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 14px; }
.trust__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 10px var(--jade); }

/* ───────────── Specs (paper sheet) ───────────── */
.specs { padding-top: 0; }
.specs .wrap > * { position: relative; }
.specs .wrap { background: var(--paper); color: var(--paper-ink); border-radius: 32px; padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 88px); max-width: calc(var(--maxw) - 2 * var(--pad)); width: calc(100% - 2 * var(--pad)); }
.specs .eyebrow, .specs .sec__lede { color: var(--paper-ink-2); }
.specs .eyebrow::before { background: var(--violet); }
.table { font-size: 15px; }
.tr { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--paper-line); align-items: baseline; }
.tr > :first-child { color: var(--paper-ink-2); }
.tr .span2 { grid-column: span 2; }
.th { position: sticky; top: 64px; z-index: 2; background: var(--paper); padding-top: 12px; border-bottom-color: var(--paper-ink); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.th > span { color: var(--paper-ink) !important; }
.tr > span { transition: color .5s var(--ease); }
[data-mode="bev"] .tr:not(.th) > span:nth-child(3):not(.span2),
[data-mode="reev"] .tr:not(.th) > span:nth-child(2):not(.span2) { color: rgba(12, 10, 18, .42); }
.tr sup { color: var(--paper-ink-2); }
.tr--price { border-bottom: 0; padding-top: 28px; font-stretch: 112%; font-size: clamp(22px, 2.2vw, 34px); font-weight: 300; letter-spacing: -.015em; }
.tr--price > :first-child { font-size: 15px; font-stretch: 100%; letter-spacing: 0; font-weight: 400; }

/* ───────────── Visit ───────────── */
.visit { overflow: hidden; padding-top: clamp(300px, 54vh, 560px); }
.visit__bg { position: absolute; inset: 0 0 auto 0; height: clamp(560px, 100vh, 1000px); z-index: -1; overflow: hidden; }
.visit__bg img { width: 100%; height: 116%; object-fit: cover; object-position: 50% 38%; }
.visit__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 4, 7, 0) 22%, rgba(5, 4, 7, 0) 52%, rgba(5, 4, 7, .7) 78%, var(--bg) 100%); }
.visit { position: relative; isolation: isolate; }
.visit__head { text-align: center; }
.visit__head .eyebrow { justify-content: center; }
.visit__title { font-stretch: 125%; font-weight: 200; font-size: clamp(48px, 8.6vw, 156px); line-height: .92; letter-spacing: -.035em; max-width: 12ch; margin: 0 auto; text-wrap: balance; }
.visit__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; }
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(80px, 10vw, 160px); }
.city-card { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(11, 9, 16, .6); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: border-color .5s var(--ease), transform .8s var(--ease); }
.city-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.city-card .mono { color: var(--violet-2); }
.city-card h3 { margin: 40px 0 10px; font-stretch: 118%; font-weight: 300; font-size: clamp(30px, 2.8vw, 44px); letter-spacing: -.02em; line-height: 1; }
.city-card p:last-child { color: var(--ink-2); font-size: 15px; }

/* ───────────── Footer ───────────── */
.foot { padding: 40px 0 56px; border-top: 1px solid var(--line); }
.foot__top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; padding-bottom: 32px; }
.foot__brand { font-stretch: 125%; font-weight: 500; letter-spacing: .4em; font-size: 15px; }
.foot__brand span { color: var(--violet-2); letter-spacing: .1em; }
.foot__tag { font-stretch: 118%; font-weight: 300; font-size: 20px; color: var(--ink-2); }
.foot__legal { display: grid; gap: 8px; max-width: 110ch; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
.foot__legal sup { color: var(--ink-3); font-size: .9em; vertical-align: baseline; margin-right: 2px; }
.foot__credit { margin-top: 12px; color: var(--ink-2); }

/* ───────────── Grain ───────────── */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* reveal helpers (JS adds .is-in) */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ═════════════ Responsive ═════════════ */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--a { grid-column: 1 / 7; }
  .tile--b { grid-column: 1 / 4; }
  .tile--c { grid-column: 4 / 7; }
  .tile--d, .tile--f { grid-column: span 3; }
  .tile--e, .tile--g { grid-column: span 3; }
  .tile--h { grid-column: 1 / 7; grid-template-columns: 1fr; }
  .chips { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .ch, .ch--right, .ch--center, .ch--aero {
    left: 20px; right: 20px; max-width: none; margin: 0; text-align: left;
    top: auto; bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .ch--center .ch__kicker { justify-content: flex-start; }
  .ch--center .ch__body { margin-left: 0; }
  .ch--hero, .ch--finale { left: 0; right: 0; text-align: center; padding: 0 20px; bottom: calc(96px + env(safe-area-inset-bottom)); }
  .ch__title { font-size: clamp(36px, 10.4vw, 52px); }
  .ch__body { margin-top: 14px; font-size: 15px; }
  .ch__kicker { margin-bottom: 14px; }
  .ch__stats { margin-top: 20px; }
  .ambient { margin-top: 18px; }
  .aero__val { font-size: clamp(72px, 22vw, 110px); }
  .hero__title { font-size: clamp(38px, 11.6vw, 96px); }
  .hero__sub { max-width: 36ch; }
  .hero__lead, .hero__rest { white-space: normal; }
  .hero__rest { margin-top: 6px; }
  .hero__row { flex-direction: column; gap: 14px; margin-top: 24px; }
  .captions { left: 20px; right: 20px; width: auto; bottom: calc(86px + env(safe-area-inset-bottom)); }
  .hud { grid-template-columns: 1fr auto; padding: 0 20px calc(18px + env(safe-area-inset-bottom)); gap: 14px; }
  .hud__index { grid-column: 1 / -1; grid-row: 1; gap: 4px; }
  .hud__index button { display: none; }
  .hud__skip, .hud__time { grid-row: 2; height: 20px; }

  .sec__head--split { grid-template-columns: 1fr; gap: 24px; }
  .energy__grid { grid-template-columns: 1fr; }
  .energy__media { min-height: 0; aspect-ratio: 4 / 3; }
  .kpi dd { font-size: 30px; }
  .kpi:nth-child(even):not(.kpi--hero) { padding-left: 16px; }
  .toggle { display: grid; width: 100%; }
  .toggle__btn { padding: 12px 18px; }

  .journey { height: 260vh; }
  .journey__wrap { grid-template-columns: 1fr; grid-template-rows: auto; gap: 18px; }
  .journey__head, .journey__map, .journey .toggle--sm { grid-column: 1; grid-row: auto; }
  .journey__head .sec__title { font-size: clamp(32px, 9vw, 44px); }
  .journey__head .sec__lede { margin-top: 14px; font-size: 15px; }
  .readout { grid-template-columns: 1fr 1fr 1.2fr; gap: 0 14px; padding: 14px 16px; margin-top: 0; }
  .readout__row { gap: 6px; }
  .readout__val { font-size: 22px; }
  .readout__src { font-size: 15px; }
  .readout__legend { grid-column: 1 / -1; flex-direction: row; margin-top: 12px; }
  .city text { font-size: 26px; }
  .city--mid text { font-size: 20px; }

  .charge { height: 220vh; }
  .charge__wrap { grid-template-columns: 1fr; gap: 10px; }
  .charge__copy .sec__title { font-size: clamp(30px, 8.4vw, 42px); }
  .charge__copy .sec__lede { margin-top: 14px; font-size: 15px; }
  .charge__facts { margin-top: 18px; }
  .charge__facts li { grid-template-columns: 76px 1fr; gap: 12px; padding: 10px 0; font-size: 13px; }
  .charge__k { font-size: 22px; }
  .gauge { width: min(38vh, 70vw); order: -1; }
  .gauge__pct { font-size: clamp(64px, 18vw, 96px); }
  .gauge__time { margin-top: 8px; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .tile:has(img) { min-height: 0; aspect-ratio: 4 / 3.4; }
  .tile--a:has(img) { aspect-ratio: 4 / 4.4; }

  .trust__grid { grid-template-columns: 1fr; }
  .trust__big { padding: 28px 0; }
  .trust__big + .trust__big { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }

  .specs .wrap { width: calc(100% - 24px); border-radius: 24px; padding-left: 20px; padding-right: 20px; }
  .tr { grid-template-columns: 1fr 1fr; gap: 6px 16px; padding: 14px 0; }
  .tr > :first-child { grid-column: 1 / -1; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
  .th > :first-child { display: none; }
  .th { top: 56px; }
  .tr--price > :first-child { font-size: 10px; }

  .cities { grid-template-columns: 1fr; }
  .city-card h3 { margin-top: 24px; }
}

@media (max-height: 740px) and (max-width: 860px) {
  .charge__facts li:nth-child(3) { display: none; }
  .journey__head .sec__lede { display: none; }
}

@media (max-height: 760px) and (min-width: 861px) {
  .charge__facts li { padding: 12px 0; }
  .charge__copy .sec__title { font-size: clamp(32px, 3.6vw, 56px); }
  .journey__head .sec__title { font-size: clamp(32px, 3.8vw, 60px); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition-duration: .01s; }
}
