:root {
  --bg: #070708;
  --ink: #f5f5f7;
  --muted: #a1a1aa;
  --faint: #8a8a93;
  --paper: #f3f0e8;
  --paper-2: #e7e1d4;
  --ink-dark: #141416;
  --muted-dark: #5e594f;
  --red: #e50914;
  --line: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --dwell: 6.8s;
  --max: 1240px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "General Sans", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo, .poster-title, .slide-no, .menu a, .chapter-no {
  font-family: "Cabinet Grotesk", "Avenir Next", "Segoe UI", sans-serif;
}

h1, h2, h3, p { margin: 0; }

button, input, textarea { font: inherit; color: inherit; }

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; }

::selection { background: var(--red); color: white; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  background: white;
  color: black;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}

.skip:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/></svg>");
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.55);
  animation: pulse 2.2s var(--ease) infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: 3.15rem;
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 500ms var(--ease), background 500ms var(--ease), color 500ms var(--ease);
}

.btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.06); }

.btn:active { transform: scale(0.98); }

.btn-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--red);
  color: white;
  transition: transform 500ms var(--ease);
}

.btn-light { background: var(--ink); color: var(--ink-dark); }

.btn-light:hover { background: white; }

.btn-dark { background: var(--ink-dark); color: var(--ink); }

