:root {
  --ink: #08000e;
  --ink-soft: #13051d;
  --paper: #f5f2ec;
  --white: #fff;
  --acid: #dfff00;
  --pink: #ff3bce;
  --blue: #5146ff;
  --cyan: #47e8ff;
  --red: #ff3428;
  --silver: #c7c9d7;
  --line: rgba(255, 255, 255, 0.22);
  --shadow-hard: 8px 8px 0 #000;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--ink);
}

#top,
#start,
#many,
#worlds,
#enter {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 12%, rgba(81, 70, 255, 0.2), transparent 25rem),
    radial-gradient(circle at 87% 31%, rgba(255, 59, 206, 0.13), transparent 30rem),
    var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) 3px,
    rgba(0, 0, 0, 0.13) 4px
  );
  opacity: 0.35;
  mix-blend-mode: multiply;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--acid);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--acid);
  font-weight: 900;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.cursor-orb {
  position: fixed;
  z-index: 998;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(223, 255, 0, 0.12);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.boot-screen {
  position: fixed;
  z-index: 10000;
  display: grid;
  inset: 0;
  place-items: center;
  padding: 1.5rem;
  color: #111;
  background: #050109;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.boot-screen.done {
  visibility: hidden;
  opacity: 0;
}

.boot-window {
  width: min(520px, 100%);
  border: 3px solid #d8d8d8;
  background: #c0c0c0;
  box-shadow: 5px 5px 0 #000, inset 2px 2px #fff, inset -2px -2px #777;
}

.boot-content {
  padding: 2rem;
  text-align: center;
  font-family: "Courier New", monospace;
}

.boot-mark {
  margin: 0 auto 1rem;
  color: #151515;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(4.6rem, 15vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.boot-mark span {
  color: #4b00ff;
  font-size: 0.3em;
  letter-spacing: -0.02em;
  vertical-align: top;
}

.boot-content p {
  margin: 1rem 0 0.6rem;
  font-weight: 700;
}

.boot-progress {
  height: 20px;
  padding: 2px;
  border: 2px inset #eee;
  background: #fff;
}

.boot-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(90deg, #2500ad 0 12px, transparent 12px 15px);
  animation: boot 1.15s steps(12) forwards;
}

.boot-content small {
  display: block;
  margin-top: 1rem;
}

@keyframes boot {
  to { width: 100%; }
}

.site-header {
  position: sticky;
  z-index: 900;
  top: 0;
  display: flex;
  width: 100%;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 0, 14, 0.84);
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.logo-symbol {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--acid);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 3px 3px 0 var(--pink);
  font-size: 1.3rem;
  line-height: 1;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.6rem);
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-header nav a {
  position: relative;
}

.site-header nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-header nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--acid);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 3px 3px 0 var(--pink);
}

.menu-button {
  display: none;
  border: 1px solid var(--acid);
  color: var(--acid);
  background: transparent;
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.mobile-menu {
  position: fixed;
  z-index: 850;
  top: 68px;
  right: 0;
  left: 0;
  display: none;
  padding: 1.5rem;
  border-bottom: 2px solid var(--acid);
  background: var(--ink);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 2rem;
}

.mobile-menu a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu.open {
  display: block;
}

.ticker {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  background: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ticker > div {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 2rem;
  padding: 0.55rem 0;
  animation: ticker 30s linear infinite;
}

.ticker b {
  color: var(--pink);
  -webkit-text-stroke: 1px var(--ink);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section-pad {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 9rem) max(4vw, 1.2rem);
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: clamp(0.7rem, 1.2vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px var(--acid);
  animation: blink 1.5s steps(2) infinite;
}

@keyframes blink { 50% { opacity: 0.3; } }

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 96px);
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(3.5rem, 7vw, 7rem) max(4vw, 1.2rem) 6rem;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -9vw;
  width: 45vw;
  height: 45vw;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 5vw rgba(255, 255, 255, 0.02), 0 0 0 10vw rgba(255, 255, 255, 0.015);
}

.hero-copy {
  z-index: 2;
  padding-left: clamp(0rem, 2vw, 2rem);
}

.hero h1 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(5.4rem, 12.8vw, 13.5rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.18vw, 3px) var(--white);
  transform: translateX(clamp(0rem, 4vw, 4rem));
}

