/* The Skyward Project — black, with navy light. */

:root {
  --bg: #000;
  --bg-2: #05070d;
  --ink: #f3f5fb;
  --mute: rgba(226, 232, 248, 0.62);
  --faint: rgba(226, 232, 248, 0.38);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.028);
  --card-2: rgba(255, 255, 255, 0.05);
  --navy: #0a1a3f;
  --navy-2: #12285f;
  --blue: #3d63ff;
  --blue-2: #7d97ff;
  --blue-3: #c3cfff;
  --gold: #d8c08a;
  --good: #8fe3b4;
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--faint); }
.gold { color: var(--gold); }
.center { text-align: center; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- Loader ---------- */
html:not(.js) .loader { display: none; }
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; align-content: center; gap: 28px;
  background: #000;
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 40% at 50% 48%, rgba(61, 99, 255, .28), transparent 70%);
  opacity: 0; transition: opacity 1.6s ease;
}
.loader__mark { width: min(56vmin, 360px); height: auto; overflow: visible; position: relative; }
.loader__line {
  position: relative; margin: 0; height: 1.4em; overflow: hidden;
  font: 500 11px/1.4 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--faint);
}
.loader__line span { display: block; text-align: center; transition: transform .6s var(--ease); }

/* the parts start hidden; .play sets them in motion */
.l-disc { transform-origin: 986px 986px; transform: scale(.4); opacity: 0; }
.l-ring { stroke-dasharray: 100; stroke-dashoffset: 100; transform-origin: 986px 986px; transform: rotate(-90deg); }
.l-bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.l-star { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0) rotate(-140deg); }
.l-line { stroke-dasharray: 100; stroke-dashoffset: 100; }
.l-arrow { stroke-dasharray: 100; stroke-dashoffset: 100; }
.l-the, .l-word { opacity: 0; transform: translateY(40px); }

