:root {
  --ink: #070a09;
  --paper: #f1f2ee;
  --muted: #9ba39f;
  --line: rgba(241, 242, 238, 0.14);
  --green: #03d6a0;
  --green-soft: rgba(3, 214, 160, 0.2);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); overflow-x: hidden; }
button, a { font: inherit; }
a { color: inherit; }

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 20; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.masthead {
  height: 78px; position: fixed; inset: 0 0 auto; z-index: 15; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; padding: 0 clamp(22px, 5vw, 76px); border-bottom: 1px solid var(--line);
  background: rgba(7,10,9,.96);
}
.brand { font-size: 22px; letter-spacing: -.04em; text-decoration: none; width: max-content; }
.brand span { color: var(--green); }
.study-label { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.hairline { display: block; width: 32px; height: 1px; background: var(--green); }
.sound-toggle { justify-self: end; color: var(--paper); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; display: flex; gap: 10px; align-items: center; cursor: pointer; transition: border-color .25s, background .25s; }
.sound-toggle:hover { border-color: rgba(3,214,160,.7); background: rgba(3,214,160,.05); }
.sound-icon { display: flex; gap: 2px; align-items: center; height: 12px; }
.sound-icon i { display: block; width: 2px; height: 3px; background: var(--green); transition: height .2s; }
.sound-toggle[aria-pressed="true"] .sound-icon i:nth-child(1) { animation: meter .9s infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-icon i:nth-child(2) { animation: meter .6s .2s infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-icon i:nth-child(3) { animation: meter .8s .1s infinite alternate; }
.sound-toggle[aria-pressed="true"] .sound-icon i:nth-child(4) { animation: meter .5s .25s infinite alternate; }
@keyframes meter { to { height: 12px; } }

.cinema { position: relative; min-height: 100svh; overflow: hidden; border-bottom: 1px solid var(--line); }
#kleinCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; contain: strict; touch-action: pan-y; }
.axis { position: absolute; pointer-events: none; background: linear-gradient(90deg,transparent,var(--line),transparent); }
.axis-x { left: 4vw; right: 4vw; top: 52%; height: 1px; }
.axis-y { top: 12%; bottom: 6%; left: 60%; width: 1px; background: linear-gradient(transparent,var(--line),transparent); }
.coordinate { position: absolute; color: rgba(241,242,238,.25); font-family: var(--serif); font-style: italic; font-size: 12px; }
.coordinate-a { left: 59%; top: 16%; }.coordinate-b { right: 6%; bottom: 14%; color: var(--green); }
.topology-index { position:absolute; z-index:3; top:112px; right:clamp(24px,6vw,88px); display:flex; gap:26px; color:#53605a; font-family:var(--serif); font-size:11px; font-style:italic; letter-spacing:.02em; transition:opacity .8s; }
.topology-index span{display:flex;gap:6px}.topology-index b{color:#7e8a84;font-family:var(--sans);font-size:9px;font-style:normal;font-weight:500;letter-spacing:.12em;text-transform:uppercase}

.intro { position: absolute; z-index: 3; left: clamp(24px, 6vw, 88px); top: 50%; transform: translateY(-46%); width: min(510px, 40vw); transition: opacity .8s, transform .8s; }
.intro.hidden { opacity: 0; transform: translateY(-42%); pointer-events: none; }
.eyebrow { margin: 0 0 18px; color: var(--green); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0 0 26px; font-size: clamp(56px, 6vw, 104px); line-height: .9; letter-spacing: -.055em; font-weight: 400; }
h1 em, .meaning h2 em { color: var(--green); font-family: var(--serif); font-weight: 400; }
.lede { color: #b3bbb7; font-size: clamp(16px,1.25vw,19px); line-height: 1.65; max-width: 470px; }
.play-button { margin-top: 23px; padding: 0; color: var(--paper); border: 0; background: transparent; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; }
.play-disc { width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; padding-left: 3px; box-shadow: 0 0 0 0 rgba(3,214,160,.35); transition: background .25s, box-shadow .25s; }
.play-button:hover .play-disc { background: var(--green); box-shadow: 0 0 0 8px rgba(3,214,160,.1); }
.play-button b,.play-button small { display: block; }.play-button b { font-size: 15px; font-weight: 500; }.play-button small { color: var(--muted); margin-top: 4px; font-size: 12px; }

.chapter-panel { position: absolute; z-index: 4; left: clamp(24px,6vw,88px); bottom: 115px; width: min(570px,44vw); display: grid; grid-template-columns: 70px 1fr; gap: 20px; opacity: 0; transform: translateY(18px); transition: opacity .65s, transform .65s; pointer-events: none; }
.chapter-panel.visible { opacity: 1; transform: translateY(0); }
.chapter-number { color: var(--green); font-family: var(--serif); font-style: italic; font-size: 15px; padding-top: 4px; }
.chapter-kicker { color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; }
.chapter-panel h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(27px,2.6vw,45px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 13px; }
.chapter-panel p:last-child { color: #adb5b1; line-height: 1.55; font-size: 15px; max-width: 500px; margin: 0; }

.progress { position: absolute; z-index: 5; bottom: 35px; left: clamp(24px,6vw,88px); right: clamp(24px,6vw,88px); opacity: 0; transition: opacity .5s; }
.progress.visible { opacity: 1; }
.progress-line { height: 1px; background: var(--line); overflow: hidden; }.progress-line span { display: block; width: 0; height: 100%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.progress-labels { margin-top: 11px; display: flex; justify-content: space-between; color: #5e6863; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.skip { position: absolute; z-index: 7; right: clamp(24px,6vw,88px); bottom: 68px; color: #aeb6b2; background: transparent; border: 0; cursor: pointer; font-size: 12px; letter-spacing: .04em; }
.skip span { color: var(--green); margin-left: 5px; }
.cinema.playing .skip { opacity:0; pointer-events:none; }

.meaning { padding: clamp(90px,12vw,180px) clamp(24px,6vw,88px); }
.meaning-head { display: grid; grid-template-columns: .7fr 1.15fr 1fr; gap: 5vw; align-items: end; padding-bottom: clamp(65px,8vw,115px); }
.meaning-head .eyebrow { align-self: start; }
.meaning h2 { font-size: clamp(48px,5.7vw,90px); line-height: .92; letter-spacing: -.05em; font-weight: 400; margin: 0; }
.meaning-head > p:last-child { color: #adb5b1; font-size: clamp(16px,1.3vw,19px); line-height: 1.7; margin: 0; }
.translation-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.translation-grid article { position: relative; padding: 38px clamp(24px,3vw,46px) 50px; min-height: 430px; border-right: 1px solid var(--line); }
.translation-grid article:first-child { padding-left: 0; }.translation-grid article:last-child { border: 0; padding-right: 0; }
.index { color: var(--green); font-family: var(--serif); font-style: italic; font-size: 13px; }
.glyph { width: 128px; height: 128px; margin: 44px auto; position: relative; }
.loop-glyph { border: 1px solid rgba(241,242,238,.35); border-radius: 50% 50% 45% 55%; transform: rotate(38deg); box-shadow: inset 12px -8px 32px rgba(3,214,160,.1); }
.loop-glyph:before { content:""; position:absolute; inset:28px -12px; border:1px solid var(--green); border-radius:50%; transform:rotate(-72deg); }
.dimension-glyph:before,.dimension-glyph:after,.dimension-glyph i { content:""; position:absolute; inset:22px; border:1px solid rgba(241,242,238,.35); transform:rotate(45deg); }
.dimension-glyph:after { transform:rotate(45deg) translate(17px,-17px); border-color:rgba(3,214,160,.65); }.dimension-glyph i { transform:rotate(45deg) translate(-17px,17px); opacity:.4; }
.flow-glyph { display:flex; justify-content:center; align-items:center; gap:11px; }.flow-glyph i { height:92px; width:18px; border-radius:18px; border:1px solid rgba(241,242,238,.3); transform:rotate(18deg); }.flow-glyph i:nth-child(2){border-color:var(--green);transform:rotate(18deg) translateY(-8px)}
.translation-grid h3 { font-size: 22px; font-weight: 400; margin: 0 0 15px; }.translation-grid p { color: #98a19d; line-height: 1.65; font-size: 15px; margin: 0; }

.manifesto { margin: 0 clamp(24px,6vw,88px); min-height: 86vh; padding: 12vh 0; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 8vw; }
.manifesto-mark { width: min(34vw,420px); aspect-ratio:1; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; color:var(--green); font-family:var(--serif); font-style:italic; font-size:clamp(70px,10vw,150px); box-shadow: inset 0 0 80px rgba(3,214,160,.06), 0 0 120px rgba(3,214,160,.04); }
.manifesto-copy blockquote { font-family:var(--serif); font-size:clamp(38px,4.5vw,72px); line-height:1.03; letter-spacing:-.04em; margin:0 0 28px; }
.manifesto-copy > p:not(.eyebrow) { color:#adb5b1; font-size:18px; line-height:1.65; max-width:650px; }
.manifesto-copy a { display:inline-block; margin-top:24px; text-decoration:none; padding-bottom:7px; border-bottom:1px solid rgba(3,214,160,.6); }.manifesto-copy a span { color:var(--green); margin-left:8px; }

footer { height:90px; border-top:1px solid var(--line); padding:0 clamp(24px,6vw,88px); display:flex; justify-content:space-between; align-items:center; color:#717b76; font-size:12px; }

@media (max-width: 820px) {
  .noise { display: none; }
  .masthead { grid-template-columns:1fr auto; height:68px; }.study-label{display:none}.sound-toggle span:last-child{display:none}
  .cinema { min-height:max(100svh,760px); }.intro { top: 114px; transform:none; width:auto; right:24px; }.intro.hidden{transform:translateY(-12px)}
  h1{font-size:clamp(48px,14vw,68px)}.lede{max-width:420px;font-size:16px;line-height:1.52}.axis,.coordinate,.topology-index{display:none}
  .chapter-panel{left:24px;right:24px;bottom:82px;width:auto;grid-template-columns:40px 1fr;gap:12px}.chapter-panel h2{font-size:clamp(23px,6.6vw,29px);line-height:1.04;margin-bottom:10px}.chapter-panel p:last-child{font-size:14px;line-height:1.42}.chapter-kicker{font-size:10px;margin-bottom:8px}.chapter-number{font-size:13px}
  .progress{left:24px;right:24px;bottom:24px}.progress-labels span:nth-child(even){display:none}.skip{right:24px;bottom:54px}
  .meaning-head{grid-template-columns:1fr}.meaning-head .eyebrow{margin-bottom:0}.meaning-head>p:last-child{max-width:580px}
  .translation-grid{grid-template-columns:1fr}.translation-grid article,.translation-grid article:first-child,.translation-grid article:last-child{padding:32px 0 38px;min-height:0;border-right:0;border-bottom:1px solid var(--line)}.translation-grid article:last-child{border:0}.glyph{margin:28px auto}
  .manifesto{grid-template-columns:1fr;min-height:auto;padding:100px 0}.manifesto-mark{width:min(70vw,330px);margin:auto}
}

@media (prefers-reduced-motion: reduce) {
  html{scroll-behavior:auto}.sound-icon i{animation:none!important}.noise{display:none}
}
