:root {
  --ink: #050505;
  --paper: #f0efe9;
  --cknd-red: #ff3b30;
  --manual-blue: #3f7cff;
  --escape-yellow: #ffe600;
  --millennium-green: #39ff14;
  --acid: var(--millennium-green);
  --red: var(--cknd-red);
  --blue: var(--manual-blue);
  --muted: #858580;
  --accent: var(--cknd-red);
  --serif: "Bodoni 72", "Bodoni MT", Didot, Georgia, serif;
  --sans: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { 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;
  cursor: default;
}
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
::selection { color: var(--ink); background: var(--accent); }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  font: 700 0.72rem var(--mono);
}
.skip-link:focus { transform: none; }

.grain {
  position: fixed;
  inset: -100%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  animation: grain 0.18s steps(2) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(3%, -2%); }
  50% { transform: translate(-2%, 3%); }
  75% { transform: translate(2%, 2%); }
  100% { transform: translate(-3%, -1%); }
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.18s ease, background-color 0.35s ease;
  font: 800 0.61rem var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cursor.is-visible { transform: translate(-50%, -50%) scale(1); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2rem;
  padding: 1.15rem 2rem;
  mix-blend-mode: difference;
}
.wordmark { display: inline-flex; align-items: baseline; gap: 0.75rem; width: max-content; }
.wordmark > span {
  font: 500 clamp(1.8rem, 3.2vw, 3.35rem)/0.8 var(--serif);
  letter-spacing: -0.06em;
  color: var(--paper);
}
.wordmark small {
  max-width: 78px;
  font: 700 0.48rem/1.2 var(--mono);
  letter-spacing: 0.06em;
}
.site-header nav { display: flex; align-items: center; gap: 1.4rem; padding-top: 0.2rem; }
.site-header nav a,
.sound-toggle {
  border: 0;
  background: none;
  padding: 0;
  font: 700 0.62rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.site-header nav a::after { content: ""; display: block; width: 0; height: 1px; margin-top: 0.3rem; background: currentColor; transition: width 0.25s ease; }
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after { width: 100%; }
.sound-toggle { display: inline-flex; align-items: center; gap: 0.42rem; }
.sound-dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.sound-toggle[aria-pressed="true"] .sound-dot { background: currentColor; box-shadow: 0 0 9px currentColor; }
.edition {
  justify-self: end;
  text-align: right;
  font: 700 0.52rem/1.3 var(--mono);
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 8.8rem 2rem 4rem;
  background:
    radial-gradient(circle at 55% 58%, rgba(57,255,20,0.085), transparent 25%),
    var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 49.94%, rgba(255,255,255,0.08) 50%, transparent 50.06%);
}
.hero-kicker {
  position: absolute;
  top: 28%;
  left: 2rem;
  font: 700 0.58rem var(--mono);
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font: 500 clamp(5.4rem, 14.6vw, 15.5rem)/0.67 var(--serif);
  letter-spacing: -0.088em;
  text-align: center;
  text-transform: uppercase;
  color: var(--millennium-green);
}
.hero-title .line { display: block; }
.hero-title .line-two { margin-left: 0.4em; color: transparent; -webkit-text-stroke: 1.2px var(--millennium-green); }
.hero-frame {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 49%;
  width: min(48vw, 650px);
  aspect-ratio: 1.6 / 1;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-2deg);
  overflow: hidden;
  clip-path: polygon(5% 0, 96% 4%, 100% 92%, 2% 100%);
  box-shadow: 0 2.2rem 5rem rgba(0,0,0,0.65);
}
.hero-frame::before,
.chapter-media::before,
.live-cut::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0,0,0,0.15) 4px);
  mix-blend-mode: multiply;
}
.hero-frame img { height: 100%; object-fit: cover; object-position: 49% 48%; filter: saturate(0.75) contrast(1.16); transform: scale(1.03); transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .5s; }
.hero-frame:hover img { transform: scale(1.09); filter: saturate(1) contrast(1.08); }
.hero-frame figcaption {
  position: absolute;
  z-index: 3;
  inset: auto 0.8rem 0.8rem;
  display: flex;
  justify-content: space-between;
  font: 700 0.52rem var(--mono);
  text-shadow: 0 1px 4px #000;
}
.hero-intro {
  position: absolute;
  z-index: 4;
  right: 3vw;
  bottom: 13%;
  margin: 0;
  font: italic 500 clamp(0.9rem, 1.35vw, 1.25rem)/1.25 var(--serif);
}
.enter-link {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 3.7rem;
  transform: translateX(-50%);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.32rem;
  font: 800 0.65rem var(--mono);
  letter-spacing: 0.12em;
}
.enter-link span { display: inline-block; margin-left: 0.7rem; animation: drop 1.1s ease-in-out infinite alternate; }
@keyframes drop { to { transform: translateY(5px); } }
.hero-index {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  font: 700 0.6rem var(--mono);
  letter-spacing: 0.12em;
}