.loader.play .loader__glow { opacity: 1; }
.loader.play .l-disc { animation: disc .9s var(--ease) forwards; }
.loader.play .l-ring { animation: draw 1.1s .25s var(--ease) forwards; }
.loader.play .l-bar1 { animation: rise .6s .6s var(--ease) forwards; }
.loader.play .l-bar2 { animation: rise .6s .72s var(--ease) forwards; }
.loader.play .l-bar3 { animation: rise .7s .84s var(--ease) forwards; }
.loader.play .l-line { animation: draw .8s 1.0s cubic-bezier(.6, 0, .2, 1) forwards; }
.loader.play .l-arrow { animation: draw .35s 1.72s var(--ease) forwards; }
.loader.play .l-star { animation: star .8s 1.5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.loader.play .l-the { animation: up .6s 1.75s var(--ease) forwards; }
.loader.play .l-word1 { animation: up .7s 1.85s var(--ease) forwards; }
.loader.play .l-word2 { animation: up .7s 1.98s var(--ease) forwards; }
.loader.play .loader__line span { transform: translateY(-100%); transition-delay: 1.7s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader.done .loader__mark { transform: scale(1.12); filter: blur(6px); transition: transform .9s var(--ease), filter .9s; }

@keyframes disc { to { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { transform: scaleY(1); } }
@keyframes star { to { transform: scale(1) rotate(0); } }
@keyframes up { to { opacity: 1; transform: none; } }

/* ---------- Progress + nav ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--blue-3)); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100vw - 1240px) / 2));
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(0, 0, 0, .55); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 10px; font: 500 15px var(--sans); letter-spacing: -.01em; }
.nav__logo { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2), 0 0 24px rgba(61, 99, 255, .35); }
.nav__pill {
  display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav__pill a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--mute); transition: color .2s, background .2s; }
.nav__pill a:hover { color: var(--ink); }
.nav__pill a.is-active { color: #fff; background: rgba(61, 99, 255, .9); box-shadow: 0 6px 24px rgba(61, 99, 255, .4); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet {
  position: fixed; inset: 0; z-index: 45; padding: 96px 24px 32px;
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(0, 0, 0, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.sheet[hidden] { display: none; }
.sheet a:not(.btn) { font: 400 34px/1.3 var(--serif); padding: 6px 0; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: 24px; justify-content: center; }

/* ---------- Buttons, chips ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 500 15px var(--sans); letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn--light { background: #fff; color: #000; box-shadow: 0 8px 30px rgba(255, 255, 255, .12); }
.btn--light:hover { box-shadow: 0 10px 40px rgba(125, 151, 255, .45); }
.btn--ghost { border-color: var(--line-2); background: rgba(18, 40, 95, .35); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(125, 151, 255, .6); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  font-size: 13.5px; color: var(--mute);
  transition: border-color .2s, color .2s;
}
a.chip:hover { color: var(--ink); border-color: rgba(125, 151, 255, .5); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(143, 227, 180, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(143, 227, 180, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 227, 180, 0); } }

.eyebrow, .meta, .card__tag, .step__no, .scene__k, .day__k, .t-when, .pillar__no {
  font: 500 11.5px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
}
.eyebrow { margin: 0 0 18px; color: var(--blue-2); }
.meta { letter-spacing: .08em; text-transform: none; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 140px 0 72px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(40, 70, 230, .55), transparent 70%),
    radial-gradient(45% 40% at 85% 30%, rgba(18, 40, 95, .8), transparent 70%),
    radial-gradient(40% 40% at 10% 50%, rgba(10, 26, 63, .9), transparent 70%),
    linear-gradient(#020617, #000 85%);
}
.hero__stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%);
  opacity: .55;
}
.hero__rise { position: absolute; left: 0; right: 0; bottom: 8%; width: 100%; height: 60%; z-index: -1; opacity: .8; }
.hero__rise path { stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 6px rgba(125, 151, 255, .8)); }
.is-ready .hero__rise path { animation: draw 2.6s .3s cubic-bezier(.6, 0, .2, 1) forwards; }

.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title {
  margin: 28px 0 0; font: 400 clamp(52px, 9.2vw, 132px)/.95 var(--serif); letter-spacing: -.035em;
}
.hero__title span { display: block; }
.hero__sub { max-width: 600px; margin: 28px auto 0; font: 400 clamp(18px, 2vw, 21px)/1.5 var(--serif); color: var(--mute); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero .meta { margin-top: 22px; }

.js .hero-in { opacity: 0; transform: translateY(24px); filter: blur(8px); }
.is-ready .hero-in { animation: heroIn 1.1s calc(var(--d) * 110ms) var(--ease) forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }

/* console demo */
.console {
  width: min(640px, 100%); margin-top: 64px; text-align: left;
  border-radius: var(--r); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(20, 24, 38, .82), rgba(8, 10, 18, .92));
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 -1px 0 rgba(255, 255, 255, .08) inset;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.console__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.console__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.console__bar em { margin-left: 8px; font: 400 11.5px var(--mono); color: var(--faint); font-style: normal; }
.console__body { padding: 18px; min-height: 290px; }
.msg--user { margin-left: auto; max-width: 86%; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 15px; }
.console__out { margin-top: 14px; font: 400 13px/1.7 var(--mono); color: var(--mute); }
.c-line { display: flex; gap: 10px; align-items: baseline; opacity: 0; transform: translateY(6px); animation: up .45s var(--ease) forwards; }
.c-line b { color: var(--blue-2); font-weight: 500; }
.c-line .c-ok { color: var(--good); }
.c-line .c-gap { color: var(--gold); }
.c-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; align-self: center; }
.c-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--blue); transition: width 1s var(--ease); }
.c-bar.is-gap i { background: var(--gold); }
.c-row { display: grid; grid-template-columns: 9.5em 1fr 3em; gap: 12px; align-items: center; }
.c-row span:last-child { text-align: right; color: var(--ink); }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--blue-2); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { padding: 9px 18px; border: 1px solid var(--line-2); border-radius: 999px; font: 400 18px var(--serif); color: var(--mute); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.head { margin-bottom: clamp(48px, 7vw, 88px); }
.head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
h2 { margin: 0; font: 400 clamp(44px, 6.6vw, 92px)/1 var(--serif); letter-spacing: -.03em; }
h3 { margin: 0; font: 500 clamp(26px, 2.8vw, 34px)/1.12 var(--serif); letter-spacing: -.015em; }
.lede { margin: 22px 0 0; max-width: 520px; font: 400 20px/1.5 var(--serif); color: var(--mute); }

.js .rv { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* mission */
.scrub { margin: 0; max-width: 1060px; font: 400 clamp(30px, 4.4vw, 58px)/1.18 var(--serif); letter-spacing: -.02em; }
.scrub .w { color: rgba(255, 255, 255, .14); transition: color .35s; }
.scrub .w.lit { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(64px, 9vw, 120px); }
.stat { padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.stat strong { display: block; font: 400 clamp(64px, 7vw, 96px)/1 var(--serif); letter-spacing: -.04em; }
.stat > span { display: block; margin-top: 16px; color: var(--mute); font-size: 15px; }
.stat--gap { border-color: rgba(216, 192, 138, .25); background: linear-gradient(180deg, rgba(216, 192, 138, .07), transparent); }
.stat--gap strong { color: var(--gold); }

/* how */
.how { background: linear-gradient(#000, var(--bg-2) 30%, #000); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(72px, 10vw, 140px); }
.step { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.step:nth-child(even) .step__text { order: 2; }
.step__no { color: var(--blue-2); }
.step h3 { margin: 16px 0 14px; font-size: clamp(32px, 3.6vw, 46px); }
.step__text p { margin: 0; color: var(--mute); max-width: 440px; font-size: 16.5px; }
.step .hint, .link { margin-top: 18px; display: inline-block; color: var(--blue-2); font: 500 14px var(--sans); }
.link:hover { color: var(--blue-3); }

.card {
  position: relative; padding: 26px; border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.card::before, .pillar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 99, 255, .14), transparent 60%);
}
.card:hover::before, .pillar:hover::before { opacity: 1; }
.card__tag { margin: 0 0 16px; }

.quiz__q { margin: 0 0 18px; font: 400 22px/1.35 var(--serif); }
.quiz__q b { font-weight: 600; }
.quiz__opts { display: grid; gap: 8px; }
.quiz__opts button {
  display: flex; justify-content: space-between; gap: 12px; text-align: left;
  padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .025);
  font-size: 15px; transition: border-color .2s, background .2s, opacity .3s;
}
.quiz__opts button i { font-style: normal; color: var(--faint); font-family: var(--mono); font-size: 13px; }
.quiz__opts button:hover { border-color: rgba(125, 151, 255, .55); }
.quiz.answered button { pointer-events: none; opacity: .4; }
.quiz.answered button.is-right { opacity: 1; border-color: var(--good); background: rgba(143, 227, 180, .08); }
.quiz.answered button.is-wrong { opacity: 1; border-color: rgba(255, 140, 140, .6); background: rgba(255, 140, 140, .06); }
.quiz__why { margin: 0; min-height: 0; font-size: 14.5px; color: var(--mute); }
.quiz.answered .quiz__why { margin-top: 16px; }
.quiz__why b { color: var(--ink); }

.heat__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.heat__col { display: grid; gap: 3px; grid-template-columns: repeat(4, 1fr); padding: 6px; border-radius: 10px; border: 1px solid transparent; transition: border-color .5s, background .5s; }
.heat__col.is-gap { border-color: rgba(216, 192, 138, .55); background: rgba(216, 192, 138, .06); }
.heat__cell { aspect-ratio: 1; border-radius: 2px; background: rgba(255, 255, 255, .06); transition: background .3s; }
.heat__cell.ok { background: var(--blue); }
.heat__cell.no { background: rgba(255, 255, 255, .1); }
.heat__label { grid-column: 1 / -1; margin-top: 8px; font: 400 10.5px/1.3 var(--mono); color: var(--faint); text-align: center; }
.heat__label b { display: block; font: 500 15px var(--sans); color: var(--ink); }
.heat__col.is-gap .heat__label b { color: var(--gold); }
.heat__foot { margin-top: 18px; min-height: 24px; font: 400 13px var(--mono); color: var(--mute); }
.heat__foot b { color: var(--gold); font-weight: 500; }

.plan__bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; gap: 3px; }
.plan__seg { width: 0; display: flex; align-items: flex-end; padding: 8px; font: 500 12px var(--mono); color: rgba(255, 255, 255, .9); transition: width 1.1s var(--ease); white-space: nowrap; overflow: hidden; }
.plan__key { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.plan__key li { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: center; font-size: 14.5px; color: var(--mute); }
.plan__key li i { width: 10px; height: 10px; border-radius: 3px; }
.plan__key li span:last-child { font: 400 13px var(--mono); color: var(--ink); }
.plan__key li.focus { color: var(--ink); }

/* phone */
.phone {
  justify-self: center; width: min(340px, 100%); padding: 12px; border-radius: 46px;
  background: linear-gradient(160deg, #23283a, #07080d 60%);
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px rgba(0, 0, 0, .7), 0 0 80px rgba(61, 99, 255, .18);
}
.phone__screen { border-radius: 36px; padding: 40px 22px 26px; min-height: 480px; background: radial-gradient(120% 60% at 50% 0%, #142a6b, #050812 70%); }
.phone__tag { margin: 0; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-3); }
.phone__scene { margin: 14px 0 22px; font: 400 21px/1.35 var(--serif); }
.phone__opts { display: grid; gap: 8px; }
.phone__opts button { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); font-size: 14px; transition: background .2s, border-color .2s, opacity .3s; }
.phone__opts button:hover { border-color: rgba(125, 151, 255, .6); }
.phone.answered .phone__opts button { opacity: .35; }
.phone.answered .phone__opts button.is-picked { opacity: 1; border-color: var(--blue-2); background: rgba(61, 99, 255, .2); }
.phone__res { margin: 16px 0 0; font-size: 14.5px; color: var(--mute); }
.phone__res .pill { margin-top: 10px; }

/* ---------- Saath ---------- */
.saath { position: relative; padding: clamp(110px, 15vw, 200px) 0; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.saath__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 45% at 50% 8%, rgba(40, 70, 230, .42), transparent 70%), radial-gradient(40% 40% at 50% 60%, rgba(10, 26, 63, .7), transparent 70%); }
.chip--static { margin: 0 0 28px; }
.saath__title { font-size: clamp(96px, 18vw, 240px); line-height: .85; letter-spacing: -.05em; background: linear-gradient(180deg, #fff 30%, rgba(195, 207, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.saath__line { margin: 26px 0 0; font: 400 clamp(22px, 2.6vw, 32px)/1.3 var(--serif); }

.life { margin-top: clamp(56px, 8vw, 96px); padding: clamp(22px, 4vw, 44px); border-radius: 32px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(18, 40, 95, .35), rgba(5, 7, 13, .7)); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.life__stage { display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; min-height: 300px; }
.avatar { position: relative; width: 100%; max-width: 240px; justify-self: center; }
.avatar svg { width: 100%; height: auto; overflow: visible; }
.av-shadow { fill: rgba(0, 0, 0, .5); }
.av-body { fill: var(--av-cloth, #2c4bd6); transition: fill .6s; }
.av-collar { stroke: rgba(255, 255, 255, .85); }
.av-neck, .av-face { fill: #c98e67; }
.av-hair, .av-hair-back, .av-bun { fill: var(--av-hair, #1b1310); transition: fill .6s; }
.av-eyes { fill: #1b1310; }
.av-smile { stroke: #6a3a25; }
.av-glasses { stroke: #e9ecf5; opacity: 0; transition: opacity .5s; }
.avatar[data-glasses] .av-glasses { opacity: 1; }
.avatar svg { animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.xp { position: absolute; top: 4%; right: -6%; padding: 6px 12px; border-radius: 999px; background: rgba(143, 227, 180, .14); border: 1px solid rgba(143, 227, 180, .4); color: var(--good); font: 500 12px var(--mono); opacity: 0; }
.xp.pop { animation: xp 1.2s var(--ease); }
@keyframes xp { 0% { opacity: 0; transform: translateY(10px); } 25% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }

.life__card { transition: opacity .25s, transform .25s; }
.life__card.swap { opacity: 0; transform: translateY(8px); }
.life__age { margin: 0; display: flex; align-items: baseline; gap: 12px; font: 400 clamp(72px, 9vw, 120px)/.9 var(--serif); letter-spacing: -.04em; }
.life__age small { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.life__card h3 { margin-top: 14px; font-size: clamp(28px, 3.2vw, 40px); }
.life__scene { margin: 12px 0 0; font: 400 19px/1.45 var(--serif); color: var(--mute); max-width: 560px; }
.life__lesson { margin: 22px 0 0; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 12px 16px; border-radius: 14px; background: rgba(61, 99, 255, .12); border: 1px solid rgba(125, 151, 255, .3); }
.life__lesson span { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-3); }
.life__lesson b { font-weight: 500; font-size: 15.5px; }
.life__controls { display: flex; align-items: center; gap: 18px; margin-top: 36px; }
.life__play { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; color: #000; display: grid; place-items: center; }
.life__play svg { width: 18px; height: 18px; fill: currentColor; }
.life__play .i-pause { display: none; }
.life__play.is-playing .i-pause { display: block; }
.life__play.is-playing .i-play { display: none; }
.life__track { position: relative; flex: 1; }
.life__track input { width: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; height: 28px; position: relative; z-index: 2; cursor: pointer; }
.life__track input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue) var(--p, 0%), rgba(255, 255, 255, .12) var(--p, 0%)); }
.life__track input::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
.life__track input::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--blue); }
.life__track input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(61, 99, 255, .35), 0 4px 16px rgba(0, 0, 0, .5); }
.life__track input::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(61, 99, 255, .35); }
.life__ticks { display: flex; justify-content: space-between; margin-top: 4px; padding: 0 9px; font: 400 10.5px var(--mono); color: var(--faint); }
.life__ticks span { width: 0; display: flex; justify-content: center; }
.life__ticks span.on { color: var(--ink); }
.life__hint { margin: 18px 0 0; font-size: 14px; color: var(--faint); }

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.pillar { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
.pillar h3 { margin: 14px 0 10px; font-size: 26px; }
.pillar p { margin: 0 0 22px; color: var(--mute); font-size: 15px; }
.pillar__ui { margin-top: auto; }
.pill { display: inline-block; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: 13px; color: var(--mute); }
.pill em { color: var(--blue-3); font-style: normal; }
.pill b { color: var(--ink); font-weight: 600; }
.pill--good { color: var(--good); border-color: rgba(143, 227, 180, .35); background: rgba(143, 227, 180, .08); font-family: var(--mono); font-size: 12px; }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(64px, 9vw, 110px) 0; border-block: 1px solid var(--line); }
.numbers div { padding: 34px 12px; text-align: center; }
.numbers div + div { border-left: 1px solid var(--line); }
.numbers strong { display: block; font: 400 clamp(48px, 6vw, 80px)/1 var(--serif); letter-spacing: -.03em; }
.numbers span { display: block; margin-top: 10px; font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.center .meta { margin-top: 20px; }

/* ---------- Field notes (scrollytelling) ---------- */
.notes { padding: clamp(110px, 15vw, 200px) 0 0; border-top: 1px solid var(--line); background: linear-gradient(#000, var(--bg-2)); }
.notes .head { margin-bottom: 0; }
.story { position: relative; }
.story__stage { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.story__stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 45% at 60% 50%, rgba(18, 40, 95, .45), transparent 70%); }
.dots { position: absolute; inset: 0; }
.dot { position: absolute; left: 0; top: 0; width: var(--ds, 14px); height: var(--ds, 14px); border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform 1.1s var(--ease), background .6s, box-shadow .6s, opacity .6s; transition-delay: var(--dl, 0s), 0s, 0s, 0s; }
.dot.hi { background: var(--blue); box-shadow: 0 0 14px rgba(61, 99, 255, .7); }
.dot.gap { background: var(--gold); box-shadow: 0 0 14px rgba(216, 192, 138, .6); }
.dot.dim { opacity: .12; }
.bars-labels { position: absolute; inset: 0; pointer-events: none; }
.bl { position: absolute; transform: translateX(-50%); text-align: center; opacity: 0; transition: opacity .6s .4s; white-space: nowrap; }
.bl.top { font: 400 clamp(26px, 3vw, 40px)/1 var(--serif); }
.bl.top.is-gap { color: var(--gold); }
.bl.bot { font: 400 11px/1.5 var(--mono); color: var(--faint); letter-spacing: .06em; }
.bl.bot b { display: block; color: var(--ink); font: 500 13px var(--sans); letter-spacing: 0; }
.story[data-state="3"] .bl { opacity: 1; }
.story__legend { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); margin: 0; font: 400 12px var(--mono); color: var(--faint); white-space: nowrap; }
.story__steps { position: relative; margin-top: -100svh; z-index: 2; pointer-events: none; }
.scene { min-height: 100svh; display: flex; align-items: center; padding: 0 max(16px, calc((100vw - 1180px) / 2)); }
.scene:first-child { min-height: 120svh; }
.scene__card { pointer-events: auto; max-width: 420px; padding: 26px 28px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(3, 5, 12, .72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.scene__k { margin: 0 0 12px; color: var(--blue-2); }
.scene__t { margin: 0; font: 400 clamp(26px, 2.8vw, 34px)/1.2 var(--serif); letter-spacing: -.01em; }
.scene__t b { font-weight: 500; color: var(--blue-3); }
.scene__t b.gold, .scene__s b.gold { color: var(--gold); }
.scene__s { margin: 14px 0 0; color: var(--mute); font-size: 16px; }
.scene__s b { color: var(--ink); }
.scene--end { min-height: 130svh; justify-content: center; }
.scene--end .scene__card { max-width: 760px; text-align: center; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.scene__big { margin: 22px 0 0; font: 400 clamp(44px, 6.4vw, 88px)/1 var(--serif); letter-spacing: -.03em; }

/* ---------- Movement ---------- */
.movement { border-top: 1px solid var(--line); }
.club { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 32px; border: 1px solid var(--line-2); background: radial-gradient(80% 120% at 0% 0%, rgba(40, 70, 230, .28), transparent 60%), var(--card); }
.club__count strong { display: block; font: 400 clamp(96px, 13vw, 180px)/.85 var(--serif); letter-spacing: -.05em; }
.club__count > span { display: block; margin-top: 10px; font: 500 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.club__text p { margin: 14px 0 0; color: var(--mute); max-width: 560px; font-size: 16.5px; }
.allies { margin-top: 56px; text-align: center; }
.allies .eyebrow { color: var(--faint); }
.allies__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.allies__row span { padding: 16px 28px; border-radius: 999px; border: 1px solid var(--line-2); font: 400 clamp(19px, 2vw, 24px) var(--serif); background: rgba(255, 255, 255, .02); }
.timeline { list-style: none; margin: clamp(64px, 9vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--blue), var(--line-2)); }
.timeline li { position: relative; padding: 34px 20px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #000; border: 1px solid var(--blue-2); }
.timeline li.t-now::before { background: var(--blue); box-shadow: 0 0 0 6px rgba(61, 99, 255, .25), 0 0 24px var(--blue); }
.timeline h4 { margin: 10px 0 6px; font: 500 22px/1.2 var(--serif); }
.timeline p { margin: 0; color: var(--mute); font-size: 14.5px; }
.t-when { color: var(--blue-2); }

/* ---------- Team ---------- */
.team { border-top: 1px solid var(--line); }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person { position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); text-align: left; aspect-ratio: 4 / 5; }
.person img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) brightness(.85); transition: transform 1s var(--ease), filter .6s; }
.person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .85)), linear-gradient(180deg, rgba(10, 26, 63, .0), rgba(10, 26, 63, .45)); }
.person:hover img { transform: scale(1.04); filter: grayscale(0) brightness(.95); }
.person__meta { position: absolute; left: 22px; bottom: 20px; z-index: 1; }
.person__meta b { display: block; font: 500 26px/1.1 var(--serif); }
.person__meta i { font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-3); font-style: normal; }
.person__more { position: absolute; right: 18px; bottom: 20px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .4); font-size: 20px; transition: transform .3s var(--ease), background .3s; }
.person:hover .person__more { transform: rotate(90deg); background: var(--blue); }

.bio { width: min(560px, calc(100% - 32px)); max-height: 86svh; padding: 34px; border-radius: 28px; border: 1px solid var(--line-2); background: #07090f; color: var(--ink); box-shadow: 0 40px 120px rgba(0, 0, 0, .8); }
.bio::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.bio[open] { animation: up .45s var(--ease); }
.bio img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.bio h3 { margin-top: 18px; }
.bio__role { margin: 6px 0 0; font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-3); }
.bio__text { margin: 18px 0 0; color: var(--mute); font: 400 18px/1.55 var(--serif); }
.bio__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; font-size: 22px; }

/* ---------- Partner ---------- */
.partner { border-top: 1px solid var(--line); background: radial-gradient(60% 40% at 50% 0%, rgba(18, 40, 95, .35), transparent 70%); }
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.day { padding: 28px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--card); }
.day__k { margin: 0 0 18px; color: var(--blue-2); }
.day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.day li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--mute); font-size: 15.5px; }
.day li i { font: 400 24px/1 var(--serif); color: var(--ink); font-style: normal; }
.day li i::after { content: " min"; font: 400 10.5px var(--mono); color: var(--faint); }
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.offer__col { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); }
.offer__col h4 { margin: 0 0 14px; font: 500 24px var(--serif); }
.offer__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.offer__col li { position: relative; padding-left: 22px; color: var(--mute); font-size: 15px; }
.offer__col li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 1px; background: var(--blue-2); }
.offer__note { margin: 16px 0 0; color: var(--blue-3); font-size: 14px; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; margin-top: 40px; color: var(--mute); font-size: 15px; }
.promises p { margin: 0; }
.promises b { color: var(--ink); font-weight: 600; }

