:root {
  --night: #061016;
  --navy: #091a23;
  --panel: #0e2530;
  --panel-2: #12323b;
  --emerald: #25d5a5;
  --blue: #62a8ff;
  --cyan: #81e8f2;
  --white: #f4fbfc;
  --muted: #a9bdc3;
  --line: rgba(158, 224, 229, 0.18);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
  --display: "Space Grotesk", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--white); background: var(--night); font-family: var(--sans); font-size: 16px; line-height: 1.72; overflow-x: hidden; }
body.menu-open, body.dialog-open { overflow: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 50% 18%, rgba(37,213,165,.08), transparent 34%), linear-gradient(145deg, #061016, #081a22 58%, #050d12); pointer-events: none; }
main { position: relative; isolation: isolate; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 200; padding: 10px 16px; color: var(--night); background: var(--emerald); }
.skip-link:focus { top: 16px; }

.opening { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; gap: 26px; color: var(--white); background: var(--night); transition: opacity 650ms ease, visibility 650ms; }
.opening.is-hidden { opacity: 0; visibility: hidden; }
.opening p { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.opening-mark { display: flex; justify-content: center; align-items: center; gap: 7px; height: 54px; }
.opening-mark span { width: 9px; height: 28px; background: var(--emerald); animation: scan 700ms ease-in-out infinite alternate; }
.opening-mark span:nth-child(2) { height: 50px; animation-delay: 120ms; background: var(--blue); }
.opening-mark span:nth-child(3) { height: 36px; animation-delay: 240ms; background: var(--cyan); }
@keyframes scan { to { transform: scaleY(.45); opacity: .45; } }

.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 2px; background: rgba(255,255,255,.05); }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--emerald), var(--blue)); }

.topbar { position: fixed; inset: 0 0 auto; z-index: 100; height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(6,16,22,.9); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--night); background: var(--emerald); font-family: var(--display); font-weight: 800; }
.brand > span:last-child { display: grid; line-height: 1.18; }
.brand strong { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.brand small { color: var(--muted); font-family: var(--mono); font-size: 12px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 52px); }
.desktop-nav a { position: relative; padding: 10px 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--emerald); transition: right 220ms ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--white); }
.school-lockup { justify-self: end; display: flex; align-items: center; gap: 10px; }
.school-lockup img:first-child { width: 78px; height: auto; }
.school-lockup img:last-child { width: 40px; height: 40px; object-fit: contain; }
.school-lockup span { width: 1px; height: 30px; background: var(--line); }
.menu-button { display: none; justify-self: end; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); color: var(--white); background: var(--navy); cursor: pointer; }
.menu-button span { display: block; height: 1px; margin: 6px 0; background: currentColor; transition: transform 220ms ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 82px 0 0; z-index: 90; display: grid; align-content: center; padding: 7vh 9vw; background: var(--night); opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity 240ms ease, transform 240ms ease, visibility 240ms; }
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { display: grid; grid-template-columns: 46px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(34px, 9vw, 54px); text-decoration: none; }
.mobile-menu a span { color: var(--emerald); font-family: var(--mono); font-size: 12px; }