.manifesto {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(280px, 2fr) 1fr;
  gap: 6vw;
  min-height: 100svh;
  padding: 12rem 6vw 8rem;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.section-label { margin: 0; font: 700 0.58rem var(--mono); letter-spacing: 0.11em; }
.manifesto-copy { max-width: 940px; }
.manifesto-copy > p { margin: 0 0 1.2em; font: 500 clamp(1.65rem, 3.1vw, 3.6rem)/1.02 var(--serif); letter-spacing: -0.038em; }
.manifesto-copy > p:first-child { font-style: italic; }
.manifesto-copy > .manifesto-closing {
  margin-top: 1.6em;
  color: var(--millennium-green);
  font-size: clamp(2.8rem, 5.7vw, 6.7rem);
  line-height: 0.86;
  letter-spacing: -0.06em;
}
.manifesto-side { align-self: end; margin: 0; color: var(--muted); font: 700 0.62rem/1.4 var(--mono); }

.chapter {
  --chapter-accent: var(--cknd-red);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 5vw;
  min-height: 120svh;
  padding: 17vh 6vw 22vh;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: var(--ink);
}
.chapter-one { --chapter-accent: var(--cknd-red); }
.chapter-book { --chapter-accent: var(--manual-blue); }
.chapter-two { --chapter-accent: var(--escape-yellow); }
.chapter-three { --chapter-accent: var(--millennium-green); }
.chapter-media {
  position: sticky;
  top: 15vh;
  align-self: start;
  height: 70vh;
  overflow: hidden;
  background: #111;
  box-shadow: 0 1rem 5rem rgba(0,0,0,0.3);
}
.chapter-media img { height: 100%; object-fit: cover; filter: saturate(0.68) contrast(1.12); transition: transform 1s ease, filter 0.6s; }
.chapter-media:hover img { transform: scale(1.045); filter: saturate(1) contrast(1.04); }
.chapter-one .chapter-media img { object-position: 45% 30%; }
.chapter-book .chapter-media img { object-position: 50% 50%; }
.chapter-two .chapter-media img { object-position: 52% 35%; }
.media-stamp {
  position: absolute;
  z-index: 4;
  top: 1rem;
  right: 1rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--chapter-accent);
  color: var(--chapter-accent);
  font: 700 0.53rem/1.2 var(--mono);
  text-align: right;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(8px);
}
.book-media { clip-path: polygon(7% 0, 100% 4%, 96% 100%, 0 96%); }
.book-spine {
  position: absolute;
  z-index: 4;
  left: 1rem;
  bottom: 1rem;
  font: 700 0.54rem var(--mono);
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--chapter-accent);
}
.chapter-copy { align-self: center; position: relative; z-index: 3; padding: 10vh 0; }
.chapter-meta { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 0.7rem; color: var(--chapter-accent); font: 700 0.58rem var(--mono); letter-spacing: 0.11em; }
.chapter-copy h2 { margin: 3rem 0; color: var(--chapter-accent); font: 500 clamp(4rem, 7vw, 8rem)/0.74 var(--serif); letter-spacing: -0.065em; }
.chapter-three .chapter-copy h2.chapter-title-millennium { font-size: clamp(3.4rem, 6vw, 6.6rem); line-height: 0.78; }
.chapter-lede { margin: 0 0 2rem; max-width: 600px; font: italic 500 clamp(1.45rem, 2.4vw, 2.65rem)/1.02 var(--serif); }
.chapter-copy > p:not(.chapter-lede) { max-width: 590px; color: #bebdb7; font-size: clamp(0.95rem, 1.1vw, 1.15rem); line-height: 1.55; }
.track-button {
  display: flex;
  justify-content: space-between;
  width: min(100%, 590px);
  margin-top: 3rem;
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid var(--chapter-accent);
  border-bottom: 1px solid var(--chapter-accent);
  background: none;
  color: var(--chapter-accent);
  font: 800 0.65rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}
.track-button span { transition: transform 0.25s; }
.track-button:hover span { transform: translate(4px, -4px); }
.chapter-word {
  position: absolute;
  z-index: 0;
  left: -0.08em;
  bottom: -0.14em;
  color: transparent;
  -webkit-text-stroke: 1px var(--chapter-accent);
  opacity: 0.14;
  font: 500 clamp(8rem, 20vw, 22rem)/0.8 var(--serif);
  letter-spacing: -0.07em;
  white-space: nowrap;
  pointer-events: none;
}
.status-chip { display: inline-block; margin-top: 1.2rem; padding: 0.45rem 0.6rem; border: 1px solid var(--chapter-accent); color: var(--chapter-accent); font: 700 0.53rem var(--mono); letter-spacing: 0.08em; }
.dual-media { overflow: visible; background: transparent; box-shadow: none; }
.dual-media::before { display: none; }
.dual-media .primary-image { position: absolute; inset: 0 8% 0 0; width: 72%; height: 100%; object-fit: cover; object-position: center 33%; filter: saturate(0.8) contrast(1.1); clip-path: polygon(3% 0, 97% 4%, 100% 100%, 0 96%); }
.dual-media .secondary-image { position: absolute; right: 0; bottom: -4%; width: 45%; height: 42%; object-fit: cover; border: 8px solid var(--ink); filter: saturate(0.75) contrast(1.15); transform: rotate(3deg); }

.continuum {
  min-height: 110svh;
  padding: 11rem 6vw 8rem;
  background: var(--paper);
  color: var(--ink);
}
.continuum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 7rem; background: rgba(0,0,0,0.2); }
.continuum-grid article { min-height: 280px; padding: 1.4rem; background: var(--paper); }
.continuum-grid span { font: 700 0.58rem var(--mono); }
.continuum-grid h3 { margin: 6rem 0 0.5rem; font: 500 clamp(2rem, 4vw, 4.8rem)/0.8 var(--serif); letter-spacing: -0.05em; }
.continuum-grid p { margin: 0; font: italic 500 1.1rem var(--serif); }
.continuum-statement { max-width: 1100px; margin: 8rem auto 0; text-align: center; font: 500 clamp(3rem, 6.5vw, 7rem)/0.9 var(--serif); letter-spacing: -0.055em; }