.hero-line {
  max-width: 640px;
  margin: 2.5rem 0 2rem;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.3;
}

.hero-actions,
.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.2rem;
  border: 2px solid;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button-primary {
  border-color: var(--acid);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--pink);
}

.button-primary:hover {
  background: var(--white);
  box-shadow: 8px 8px 0 var(--pink);
  transform: translate(-2px, -2px);
}

.button-ghost {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  border-color: var(--pink);
  color: var(--ink);
  background: var(--pink);
  transform: translateY(-2px);
}

.microcopy {
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 0 clamp(0rem, 3vw, 3rem) 1rem 0;
}

.desktop-window {
  color: #111;
  border: 2px solid #d7d7d7;
  background: #c0c0c0;
  box-shadow: 6px 6px 0 #000, inset 1px 1px #fff, inset -1px -1px #737373;
}

.window-bar {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.4rem;
  color: #fff;
  background: linear-gradient(90deg, #1f0088, #8466ff);
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  font-weight: 700;
}

.window-buttons {
  color: #111;
  background: #c0c0c0;
  padding: 0 0.3rem;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #555;
  letter-spacing: 0.15em;
}

.portrait-window {
  position: relative;
  max-width: 630px;
  margin: 0 auto;
  transform: rotate(1.8deg);
  transition: transform 0.22s ease;
}

.portrait-wrap {
  position: relative;
  overflow: hidden;
  margin: 5px;
  border: 2px inset #fff;
  background: #fff;
}

.portrait-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent 50%, rgba(81, 70, 255, 0.19));
  pointer-events: none;
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.04) saturate(0.92);
}

