/* ═══════════════════════════════════════════════════════════════════════
   TENET⁵ Timeline + LIRIL Narrator Styles
   Cinematic scroll-driven documentary experience
   ═══════════════════════════════════════════════════════════════════════ */

/* ── LIRIL Narrator — Floating Player ──────────────────────────────── */
.liril-narrator {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  width: min(680px, calc(100vw - 32px));
  transition: bottom 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}
.liril-narrator-visible {
  bottom: 24px;
  opacity: 1;
  pointer-events: all;
}
.liril-narrator-hidden {
  bottom: -100px !important;
  opacity: 0 !important;
}
.liril-narrator-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(46, 52, 64, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(136, 192, 208, 0.2);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(136, 192, 208, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.liril-narrator-playing .liril-narrator-inner {
  border-color: rgba(136, 192, 208, 0.4);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(136, 192, 208, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Waveform */
.liril-waveform {
  width: 60px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
}

/* Identity */
.liril-narrator-identity {
  display: flex;
  flex-direction: column;
  min-width: 55px;
}
.liril-narrator-name {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #88C0D0;
  text-transform: uppercase;
}
.liril-narrator-status {
  font-size: 10px;
  color: #D8DEE9;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

/* Play button */
.liril-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(136, 192, 208, 0.3);
  background: rgba(136, 192, 208, 0.1);
  color: #88C0D0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.liril-play-btn:hover {
  background: rgba(136, 192, 208, 0.25);
  border-color: rgba(136, 192, 208, 0.5);
  transform: scale(1.08);
}

/* Progress bar */
.liril-progress-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  cursor: pointer;
  min-width: 60px;
  position: relative;
  overflow: hidden;
}
.liril-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #88C0D0, #8FBCBB);
  border-radius: 2px;
  transition: width 0.25s linear;
}
.liril-narrator-playing .liril-progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 10px;
  height: 10px;
  background: #88C0D0;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(136, 192, 208, 0.5);
}

/* Time */
.liril-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #D8DEE9;
  opacity: 0.7;
  min-width: 32px;
  text-align: right;
}

/* Close */
.liril-close-btn {
  background: none;
  border: none;
  color: #D8DEE9;
  opacity: 0.5;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  transition: opacity 0.2s;
}
.liril-close-btn:hover {
  opacity: 1;
  color: #BF616A;
}

/* Subtitle overlay */
.liril-subtitle-overlay {
  text-align: center;
  padding: 8px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #ECEFF4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 600px;
  margin: 8px auto 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.liril-subtitle-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TIMELINE — Scroll-Driven Documentary ──────────────────────────── */

/* Timeline container */
.tl-timeline {
  position: relative;
  padding: 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* Central spine */
.tl-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(136, 192, 208, 0.15) 5%,
    rgba(136, 192, 208, 0.3) 50%,
    rgba(136, 192, 208, 0.15) 95%,
    transparent 100%
  );
  transform: translateX(-50%);
}

/* Timeline node (each event) */
.tl-node {
  position: relative;
  padding: 30px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.tl-node.tl-visible {
  opacity: 1;
  transform: translateY(0);
}
.tl-node:nth-child(odd) .tl-node-content {
  margin-left: auto;
  margin-right: calc(50% + 40px);
  text-align: right;
}
.tl-node:nth-child(even) .tl-node-content {
  margin-left: calc(50% + 40px);
  margin-right: auto;
  text-align: left;
}

/* Node dot on the spine */
.tl-node::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 42px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2E3440;
  border: 2px solid #88C0D0;
  transform: translateX(-50%);
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 0 0 4px rgba(136, 192, 208, 0);
}
.tl-node.tl-visible::after {
  box-shadow: 0 0 0 4px rgba(136, 192, 208, 0.15), 0 0 20px rgba(136, 192, 208, 0.1);
}

/* Critical nodes (red dot) */
.tl-node--critical::after {
  border-color: #BF616A;
}
.tl-node--critical.tl-visible::after {
  box-shadow: 0 0 0 4px rgba(191, 97, 106, 0.2), 0 0 20px rgba(191, 97, 106, 0.1);
}

