/* ═══════════════════════════════════════════════════════════
   Langixy v2 — cinematic scroll-film layer
   Act 1: pinned 3D globe + flashing statements
   ═══════════════════════════════════════════════════════════ */

/* ── Act 1: pinned scroll-film ────────────────────────────── */
/* Shorter on mobile: less scroll distance to sit through, and the WebGL
   globe is gated off below 640px in cinematic.js (perf/battery), so a
   shorter act keeps the flash-card pacing tight against a static backdrop. */
.act1 { position: relative; height: 320vh; background: var(--navy-deep); }
.act1-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background:
    radial-gradient(1200px 700px at 50% 42%, rgba(26,37,80,0.55), transparent 70%),
    var(--navy-deep);
}
#globe-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.act1-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(140% 90% at 50% 50%, transparent 55%, rgba(6,10,26,0.78) 100%),
    linear-gradient(rgba(6,10,26,0.5), transparent 18%, transparent 82%, rgba(6,10,26,0.6));
}

/* ── flashing statements ──────────────────────────────────── */
.flash {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 0 48px; pointer-events: none; opacity: 0;
  will-change: opacity, transform, filter;
}
.flash h1, .flash h2 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 6vw, 92px); line-height: 1.08; letter-spacing: -0.025em;
  color: #fff; max-width: 1060px; text-wrap: balance;
}
.flash h1 em, .flash h2 em { font-style: italic; font-weight: 400; color: var(--gold); }
.flash .flash-eyebrow {
  margin-bottom: 30px;
  font-family: var(--sans); font-size: 12px; font-weight: 800;
  letter-spacing: 0.46em; text-transform: uppercase; color: var(--gold);
}
.flash .flash-sub {
  margin-top: 28px; font-family: var(--sans); font-size: 17px; font-weight: 500;
  line-height: 1.7; color: #b9c2dd; max-width: 540px;
}
.flash-final { pointer-events: none; }
.flash-final.is-live { pointer-events: auto; }
.flash-final .hero-actions { justify-content: center; margin-top: 44px; }
.flash-final .brand-mark {
  width: 64px; height: 64px; border-radius: 14px; margin-bottom: 34px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* scroll cue inside act 1 */
.act1 .hero-scrollcue { z-index: 5; transition: opacity 0.5s ease; }

/* ── language strip under the film (logo-marquee analog) ──── */
.voices { padding: 64px 0; background: var(--navy); overflow: hidden; }
.voices-label {
  text-align: center; margin-bottom: 36px; padding: 0 22px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted-l);
}

/* ── odometer stats ───────────────────────────────────────── */
.metrics { background: var(--cream); color: var(--ink); padding: 84px 22px; }
.metrics-grid {
  max-width: 1180px; margin: 56px auto 0;
  display: grid; grid-template-columns: 1fr; gap: 36px;
}
.metric { border-top: 1px solid var(--rule); padding-top: 34px; }
.odo {
  display: flex; align-items: baseline;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(76px, 7.4vw, 124px); line-height: 1; letter-spacing: -0.03em;
  color: var(--ink);
}
.odo-col {
  display: block; height: 1em; overflow: hidden;
}
.odo-reel {
  display: block; transform: translateY(0);
  transition: transform 2.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.odo-reel b { display: block; height: 1em; font-weight: inherit; }
.odo-suffix { font-size: 0.42em; color: var(--gold-deep); margin-left: 6px; }
.metric p { margin: 20px 0 0; font-size: 15px; line-height: 1.65; color: var(--muted); font-weight: 600; max-width: 280px; }

/* ── numbered capability index 01–06 ──────────────────────── */
.index-band { background: var(--navy); padding: 84px 22px; }
.index-list { max-width: 1180px; margin: 48px auto 0; list-style: none; padding: 0; }
.index-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: baseline;
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.12);
  transition: background 0.3s ease;
}
.index-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.index-no {
  font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.index-text { font-size: clamp(19px, 2vw, 26px); font-weight: 600; color: #e7ebfa; letter-spacing: -0.01em; }
.index-list li:hover .index-text { color: var(--gold); }

/* "That's Langixy." closer */
.thats {
  max-width: 1180px; margin: 72px auto 0; text-align: center;
}
.thats .h2 { font-size: clamp(50px, 6vw, 96px); }
.thats .h2 em { font-style: italic; color: var(--gold); font-weight: 400; }

@media (min-width: 640px) {
  .act1 { height: 480vh; }
  .voices { padding: 90px 0; }
  .voices-label { margin-bottom: 48px; }
}

@media (min-width: 980px) {
  .act1 { height: 560vh; }
  .metrics { padding: 150px 48px; }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 70px; margin-top: 90px; }
  .index-band { padding: 150px 48px; }
  .index-list { margin-top: 80px; }
  .index-list li { grid-template-columns: 130px 1fr; gap: 40px; padding: 30px 0; }
  .thats { margin-top: 130px; }
  .voices { padding: 110px 0; }
  .voices-label { margin-bottom: 56px; padding: 0 48px; font-size: 12px; letter-spacing: 0.42em; }
}

@media (prefers-reduced-motion: reduce) {
  .odo-reel { transition: none; }
}
