:root {
  --ink: #07090b;
  --paper: #f0eee8;
  --muted: #a7abb0;
  --lime: #c7ff36;
  --cobalt: #2349ff;
  --line: rgba(255, 255, 255, 0.2);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --display: clamp(3.6rem, 9vw, 9.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: white; background: var(--ink); font-family: "Manrope", sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; padding: .8rem 1rem; color: var(--ink); background: var(--lime); font-weight: 800; }
.skip-link:focus { top: 1rem; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 150; background: transparent; }
.progress span { display: block; width: 0; height: 100%; background: var(--lime); }

.topbar { position: fixed; inset: 0 0 auto; z-index: 100; height: 5rem; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; background: linear-gradient(to bottom, rgba(7,9,11,.84), transparent); mix-blend-mode: normal; }
.wordmark { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.wordmark > span:first-child { display: grid; place-items: center; width: 2.5rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: .8rem; }
.wordmark-label { font-size: .8rem; letter-spacing: .14em; }
.topbar nav { display: flex; gap: clamp(.8rem, 2vw, 2rem); align-items: center; font-family: "DM Mono", monospace; font-size: .75rem; text-transform: uppercase; }
.topbar nav a { text-decoration: none; opacity: .78; transition: opacity .2s ease, color .2s ease; }
.topbar nav a:hover, .topbar nav a:focus-visible { opacity: 1; color: var(--lime); }
.topbar .nav-cta { padding: .7rem 1rem; border: 1px solid var(--lime); color: var(--lime); opacity: 1; }

.chapter { position: relative; }
.section-dark { background: var(--ink); }
.section-light { background: #e7e4dc; color: var(--ink); }
.section-cobalt { background: var(--cobalt); }
.section-lime { background: var(--lime); color: var(--ink); }
.section-paper { background: var(--paper); color: var(--ink); }
.chapter-mark { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font: 500 .72rem/1.2 "DM Mono", monospace; letter-spacing: .11em; text-transform: uppercase; }
.chapter-mark.dark { border-color: rgba(7,9,11,.25); }
.display { margin: 0; font-size: var(--display); line-height: .87; letter-spacing: -.072em; font-weight: 700; }
.display em { color: var(--cobalt); font-family: Georgia, serif; font-weight: 400; }
.dark-text { color: var(--ink); }
.body-copy { max-width: 42rem; font-size: clamp(1.05rem, 1.55vw, 1.4rem); line-height: 1.55; letter-spacing: -.02em; color: #c5c9cd; }
.body-copy.dark-text { color: #35393c; }
.lead { margin: 2.5rem 0 1rem; font-size: clamp(1.6rem, 3vw, 3rem); line-height: 1.1; font-weight: 600; letter-spacing: -.04em; }
.kicker { font: 500 .8rem/1 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .13em; }

.hero { min-height: 100svh; display: grid; overflow: hidden; background: #05070a; }
.hero-image, .hero-shade, .hero-copy { grid-area: 1/1; }
.hero-image { width: 100%; height: 100svh; object-fit: cover; object-position: 50% center; transform: scale(1.025); animation: settle 1.8s cubic-bezier(.2,.8,.2,1) both; }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(2,4,7,.35) 0%, rgba(2,4,7,.05) 50%, rgba(2,4,7,.5) 100%), linear-gradient(0deg, rgba(2,4,7,.84) 0%, transparent 56%); }
.hero-copy { z-index: 2; padding: 7.5rem var(--gutter) 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.eyebrow { display: flex; justify-content: space-between; margin: 0; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.28); font: .72rem/1 "DM Mono", monospace; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 13ch; margin: auto 0 1.3rem; font-size: clamp(4.6rem, 12vw, 12.5rem); line-height: .74; letter-spacing: -.083em; text-transform: uppercase; font-weight: 800; text-shadow: 0 4px 34px rgba(0,0,0,.25); }
.hero h1 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; text-transform: lowercase; }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.28); padding-top: 1rem; }
.hero-bottom p { margin: 0; font-size: clamp(.9rem, 1.2vw, 1.1rem); line-height: 1.35; }
.scroll-cue { display: flex; gap: 1.4rem; align-items: center; text-decoration: none; font: .75rem/1 "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
.scroll-cue span:last-child { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--lime); font-size: 1.2rem; }
.frame-number { position: absolute; right: 1.3rem; top: 50%; z-index: 3; margin: 0; writing-mode: vertical-rl; font: .65rem/1 "DM Mono", monospace; opacity: .55; }

.origin { padding: 7rem var(--gutter) 5rem; }
.origin-grid { display: grid; grid-template-columns: minmax(10rem, 1fr) 4fr; gap: 3rem; padding: clamp(5rem, 10vw, 10rem) 0 7rem; }
.year-stamp { margin: 0; color: var(--lime); font: .8rem/1.2 "DM Mono", monospace; letter-spacing: .15em; }
.year-stamp strong { font: 800 clamp(5rem, 12vw, 13rem)/.72 "Manrope", sans-serif; letter-spacing: -.1em; }
.milestone-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.milestone-strip article { min-height: 18rem; padding: 1.5rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.milestone-strip article:last-child { border-right: 0; }
.milestone-strip article > span { color: var(--lime); font: .75rem/1 "DM Mono", monospace; }
.milestone-strip h3 { margin: auto 0 .7rem; font-size: clamp(1.4rem, 2.5vw, 2.25rem); line-height: 1; letter-spacing: -.05em; }
.milestone-strip p { margin: 0; max-width: 24rem; color: var(--muted); line-height: 1.5; }
.milestone-strip .micro-story p { font-size: .75rem; max-width: 18rem; opacity: .65; }

.teaching { padding: 7rem var(--gutter); }
.teaching-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 7vw, 8rem); padding: clamp(5rem, 9vw, 9rem) 0 6rem; align-items: start; }
.teaching-copy .display { font-size: clamp(3.6rem, 7.7vw, 8rem); }
.teaching-copy .body-copy { margin-top: 2rem; }
.quote { margin-top: 4rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.quote-mark { font: 400 5rem/.7 Georgia, serif; color: var(--cobalt); }
.quote p { margin: 0; max-width: 18ch; font-size: clamp(1.5rem, 3vw, 3rem); line-height: 1.05; font-weight: 700; letter-spacing: -.055em; }
.portrait-frame { position: relative; margin: 0; }
.portrait-frame img { width: 100%; height: min(72rem, 78vh); object-fit: cover; filter: saturate(.84) contrast(1.04); }
.portrait-frame figcaption { display: flex; justify-content: space-between; padding-top: .9rem; font: .68rem/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(7,9,11,.3); border-bottom: 1px solid rgba(7,9,11,.3); }
.stats article { padding: 2rem 1.25rem; border-right: 1px solid rgba(7,9,11,.3); display: flex; gap: 1rem; align-items: end; }
.stats article:last-child { border-right: 0; }
.stats strong { font-size: clamp(2.5rem, 5vw, 5rem); line-height: .8; letter-spacing: -.08em; }
.stats span { font-size: .72rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }

.access { min-height: 90vh; padding: 7rem var(--gutter); overflow: hidden; }
.access-copy { position: relative; padding: clamp(5rem, 12vw, 12rem) 0 2rem; }
.access-copy .display { position: relative; z-index: 2; font-size: clamp(4rem, 11vw, 12rem); }
.access-copy .body-copy { max-width: 44rem; margin-left: auto; color: rgba(255,255,255,.78); }
.oversized-index { position: absolute; top: -9rem; right: -3vw; margin: 0; font: 700 clamp(20rem, 55vw, 65rem)/1 Georgia, serif; color: rgba(255,255,255,.09); }

.timeline { padding: 7rem var(--gutter); }
.timeline-head { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; align-items: end; padding: clamp(5rem, 9vw, 9rem) 0 7rem; }
.timeline-head .body-copy { margin: 0; }
.reel { margin-left: clamp(0rem, 15vw, 15rem); }
.reel-item { display: grid; grid-template-columns: minmax(7rem, .65fr) 2rem 3fr; gap: 1rem; min-height: 12rem; }
.reel-item time { padding-top: .25rem; color: var(--lime); font: .75rem/1.3 "DM Mono", monospace; text-transform: uppercase; }
.reel-dot { position: relative; width: .8rem; height: .8rem; margin-top: .15rem; border: 2px solid #83878b; border-radius: 50%; }
.reel-dot::after { content: ""; position: absolute; width: 1px; height: calc(12rem - .8rem); top: .7rem; left: 50%; background: var(--line); }
.reel-item:last-child .reel-dot::after { display: none; }
.reel-dot.active { border-color: var(--lime); background: var(--lime); box-shadow: 0 0 0 .5rem rgba(199,255,54,.13); }
.reel-item h3 { margin: 0 0 .6rem; font-size: clamp(1.7rem, 3.7vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.reel-item p { margin: 0; max-width: 45rem; color: var(--muted); line-height: 1.5; }

.proof { padding: 7rem var(--gutter); }
.proof > .display { margin: clamp(5rem, 9vw, 9rem) 0 5rem; }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(7,9,11,.3); }
.proof-card { min-height: 27rem; padding: 2rem; border-right: 1px solid rgba(7,9,11,.3); border-bottom: 1px solid rgba(7,9,11,.3); display: flex; flex-direction: column; }
.proof-card:nth-child(even) { border-right: 0; }
.proof-card:nth-child(n+3) { border-bottom: 0; }
.proof-num { font-size: clamp(5rem, 12vw, 12rem); line-height: .8; letter-spacing: -.09em; font-weight: 800; }
.proof-card h3 { margin: auto 0 .5rem; font-size: clamp(1.6rem, 3vw, 3rem); letter-spacing: -.05em; }
.proof-card p { margin: 0; max-width: 31rem; font-size: 1rem; line-height: 1.45; }

.lab { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 100vh; }
.lab-image-wrap { position: relative; min-height: 90vh; }
.lab-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.image-label { position: absolute; inset: auto 0 0; padding: 1rem 1.4rem; display: flex; justify-content: space-between; background: rgba(7,9,11,.75); backdrop-filter: blur(12px); font: .68rem/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.lab-copy { padding: 7rem var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.lab-copy .display { margin-top: clamp(4rem, 8vw, 8rem); font-size: clamp(3.8rem, 7.5vw, 8rem); }
.lab-list { margin: 3rem 0 1.5rem; font-size: clamp(1.3rem, 2.1vw, 2rem); line-height: 1.4; font-weight: 650; letter-spacing: -.03em; }
.lab-list i { color: var(--lime); font-style: normal; }
.micro-note { margin: 0; font: .72rem/1.4 "DM Mono", monospace; color: #737980; }

.spectrum { padding: 7rem var(--gutter); }
.spectrum > .display { margin: clamp(5rem, 9vw, 9rem) 0 6rem; }
.discipline-cloud { display: flex; flex-wrap: wrap; gap: .7rem; }
.discipline-cloud span { padding: .75rem 1rem; border: 1px solid rgba(7,9,11,.3); border-radius: 999px; font-size: clamp(1rem, 2vw, 1.8rem); font-weight: 650; letter-spacing: -.03em; transition: background .2s ease, color .2s ease, transform .2s ease; }
.discipline-cloud span:nth-child(3n+1) { font-size: clamp(1.5rem, 4.3vw, 4.5rem); }
.discipline-cloud span:nth-child(4n) { color: var(--cobalt); border-color: var(--cobalt); }
.discipline-cloud span:hover { background: var(--ink); color: var(--lime); transform: translateY(-3px); }
.spectrum-foot { margin-top: 7rem; padding-top: 1.5rem; border-top: 1px solid rgba(7,9,11,.3); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; font: .72rem/1.5 "DM Mono", monospace; text-transform: uppercase; }
.spectrum-foot p { margin: 0; }

.finale { min-height: 100svh; padding: 7rem var(--gutter) 2rem; display: flex; flex-direction: column; }
.finale-title { margin: auto 0 2rem; font-size: clamp(4.2rem, 12.8vw, 14rem); line-height: .78; letter-spacing: -.085em; font-weight: 800; text-transform: uppercase; }
.finale-title span { color: var(--lime); font-family: Georgia, serif; font-weight: 400; text-transform: lowercase; }
.finale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 5rem; }
.finale-grid p { margin: 0; max-width: 32rem; color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.5; }
.big-link { display: flex; justify-content: space-between; text-decoration: none; border-bottom: 2px solid white; padding-bottom: .5rem; font-size: clamp(2rem, 5vw, 5rem); line-height: 1; font-weight: 700; letter-spacing: -.06em; transition: color .2s ease, border-color .2s ease; }
.big-link:hover, .big-link:focus-visible { color: var(--lime); border-color: var(--lime); }
footer { display: flex; justify-content: space-between; padding-top: 1.4rem; border-top: 1px solid var(--line); color: #8a8f94; font: .7rem/1 "DM Mono", monospace; text-transform: uppercase; }
footer p { margin: 0; }
footer div { display: flex; gap: 1.5rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--lime); }

.reveal { opacity: 0; transform: translateY(2.5rem); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes settle { from { opacity: .3; transform: scale(1.09); } to { opacity: 1; transform: scale(1.025); } }

@media (max-width: 900px) {
  .topbar nav a:not(.nav-cta) { display: none; }
  .wordmark-label { display: none; }
  .hero-copy { padding-top: 6rem; }
  .hero-image { object-position: 42% center; }
  .hero h1 { font-size: clamp(4.1rem, 21vw, 8rem); line-height: .79; }
  .eyebrow span:last-child { display: none; }
  .origin-grid, .teaching-grid, .timeline-head, .lab, .finale-grid { grid-template-columns: 1fr; }
  .origin-grid { padding-bottom: 4rem; }
  .year-stamp { display: flex; align-items: baseline; gap: 1rem; }
  .milestone-strip { grid-template-columns: 1fr; }
  .milestone-strip article { min-height: 13rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .milestone-strip article:last-child { border-bottom: 0; }
  .teaching-grid { padding-bottom: 4rem; }
  .portrait-frame { order: -1; }
  .portrait-frame img { height: 70vh; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats article:nth-child(2) { border-right: 0; }
  .stats article:nth-child(-n+2) { border-bottom: 1px solid rgba(7,9,11,.3); }
  .access-copy .body-copy { margin: 2rem 0 0; }
  .timeline-head { gap: 2rem; }
  .reel { margin-left: 0; }
  .reel-item { grid-template-columns: 6rem 1.5rem 1fr; min-height: 14rem; }
  .reel-dot::after { height: calc(14rem - .8rem); }
  .proof-card { min-height: 22rem; }
  .lab-image-wrap { min-height: 70vh; }
  .spectrum-foot { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --display: clamp(3.35rem, 16vw, 5rem); }
  .chapter-mark span:last-child { display: none; }
  .hero-bottom p { font-size: .8rem; }
  .scroll-cue span:first-child { display: none; }
  .origin, .teaching, .access, .timeline, .proof, .lab-copy, .spectrum, .finale { padding-top: 5.5rem; padding-bottom: 4rem; }
  .origin-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: 1fr; }
  .stats article { border-right: 0; border-bottom: 1px solid rgba(7,9,11,.3); }
  .stats article:last-child { border-bottom: 0; }
  .reel-item { grid-template-columns: 4.5rem 1.2rem 1fr; gap: .6rem; }
  .reel-item h3 { font-size: 1.7rem; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { min-height: 19rem; border-right: 0; border-bottom: 1px solid rgba(7,9,11,.3) !important; }
  .proof-card:last-child { border-bottom: 0 !important; }
  .lab-image-wrap { min-height: 60vh; }
  .image-label span:last-child { display: none; }
  footer { gap: 2rem; align-items: flex-start; }
  footer div { flex-direction: column; gap: .7rem; text-align: right; }
}

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