/* ==========================================================================
   UniRely × Projectling · Cracking Top 50 College Admissions · Mumbai
   ========================================================================== */

:root {
  --plum: #3f3250;
  --plum-deep: #33283f;
  --plum-ink: #221a2c;
  --lav: #efe9f7;
  --lav-2: #c9bddc;
  --lav-3: #8f7fab;
  --paper: #f8f5fc;
  --paper-2: #f1ecf8;
  --lime: #a5d765;
  --lime-deep: #4f7a1f;
  --lime-soft: #e8f5d6;
  --ink: #0e0e10;
  --white: #ffffff;
  --coral: #ef554d; /* UniRely link accent */
  --orange: #f47b20; /* Projectling accent, used sparingly */
  --muted: #5d5170;
  --line: rgba(59, 42, 85, 0.16);

  --f-display: "Castoro", "Times New Roman", serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --f-hand: "Caveat", "Bradley Hand", cursive;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 18px;
  --gutter: clamp(18px, 4vw, 56px);
  --maxw: 1320px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--plum-ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 18px; } }

img, svg, video, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--plum-ink); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 999; padding: 10px 16px;
  background: var(--plum); color: #fff; border-radius: 10px; transform: translateY(-200%);
}
.skip:focus { transform: none; }
:focus-visible { outline: 2.5px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* paper grain over everything */
.grain {
  pointer-events: none; position: fixed; inset: -50%; z-index: 90; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } 100% { transform: translate(0, 0); }
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0;
}
.display em, .it {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--plum);
}
.hand { font-family: var(--f-hand); font-weight: 600; color: var(--lime-deep); line-height: 1.05; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow b { color: var(--lime-deep); font-weight: 800; }
.eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: 0.4; }
.h2 { font-size: clamp(40px, 6.4vw, 96px); }
.h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); max-width: 60ch; }

.mark {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 90%, transparent 90%);
  padding: 0 0.08em;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--plum); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font-weight: 700; font-size: 16px; letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.3s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 10px 30px -12px rgba(36, 22, 56, 0.6);
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--lime); transform: translateY(101%); transition: transform 0.5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--plum-ink); }
.btn .arr { transition: transform 0.4s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px) rotate(-8deg); }
.btn--ghost { --bg: transparent; --fg: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }
.btn--lime { --bg: var(--lime); --fg: var(--plum-ink); }
.btn--lime::before { background: var(--plum); }
.btn--lime:hover { color: #fff; }
.btn--sm { padding: 11px 18px; font-size: 14px; }

/* ---------- custom cursor ---------- */
.cursor, .cursor-dot, .cursor-label { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 1000; }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; color: var(--plum);
  display: grid; place-items: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), margin 0.35s var(--ease-out),
    background 0.3s, color 0.3s, opacity 0.3s;
}
.cursor__globe { width: 100%; height: 100%; overflow: visible; transition: opacity 0.2s; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--lime-deep); transition: opacity 0.2s; }
.cursor-label {
  margin: 18px 0 0 18px; padding: 6px 11px; border-radius: 999px; white-space: nowrap;
  background: var(--plum-ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0; transform: scale(0.6); transform-origin: 0 0; transition: opacity 0.25s, transform 0.35s var(--ease-out);
}
body.c-hover .cursor { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(165, 215, 101, 0.4); color: var(--plum-ink); }
body.c-hover .cursor-dot { opacity: 0; }
body.c-label .cursor-label { opacity: 1; transform: scale(1); }
body.c-text .cursor { width: 4px; height: 34px; margin: -17px 0 0 -2px; border-radius: 2px; background: var(--plum); }
body.c-text .cursor__globe { opacity: 0; }
body.c-hide .cursor, body.c-hide .cursor-dot { opacity: 0; }
body.c-dark .cursor { color: var(--lime); }
body.c-dark .cursor-dot { background: var(--lime); }
#trail { position: fixed; inset: 0; pointer-events: none; z-index: 999; }
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot, .cursor-label, #trail { display: none !important; }
}
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label, body.has-cursor [data-cursor] { cursor: none; }
  body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: text; }
}

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  background: var(--plum-ink); color: #fff;
}
.loader__inner { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 20px; }
.loader svg { width: min(360px, 80vw); height: auto; overflow: visible; }
.loader__count { font-family: var(--f-display); font-size: clamp(56px, 10vw, 120px); line-height: 1; font-weight: 400; letter-spacing: -0.04em; }
.loader__count small { font-family: var(--f-hand); color: var(--lime); font-size: 0.4em; margin-left: 8px; }
.loader__line { font-family: var(--f-hand); font-size: 26px; color: var(--lav-2); }
body.is-loading { overflow: hidden; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 80; transform: translateX(-50%);
  width: min(calc(100% - 24px), 1240px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(248, 245, 252, 0.72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line), 0 12px 40px -24px rgba(36, 22, 56, 0.45);
  transition: transform 0.6s var(--ease-out), background 0.3s;
}
.nav.is-hidden { transform: translate(-50%, -140%); }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__brand img { height: 26px; width: auto; }
.nav__brand .x { font-family: var(--f-display); font-style: italic; color: var(--lime-deep); font-size: 20px; }
.nav__links { display: none; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: 9px 13px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--plum-ink); background: var(--lav); }
@media (min-width: 1080px) { .nav__links { display: flex; } }
@media (max-width: 520px) {
  .nav__brand img { height: 20px; }
  .nav .btn--sm { padding: 10px 14px; font-size: 13px; }
}

