/* ============================================================
   pages/day-in-rtg.css — "A Day in RTG" timeline page
   ------------------------------------------------------------
   Depends on: tokens.css, base.css, chrome.css
   ============================================================ */

/* ════════════ HERO ════════════ */
.hero {
  padding: 48px 0 24px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(61,90,122,0.08) 0%, transparent 50%),
    var(--bg);
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red);
  background: var(--red-wash);
  border: 1px solid rgba(220,38,38,0.30);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: 60px; font-weight: 900;
  color: var(--ink); letter-spacing: -0.045em;
  line-height: 1.05; margin: 0 0 22px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.hero h1 .accent {
  color: var(--red);
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}
@media (max-width: 1100px) { .hero h1 { font-size: 48px; } }
@media (max-width: 720px)  { .hero h1 { font-size: 34px; } }
.hero-sub {
  font-size: 18px; color: var(--body);
  line-height: 1.55;
  max-width: 660px;
  margin: 0 auto 32px;
}
.hero-ctas {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}

/* ════════════ TIMELINE ════════════ */
.timeline-section {
  padding: 56px 0 72px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.timeline {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 122px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--line) 8%, var(--line) 92%, transparent 100%);
}

.beat {
  display: grid;
  grid-template-columns: 90px 36px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
  position: relative;
}
.beat:last-child { margin-bottom: 0; }
.beat-time {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-blue);
  font-variant-numeric: tabular-nums;
  padding-top: 22px;
  letter-spacing: 0.02em;
}
.beat-dot-col {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  position: relative;
  z-index: 2;
}
.beat-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--slate-blue);
  position: relative;
}
.beat-dot.red { border-color: var(--red); }
.beat-dot.red::after {
  content: '';
  position: absolute;
  top: -5px; left: -5px;
  right: -5px; bottom: -5px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: pulse-ring 1.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.85; }
  100% { transform: scale(1.9); opacity: 0; }
}
.beat-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 6px 16px rgba(15,23,42,0.05);
  transition: all 0.15s ease;
}
.beat-content:hover {
  border-color: rgba(61,90,122,0.30);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(61,90,122,0.12);
}
.beat-content.dramatic {
  border-color: rgba(220,38,38,0.35);
  background: linear-gradient(180deg, rgba(220,38,38,0.04) 0%, #fff 50%);
}
.beat-content.live {
  border-color: rgba(220,38,38,0.35);
  background: linear-gradient(180deg, rgba(220,38,38,0.06) 0%, #fff 60%);
}
.beat-meta {
  display: flex; align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.beat-emoji { font-size: 20px; line-height: 1; }
.beat-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-blue);
  background: var(--slate-blue-soft);
  padding: 3px 8px;
  border-radius: 4px;
}
.beat-tag.red   { color: var(--red); background: var(--red-wash); }
.beat-tag.green { color: #15803d;    background: rgba(34,197,94,0.12); }
.beat-tag.amber { color: #b45309;    background: rgba(245,158,11,0.12); }
.beat-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 8px;
}
.beat-title .accent {
  color: var(--red);
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}
.beat-title .switch-arrow { color: #b45309;       font-weight: 900; margin: 0 4px; }
.beat-title .pos-support  { color: #15803d;       font-weight: 700; }
.beat-title .pos-oppose   { color: var(--red-deep); font-weight: 700; }
.beat-desc {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
}
.beat-desc strong { color: var(--ink); font-weight: 700; }
.beat-stat {
  margin-top: 12px;
  display: inline-flex; align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: var(--slate-blue-soft);
  border: 1px solid rgba(61,90,122,0.20);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--slate-blue-deep);
  font-weight: 600;
}
.beat-stat.green {
  background: rgba(34,197,94,0.08);
  border-color: rgba(34,197,94,0.30);
  color: #15803d;
}
.beat-stat strong {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: inherit;
}
@media (max-width: 720px) {
  .timeline           { padding: 0; }
  .timeline::before   { left: 10px; }
  .beat {
    grid-template-columns: 20px 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }
  .beat-time {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
    padding-bottom: 6px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 800;
  }
  .beat-dot-col {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 8px;
    justify-content: flex-start;
  }
  .beat-content { grid-column: 2; padding: 16px 18px; }
  .beat-title   { font-size: 17px; }
}

/* Closing line above CTA */
.day-close {
  padding: 100px 0 60px;
  text-align: center;
  background: var(--bg);
}
.day-close-eyebrow {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  color: var(--muted);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 16px;
}
.day-close-title {
  font-size: 48px; font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 880px;
  margin: 0 auto;
}
.day-close-title .accent {
  color: var(--red);
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}
@media (max-width: 720px) {
  .day-close-title   { font-size: 32px; }
  .day-close-eyebrow { font-size: 20px; }
}

/* ════════════ FINAL CTA ════════════ */
.final-cta {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(61,90,122,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(220,38,38,0.06) 0%, transparent 50%),
    var(--bg);
  padding: 100px 0 120px;
  text-align: center;
}
.final-cta h2 {
  font-size: 56px; font-weight: 900;
  color: var(--ink); letter-spacing: -0.05em;
  line-height: 1.0; margin: 0 auto 22px;
  max-width: 800px;
}
.final-cta h2 .accent {
  color: var(--red);
  font-style: italic;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
}
@media (max-width: 720px) { .final-cta h2 { font-size: 36px; } }
.final-cta p {
  font-size: 18px; color: var(--body);
  max-width: 600px; margin: 0 auto 32px;
}
.final-cta .hero-ctas { justify-content: center; }

/* ═══════════════════════════════════════════════════════
   V2 POLISH PASS — mono time stamps + chapter markers
   ═══════════════════════════════════════════════════════ */

/* ─── Mono time stamps — tabular, editorial ─── */
.beat-time {
  font-family: var(--mono) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  color: var(--ink) !important;
  font-variant-numeric: tabular-nums !important;
}

/* ─── Chapter markers — split the day into
       Morning / Midday / Afternoon ─── */
.chapter {
  display: grid;
  grid-template-columns: 90px 36px 1fr;
  gap: 24px;
  align-items: center;
  margin: 18px 0 32px;
  padding-top: 22px;
  position: relative;
}
.chapter:first-child { padding-top: 0; }
.chapter-num {
  text-align: right;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.chapter-dot-col {
  display: flex; justify-content: center;
  position: relative; z-index: 2;
}
.chapter-dot-col::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--ink);
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px var(--bg-soft);
}
.chapter-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex; align-items: center; gap: 18px;
}
.chapter-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
/* First chapter sits at the top of the timeline — no extra space above. */
.timeline > .chapter:first-child { margin-top: 0; }