.hero { min-height: 100svh; position: sticky; top: 0; z-index: 0; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, .78fr) minmax(280px, 1fr); align-items: center; gap: clamp(18px, 3vw, 58px); padding: 120px max(4vw, 40px) 58px; overflow: hidden; isolation: isolate; background: linear-gradient(125deg, #061016 0%, #0a2029 55%, #07151d 100%); }
.hero-grid { position: absolute; inset: 0; z-index: -3; opacity: .18; background-image: linear-gradient(rgba(98,168,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(98,168,255,.16) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, transparent, black 26%, black 76%, transparent); }
.hero-glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-one { width: 42vw; height: 42vw; left: 25%; top: 16%; background: rgba(37,213,165,.15); }
.glow-two { width: 35vw; height: 35vw; right: -10%; bottom: -7%; background: rgba(98,168,255,.16); }
.hero-enter { opacity: 0; transform: translateY(34px); animation: heroIn 800ms cubic-bezier(.2,.72,.2,1) forwards; }
.hero-stage { animation-delay: 180ms; }
.hero-right { animation-delay: 340ms; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-left { position: relative; z-index: 3; align-self: center; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--cyan); font-family: var(--mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
h1 { margin: 0; font-family: var(--display); font-size: clamp(68px, 7vw, 138px); font-weight: 700; line-height: .78; letter-spacing: -.075em; text-transform: uppercase; }
h1 span, h1 small { display: block; }
h1 small { margin: 22px 0 0 5px; color: var(--emerald); font-family: var(--mono); font-size: clamp(13px, 1.2vw, 18px); font-weight: 500; line-height: 1; letter-spacing: .2em; }
.hero-intro { max-width: 540px; margin: 38px 0 34px; color: var(--muted); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.65; }
.enter-link { display: inline-flex; align-items: center; gap: 22px; padding: 13px 18px; border: 1px solid var(--emerald); color: var(--white); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: color 220ms ease, background 220ms ease; }
.enter-link:hover, .enter-link:focus-visible { color: var(--night); background: var(--emerald); }
.hero-stage { position: relative; align-self: end; height: min(76svh, 800px); min-width: 0; }
.hero-stage::after { content: ""; position: absolute; left: 50%; bottom: 5%; z-index: -1; width: 64%; height: 18%; transform: translateX(-50%); border-radius: 50%; background: rgba(0,0,0,.54); filter: blur(28px); }
.hero-stage img { position: absolute; left: 50%; bottom: -2%; z-index: 2; width: min(100%, 570px); height: 92%; transform: translateX(-50%); object-fit: contain; object-position: center bottom; filter: drop-shadow(0 30px 30px rgba(0,0,0,.48)); }
.stage-ring { position: absolute; left: 50%; top: 46%; z-index: 1; width: min(38vw, 560px); aspect-ratio: 1; transform: translate(-50%,-50%); border: 1px solid rgba(37,213,165,.28); border-radius: 50%; }
.stage-ring::before, .stage-ring::after { content: ""; position: absolute; inset: 11%; border: 1px dashed rgba(98,168,255,.28); border-radius: 50%; animation: orbit 18s linear infinite; }
.stage-ring::after { inset: 25%; border-style: solid; animation-direction: reverse; animation-duration: 11s; }
.stage-ring i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 22px var(--emerald); }
.stage-ring i:first-child { left: 8%; top: 31%; }
.stage-ring i:nth-child(2) { right: 13%; top: 17%; background: var(--blue); box-shadow: 0 0 22px var(--blue); }
.stage-ring i:nth-child(3) { right: 4%; bottom: 27%; background: var(--cyan); box-shadow: 0 0 22px var(--cyan); }
@keyframes orbit { to { transform: rotate(360deg); } }
.specimen-tag { position: absolute; left: 0; bottom: 4%; z-index: 3; margin: 0; padding-left: 12px; border-left: 2px solid var(--emerald); color: var(--emerald); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.specimen-tag span { color: var(--muted); letter-spacing: .02em; text-transform: none; }
.hero-right { position: relative; z-index: 3; align-self: center; min-width: 0; }
.formula { margin: 0 0 32px; color: var(--blue); font-family: var(--mono); font-size: clamp(14px, 1.4vw, 21px); letter-spacing: .14em; }
.hero-right h2 { margin: 0; font-family: var(--display); font-size: clamp(68px, 7vw, 138px); line-height: .8; letter-spacing: -.075em; text-transform: uppercase; }
.hero-meta { display: grid; gap: 4px; margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.hero-meta strong { color: var(--white); font-size: 15px; }
.hero-scroll { position: absolute; right: 34px; bottom: 24px; margin: 0; color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll span { margin-top: 12px; color: var(--emerald); }

.section-pad { padding: clamp(90px, 10vw, 170px) max(6vw, 70px); }
.scroll-panel:not(.hero) { position: relative; z-index: var(--panel-layer, 2); isolation: isolate; box-shadow: 0 -36px 90px rgba(0,0,0,.34); transform-origin: center top; }
.scroll-panel:not(.hero)::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 8; height: 1px; background: linear-gradient(90deg, transparent 5%, rgba(37,213,165,.72), rgba(98,168,255,.72), transparent 95%); opacity: .72; pointer-events: none; }
.scroll-panel.is-current::before { height: 2px; opacity: 1; box-shadow: 0 0 24px rgba(37,213,165,.3); }
.desktop-nav a.is-active { color: var(--white); }
.desktop-nav a.is-active::after { right: 0; }

@supports (animation-timeline: view()) {
  .scroll-panel:not(.hero) {
    animation: panelLift linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 36%;
  }
  @keyframes panelLift {
    from { transform: translateY(16svh) scale(.975); opacity: .58; filter: blur(5px); }
    to { transform: translateY(0) scale(1); opacity: 1; filter: blur(0); }
  }
}
.section-heading { max-width: 1200px; }
.section-heading h2, .evidence h2, .behind-scenes h2, .reflection h2 { margin: 0; font-family: var(--display); font-size: clamp(48px, 6.2vw, 112px); line-height: .92; letter-spacing: -.06em; }
.heading-note { max-width: 690px; margin: 30px 0 0 auto; color: var(--muted); font-size: 18px; }

.profile { position: relative; background: #0a1a22; }
.profile-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(54px, 8vw, 140px); margin-top: 90px; }
.profile-story { max-width: 690px; }
.profile-story p { color: var(--muted); }
.profile-story .lead { color: var(--white); font-family: var(--display); font-size: clamp(27px, 2.5vw, 44px); font-weight: 500; line-height: 1.24; }
.profile-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.info-card { min-height: 270px; padding: 34px; border-top: 3px solid var(--blue); background: var(--panel); transform-style: preserve-3d; transition: transform 180ms ease, background 220ms ease; }
.info-card:nth-child(2) { margin-top: 70px; border-color: var(--cyan); }
.info-card:nth-child(3) { grid-column: 1 / -1; min-height: 230px; border-color: var(--emerald); }
.info-card:hover { background: var(--panel-2); }
.card-code { color: var(--emerald); font-family: var(--mono); font-size: 12px; letter-spacing: .15em; }
.info-card h3 { margin: 72px 0 12px; font-family: var(--display); font-size: clamp(24px, 2vw, 34px); line-height: 1.08; }
.info-card p { margin: 0; color: var(--muted); }
.info-card:nth-child(3) h3 { margin-top: 48px; }
.recognition { display: grid; grid-template-columns: .45fr 1fr; gap: 1px; margin-top: 100px; background: var(--line); border: 1px solid var(--line); }
.recognition > div { padding: 34px; background: var(--night); }
.recognition span { color: var(--emerald); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.recognition strong { display: block; margin: 16px 0 8px; font-family: var(--display); font-size: clamp(24px, 2.2vw, 38px); line-height: 1.1; }
.recognition p { max-width: 780px; margin: 0; color: var(--muted); }

.learning { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--night), #071820); }
.learning-backdrop { position: absolute; right: -3vw; top: 12%; color: rgba(98,168,255,.055); font-family: var(--display); font-size: clamp(110px, 16vw, 290px); font-weight: 700; line-height: .72; letter-spacing: -.08em; text-align: right; pointer-events: none; }
.lesson-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 100px; }
.lesson-card { grid-column: span 3; min-height: 350px; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; overflow: hidden; border: 1px solid var(--line); color: var(--white); background: #0c2029; text-align: left; cursor: pointer; transform-style: preserve-3d; transition: border-color 220ms ease, background 220ms ease, transform 180ms ease; }
.lesson-card:nth-child(2), .lesson-card:nth-child(6) { margin-top: 48px; }
.lesson-card:nth-child(4), .lesson-card:nth-child(8) { margin-top: 96px; }
.lesson-card::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--emerald), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform 260ms ease; }
.lesson-card:hover, .lesson-card:focus-visible { border-color: rgba(37,213,165,.55); background: #102b35; outline: none; }
.lesson-card:hover::after, .lesson-card:focus-visible::after { transform: scaleX(1); }
.lesson-number { color: var(--emerald); font-family: var(--mono); font-size: 12px; }
.lesson-card time, .date-label { margin: 20px 0 0; color: var(--blue); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.lesson-card h3 { margin: 66px 0 14px; font-family: var(--display); font-size: clamp(25px, 2vw, 34px); line-height: 1.05; }
.lesson-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.lesson-card i { margin-top: auto; padding-top: 28px; color: var(--cyan); font-family: var(--mono); font-size: 12px; font-style: normal; letter-spacing: .1em; text-transform: uppercase; }
.feature-card { grid-column: span 6; background: linear-gradient(125deg, #103629, #11263a); }

.evidence { display: grid; grid-template-columns: .86fr 1.14fr; min-height: 920px; background: #0b1d24; }
.evidence-copy { align-self: center; }
.evidence-copy > p:not(.eyebrow) { max-width: 700px; margin: 34px 0 0; color: var(--muted); font-size: 18px; }
.evidence-photo { position: relative; margin: 0; overflow: hidden; min-height: 920px; background: var(--panel); }
.evidence-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,16,22,.9)); pointer-events: none; }
.evidence-photo img { width: 100%; height: 100%; object-fit: cover; }
.evidence-photo figcaption { position: absolute; left: 40px; right: 40px; bottom: 36px; z-index: 2; display: grid; grid-template-columns: 120px 1fr; gap: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.32); color: var(--white); }
.evidence-photo figcaption span { color: var(--emerald); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.evidence-pulse { display: grid; grid-template-columns: 12px auto 1fr; align-items: center; gap: 16px; margin-top: 50px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.evidence-pulse > span { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 18px var(--emerald); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.7); } }
.evidence-pulse strong { font-family: var(--display); font-size: 26px; }
.evidence-pulse small { color: var(--muted); }

.people { background: var(--night); }
.people-grid { display: grid; grid-template-columns: 1.3fr .85fr .85fr; gap: 22px; margin-top: 90px; }
.people-card { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--panel); }
.people-card img { width: 100%; height: 480px; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.people-card:hover img { transform: scale(1.045); }
.people-wide img { height: 640px; }
.people-card figcaption { padding: 28px; }
.people-card figcaption span, .hobby-card figcaption span, .video-copy span, .behind-video > span, .closing-photo figcaption span { color: var(--emerald); font-family: var(--mono); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.people-card figcaption strong { display: block; margin: 10px 0; font-family: var(--display); font-size: 24px; line-height: 1.12; }
.people-card figcaption p { margin: 0; color: var(--muted); font-size: 14px; }

.beyond { background: linear-gradient(160deg, #09212a, #071117 65%); }
.beyond-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; margin-top: 90px; }
.hobby-card { min-width: 0; margin: 0; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.car-card { grid-row: span 2; }
.car-card img { width: 100%; height: 720px; object-fit: cover; }
.hobby-card figcaption, .video-copy { padding: 32px; }
.hobby-card h3, .video-copy h3 { margin: 12px 0; font-family: var(--display); font-size: clamp(28px, 2.5vw, 42px); line-height: 1.08; }
.hobby-card p, .video-copy p { margin: 0; color: var(--muted); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #020609; }
.video-frame iframe, .behind-video iframe { width: 100%; height: 100%; border: 0; }

.behind-scenes { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(50px, 8vw, 130px); align-items: center; background: #0a1820; }
.behind-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 18px; }
.behind-video { min-width: 0; }
.behind-video iframe { display: block; aspect-ratio: 16 / 9; background: #020609; }
.behind-video > span { display: block; margin-top: 16px; }

.reflection { position: relative; display: grid; grid-template-columns: 1fr .82fr; gap: clamp(60px, 9vw, 150px); align-items: center; overflow: hidden; background: linear-gradient(145deg, #061016, #0d2a31); }
.reflection-orbit { position: absolute; left: -12vw; top: 15%; width: 48vw; aspect-ratio: 1; border: 1px solid rgba(37,213,165,.12); border-radius: 50%; box-shadow: inset 0 0 80px rgba(37,213,165,.04); pointer-events: none; }
.reflection-copy { position: relative; z-index: 2; }
.reflection-copy > p:not(.eyebrow) { max-width: 790px; color: var(--muted); font-size: 18px; }
.closing-photo { position: relative; z-index: 2; margin: 0; background: var(--panel); }
.closing-photo img { width: 100%; height: 640px; object-fit: cover; object-position: center top; }
.closing-photo figcaption { padding: 30px; }
.closing-photo figcaption strong { display: block; margin: 10px 0; font-family: var(--display); font-size: 30px; }
.closing-photo figcaption p { margin: 0; color: var(--muted); }

.footer { display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: end; padding: 80px max(6vw,70px) 130px; border-top: 1px solid var(--line); background: #03090d; }
.footer > div:first-child { display: flex; align-items: center; gap: 18px; }
.footer-mark { display: grid; place-items: center; width: 62px; height: 62px; color: var(--night); background: var(--emerald); font-family: var(--display); font-weight: 800; }
.footer p { margin: 0; color: var(--muted); }
.footer-links { display: grid; gap: 8px; text-align: right; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--emerald); }
.footer-note { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.music-player { position: fixed; left: 28px; bottom: 24px; z-index: 140; display: grid; grid-template-columns: 42px minmax(110px,auto) 150px; align-items: center; gap: 12px; min-width: 350px; padding: 10px 14px 10px 10px; border: 1px solid rgba(37,213,165,.35); background: #0a2029; box-shadow: 0 16px 45px rgba(0,0,0,.42); }
.music-toggle { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; color: var(--night); background: var(--emerald); cursor: pointer; }
.music-toggle span { font-size: 15px; }
.music-title { display: grid; line-height: 1.15; }
.music-title small { color: var(--emerald); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.music-title strong { margin-top: 4px; font-size: 12px; }
.volume-control { display: grid; grid-template-columns: 1fr 36px; align-items: center; gap: 8px; }
.volume-slider { --fill: 50%; width: 100%; height: 3px; margin: 0; appearance: none; background: linear-gradient(90deg, var(--emerald) 0 var(--fill), rgba(255,255,255,.18) var(--fill) 100%); cursor: pointer; }
.volume-slider::-webkit-slider-thumb { width: 13px; height: 13px; appearance: none; border: 2px solid var(--night); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--emerald); }
.volume-slider::-moz-range-thumb { width: 11px; height: 11px; border: 2px solid var(--night); border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--emerald); }
.volume-value { color: var(--muted); font-family: var(--mono); font-size: 12px; }

.lesson-dialog { width: min(940px, calc(100vw - 36px)); max-height: calc(100svh - 36px); padding: 0; overflow: auto; border: 1px solid rgba(37,213,165,.4); color: var(--white); background: #0b2029; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.lesson-dialog::backdrop { background: rgba(2,7,10,.84); backdrop-filter: blur(8px); }
.dialog-close { position: sticky; top: 18px; left: calc(100% - 62px); z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); color: var(--white); background: var(--night); cursor: pointer; }
.dialog-meta { display: flex; justify-content: space-between; gap: 20px; margin: -20px 56px 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--emerald); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.dialog-topic { margin: 42px 56px 10px; color: var(--blue); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.lesson-dialog > h2 { margin: 0 56px 42px; font-family: var(--display); font-size: clamp(42px, 5vw, 76px); line-height: .95; letter-spacing: -.055em; }
.dialog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.dialog-grid section { min-width: 0; padding: 34px; background: var(--navy); }
.dialog-grid section span { color: var(--emerald); font-family: var(--mono); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.dialog-grid section p { margin: 14px 0 0; color: var(--muted); }
.dialog-grid .muddiest { grid-column: 1 / -1; background: #102831; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.72,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .opening { display: none; }
  .reveal, .hero-enter { opacity: 1; transform: none; }
  .scroll-panel { animation: none !important; transform: none !important; filter: none !important; }
}

@media (max-width: 1180px) {
  .topbar { grid-template-columns: 1fr auto 1fr; }
  .desktop-nav { display: none; }
  .school-lockup { justify-self: center; }
  .menu-button { display: block; }
  .hero { grid-template-columns: .95fr 1.05fr; }
  .hero-stage { grid-column: 2; grid-row: 1 / span 2; height: 76svh; }
  .hero-right { grid-column: 1; }
  .hero-right h2 { font-size: clamp(64px, 9vw, 104px); }
  .stage-ring { width: min(55vw, 590px); }
  .lesson-card { grid-column: span 4; }
  .lesson-card:nth-child(4), .lesson-card:nth-child(8) { margin-top: 0; }
  .feature-card { grid-column: span 8; }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .people-wide { grid-column: 1 / -1; }
  .evidence { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 70px; }
  .topbar { height: 70px; padding: 0 16px; }
  .brand > span:last-child { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .school-lockup img:first-child { width: 66px; }
  .school-lockup img:last-child { width: 34px; height: 34px; }
  .mobile-menu { inset: 70px 0 0; }
  .hero { min-height: auto; position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 110px 22px 42px; }
  .scroll-panel:not(.hero) { box-shadow: 0 -18px 48px rgba(0,0,0,.28); }
  .hero-left { order: 1; }
  h1 { font-size: clamp(58px, 19vw, 92px); }
  .hero-intro { margin-top: 28px; font-size: 16px; }
  .hero-stage { order: 2; height: 620px; margin: 24px -22px 0; }
  .hero-stage img { height: 96%; max-width: 95vw; }
  .stage-ring { width: 105vw; max-width: 590px; }
  .specimen-tag { left: 22px; }
  .hero-right { order: 3; margin-top: 20px; }
  .hero-right h2 { font-size: clamp(58px, 19vw, 92px); }
  .formula { margin-bottom: 20px; }
  .hero-scroll { display: none; }
  .section-pad { padding: 88px 22px; }
  .section-heading h2, .evidence h2, .behind-scenes h2, .reflection h2 { font-size: clamp(44px, 13vw, 68px); }
  .heading-note { margin-left: 0; font-size: 16px; }
  .profile-layout { grid-template-columns: 1fr; gap: 50px; margin-top: 54px; }
  .profile-cards { grid-template-columns: 1fr; }
  .info-card, .info-card:nth-child(2), .info-card:nth-child(3) { grid-column: auto; min-height: 220px; margin-top: 0; }
  .info-card h3, .info-card:nth-child(3) h3 { margin-top: 46px; }
  .recognition { grid-template-columns: 1fr; margin-top: 64px; }
  .lesson-grid { grid-template-columns: 1fr 1fr; margin-top: 58px; }
  .lesson-card, .feature-card { grid-column: auto; min-height: 310px; margin-top: 0 !important; }
  .lesson-card h3 { margin-top: 44px; }
  .evidence { grid-template-columns: 1fr; }
  .evidence-photo { min-height: 650px; }
  .people-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .people-wide { grid-column: auto; }
  .people-card img, .people-wide img { height: 520px; }
  .beyond-grid { grid-template-columns: 1fr; margin-top: 54px; }
  .car-card { grid-row: auto; }
  .car-card img { height: 540px; }
  .behind-scenes { grid-template-columns: 1fr; gap: 54px; }
  .reflection { grid-template-columns: 1fr; gap: 54px; }
  .closing-photo img { height: 560px; }
  .footer { grid-template-columns: 1fr; gap: 44px; padding: 70px 22px 120px; }
  .footer-links { text-align: left; }
  .music-player { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 42px minmax(92px,1fr) 125px; min-width: 0; }
  .dialog-meta { margin: -18px 20px 0; }
  .dialog-topic { margin: 34px 20px 10px; }
  .lesson-dialog > h2 { margin: 0 20px 32px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-grid .muddiest { grid-column: auto; }
}

@media (max-width: 520px) {
  .school-lockup { gap: 7px; }
  .school-lockup img:first-child { width: 56px; }
  .school-lockup img:last-child { width: 31px; height: 31px; }
  .hero-stage { height: 520px; }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson-card, .feature-card { min-height: 280px; }
  .people-card img, .people-wide img { height: 430px; }
  .evidence-photo { min-height: 520px; }
  .evidence-photo figcaption { left: 20px; right: 20px; bottom: 20px; grid-template-columns: 1fr; gap: 10px; }
  .car-card img { height: 420px; }
  .closing-photo img { height: 460px; }
  .music-player { grid-template-columns: 40px 1fr 92px; gap: 8px; padding-right: 10px; }
  .music-title strong { font-size: 12px; }
  .volume-control { grid-template-columns: 1fr; }
  .volume-value { display: none; }
}