/* ---------- scroll progress / chapter rail ---------- */
.rail {
  position: fixed; left: 22px; top: 50%; z-index: 70; transform: translateY(-50%);
  display: none; flex-direction: column; align-items: center; gap: 0; height: 52vh;
}
@media (min-width: 1200px) { .rail { display: flex; } }
.rail__track { position: relative; width: 2px; flex: 1; background-image: linear-gradient(var(--lav-2) 50%, transparent 50%); background-size: 2px 10px; }
.rail__fill { position: absolute; left: 0; top: 0; width: 2px; height: 0; background: var(--plum); }
.rail__plane { position: absolute; left: 50%; top: 0; width: 26px; height: 26px; transform: translate(-50%, -50%) rotate(90deg); color: var(--lime-deep); }
.rail__num { font-family: var(--f-hand); font-size: 22px; color: var(--plum); margin-top: 10px; min-width: 2ch; text-align: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; padding: 120px 0 40px; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 30px; } }
.hero__copy { position: relative; z-index: 3; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--plum);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.chip--dark { background: var(--plum); color: #fff; box-shadow: none; }
.hero h1 { font-size: clamp(46px, 6.4vw, 100px); color: var(--plum-ink); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .t50 { position: relative; display: inline-block; color: var(--plum); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.hero h1 .t50 svg { position: absolute; left: -10%; top: -14%; width: 120%; height: 128%; overflow: visible; pointer-events: none; }
.hero__sub { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 22px 0 10px; }
.hero__sub .hand { font-size: clamp(30px, 3.4vw, 46px); color: var(--lime-deep); transform: rotate(-2deg); display: inline-block; }
.hero__lede { margin: 6px 0 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { margin-top: 22px; font-size: 14.5px; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.hero__note svg { width: 34px; flex: none; color: var(--lime-deep); }

.hero__visual { position: relative; z-index: 2; aspect-ratio: 4 / 4.4; width: 100%; max-width: 640px; justify-self: center; }
.reveal-window {
  position: absolute; inset: 0 0 12% 0; border-radius: 26px 26px 200px 200px / 26px 26px 120px 120px;
  overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(36, 22, 56, 0.5);
}
.reveal-window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal-window .photo { --x: 50%; --y: 45%; --r: 0px;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 60%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 60%, transparent 100%);
}
.reveal-window .sketch { background: #fbf9fe; }
.reveal-hint {
  position: absolute; top: 18px; left: 18px; z-index: 3; font-family: var(--f-hand); font-size: 22px; color: var(--plum);
  background: rgba(255, 255, 255, 0.85); padding: 4px 12px; border-radius: 10px; transform: rotate(-3deg);
}
.founders { position: absolute; inset: auto 0 0 0; height: 78%; display: flex; justify-content: center; align-items: flex-end; pointer-events: none; }
.founders img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(36, 22, 56, 0.35)); will-change: transform; }
.founders .f-vishesh { margin-right: -10%; height: 97%; }
.founders .f-vansh { margin-left: -10%; }
.tag-note { position: absolute; z-index: 4; font-family: var(--f-hand); font-size: clamp(20px, 2vw, 27px); line-height: 1; color: var(--plum-ink); pointer-events: none; }
.tag-note span { display: inline-block; background: var(--lime); padding: 6px 12px; border-radius: 4px; box-shadow: 3px 3px 0 var(--plum-ink); }
.tag-note svg { width: 70px; height: 50px; color: var(--plum); }
.tag-note--l { left: -4%; bottom: 34%; transform: rotate(-5deg); }
.tag-note--r { right: -3%; bottom: 46%; transform: rotate(4deg); text-align: right; }
@media (max-width: 640px) { .tag-note { font-size: 18px; } .tag-note--l { left: 0; } .tag-note--r { right: 0; } .tag-note svg { width: 44px; } }

.hero__doodles .dd { position: absolute; color: var(--plum); pointer-events: none; z-index: 1; opacity: 0.9; }
@media (max-width: 999px), (max-height: 960px) { .hero__scroll { display: none !important; } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--muted);
}
.hero__scroll i { width: 1.5px; height: 40px; background: linear-gradient(var(--plum), transparent); animation: drip 1.8s var(--ease-io) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* marquee band */
.band { position: relative; z-index: 3; background: var(--plum); color: #fff; padding: 18px 0; transform: rotate(-1.4deg); margin: -10px -20px 0; overflow: hidden; }
.band--lime { background: var(--lime); color: var(--plum-ink); transform: rotate(1.2deg); margin-top: -26px; z-index: 2; }
.marquee { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 400; }
.marquee span em { font-style: italic; color: var(--lime); }
.band--lime .marquee span em { color: var(--plum); }
.marquee svg { width: 26px; height: 26px; flex: none; }

/* ==========================================================================
   SECTIONS / CHAPTERS
   ========================================================================== */
.chapter { position: relative; padding: clamp(90px, 13vw, 180px) 0; }
.chapter__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.chapter__no { font-family: var(--f-hand); font-size: 26px; color: var(--lime-deep); transform: rotate(-3deg); display: inline-block; }
.dark { background: var(--plum-ink); color: #fff; }
.dark .display em, .dark .it { color: var(--lime); }
.dark .lede, .dark .eyebrow { color: var(--lav-2); }
.dark .eyebrow b { color: var(--lime); }

/* 01 · the question */
.question { padding-bottom: clamp(70px, 10vw, 140px); }
.question__text { font-size: clamp(34px, 5.6vw, 84px); line-height: 1.06; max-width: 15.5ch; }
.question__text .w { opacity: 0.14; transition: none; }
.question__text .w.is-teacher { position: relative; }
.question__aside { display: grid; gap: 30px; margin-top: 60px; }
@media (min-width: 900px) { .question__aside { grid-template-columns: repeat(3, 1fr); } }
.insight { border-top: 1.5px solid var(--plum); padding-top: 18px; }
.insight h4 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 400; font-size: 24px; }
.insight p { margin: 0; color: var(--muted); font-size: 16px; }
.insight .hand { font-size: 22px; display: block; margin-bottom: 6px; }
.question__doodle { position: absolute; right: var(--gutter); top: 18%; width: clamp(140px, 18vw, 260px); color: var(--plum); opacity: 0.95; }

/* 02 · speakers */
.speakers__grid { display: grid; gap: clamp(50px, 6vw, 90px); }
@media (min-width: 960px) { .speakers__grid { grid-template-columns: 1fr 1fr; } }
.speaker { position: relative; display: grid; gap: 26px; }
.polaroid {
  position: relative; background: #fff; padding: 14px 14px 88px; border-radius: 4px; width: min(420px, 88%);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(36, 22, 56, 0.55);
  transform-style: preserve-3d; will-change: transform;
}
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 15%; background: var(--lav); filter: saturate(0.92) contrast(1.03); }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--f-hand); font-size: 30px; color: var(--plum-ink); line-height: 1; }
.polaroid figcaption small { display: block; font-size: 20px; color: var(--lime-deep); }
.tape { position: absolute; top: -16px; left: 50%; width: 120px; height: 34px; transform: translateX(-50%) rotate(-3deg); background: rgba(201, 189, 220, 0.75); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }
.speaker:nth-child(2) .polaroid { justify-self: end; }
.speaker__body h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 4vw, 58px); line-height: 1; margin: 0 0 6px; letter-spacing: -0.02em; }
.speaker__role { font-weight: 700; color: var(--muted); margin: 0 0 22px; }
.admit-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.admit-list li { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14.5px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.admit-list li.declined { text-decoration: line-through; text-decoration-color: var(--plum); text-decoration-thickness: 2px; color: var(--muted); }
.admit-list li.chose { background: var(--plum); color: #fff; box-shadow: none; }
.admit-list li.chose::after { content: " ✓"; color: var(--lime); }
.speaker__quote { font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; margin: 0; max-width: 28ch; }
.speaker__quote b { font-style: normal; background: var(--lime-soft); padding: 0 4px; font-weight: 400; }
.speaker__hook { position: absolute; top: -10px; right: 0; font-family: var(--f-hand); font-size: 28px; color: var(--plum); transform: rotate(6deg); max-width: 10ch; text-align: center; line-height: 1; }
.speaker:nth-child(2) .speaker__hook { right: auto; left: 0; transform: rotate(-6deg); }
.speakers__foot { margin-top: 80px; text-align: center; }
.speakers__foot .display { font-size: clamp(40px, 6vw, 90px); }

/* 03 · myths */
.myths__grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .myths__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .myths__grid { grid-template-columns: repeat(3, 1fr); } }
.myth { position: relative; aspect-ratio: 1 / 0.82; border-radius: var(--radius); overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.myth__reality {
  position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--lime); color: var(--plum-ink);
}
.myth__reality .tag, .myth__cover-text .tag { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.myth__reality p { font-family: var(--f-display); font-size: clamp(26px, 2.3vw, 34px); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
.myth__reality small { font-size: 14.5px; font-weight: 600; line-height: 1.4; opacity: 0.85; }
.myth canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.myth.is-done canvas { opacity: 0; transition: opacity 0.6s; pointer-events: none; }
.myth__cover-text { position: absolute; inset: 0; z-index: 3; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; pointer-events: none; transition: opacity 0.4s; }
.myth__cover-text p { font-family: var(--f-display); font-size: clamp(26px, 2.3vw, 34px); line-height: 1.08; margin: 0; text-decoration: line-through; text-decoration-color: transparent; transition: text-decoration-color 0.4s; }
.myth__cover-text .hint { font-family: var(--f-hand); font-size: 22px; color: var(--lime); display: flex; align-items: center; gap: 8px; }
.myth.is-scratching .myth__cover-text, .myth.is-done .myth__cover-text { opacity: 0; }
.myths__note { margin-top: 26px; font-family: var(--f-hand); font-size: 24px; color: var(--lav-2); text-align: center; }

/* 04 · rank vs fit */
.fit { position: relative; }
.fit__stage { position: relative; height: clamp(520px, 70vh, 720px); border-radius: 28px; overflow: hidden; --split: 50%; box-shadow: 0 0 0 1px var(--line); user-select: none; touch-action: pan-y; }
.fit__side { position: absolute; inset: 0; display: grid; align-content: center; padding: clamp(24px, 5vw, 70px); }
.fit__rank { background: var(--plum-ink); color: #fff; }
.fit__fit { background: var(--lime); color: var(--plum-ink); clip-path: inset(0 0 0 var(--split)); }
.fit__side .inner { max-width: min(520px, 44%); }
@media (max-width: 700px) { .fit__side .inner { max-width: 47%; } .fit__side h3 { font-size: 30px; } .fit__side ul { font-size: 13.5px; } }
.fit__fit .inner { margin-left: auto; text-align: right; }
.fit__side .tag { font-size: 12.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.75; }
.fit__side h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6vw, 88px); line-height: 0.95; margin: 12px 0 18px; letter-spacing: -0.03em; }
.fit__side h3 em { font-style: italic; }
.fit__side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-weight: 600; }
.fit__fit ul { justify-items: end; }
.fit__side li::before { content: "— "; opacity: 0.6; }
.fit__handle { position: absolute; top: 0; bottom: 0; left: var(--split); width: 0; z-index: 3; }
.fit__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; }
.fit__knob {
  position: absolute; top: 50%; left: 0; width: 74px; height: 74px; transform: translate(-50%, -50%); border-radius: 50%;
  background: #fff; color: var(--plum-ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); font-family: var(--f-hand); font-size: 20px; line-height: 0.9; text-align: center;
}
.fit__caption { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 900px) { .fit__caption { grid-template-columns: 1fr 1fr; align-items: end; } }
.fit__caption .display { font-size: clamp(30px, 3.4vw, 50px); }

