/* ==========================================================================
   Juva · Coming soon
   ========================================================================== */

:root {
  --forest: #16332A;
  --forest-2: #1D4236;
  --deep: #0B1A15;
  --ink: #081310;
  --off: #F4F1EA;
  --off-2: #EAE5DA;
  --paper: #FBFAF6;
  --mint: #7FD1AE;
  --mint-ink: #2A6B52;          /* mint-family accent that passes AA on off-white */
  --muted-dark: rgba(244, 241, 234, .72);
  --muted-light: #4A5A53;
  --line-dark: rgba(244, 241, 234, .12);
  --line-light: rgba(22, 51, 42, .14);

  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--deep);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--off);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* film grain over everything, very subtle */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--mint); color: var(--forest); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}
.learn :focus-visible, .footer :focus-visible { outline-color: var(--forest); }

/* ---------- type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint);
}
.eyebrow--dark { color: var(--mint-ink); }

.h2 {
  font-size: clamp(2.6rem, 6.4vw, 5.75rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.04em;
  margin-top: 18px;
}
.h2 em, .final__title em {
  font-style: normal;
  font-weight: 200;
  color: var(--mint);
}

.lede {
  max-width: 34em;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted-dark);
}

/* ---------- buttons ---------- */

.btn {
  --bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s;
}
.btn--mint {
  --bg: var(--mint);
  color: var(--forest);
  box-shadow: 0 0 0 0 rgba(127, 209, 174, 0), 0 10px 30px -10px rgba(127, 209, 174, .55);
}
.btn--mint:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 6px rgba(127, 209, 174, .14), 0 18px 40px -12px rgba(127, 209, 174, .7);
}
.btn--mint:active { transform: translateY(0) scale(.98); }
.btn--ghost {
  min-height: 42px;
  padding: 0 18px;
  font-size: .9375rem;
  color: var(--off);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .28);
}
.btn--ghost:hover { background: var(--off); color: var(--forest); }
.btn__icon { width: 18px; height: 18px; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color .5s var(--ease), box-shadow .5s, transform .6s var(--ease);
}
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  height: 76px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav.is-scrolled {
  background: rgba(8, 19, 16, .62);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { width: 92px; height: auto; }
.nav__links { display: flex; gap: 34px; font-size: .9375rem; }
.nav__links a {
  position: relative;
  text-decoration: none;
  color: var(--muted-dark);
  transition: color .3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover { color: var(--off); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__in { height: 64px; }
  .nav__logo img { width: 80px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 90% at 70% 40%, #12302A 0%, var(--deep) 55%, var(--ink) 100%);
}
.hero__gl, .hero__fallback, .hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__gl {
  z-index: -1;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.hero__gl.is-ready { opacity: 1; }

/* static CSS cell, shown when WebGL is unavailable */
.hero__fallback {
  z-index: -2;
  --cx: 70%; --cy: 50%; --r: min(27vh, 30vw);
  background:
    radial-gradient(circle at calc(var(--cx) + 4%) calc(var(--cy) - 3%), rgba(244, 241, 234, .55) 0, rgba(127, 209, 174, .55) calc(var(--r) * .12), rgba(127, 209, 174, .12) calc(var(--r) * .32), transparent calc(var(--r) * .36)),
    radial-gradient(circle at var(--cx) var(--cy), rgba(127, 209, 174, .14) 0, rgba(127, 209, 174, .22) calc(var(--r) * .9), rgba(127, 209, 174, .75) calc(var(--r) * .98), rgba(127, 209, 174, .22) calc(var(--r) * 1.04), rgba(127, 209, 174, .06) calc(var(--r) * 1.5), transparent calc(var(--r) * 2.2));
  opacity: 0;
  transition: opacity 1s;
}
.no-webgl .hero__fallback { opacity: 1; }

.hero__shade {
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 19, 16, .78) 0%, rgba(8, 19, 16, .35) 38%, rgba(8, 19, 16, 0) 60%),
    linear-gradient(0deg, var(--deep) 0%, rgba(11, 26, 21, 0) 22%);
}

.hero__content {
  position: relative;
  padding-top: 120px;
  padding-bottom: 120px;
}
.hero__eyebrow { margin-bottom: 28px; }
.pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--mint);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  from { transform: scale(.4); opacity: 1; }
  to   { transform: scale(1.8); opacity: 0; }
}