.image-stamp {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  padding: 0.55rem;
  border: 2px solid var(--acid);
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: clamp(0.58rem, 1vw, 0.78rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  transform: rotate(-3deg);
}

.window-status {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.5rem;
  font-family: "Courier New", monospace;
  font-size: 0.6rem;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 0.9rem 1rem;
  color: #111;
  font-family: "Comic Sans MS", cursive;
  font-size: clamp(0.72rem, 1.1vw, 0.92rem);
  line-height: 1.25;
  box-shadow: var(--shadow-hard);
}

.note-one {
  right: -1rem;
  bottom: 2.6rem;
  background: var(--acid);
  transform: rotate(-4deg);
}

.note-two {
  top: 13%;
  left: -2rem;
  color: #fff;
  background: var(--pink);
  transform: rotate(5deg);
}

.chrome-star {
  position: absolute;
  z-index: 4;
  color: #fff;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: 1;
  filter: drop-shadow(3px 3px 0 var(--blue));
  animation: spin-star 10s linear infinite;
}

.star-one {
  top: -7%;
  right: 2%;
}

.star-two {
  bottom: -4%;
  left: 8%;
  color: var(--acid);
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  animation-direction: reverse;
}

@keyframes spin-star { to { transform: rotate(360deg); } }

.scroll-cue {
  position: absolute;
  right: max(4vw, 1.2rem);
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Courier New", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
}

.scroll-cue b {
  color: var(--acid);
  font-size: 1.6rem;
  animation: bounce 1.4s ease-in-out infinite;
}

@keyframes bounce { 50% { transform: translateY(6px); } }

.starter {
  position: relative;
}

.starter::before,
.roles::before {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.2;
}

.starter::before {
  top: 18%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: var(--blue);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -0.5rem;
}

.section-heading h2,
.worlds-top h2,
.conversion h2 {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(3.3rem, 7.5vw, 8.5rem);
  line-height: 0.83;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-heading h2 span,
.worlds-top h2 span,
.conversion h2 span {
  color: var(--acid);
}

.section-heading > p:last-child,
.worlds-top > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.mood-card {
  position: relative;
  display: grid;
  min-height: 160px;
  cursor: pointer;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 0.3rem 0.65rem;
  padding: 0.8rem 0.9rem;
  overflow: hidden;
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.mood-card::before {
  position: absolute;
  right: -55%;
  bottom: -65%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  content: "";
  background: var(--pink);
  filter: blur(60px);
  opacity: 0.2;
}

.mood-card:nth-child(2)::before { background: var(--blue); }
.mood-card:nth-child(3)::before { background: var(--red); }
.mood-card:nth-child(4)::before { background: var(--cyan); }
.mood-card:nth-child(5)::before { background: var(--pink); }
.mood-card:nth-child(6)::before { background: var(--blue); }
.mood-card:nth-child(7)::before { background: var(--red); }
.mood-card:nth-child(8)::before { background: var(--cyan); }

.mood-card:hover,
.mood-card.active {
  border-color: var(--acid);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 5px 5px 0 var(--pink);
  transform: translate(-3px, -3px);
}

.mood-card:hover::before,
.mood-card.active::before {
  opacity: 0;
}

.card-index {
  grid-column: 3;
  grid-row: 1;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
}

.mood-icon {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.5rem;
  line-height: 1;
  filter: grayscale(1);
}

.mood-card strong {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 19ch;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(0.95rem, 1.3vw, 1.22rem);
  line-height: 1.05;
}

.mood-card small {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 3;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  line-height: 1.25;
}

.player {
  display: grid;
  grid-template-columns: auto minmax(180px, 0.65fr) minmax(180px, 1fr) minmax(230px, 1.2fr) auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #151515;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.16);
}

.player-play {
  display: grid;
  width: 50px;
  height: 50px;
  cursor: pointer;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  font-weight: 900;
  transition: transform 0.2s ease;
}

.player-play:hover { transform: scale(1.08); }

.player-track {
  display: flex;
  flex-direction: column;
}

.player-track small,
.player-track span {
  color: rgba(255, 255, 255, 0.48);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
}

.player-track strong {
  margin: 0.15rem 0;
  font-size: 0.95rem;
}

.player-wave {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 3px;
  overflow: hidden;
}

.player-wave i {
  width: 3px;
  height: 12%;
  background: var(--pink);
  animation: wave 1.1s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.player.playing .player-wave i { animation-play-state: running; }
.player-wave i:nth-child(2n) { animation-delay: 0.2s; }
.player-wave i:nth-child(3n) { animation-delay: 0.45s; }
.player-wave i:nth-child(5n) { animation-delay: 0.7s; }

@keyframes wave { to { height: 92%; } }

.player p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.player-link {
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.thesis {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.thesis-photo {
  position: relative;
  transform: rotate(-2deg);
}

.thesis-photo::before {
  position: absolute;
  z-index: -1;
  inset: -1rem 1rem 1rem -1rem;
  content: "";
  border: 2px solid var(--acid);
}

.thesis-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.14);
}

.thesis-photo span {
  position: absolute;
  right: -1rem;
  bottom: -1.2rem;
  padding: 0.5rem 0.7rem;
  color: var(--ink);
  background: var(--pink);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 700;
}

.thesis-copy h2 {
  margin: 0 0 2rem;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 7.5vw, 8rem);
  font-style: italic;
  line-height: 0.78;
  letter-spacing: -0.06em;
}

.thesis-copy .lead {
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
}

.thesis-copy > p:not(.eyebrow):not(.lead) {
  max-width: 65ch;
  color: rgba(255, 255, 255, 0.67);
}

.terminal-quote {
  margin-top: 2.5rem;
  padding: 1rem;
  border: 1px solid var(--acid);
  color: var(--acid);
  background: #030303;
  font-family: "Courier New", monospace;
  box-shadow: 6px 6px 0 var(--blue);
}

.terminal-quote span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--cyan);
  font-size: 0.64rem;
}

.terminal-quote strong {
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
}

.terminal-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1em;
  margin-left: 0.25rem;
  background: var(--acid);
  vertical-align: -0.15em;
  animation: blink 0.9s steps(2) infinite;
}

.roles {
  position: relative;
}

.roles::before {
  right: -10%;
  bottom: 10%;
  width: 500px;
  height: 500px;
  background: var(--pink);
}