/* 05 · formula */
.formula__grid { display: grid; gap: 50px; align-items: center; }
@media (min-width: 1000px) { .formula__grid { grid-template-columns: 1.1fr 0.9fr; } }
.building { position: relative; width: 100%; max-width: 640px; margin: 0 auto; }
.building svg { width: 100%; height: auto; overflow: visible; }
.building .lbl { font-family: var(--f-body); font-size: 15px; font-weight: 700; fill: var(--plum-ink); }
.building .lbl-sm { font-family: var(--f-body); font-size: 12px; font-weight: 600; fill: var(--muted); }
.building .lbl-k { font-family: var(--f-body); font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; fill: var(--lime-deep); }
.building .lbl-hand { font-family: var(--f-hand); font-size: 22px; fill: var(--plum); }
.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: layer; }
.layers li { position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--line); transition: opacity 0.4s; }
.layers li::before { counter-increment: layer; content: counter(layer, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--f-hand); font-size: 26px; color: var(--lime-deep); line-height: 1; }
.layers li h4 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 400; font-size: 22px; }
.layers li p { margin: 0; color: var(--muted); font-size: 15.5px; }
.layers li.is-dim { opacity: 0.35; }
.formula__unirely { margin-top: clamp(70px, 9vw, 120px); display: grid; gap: 20px; }
@media (min-width: 900px) { .formula__unirely { grid-template-columns: repeat(4, 1fr); } }
.u-card { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform 0.5s var(--ease-out), box-shadow 0.5s; }
.u-card:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 0 0 1.5px var(--plum), 0 30px 50px -30px rgba(36, 22, 56, 0.5); }
.u-card svg { width: 54px; height: 54px; color: var(--plum); margin-bottom: 16px; }
.u-card h4 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 400; font-size: 23px; line-height: 1.1; }
.u-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.u-card .n { position: absolute; top: 20px; right: 22px; font-family: var(--f-hand); font-size: 24px; color: var(--lime-deep); }

