/* Lyceum landing page. Ultramarine, ink and highlighter yellow. No build step. */
:root {
  --blue: #1f36f0;
  --blue-deep: #1426b4;
  --ink: #0a0d24;
  --ink-2: #151a3a;
  --paper: #f2f4fa;
  --white: #fff;
  --yellow: #e9ff4a;
  --coral: #ff5b3a;
  --mint: #2fd08a;
  --sky: #8fd3ff;
  --mute: #5d6585;
  --rule: #dde1ee;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--ink);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.s-paper :focus-visible, .s-yellow :focus-visible, .win :focus-visible { outline-color: var(--blue); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(20px, 4.5vw, 64px); }
section { padding-block: clamp(80px, 11vw, 168px); position: relative; }
.s-blue { background: var(--blue); color: var(--white); }
.s-ink { background: var(--ink); color: var(--white); }
.s-paper { background: var(--paper); color: var(--ink); }
.s-yellow { background: var(--yellow); color: var(--ink); }

.eyebrow { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(36px, 5.6vw, 84px); line-height: .98; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.025em; }
.sec-head { display: grid; gap: 22px; max-width: 980px; margin-bottom: clamp(40px, 6vw, 84px); }
.sec-lede { font-size: clamp(18px, 1.5vw, 21px); max-width: 62ch; opacity: .82; }
.fine { font-size: 14.5px; opacity: .7; }
.hl { background: var(--yellow); color: var(--ink); padding: 0 .14em .04em; margin-inline: -.04em; border-radius: .08em; display: inline-block; transform: rotate(-1.2deg); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── nav ── */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 26px;
  background: rgba(10, 13, 36, .86); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 8px 8px 8px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12);
  max-width: calc(100vw - 24px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 18px/1 var(--display); letter-spacing: .06em; text-decoration: none; }
.brand-mark { width: 13px; height: 13px; border-left: 4px solid var(--yellow); border-bottom: 4px solid var(--yellow); }
.nav nav { display: flex; gap: 22px; }
.nav nav a { font-size: 14.5px; text-decoration: none; opacity: .75; white-space: nowrap; transition: opacity .2s; }
.nav nav a:hover { opacity: 1; }
.nav-cta { background: var(--yellow); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 860px) { .nav nav { display: none; } .nav { justify-content: space-between; width: calc(100vw - 24px); } }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; padding: 16px 26px; border-radius: 999px; text-decoration: none; transition: transform .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ── hero ── */
.hero { padding-top: clamp(110px, 13vw, 170px); padding-bottom: clamp(70px, 9vw, 130px); overflow: hidden; }
.hero-eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: clamp(52px, 10.2vw, 158px); line-height: .9; letter-spacing: -.05em; font-weight: 700; max-width: 12ch; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.lede { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.42; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { margin-top: 44px; display: grid; gap: 0; font-size: 15.5px; }
.hero-facts li { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .22); opacity: .9; }
@media (min-width: 1000px) { .hero .planner { margin-top: clamp(-52px, -3.2vw, -30px); } }
@media (max-width: 999px) { .hero-grid { grid-template-columns: 1fr; } }

/* ── window (mock chrome) ── */
.win { background: var(--white); color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(2, 6, 60, .75), 0 0 0 1px rgba(10, 13, 36, .06); min-width: 0; }
.win-bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--rule); font: 500 12px/1.2 var(--mono); color: var(--mute); }
.dots { display: inline-flex; gap: 5px; flex: none; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #d5d9e8; }
.win-note { margin-left: auto; padding: 4px 8px; border-radius: 6px; background: var(--paper); white-space: nowrap; }
.win-note.ok { background: #dcf7ea; color: #0b6b43; }

/* ── planner ── */
.planner { min-height: 610px; }
.pl-tabs { display: flex; gap: 6px; padding: 14px 18px 0; flex-wrap: wrap; }
.pl-tab { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: var(--paper); color: var(--mute); transition: background .2s, color .2s; }
.pl-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.pl-body { padding: 18px; display: grid; gap: 14px; }
.pl-ask { background: var(--blue); color: #fff; border-radius: 16px; padding: 18px 20px; font: 600 clamp(18px, 1.7vw, 23px)/1.25 var(--display); letter-spacing: -.02em; min-height: 96px; }
.pl-ask .pl-q { display: inline; }
.pl-file { display: inline-flex; font: 500 12px/1 var(--mono); background: rgba(255, 255, 255, .18); padding: 6px 9px; border-radius: 6px; margin-bottom: 10px; letter-spacing: 0; }
.pl-file[hidden] { display: none; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--yellow); margin-left: 3px; vertical-align: -.12em; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pl-iv { display: grid; gap: 8px; }
.iv { display: grid; grid-template-columns: 1fr; gap: 4px; font-size: 14.5px; animation: rise .45s var(--ease) both; }
.iv-q { color: var(--mute); }
.iv-q::before { content: "Tutor  "; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--blue); white-space: pre; }
.iv-a { justify-self: start; background: var(--paper); padding: 6px 12px; border-radius: 10px; font-weight: 500; }
.pl-plan { display: grid; }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0 8px; border-top: 1px solid var(--rule); animation: rise .45s var(--ease) both; }
.plan-head b { font: 700 18px/1.15 var(--display); letter-spacing: -.02em; }
.plan-head span { font: 500 11.5px var(--mono); color: var(--mute); white-space: nowrap; }
.plan-row { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 14.5px; line-height: 1.3; animation: rise .45s var(--ease) both; }
.plan-row i { font: 500 11.5px var(--mono); color: var(--mute); font-style: normal; }
.plan-row em { font: 500 10.5px var(--mono); font-style: normal; color: var(--blue); white-space: nowrap; }
.plan-more { padding: 10px 0 2px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--mute); animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 520px) { .plan-row { grid-template-columns: 22px 1fr; } .plan-row em { display: none; } .planner { min-height: 640px; } }

