/* Our story: the half hour before six, told in five chapters beside a clock,
   then the vision ("After six") and a send-off in the brush wordmark. */

.script { font-family: "Rustic Roadway", "Archivo", system-ui, sans-serif; font-weight: 400; letter-spacing: -0.02em; line-height: 1; margin: 0; }

/* ---------------------------------------------------------------- Opening */
.story-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--lilac); color: var(--ink);
  min-height: clamp(560px, calc(100svh - 72px), 900px);
  display: grid; align-items: center;
}
.hero-rings {
  position: absolute; z-index: -1; right: -18%; top: 50%; width: min(1100px, 120vw); translate: 0 -50%;
  animation: turn 90s linear infinite;
}
.hero-dot { filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9)); }
@keyframes turn { to { rotate: 360deg; } }
.story-hero-inner { display: grid; justify-items: start; gap: 22px; padding: 72px 0 96px; }
.story-hero .eyebrow { color: var(--on-lilac); }
.hero-script { font-size: clamp(56px, 8vw, 104px); color: var(--on-lilac); margin-bottom: 6px; }
.story-hero .display { font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.045em; line-height: 0.92; font-stretch: 115%; }
.story-hero .lede { color: var(--on-lilac); max-width: 40ch; }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.55);
  text-decoration: none; font-weight: 700; color: var(--on-lilac);
}
.scroll-cue svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- Chapters */
.chapters { background: var(--paper); padding: clamp(72px, 10vw, 140px) 0; }
.chapters-grid { display: grid; grid-template-columns: 260px minmax(0, 680px); gap: clamp(40px, 7vw, 110px); justify-content: center; }
.clock-rail { position: relative; }
.clock { position: sticky; top: calc(50vh - 150px); display: grid; justify-items: center; gap: 14px; }
.clock svg { width: 220px; height: 220px; filter: drop-shadow(0 18px 40px rgba(36, 26, 61, 0.12)); }
.hand-hour, .hand-minute { transform-origin: 100px 100px; transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.clock-time { margin: 0; font-weight: 850; font-size: 34px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.clock-time small { font-size: 16px; font-weight: 700; color: var(--ink-3); }

.chapter-list { display: grid; gap: clamp(96px, 16vh, 180px); }
.chapter { scroll-margin-top: 120px; }
.chapter p { margin: 0 0 16px; font-size: 19px; color: #2b2a31; max-width: 58ch; }
.chapter .h2 { margin-bottom: 22px; font-size: clamp(36px, 4.6vw, 58px); }
.stamp {
  display: inline-block; margin: 0 0 18px !important; padding: 6px 14px; border-radius: 999px;
  background: var(--lilac-soft); color: var(--on-lilac) !important; font-size: 15px !important; font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.pull { font-weight: 800; font-size: clamp(22px, 2.4vw, 28px) !important; letter-spacing: -0.02em; color: var(--ink) !important; margin-top: 28px !important; }

/* The queue: seven people, two of them the near miss. */
.queue { margin: 32px 0 8px; display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }
.queue span {
  width: 34px; height: 58px; border-radius: 17px 17px 10px 10px; background: var(--line); position: relative;
}
.queue span::before { content: ""; position: absolute; left: 50%; top: -26px; width: 22px; height: 22px; translate: -50% 0; border-radius: 50%; background: inherit; }
.queue span { margin-top: 26px; }
.queue .her { background: var(--peach); }
.queue .him { background: var(--lilac); }
.queue figcaption { flex-basis: 100%; font-size: 15px; font-weight: 650; color: var(--ink-3); margin-top: 6px; }

/* What we left behind. */
.crossed { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.crossed li {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 18px; color: var(--ink-3);
}
.crossed li::before { content: "×"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); color: var(--ink-2); font-weight: 800; }
.crossed s { text-decoration-thickness: 2px; }

.chapter .big-ask { font-size: clamp(64px, 10vw, 128px); color: var(--ink); margin: 18px 0 24px !important; max-width: none !important; }

.ring-note {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; margin-top: 36px;
  padding: 22px 24px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
}
.ring-note svg { width: 56px; height: 56px; }
.ring-note p { margin: 0 !important; font-size: 17px !important; }

/* ---------------------------------------------------------------- Vision */
.vision { background: var(--charcoal); color: #fff; padding: clamp(88px, 11vw, 150px) 0; }
.vision .eyebrow { color: var(--lilac); opacity: 1; }
.vision .h2 { margin: 14px 0 22px; }
.vision .lede { color: rgba(255, 255, 255, 0.72); max-width: 46ch; }
.pillars { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pillar {
  padding: 28px 24px 30px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); display: grid; align-content: start; gap: 12px;
}
.pillar-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--tint); color: var(--ink); font-weight: 800; font-size: 15px; margin-bottom: 8px;
}
.pillar p { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 16px; }
.manifesto { margin: clamp(72px, 9vw, 120px) 0 0; padding: 0; }
.manifesto p { margin: 0; font-weight: 850; font-stretch: 108%; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(38px, 5.4vw, 72px); max-width: 17ch; }
.manifesto footer { margin-top: 24px; max-width: 46ch; color: rgba(255, 255, 255, 0.6); font-size: 18px; }

/* ---------------------------------------------------------------- Close */
.story-close { background: var(--lilac); color: var(--on-lilac); padding: clamp(80px, 10vw, 130px) 0; text-align: center; }
.close-script { font-size: clamp(72px, 12vw, 150px); }
.close-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.close-cta .btn-light { box-shadow: none; }

/* ---------------------------------------------------------------- Reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-rings { animation: none; }
  .hand-hour, .hand-minute { transition: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------- Narrow */
@media (max-width: 1080px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .chapters-grid { grid-template-columns: minmax(0, 1fr); }
  .clock-rail { display: none; }
  .hero-rings { right: -60%; opacity: 0.7; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .chapter p { font-size: 17px; }
  .queue { gap: 10px; }
  .queue span { width: 28px; height: 48px; }
}