/* 06 · roadmap (horizontal) */
.road { position: relative; background: var(--paper-2); overflow: hidden; }
.road__pin { position: relative; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.road__head { padding-top: 90px; }
.road__track { position: relative; display: flex; align-items: center; gap: 0; width: max-content; padding: 0 var(--gutter); will-change: transform; }
.road__path { position: absolute; left: 0; top: 0; height: 100%; pointer-events: none; overflow: visible; }
.stop { position: relative; width: clamp(300px, 30vw, 420px); flex: none; padding: 0 30px; height: 60vh; max-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.stop:nth-child(even) .stop__card { margin-top: 160px; }
.stop:nth-child(odd) .stop__card { margin-bottom: 160px; }
.stop__card { position: relative; background: #fff; border-radius: var(--radius); padding: 24px 24px 22px; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -30px rgba(36, 22, 56, 0.45); }
.stop__grade { font-family: var(--f-display); font-weight: 400; font-size: 54px; line-height: 0.9; letter-spacing: -0.03em; color: var(--plum); display: flex; align-items: baseline; gap: 10px; }
.stop__grade small { font-family: var(--f-hand); font-size: 24px; color: var(--lime-deep); letter-spacing: 0; }
.stop__card h4 { margin: 10px 0 6px; font-size: 18px; }
.stop__card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.stop__card li { margin: 3px 0; }
.stop__icon { position: absolute; top: -34px; right: 18px; width: 64px; height: 64px; color: var(--plum); background: var(--paper-2); border-radius: 50%; padding: 8px; }
.stop--goal .stop__card { background: var(--plum); color: #fff; }
.stop--goal .stop__grade { color: var(--lime); }
.stop--goal .stop__card ul { color: var(--lav-2); }
.stop--goal .stop__icon { background: var(--lime); color: var(--plum-ink); }
.road__plane { position: absolute; width: 46px; height: 46px; color: var(--plum); z-index: 3; offset-rotate: auto; pointer-events: none; }
.road__hint { position: absolute; right: var(--gutter); bottom: 30px; font-family: var(--f-hand); font-size: 24px; color: var(--plum); display: flex; align-items: center; gap: 8px; }
@media (max-width: 899px) {
  .road__pin { height: auto; padding: 0 0 90px; }
  .road__track { flex-direction: column; width: 100%; gap: 40px; padding: 30px var(--gutter) 0; transform: none !important; }
  .stop { width: 100%; height: auto; padding: 0; }
  .stop:nth-child(n) .stop__card { margin: 0; }
  .road__path, .road__plane, .road__hint { display: none; }
}

/* 07 · proof */
.bars { display: grid; gap: 30px; }
@media (min-width: 900px) { .bars { grid-template-columns: repeat(3, 1fr); } }
.bar-card { border-bottom: 2px solid var(--plum); padding-bottom: 16px; }
.bar-card .chart { display: flex; align-items: flex-end; gap: 18px; height: 280px; }
.bar { position: relative; width: 84px; height: var(--h); display: flex; flex-direction: column; justify-content: flex-end; }
.bar svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bar .v { position: absolute; bottom: calc(100% + 6px); left: 0; font-family: var(--f-display); font-weight: 400; font-size: 44px; line-height: 1; letter-spacing: -0.03em; color: var(--plum); }
.bar .v small { display: block; font-family: var(--f-body); font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime-deep); margin-top: 4px; }
.bar--avg .v { color: var(--lav-3); }
.bar--avg .v small { color: var(--lav-3); }
.bar-card h4 { margin: 14px 0 2px; font-family: var(--f-display); font-weight: 400; font-size: 22px; }
.bar-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: 80px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); }
.stat b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: -0.04em; color: var(--plum); }
.stat > span { font-weight: 600; color: var(--muted); font-size: 15px; }