/* ── why ── */
.why .eyebrow { margin-bottom: clamp(40px, 6vw, 80px); }
.stmt { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding-bottom: clamp(56px, 9vw, 130px); }
.stmt h2 { font-size: clamp(32px, 5vw, 76px); line-height: 1.02; font-weight: 600; }
.fill .w { opacity: .2; transition: opacity .35s; }
.fill .w.lit { opacity: 1; }
.stmt-note { display: grid; gap: 14px; font-size: 16.5px; color: rgba(255, 255, 255, .72); padding-bottom: 8px; border-left: 2px solid var(--yellow); padding-left: 20px; }
@media (max-width: 900px) { .stmt { grid-template-columns: 1fr; } }

.versus { border-top: 1px solid rgba(255, 255, 255, .2); }
.vs-head, .vs-row { display: grid; grid-template-columns: 150px 1fr 1fr; gap: clamp(16px, 3vw, 48px); padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); align-items: baseline; }
.vs-head { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: 16px 0; }
.vs-col-a { opacity: .55; }
.vs-col-b { color: var(--yellow); }
.vs-k { font: 700 clamp(22px, 2.4vw, 34px)/1 var(--display); letter-spacing: -.03em; }
.vs-a { color: rgba(255, 255, 255, .5); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.35; }
.vs-b { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.35; font-weight: 500; }
@media (max-width: 720px) {
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 8px; }
  .vs-a::before { content: "A chat window: "; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 2px; }
  .vs-b::before { content: "A tutor: "; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; display: block; color: var(--yellow); margin: 6px 0 2px; }
}

