/* ════════════════════════════════════════════════════════════════
   Word2Talk — "The pile, and the quiet" about-story prototype.
   A scroll-driven brand story. The emotional arc (overwhelm -> calm)
   is mirrored visually: a faint field of unread-article fragments
   sits behind the words and quiets to nothing as you scroll, while
   each beat brightens from muted grey to clear white. No soundwave.
   Reuses brand tokens + the shared .w2t-mask headline geometry.
   ════════════════════════════════════════════════════════════════ */

.story {
  position: relative;
  background: var(--bg);
  overflow: clip;
}

/* Subtle ambient glow for cinematic depth (no literal text field). */
.story__glow {
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 130vw);
  height: 720px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(55% 50% at 50% 30%, rgba(49, 207, 234, 0.10), transparent 72%);
  filter: blur(8px);
}

.story__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(96px, 16vh, 200px) 24px clamp(120px, 20vh, 260px);
}

.story__eyebrow {
  display: block;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 22px;
}

.story__headline {
  text-align: center;
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin: 0 0 clamp(48px, 8vh, 96px);
}

.story__headline .accent,
.story__headline .w2t-w.is-accent { color: var(--accent-teal); }

/* ── Beats ── */
.story__beats {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 8vh, 92px);
}

.story__beat {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: color-mix(in srgb, var(--text-muted) 70%, transparent);
  margin: 0;
  transition: color 0.6s ease, text-shadow 0.6s ease;
  text-wrap: balance;
}

/* Brightening = clarity. Muted grey resolves to clear white on enter. */
.story__beat.is-lit {
  color: var(--text-primary);
  text-shadow: 0 0 26px rgba(49, 207, 234, 0.16);
}

.story__beat strong {
  color: var(--text-primary);
  font-weight: 600;
}

.story__close {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  text-align: center;
}

/* ── The turning point (pinned) ── */
.story__quote {
  margin: clamp(28px, 5vh, 56px) auto;
  max-width: 680px;
  text-align: center;
}

.story__quote p {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.8vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
}

.story__quote .qmark {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.6;
  color: color-mix(in srgb, var(--accent-teal) 55%, transparent);
  margin-bottom: 8px;
}

.story__quote cite {
  display: block;
  margin-top: 22px;
  font-family: 'Inter', system-ui, sans-serif;
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* ── Brief variant (homepage teaser): tighter, one section among many ── */
.story--brief .story__inner {
  padding: clamp(72px, 11vh, 130px) 24px clamp(80px, 12vh, 150px);
}

.story--brief .story__headline {
  font-size: clamp(26px, 3.6vw, 46px);
  margin-bottom: clamp(36px, 6vh, 72px);
}

.story--brief .story__beat {
  font-size: clamp(16px, 1.8vw, 22px);
}

.story--brief .story__close {
  font-size: clamp(18px, 2.2vw, 28px);
}

.story--brief .story__beats { gap: clamp(24px, 4vh, 44px); }

.story__more {
  align-self: center;
  margin-top: clamp(20px, 4vh, 40px);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-teal);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.story__more span { display: inline-block; transition: transform 0.2s ease; margin-left: 6px; }
.story__more:hover span { transform: translateX(5px); }

/* ── Coda: founder sign-off + closing CTA (about page only) ── */
.story-coda {
  position: relative;
  background: var(--bg);
  padding: clamp(32px, 6vh, 72px) 24px clamp(96px, 16vh, 180px);
}

.story-coda__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.story-coda__cta {
  margin-top: 0;
}

.story-coda__title {
  font-family: 'Sora', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.story-coda__sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

/* ── Reduced motion: everything legible and bright, field stays faint+still ── */
@media (prefers-reduced-motion: reduce) {
  .story__beat { color: var(--text-primary); transition: none; }
}

@media (max-width: 640px) {
  .story__inner { padding-top: 88px; padding-bottom: 96px; }
  .story__beats { gap: 40px; }
}