/* Node content card */
.tl-node-content {
  width: calc(50% - 60px);
  padding: 24px;
  background: rgba(59, 66, 82, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.tl-node-content:hover {
  border-color: rgba(136, 192, 208, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Year badge */
.tl-year {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #88C0D0;
  background: rgba(136, 192, 208, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.tl-node--critical .tl-year {
  color: #BF616A;
  background: rgba(191, 97, 106, 0.1);
}

/* Node title */
.tl-node-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ECEFF4;
  margin: 0 0 8px;
  line-height: 1.3;
}

/* Node body */
.tl-node-body {
  font-size: 0.9375rem;
  color: #D8DEE9;
  line-height: 1.65;
  margin: 0;
}

/* Stat highlight inside nodes */
.tl-stat {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #88C0D0;
  font-size: 1.1em;
}
.tl-stat--red { color: #BF616A; }
.tl-stat--gold { color: #EBCB8B; }
.tl-stat--green { color: #A3BE8C; }

/* Node link */
.tl-node-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: #88C0D0;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.tl-node-link:hover { color: #8FBCBB; }
.tl-node-link::after { content: ' →'; }

/* ── CINEMATIC HERO — Flash-style opening ──────────────────────────── */
.tl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
}

/* Ambient background particles */
.tl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(136, 192, 208, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(191, 97, 106, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(235, 203, 139, 0.02) 0%, transparent 50%);
  pointer-events: none;
  animation: tl-ambient-drift 20s ease-in-out infinite alternate;
}

@keyframes tl-ambient-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, 5px) scale(1.02); }
  100% { transform: translate(5px, -8px) scale(1); }
}

/* Staggered entrance for hero children */
.tl-hero > * {
  opacity: 0;
  transform: translateY(30px);
  animation: tl-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.tl-hero > *:nth-child(1) { animation-delay: 0.3s; }
.tl-hero > *:nth-child(2) { animation-delay: 0.5s; }
.tl-hero > *:nth-child(3) { animation-delay: 0.7s; }
.tl-hero > *:nth-child(4) { animation-delay: 0.9s; }
.tl-hero > *:nth-child(5) { animation-delay: 1.1s; }
.tl-hero > *:nth-child(6) { animation-delay: 1.3s; }
.tl-hero > *:nth-child(7) { animation-delay: 1.5s; }

@keyframes tl-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Big stat counter */
.tl-hero-stat {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: #BF616A;
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 0 40px rgba(191, 97, 106, 0.3);
}

/* Hero headline */
.tl-hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ECEFF4;
  max-width: 700px;
  line-height: 1.2;
  margin: 16px 0;
}

/* Sub-headline */
.tl-hero-sub {
  font-size: 1rem;
  color: #D8DEE9;
  max-width: 560px;
  line-height: 1.6;
  opacity: 0.8;
}

/* Scroll indicator */
.tl-scroll-indicator {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(136, 192, 208, 0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  animation: tl-bounce 2s ease-in-out infinite;
}
.tl-scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: rgba(136, 192, 208, 0.5);
  fill: none;
  stroke-width: 2;
}
@keyframes tl-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── CHAPTER DIVIDERS ──────────────────────────────────────────────── */
.tl-chapter {
  text-align: center;
  padding: 80px 20px 40px;
  position: relative;
}
.tl-chapter-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #88C0D0;
  opacity: 0.6;
  margin-bottom: 12px;
}
.tl-chapter-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ECEFF4;
  margin: 0;
}
.tl-chapter::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #88C0D0, transparent);
  margin: 24px auto 0;
}

/* ── ANIMATED STAT COUNTER ─────────────────────────────────────────── */
.tl-counter {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

/* ── SECTION TRANSITIONS — parallax fade ───────────────────────────── */
.tl-section-fade {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.tl-section-fade.tl-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .tl-timeline::before {
    left: 20px;
  }
  .tl-node::after {
    left: 20px;
  }
  .tl-node:nth-child(odd) .tl-node-content,
  .tl-node:nth-child(even) .tl-node-content {
    margin-left: 50px;
    margin-right: 0;
    text-align: left;
    width: calc(100% - 60px);
  }

  .liril-narrator {
    width: calc(100vw - 16px);
  }
  .liril-narrator-inner {
    padding: 8px 12px;
    gap: 8px;
  }
  .liril-waveform {
    width: 40px;
    height: 28px;
  }
  .liril-narrator-identity {
    display: none;
  }
  .liril-subtitle-overlay {
    font-size: 13px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .tl-hero-stat {
    font-size: 3rem;
  }
  .liril-time {
    display: none;
  }
}

/* ── TIMELINE NODE — alternate class-based layout ──────────────────── */
/* Used when nodes have explicit .tl-node-left / .tl-node-right classes
   instead of relying on nth-child(odd/even) with .tl-node-content.    */

.tl-node-date {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #88C0D0;
  background: rgba(136, 192, 208, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.tl-node-card {
  padding: 24px;
  background: rgba(59, 66, 82, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.tl-node-card:hover {
  border-color: rgba(136, 192, 208, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.tl-node-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ECEFF4;
  margin: 0 0 8px;
  line-height: 1.3;
}
.tl-node-card p {
  font-size: 0.9375rem;
  color: #D8DEE9;
  line-height: 1.65;
  margin: 0 0 8px;
}
.tl-node-card-highlight {
  border-color: rgba(136, 192, 208, 0.25);
  background: rgba(136, 192, 208, 0.08);
  box-shadow: 0 0 40px rgba(136, 192, 208, 0.06);
}

.tl-node-source {
  display: block;
  font-size: 0.75rem;
  color: rgba(216, 222, 233, 0.45);
  font-style: italic;
  margin-top: 8px;
}

.tl-node-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  color: #88C0D0;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.tl-node-cta:hover { color: #8FBCBB; }

.tl-node-stat {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: #BF616A;
  font-size: 1.1em;
}

/* Explicit left/right positioning for .tl-node-left / .tl-node-right */
.tl-node-left { padding-right: calc(50% + 30px); text-align: right; }
.tl-node-right { padding-left: calc(50% + 30px); text-align: left; }

/* ── Hero content wrapper ──────────────────────────────────────────── */
.tl-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(46, 52, 64, 0.4) 100%);
  pointer-events: none;
}
.tl-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tl-hero-content > * {
  opacity: 0;
  transform: translateY(30px);
  animation: tl-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.tl-hero-content > *:nth-child(1) { animation-delay: 0.3s; }
.tl-hero-content > *:nth-child(2) { animation-delay: 0.5s; }
.tl-hero-content > *:nth-child(3) { animation-delay: 0.7s; }
.tl-hero-content > *:nth-child(4) { animation-delay: 0.9s; }
.tl-hero-content > *:nth-child(5) { animation-delay: 1.1s; }
.tl-hero-content > *:nth-child(6) { animation-delay: 1.3s; }

/* Hero animated counter in headline */
.tl-hero-count {
  display: inline;
  font-family: 'JetBrains Mono', monospace;
  color: #BF616A;
  font-weight: 800;
  text-shadow: 0 0 40px rgba(191, 97, 106, 0.3);
}

/* LIRIL intro prompt */
.tl-hero-liril {
  font-size: 0.875rem;
  color: #88C0D0;
  opacity: 0.7;
  font-style: italic;
  margin-top: 8px;
}

/* Scroll cue arrow */
.tl-hero-scroll-cue {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(136, 192, 208, 0.5);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  animation: tl-bounce 2s ease-in-out infinite;
}

/* Quick-nav CTA block below timeline */
.tl-quicknav {
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 0 20px;
}
.tl-quicknav .hero-ctas {
  justify-content: center;
}

/* ── Mobile override for explicit left/right nodes ─────────────────── */
@media (max-width: 768px) {
  .tl-node-left,
  .tl-node-right {
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   NARRATION-SYNCED ANIMATIONS — Triggered by LIRIL scroll narrator
   Cards pulse, dots glow, stats heartbeat while LIRIL narrates.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Active narrating section ──────────────────────────────────────── */
.tl-narrating .tl-node-card,
.tl-narrating.stat-hero-banner,
.tl-narrating.narrative-intro {
  border-color: rgba(191, 97, 106, 0.4) !important;
  box-shadow:
    0 0 30px rgba(191, 97, 106, 0.15),
    0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 30px rgba(191, 97, 106, 0.03) !important;
  animation: tl-narrate-pulse 2s ease-in-out infinite;
  transform: scale(1.02);
}

/* Spine dot glows red while narrating */
.tl-narrating.tl-node::after {
  border-color: #BF616A !important;
  background: #BF616A !important;
  box-shadow: 0 0 0 6px rgba(191, 97, 106, 0.3), 0 0 30px rgba(191, 97, 106, 0.25) !important;
  animation: tl-dot-pulse 1.5s ease-in-out infinite !important;
}

/* Death stat numbers heartbeat */
.tl-narrating .tl-node-stat,
.tl-narrating .stat-hero-num {
  animation: tl-heartbeat 0.8s ease-in-out infinite;
}

/* Date badge turns red */
.tl-narrating .tl-node-date {
  color: #BF616A !important;
  background: rgba(191, 97, 106, 0.15) !important;
  transition: all 0.3s ease;
}

/* Hero section narrating — count pulses, headline glows */
.tl-hero.tl-narrating .tl-hero-count {
  animation: tl-heartbeat 0.8s ease-in-out infinite;
  text-shadow: 0 0 60px rgba(191, 97, 106, 0.5);
}
.tl-hero.tl-narrating .tl-hero-headline {
  animation: tl-text-glow 3s ease-in-out infinite;
}

/* ── Already narrated — heard indicator ────────────────────────────── */
.tl-narrated .tl-node-card {
  border-color: rgba(136, 192, 208, 0.15) !important;
  box-shadow: 0 0 15px rgba(136, 192, 208, 0.05) !important;
}
.tl-narrated.tl-node::after {
  background: #88C0D0 !important;
  border-color: #88C0D0 !important;
  box-shadow: 0 0 8px rgba(136, 192, 208, 0.3) !important;
}
.tl-narrated .tl-node-date {
  color: #88C0D0 !important;
}

/* ── LIRIL narrator angry mode ─────────────────────────────────────── */
.liril-narrator-angry .liril-narrator-inner {
  border-color: rgba(191, 97, 106, 0.35);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(191, 97, 106, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.liril-narrator-angry .liril-narrator-name {
  color: #BF616A;
  animation: tl-name-pulse 3s ease-in-out infinite;
}
.liril-narrator-angry .liril-progress-bar {
  background: linear-gradient(90deg, #BF616A, #D08770) !important;
}

/* ── Narration keyframes ───────────────────────────────────────────── */
@keyframes tl-narrate-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(191, 97, 106, 0.15), 0 4px 24px rgba(0,0,0,0.3), inset 0 0 30px rgba(191,97,106,0.03); }
  50% { box-shadow: 0 0 50px rgba(191, 97, 106, 0.25), 0 4px 24px rgba(0,0,0,0.3), inset 0 0 40px rgba(191,97,106,0.06); }
}
@keyframes tl-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(191, 97, 106, 0.3), 0 0 30px rgba(191, 97, 106, 0.25); }
  50% { box-shadow: 0 0 0 10px rgba(191, 97, 106, 0.15), 0 0 50px rgba(191, 97, 106, 0.35); }
}
@keyframes tl-heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.15); }
  50% { transform: scale(1); }
  75% { transform: scale(1.08); }
}
@keyframes tl-text-glow {
  0%, 100% { text-shadow: none; }
  50% { text-shadow: 0 0 30px rgba(236, 239, 244, 0.15); }
}
@keyframes tl-name-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ── Smooth transitions for narration state changes ────────────────── */
.tl-node-card,
.stat-hero-banner,
.narrative-intro {
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