.btn-dark:hover { background: #000; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.btn-ghost .btn-icon { background: rgba(255, 255, 255, 0.1); }

.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

.btn-block { width: 100%; }

.nav-wrap {
  position: fixed;
  z-index: 30;
  top: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(860px, 100%);
  padding: 0.4rem 0.4rem 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(12, 12, 14, 0.62);
  backdrop-filter: blur(18px);
  transition: background 500ms var(--ease), color 500ms var(--ease), border-color 500ms var(--ease);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo-mark {
  display: block;
  width: 1.55rem;
  height: 1.48rem;
  object-fit: contain;
  filter: invert(1);
}

body.on-paper .nav .logo-mark { filter: none; }

.nav-links { display: flex; align-items: center; gap: 0.15rem; }

.nav-links a {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: rgba(245, 245, 247, 0.72);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.nav-end { display: flex; align-items: center; gap: 0.35rem; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ink-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
}

.nav-toggle span {
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 500ms var(--ease), top 500ms var(--ease);
}

.nav-toggle span:first-child { top: 0.92rem; }
.nav-toggle span:last-child { top: 1.52rem; }

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 1.22rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 1.22rem;
  transform: rotate(-45deg);
}

body.on-paper .nav {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-dark);
  border-color: rgba(20, 20, 22, 0.08);
}

body.on-paper .nav-links a { color: rgba(20, 20, 22, 0.68); }

body.on-paper .nav-links a:hover,
body.on-paper .nav-links a[aria-current="true"] {
  color: var(--ink-dark);
  background: rgba(20, 20, 22, 0.05);
}

body.on-paper .nav-cta { background: var(--ink-dark); color: var(--ink); }

body.on-paper :focus-visible { outline-color: var(--ink-dark); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: center;
  padding: 6.5rem var(--pad) 3.5rem;
  background: #070708;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 500ms var(--ease), visibility 500ms var(--ease);
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu a {
  display: block;
  font-size: clamp(2.7rem, 12vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.menu.is-open a { opacity: 1; transform: none; }
.menu.is-open a:nth-child(1) { transition-delay: 70ms; }
.menu.is-open a:nth-child(2) { transition-delay: 130ms; }
.menu.is-open a:nth-child(3) { transition-delay: 190ms; }

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 0 2.2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(78vw, 820px);
  height: min(78vw, 820px);
  right: -8vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.2), transparent 64%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  display: grid;
  gap: clamp(1.8rem, 4vh, 3rem);
}

.hero-copy h1 {
  font-size: clamp(3.6rem, 8.4vw, 7.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.lead {
  max-width: 38rem;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero-copy > * {
  animation: rise 900ms var(--ease) both;
}

.hero-copy > *:nth-child(2) { animation-delay: 70ms; }
.hero-copy > *:nth-child(3) { animation-delay: 130ms; }
.hero-copy > *:nth-child(4) { animation-delay: 190ms; }

.bezel {
  padding: 0.45rem;
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bezel-light {
  background: rgba(20, 20, 22, 0.04);
  box-shadow: inset 0 0 0 1px rgba(20, 20, 22, 0.06);
}

.screen {
  position: relative;
  overflow: hidden;
  border-radius: 1.3rem;
  background: #0c0c0e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  min-height: clamp(210px, 30vh, 360px);
}

.hero-bezel .screen { min-height: clamp(220px, 32vh, 390px); }

.screen { container-type: inline-size; }

.feed,
.feed-bg,
.feed-windows,
.feed-floor,
.feed-sweep,
.feed-vignette,
.screen-scan,
.feed-bar {
  position: absolute;
  pointer-events: none;
}

.feed { inset: 0; overflow: hidden; }

.feed-bg {
  inset: -8%;
  background:
    radial-gradient(42% 70% at 18% 42%, rgba(229, 9, 20, 0.55), transparent 62%),
    radial-gradient(38% 60% at 82% 48%, rgba(90, 140, 190, 0.38), transparent 64%),
    linear-gradient(100deg, #1a0c10, #10141c 58%, #0c1218);
  animation: drift 18s var(--ease) infinite alternate;
}

.feed-windows {
  top: 16%;
  left: -30%;
  width: 170%;
  height: 22%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 3.2cqi,
    rgba(255, 255, 255, 0.07) 3.2cqi 6.4cqi,
    transparent 6.4cqi 10cqi
  );
  animation: pan 22s linear infinite;
}

.feed-floor {
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 48%;
  background:
    linear-gradient(transparent, rgba(0, 0, 0, 0.45) 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7cqi);
  transform: perspective(280px) rotateX(28deg);
  transform-origin: center bottom;
}

.lane {
  position: absolute;
  left: 0;
  width: 4rem;
  animation: march linear infinite;
}

.lane-far { bottom: 46%; animation-duration: 16s; animation-delay: -6s; }
.lane-mid { bottom: 34%; animation-duration: 11s; animation-delay: -4s; }
.lane-near { bottom: 20%; animation-duration: 8.5s; }

.track {
  position: relative;
  width: 40px;
  height: 78px;
}

.track::before {
  content: "";
  position: absolute;
  inset: -8px -10px 2px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(229, 9, 20, 0.45);
  animation: box-breathe 1.6s ease-in-out infinite;
}

.feed-sweep {
  inset: -20% -10%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.09) 50%, transparent 60%);
  animation: sweep 7.5s linear infinite;
}

.feed-vignette {
  inset: 0;
  background:
    radial-gradient(70% 80% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(transparent 70%, rgba(0, 0, 0, 0.35));
}

.screen-scan {
  left: 0;
  right: 0;
  z-index: 2;
  height: 16%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: scan 7.5s linear infinite;
}

.feed-bar {
  z-index: 3;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.42rem;
  height: 2px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.feed-bar i {
  display: block;
  width: 28%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  animation: playhead 9s linear infinite;
}

.finder,
.screen-hud,
.screen-mark { z-index: 3; }

.finder span {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.finder span:nth-child(1) { top: 0.9rem; left: 0.9rem; border-right: 0; border-bottom: 0; }
.finder span:nth-child(2) { top: 0.9rem; right: 0.9rem; border-left: 0; border-bottom: 0; }
.finder span:nth-child(3) { bottom: 0.9rem; left: 0.9rem; border-right: 0; border-top: 0; }
.finder span:nth-child(4) { bottom: 0.9rem; right: 0.9rem; border-left: 0; border-top: 0; }

.screen-hud,
.screen-mark,
.stage-note {
  position: absolute;
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.screen-mark {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.screen-mark .logo-mark {
  width: 1.05rem;
  height: 1rem;
  filter: invert(1);
}

.screen-hud {
  top: 1rem;
  left: 1.15rem;
  right: 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.live { display: inline-flex; align-items: center; gap: 0.45rem; }

.screen-mark {
  left: 1.15rem;
  bottom: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

.billboard { position: relative; background: #10080b; }

.slides { min-height: 100dvh; }

.slide {
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 7.5rem var(--pad) 8.5rem;
  overflow: hidden;
  background: #14080b;
}

html.js .slides { position: relative; }

html.js .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms var(--ease);
}

html.js .slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.slide::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.slide[data-module="incidents"] {
  background:
    radial-gradient(80% 70% at 82% 28%, rgba(229, 9, 20, 0.72), transparent 56%),
    radial-gradient(50% 40% at 18% 80%, rgba(90, 16, 28, 0.85), transparent 60%),
    #14080b;
}

.slide[data-module="engagement"] {
  background:
    radial-gradient(70% 60% at 78% 30%, rgba(214, 186, 92, 0.42), transparent 55%),
    radial-gradient(40% 40% at 20% 75%, rgba(70, 90, 48, 0.7), transparent 60%),
    #12140e;
}

.slide[data-module="attendance"] {
  background:
    radial-gradient(70% 60% at 80% 36%, rgba(126, 186, 255, 0.4), transparent 56%),
    radial-gradient(40% 45% at 12% 80%, rgba(18, 48, 78, 0.85), transparent 62%),
    #070c12;
}

.slide-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 46rem);
}

.slide-copy h2 { max-width: 11ch; }

.slide-copy h2 {
  font-size: clamp(3rem, 6.4vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.slide-copy p:last-child {
  max-width: 34rem;
  margin-top: 1rem;
  color: rgba(245, 245, 247, 0.78);
  font-size: 1.08rem;
}

.slide-no {
  position: absolute;
  right: -0.04em;
  bottom: -0.08em;
  z-index: 0;
  margin: 0;
  font-size: clamp(9rem, 26vw, 20rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.reel {
  position: absolute;
  z-index: 0;
  top: 13%;
  right: max(5vw, 3rem);
  width: min(34vw, 440px);
  height: min(34vh, 300px);
  pointer-events: none;
  container-type: inline-size;
}

html.js .slide:not(.is-active) .reel,
html.js .slide:not(.is-active) .reel * { animation-play-state: paused; }

.clip {
  position: absolute;
  inset: 8% 0 22% 8%;
  overflow: hidden;
  border-radius: 1.3rem;
  background: rgba(0, 0, 0, 0.32);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.incident {
  left: 22%;
  right: 22%;
}

.incident .ground {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 16%;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
}

.bout {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 8.6rem;
  height: 4.8rem;
  margin-left: -4.3rem;
}

.bout::before {
  content: "";
  position: absolute;
  inset: 2px -4px 2px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.aggressor,
.victim {
  position: absolute;
  bottom: 0;
}

.aggressor {
  left: 0;
  animation: lunge 3.8s linear infinite;
}

.victim {
  left: 4.15rem;
  transform-origin: 55% 100%;
  animation: fall 3.8s linear infinite;
}

.hit {
  position: absolute;
  top: 1.35rem;
  left: 3.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.9);
  opacity: 0;
  animation: impact 3.8s linear infinite;
}

.reel-room,
.reel-pass { display: block; padding: 0; }

.desks {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.7rem;
}

.seat {
  position: relative;
  flex: 1;
  height: 7.4rem;
}

.pupil {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: calc(1.55rem - 5.6px);
  width: 42px;
  height: 50.4px;
  margin-left: -21px;
}

.desk {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  height: 0.85rem;
  border-radius: 0.2rem;
  background: rgba(255, 255, 255, 0.92);
}

.desk::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  top: 100%;
  height: 0.7rem;
  border-left: 2px solid rgba(255, 255, 255, 0.75);
  border-right: 2px solid rgba(255, 255, 255, 0.75);
}

.seat.is-on .desk b {
  position: absolute;
  left: 18%;
  height: 2px;
  border-radius: 99px;
  background: #141416;
  transform-origin: left center;
  animation: write 1.6s ease-in-out infinite;
}

.seat.is-on .desk b:first-child { top: 3px; width: 62%; }
.seat.is-on .desk b:last-child { top: 8px; width: 40%; animation-delay: 0.35s; }

.seat.is-on::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 2.62rem;
  width: 2.2rem;
  height: 2.2rem;
  margin-left: -1.1rem;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.8);
}

.arm {
  position: absolute;
  top: 20px;
  left: 12px;
  width: 16px;
  height: 3px;
  border-radius: 99px;
  background: #f4f4f6;
  transform-origin: left center;
  animation: raise 2.8s var(--ease) infinite;
}

.arm::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3px;
  height: 8px;
  border-radius: 99px;
  background: inherit;
}

.halo {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85);
  animation: halo 2.8s var(--ease) infinite;
}

.reel-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.follow em {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gate {
  position: absolute;
  top: auto;
  bottom: 16%;
  height: 8.2rem;
  left: 60%;
  width: 3rem;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.88);
}

.gate::before,
.gate::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255, 255, 255, 0.88);
}

.gate::before { left: 0; }
.gate::after { right: 0; }

.gate .stamp {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 14px;
  height: 8px;
  margin-left: -7px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  animation: stamp 7.4s linear infinite;
}

.reel-room .is-on { animation: none; }

.reel-pass .post { display: none; }

.walker {
  position: absolute;
  bottom: 18%;
  left: 6%;
  animation: approach 7.4s linear infinite;
}

.walker.pass-b {
  left: 0;
  opacity: 0.72;
  animation-delay: -3.7s;
}

.billboard-controls {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  right: var(--pad);
  bottom: 1.4rem;
  display: grid;
  gap: 0.65rem;
}

.text-btn {
  justify-self: start;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticks { display: flex; gap: 0.85rem; }

.tick {
  flex: 1;
  text-align: left;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.tick[aria-selected="true"] { color: white; }

.tick-track {
  display: block;
  height: 2px;
  margin-top: 0.45rem;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.22);
}

.tick-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: white;
  transform: scaleX(0);
  transform-origin: left center;
}

.tick[aria-selected="true"] .tick-bar {
  animation: tickfill var(--dwell) linear forwards;
}

.billboard.is-paused .tick-bar { animation-play-state: paused; }

.catalog { padding: 4.2rem 0 5rem; }

.catalog-head,
.catalog-hint {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-left: auto;
  margin-right: auto;
}

.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.catalog-head h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.row-nav { display: flex; gap: 0.45rem; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transition: background 400ms var(--ease), transform 400ms var(--ease);
}

.icon-btn:hover { background: rgba(255, 255, 255, 0.06); }

.icon-btn:active { transform: scale(0.96); }

.icon-btn:disabled { opacity: 0.35; cursor: default; }

.icon-btn[data-row="prev"] svg { transform: scaleX(-1); }

.row-scroller {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem var(--pad) 1rem;
  scrollbar-width: none;
  cursor: grab;
}

.row-scroller::-webkit-scrollbar { display: none; }

.row-scroller.is-dragging { cursor: grabbing; }

.row-edge { flex: 0 0 4px; }

.poster {
  flex: 0 0 clamp(240px, 28vw, 360px);
  scroll-snap-align: start;
  text-align: left;
  color: white;
  user-select: none;
}

.poster-shell {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  padding: 0.4rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.poster-fill,
.poster-shade,
.poster-body { position: absolute; }

.poster-fill {
  inset: 0.4rem;
  border-radius: 1.1rem;
  transition: transform 700ms var(--ease);
}

.poster:hover .poster-fill,
.poster:focus-visible .poster-fill { transform: scale(1.06); }

.art-incidents {
  background:
    radial-gradient(80% 55% at 70% 18%, rgba(255, 90, 80, 0.95), transparent 58%),
    linear-gradient(165deg, #3a1018, #12080b 68%);
}

.art-engagement {
  background:
    radial-gradient(70% 50% at 30% 24%, rgba(226, 206, 130, 0.75), transparent 55%),
    linear-gradient(180deg, #2a3324, #10140e 72%);
}

.art-engagement::after,
.art-attendance::after,
.art-incidents::after { content: none; }

.card-scene {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 7%;
  bottom: 44%;
  pointer-events: none;
}

.card-desk .top {
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 10%;
  height: 16px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.94);
}
.card-desk .top::before,
.card-desk .top::after {
  content: "";
  position: absolute;
  left: 14%;
  height: 2px;
  border-radius: 99px;
  background: #141416;
}
.card-desk .top::before { top: 4px; width: 58%; }
.card-desk .top::after { top: 9px; width: 36%; }

.card-door .door {
  position: absolute;
  right: 16%;
  bottom: 6%;
  width: 3.4rem;
  height: 78%;
  box-shadow: inset 0 3px 0 #f4f4f6, inset 3px 0 0 #f4f4f6, inset -3px 0 0 #f4f4f6;
}
.card-door .door::after {
  content: "";
  position: absolute;
  top: 22%;
  left: 50%;
  width: 16px;
  height: 9px;
  margin-left: -8px;
  border-left: 3px solid #f4f4f6;
  border-bottom: 3px solid #f4f4f6;
  transform: rotate(-48deg);
}

.art-attendance {
  background:
    radial-gradient(60% 40% at 80% 78%, rgba(140, 198, 255, 0.55), transparent 55%),
    linear-gradient(200deg, #163049, #0a1018 70%);
}

.art-attendance::after { content: none; }

.poster-shade {
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.4rem;
  height: 52%;
  border-radius: 0 0 1.1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.poster-body {
  left: 1.15rem;
  right: 1rem;
  bottom: 1.05rem;
  display: grid;
  gap: 0.15rem;
}

.poster-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.7);
}

.poster-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.poster-note {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.catalog-hint {
  margin-top: 0.4rem;
  color: var(--faint);
  font-size: 0.92rem;
}

.story {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(5rem, 10vw, 8rem);
}

.story-lead,
.story-grid {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-left: auto;
  margin-right: auto;
}

.story-lead { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.story-lead h2,
.request-intro h2 {
  max-width: 10em;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.story-grid {
  display: grid;
  gap: 1.5rem;
}

.story-stage { min-height: 320px; }

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  padding: 1.15rem 1.15rem 2.6rem;
  transition: opacity 600ms var(--ease);
}

.story-stage[data-scene="stream"] .scene-stream,
.story-stage[data-scene="read"] .scene-read,
.story-stage[data-scene="people"] .scene-people { opacity: 1; }

.scene-stream {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.7rem;
  height: 100%;
}

.cam {
  border-radius: 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(180deg, transparent, transparent 14px, rgba(255, 255, 255, 0.035) 15px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cam span {
  position: absolute;
  left: 0.75rem;
  bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.cam.is-hot {
  background:
    radial-gradient(80% 70% at 80% 0%, rgba(229, 9, 20, 0.55), transparent 58%),
    linear-gradient(180deg, #2a1218, #12080c);
}

.cam.is-hot::after {
  content: "";
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.8s var(--ease) infinite;
}

.cam { position: relative; overflow: hidden; }

.cam::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.16), transparent);
  animation: cam-scan 3.8s linear infinite;
}

.scene-read,
.scene-people {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
}

.step,
.pass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.3rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.step.is-hot { animation: lift 2.2s ease-in-out infinite; }

.step.is-hot,
.pass.is-on {
  background: var(--ink);
  color: var(--ink-dark);
  box-shadow: none;
}

.pass span:last-child {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage-note {
  left: 1.1rem;
  bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

.chapter { padding: 1.4rem 0 0.4rem; }

.chapter-no {
  margin-bottom: 0.45rem;
  color: var(--faint);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.chapter h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.chapter p:last-child {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.chapter::before {
  content: "";
  display: block;
  height: 0.45rem;
  width: 4.5rem;
  margin-bottom: 1rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
}

.chapter[data-scene="stream"]::before { background: var(--red); }
.chapter[data-scene="read"]::before { background: #d6c278; }
.chapter[data-scene="people"]::before { background: #7eb6ff; }

.request {
  background: var(--paper);
  color: var(--ink-dark);
  color-scheme: light;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.request .eyebrow,
.done .eyebrow { color: var(--muted-dark); }

.request-layout {
  width: min(1180px, calc(100% - var(--pad) * 2));
  margin: 0 auto;
  display: grid;
  gap: clamp(1.8rem, 4vw, 4.5rem);
  align-items: start;
}

.request-intro p:last-child {
  max-width: 28rem;
  margin-top: 1.1rem;
  color: var(--muted-dark);
  font-size: 1.08rem;
}

.request-card {
  border-radius: 1.35rem;
  background: #fffdf8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(1.1rem, 2vw, 1.6rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
}

.span-2 { grid-column: 1 / -1; }

.field { display: grid; gap: 0.4rem; }

.field label,
.field legend,
.count {
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 600;
}

.label-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

input,
textarea {
  width: 100%;
  border: 0;
  border-radius: 1rem;
  background: #f6f3ec;
  color: var(--ink-dark);
  padding: 0.95rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 22, 0.06);
}

textarea { resize: vertical; min-height: 7.5rem; }

input::placeholder,
textarea::placeholder { color: #8d887e; }

input:focus,
textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--ink-dark);
}

.field.is-invalid input,
.field.is-invalid textarea {
  box-shadow: inset 0 0 0 1.5px var(--red);
}

.error {
  min-height: 1.1rem;
  color: var(--red);
  font-size: 0.84rem;
}

.error:empty { min-height: 0; }

/* Honeypot: off screen for people, still in the form for bots. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  text-align: center;
}

.form-status:empty { display: none; }

.form-status.is-error { color: var(--red); }

.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.btn:disabled { cursor: default; }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.chip { position: relative; cursor: pointer; }

.chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #f6f3ec;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 22, 0.08);
}

.chip:has(input:checked) span {
  background: var(--ink-dark);
  color: var(--ink);
  box-shadow: none;
}

.chip:has(input:focus-visible) span {
  outline: 2px solid var(--ink-dark);
  outline-offset: 3px;
}

.done h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.done-lead {
  max-width: 36rem;
  margin: 0.8rem 0 1.2rem;
  color: var(--muted-dark);
}

.done-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
}

.done-list div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(20, 20, 22, 0.08);
}

.done-list dt {
  color: var(--muted-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.done-list dd { margin: 0; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  padding: 2.4rem var(--pad) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  margin-top: 0.7rem;
  color: var(--faint);
  font-size: 0.95rem;
}

.footer-link {
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 0.1rem;
}

.footer-link:hover { color: white; }

section { scroll-margin-top: 5.5rem; }

#top,
#modules { scroll-margin-top: 0; }

@keyframes rise {
  from { opacity: 0; transform: translateY(1.1rem); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  from { transform: translate3d(-3%, -2%, 0) scale(1.05); }
  to { transform: translate3d(3%, 2%, 0) scale(1.12); }
}

@keyframes pan {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-8%, 0, 0); }
}

@keyframes march {
  from { transform: translate3d(-12cqi, 0, 0); }
  to { transform: translate3d(108cqi, 0, 0); }
}

@keyframes box-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes sweep {
  from { transform: translate3d(-35%, 0, 0); }
  to { transform: translate3d(35%, 0, 0); }
}

@keyframes lunge {
  0%, 6% { transform: translateX(0); }
  12% { transform: translateX(-8px); }
  20%, 34% { transform: translateX(18px); }
  46% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

@keyframes shove {
  0%, 8% { transform: rotate(34deg) scaleX(0.15); }
  18%, 34% { transform: rotate(-4deg) scaleX(1); }
  46%, 100% { transform: rotate(34deg) scaleX(0.15); }
}

@keyframes impact {
  0%, 16% { opacity: 0; transform: scale(0.2); }
  22% { opacity: 1; transform: scale(1); }
  34% { opacity: 0; transform: scale(2.2); }
  100% { opacity: 0; transform: scale(2.2); }
}

@keyframes lean {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  18% { transform: translateY(3px) rotate(6deg); }
  42%, 70% { transform: translateY(10px) rotate(16deg); }
  86% { transform: translateY(2px) rotate(-4deg); }
}

@keyframes fidget {
  0%, 100% { transform: rotate(0deg); }
  30% { transform: rotate(-14deg); }
  65% { transform: rotate(10deg); }
}

@keyframes glance {
  0%, 30%, 100% { transform: rotate(0deg) translateY(0); }
  48%, 74% { transform: rotate(14deg) translateY(-6px); }
}

@keyframes lift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes write {
  0% { transform: scaleX(0); }
  40%, 100% { transform: scaleX(1); }
}

@keyframes raise {
  0%, 18% { transform: rotate(24deg); }
  38%, 72% { transform: rotate(-78deg); }
  100% { transform: rotate(24deg); }
}

@keyframes halo {
  0%, 22% { opacity: 0; transform: scale(0.6); }
  42%, 72% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}

@keyframes stamp {
  0%, 54% { opacity: 0; transform: rotate(-45deg) scale(0.2); }
  64% { opacity: 1; transform: rotate(-45deg) scale(1.28); }
  74%, 86% { opacity: 1; transform: rotate(-45deg) scale(1); }
  100% { opacity: 0; transform: rotate(-45deg) scale(0.4); }
}

@keyframes attend {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-10px); }
}

@keyframes approach {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  10% { opacity: 1; }
  72% { transform: translate3d(46cqi, 0, 0); opacity: 1; }
  100% { transform: translate3d(64cqi, 0, 0); opacity: 0; }
}

@keyframes cam-scan {
  from { transform: translate3d(0, -120%, 0); }
  to { transform: translate3d(0, 320%, 0); }
}

@keyframes scan {
  from { transform: translateY(-30vh); }
  to { transform: translateY(55vh); }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(229, 9, 20, 0); }
}

@keyframes tickfill {
  to { transform: scaleX(1); }
}

@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }

  .story-copy { order: 1; }
  .story-stage-wrap { order: 2; position: sticky; top: 12vh; }

  .story-stage { min-height: min(70vh, 720px); }

  .chapter {
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  html.js .chapter { opacity: 0.42; transition: opacity 600ms var(--ease); }
  html.js .chapter.is-active { opacity: 1; }

  .request-layout { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }

  .chapter::before { display: none; }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-cta { display: none; }

  .nav-toggle { display: block; }

  .nav { width: min(100%, 520px); }

  .form-grid { grid-template-columns: 1fr; }

  .span-2 { grid-column: auto; }

  .slide-no {
    top: 18vh;
    bottom: auto;
    font-size: 46vw;
    opacity: 0.55;
  }

  .reel {
    top: 5.4rem;
    right: 1rem;
    width: min(52vw, 220px);
    height: 28vh;
  }

  .desks { gap: 0.35rem; }
  .seat { height: 5.6rem; }
  .reel-tag { letter-spacing: 0.06em; }

  .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero-copy h1 { font-size: clamp(3.1rem, 15vw, 4.4rem); }

  .ticks { gap: 0.4rem; }

  .tick span:first-child { display: none; }

  .tick[aria-selected="true"] span:first-child { display: block; }

  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .tick[aria-selected="true"] .tick-bar { transform: scaleX(1); }

  .lane-far { transform: translate3d(16cqi, 0, 0); }
  .lane-mid { transform: translate3d(48cqi, 0, 0); }
  .lane-near { transform: translate3d(70cqi, 0, 0); }
  .feed-bar i { transform: translate3d(80%, 0, 0); }
  .arm { transform: rotate(-78deg); }
  .halo { opacity: 1; transform: scale(1); }
  .step.is-hot { transform: none; }
  .seat.is-on .desk b { transform: scaleX(1); }
  .victim,
  .aggressor,
  .walker.pass-a { transform: translate3d(20cqi, 0, 0); }
  .walker.pass-b { transform: translate3d(42cqi, 0, 0); }
}