.hero__title {
  font-size: clamp(3rem, 7.3vw, 7.25rem);
  font-weight: 300;
  line-height: .94;
  letter-spacing: -.045em;
  max-width: 11ch;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:first-child { font-weight: 500; font-size: .42em; letter-spacing: -.02em; color: var(--mint); margin-bottom: .18em; }
.hero__title .line--accent { font-weight: 200; color: var(--mint); }

.hero__lede {
  max-width: 30em;
  margin-top: 30px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--muted-dark);
}

/* intro choreography */
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__eyebrow, .js .hero__lede, .js .hero .waitlist, .js .hero__scroll { opacity: 0; transform: translateY(16px); }
.is-loaded .hero__title .line > span { transform: none; transition: transform 1.3s var(--ease); }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.is-loaded .hero__eyebrow,
.is-loaded .hero__lede,
.is-loaded .hero .waitlist,
.is-loaded .hero__scroll { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.is-loaded .hero__lede { transition-delay: .35s; }
.is-loaded .hero .waitlist { transition-delay: .5s; }
.is-loaded .hero__scroll { transition-delay: 1s; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-left: -30px;
  width: 60px;
  font-size: .6875rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted-dark);
}
.hero__scroll i {
  position: relative;
  width: 1px; height: 44px;
  overflow: hidden;
  background: rgba(244, 241, 234, .18);
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mint);
  animation: drip 2.2s var(--ease-io) infinite;
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero__content { padding-top: 36vh; padding-top: 36svh; padding-bottom: 72px; }
  .hero__shade {
    background: linear-gradient(0deg, var(--deep) 0%, rgba(11, 26, 21, .88) 38%, rgba(11, 26, 21, .2) 62%, rgba(11, 26, 21, 0) 100%);
  }
  .hero__fallback { --cx: 50%; --cy: 22%; --r: 26vw; }
  .hero__title { font-size: clamp(2.75rem, 13vw, 4.25rem); }
  .hero__lede { margin-top: 20px; }
  .hero__scroll { display: none; }
}

/* ---------- waitlist form ---------- */