.wall { position: relative; margin-top: clamp(80px, 10vw, 140px); display: grid; gap: 40px; }
@media (min-width: 1000px) { .wall { grid-template-columns: 0.9fr 1.1fr; align-items: center; } }
.desk { position: relative; height: clamp(440px, 52vw, 620px); border-radius: 28px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; touch-action: pan-y; }
.desk__item { position: absolute; background: #fff; padding: 10px 10px 46px; border-radius: 3px; box-shadow: 0 18px 40px -18px rgba(36, 22, 56, 0.55); will-change: transform; touch-action: none; }
.desk__item img { width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.desk__item figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; font-family: var(--f-hand); font-size: 21px; line-height: 1; text-align: center; color: var(--plum-ink); }
.desk__item figcaption small { display: block; font-size: 16px; color: var(--lime-deep); }
.desk__item.is-dragging { box-shadow: 0 40px 60px -20px rgba(36, 22, 56, 0.6); }
.desk__hint { position: absolute; left: 20px; bottom: 16px; font-family: var(--f-hand); font-size: 22px; color: var(--plum); pointer-events: none; }
.wins { list-style: none; margin: 0; padding: 0; }
.wins li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.wins li b { font-family: var(--f-display); font-weight: 400; font-size: 21px; }
.wins li b small { font-family: var(--f-body); font-weight: 400; font-size: 13px; color: var(--muted); margin-left: 6px; }
.pill { display: inline-block; padding: 5px 10px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: var(--plum); color: #fff; }
.pill--lime { background: var(--lime); color: var(--plum-ink); }
.pill--line { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 1.5px var(--plum); }

.unis { margin-top: clamp(80px, 10vw, 130px); }
.unis .marquee span { font-size: clamp(30px, 4vw, 58px); color: var(--plum-ink); font-weight: 400; }
.unis .marquee span em { color: var(--plum); }
.unis .marquee svg { color: var(--lime-deep); }
.unis__row + .unis__row { margin-top: 12px; }

/* 08 · two doors */
.doors { display: grid; gap: 20px; }
@media (min-width: 900px) { .doors { grid-template-columns: 1fr 1fr; } }
.door { position: relative; border-radius: 28px; padding: clamp(30px, 4vw, 52px); min-height: 460px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; transition: transform 0.6s var(--ease-out); }
.door--start { background: #fff; box-shadow: 0 0 0 1px var(--line); }
.door--mid { background: var(--plum); color: #fff; }
.door .tag { font-size: 12.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime-deep); }
.door--mid .tag { color: var(--lime); }
.door h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -0.025em; margin: 12px 0 14px; }
.door h3 em { font-style: italic; }
.door p { margin: 0; color: var(--muted); max-width: 46ch; }
.door--mid p { color: var(--lav-2); }
.door ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.door li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.door li svg { width: 22px; height: 22px; flex: none; color: var(--lime-deep); margin-top: 2px; }
.door--mid li svg { color: var(--lime); }
.door__art { position: absolute; right: -36px; top: -36px; width: 150px; color: var(--lav-2); opacity: 0.45; pointer-events: none; z-index: 0; }
.door > * { position: relative; z-index: 1; }
.door > .door__art { position: absolute; }
.door--mid .door__art { color: var(--plum-deep); opacity: 1; }

/* 09 · takeaways */
.take { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--plum); }
.take li { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 6px 20px; padding: 26px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
@media (min-width: 900px) { .take li { grid-template-columns: 90px 1fr 1fr; align-items: baseline; } }
.take .n { font-family: var(--f-hand); font-size: 30px; color: var(--lime-deep); line-height: 1; }
.take h4 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.06; letter-spacing: -0.015em; }
.take p { margin: 0; color: var(--muted); grid-column: 2; }
@media (min-width: 900px) { .take p { grid-column: 3; } }
.take li::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--ease-out); z-index: -1; }
.take li:hover::after { transform: scaleY(1); }
.take li { isolation: isolate; }
.take li:hover p { color: var(--plum-ink); }
.take li.is-star { background: var(--plum); color: #fff; padding-left: 20px; padding-right: 20px; border-radius: 16px; border: 0; margin-top: 10px; }
.take li.is-star p { color: var(--lav-2); }
.take li.is-star .n { color: var(--lime); }
.take li.is-star:hover p { color: var(--plum-ink); }
.take li.is-star:hover { color: var(--plum-ink); }

/* 10 · the day / tickets */
.tickets { display: grid; gap: 24px; }
@media (min-width: 960px) { .tickets { grid-template-columns: 1fr 1fr; } }
.ticket {
  position: relative; display: grid; grid-template-columns: 1fr; border-radius: 22px; background: #fff; color: var(--plum-ink);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.6); transform-style: preserve-3d; will-change: transform; overflow: hidden;
}
@media (min-width: 560px) { .ticket { grid-template-columns: 1fr 150px; } }
.ticket__main { padding: 28px 28px 26px; display: grid; gap: 16px; }
.ticket__logo { height: 64px; display: flex; align-items: center; }
.ticket__logo img { height: 100%; width: auto; }
.ticket h3 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -0.02em; }
.ticket dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; margin: 0; }
.ticket dt { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ticket dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; }
.ticket__stub {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px;
  background: var(--lime); border-top: 2px dashed rgba(36, 22, 56, 0.35); text-align: center;
}
@media (min-width: 560px) { .ticket__stub { border-top: 0; border-left: 2px dashed rgba(36, 22, 56, 0.35); } }
.ticket__stub .big { font-family: var(--f-display); font-size: 58px; line-height: 0.9; font-weight: 400; letter-spacing: -0.04em; }
.ticket__stub .small { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.ticket::before, .ticket::after { content: ""; position: absolute; width: 30px; height: 30px; border-radius: 50%; background: var(--plum-ink); z-index: 2; }
.ticket::before { right: 135px; top: -15px; }
.ticket::after { right: 135px; bottom: -15px; }
@media (max-width: 559px) { .ticket::before { right: auto; left: -15px; top: auto; bottom: 120px; } .ticket::after { right: -15px; bottom: 120px; } }
.ticket--club .ticket__stub { background: var(--lav-2); }
.ticket .btn { justify-self: start; }

.countdown { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; justify-content: center; }
.countdown div { min-width: 104px; padding: 16px 14px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); text-align: center; }
.countdown b { display: block; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lav-2); }
.day-flow { display: grid; gap: 14px; margin-top: 60px; }
@media (min-width: 900px) { .day-flow { grid-template-columns: repeat(4, 1fr); } }
.day-flow li { list-style: none; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.day-flow b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 22px; }
.day-flow span { color: var(--lav-2); font-size: 15px; }
.day-flow { padding: 0; margin-left: 0; }
.day-flow .hand { color: var(--lime); font-size: 22px; display: block; }