.form { margin-top: clamp(64px, 9vw, 110px); padding: clamp(24px, 4vw, 48px); border-radius: 32px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(18, 40, 95, .32), rgba(5, 7, 13, .6)); display: grid; gap: 16px; }
.form__title { font-size: clamp(32px, 4vw, 48px); margin-bottom: 10px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; }
.form label > span { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.form label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .45); color: var(--ink); font: 400 16px var(--sans);
  transition: border-color .2s, box-shadow .2s;
}
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form select option { background: #07090f; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(61, 99, 255, .2); }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form__status { margin: 0; color: var(--mute); font-size: 15px; }
.form__status.ok { color: var(--good); }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 72px 0 28px; overflow: hidden; }
.foot__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__brand { display: flex; gap: 16px; align-items: center; }
.foot__brand p { margin: 0; font-size: 15px; }
.foot__logo { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 40px rgba(61, 99, 255, .35); }
.foot__links { display: grid; gap: 8px; text-align: right; font-size: 14.5px; color: var(--mute); }
.foot__links a:hover { color: var(--ink); }
.foot__word { margin: 56px 0 0; text-align: center; font: 400 clamp(90px, 22vw, 320px)/1 var(--serif); letter-spacing: -.05em; background: linear-gradient(180deg, rgba(125, 151, 255, .5), rgba(125, 151, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot__base { margin: 18px 0 0; text-align: center; font: 400 12px var(--mono); color: var(--faint); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav__pill, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .step { grid-template-columns: 1fr; }
  .step:nth-child(even) .step__text { order: 0; }
  .stats, .offer, .days, .promises, .people { grid-template-columns: 1fr; }
  .life__stage { grid-template-columns: 1fr; text-align: center; min-height: 0; }
  .life__stage .avatar { max-width: 150px; }
  .life__age { justify-content: center; }
  .life__scene { margin-inline: auto; }
  .club { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .numbers div:nth-child(3) { border-left: 0; }
  .numbers div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .people { max-width: 440px; margin-inline: auto; }
  .foot__links { text-align: left; }
  .scene { align-items: flex-end; padding-bottom: 12svh; }
  .scene__card { max-width: none; width: 100%; }
  .scene--end { align-items: center; padding-bottom: 0; }
}
@media (max-width: 560px) {
  .nav__brand span { display: none; }
  .pillars, .form__row { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .console__body { min-height: 300px; padding: 14px; }
  .c-row { grid-template-columns: 7.6em 1fr 2.6em; gap: 8px; }
  .console__out { font-size: 12px; }
  .heat__grid { gap: 5px; }
  .heat__col { padding: 3px; gap: 2px; }
  .heat__label { font-size: 9px; }
  .heat__label b { font-size: 13px; }
  .card { padding: 20px; }
  .life__controls { gap: 12px; }
  .life__ticks { font-size: 9px; }
  .life__ticks span:nth-child(odd):not(:first-child):not(:last-child) { visibility: hidden; }
  .timeline { grid-template-columns: 1fr; }
  .bl.bot span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
}