.waitlist { margin-top: 36px; max-width: 520px; }
.waitlist__row {
  position: relative;
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(244, 241, 234, .06);
  box-shadow: inset 0 0 0 1px rgba(244, 241, 234, .2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow .4s var(--ease), background-color .4s;
}
.waitlist__row:focus-within {
  background: rgba(244, 241, 234, .09);
  box-shadow: inset 0 0 0 1px var(--mint), 0 0 0 5px rgba(127, 209, 174, .14);
}
.waitlist.is-invalid .waitlist__row { box-shadow: inset 0 0 0 1px #F2A38F, 0 0 0 5px rgba(242, 163, 143, .14); }
.waitlist.is-invalid .waitlist__row { animation: shake .45s var(--ease); }
@keyframes shake {
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}
.waitlist__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 8px 0 20px;
  border: 0;
  background: transparent;
  color: var(--off);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 400;
}
.waitlist__input::placeholder { color: rgba(244, 241, 234, .55); }
.waitlist__input:focus { outline: none; }
.waitlist__btn { flex: 0 0 auto; }
.waitlist__btn .btn__spinner {
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(22, 51, 42, .25);
  border-top-color: var(--forest);
  opacity: 0;
}
.waitlist.is-loading .btn__label { opacity: 0; }
.waitlist.is-loading .btn__spinner { opacity: 1; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.waitlist__error {
  min-height: 0;
  padding-left: 22px;
  font-size: .9375rem;
  font-weight: 400;
  color: #F6B9A9;
}
.waitlist__error:not(:empty) { margin-top: 12px; }
.waitlist__note {
  margin-top: 14px;
  padding-left: 22px;
  font-size: .875rem;
  color: rgba(244, 241, 234, .66);
}

/* success */
.waitlist-success {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 520px;
  margin-top: 36px;
  padding: 18px 26px 18px 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(127, 209, 174, .16), rgba(127, 209, 174, .04));
  box-shadow: inset 0 0 0 1px rgba(127, 209, 174, .4), 0 30px 60px -30px rgba(127, 209, 174, .5);
  animation: success-in .9s var(--ease) both;
}
.waitlist-success:focus { outline: none; }
.waitlist-success:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.waitlist-success__mark { flex: 0 0 56px; width: 56px; height: 56px; }
.waitlist-success__mark circle {
  fill: rgba(127, 209, 174, .14);
  stroke: var(--mint);
  stroke-width: 1.5;
  stroke-dasharray: 152;
  stroke-dashoffset: 152;
  animation: draw 1s .1s var(--ease) forwards;
}
.waitlist-success__mark path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw .6s .7s var(--ease) forwards;
}
.waitlist-success h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
.waitlist-success p { margin-top: 2px; font-size: .9375rem; color: var(--muted-dark); overflow-wrap: anywhere; }
.waitlist-success strong { color: var(--off); font-weight: 500; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes success-in {
  from { opacity: 0; transform: translateY(12px) scale(.97); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 480px) {
  .waitlist__row { flex-direction: column; border-radius: 26px; }
  .waitlist__input { height: 52px; padding-left: 16px; }
  .waitlist__btn { width: 100%; }
  .waitlist__note, .waitlist__error { padding-left: 4px; }
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--line-dark);
  background: var(--deep);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 200;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--off);
  animation: marquee 38s linear infinite;
}
.marquee__track b { font-size: .45em; color: var(--mint); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */

.manifesto {
  position: relative;
  padding: clamp(96px, 14vw, 200px) 0 clamp(80px, 10vw, 140px);
  background: var(--off);
  color: var(--forest);
}
.manifesto__text {
  margin-top: 28px;
  max-width: 17em;
  font-size: clamp(2rem, 5.2vw, 4.75rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.035em;
}
.manifesto__text .w {
  display: inline;
  transition: color .5s linear;
  color: var(--forest);
}
.js .manifesto__text[data-ready] .w { color: rgba(22, 51, 42, .2); }
.js .manifesto__text[data-ready] .w.on { color: var(--forest); }
.js .manifesto__text[data-ready] .w.on.hl { color: var(--mint-ink); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line-light);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 10px;
  padding: 28px 24px 0 0;
}
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-light); }
.stat dd {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 200;
  line-height: .9;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.stat dt { max-width: 15em; font-size: .9375rem; line-height: 1.45; color: var(--muted-light); }

@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 28px; }
}

/* ---------- preview ---------- */

.preview {
  position: relative;
  padding: clamp(96px, 12vw, 180px) 0;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 50%, rgba(127, 209, 174, .14), transparent 70%),
    var(--forest);
}
.preview__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.preview__copy .btn { margin-top: 36px; }

.poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--deep);
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(127, 209, 174, .22), 0 50px 100px -40px rgba(0, 0, 0, .8), 0 30px 80px -50px rgba(127, 209, 174, .6);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease), filter .8s;
  filter: saturate(.9) brightness(.82);
}
.poster:hover { transform: translateY(-4px); }
.poster:hover img { transform: scale(1.06); filter: saturate(1) brightness(.9); }
.poster:focus-visible { outline-offset: 6px; border-radius: var(--radius); }
.poster__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 21, 0) 45%, rgba(11, 26, 21, .85) 100%);
}
.poster__play {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: clamp(72px, 9vw, 104px);
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  color: var(--forest);
  background: var(--mint);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(127, 209, 174, .5);
  animation: ring 2.6s var(--ease) infinite;
  transition: transform .6s var(--ease);
}
.poster__play svg { width: 38%; height: 38%; margin-left: 6%; }
.poster:hover .poster__play { transform: translate(-50%, -50%) scale(1.08); }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(127, 209, 174, .45); }
  80%, 100% { box-shadow: 0 0 0 28px rgba(127, 209, 174, 0); }
}
.poster__meta {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--off);
  text-align: left;
}
.poster__meta b {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(127, 209, 174, .18);
  box-shadow: inset 0 0 0 1px rgba(127, 209, 174, .45);
  color: var(--mint);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .06em;
}
.poster__meta i { margin-left: auto; font-style: normal; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }

@media (max-width: 860px) {
  .preview__grid { grid-template-columns: 1fr; }
  .poster { order: -1; }
  .poster__meta { left: 16px; right: 16px; bottom: 12px; font-size: .875rem; }
}

/* ---------- curriculum / holo cards ---------- */

.curriculum {
  position: relative;
  padding: clamp(96px, 12vw, 180px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(127, 209, 174, .1), transparent 70%),
    var(--deep);
}
.curriculum::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 241, 234, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}
.section-head { position: relative; max-width: 760px; }

.holo-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0 var(--gutter);
}

.holo {
  --rx: 0deg; --ry: 0deg;
  --mx: 50%; --my: 50%;
  --o: 0;
  perspective: 900px;
}
.holo__card {
  position: relative;
  height: 100%;
  min-height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
  background:
    radial-gradient(120% 80% at 0% 0%, hsla(var(--hue), 55%, 60%, .22), transparent 60%),
    linear-gradient(160deg, #1B3D33 0%, #102720 55%, #0C1E19 100%);
  box-shadow:
    inset 0 0 0 1px rgba(127, 209, 174, .2),
    0 30px 60px -30px rgba(0, 0, 0, .8);
}
.holo.is-active .holo__card {
  transition: transform .12s linear, box-shadow .5s var(--ease);
  box-shadow:
    inset 0 0 0 1px rgba(127, 209, 174, .5),
    0 40px 80px -30px rgba(0, 0, 0, .9),
    0 0 60px -10px hsla(var(--hue), 60%, 60%, .45);
}

/* the holographic foil: shifting spectral bands masked to a soft spotlight */
.holo__foil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: calc(.18 + var(--o) * .5);
  mix-blend-mode: color-dodge;
  background:
    repeating-linear-gradient(115deg,
      hsla(160, 70%, 70%, .0) 0%,
      hsla(160, 75%, 72%, .55) 4%,
      hsla(190, 80%, 75%, .5) 8%,
      hsla(265, 60%, 78%, .4) 12%,
      hsla(45, 80%, 75%, .4) 16%,
      hsla(160, 70%, 70%, .0) 22%);
  background-size: 260% 260%;
  background-position: var(--mx) var(--my);
  -webkit-mask-image: radial-gradient(70% 60% at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .25) 60%, transparent 100%);
  mask-image: radial-gradient(70% 60% at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, .25) 60%, transparent 100%);
  transition: opacity .6s var(--ease);
}
.holo__glare {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: calc(var(--o) * .9);
  background: radial-gradient(40% 35% at var(--mx) var(--my), rgba(255, 255, 255, .28), transparent 70%);
  mix-blend-mode: soft-light;
  transition: opacity .6s var(--ease);
}

