/* Pinned word-by-word reveal — the marquee motion moment.
   Outer .manifesto-track is 380vh tall; inner .manifesto-stage is sticky
   and fills the viewport. GSAP scrubs word color from --ink-dim → --ink
   (or --accent + glow shadow for italic emphasis) against scroll progress. */

.manifesto-track {
  height: 380vh;
  position: relative;
  /* Sticky children require overflow to be visible on all ancestors */
  overflow: visible;
}

.manifesto-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl) var(--container-pad);
}

.manifesto-stage__inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.manifesto-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.manifesto-label::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.manifesto {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 5.25rem);
  font-weight: 500;
  font-variation-settings: "opsz" 60;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink-dim);
  max-width: 22ch;
}

.manifesto .narrative-word {
  display: inline-block;
  transition: color var(--dur-fast) var(--ease-out), text-shadow var(--dur-base) var(--ease-out);
  will-change: color;
}

.manifesto .narrative-word em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: inherit;
}

.manifesto-end {
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  opacity: 0;
}

/* Reduced motion — collapse to natural height + words fully lit */
@media (prefers-reduced-motion: reduce) {
  .manifesto-track { height: auto; min-height: 60vh; }
  .manifesto-stage { position: static; height: auto; }
  .manifesto .narrative-word { color: var(--ink); }
  .manifesto .narrative-word em { color: var(--accent); text-shadow: 0 0 24px var(--accent-glow); }
  .manifesto-end { opacity: 1; }
}