/* 11 · register */
.register { position: relative; }
.register__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1080px) { .register__grid { grid-template-columns: 0.92fr 1.08fr; gap: 28px; } }
.panel { position: relative; border-radius: 28px; padding: clamp(24px, 3.4vw, 44px); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(36, 22, 56, 0.45); }
.panel--reg { background: var(--plum); color: #fff; }
@media (min-width: 1080px) { .panel--reg { position: sticky; top: 100px; } }
.panel h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1; letter-spacing: -0.02em; margin: 8px 0 8px; }
.panel h3 em { font-style: italic; color: var(--lime); }
.panel--pa h3 em { color: var(--plum); }
.panel .sub { margin: 0 0 24px; color: var(--muted); font-size: 15.5px; }
.panel--reg .sub { color: var(--lav-2); }
.panel .step-tag { font-size: 11.5px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime-deep); }
.panel--reg .step-tag { color: var(--lime); }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > label, .field > .lbl { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.field .opt { font-weight: 400; opacity: 0.6; }
.input, .select, .textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; appearance: none; -webkit-appearance: none;
}
.textarea { min-height: 96px; resize: vertical; }
.select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%233b2a55' stroke-width='2'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(165, 215, 101, 0.35); background: #fff; }
.panel--reg .input, .panel--reg .select { background-color: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.panel--reg .select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23ffffff' stroke-width='2'/></svg>"); }
.panel--reg .select option { color: var(--plum-ink); }
.panel--reg .input::placeholder { color: rgba(255, 255, 255, 0.5); }
.panel--reg .input:focus, .panel--reg .select:focus { background-color: rgba(255, 255, 255, 0.14); border-color: var(--lime); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #e5484d; }
.field .err { display: none; font-size: 13px; font-weight: 600; color: #e5484d; }
.panel--reg .field .err { color: #ffb4b4; }
.field.has-error .err { display: block; }
.row2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.phone { display: grid; grid-template-columns: 124px 1fr; gap: 8px; }
.phone .select { padding-left: 12px; padding-right: 30px; background-position: right 12px center; }

.seg { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: 15px; transition: all 0.25s var(--ease-out);
}
.seg label small { font-weight: 400; font-size: 12.5px; opacity: 0.75; }
.seg label:hover { border-color: var(--plum); }
.seg input:checked + label { background: var(--plum); border-color: var(--plum); color: #fff; box-shadow: 0 10px 24px -14px rgba(36, 22, 56, 0.7); }
.seg input:checked + label::after { content: ""; position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.seg input:focus-visible + label { outline: 2.5px solid var(--lime); outline-offset: 2px; }
.panel--reg .seg label { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); }
.panel--reg .seg label:hover { border-color: var(--lime); }
.panel--reg .seg input:checked + label { background: var(--lime); color: var(--plum-ink); border-color: var(--lime); }
.panel--reg .seg input:checked + label::after { background: var(--plum); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; user-select: none; }
.chips label:hover { border-color: var(--plum); }
.chips input:checked + label { background: var(--plum); border-color: var(--plum); color: #fff; }
.chips input:focus-visible + label { outline: 2.5px solid var(--lime); outline-offset: 2px; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--lav-2); margin: 6px 0 20px; }
.consent input { margin-top: 4px; accent-color: var(--lime); width: 16px; height: 16px; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.form-status { font-size: 14px; font-weight: 600; }

/* profile analysis stepper */
.pa-progress { display: flex; gap: 6px; margin: 4px 0 26px; }
.pa-progress i { flex: 1; height: 5px; border-radius: 5px; background: var(--lav); position: relative; overflow: hidden; }
.pa-progress i::after { content: ""; position: absolute; inset: 0; background: var(--plum); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.pa-progress i.is-on::after { transform: scaleX(1); }
.pa-steps { position: relative; }
.pa-step { display: none; }
.pa-step.is-active { display: block; animation: stepIn 0.5s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pa-step h4 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 400; font-size: 26px; }
.pa-step > p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.pa-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.score-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin-bottom: 14px; }
.score-bar span { font-weight: 700; font-size: 14.5px; }
.score-bar b { font-family: var(--f-display); font-weight: 400; font-size: 18px; }
.score-bar i { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--lav); overflow: hidden; }
.score-bar i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--plum), var(--lime)); border-radius: inherit; transition: width 1.2s var(--ease-out); }
.result-head { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.dial { position: relative; width: 132px; height: 132px; flex: none; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2px; font-family: var(--f-display); font-weight: 400; font-size: 42px; letter-spacing: -0.03em; }
.dial b small { font-size: 14px; color: var(--muted); }
.result-tier { font-family: var(--f-display); font-size: 26px; line-height: 1.1; margin: 0; }
.result-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.result-list li { margin: 4px 0; }
.result-note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--lime-soft); font-size: 14.5px; }

.success { text-align: left; }
.success .tick { width: 74px; height: 74px; border-radius: 50%; background: var(--lime); color: var(--plum-ink); display: grid; place-items: center; margin-bottom: 18px; }
.success .tick svg { width: 38px; height: 38px; }
.success h3 { margin-top: 0; }
.success p { color: var(--lav-2); }
.success .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* FAQ */
.faq { max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 22px; height: 22px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 2px; background: var(--plum); transition: transform 0.4s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 70ch; }

/* footer */
.footer { position: relative; background: var(--plum-ink); color: #fff; padding: clamp(80px, 10vw, 140px) 0 40px; overflow: hidden; }
.footer__big { font-size: clamp(56px, 11vw, 190px); line-height: 0.9; }
.footer__big em { color: var(--lime); }
.footer__grid { display: grid; gap: 30px; margin-top: 70px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer h5 { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); }
.footer__grid p, .footer__grid a { color: var(--lav-2); font-size: 15px; text-decoration: none; margin: 0 0 6px; display: block; }
.footer__grid a:hover { color: #fff; }
.footer__logos { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__logos img { height: 34px; width: auto; }
.footer__legal { margin-top: 50px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--lav-3); }
.footer__plane { position: absolute; right: 6%; top: 12%; width: 120px; color: var(--lime); }

/* sticky mobile CTA */
.mcta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 75; display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--plum-ink); color: #fff; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5); transform: translateY(150%); transition: transform 0.5s var(--ease-out); }
.mcta.is-on { transform: none; }
.mcta span { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.mcta span b { color: var(--lime); display: block; }
@media (min-width: 900px) { .mcta { display: none; } }

/* doodle helpers */
.draw path, .draw line, .draw polyline, .draw circle, .draw rect, .draw ellipse { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.wobble { filter: url(#wobble); }
.float { animation: float 6s var(--ease-io) infinite alternate; }
@keyframes float { from { transform: translateY(-6px) rotate(-3deg); } to { transform: translateY(8px) rotate(4deg); } }
.spin-slow { animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal-up { opacity: 0; transform: translateY(40px); }
.no-js .reveal-up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal-up { opacity: 1; transform: none; }
  .question__text .w { opacity: 1; }
  .grain { display: none; }
}

/* rail + cursor on dark chapters */
body.on-dark .rail__num { color: var(--lime); }
body.on-dark .rail__fill { background: var(--lime); }
@media (max-width: 899px) { .footer { padding-bottom: 110px; } }
@media (max-width: 360px) { .nav__brand .x, .nav__brand img + .x + img { display: none; } }

/* ---------- real logos ---------- */
.admit-logos { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.admit-logos li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 14px 10px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-align: center; }
.admit-logos img { max-height: 34px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.admit-logos span { font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.admit-logos li.declined img { opacity: 0.6; }
.admit-logos li.declined::after { content: ""; position: absolute; left: 12%; right: 12%; top: 38%; height: 2.5px; border-radius: 2px; background: var(--plum); transform: rotate(-8deg); opacity: 0.8; }
.admit-logos li.chose { box-shadow: 0 0 0 2px var(--lime-deep), 0 14px 30px -18px rgba(36, 22, 56, 0.6); }
.admit-logos li.chose span { color: var(--lime-deep); }
.admit-logos li.chose::before { content: "✓"; position: absolute; top: -9px; right: -9px; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--plum-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.win-logos { display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.win-logos img { height: 30px; width: auto; max-width: 150px; object-fit: contain; }
.unis .marquee span { gap: 18px; padding-right: 18px; }
.uni-tile { display: inline-flex; align-items: center; justify-content: center; width: clamp(170px, 18vw, 230px); height: clamp(84px, 8vw, 104px); padding: 16px 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.uni-tile img { max-height: 58px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.uni-tile img[alt="Yale"], .uni-tile img[alt="Stanford"], .uni-tile img[alt="Cornell"] { max-height: 40px; }
.uni-tile { transition: transform 0.4s var(--ease-out), box-shadow 0.4s; }
.uni-tile:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 0 0 1.5px var(--plum), 0 16px 30px -18px rgba(36, 22, 56, 0.5); }

/* ---------- mobile polish ---------- */
@media (max-width: 899px) {
  .question__doodle { position: static; width: 84px; margin: 0 0 18px; }
  .bar-card { padding-top: 56px; }
  .bar-card .chart { height: 230px; }
  .admit-logos span, .bar .v small, .ticket dt, .ticket__stub .small, .countdown span, .pill { font-size: 12px; }
  .chapter { padding: 84px 0; }
  .chapter__head { margin-bottom: 36px; }
  .speaker__hook { font-size: 22px; }
  .unis .marquee span { gap: 12px; padding-right: 12px; }
  .uni-tile { width: 150px; height: 74px; padding: 12px 16px; border-radius: 14px; }
  .uni-tile img { max-height: 44px; }
  .wins li { padding: 14px 0; }
  .win-logos img { height: 26px; max-width: 120px; }
  .desk { height: 460px; }
  .tickets { gap: 18px; }
  .countdown div { min-width: 72px; padding: 12px 8px 10px; }
  .door { min-height: 0; }
}
@media (max-width: 699px) {
  /* rank vs fit: two stacked cards instead of the cursor split */
  .fit__stage { height: auto; display: grid; gap: 12px; box-shadow: none; border-radius: 0; overflow: visible; }
  .fit__side { position: relative; inset: auto; border-radius: 22px; padding: 28px 22px; clip-path: none !important; }
  .fit__side .inner, .fit__fit .inner { max-width: none; margin: 0; text-align: left; }
  .fit__fit ul { justify-items: start; }
  .fit__side h3 { font-size: 36px; }
  .fit__side ul { font-size: 15px; }
  .fit__handle { display: none; }
}

/* plane pulling a "free for a limited time" banner */
.promo-plane { width: min(400px, 92%); margin: 22px 0 0 -6px; color: var(--plum); transform: rotate(-4deg); }
.promo-plane svg { width: 100%; height: auto; overflow: visible; }
.promo-plane text { font-family: var(--f-hand); font-weight: 700; font-size: 31px; }
.promo-plane .pp-banner { transform-origin: 300px 66px; animation: pp-wave 2.4s var(--ease-io) infinite alternate; }
.promo-plane .pp-plane { animation: pp-bob 2.4s var(--ease-io) infinite alternate; }
.promo-plane--panel { width: min(330px, 80%); margin: -6px 0 14px auto; color: var(--lime); transform: rotate(3deg); }
@keyframes pp-wave { from { transform: skewY(-1.5deg) scaleY(0.97); } to { transform: skewY(1.5deg) scaleY(1.02); } }
@keyframes pp-bob { from { transform: translateY(-3px) rotate(-2deg); } to { transform: translateY(4px) rotate(2deg); } }
.promo-plane--hero { position: absolute; z-index: 6; top: -11%; right: -8%; width: min(380px, 70%); margin: 0; transform: rotate(-5deg); pointer-events: none; }
@media (max-width: 999px) { .promo-plane--hero { top: -16%; right: -2%; width: 74%; } }

.loader { animation: loader-failsafe 0.4s 7s forwards; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
/* right-aligned "fit" list: dash on the right so the dashes line up */
.fit__fit li::before { content: none; }
.fit__fit li::after { content: " —"; opacity: 0.6; }
@media (max-width: 699px) {
  .fit__fit li::before { content: "— "; }
  .fit__fit li::after { content: none; }
}
.panel--pa { overflow: visible; }
.promo-plane--pa { position: absolute; top: -34px; right: -14px; width: min(320px, 62%); margin: 0; color: var(--plum); transform: rotate(4deg); pointer-events: none; z-index: 2; }
@media (max-width: 560px) { .promo-plane--pa { position: relative; top: auto; right: auto; width: 86%; margin: -10px 0 10px auto; } }
