/* ============================================================
   AGORA COSMICA — THE NIGHT AGORA
   One continuous night. Navy void, gold voices, serif soul.
   ============================================================ */

:root {
  --pages: 16;
  --gate-ms: 900ms;
  --ink: var(--text-primary);
  --gold-a38: rgba(230, 188, 92, 0.38);
  --gold-a16: rgba(230, 188, 92, 0.16);
  --gold-a08: rgba(230, 188, 92, 0.08);
}
@media (max-width: 720px) { :root { --pages: 13; } }

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

html {
  background: var(--bg-deep-space-darker);
  color-scheme: dark;
  scrollbar-color: #232b63 #0a0e2a;
}
body {
  background: var(--bg-deep-space-darker);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-gated { overflow: hidden; }

::selection { background: rgba(230, 188, 92, 0.28); color: #f2e6c8; }

a { color: var(--gold-primary); text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus { outline: none; }
:focus-visible {
  outline: 1.5px solid var(--gold-hover);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 300;
  padding: 0.6rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-a38);
  color: var(--text-primary);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  transform: translateY(-300%);
  transition: transform 300ms var(--ease-out-expo);
}
.skip-link:focus-visible { transform: translateY(0); }
body.is-gated .skip-link { display: none; }

/* ============ CANVAS + SCROLL SPACE ============ */

#scene {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 1;
}
#scroll-space { height: calc(var(--pages) * 100vh); pointer-events: none; }

body.mode-still #scene,
body.mode-still #scroll-space { display: none; }

/* ============ ATMOSPHERE ============ */

.vignette {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 42%, transparent 52%, rgba(4, 6, 18, 0.42) 100%),
    linear-gradient(to bottom, rgba(5, 7, 20, 0.25), transparent 14%, transparent 86%, rgba(5, 7, 20, 0.35));
}
.grain {
  position: fixed; inset: -60px; z-index: 41; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.052;
  mix-blend-mode: overlay;
  animation: grain-shift 1.1s steps(3) infinite;
}
@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(-28px, 16px, 0); }
  66% { transform: translate3d(18px, -24px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ============ CURSOR ============ */

html.has-cursor, html.has-cursor body, html.has-cursor a,
html.has-cursor button, html.has-cursor input[type="range"] { cursor: none; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 260;
  pointer-events: none; border-radius: 50%;
  opacity: 0;
}
.cursor-dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(230, 188, 92, 0.6);
}
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(230, 188, 92, 0.5);
  transition: width 350ms var(--ease-out-expo), height 350ms var(--ease-out-expo),
              margin 350ms var(--ease-out-expo), border-color 350ms,
              background-color 350ms;
}
.cursor-ring.is-hover {
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-color: rgba(246, 213, 92, 0.75);
  background: var(--gold-a08);
}
.cursor-ring.is-down { transform: scale(0.86); }

/* ============ THE GATE ============ */

#gate {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background:
    radial-gradient(90% 70% at 50% 46%, #0D1338 0%, #080B20 78%);
  text-align: center;
  opacity: 1;
}
#gate.is-leaving { pointer-events: none; }
#gate[hidden] { display: none; }