.holo__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 22px 26px;
  transform: translateZ(30px);
}
.holo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.holo__tier { color: var(--mint); }
.holo__tag {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--muted-dark);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  letter-spacing: .08em;
}
.holo__num {
  margin: 18px 0 0 -6px;
  font-size: clamp(6rem, 9vw, 8.5rem);
  font-weight: 200;
  line-height: .85;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(127, 209, 174, .55);
  background: linear-gradient(180deg, rgba(127, 209, 174, .35), rgba(127, 209, 174, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
}
.holo__title {
  margin-top: auto;
  padding-top: 26px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.holo__sub { margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: var(--muted-dark); }
.holo__mods {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  font-size: .875rem;
  line-height: 1.35;
  color: rgba(244, 241, 234, .86);
}
.holo__mods li { display: grid; grid-template-columns: 2.6em 1fr; align-items: baseline; padding: 5px 0; }
.holo__mods b { font-weight: 500; color: var(--mint); font-size: .75rem; letter-spacing: .06em; }
.holo__mods .free { grid-column: 2; justify-self: start; margin-top: 5px; }
.free {
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.holo-hint { margin-top: 28px; font-size: .875rem; color: rgba(244, 241, 234, .6); }
.holo-hint__touch { display: none; }

/* touch / coarse pointers: no tilt, a slow ambient shimmer instead */
@media (hover: none), (pointer: coarse) {
  .holo-hint__fine { display: none; }
  .holo-hint__touch { display: inline; }
  .holo__foil { animation: foil-drift 9s ease-in-out infinite alternate; }
  .holo:nth-child(2n) .holo__foil { animation-delay: -3s; }
  .holo:nth-child(3n) .holo__foil { animation-delay: -6s; }
}
@keyframes foil-drift {
  from { background-position: 0% 20%; -webkit-mask-position: 0 0; }
  to   { background-position: 100% 80%; }
}

@media (max-width: 1100px) {
  .holo-rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 300px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding-bottom: 24px;
    scrollbar-width: none;
  }
  .holo-rail::-webkit-scrollbar { display: none; }
  .holo { scroll-snap-align: start; }
  .holo__card { min-height: 430px; }
}
@media (max-width: 480px) {
  .holo-rail { grid-auto-columns: 78vw; gap: 14px; }
}

/* ---------- learn ---------- */

.learn {
  padding: clamp(96px, 12vw, 180px) 0;
  background: var(--off);
  color: var(--forest);
}
.learn .h2 em { color: var(--mint-ink); }
.learn .lede { color: var(--muted-light); }

.learn__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(48px, 6vw, 80px);
}
.lcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-light), 0 1px 0 rgba(255, 255, 255, .7);
  overflow: hidden;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.lcard::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 209, 174, .45), transparent);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.lcard:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(22, 51, 42, .22), 0 30px 60px -30px rgba(22, 51, 42, .35);
}
.lcard:hover::before { opacity: 1; transform: none; }
.lcard > * { position: relative; }
.lcard--wide {
  grid-row: span 2;
  background: var(--forest);
  color: var(--off);
  box-shadow: 0 30px 60px -30px rgba(22, 51, 42, .5);
}
.lcard--wide::before { opacity: .3; transform: none; inset: auto -45% -55% auto; width: 100%; }
.lcard--wide h3 { font-size: clamp(2rem, 3.2vw, 2.75rem); margin-top: auto; padding-top: 48px; }
.lcard.lcard--wide p:not([class]) { color: rgba(244, 241, 234, .86); font-size: 1.0625rem; }
.lcard--wide .lcard__k { color: var(--mint); }
.lcard--wide .lcard__icon { background: rgba(127, 209, 174, .14); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(127, 209, 174, .35); }
.lcard--wide .lcard__track { color: var(--off); border-color: var(--line-dark); }
.lcard--wide .lcard__track span { background: var(--mint); color: var(--forest); }

.lcard__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--forest);
  color: var(--mint);
}
.lcard__icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lcard__k {
  margin-top: 26px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint-ink);
}
.lcard h3 {
  margin-top: 8px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.lcard p:not([class]) { margin-top: 10px; font-size: 1rem; line-height: 1.55; color: var(--muted-light); }
.lcard__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: auto;
  padding-top: 18px;
  font-size: .875rem;
  font-weight: 400;
  color: var(--forest);
}
.lcard:not(.lcard--wide) .lcard__track { margin-top: 20px; border-top: 1px solid var(--line-light); }
.lcard__track span {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--off);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .learn__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lcard--wide { grid-row: auto; grid-column: 1 / -1; }
  .lcard--wide h3 { padding-top: 28px; }
}
@media (max-width: 640px) {
  .learn__grid { grid-template-columns: 1fr; }
  .lcard { padding: 26px 22px 22px; }
}

/* ---------- method ---------- */

.method {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--forest);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 64px; height: 1px;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}
.step__n { font-size: .875rem; font-weight: 500; letter-spacing: .12em; color: var(--mint); }
.step h3 {
  margin-top: 14px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.step p { margin-top: 12px; color: var(--muted-dark); max-width: 24em; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(56px, 7vw, 96px);
}
.trust li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px;
  border-radius: 16px;
  background: rgba(244, 241, 234, .04);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: .9375rem;
  line-height: 1.45;
  color: rgba(244, 241, 234, .86);
}
.trust svg {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--mint);
  fill: none;
  stroke: var(--forest);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .trust { grid-template-columns: 1fr; }
}

