/* manifesto.css — Phase 6a onboarding card (STORY_ARC.md §6a,
 * design screen 01).
 *
 * Uses the shared `--accent` (rust red) from tokens.css — the manifesto's
 * earlier scoped crimson was dropped on 2026-05-20 when the whole app
 * unified on the prototype's rust accent. See `tokens.css`.
 *
 * Pairs with base.css: relies on its `.eyebrow` utility for the mono
 * small-caps labels (eyebrow + per-event dates), and on its h1/h2 +
 * body defaults for the serif headlines and warm-paper background.
 */

.manifesto {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
}

.manifesto__card {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

/* Eyebrow ------------------------------------------------------------ */

.manifesto__eyebrow {
  display: block;
  color: var(--accent-ink);
  margin-bottom: 1.5rem;
}

/* Headline pair ------------------------------------------------------ */

.manifesto__headline {
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.18;
}

.manifesto__headline--alt {
  margin-top: 0.85rem;
}

.manifesto__line {
  display: block;
}

.manifesto__line--muted {
  color: var(--text-3);
}

.manifesto__line--accent {
  color: var(--accent-ink);
}

/* Timeline ----------------------------------------------------------- */

/* The timeline shares one vertical axis between line + every dot.
 *
 * `--m-gutter` is the column the line and dots live in. The timeline's
 * left padding sets the column width; the line and every dot anchor at
 * `--m-gutter / 2` (the column's midpoint) and then `translateX(-50%)`
 * recenters them regardless of their own width — so a 10px hollow dot
 * and a 12px filled dot share the same vertical axis pixel-perfectly,
 * with the line passing through both centres.
 */
.manifesto__timeline {
  --m-gutter: 1.5rem;
  list-style: none;
  position: relative;
  padding-left: var(--m-gutter);
  margin: 2.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.manifesto__timeline::before {
  content: "";
  position: absolute;
  left: calc(var(--m-gutter) / 2);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--accent);
  transform: translateX(-50%);
}

.manifesto__event {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.manifesto__event::before {
  content: "";
  position: absolute;
  left: calc(var(--m-gutter) / -2);
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.25px solid var(--accent);
  box-sizing: border-box;
  transform: translateX(-50%);
}

.manifesto__event--active::before {
  background: var(--accent);
  width: 12px;
  height: 12px;
  /* top nudged 1px up to keep the larger dot vertically centred on the
     same row baseline as the hollow ones. */
  top: 0.4375rem;
}

.manifesto__date {
  display: block;
  /* `.eyebrow` already gives us mono + uppercase + letter-spacing +
     muted colour. Only the today-marker overrides colour below. */
}

.manifesto__event--today .manifesto__date {
  color: var(--accent-ink);
}

.manifesto__label {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--ink);
}

.manifesto__event--active .manifesto__label {
  font-weight: 700;
}

/* Dek + CTA ---------------------------------------------------------- */

.manifesto__dek {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0 0 1.25rem;
}

.manifesto__cta {
  display: block;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.1rem 1rem;
  border-radius: 2px;
  transition: opacity 120ms ease;
}

.manifesto__cta:active {
  opacity: 0.7;
}
