:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #060b09;
  --panel: #0b1210;
  --panel-2: #101a17;
  --text: #f1f5f2;
  --muted: #9aa9a2;
  --line: rgba(226, 240, 232, 0.14);
  --green: #91e8bc;
  --blue: #7ad9ff;
  --gold: #f0c96e;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 12%, rgba(51, 133, 94, 0.12), transparent 34rem),
    radial-gradient(circle at 88% 42%, rgba(49, 120, 148, 0.08), transparent 32rem),
    var(--bg);
  color: var(--text);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
p { text-wrap: pretty; }

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 32px));
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.brand {
  margin-right: auto;
  font-size: 1.24rem;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-decoration: none;
}
.brand span { color: var(--green); }

.topbar nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.topbar nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.topbar nav a:hover,
.topbar nav a:focus-visible { background: rgba(255,255,255,.08); color: #fff; outline: none; }

main > .section,
.crew-section,
.closing,
footer {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.86) contrast(1.03) brightness(.82);
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2,6,5,.9) 0%, rgba(2,6,5,.52) 43%, rgba(2,6,5,.1) 72%),
    linear-gradient(180deg, rgba(2,6,5,.18) 0%, rgba(2,6,5,.06) 40%, rgba(2,6,5,.92) 100%);
}
.hero-content {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 150px 0 74px;
}
.kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1,
h2,
h3 { margin: 0; text-wrap: balance; }
.hero h1 {
  max-width: 8ch;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: .82;
  letter-spacing: -.085em;
  text-shadow: 0 20px 70px rgba(0,0,0,.38);
}
.hero h1 span { display: block; color: rgba(255,255,255,.72); font-size: .32em; letter-spacing: .06em; text-transform: uppercase; }
.hero-line {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(1.18rem, 2.3vw, 1.7rem);
  line-height: 1.45;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button {
  min-height: 46px;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(7,13,11,.45);
  backdrop-filter: blur(12px);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
}
.button:hover,
.button:focus-visible { border-color: rgba(145,232,188,.7); outline: none; }
.button-primary { background: #dff7eb; color: #07150f; border-color: transparent; }
.hero-caption {
  position: absolute;
  right: max(16px, calc((100vw - 1200px)/2));
  bottom: 70px;
  width: min(250px, 26vw);
  padding: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,.3);
}
.hero-caption span,
.hero-caption small { display: block; color: rgba(255,255,255,.58); font-size: .78rem; }
.hero-caption strong { display: block; margin: 5px 0 4px; font-size: 1.12rem; }

.section { padding: 110px 0; border-top: 1px solid var(--line); }
.manifesto {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}
h2 {
  font-size: clamp(2.7rem, 6.8vw, 6rem);
  line-height: .93;
  letter-spacing: -.065em;
}
.manifesto-copy { max-width: 670px; }
.manifesto-copy p {
  margin: 0 0 22px;
  color: #c4cec9;
  font-size: 1.08rem;
  line-height: 1.76;
}
.manifesto-rule {
  margin-top: 34px !important;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #e8eee9 !important;
  font-size: 1.2rem !important;
}
.manifesto-rule strong { color: var(--gold); }

.split-heading {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: end;
  margin-bottom: 54px;
}
.split-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.fictional { padding-bottom: 130px; }
.character-feature {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  border-top: 1px solid var(--line);
}
.character-feature:last-child { border-bottom: 1px solid var(--line); }
.character-feature.reverse { grid-template-columns: .92fr 1.08fr; }
.character-feature.reverse .character-image { order: 2; }
.character-feature.reverse .character-copy { order: 1; }
.character-image {
  min-height: 600px;
  overflow: hidden;
  background: #09100e;
}
.character-image img { width: 100%; height: 100%; object-fit: cover; }
.crop-kayla img { object-position: 71% center; transform: scale(1.03); }
.bot-image {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(79,177,194,.17), transparent 36%),
    radial-gradient(circle at 40% 30%, rgba(145,232,188,.08), transparent 30%),
    #07100d;
}
.bot-image img { width: min(72%, 480px); height: auto; object-fit: contain; }
.character-copy {
  padding: clamp(38px, 6vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(15,24,21,.95), rgba(8,14,12,.98));
}
.character-index {
  margin: 0 0 34px;
  color: #73847c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.character-copy h3 {
  max-width: 9ch;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: .94;
  letter-spacing: -.06em;
}
.role,
.crew-role {
  margin: 16px 0;
  color: var(--green);
  font-size: .84rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.character-copy > p:not(.character-index):not(.role) {
  max-width: 580px;
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.68;
}
.text-link {
  margin-top: 12px;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.crew-section { padding: 110px 0 120px; }
.crew-intro { max-width: 800px; margin-bottom: 54px; }
.crew-intro > p:last-child { color: var(--muted); font-size: 1.08rem; }
.crew-list { border-top: 1px solid var(--line); }
.crew-member {
  min-height: 180px;
  display: grid;
  grid-template-columns: 140px 50px minmax(0, 1fr) 150px;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, transform .2s ease;
}
.crew-member:hover { background: rgba(255,255,255,.018); transform: translateX(4px); }
.crew-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(.82) contrast(1.03);
}
.crew-number { color: #5e6d66; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.crew-copy h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -.045em; }
.crew-copy p:last-child { max-width: 650px; margin: 0; color: var(--muted); line-height: 1.55; }
.crew-function {
  justify-self: end;
  color: #d9e1dd;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.roles { padding-top: 90px; }
.role-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.role-track > div {
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.012);
}
.role-track span { color: #697871; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.role-track strong { font-size: 1.25rem; }

.stories { padding-bottom: 130px; }
.story-heading { max-width: 850px; margin-bottom: 60px; }
.story-heading > p:last-child { max-width: 690px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.chapters { display: grid; gap: 0; border-top: 1px solid var(--line); }
.chapter {
  min-height: 230px;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.chapter-number {
  color: #5e6d66;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.1rem;
}
.chapter-location {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.chapter h3 { font-size: clamp(2rem, 4.5vw, 4rem); line-height: .98; letter-spacing: -.055em; }
.chapter > div:last-child > p:last-child { max-width: 720px; color: var(--muted); line-height: 1.65; }
.chapter-featured {
  min-height: 360px;
  padding: 44px;
  margin-bottom: 26px;
  grid-template-columns: 100px minmax(0, 1fr);
  background:
    linear-gradient(90deg, rgba(4,11,9,.9), rgba(4,11,9,.56)),
    url('../3dvr-girl/assets/3dvr-girl-kala-forest.webp') center 44% / cover;
  border: 0;
  border-radius: 2px;
}
.chapter-featured .chapter-number { color: rgba(255,255,255,.56); }
.chapter-featured > div:last-child { align-self: end; }
.chapter-featured h3 { font-size: clamp(3rem, 7vw, 6rem); }
.chapter-featured > div:last-child > p:last-child { color: rgba(255,255,255,.75); }
.finale { min-height: 290px; }
.finale h3 { color: var(--gold); }

.closing {
  margin-bottom: 90px;
  padding: clamp(42px, 8vw, 90px);
  background:
    radial-gradient(circle at 80% 15%, rgba(73,178,136,.15), transparent 28rem),
    linear-gradient(145deg, #0d1714, #080e0c);
  border: 1px solid var(--line);
}
.closing h2 { max-width: 11ch; }
.closing > p:not(.eyebrow) { max-width: 720px; color: #b8c6c0; line-height: 1.7; }
.closing-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

footer {
  min-height: 110px;
  padding: 28px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  color: #718078;
  font-size: .88rem;
}
footer a { color: #a9b6b0; text-decoration: none; }

@media (max-width: 900px) {
  .hero-caption { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(2,6,5,.24), rgba(2,6,5,.38) 45%, rgba(2,6,5,.95) 100%); }
  .manifesto,
  .split-heading { grid-template-columns: 1fr; gap: 26px; }
  .character-feature,
  .character-feature.reverse { grid-template-columns: 1fr; }
  .character-feature.reverse .character-image,
  .character-feature.reverse .character-copy { order: initial; }
  .character-image { min-height: 520px; }
  .crew-member { grid-template-columns: 110px 36px minmax(0, 1fr); }
  .crew-member img { width: 110px; height: 110px; }
  .crew-function { display: none; }
  .role-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .topbar { min-height: 64px; align-items: flex-start; padding: 14px 0; }
  .topbar nav { gap: 0; }
  .topbar nav a { padding: 6px 7px; font-size: .76rem; }
  .hero { min-height: 92svh; }
  .hero-content { padding-bottom: 48px; }
  .hero h1 { font-size: clamp(4rem, 22vw, 6rem); }
  .hero-line { font-size: 1.1rem; }
  .section,
  .crew-section { padding-top: 74px; padding-bottom: 74px; }
  .fictional { padding-bottom: 84px; }
  .character-feature { min-height: 0; }
  .character-image { min-height: 420px; }
  .character-copy { padding: 32px 22px 38px; }
  .character-copy h3 { font-size: 2.5rem; }
  .crew-member {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 22px 0;
  }
  .crew-member img { width: 84px; height: 84px; grid-row: 1 / span 2; }
  .crew-number { display: none; }
  .crew-copy h3 { font-size: 1.65rem; }
  .crew-role { margin-top: 8px; font-size: .72rem; }
  .role-track { grid-template-columns: 1fr 1fr; }
  .role-track > div { min-height: 120px; padding: 16px; }
  .chapter { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; min-height: 0; padding: 30px 0; }
  .chapter h3 { font-size: 2.25rem; }
  .chapter-featured { grid-template-columns: 42px minmax(0, 1fr); padding: 28px 22px; min-height: 430px; }
  .chapter-featured h3 { font-size: 3.2rem; }
  .closing { margin-bottom: 60px; padding: 34px 24px; }
  footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .crew-member { transition: none; }
}