.roles .section-heading {
  display: block;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.role-card {
  position: relative;
  min-height: 290px;
  padding: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.role-card::after {
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 120px;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 1.4rem rgba(255, 255, 255, 0.02);
}

.role-card:nth-child(2),
.role-card:nth-child(5) {
  color: var(--ink);
  background: var(--acid);
}

.role-card:nth-child(3) { border-color: var(--pink); }
.role-card:nth-child(4) { border-color: var(--blue); }

.role-card > span,
.role-card-image div span {
  color: var(--pink);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
}

.role-card:nth-child(2) > span,
.role-card:nth-child(5) > span {
  color: var(--blue);
}

.role-card h3 {
  margin: 3rem 0 1rem;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
}

.role-card p {
  max-width: 34ch;
  margin: 0;
  font-size: 0.9rem;
}

.role-card-image {
  min-height: 360px;
  padding: 0;
}

.role-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.05);
}

.role-card-image::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(transparent 25%, rgba(0, 0, 0, 0.85));
}

.role-card-image div {
  position: absolute;
  z-index: 2;
  right: 1.4rem;
  bottom: 1.4rem;
  left: 1.4rem;
}

.role-card-image h3 { margin: 0.7rem 0 0; }

.worlds-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 4rem;
}

.worlds-top .eyebrow { margin-bottom: 1.1rem; }

.era-browser {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #100619;
  box-shadow: 10px 10px 0 rgba(81, 70, 255, 0.65);
}

.era-tabs {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  overflow-y: hidden;
  border-bottom: 1px solid var(--line);
}

.era-tabs button {
  min-height: 75px;
  cursor: pointer;
  padding: 0.6rem;
  border: 0;
  border-right: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  text-align: left;
}

.era-tabs button:last-child { border-right: 0; }

.era-tabs button b {
  display: block;
  margin-top: 0.18rem;
  color: #fff;
  font-size: 0.82rem;
}

.era-tabs button:hover,
.era-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--acid);
}

.era-tabs button[aria-selected="true"] b { color: var(--ink); }

.era-screen {
  display: grid;
  height: 590px;
  min-height: 0;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
}

.era-image-wrap {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.era-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 58%, rgba(16, 6, 25, 0.55) 80%, #100619 100%);
  pointer-events: none;
}

.era-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.92) contrast(1.08);
  transition: opacity 0.18s ease, transform 0.35s ease;
}

.era-screen[data-era="cknd"] .era-image-wrap img {
  object-position: 50% 28%;
}

.era-screen[data-era="dead"] .era-image-wrap img {
  object-position: 50% 46%;
}

.era-screen[data-era="dead"] .era-image-wrap::after {
  background: linear-gradient(90deg, transparent 68%, rgba(16, 6, 25, 0.46) 84%, #100619 100%);
}

.era-screen[data-era="three"] .era-image-wrap img {
  object-position: 50% 48%;
}

.era-image-wrap img.switching {
  opacity: 0;
  transform: scale(1.03);
}

.era-image-wrap > span {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  left: 1rem;
  padding: 0.35rem 0.55rem;
  color: var(--ink);
  background: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
  font-weight: 700;
}

.era-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.era-copy > p:first-child {
  margin: 0 0 1rem;
  color: var(--pink);
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.era-copy h3 {
  margin: 0 0 1.5rem;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(3rem, 6.2vw, 7rem);
  line-height: 0.84;
  letter-spacing: -0.04em;
}

.era-copy > p:not(:first-child) {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.69);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.era-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 2rem;
}

.era-tags span {
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  font-family: "Courier New", monospace;
  font-size: 0.63rem;
}

.era-copy > a {
  width: max-content;
  border-bottom: 2px solid var(--acid);
  color: var(--acid);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 0.86rem;
}

.manifesto {
  color: var(--ink);
  background: var(--paper);
}

.manifesto-strip {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.55rem max(4vw, 1.2rem);
  color: var(--white);
  background: var(--blue);
  font-family: "Courier New", monospace;
  font-size: 0.67rem;
  font-weight: 700;
}

.manifesto-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 10rem);
}

.manifesto-title {
  position: sticky;
  top: 110px;
  align-self: start;
}

.manifesto-title small {
  color: var(--blue);
  font-family: "Courier New", monospace;
  font-weight: 700;
}

.manifesto-title h2 {
  margin: 1.5rem 0 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(4.2rem, 8vw, 9rem);
  line-height: 0.76;
  letter-spacing: -0.045em;
}

.manifesto-title h2 span { color: var(--blue); }

.manifesto-copy {
  padding-top: clamp(2rem, 7vw, 6rem);
}