/* ---------- final CTA ---------- */

.final {
  position: relative;
  padding: clamp(120px, 16vw, 220px) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: var(--deep);
}
.final__orb {
  position: absolute;
  z-index: -1;
  left: 50%; top: 50%;
  width: min(900px, 140vw);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(11, 26, 21, 1) 58%, rgba(127, 209, 174, .35) 66%, rgba(127, 209, 174, .08) 76%, transparent 100%);
  animation: breathe 9s var(--ease-io) infinite alternate;
}
.final__orb::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(127, 209, 174, .12), transparent);
}
@keyframes breathe {
  from { transform: translate(-50%, -50%) scale(.94); }
  to   { transform: translate(-50%, -50%) scale(1.04); }
}
.final__in { display: flex; flex-direction: column; align-items: center; }
.final__title {
  margin-top: 18px;
  font-size: clamp(2.75rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.045em;
}
.final .lede { margin-inline: auto; }
.waitlist--center { width: 100%; text-align: left; }
.final .waitlist-success { text-align: left; }

/* ---------- footer ---------- */

.footer {
  padding: 72px 0 36px;
  background: var(--off);
  color: var(--forest);
}
.footer__in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.footer__brand img { width: 124px; height: auto; margin-left: -4px; }
.footer__brand p { margin-top: 14px; max-width: 22em; color: var(--muted-light); }
.footer__label { font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-ink); }
.tiktok {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--off);
  font-weight: 400;
  text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tiktok svg { width: 22px; height: 22px; color: var(--mint); }
.tiktok:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(22, 51, 42, .6); }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 40px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: .875rem;
  color: var(--muted-light);
}
.footer__base p:last-child { max-width: 36em; }

/* ---------- video modal ---------- */

.vmodal {
  width: min(1100px, 92vw, calc((100vh - 140px) * 16 / 9));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--off);
  overflow: visible;
}
.vmodal::backdrop {
  background: rgba(5, 12, 10, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.vmodal[open] { animation: modal-in .6s var(--ease); }
.vmodal[open]::backdrop { animation: fade-in .4s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
.vmodal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.vmodal__title { font-size: 1rem; font-weight: 400; color: var(--muted-dark); }
.vmodal__title b { color: var(--mint); font-weight: 500; margin-right: 6px; }
.vmodal__close {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(244, 241, 234, .1);
  cursor: pointer;
  transition: background-color .3s, transform .5s var(--ease);
}
.vmodal__close:hover { background: var(--off); color: var(--forest); transform: rotate(90deg); }
.vmodal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vmodal__video {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px rgba(127, 209, 174, .25), 0 40px 120px -20px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(127, 209, 174, .6);
}
.vmodal video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
html.modal-open { overflow: hidden; }

/* ---------- scroll reveals ---------- */

.js .rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.js .rv.in { opacity: 1; transform: none; }
.d1 { --d: .06s; } .d2 { --d: .08s; } .d3 { --d: .12s; } .d4 { --d: .16s; } .d5 { --d: .18s; } .d6 { --d: .24s; }
.holo[data-tier="0"] { --hue: 155; }
.holo[data-tier="1"] { --hue: 165; --d: .06s; }
.holo[data-tier="2"] { --hue: 175; --d: .12s; }
.holo[data-tier="3"] { --hue: 190; --d: .18s; }
.holo[data-tier="4"] { --hue: 145; --d: .24s; }
/* holo cards: reveal the wrapper so the inner card keeps its own tilt transform */
.js .holo.rv { transform: translateY(40px) scale(.97); }
.js .holo.rv.in { transform: none; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .rv, .js .holo.rv { opacity: 1; transform: none; }
  .js .hero__title .line > span,
  .js .hero__eyebrow, .js .hero__lede, .js .hero .waitlist, .js .hero__scroll { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .holo__card { transform: none !important; }
  .waitlist-success__mark circle, .waitlist-success__mark path { stroke-dashoffset: 0; }
}
