:root {
  --ink: #000;
  --bone: #f4f2ee;
  --mist: rgba(244, 242, 238, 0.72);
  --blue: #2b3cff;
  --blue-glow: #4a6bff;
  --ruby: #8c1028;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color: var(--bone); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--sans); font-weight: 300; line-height: 1.6; overflow-x: hidden; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- film ---------- */
.film {
  position: fixed; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  background: #000;
}
.vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.45), transparent 18%, transparent 80%, rgba(0,0,0,.6));
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) clamp(18px, 4vw, 48px) 34px;
  background: linear-gradient(to bottom, rgba(0,0,0,.88) 35%, rgba(0,0,0,0));
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { width: 30px; height: auto; filter: drop-shadow(0 0 8px rgba(74,107,255,.8)); }
.nav__brand span {
  font-family: var(--serif); font-size: 15px; letter-spacing: .32em; text-transform: uppercase;
}
.nav__cta {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid rgba(244,242,238,.35); border-radius: 999px;
  transition: background .3s, border-color .3s;
  background: rgba(0,0,0,.25); backdrop-filter: blur(6px);
}
.nav__cta:hover { background: var(--blue); border-color: var(--blue); }

.progress { position: fixed; left: 0; right: 0; bottom: 0; height: 2px; z-index: 20; background: rgba(255,255,255,.06); }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--blue-glow), var(--ruby)); box-shadow: 0 0 12px var(--blue-glow); }

/* ---------- beats ---------- */
.beat {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px clamp(20px, 6vw, 96px);
}
.beat--left { justify-content: flex-start; }
.beat--right { justify-content: flex-end; }
.beat + .beat { min-height: 115vh; }

.panel { max-width: 420px; }
.panel p:last-child { color: var(--mist); font-size: 15px; margin-top: 18px; max-width: 34ch; text-shadow: 0 1px 12px rgba(0,0,0,.9); }

.eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  color: var(--blue-glow); margin-bottom: 16px; text-shadow: 0 0 14px rgba(43,60,255,.6);
}
.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: .01em;
  text-shadow: 0 2px 30px rgba(0,0,0,.85);
}
.display--xl { font-size: clamp(44px, 6.4vw, 96px); }

/* hero */
.beat--hero { justify-content: space-between; align-items: center; gap: 24px; }
.wordmark {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(38px, 5.6vw, 92px); line-height: 1.04; letter-spacing: .14em;
  text-shadow: 0 0 40px rgba(0,0,0,.9);
}
.hero__right { text-align: right; }
.tagline { font-size: clamp(16px, 1.6vw, 22px); font-weight: 300; letter-spacing: .02em; text-shadow: 0 1px 14px #000; }
.badge {
  display: inline-block; margin-top: 22px; padding: 8px 16px;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  border: 1px solid var(--blue); color: var(--bone);
  background: rgba(43,60,255,.18); box-shadow: 0 0 24px rgba(43,60,255,.35);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--mist);
}
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--bone), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1 } 70% { transform: scaleY(1); opacity: 1 } 100% { transform: scaleY(1); opacity: 0 } }

/* final */
.beat--final { flex-direction: column; justify-content: center; text-align: center; min-height: 130vh; padding-bottom: 40px; }
.beat--final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.35) 35%, rgba(0,0,0,.82) 70%, #000 100%);
}
.final { margin-top: auto; max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.final__logo { width: 64px; margin-bottom: 22px; filter: drop-shadow(0 0 16px rgba(74,107,255,.9)); }
.final__sub { color: var(--mist); margin: 20px auto 30px; max-width: 46ch; }

.waitlist { display: flex; gap: 10px; width: 100%; max-width: 480px; }
.waitlist input[type=email] {
  flex: 1; min-width: 0; padding: 15px 20px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(244,242,238,.25);
  color: var(--bone); font: inherit; font-size: 15px; outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.waitlist input[type=email]:focus { border-color: var(--blue-glow); box-shadow: 0 0 0 3px rgba(43,60,255,.25); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist__msg { min-height: 1.6em; margin-top: 14px; font-size: 14px; color: var(--mist); }
.waitlist__msg.ok { color: #9fb2ff; }
.waitlist__msg.err { color: #ff8b9b; }

.btn {
  font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  padding: 15px 24px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: transform .2s, background .25s, box-shadow .25s;
}
.btn--solid { background: var(--blue); color: #fff; border: 1px solid var(--blue); box-shadow: 0 0 28px rgba(43,60,255,.45); }
.btn--solid:hover { background: var(--blue-glow); box-shadow: 0 0 40px rgba(74,107,255,.7); }
.btn--ghost { background: transparent; color: var(--bone); border: 1px solid rgba(244,242,238,.35); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; cursor: default; }

.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.chips li { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; padding: 8px 14px; border: 1px solid rgba(43,60,255,.7); color: #b9c4ff; }

.foot { margin-top: auto; padding-top: 80px; font-size: 12px; color: rgba(244,242,238,.45); display: grid; gap: 4px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* gate */
.gate {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  background: rgba(0,0,0,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.gate[hidden] { display: none; }
.gate__card {
  width: 100%; max-width: 440px; text-align: center; padding: 44px 32px;
  border: 1px solid rgba(43,60,255,.5); background: rgba(5,6,20,.85);
  box-shadow: 0 0 60px rgba(43,60,255,.25);
}
.gate__logo { width: 56px; margin: 0 auto 18px; filter: drop-shadow(0 0 14px rgba(74,107,255,.9)); }
.gate h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; }
.gate__sub { color: var(--mist); font-size: 14px; margin-top: 10px; }
.gate__actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.gate__denied { margin-top: 18px; font-size: 13px; color: #ff8b9b; }

/* ---------- mobile ---------- */
@media (max-width: 768px) {
  .nav__brand span { display: none; }
  .nav { background: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,0)); padding-bottom: 28px; }
  .beat { align-items: flex-end; padding: 100px 22px 70px; }
  .beat--right { justify-content: flex-start; }
  .beat::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; z-index: -1; pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  }
  .beat--final::after { display: none; }
  .panel { max-width: none; }
  .display { font-size: clamp(36px, 10vw, 52px); }
  .beat--hero { flex-direction: column; justify-content: space-between; align-items: flex-start; padding-top: 96px; padding-bottom: 110px; }
  .beat--hero::after { height: 40%; }
  .wordmark { font-size: clamp(34px, 11vw, 52px); }
  .hero__right { text-align: left; }
  .waitlist { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .scroll-cue i { animation: none; }
}