.gate__inner {
  display: flex; flex-direction: column; align-items: center;
  padding: 2rem;
  max-width: 46rem;
}
.gate__logo svg {
  width: clamp(108px, 16vh, 152px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 26px rgba(230, 188, 92, 0.22));
}
.gate__title {
  margin-top: clamp(1.6rem, 4vh, 2.6rem);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: var(--step-4);
  letter-spacing: 0.34em;
  text-indent: 0.34em; /* optically recenter tracked caps */
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0;
}
.gate__tagline {
  margin-top: 1.1rem;
  font-family: var(--font-content);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--text-secondary);
  opacity: 0;
}
.gate__foot {
  margin-top: clamp(2.2rem, 7vh, 4.4rem);
  min-height: 7.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.gate__status {
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  opacity: 0;
  transition: opacity 500ms var(--ease-out-expo);
}
.gate__status.is-on { opacity: 1; }
.gate__statusText {
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.gate__loadline {
  display: block; width: 12rem; height: 1px;
  background: rgba(230, 188, 92, 0.18);
  overflow: hidden;
}
.gate__loadfill {
  display: block; height: 100%; width: 100%;
  background: var(--gold-ui);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 400ms var(--ease-out-expo);
}
.gate__actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  opacity: 0; transform: translateY(10px);
}
.gate__micro {
  font-size: var(--step--1);
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  opacity: 0;
}

.btn-enter {
  font-weight: 400;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 0.95rem 2.1rem;
  border: 1px solid var(--gold-a38);
  border-radius: 999px;
  background: rgba(230, 188, 92, 0.05);
  transition: border-color 400ms var(--ease-out-expo), background-color 400ms,
              box-shadow 500ms var(--ease-out-expo), color 400ms;
}
.btn-enter:hover, .btn-enter:focus-visible {
  border-color: var(--gold-hover);
  background: var(--gold-a08);
  box-shadow: var(--shadow-glow);
  color: #EFE3C2;
}
.btn-enter--quiet { border-color: rgba(210, 210, 210, 0.22); background: transparent; }
.btn-enter--quiet:hover, .btn-enter--quiet:focus-visible {
  border-color: rgba(230, 188, 92, 0.6);
  box-shadow: 0 0 20px rgba(230, 188, 92, 0.14);
}

/* ============ HUD ============ */

#hud { position: relative; z-index: 120; }

.hint {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: var(--step--1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  opacity: 0;
  transition: opacity 900ms var(--ease-out-expo);
  pointer-events: none;
}
.hint.is-on { opacity: 0.9; }
.hint__line {
  display: block; width: 1px; height: 34px;
  background: linear-gradient(to bottom, transparent, var(--gold-ui));
  animation: hint-drop 2.2s var(--ease-in-out-soft) infinite;
}
@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (prefers-reduced-motion: reduce) { .hint__line { animation: none; } }

.rail {
  position: fixed; right: 1.35rem; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1.05rem;
  opacity: 0;
  transition: opacity 800ms var(--ease-out-expo);
}
.rail.is-on { opacity: 1; }
.rail__tick {
  position: relative;
  width: 22px; height: 22px;
  display: grid; place-items: center;
}
.rail__tick::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(202, 202, 202, 0.35);
  transition: background-color 400ms, box-shadow 400ms, transform 400ms var(--ease-out-expo);
}
.rail__tick:hover::before { background: var(--gold-hover); transform: scale(1.35); }
.rail__tick.is-here::before {
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(230, 188, 92, 0.8);
  transform: scale(1.5);
}
.rail__label {
  position: absolute; right: 30px; top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0;
  transition: opacity 300ms, transform 300ms var(--ease-out-expo);
  pointer-events: none;
}
.rail__tick:hover .rail__label, .rail__tick:focus-visible .rail__label {
  opacity: 1; transform: translateY(-50%) translateX(0);
}

.mute {
  position: fixed; right: 1.15rem; bottom: 1.15rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(230, 188, 92, 0.25);
  background: rgba(13, 19, 56, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--gold-primary);
  transition: border-color 400ms, box-shadow 500ms var(--ease-out-expo), color 400ms;
}
.mute:hover, .mute:focus-visible { border-color: var(--gold-hover); color: var(--gold-hover); box-shadow: var(--shadow-glow); }
.mute__slash { opacity: 0; transition: opacity 250ms; }
.mute__w1, .mute__w2 { transition: opacity 250ms; }
.mute.is-muted .mute__slash { opacity: 1; }
.mute.is-muted .mute__w1, .mute.is-muted .mute__w2 { opacity: 0.25; }

/* ============ OVERLAY STAGE (live mode) ============ */

#stage { position: relative; z-index: 60; }

.ovl {
  position: fixed; inset: 0;
  display: grid;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.ovl.is-vis { visibility: visible; }

.kicker {
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--gold-ui);
}
.serifline {
  font-family: var(--font-content);
  font-style: italic;
  color: var(--text-primary);
}

/* Poem triad */
.poem { place-items: center; text-align: center; }
.poem .serifline {
  font-size: var(--step-4);
  line-height: 1.3;
  max-width: 20ch;
  text-shadow: 0 2px 40px rgba(8, 11, 32, 0.9);
}

/* Descent kicker */
.descent-head { place-items: center; text-align: center; }
.descent-head .serifline { font-size: var(--step-1); color: var(--text-secondary); margin-top: 1.1rem; max-width: 34ch; }

/* Questions */
.q {
  position: fixed; top: 50%;
  max-width: min(64vw, 26ch);
  font-family: var(--font-content);
  font-style: italic;
  font-size: var(--step-3);
  line-height: 1.32;
  color: var(--text-primary);
  text-shadow: 0 2px 34px rgba(8, 11, 32, 0.85);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}
.q.is-vis { visibility: visible; }
.q--left { left: clamp(1.4rem, 9vw, 12vw); }
.q--right { right: clamp(1.4rem, 9vw, 12vw); text-align: right; }
.q--far { font-size: var(--step-2); color: var(--text-secondary); filter: blur(1.1px); }

/* Agora intro */
.agora-intro {
  place-items: end center;
  text-align: center;
  padding-bottom: clamp(6rem, 16vh, 10rem);
}
.agora-intro .serifline { font-size: var(--step-2); max-width: 30ch; margin-top: 1.2rem; line-height: 1.45; }

/* Figure + category labels (3D projected) */
.flabel, .clabel {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}
.flabel {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-shadow: 0 1px 12px rgba(8, 11, 32, 0.9);
}
.flabel::before {
  content: "";
  display: block;
  width: 1px; height: 16px;
  margin: 0 auto 6px;
  background: linear-gradient(to bottom, rgba(230, 188, 92, 0.7), transparent);
}
.clabel {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(212, 165, 57, 0.78);
  text-shadow: 0 1px 12px rgba(8, 11, 32, 0.95);
}

/* Hero captions */
.caption {
  position: fixed;
  left: clamp(1.4rem, 6vw, 6.5rem);
  bottom: clamp(5.5rem, 13vh, 9rem);
  max-width: 34rem;
  pointer-events: none;
  visibility: hidden;
}
.caption.is-vis { visibility: visible; }
.caption figcaption > * { opacity: 0; }
.caption__name {
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1.15;
}
.caption__epithet {
  margin-top: 0.35rem;
  font-size: var(--step-0);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
}
.caption__wisdom {
  margin-top: 1.15rem;
  font-family: var(--font-content);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 30ch;
  text-shadow: 0 2px 26px rgba(8, 11, 32, 0.9);
}
.caption__honesty {
  margin-top: 1.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.caption__honesty::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  margin-right: 0.7rem;
  vertical-align: middle;
  background: var(--gold-ui);
  opacity: 0.7;
}

/* ============ COUNCIL ============ */

.council {
  place-items: end center;
  text-align: center;
  padding-bottom: clamp(4.5rem, 11vh, 8rem);
}
.council__box {
  max-width: 46rem;
  padding: 2.6rem 5rem 2rem;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(8, 11, 32, 0.55), rgba(8, 11, 32, 0));
}
.council.is-live .council__box { pointer-events: auto; }
.council h2 {
  margin-top: 1.1rem;
  font-family: var(--font-content);
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-2);
  color: var(--text-primary);
}
.council__topic {
  margin-top: 0.4rem;
  font-size: var(--step-0);
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}
.council__line {
  margin-top: 1rem;
  font-family: var(--font-content);
  font-style: italic;
  font-size: var(--step-0);
  color: var(--text-tertiary);
}
.council__player {
  margin-top: 1.7rem;
  display: flex; align-items: center; gap: 1.1rem;
  justify-content: center;
}
.playbtn {
  position: relative;
  width: 56px; height: 56px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold-a38);
  background: rgba(230, 188, 92, 0.06);
  color: var(--gold-primary);
  display: grid; place-items: center;
  transition: border-color 400ms, box-shadow 500ms var(--ease-out-expo), background-color 400ms;
}
.playbtn:hover, .playbtn:focus-visible {
  border-color: var(--gold-hover);
  box-shadow: var(--shadow-glow);
  background: var(--gold-a08);
}
.playbtn svg { display: block; }
.playbtn .icon-pause { display: none; }
.playbtn.is-playing .icon-play { display: none; }
.playbtn.is-playing .icon-pause { display: block; }
.progressline {
  position: relative;
  width: min(46vw, 15rem); height: 22px; flex: none;
  display: block;
}
.progressline::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: rgba(230, 188, 92, 0.2);
}
.progressline__fill {
  position: absolute; left: 0; top: 50%; height: 1px; width: 100%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px rgba(230, 188, 92, 0.55);
  transform: scaleX(0); transform-origin: left center;
}
.council__meta {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.council__done {
  margin-top: 0.65rem;
  font-family: var(--font-content);
  font-style: italic;
  font-size: var(--step--1);
  color: var(--text-secondary);
  opacity: 0;
  transition: opacity 900ms var(--ease-out-expo);
}
.council__done.is-on { opacity: 1; }
.council__honesty {
  margin-top: 1.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ============ FORWARD DOOR / CRITICAL WINDOW ============ */

.cw {
  place-items: end center;
  text-align: center;
  padding-bottom: clamp(4rem, 10vh, 7rem);
}
.cw__box {
  max-width: 48rem;
  padding: 2.6rem 5rem 2.2rem;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(8, 11, 32, 0.58), rgba(8, 11, 32, 0));
}
.cw.is-live .cw__box { pointer-events: auto; }
.cw__lead {
  margin-top: 1.1rem;
  font-family: var(--font-content);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 44ch;
  margin-left: auto; margin-right: auto;
}
.cw h2 {
  margin-top: 1.9rem;
  font-weight: 500;
  font-size: var(--step-3);
  letter-spacing: 0.06em;
  color: var(--text-primary);
}
.cw__line { margin-top: 0.7rem; font-size: var(--step-0); color: var(--text-secondary); }
.cw__detail {
  margin-top: 0.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
}
.cw__cta {
  display: inline-block;
  margin-top: 1.7rem;
  padding: 0.9rem 2rem;
  border: 1px solid var(--gold-a38);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  transition: border-color 400ms, box-shadow 500ms var(--ease-out-expo),
              background-color 400ms, color 400ms;
}
.cw__cta:hover, .cw__cta:focus-visible {
  border-color: var(--gold-hover);
  color: var(--gold-hover);
  background: var(--gold-a08);
  box-shadow: var(--shadow-glow);
}

/* ============ OUTRO ============ */

.outro {
  place-items: center;
  text-align: center;
}
.outro__box {
  padding: 0 1.4rem;
  max-width: 46rem;
  pointer-events: none;
  display: flex; flex-direction: column; align-items: center;
}
.outro.is-live .outro__box { pointer-events: auto; }
.outro h2 {
  margin-top: 1.2rem;
  font-family: var(--font-content);
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.35;
  max-width: 24ch;
  color: var(--text-primary);
}
.outro__stat {
  margin-top: 1.4rem;
  font-size: var(--step-0);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--gold-primary);
}
.cta-primary {
  display: inline-block;
  margin-top: 2.1rem;
  padding: 1.05rem 2.6rem;
  border-radius: 999px;
  background: var(--gold-ui);
  color: #10163F;
  font-weight: 500;
  font-size: var(--step-0);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 400ms, box-shadow 500ms var(--ease-out-expo), transform 500ms var(--ease-out-expo);
}
.cta-primary:hover, .cta-primary:focus-visible {
  background: var(--gold-hover);
  box-shadow: 0 0 34px rgba(246, 213, 92, 0.35);
  transform: translateY(-2px);
}
.outro__micro {
  margin-top: 1.1rem;
  font-size: var(--step--1);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
.outro__micro2 {
  margin-top: 0.3rem;
  font-size: var(--step--1);
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.site-foot {
  margin-top: clamp(2.2rem, 7vh, 4.2rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(230, 188, 92, 0.14);
  width: min(88vw, 44rem);
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
}
.foot__trust {
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.foot__company { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--text-tertiary); }
.foot__links {
  margin-top: 0.5rem;
  display: flex; gap: 1.6rem; flex-wrap: wrap; justify-content: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.foot__links a {
  color: var(--text-tertiary);
  transition: color 300ms;
  padding: 0.2rem 0;
}
.foot__links a:hover, .foot__links a:focus-visible { color: var(--gold-hover); }

/* ============ STILL MODE (reduced motion / no WebGL) ============ */

body.mode-still { overflow: auto; }
body.mode-still #gate { display: none; }
body.mode-still .hint, body.mode-still .rail { display: none; }

.still-sky {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, #141B4C 0%, #0C1133 55%, #080B20 100%);
}
.still-sky canvas { width: 100%; height: 100%; display: block; }

.still { position: relative; z-index: 2; }
.still section {
  position: relative;
  padding: clamp(4.5rem, 14vh, 9rem) 1.5rem;
  max-width: 62rem;
  margin: 0 auto;
}
.still .fade-in { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo); }
.still .fade-in.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .still .fade-in { transform: none; transition: opacity 500ms ease; }
}

.still-hero { text-align: center; min-height: 92vh; display: grid; place-items: center; }
.still-hero .gate__title { opacity: 1; margin-top: 2rem; }
.still-hero .gate__tagline { opacity: 1; }
.still-hero svg { width: 120px; height: auto; filter: drop-shadow(0 0 26px rgba(230, 188, 92, 0.22)); }
.still-hero .still-poem {
  margin-top: 2.6rem;
  font-family: var(--font-content);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 2;
  color: var(--text-secondary);
}

.still-questions { text-align: center; }
.still-questions ul { list-style: none; margin-top: 3rem; display: flex; flex-direction: column; gap: 2.4rem; }
.still-questions li {
  font-family: var(--font-content);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--text-primary);
}

.still-agora .serifline { font-size: var(--step-1); max-width: 46ch; margin: 1rem auto 0; text-align: center; line-height: 1.6; }
.still-agora { text-align: center; }
.still-cat { margin-top: 4.2rem; text-align: left; }
.still-cat h3 {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-ui);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(230, 188, 92, 0.14);
}
.still-heroes { display: grid; gap: 2.2rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.still-figure { text-align: left; }
.still-figure img {
  width: 100%; max-width: 420px; height: auto; display: block;
  border: 1px solid rgba(230, 188, 92, 0.22);
  box-shadow: 0 18px 60px rgba(4, 6, 18, 0.6);
}
.still-figure figcaption { margin-top: 1.1rem; }
.still-names {
  margin-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem;
  list-style: none;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.still-council { text-align: center; }
.still-council .council__box { margin: 0 auto; pointer-events: auto; }
.still-fire {
  width: 74px; height: 74px; margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(246, 213, 92, 0.85) 0%, rgba(230, 188, 92, 0.35) 34%, transparent 70%);
  position: relative;
}
.still-fire::after {
  content: "";
  position: absolute; inset: 26px;
  border-radius: 50%;
  background: #0C1133;
  box-shadow: 0 0 0 1.5px rgba(230, 188, 92, 0.8);
}

.still-cw { text-align: center; }
.still-outro { text-align: center; padding-bottom: 4rem; }

/* ============ RESPONSIVE ============ */

@media (max-width: 720px) {
  .rail { right: 0.7rem; gap: 0.85rem; }
  .caption {
    left: 1.2rem; right: 1.2rem; bottom: 4.6rem;
    max-width: none;
  }
  .caption__wisdom { max-width: none; }
  .q { max-width: 78vw; }
  .council { padding-bottom: 3.6rem; }
  .progressline { width: 38vw; }
  .mute { right: 0.85rem; bottom: 0.85rem; }
  .gate__title { letter-spacing: 0.22em; text-indent: 0.22em; }
}

/* ============ NOSCRIPT ============ */

.noscript {
  position: fixed; inset: 0; z-index: 500;
  background: var(--bg-deep-space);
  display: grid; place-content: center; gap: 1rem;
  padding: 2rem; text-align: center;
}
.noscript p { max-width: 52ch; color: var(--text-secondary); }
.noscript__title { letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-primary); }