.live-cut { position: relative; height: 115svh; overflow: hidden; background: #d60000; }
.live-cut img { height: 100%; object-fit: cover; object-position: 50% 44%; filter: saturate(0.82) contrast(1.12); transform: scale(1.1) translateX(4%); }
.live-cut::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.84)); }
.live-title { position: absolute; z-index: 3; left: 4vw; right: 4vw; top: 8%; display: flex; flex-direction: column; font: 500 clamp(5rem, 13vw, 14rem)/0.68 var(--serif); letter-spacing: -0.07em; }
.live-title span:first-child { color: var(--ink); }
.live-title span:last-child { align-self: flex-end; color: var(--acid); }
.live-cut > p { position: absolute; z-index: 4; left: 6vw; bottom: 7%; margin: 0; font: italic 500 clamp(1.6rem, 3vw, 3.5rem)/1 var(--serif); }

.closing { display: grid; place-items: center; min-height: 100svh; padding: 8rem 2rem; text-align: center; background: var(--ink); }
.closing-kicker { font: 700 0.58rem var(--mono); letter-spacing: 0.11em; }
.closing h2 { margin: 3rem 0 5rem; color: var(--acid); font: 500 clamp(4rem, 10vw, 11rem)/0.72 var(--serif); letter-spacing: -0.07em; }
.back-top { border-bottom: 1px solid; padding-bottom: 0.3rem; font: 700 0.65rem var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }

.filmstrip {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 1rem;
  display: flex;
  gap: 4px;
  transform: translate(-50%, 160%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.3s;
}
.filmstrip.is-visible { transform: translate(-50%, 0); opacity: 1; }
.filmstrip a { position: relative; width: 64px; height: 38px; overflow: hidden; border: 1px solid rgba(255,255,255,0.32); background: #111; transition: width 0.25s, border-color 0.25s; }
.filmstrip img { height: 100%; object-fit: cover; opacity: 0.55; filter: grayscale(1); }
.filmstrip span { position: absolute; right: 3px; bottom: 2px; font: 700 0.46rem var(--mono); text-shadow: 0 1px 2px #000; }
.filmstrip a:hover,
.filmstrip a.is-active { width: 96px; border-color: var(--accent); }
.filmstrip a.is-active img { opacity: 1; filter: none; }

footer { display: flex; justify-content: space-between; padding: 1rem 2rem 5rem; border-top: 1px solid rgba(255,255,255,0.14); font: 700 0.53rem var(--mono); letter-spacing: 0.08em; }

.track-dialog {
  width: min(1000px, calc(100vw - 2rem));
  max-height: min(850px, calc(100svh - 2rem));
  margin: auto;
  padding: clamp(2rem, 5vw, 5rem);
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}
.track-dialog::backdrop { background: rgba(0,0,0,0.78); backdrop-filter: blur(12px); }
.dialog-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; background: transparent; font-size: 1.5rem; cursor: pointer; }
.dialog-number { position: absolute; right: 5%; bottom: -0.2em; color: rgba(0,0,0,0.07); font: 500 clamp(10rem, 30vw, 24rem)/0.7 var(--serif); }
.dialog-label { position: relative; z-index: 1; font: 700 0.58rem var(--mono); letter-spacing: 0.1em; }
.track-dialog h2 { position: relative; z-index: 1; max-width: 800px; margin: 2rem 0 3rem; font: 500 clamp(3rem, 7vw, 6.5rem)/0.82 var(--serif); letter-spacing: -0.06em; }
.track-dialog h2.dialog-title-long { max-width: 900px; font-size: clamp(2.6rem, 5.5vw, 5.25rem); line-height: 0.88; }
.track-dialog ol { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; }
.track-dialog li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.8rem; padding: 0.64rem 0; border-top: 1px solid rgba(0,0,0,0.25); font-weight: 700; }
.track-dialog li span { font: 700 0.6rem var(--mono); }
.track-dialog .two-column { columns: 2; column-gap: 3rem; }
.track-dialog .two-column li { break-inside: avoid; }
.dialog-note { position: relative; z-index: 1; max-width: 650px; margin: 3rem 0 0; font: italic 500 1.3rem/1.15 var(--serif); }
.dialog-bigcopy { position: relative; z-index: 1; max-width: 840px; font: 500 clamp(1.15rem, 1.7vw, 1.7rem)/1.16 var(--serif); }
.dialog-bigcopy p { margin: 0 0 1em; }
.dialog-bigcopy cite { font-style: italic; }
.book-dialog { padding: clamp(2rem, 4vw, 3.5rem); }
.book-dialog h2 { font-size: clamp(3rem, 5vw, 5.2rem); margin: 1.5rem 0 1.7rem; }
.book-dialog h2.book-dialog-title { max-width: 900px; font-size: clamp(2.8rem, 4.4vw, 4.8rem); line-height: 0.94; }
.book-dialog h2.book-dialog-title span,
.book-dialog h2.book-dialog-title small { display: block; }
.book-dialog h2.book-dialog-title small { margin-top: 0.35em; font-size: 0.46em; line-height: 1.05; letter-spacing: -0.035em; }
.book-dialog .dialog-bigcopy { max-width: 900px; font-size: clamp(1.05rem, 1.35vw, 1.35rem); line-height: 1.2; }
.book-dialog .dialog-bigcopy p { margin-bottom: 0.75em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 1rem; }
  .site-header nav a { display: none; }
  .edition { display: none; }
  .hero { padding: 8rem 1rem 5rem; }
  .hero-kicker { display: none; }
  .hero-title { padding-top: 4vh; font-size: clamp(4.7rem, 20vw, 9rem); }
  .hero-frame { top: 52%; width: min(84vw, 620px); aspect-ratio: 1 / 1.12; }
  .hero-frame img { object-position: 47% 50%; }
  .hero-intro { right: 1rem; bottom: 15%; font-size: 0.9rem; }
  .hero-index { left: 1rem; }
  .manifesto { grid-template-columns: 1fr; gap: 3rem; padding: 8rem 1rem; }
  .manifesto-copy > p { font-size: clamp(1.7rem, 7.4vw, 3rem); }
  .manifesto-copy > .manifesto-closing { font-size: clamp(3rem, 12.5vw, 5rem); }
  .manifesto-side { display: none; }
  .chapter { grid-template-columns: 1fr; min-height: auto; padding: 8rem 1rem 11rem; }
  .chapter-media { position: relative; top: 0; height: 64svh; }
  .chapter-copy { padding: 1.5rem 0 4rem; }
  .chapter-copy h2 { margin: 2rem 0; font-size: clamp(3.6rem, 15vw, 6.4rem); }
  .chapter-three .chapter-copy h2.chapter-title-millennium { font-size: clamp(3.2rem, 15vw, 5.5rem); }
  .chapter-word { font-size: 35vw; }
  .dual-media .primary-image { width: 78%; }
  .dual-media .secondary-image { width: 50%; height: 38%; }
  .continuum { padding: 8rem 1rem 6rem; }
  .continuum-grid { grid-template-columns: 1fr; margin-top: 4rem; }
  .continuum-grid article { min-height: 210px; }
  .continuum-grid h3 { margin-top: 4rem; }
  .continuum-statement { margin-top: 6rem; }
  .live-title { top: 12%; font-size: 18vw; }
  .live-cut { height: 95svh; }
  .live-cut img { object-position: 56% 48%; transform: none; }
  .filmstrip { bottom: 0.65rem; }
  .filmstrip a { width: 52px; height: 32px; }
  footer { flex-direction: column; gap: 0.6rem; padding: 1rem 1rem 5rem; }
  .track-dialog .two-column { columns: 1; }
}

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