/* ── taster ── */
.taster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.t-nav { display: grid; border-top: 1.5px solid var(--ink); }
.t-btn { text-align: left; padding: 16px 4px; border-bottom: 1px solid #c9cee0; display: grid; gap: 3px; transition: padding .25s var(--ease), background .2s; }
.t-btn small { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--mute); }
.t-btn span { font: 600 clamp(17px, 1.5vw, 21px)/1.15 var(--display); letter-spacing: -.02em; }
.t-btn:hover { padding-left: 12px; }
.t-btn[aria-selected="true"] { background: var(--blue); color: #fff; padding-left: 16px; padding-right: 16px; border-bottom-color: var(--blue); }
.t-btn[aria-selected="true"] small { color: var(--yellow); }
.t-stage { background: var(--white); border-radius: 22px; padding: clamp(22px, 3.2vw, 48px); box-shadow: 0 30px 60px -40px rgba(10, 13, 36, .35), 0 0 0 1px var(--rule); min-height: 560px; display: grid; gap: 22px; align-content: start; }
.t-field { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.t-title { font: 700 clamp(28px, 3.4vw, 50px)/1 var(--display); letter-spacing: -.035em; }
.t-hook { font-size: clamp(17px, 1.4vw, 20px); max-width: 60ch; }
.t-q { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--rule); animation: rise .5s var(--ease) both; }
.t-q > p:first-child { font: 600 clamp(19px, 1.7vw, 24px)/1.2 var(--display); letter-spacing: -.02em; }
.opts { display: grid; gap: 8px; }
.opt { text-align: left; padding: 13px 16px; border-radius: 12px; border: 1.5px solid #cfd4e4; font-size: 16px; line-height: 1.35; background: #fff; transition: border-color .15s, background .15s, transform .15s; }
.opt:not(:disabled):hover { border-color: var(--blue); transform: translateX(3px); }
.opt:disabled { cursor: default; }
.opt.right { background: #dcf7ea; border-color: var(--mint); }
.opt.wrong { background: #ffe5df; border-color: var(--coral); }
.opt.dim { opacity: .5; }
.t-why { font-size: 16px; background: var(--paper); border-radius: 12px; padding: 14px 16px; animation: rise .5s var(--ease) both; }
.t-why b { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; display: block; margin-bottom: 4px; }
.t-why b.y { color: #0b6b43; }
.t-why b.n { color: #b5300f; }
.t-reveal { font-size: clamp(17px, 1.4vw, 20px); border-left: 3px solid var(--yellow); padding-left: 18px; box-shadow: -3px 0 0 var(--ink); animation: rise .5s var(--ease) both; max-width: 62ch; }
.t-further { background: var(--ink); color: #fff; border-radius: 14px; padding: 18px 20px; display: grid; gap: 6px; animation: rise .5s var(--ease) both; }
.t-further small { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--yellow); }
.t-further a { color: var(--yellow); font-weight: 600; }
@media (max-width: 900px) {
  .taster { grid-template-columns: 1fr; }
  .t-nav { display: flex; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 6px; scroll-snap-type: x proximity; margin-inline: calc(-1 * clamp(20px, 4.5vw, 64px)); padding-inline: clamp(20px, 4.5vw, 64px); }
  .t-btn { flex: none; width: 210px; border: 1.5px solid #c9cee0; border-radius: 14px; padding: 12px 14px !important; scroll-snap-align: start; }
}

/* ── how ── */
.steps { display: grid; gap: clamp(72px, 10vw, 150px); }
.step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.step-copy { display: grid; gap: 16px; position: sticky; top: 110px; }
.step-copy h3 { font-size: clamp(28px, 3.3vw, 48px); line-height: 1; letter-spacing: -.035em; }
.step-copy p { color: rgba(255, 255, 255, .86); max-width: 46ch; }
.step-copy em { font-style: normal; background: rgba(255, 255, 255, .16); padding: 1px 6px; border-radius: 5px; }
.step-n { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; font: 700 20px var(--display); }
@media (max-width: 960px) { .step { grid-template-columns: 1fr; } .step-copy { position: static; } }

.prep-list { padding: 8px 20px; }
.prep-list li { display: grid; grid-template-columns: 26px 130px 1fr; gap: 10px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; color: var(--mute); transition: color .3s; }
.prep-list li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #cfd4e4; transition: all .3s; }
.prep-list li b { font: 600 16px var(--display); color: #a2a8c0; transition: color .3s; }
.prep-list li.doing::before { border-color: var(--blue); border-top-color: transparent; animation: spin .8s linear infinite; }
.prep-list li.doing b { color: var(--ink); }
.prep-list li.done::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.5 9.5l3 3 6-6.5' fill='none' stroke='%23e9ff4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--blue); }
.prep-list li.done b, .prep-list li.done { color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.prep-foot { display: flex; align-items: center; gap: 10px; padding: 14px 20px 18px; font: 500 12.5px var(--mono); color: var(--mute); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.prep.busy .pulse { background: var(--blue); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
@media (max-width: 520px) { .prep-list li { grid-template-columns: 26px 1fr; } .prep-list li span { grid-column: 2; } }

.sky-stage { position: relative; aspect-ratio: 16 / 10.5; background: #2a7bf0; }
.sky-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sky-read { position: absolute; top: 12px; right: 12px; display: grid; gap: 6px; }
.sky-read div { background: rgba(10, 13, 36, .62); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 9px; padding: 6px 10px; display: flex; justify-content: space-between; gap: 14px; font: 500 11.5px var(--mono); }
.sky-read b { color: var(--yellow); font-weight: 500; min-width: 4ch; text-align: right; }
.sky-ctl { display: flex; gap: 14px; align-items: center; padding: 16px 18px 6px; min-height: 92px; }
.round { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transition: transform .2s var(--ease); }
.round:hover { transform: scale(1.08); }
.round svg { width: 20px; height: 20px; fill: var(--yellow); }
.round.dark { background: var(--yellow); }
.round.dark svg { fill: var(--ink); }
.caption { font: 600 clamp(16px, 1.45vw, 19px)/1.3 var(--display); letter-spacing: -.015em; }
.slider-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 6px 18px 20px; font: 500 12px var(--mono); color: var(--mute); }
@media (max-width: 520px) {
  .sky-stage { aspect-ratio: auto; background: var(--ink); }
  .sky-stage canvas { position: static; height: auto; aspect-ratio: 4 / 3.4; }
  .sky-read { position: static; grid-template-columns: 1fr 1fr; padding: 10px; }
  .sky-read div { font-size: 10.5px; padding: 6px 8px; background: rgba(255, 255, 255, .1); gap: 6px; }
}

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #d5d9e8; }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #d5d9e8; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); margin-top: -10px; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); }
.life input[type="range"]::-webkit-slider-runnable-track { background: rgba(255, 255, 255, .22); }
.life input[type="range"]::-moz-range-track { background: rgba(255, 255, 255, .22); }
.life input[type="range"]::-webkit-slider-thumb { border-color: #fff; }

.lab-say { padding: 20px 20px 4px; font: 600 clamp(17px, 1.5vw, 20px)/1.3 var(--display); letter-spacing: -.015em; min-height: 78px; }
.door-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 22px); padding: 12px 20px 8px; perspective: 900px; }
.door { position: relative; aspect-ratio: 3 / 4.2; border-radius: 12px; background: var(--ink); }
.door-in { position: absolute; inset: 0; border-radius: 12px; display: grid; place-items: center; font: 700 clamp(15px, 2vw, 24px) var(--display); letter-spacing: -.02em; color: #8088a8; }
.door.car .door-in { background: var(--yellow); color: var(--ink); }
.door-leaf { position: absolute; inset: 0; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 clamp(34px, 5vw, 64px) var(--display); transform-origin: left center; transition: transform .6s var(--ease), box-shadow .2s, background .2s; z-index: 1; box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .16); }
.door-leaf::after { content: ""; position: absolute; right: 12%; top: 52%; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.door:not(:disabled):hover .door-leaf { background: #3a50ff; }
.door.picked .door-leaf { box-shadow: inset 0 0 0 5px var(--yellow); }
.door.open .door-leaf { transform: rotateY(-78deg); }
.door:disabled { cursor: default; }
.lab-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px; }
.chip-btn { padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; transition: opacity .2s, transform .2s; }
.chip-btn.alt { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px #cfd4e4; }
.chip-btn:disabled { opacity: .3; cursor: default; }
.chip-btn:not(:disabled):hover { transform: translateY(-2px); }
.tally { padding: 8px 20px 22px; display: grid; gap: 10px; }
.tally-row { display: grid; grid-template-columns: 78px 1fr minmax(150px, auto); gap: 12px; align-items: center; font-size: 14px; }
.tally-row b { font: 500 12px var(--mono); color: var(--mute); text-align: right; }
.bar { height: 12px; border-radius: 6px; background: var(--paper); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 6px; transition: width .9s var(--ease); }
#d-bar-st { background: var(--coral); }
@media (max-width: 520px) { .tally-row { grid-template-columns: 70px 1fr; } .tally-row b { grid-column: 1 / -1; text-align: left; } }

.check { padding-bottom: 6px; }
.ck-tag { padding: 20px 22px 0; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--blue); }
.ck-q { padding: 10px 22px 16px; font: 600 clamp(19px, 1.8vw, 25px)/1.25 var(--display); letter-spacing: -.02em; }
.ck-opts { display: grid; gap: 8px; padding: 0 22px; }
.ck-conf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 22px 4px; font-size: 14px; color: var(--mute); }
.conf { padding: 7px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #cfd4e4; font-size: 14px; font-weight: 500; color: var(--ink); }
.conf[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.ck-fb { margin: 14px 22px 0; }
.ck-foot { padding: 14px 22px 16px; font-size: 13px; color: var(--mute); }

.rec-list { padding: 6px 20px 0; }
.rec-list li { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 13px 0 13px 18px; border-bottom: 1px solid var(--rule); font-size: 14.5px; align-items: baseline; position: relative; }
.rec-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: #cfd4e4; }
.rec-list li.good::before { background: var(--mint); }
.rec-list li.bad::before { background: var(--coral); }
.rec-list li.pending::before { background: none; box-shadow: inset 0 0 0 2px var(--blue); animation: pulse 1.2s infinite; }
.rec-when { font: 500 12px var(--mono); color: var(--mute); }
.rec-res { font: 500 12px var(--mono); text-align: right; }
.good .rec-res { color: #0b6b43; }
.bad .rec-res { color: #b5300f; }
.pending .rec-res { color: var(--blue); }
.rec-sched { padding: 16px 20px 4px; display: grid; gap: 10px; }
.rec-sched-label { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--mute); }
.rec-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.rec-dots i { font: 500 12px var(--mono); font-style: normal; min-width: 40px; text-align: center; padding: 7px 8px; border-radius: 8px; background: var(--paper); color: var(--mute); transition: all .4s var(--ease); }
.rec-dots i.past { background: #dfe4f5; color: var(--ink); }
.rec-dots i.next { background: var(--blue); color: var(--yellow); transform: scale(1.12); }
.tutor-note { margin: 16px 20px 20px; background: var(--ink); color: #fff; border-radius: 16px; padding: 18px 20px; display: grid; gap: 6px; }
.tn-who { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--yellow); }
.tutor-note p { font: 500 clamp(16px, 1.4vw, 18.5px)/1.4 var(--body); }
.tutor-note.flash { animation: flash .9s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 var(--yellow); } 100% { box-shadow: 0 0 0 16px rgba(233, 255, 74, 0); } }
@media (max-width: 520px) { .rec-list li { grid-template-columns: 62px 1fr; } .rec-res { grid-column: 2; text-align: left; } }

/* ── life / map ── */
.map { border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; background: radial-gradient(120% 90% at 50% 0%, #161d52 0%, var(--ink) 70%); overflow: hidden; }
.map-top { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 44px); align-items: center; padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.6vw, 34px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.map-year { display: grid; }
.map-year span { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.map-year b { font: 700 clamp(54px, 6.4vw, 96px)/.85 var(--display); letter-spacing: -.05em; color: var(--yellow); min-width: 1.3em; font-variant-numeric: tabular-nums; }
.map-cap { font: 500 clamp(16px, 1.55vw, 21px)/1.35 var(--display); letter-spacing: -.01em; max-width: 52ch; min-height: 3.9em; display: flex; align-items: center; }
.map-stats { display: flex; gap: 22px; }
.map-stats dt { font: 500 10.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; opacity: .55; max-width: 12ch; }
.map-stats dd { font: 700 30px/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.map-canvas { position: relative; }
#map-svg { display: block; width: 100%; height: auto; }
#map-svg .node { opacity: 0; transform: scale(.2); transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--ease), transform .7s var(--ease); cursor: pointer; }
#map-svg .node.on { opacity: 1; transform: none; }
#map-svg .node.new { animation: ping 1.2s var(--ease); }
#map-svg .edge { stroke-opacity: 0; transition: stroke-opacity .8s; }
#map-svg .edge.on { stroke-opacity: .34; }
#map-svg .cross { stroke: #fff; stroke-dasharray: 3 7; stroke-opacity: 0; transition: stroke-opacity 1.2s; }
#map-svg .cross.on { stroke-opacity: .6; }
#map-svg .lab { font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .8s; }
#map-svg .lab.on { opacity: .9; }
#map-svg.tall .lab { font-size: 21px; }
@keyframes ping { 0% { filter: drop-shadow(0 0 0 #fff); } 30% { filter: drop-shadow(0 0 14px #fff); } 100% { filter: drop-shadow(0 0 0 transparent); } }
.map-tip { position: absolute; pointer-events: none; background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 12px; font-size: 13.5px; line-height: 1.3; transform: translate(-50%, calc(-100% - 14px)); white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); z-index: 2; }
.map-tip b { display: block; font: 700 15px var(--display); }
.map-tip span { color: var(--mute); font: 500 11px var(--mono); }
.map-ctl { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px clamp(18px, 2.6vw, 34px) 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.map-end { font: 500 12px var(--mono); opacity: .6; }
@media (max-width: 820px) {
  .map-top { grid-template-columns: auto 1fr; }
  .map-stats { grid-column: 1 / -1; justify-content: space-between; }
  .map-cap { min-height: 5.6em; }
}
.life-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 90px); }
.life-notes > div { border-top: 2px solid var(--yellow); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.life-notes p { color: rgba(255, 255, 255, .72); font-size: 16.5px; }
@media (max-width: 820px) { .life-notes { grid-template-columns: 1fr; } }

/* ── who ── */
.ways { border-top: 1.5px solid var(--ink); }
.way { display: grid; grid-template-columns: 170px minmax(0, 7fr) minmax(0, 5fr); gap: clamp(18px, 3vw, 56px); padding: clamp(28px, 4vw, 56px) 0; border-bottom: 1px solid #c9cee0; align-items: start; }
.way-k { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--blue); padding-top: 10px; }
.way blockquote { font: 600 clamp(26px, 3.5vw, 52px)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.way-do { display: grid; gap: 12px; font-size: 16.5px; padding-top: 8px; }
.way-meta { font: 500 12px/1.5 var(--mono); color: var(--mute); }
@media (max-width: 900px) { .way { grid-template-columns: 1fr; gap: 14px; } .way-k { padding-top: 0; } }

/* ── beliefs ── */
.creed { counter-reset: c; border-top: 2px solid var(--ink); }
.creed li { counter-increment: c; display: grid; grid-template-columns: 110px minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 3vw, 56px); padding: clamp(24px, 3.4vw, 46px) 0; border-bottom: 2px solid var(--ink); align-items: baseline; }
.creed li::before { content: "0" counter(c); font: 700 clamp(30px, 4vw, 60px)/1 var(--display); letter-spacing: -.04em; }
.creed h3 { font-size: clamp(26px, 3.6vw, 54px); line-height: 1; letter-spacing: -.04em; }
.creed p { font-size: 17px; max-width: 44ch; }
@media (max-width: 900px) { .creed li { grid-template-columns: 54px 1fr; } .creed p { grid-column: 2; } }

/* ── access ── */
.access h2 { font-size: clamp(44px, 8.4vw, 132px); line-height: .92; letter-spacing: -.05em; margin: 22px 0 clamp(36px, 5vw, 64px); max-width: 11ch; }
.access-form { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; gap: 12px; align-items: end; max-width: 1040px; }
.access-form label { display: grid; gap: 8px; }
.access-form label span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .07em; opacity: .75; }
.access-form input { background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 14px; padding: 16px 18px; color: #fff; font-size: 17px; width: 100%; min-width: 0; }
.access-form input::placeholder { color: rgba(255, 255, 255, .5); }
.access-form input:focus { outline: none; border-color: var(--yellow); background: rgba(255, 255, 255, .18); }
.access-form .btn { justify-content: center; border-radius: 14px; }
.form-msg { grid-column: 1 / -1; min-height: 1.5em; font-size: 15.5px; color: var(--yellow); }
.access-fine { margin-top: 10px; font-size: 14.5px; opacity: .75; }
@media (max-width: 860px) { .access-form { grid-template-columns: 1fr; } }

/* ── footer ── */
.foot { background: var(--ink); color: #fff; padding: 34px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; font-size: 14.5px; }
.foot-in p { opacity: .6; }
.foot-co { margin-left: auto; font-family: var(--mono); font-size: 12.5px; }

/* ── the claim under the hero and above the form ── */
.hero-claim { margin-top: clamp(48px, 7vw, 100px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid rgba(255, 255, 255, .28); font: 500 clamp(22px, 2.9vw, 42px)/1.16 var(--display); letter-spacing: -.025em; max-width: 30ch; color: rgba(255, 255, 255, .62); max-width: 1100px; text-wrap: balance; }
.hero-claim b { color: #fff; font-weight: 600; }
.access h2 { margin-bottom: 24px; }
.access-lede { font: 500 clamp(19px, 1.9vw, 27px)/1.3 var(--display); letter-spacing: -.015em; max-width: 34ch; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }

/* ── a life by age: school, then the years after ── */
.stmt-life { padding-bottom: clamp(32px, 4vw, 56px); }
.lifebar { margin-bottom: clamp(72px, 10vw, 150px); border: 1px solid rgba(255, 255, 255, .16); border-radius: 26px; padding: clamp(18px, 2.6vw, 36px); background: radial-gradient(120% 120% at 0% 0%, #161d52 0%, transparent 60%); }
.lb-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: clamp(20px, 3vw, 36px); }
.lb-title { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.lb-toggle { display: inline-flex; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 4px; }
.lb-toggle button { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .75); transition: background .25s, color .25s; }
.lb-toggle button[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.lb-track { position: relative; height: clamp(84px, 11vw, 140px); }
.lb-school, .lb-after { position: absolute; top: 0; bottom: 0; border-radius: 12px; overflow: hidden; }
.lb-school { left: 6.25%; width: 21.25%; background: #fff; color: var(--ink); display: flex; align-items: flex-end; padding: 10px 12px; font: 600 clamp(12px, 1.3vw, 16px)/1.1 var(--display); }
.lb-after { left: 28%; right: 0; border: 1.5px dashed rgba(255, 255, 255, .35); transition: border-color .6s; }
.lb-empty, .lb-full { position: absolute; left: 14px; bottom: 10px; font: 600 clamp(12px, 1.3vw, 16px)/1.1 var(--display); transition: opacity .5s; z-index: 1; }
.lb-empty { color: rgba(255, 255, 255, .5); }
.lb-full { color: var(--ink); opacity: 0; background: var(--yellow); padding: 4px 8px; border-radius: 6px; left: 8px; bottom: 8px; }
.lb-after i { position: absolute; top: 0; bottom: 0; background: var(--yellow); border-radius: 5px; transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease); }
.lb-after i.spot { background: var(--sky); }
.lifebar.tutor .lb-after { border-color: transparent; }
.lifebar.tutor .lb-after i { transform: scaleY(1); }
.lifebar.tutor .lb-after i.spot { transform: scaleY(.45); }
.lifebar.tutor .lb-empty { opacity: 0; }
.lifebar.tutor .lb-full { opacity: 1; transition-delay: .9s; }
.lb-axis { display: flex; justify-content: space-between; margin-top: 10px; font: 500 11.5px var(--mono); opacity: .55; }
.lb-cap { margin-top: clamp(16px, 2vw, 26px); font: 500 clamp(17px, 1.6vw, 22px)/1.35 var(--display); letter-spacing: -.01em; max-width: 60ch; min-height: 2.7em; }
@media (max-width: 620px) { .lb-axis span:nth-child(even) { visibility: hidden; } .lb-cap { min-height: 5.4em; } .lb-school span { font-size: 11px; } }

/* ── figures and the thread through "how it works" ── */
.fig { margin: 0; min-width: 0; display: grid; gap: 14px; }
.fig figcaption { font: 500 12px/1.5 var(--mono); color: rgba(255, 255, 255, .7); padding-left: 4px; }
.steps { position: relative; }
.thread { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .18); pointer-events: none; }
.thread-fill { position: absolute; inset: 0; background: var(--yellow); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 14px rgba(233, 255, 74, .8); will-change: transform; }
.thread-node { position: absolute; left: -6px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); transition: background .3s, box-shadow .3s; }
.thread-node::after { content: ""; position: absolute; left: 14px; top: 6px; height: 2px; width: var(--tick, 30px); background: rgba(255, 255, 255, .18); transition: background .3s, box-shadow .3s; }
.thread-node.lit { background: var(--yellow); box-shadow: 0 0 0 5px rgba(233, 255, 74, .25), 0 0 18px rgba(233, 255, 74, .9); }
.thread-node.lit::after { background: var(--yellow); box-shadow: 0 0 10px rgba(233, 255, 74, .8); }
@media (max-width: 960px) { .thread { display: none !important; } }

/* ── docked question bar ── */
.ask { position: fixed; left: 50%; bottom: 16px; z-index: 40; width: min(620px, calc(100vw - 24px)); background: #fff; color: var(--ink); border-radius: 20px; padding: 8px; display: grid; gap: 8px; box-shadow: 0 24px 60px -18px rgba(2, 6, 60, .6), 0 0 0 1px rgba(10, 13, 36, .1); transform: translate(-50%, 140%); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .3s, visibility 0s .5s; }
.ask[hidden] { display: none; }
.ask.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s; }
.ask :focus-visible { outline-color: var(--blue); }
.ask-row { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: center; }
.ask input { border: 0; background: var(--paper); border-radius: 13px; padding: 13px 16px; font-size: 16.5px; min-width: 0; width: 100%; }
.ask input:focus { outline: 2px solid var(--blue); }
.ask-go { width: 46px; height: 46px; border-radius: 13px; background: var(--blue); color: var(--yellow); display: grid; place-items: center; }
.ask-go svg { width: 22px; height: 22px; }
.ask-x { width: 34px; height: 46px; font-size: 22px; color: var(--mute); border-radius: 10px; }
.ask { width: min(480px, calc(100vw - 24px)); }
.ask-chips { display: none; gap: 6px; flex-wrap: wrap; padding: 0 2px 2px; }
.ask:focus-within .ask-chips { display: flex; }
.ask-chips button { font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #cfd4e4; transition: background .15s; }
.ask-chips button:hover { background: var(--paper); }
@media (max-width: 620px) { .ask:focus-within .ask-chips { display: none; } }

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .fill .w { opacity: 1; }
  .caret { display: none; }
}

/* ── any subject: the presentation player ── */
.range-ask { font: 600 clamp(24px, 3.1vw, 44px)/1.14 var(--display); letter-spacing: -.03em; color: var(--yellow); max-width: 24ch; text-wrap: balance; }
.fig-wide { margin: 0; }
.fig-wide figcaption { font: 500 12px/1.5 var(--mono); opacity: .62; margin-top: 16px; max-width: 80ch; }
.stage { box-shadow: 0 60px 120px -50px rgba(31, 54, 240, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.st-screen { position: relative; background: var(--ink); color: #fff; aspect-ratio: 16 / 8.6; container-type: inline-size; overflow: hidden; }
.st-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 0%, rgba(31, 54, 240, .55), transparent 60%), radial-gradient(80% 70% at 0% 100%, rgba(31, 54, 240, .3), transparent 60%); }
.st-scene { position: absolute; inset: 0; padding: 4.2cqw 5cqw; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; display: flex; flex-direction: column; }
.st-scene.on { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.st-scene [data-at] { opacity: 0; transform: translateY(1cqw); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.st-scene [data-at].on { opacity: 1; transform: none; }

.s1-meta, .s2-head, .s3-head { font: 500 max(11px, 1.15cqw)/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--sky); }
.s1-line { font: 700 5.3cqw/1.08 var(--display); letter-spacing: -.035em; margin-top: 2.4cqw; max-width: 21ch; text-wrap: balance; }
.s1-line .wd { display: inline-block; transform: translateY(.3em); }
.s1-line mark { background: none; color: inherit; opacity: 1 !important; transform: none !important; border-radius: .12em; padding: 0 .08em; margin: 0 -.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background .5s var(--ease), color .5s var(--ease); }
.s1-line mark.m-a.on { background: var(--yellow); color: var(--ink); }
.s1-line mark.m-b.on { background: var(--sky); color: var(--ink); }
.s1-line mark.m-c.on { background: var(--coral); color: var(--ink); }
.s1-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: auto; }
.s1-notes li { font-size: max(12px, 1.45cqw); line-height: 1.35; padding-top: 1.1cqw; border-top: 3px solid; color: rgba(255, 255, 255, .86); }
.s1-notes b { display: block; font: 700 max(13px, 1.75cqw)/1.15 var(--display); letter-spacing: -.02em; margin-bottom: .4cqw; color: #fff; }
.s1-notes .n-a { border-color: var(--yellow); } .s1-notes .n-b { border-color: var(--sky); } .s1-notes .n-c { border-color: var(--coral); }
.s1-next { margin-top: 2cqw; font: 500 max(12px, 1.5cqw)/1.35 var(--body); font-style: italic; color: rgba(255, 255, 255, .8); }
.s1-next span { font: 500 max(10px, 1.05cqw) var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--coral); margin-right: 1.2cqw; }

.s2-rows { display: grid; gap: 2.3cqw; margin-top: 3cqw; }
.worth { display: grid; grid-template-columns: 22cqw 1fr 16cqw; gap: 1.6cqw; align-items: center; }
.w-name { font: 700 max(13px, 2.1cqw)/1.1 var(--display); letter-spacing: -.02em; }
.w-val { font: 700 max(13px, 2.1cqw)/1 var(--display); letter-spacing: -.02em; text-align: right; color: var(--yellow); white-space: nowrap; }
.w-bar { position: relative; height: 4.4cqw; min-height: 20px; display: flex; align-items: center; }
.w-bar i { display: block; height: 100%; width: var(--w); min-width: 4px; background: var(--yellow); border-radius: .5cqw; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.worth.on .w-bar i { transform: scaleX(1); }
.w-bar em { font: 500 max(10.5px, 1.2cqw)/1.25 var(--mono); font-style: normal; margin-left: 1.2cqw; color: rgba(255, 255, 255, .8); flex: 1; min-width: 0; }
.worth.entail .w-bar i { background: repeating-linear-gradient(-45deg, var(--coral) 0 6px, rgba(255, 91, 58, .35) 6px 12px); }
.worth.entail .w-val { color: var(--coral); }
.worth.lizzy .w-bar i { background: #fff; border-radius: 2px; }
.worth.lizzy .w-bar em { color: #fff; }
.worth.lizzy .w-val { color: #fff; }
.worth.none .w-bar em { margin-left: 0; }
.worth.none .w-val { color: rgba(255, 255, 255, .5); }
.s2-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: auto; }
.s2-foot li { font-size: max(12px, 1.45cqw); line-height: 1.35; padding-top: 1.1cqw; border-top: 1px solid rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .9); }
.s2-foot b { display: block; font: 500 max(10px, 1.05cqw) var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--sky); margin-bottom: .5cqw; }

.s3-top { display: grid; grid-template-columns: 1fr minmax(0, 38cqw); gap: 3cqw; align-items: start; min-height: 11.5cqw; }
.s3-head small { display: block; margin-top: .7cqw; text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, .55); }
.s3-card { background: var(--coral); color: var(--ink); border-radius: 1.2cqw; padding: 1.3cqw 1.6cqw; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease), background .4s; }
.s3-card.on { opacity: 1; transform: none; }
.s3-card.good { background: var(--yellow); }
.s3-card span { font: 500 max(10px, 1.05cqw) var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.s3-card b { display: block; font: 700 max(15px, 2.2cqw)/1.1 var(--display); letter-spacing: -.025em; margin: .3cqw 0 .4cqw; }
.s3-card p { font-size: max(12px, 1.4cqw); line-height: 1.3; }
.s3-plot { flex: 1; min-height: 0; margin-top: 1.2cqw; position: relative; }
.s3-plot svg { position: absolute; inset: 0; display: block; overflow: visible; }
.c-grid { stroke: rgba(255, 255, 255, .09); }
.c-zero { stroke: rgba(255, 255, 255, .35); stroke-dasharray: 3 6; }
.c-tick, .c-end, .c-ev text { font: 500 11px var(--mono); fill: rgba(255, 255, 255, .5); }
.c-end { fill: rgba(255, 255, 255, .7); }
.c-ghost { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 2; }
.c-line { fill: none; stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.c-head { fill: #fff; transition: opacity .3s; }
.c-ev { opacity: 0; transition: opacity .35s; }
.c-ev.on { opacity: 1; }
.c-ev circle { fill: var(--ink); stroke: var(--yellow); stroke-width: 3; transition: fill .3s; }
.c-ev.now circle { fill: var(--yellow); }
.c-ev text { fill: #fff; }

.st-ctl { display: flex; gap: 14px; align-items: center; padding: 16px 20px 4px; min-height: 86px; }
.st-track { padding: 4px 20px 18px; display: grid; gap: 10px; }
.st-track input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--blue) var(--p, 0%), #d5d9e8 var(--p, 0%)); }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chips button { font: 600 13.5px/1 var(--body); padding: 8px 13px; border-radius: 999px; background: var(--paper); color: var(--mute); transition: background .2s, color .2s; }
.st-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 700px) {
  .st-screen { aspect-ratio: 4 / 6; }
  .stage .win-note { display: none; }
  .st-scene { padding: 6cqw 5.5cqw; }
  .s1-line { font-size: 8.2cqw; margin-top: 4cqw; }
  .s1-notes, .s2-foot { grid-template-columns: 1fr; gap: 2.4cqw; }
  .s1-notes li, .s2-foot li { padding-top: 1.6cqw; }
  .s1-next { margin-top: 3cqw; }
  .s2-rows { gap: 3cqw; margin-top: 5cqw; }
  .worth { grid-template-columns: 1fr auto; gap: 1cqw 3cqw; }
  .w-bar { grid-column: 1 / -1; grid-row: 2; height: 5cqw; }
  .s3-top { grid-template-columns: 1fr; min-height: 44cqw; align-content: start; }
  .s3-card { border-radius: 3cqw; padding: 3cqw 3.6cqw; }
}
@media (max-width: 380px) { .st-screen { aspect-ratio: 4 / 6.9; } }

/* ── any subject: plan, sparring, wall ── */
.range-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 7vw, 96px); align-items: start; }
.pc-body { padding: 8px 20px 16px; }
.pc-body .plan-head { border-top: 0; }
.pc-body .plan-head, .pc-body .plan-row { animation: none; }
.spar-body { padding: 22px 20px 20px; display: grid; gap: 16px; }
.spar-q { font: 700 clamp(21px, 2.1vw, 28px)/1.15 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.spar-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.spar-opts button[aria-pressed="true"] { background: var(--blue); }
.spar .tutor-note { margin: 0; min-height: 150px; align-content: start; }
@media (max-width: 860px) { .range-grid { grid-template-columns: 1fr; } }

.wall { margin-top: clamp(56px, 8vw, 110px); display: grid; gap: 12px; }
.wall-k { font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .72; margin-bottom: 14px; }
.wall-row { overflow: hidden; margin-inline: calc(-1 * clamp(20px, 4.5vw, 64px)); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.wall-track { display: flex; gap: 12px; width: max-content; animation: wall 70s linear infinite; padding-right: 12px; }
.wall-row.rev .wall-track { animation-direction: reverse; }
@keyframes wall { to { transform: translateX(-50%); } }
.wall-q { display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap; padding: 14px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font: 600 clamp(17px, 1.7vw, 23px)/1 var(--display); letter-spacing: -.02em; }
.wall-q small { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--yellow); }
.wall-row:nth-child(3) .wall-q small { color: var(--sky); }
.wall-row:nth-child(4) .wall-q small { color: var(--coral); }
.wall-row:nth-child(5) .wall-q small { color: var(--mint); }

/* ── any level ── */
.lv { background: #fff; border-radius: 28px; padding: clamp(16px, 2.4vw, 32px); box-shadow: 0 40px 80px -50px rgba(10, 13, 36, .5), 0 0 0 1px rgba(10, 13, 36, .06); display: grid; gap: clamp(16px, 2vw, 26px); }
.lv-q span { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--blue); }
.lv-q p { font: 700 clamp(28px, 4vw, 56px)/1 var(--display); letter-spacing: -.035em; margin-top: 8px; }
.lv-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lv-tab { text-align: left; padding: 14px 16px; border-radius: 16px; background: var(--paper); display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; transition: background .2s, color .2s, transform .2s var(--ease); }
.lv-tab:hover { transform: translateY(-2px); }
.lv-tab i { grid-row: 1 / 3; font: 700 30px/1 var(--display); font-style: normal; color: var(--blue); }
.lv-tab span { font: 700 16.5px/1.15 var(--display); letter-spacing: -.02em; }
.lv-tab small { font: 500 11px/1.2 var(--mono); color: var(--mute); }
.lv-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.lv-tab[aria-selected="true"] i { color: var(--yellow); }
.lv-tab[aria-selected="true"] small { color: rgba(255, 255, 255, .6); }
.lv-main { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(16px, 2.4vw, 36px); align-items: stretch; }
.lv-stage { position: relative; border-radius: 20px; overflow: hidden; background: var(--ink); aspect-ratio: 16 / 11; width: 100%; align-self: start; }
.lv-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lv-tag { position: absolute; left: 16px; top: 14px; right: 16px; font: 500 12px/1.35 var(--mono); color: rgba(255, 255, 255, .78); }
.lv-copy { display: grid; gap: 16px; align-content: start; padding-block: 6px; }
.lv-for { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--mute); }
.lv-say { font: 500 clamp(18px, 1.55vw, 22px)/1.42 var(--body); min-height: 9.5em; }
.lv[data-level="1"] .lv-say { font: 600 clamp(21px, 1.95vw, 28px)/1.25 var(--display); letter-spacing: -.02em; }
.lv-terms { display: flex; flex-wrap: wrap; gap: 6px; }
.lv-terms li { font: 500 13px/1.2 var(--mono); padding: 8px 11px; border-radius: 8px; background: var(--paper); }
.lv-check { border-top: 1px solid var(--rule); padding-top: 14px; }
.lv-check span { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .07em; color: var(--blue); }
.lv-check p { margin-top: 6px; font-size: 16px; line-height: 1.4; }
.lv-fine { margin-top: 20px; }
@media (max-width: 900px) {
  .lv-main { grid-template-columns: 1fr; }
  .lv-tabs { grid-template-columns: repeat(2, 1fr); }
  .lv-say { min-height: 0; }
  .lv-stage { aspect-ratio: 1 / 1; }
}

.sky-read i { width: 34px; height: 14px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); align-self: center; }

@media (prefers-reduced-motion: reduce) {
  .st-scene, .st-scene [data-at], .w-bar i, .s3-card, .c-ev { transition: none !important; }
  .wall-track { animation: none; flex-wrap: wrap; width: auto; }
  .wall-row { -webkit-mask-image: none; mask-image: none; margin-inline: 0; }
  .wall-q { white-space: normal; }
}

/* ── tour ── */
.tour { height: 800vh; position: relative; }
.tour-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.tour-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tour-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10,13,36,.82) 0, rgba(10,13,36,.5) 24%, rgba(10,13,36,0) 46%), linear-gradient(0deg, rgba(10,13,36,.55) 0, rgba(10,13,36,0) 22%); }
.tour-copy { position: absolute; z-index: 2; left: clamp(20px, 4.5vw, 64px); bottom: clamp(56px, 10vh, 120px); width: min(430px, 34vw); }
.tour-ch { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; transform: translateY(18px); transition: opacity .16s ease, transform .16s ease; pointer-events: none; }
.tour-ch.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .4s ease .18s, transform .4s ease .18s; }
.tour-ch .eyebrow { color: var(--yellow); opacity: 1; margin-bottom: 18px; }
.tour-ch h2 { font-size: clamp(30px, 3.5vw, 54px); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
.tour-ch p:last-child { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; opacity: .86; }
.tour-dots { position: absolute; z-index: 2; right: clamp(14px, 2.4vw, 34px); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.tour-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.28); transition: background .3s, transform .3s; }
.tour-dots i.on { background: var(--yellow); transform: scale(1.5); }
.tour-note { position: absolute; z-index: 2; right: clamp(20px, 4.5vw, 64px); top: 92px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .04em; opacity: .55; max-width: 46ch; text-align: right; }
@media (max-width: 759px), (max-aspect-ratio: 20/23) {
  .tour-stage::after { background: linear-gradient(0deg, rgba(10,13,36,1) 0, rgba(10,13,36,1) 42%, rgba(10,13,36,0) 56%); }
  .tour-stage canvas { height: 58%; }
  .tour-copy { left: 20px; right: 20px; width: auto; bottom: 118px; }
  .tour-ch h2 { font-size: clamp(27px, 7.6vw, 38px); margin-bottom: 12px; }
  .tour-ch .eyebrow { margin-bottom: 12px; }
  .tour-ch p:last-child { font-size: 15.5px; }
  .tour-dots { right: 10px; top: 31%; }
  .tour-note { left: 20px; right: 20px; text-align: left; bottom: auto; top: calc(58% - 34px); font-size: 10px; opacity: .7; }
}
.tour-static { height: auto; }
.tour-static .tour-stage { position: static; height: auto; overflow: visible; padding: clamp(48px, 8vw, 110px) clamp(20px, 4.5vw, 64px); }
.tour-static .tour-stage::after, .tour-static canvas, .tour-static .tour-dots { display: none; }
.tour-static .tour-copy { position: static; width: auto; max-width: 980px; margin: 0 auto; display: grid; gap: clamp(48px, 7vw, 96px); }
.tour-static .tour-ch { position: static; opacity: 1; transform: none; }
.tour-static .tour-ch img { width: 100%; height: auto; border-radius: 14px; margin-bottom: 26px; display: block; }
.tour-static .tour-note { position: static; text-align: left; margin: 40px auto 0; max-width: 980px; }

.foot-credit { flex-basis: 100%; font: 400 11.5px/1.4 var(--mono); opacity: .55; margin-top: 6px; }
.foot-credit a { color: inherit; }

/* ── hero stage (video) ── */
.hero { padding-top: 0; }
.hero-stage { position: relative; min-height: clamp(620px, 100svh, 1040px); display: flex; align-items: center; background: #1b1512; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; z-index: -2; }
.hero-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,13,36,.86) 0, rgba(10,13,36,.62) 30%, rgba(10,13,36,.12) 56%, rgba(10,13,36,0) 70%), linear-gradient(180deg, rgba(10,13,36,.5) 0, rgba(10,13,36,0) 22%, rgba(10,13,36,0) 82%, rgba(10,13,36,.45) 100%); }
.hero-top { width: 100%; padding-top: 96px; padding-bottom: 56px; }
.hero-stage h1 { font-size: clamp(50px, 7.4vw, 124px); max-width: 8.5ch; text-shadow: 0 2px 30px rgba(10,13,36,.35); }
.hero-stage .lede { max-width: 31ch; margin-top: clamp(22px, 2.4vw, 36px); text-shadow: 0 1px 18px rgba(10,13,36,.5); }
.hero-stage .cta-row { margin-top: clamp(24px, 2.6vw, 38px); }
.hero-note { position: absolute; right: clamp(20px, 4.5vw, 64px); bottom: 16px; font: 500 11px/1.3 var(--mono); letter-spacing: .04em; color: #fff; opacity: .6; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero-below { padding-top: clamp(40px, 5vw, 72px); }
.hero-below .hero-grid { margin-top: 0; }
.hero-below .hero-facts { margin-top: 0; }
@media (min-width: 1000px) { .hero .planner { margin-top: 0; } }
@media (max-width: 759px) {
  .hero-stage { flex-direction: column; align-items: stretch; min-height: 0; background: var(--ink); }
  .hero-stage::before { display: none; }
  .hero-video { position: relative; inset: auto; order: 2; width: 100%; height: auto; aspect-ratio: 5 / 4; object-position: 66% 60%; z-index: 0; margin-top: 30px; }
  .hero-top { padding-top: 92px; padding-bottom: 0; }
  .hero-stage .lede { max-width: none; font-size: 16.5px; }
  .hero-note { left: 20px; right: 20px; bottom: 10px; }
}