.manifesto-copy p {
  margin: 0 0 2.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1.5;
}

.manifesto-copy .big {
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
}

.manifesto-sign {
  margin-top: 5rem;
  padding: 1rem;
  border: 2px dashed var(--blue);
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
}

.manifesto-sign strong { color: var(--blue); }

.gallery .section-heading {
  display: block;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-auto-rows: clamp(90px, 8.5vw, 116px);
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.65rem;
}

.gallery-item {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: #111;
}

.gallery-item:nth-child(5n + 2) {
  top: 3px;
  rotate: -0.55deg;
}

.gallery-item:nth-child(7n + 1) {
  top: -2px;
  rotate: 0.45deg;
}

.gallery-item:nth-child(9n + 4) {
  clip-path: polygon(0 2%, 100% 0, 99% 100%, 1% 98%);
}

.gallery-item:nth-child(11n + 6) {
  clip-path: polygon(1% 0, 99% 2%, 100% 98%, 0 100%);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--crop-x, 50%) var(--crop-y, 50%);
  filter: saturate(0.78) contrast(1.08);
  transition: filter 0.35s ease, transform 0.5s ease;
}

.gallery-item:hover img {
  filter: saturate(1.2) contrast(1.05);
  transform: scale(1.045);
}

.gallery-item:hover,
.gallery-item:focus-visible { z-index: 2; }

.crop-upper { --crop-y: 30%; }
.crop-top { --crop-y: 12%; }
.crop-left {
  --crop-x: 36%;
  --crop-y: 36%;
}
.crop-right {
  --crop-x: 60%;
  --crop-y: 34%;
}

.gallery-item span {
  position: absolute;
  right: auto;
  bottom: 0.7rem;
  left: 0.7rem;
  width: max-content;
  max-width: calc(100% - 1.4rem);
  padding: 0.45rem 0.55rem;
  color: var(--ink);
  background: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  text-align: left;
  transform: rotate(-2deg);
  transition: transform 0.25s ease;
}

.gallery-item:nth-child(3n) span {
  color: #fff;
  background: var(--pink);
  transform: rotate(2deg);
}

.gallery-item:nth-child(4n) span {
  right: 0.7rem;
  left: auto;
}

.gallery-item:hover span,
.gallery-item:focus-visible span { transform: translateY(-2px) rotate(0); }

.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-panorama { grid-column: span 3; }

@media (max-width: 1080px) {
  .gallery-grid {
    grid-auto-rows: 110px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.lightbox {
  width: min(1000px, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 2.4rem 1rem 1rem;
  overflow: hidden;
  border: 2px solid var(--acid);
  color: #fff;
  background: #07000b;
  box-shadow: 10px 10px 0 var(--pink);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: calc(100svh - 8rem);
  object-fit: contain;
}

.lightbox p {
  margin: 0.7rem 0 0;
  color: var(--acid);
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
}

.lightbox-close {
  position: absolute;
  top: 0.35rem;
  right: 0.55rem;
  cursor: pointer;
  border: 0;
  color: var(--acid);
  background: transparent;
  font-size: 1.6rem;
}

.conversion {
  padding-top: 4rem;
}

.conversion-window {
  max-width: 1200px;
  margin: 0 auto;
}

.conversion-body {
  padding: clamp(2rem, 6vw, 6rem);
  color: #111;
  background: #c0c0c0;
}

.conversion .eyebrow { color: #3d00bf; }

.conversion h2 {
  font-size: clamp(3rem, 6.8vw, 7.3rem);
}

.conversion h2 span { color: #3d00bf; }

.conversion-body > p:not(.eyebrow) {
  max-width: 63ch;
  margin: 2rem 0;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  font-weight: 700;
}

.conversion .button-primary {
  border-color: #3d00bf;
  color: #fff;
  background: #3d00bf;
}

.conversion .button-ghost {
  border-color: #111;
  background: transparent;
}

.conversion .button-ghost:hover {
  border-color: var(--pink);
  background: var(--pink);
}

footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: end;
  gap: 2rem;
  padding: 3rem max(4vw, 1.2rem);
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.58);
  font-family: "Courier New", monospace;
  font-size: 0.62rem;
}

.footer-logo {
  color: #fff;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(2.6rem, 5vw, 6rem);
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.footer-logo span {
  color: var(--acid);
  font-size: 0.35em;
  vertical-align: top;
}

footer p { margin: 0; }

#backToTop {
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
}

.noscript {
  position: fixed;
  z-index: 20000;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.8rem;
  color: #111;
  background: var(--acid);
  text-align: center;
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 0.82fr;
    gap: 1.5rem;
  }

  .hero h1 { font-size: clamp(5rem, 12vw, 9rem); }
  .note-two { left: -0.5rem; }

  .mood-grid { grid-template-columns: repeat(2, 1fr); }
  .mood-card { min-height: 112px; }

  .player {
    grid-template-columns: auto 1fr 1fr auto;
  }

  .player-wave { display: none; }

  .roles-grid { grid-template-columns: repeat(2, 1fr); }

  .era-tabs {
    display: flex;
    overflow-x: auto;
  }

  .era-tabs button {
    min-width: 140px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .cursor-orb { display: none; }

  .site-header nav { display: none; }
  .menu-button { display: block; }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-top: 4.5rem;
  }

  .hero-copy { order: 1; }
  .hero-visual { order: 2; padding: 1rem 0 0; }
  .hero h1 { font-size: clamp(5rem, 25vw, 9.5rem); }
  .hero h1 .outline { transform: none; }
  .portrait-window { width: min(560px, 91%); }
  .scroll-cue { display: none; }
  .note-one { right: 0; }
  .note-two { left: 0; }

  .section-heading,
  .worlds-top {
    display: block;
  }

  .worlds { overflow: hidden; }

  .era-browser {
    width: calc(100% - 8px);
    box-shadow: 8px 8px 0 rgba(81, 70, 255, 0.65);
  }

  .section-heading h2,
  .worlds-top h2 { margin-bottom: 2rem; }

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

  .thesis-photo {
    width: min(520px, 91%);
    margin: 0 auto;
  }

  .era-screen {
    height: auto;
    grid-template-columns: 1fr;
  }

  .era-image-wrap {
    height: 430px;
    min-height: 430px;
  }

  .era-image-wrap::after {
    background: linear-gradient(transparent 62%, rgba(16, 6, 25, 0.55) 82%, #100619 100%);
  }

  .era-screen[data-era="dead"] .era-image-wrap::after {
    background: linear-gradient(transparent 64%, rgba(16, 6, 25, 0.5) 84%, #100619 100%);
  }

  .manifesto-inner {
    grid-template-columns: 1fr;
  }

  .manifesto-title {
    position: static;
  }

  .manifesto-copy { padding-top: 0; }

  .gallery-grid {
    grid-auto-rows: 100px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-panorama { grid-column: span 2; }
}

@media (max-width: 620px) {
  .site-header { height: 60px; }
  .mobile-menu { top: 60px; }
  .logo { font-size: 0.76rem; }
  .logo-symbol { width: 30px; height: 30px; }

  .hero { padding-bottom: 4rem; }
  .hero-line { margin-top: 2rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .floating-note { font-size: 0.66rem; }
  .note-one { bottom: 1.5rem; }
  .note-two { top: 12%; }
  .window-status { display: none; }

  .section-pad {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-heading h2,
  .worlds-top h2 { font-size: clamp(3rem, 15vw, 5.3rem); }

  .mood-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }

  .mood-card { min-height: 118px; }

  .player {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .player p {
    grid-column: 1 / -1;
  }

  .role-card { min-height: 250px; }

  .era-screen { height: auto; min-height: 0; }
  .era-image-wrap { height: 350px; min-height: 350px; }
  .era-copy { padding: 2rem 1.2rem 2.6rem; }

  .manifesto-strip span:last-child { display: none; }
  .manifesto-title h2 { font-size: clamp(4rem, 19vw, 6.5rem); }

  .gallery-grid {
    display: grid;
    grid-auto-rows: 92px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-item {
    height: auto;
  }

  .gallery-item span { font-size: 0.56rem; }

  .gallery-panorama { grid-column: span 2; }

  .conversion-body { padding: 2rem 1rem; }
  .conversion h2 { font-size: clamp(2.7rem, 13vw, 4.5rem); }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-logo { font-size: 4rem; }
}

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