/* ════════════════════════════════════════
   TOKENS
════════════════════════════════════════ */
:root {
  --blue: #0028F0;
  --blue-rgb: 0,40,240;
}
[data-theme="dark"] {
  --bg:           #0a0a0a;
  --bg-card:      rgba(255,255,255,0.03);
  --bg-card-h:    rgba(255,255,255,0.06);
  --border:       rgba(255,255,255,0.07);
  --border-h:     rgba(0,40,240,0.4);
  --fg:           #ffffff;
  --fg-mid:       rgba(255,255,255,0.82);
  --fg-dim:       rgba(255,255,255,0.55);
  --dot:          #1c1c1c;
  --glow:         rgba(0,40,240,0.15);
  --glow-mid:     rgba(0,40,240,0.06);
  --hr:           rgba(0,40,240,0.45);
  --tag:          #ffffff;
  --toggle-bg:    #1a1a1a;
  --toggle-bd:    #2a2a2a;
  --toggle-ic:    #666;
  --scroll-hint:  rgba(255,255,255,0.40);
}
[data-theme="light"] {
  --bg:           #f3f3f5;
  --bg-card:      rgba(0,40,240,0.04);
  --bg-card-h:    rgba(0,40,240,0.08);
  --border:       rgba(0,40,240,0.10);
  --border-h:     rgba(0,40,240,0.35);
  --fg:           #0028F0;
  --fg-mid:       rgba(0,40,240,0.88);
  --fg-dim:       rgba(0,40,240,0.55);
  --dot:          #c5cdf7;
  --glow:         rgba(0,40,240,0.10);
  --glow-mid:     rgba(0,40,240,0.04);
  --hr:           rgba(0,40,240,0.4);
  --tag:          #0028F0;
  --toggle-bg:    #e6e8fc;
  --toggle-bd:    #b0baf5;
  --toggle-ic:    #0028F0;
  --scroll-hint:  rgba(0,40,240,0.40);
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: background 0.5s, color 0.5s;
  overflow-x: hidden;
}

/* ════════════════════════════════════════
   ARABIC / RTL
════════════════════════════════════════ */
[lang="ar"] body { font-family: 'Cairo', sans-serif; }
[lang="ar"] .topbar-logo,
[lang="ar"] .hero-ya { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; direction: ltr; display: inline-block; }
[lang="ar"] .section-label,
[lang="ar"] .hero-tagline,
[lang="ar"] .hero-nav,
[lang="ar"] .topbar-nav,
[lang="ar"] .scroll-label,
[lang="ar"] .role-org,
[lang="ar"] .about-family { letter-spacing: 0; }

/* Arabic script needs larger sizes — small Latin px become illegible */
[lang="ar"] .topbar-nav { font-size: 16px; }
[lang="ar"] .hero-tagline { font-size: 16px; }
[lang="ar"] .hero-nav { font-size: 15px; }
[lang="ar"] .section-label { font-size: 15px; }
[lang="ar"] .scroll-label { font-size: 14px; }
[lang="ar"] .role-org { font-size: 15px; }
[lang="ar"] .about-family { font-size: 15px; }
[dir="rtl"] .role-dot { margin-right: 0; margin-left: 8px; }
[dir="rtl"] .t-card-arrow { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .modal-close { right: auto; left: 16px; }
[dir="rtl"] .lb-close { right: auto; left: 20px; }
[dir="rtl"] .lb-prev { left: auto; right: 12px; }
[dir="rtl"] .lb-next { right: auto; left: 12px; }
[dir="rtl"] .section-label::before { transform: scaleX(-1); }

.lang-btn {
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-bd);
  border-radius: 50px;
  padding: 6px 13px;
  cursor: pointer;
  font-size: 12px; letter-spacing: 0.08em;
  color: var(--toggle-ic);
  transition: all 0.3s;
  font-family: inherit;
}
.lang-btn:hover { border-color: var(--blue); color: var(--blue); }

/* ════════════════════════════════════════
   FIXED LAYERS
════════════════════════════════════════ */
.dot-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 30px 30px;
  transition: opacity 0.5s;
}
[data-theme="light"] .dot-grid { opacity: 0.6; }

/* ════════════════════════════════════════
   NAV BAR
════════════════════════════════════════ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
.topbar.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .topbar.scrolled {
  background: rgba(243,243,245,0.88);
}

.topbar-logo {
  font-size: 16px; font-weight: 300; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg);
  text-decoration: none; transition: color 0.3s;
}
.topbar-logo span { color: var(--blue); }

.topbar-nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 32px; align-items: center;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-variant: small-caps;
}
.topbar-nav a {
  color: var(--fg-mid); text-decoration: none;
  transition: color 0.25s; cursor: pointer;
}
.topbar-nav a:hover { color: var(--blue); }

.topbar-right { display: flex; align-items: center; gap: 16px; }

.theme-btn {
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-bd);
  border-radius: 50px;
  padding: 6px 13px;
  display: flex; align-items: center; gap: 7px;
  cursor: pointer; font-size: 12px;
  color: var(--toggle-ic);
  letter-spacing: 0.08em;
  transition: all 0.3s;
  font-family: inherit;
}
.theme-btn:hover { border-color: var(--blue); color: var(--blue); }
.theme-btn .ti { font-size: 14px; }

/* ════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--glow) 0%, var(--glow-mid) 45%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 5s ease-in-out infinite;
  pointer-events: none; z-index: 0;
  transition: background 0.5s;
}
@keyframes pulseGlow {
  0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: 0.7; }
  50%      { transform: translate(-50%,-50%) scale(1.12); opacity: 1;   }
}

.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 28px; text-align: center;
  animation: fadeUp 1s ease forwards; opacity: 0;
}

.hero-tagline {
  font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--tag);
  font-weight: 300; transition: color 0.5s;
  margin: 0;
}

/* YA logotype */
.hero-ya {
  font-size: clamp(100px, 18vw, 200px);
  font-weight: 300; letter-spacing: -0.02em; line-height: 1;
  color: var(--fg); transition: color 0.5s;
}
[data-theme="dark"] .hero-ya {
  text-shadow: 0 0 120px rgba(0,40,240,0.18), 0 0 40px rgba(0,40,240,0.08);
}
[data-theme="light"] .hero-ya {
  text-shadow: 0 0 80px rgba(0,40,240,0.10);
}


.hero-hr {
  width: 160px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hr), transparent);
  transition: background 0.5s;
}

.hero-nav {
  font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--fg-mid);
  font-variant: small-caps; display: flex; gap: 18px; align-items: center;
}
.hero-nav a { color: inherit; text-decoration: none; cursor: pointer; transition: color 0.2s; }
.hero-nav a:hover { color: var(--blue); }
.hero-nav .sep { opacity: 0.3; }

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; z-index: 1;
  animation: fadeUp 1s 0.8s ease forwards; opacity: 0;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollAnim 2.2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  49%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.scroll-label {
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--scroll-hint);
}

/* ════════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════════ */
section {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  padding: 100px 40px;
}

.section-label {
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--blue);
  font-weight: 600; margin-bottom: 48px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: ''; width: 28px; height: 1px; background: var(--blue);
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300; letter-spacing: -0.02em;
  line-height: 1.15; color: var(--fg);
  margin-bottom: 24px;
}

.section-body {
  font-size: 17px; line-height: 1.8;
  color: var(--fg-mid); max-width: 620px;
}

.section-divider {
  border: none; height: 1px;
  background: linear-gradient(90deg, var(--hr), transparent);
  max-width: 1100px; margin: 0 auto;
  opacity: 0.4;
}

/* ════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════ */
.about-philosophy {
  border-left: 2px solid var(--blue);
  padding: 20px 28px;
  margin: 40px 0 48px;
  background: var(--bg-card);
  border-radius: 0 10px 10px 0;
}
.about-philosophy p {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 300; line-height: 1.6;
  color: var(--fg); letter-spacing: -0.01em;
  font-style: italic;
}
.about-philosophy cite {
  display: block; margin-top: 12px;
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue);
  font-style: normal; font-weight: 500;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}

.about-left {
  display: flex; flex-direction: column; gap: 20px;
}

.about-family {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px; color: var(--fg-mid);
  letter-spacing: 0.08em;
}
.about-family .icon { font-size: 18px; }

.about-roles {
  display: flex; flex-direction: column; gap: 12px;
}
.role-item {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.25s;
}
.role-item:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
}
.role-title {
  font-size: 15px; font-weight: 500; color: var(--fg);
  margin-bottom: 3px;
}
.role-org {
  font-size: 13px; color: var(--fg-dim); letter-spacing: 0.05em;
}
.role-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  display: inline-block; margin-right: 8px;
  animation: blink 2.5s ease-in-out infinite;
}
.role-dot.inactive { animation: none; background: var(--fg-dim); }
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}

/* ════════════════════════════════════════
   BEYOND THE BOARDROOM — PHOTO GALLERY
════════════════════════════════════════ */
.photo-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 4px;
  margin-top: 48px;
  border-radius: 14px;
  overflow: hidden;
}

.mosaic-cell {
  background: var(--bg-card-h);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.25s;
  position: relative;
}
.photo-strip .mosaic-cell { border: none; border-radius: 0; }
.photo-strip .mosaic-cell:first-child { grid-row: span 2; }
.mosaic-cell:hover { opacity: 0.9; }

.mosaic-cell img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.mosaic-empty {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 6px;
  opacity: 0.25;
}
.mosaic-empty span {
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--fg);
}
.mosaic-dot {
  width: 20px; height: 1px; background: var(--fg);
}

/* ════════════════════════════════════════
   THOUGHTS — TABBED SECTION
════════════════════════════════════════ */

/* Tag filter chips */
.thoughts-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 40px; margin-bottom: 8px;
}
.tag-chip {
  background: none; border: 1px solid var(--border);
  color: var(--fg-mid); border-radius: 100px;
  padding: 6px 14px; font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.tag-chip:hover { color: var(--fg); border-color: var(--fg-mid); }
.tag-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Cards grid */
.thoughts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

/* Base card */
.t-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s;
  display: flex; flex-direction: column;
}
.t-card:hover {
  border-color: var(--border-h);
  transform: translateY(-2px);
}
.t-card[data-cat="thought"] { grid-column: span 2; }
.t-card-media {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg-card-h);
  position: relative; overflow: hidden;
}
/* Thought cards with portrait/square images — contain instead of crop */
.t-card[data-cat="thought"] .t-card-media img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #111;
  border: none; display: block;
}
.t-card-media img,
.t-card-media video,
.t-card-media iframe {
  width: 100%; height: 100%; object-fit: cover;
  border: none; display: block;
}
.t-card-media-empty {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.15;
  font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg);
}
.t-card-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
/* Tag badges on cards */
.t-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.t-tag {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-dim); border: 1px solid var(--border);
  border-radius: 100px; padding: 2px 8px;
}
.t-card-title {
  font-size: 18px; font-weight: 300;
  color: var(--fg); letter-spacing: -0.02em;
  line-height: 1.3;
}
.t-card-meta {
  font-size: 13px; color: var(--fg-dim);
  letter-spacing: 0.05em;
}
.t-card-excerpt {
  font-size: 14px; line-height: 1.7;
  color: var(--fg-mid); margin-top: 4px;
}
.t-card-footer {
  margin-top: auto; padding-top: 14px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border);
}
.t-card-date {
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-dim);
}
.t-card-arrow {
  font-size: 14px; color: var(--fg-dim);
  transition: transform 0.2s, color 0.2s;
}
.t-card:hover .t-card-arrow {
  transform: translateX(4px); color: var(--blue);
}


/* Empty state */
.thoughts-empty {
  grid-column: 1/-1;
  text-align: center; padding: 60px 20px;
  color: var(--fg-dim);
  font-size: 15px; letter-spacing: 0.05em;
}

/* Hide/show by tab */
.t-card.hidden { display: none; }

/* ════════════════════════════════════════
   CONNECT SECTION
════════════════════════════════════════ */
.connect-wrap {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 48px;
}

.connect-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 200; letter-spacing: -0.02em;
  color: var(--fg); line-height: 1.1;
}

.social-links {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}

.social-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mid); text-decoration: none;
  transition: all 0.25s;
}
.social-btn:hover {
  border-color: var(--border-h);
  color: var(--blue);
  background: var(--bg-card-h);
}
.social-btn .si { font-size: 16px; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  display: flex; align-items: center;
  justify-content: space-between;
  max-width: 100%;
}
.footer-left {
  font-size: 13px; letter-spacing: 0.14em;
  color: var(--fg-dim);
}
.footer-left span { color: var(--blue); }
.footer-right {
  font-size: 12px; letter-spacing: 0.10em;
  color: var(--fg-dim);
}

/* ════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* stagger children */
.reveal-group > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-group.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-group.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.1s; }
.reveal-group.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.2s; }
.reveal-group.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.3s; }
.reveal-group.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.4s; }
.reveal-group.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.5s; }

/* ════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════ */
.mosaic-cell { cursor: pointer; }
#lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.93);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
#lightbox.open { opacity: 1; pointer-events: all; }
#lightbox img {
  max-width: min(90vw, 1200px); max-height: 85vh;
  object-fit: contain; border-radius: 4px; display: block;
  user-select: none;
}
.lb-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 34px; line-height: 1; color: #fff;
  background: none; border: none; cursor: pointer;
  opacity: 0.55; transition: opacity 0.2s;
}
.lb-close:hover { opacity: 1; }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 42px; color: #fff;
  background: none; border: none; cursor: pointer;
  opacity: 0.45; transition: opacity 0.2s; padding: 16px;
  user-select: none;
}
.lb-arrow:hover { opacity: 1; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.45); font-size: 13px;
  letter-spacing: 0.15em; text-transform: uppercase;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 768px) {
  .topbar { padding: 18px 20px; }
  .topbar-nav { display: none; }
  section { padding: 70px 20px; }
  .about-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 10px; text-align: center; }

  /* Beyond section — photo strip on mobile */
  .photo-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 140px 140px 140px; border-radius: 10px; }
  .photo-strip .mosaic-cell:first-child { grid-row: span 1; grid-column: span 2; }

  /* Thoughts section — single column on mobile */
  .thoughts-grid { grid-template-columns: 1fr; }
  .thoughts-tags { gap: 6px; }

  /* Modal mobile */
  .modal-overlay { padding: 0; }
  .modal-inner { padding: 28px 20px 32px; border-radius: 0; min-height: 100dvh; overflow-y: visible; }
  .modal-cover { aspect-ratio: 16/9; }
  .modal-body h1 { font-size: 24px; }
}

/* ════════════════════════════════════════
   POST MODAL
════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 40px 20px;
  align-items: flex-start; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-inner {
  background: var(--bg);
  border: 1px solid var(--border-h);
  border-radius: 16px;
  width: 100%; max-width: 720px;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.3s ease;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  background: var(--fg);
  border: none;
  color: var(--bg); border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 17px; line-height: 1;
  transition: opacity 0.2s;
}
.modal-close:hover { opacity: 0.75; }
.modal-cover {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg-card-h); overflow: hidden;
}
.modal-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.modal-cover iframe { width:100%; height:100%; border:none; display:block; }
.modal-cover.portrait { aspect-ratio: unset; max-height: 420px; }
.modal-cover.portrait img { object-fit: contain; background: #111; height: 420px; }
.modal-body {
  padding: 32px 36px 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.modal-cat {
  font-size: 11px; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--blue); font-weight: 600;
}
.modal-body h1 {
  font-size: 30px; font-weight: 300; color: var(--fg);
  letter-spacing: -0.03em; line-height: 1.25; margin: 0;
}
.modal-meta {
  font-size: 13px; color: var(--fg-dim); letter-spacing: 0.05em;
}
.modal-rating { font-size: 16px; color: var(--blue); }
.modal-divider {
  border: none; border-top: 1px solid var(--border); margin: 4px 0;
}
.modal-content {
  font-size: 17px; line-height: 1.85; color: var(--fg-mid);
  display: flex; flex-direction: column; gap: 14px;
}
.modal-content p { margin: 0; }
.modal-content strong { color: var(--fg); font-weight: 500; }
.modal-content em { font-style: italic; }
.modal-content a { color: var(--blue); }
.modal-content blockquote {
  border-left: 2px solid var(--blue);
  margin: 0; padding: 8px 0 8px 20px;
  color: var(--fg); font-style: italic;
}

/* Share bar */
.modal-share {
  display: flex; align-items: center; gap: 8px;
  padding-top: 20px; margin-top: 4px;
  border-top: 1px solid var(--border);
}
.share-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-dim); margin-right: 4px;
}
.share-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent; color: var(--fg);
  font-size: 13px; letter-spacing: 0.05em;
  cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.share-btn:hover { border-color: var(--border-h); background: var(--bg-card-h); }
.share-btn.copied { border-color: var(--blue); color: var(--blue); }
.share-btn svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

/* ════════════════════════════════════════
   THREE FILTERS TRIANGLE HEADER
════════════════════════════════════════ */
.modal-triangle-header {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 36px 24px 28px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: visible;
}
.mth-tag {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(140,180,255,0.82); margin-bottom: 24px;
}
.mth-svg {
  width: 100%; max-width: 260px;
  overflow: visible; margin-bottom: 24px;
}
@media (max-width: 600px) { .mth-svg { max-width: 180px; } }
.mth-line {
  stroke: rgba(0,40,240,0.4); stroke-width: 1.5; transition: none;
}
.mth-line-1 { stroke-dasharray: 245 245; stroke-dashoffset: 245; }
.mth-line-2 { stroke-dasharray: 280 280; stroke-dashoffset: 280; }
.mth-line-3 { stroke-dasharray: 245 245; stroke-dashoffset: 245; }
@keyframes mthDrawLine { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes mthFadeIn   { from { opacity: 0; } to { opacity: 1; } }
.modal-triangle-header.is-ready .mth-line-1 { animation: mthDrawLine 0.55s ease 0.1s forwards; }
.modal-triangle-header.is-ready .mth-line-2 { animation: mthDrawLine 0.55s ease 0.55s forwards; }
.modal-triangle-header.is-ready .mth-line-3 { animation: mthDrawLine 0.55s ease 1.0s forwards; }
.modal-triangle-header.is-dashed .mth-line { stroke-dasharray: 4 4; stroke-dashoffset: 0; }
.mth-node {
  fill: rgba(0,40,240,0.5); stroke: rgba(0,40,240,0.7); stroke-width: 1.5;
  opacity: 0;
  transition: fill 0.2s, filter 0.2s, transform 0.2s;
  transform-box: fill-box; transform-origin: center;
}
.mth-node.is-hovered {
  fill: #0028F0; filter: drop-shadow(0 0 8px rgba(0,40,240,0.7)); transform: scale(1.29);
}
.modal-triangle-header.is-ready .mth-node-msg { animation: mthFadeIn 0.3s ease 0.4s forwards; }
.modal-triangle-header.is-ready .mth-node-aud { animation: mthFadeIn 0.3s ease 0.85s forwards; }
.modal-triangle-header.is-ready .mth-node-tim { animation: mthFadeIn 0.3s ease 1.3s forwards; }
.mth-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  fill: rgba(255,255,255,0.78); opacity: 0; transition: fill 0.2s;
}
.mth-label.is-hovered { fill: #ffffff; }
[data-theme="light"] .mth-label { fill: rgba(0,40,240,0.55); }
[data-theme="light"] .mth-label.is-hovered { fill: #0028F0; }
.modal-triangle-header.is-ready .mth-label-msg { animation: mthFadeIn 0.3s ease 0.4s forwards; }
.modal-triangle-header.is-ready .mth-label-aud { animation: mthFadeIn 0.3s ease 0.85s forwards; }
.modal-triangle-header.is-ready .mth-label-tim { animation: mthFadeIn 0.3s ease 1.3s forwards; }
.mth-tooltip {
  position: absolute;
  background: rgba(0,40,240,0.12); border: 1px solid rgba(0,40,240,0.4);
  border-radius: 8px; padding: 8px 12px; max-width: 160px;
  font-size: 14px; color: var(--fg); line-height: 1.5;
  pointer-events: none; opacity: 0; transition: opacity 0.2s;
  white-space: normal; z-index: 10;
}
.mth-tooltip.is-visible { opacity: 1; }
.modal-inner.has-triangle { overflow: visible; }
@media (prefers-reduced-motion: reduce) {
  .modal-triangle-header .mth-line,
  .modal-triangle-header .mth-node,
  .modal-triangle-header .mth-label {
    animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important;
  }
}

/* ── Crisis Pulse Network (mph) ── */
@keyframes mphDrawLine  { from { stroke-dashoffset: var(--mph-len); } to { stroke-dashoffset: 0; } }
@keyframes mphFadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes mphPulseRing {
  0%   { r: 8;  opacity: 0.85; stroke-width: 1.5; }
  100% { r: 50; opacity: 0;    stroke-width: 0.3; }
}
@keyframes mphFlicker   { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.75; } }

.modal-pulse-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 24px;
  box-sizing: border-box;
}
.mph-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(140,180,255,0.82);
  margin-bottom: 24px;
}
.mph-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  overflow: visible;
}
@media (max-width: 600px) { .mph-svg-wrap { max-width: 180px; } }
.mph-svg {
  width: 100%;
  aspect-ratio: 1;
  overflow: visible;
  display: block;
}

/* Lines */
.mph-line {
  stroke: rgba(0,40,240,0.5);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 40 40;
  stroke-dashoffset: 40;
  transition: none;
}

/* Pulse rings */
.mph-ring {
  fill: none;
  stroke: rgba(0,40,240,0.55);
}

/* Outer nodes */
.mph-node {
  fill: rgba(0,40,240,0.45);
  stroke: rgba(0,40,240,0.75);
  stroke-width: 1.4;
  opacity: 0;
  transition: fill 0.2s, filter 0.2s, transform 0.2s;
  transform-box: fill-box;
  transform-origin: center;
}
.mph-node.is-hovered {
  fill: rgba(0,40,240,0.9);
  filter: drop-shadow(0 0 8px rgba(0,40,240,0.7));
  transform: scale(1.35);
}

/* Labels */
.mph-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  fill: rgba(255,255,255,0.78);
  opacity: 0;
  transition: fill 0.2s;
}
.mph-label.is-hovered { fill: rgba(255,255,255,0.9); }
[data-theme="light"] .mph-label { fill: rgba(0,40,240,0.55); }
[data-theme="light"] .mph-label.is-hovered { fill: #0028F0; }

/* Center label */
.mph-center-label {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: rgba(255,255,255,0.92);
  pointer-events: none;
}
[data-theme="light"] .mph-center-label { fill: rgba(255,255,255,0.9); }

/* Tooltips */
.mph-tooltip {
  position: absolute;
  background: rgba(4, 10, 48, 0.94);
  border: 1px solid rgba(60,100,255,0.5);
  border-radius: 8px;
  padding: 10px 14px;
  max-width: 220px;
  font-size: 14px;
  color: rgba(210,220,255,0.95);
  line-height: 1.6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: normal;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.mph-tooltip.is-visible { opacity: 1; }

/* Allow tooltips to overflow modal */
.modal-inner.has-pulse { overflow: visible; }

/* ── Clarity header (noise-to-signal) ─────────────────── */
.modal-clarity-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 260px;
  background: #060614;
  padding: 24px 20px 20px;
  box-sizing: border-box;
}
.mcl-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(140,180,255,0.82);
  margin-bottom: 16px;
}
.mcl-canvas-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 160px;
}
.mcl-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.modal-inner.has-clarity { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  .mcl-canvas { /* static frame drawn by JS — no CSS override needed */ }
}

/* ── Internal First header (inside-out) ─────────────────── */
@keyframes mifDrawLine { to { stroke-dashoffset: 0; } }
@keyframes mifFadeIn   { to { opacity: 1; } }
@keyframes mifFlash    { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }
@keyframes mifPulseRing {
  0%   { r: 55; opacity: 0.18; stroke-width: 1; }
  60%  { r: 68; opacity: 0.06; stroke-width: 0.5; }
  100% { r: 75; opacity: 0;    stroke-width: 0.3; }
}
.modal-if-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 24px;
  box-sizing: border-box;
}
.mif-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(140,180,255,0.82);
  margin-bottom: 24px;
}
/* AI article header — orbital system */
@keyframes maiFadeIn { to { opacity: 1; } }
.modal-mai-header { width:100%; display:flex; flex-direction:column; align-items:center; padding:32px 24px 24px; box-sizing:border-box; }
.mai-tag { font-size:13px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:rgba(140,180,255,0.82); margin-bottom:24px; }
.mai-svg-wrap { position:relative; width:100%; max-width:300px; overflow:visible; }
.mai-svg { width:100%; overflow:visible; display:block; }
.mai-orb-ring { fill:none; stroke:rgba(0,60,220,0.22); stroke-width:0.7; opacity:0; }
.mai-core     { fill:rgba(0,30,190,0.75); stroke:rgba(60,140,255,0.9); stroke-width:1.8; opacity:0; }
.mai-core-text{ fill:rgba(255,255,255,0.92); font-size:7px; font-weight:700; letter-spacing:0.05em; opacity:0; }
.mai-node     { fill:rgba(0,50,210,0.62); stroke:rgba(60,140,255,0.82); stroke-width:1.2; opacity:0; }
.mai-label    { font-size:6px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; fill:rgba(140,180,255,0.62); opacity:0; }
[data-theme="light"] .mai-label { fill:rgba(0,40,200,0.55); }
#modal-mai.is-ready .mai-core      { animation: maiFadeIn 0.4s ease 0.1s forwards; }
#modal-mai.is-ready .mai-core-text { animation: maiFadeIn 0.4s ease 0.2s forwards; }
#modal-mai.is-ready .mai-orb-ring  { animation: maiFadeIn 0.5s ease 0.4s forwards; }
#modal-mai.is-ready .mai-node-1    { animation: maiFadeIn 0.3s ease 0.7s forwards; }
#modal-mai.is-ready .mai-node-2    { animation: maiFadeIn 0.3s ease 0.85s forwards; }
#modal-mai.is-ready .mai-node-3    { animation: maiFadeIn 0.3s ease 1.0s forwards; }
#modal-mai.is-ready .mai-node-4    { animation: maiFadeIn 0.3s ease 1.15s forwards; }
#modal-mai.is-ready .mai-label-1   { animation: maiFadeIn 0.3s ease 0.8s forwards; }
#modal-mai.is-ready .mai-label-2   { animation: maiFadeIn 0.3s ease 0.95s forwards; }
#modal-mai.is-ready .mai-label-3   { animation: maiFadeIn 0.3s ease 1.1s forwards; }
#modal-mai.is-ready .mai-label-4   { animation: maiFadeIn 0.3s ease 1.25s forwards; }
@media (prefers-reduced-motion: reduce) {
  #modal-mai .mai-core, #modal-mai .mai-core-text, #modal-mai .mai-orb-ring,
  #modal-mai .mai-node, #modal-mai .mai-label { animation:none !important; opacity:1 !important; }
}
/* Slow Comms header — Option A: Two Paths */
@keyframes mscDrawPath { to { stroke-dashoffset: 0; } }
@keyframes mscGlowRing {
  0%   { r: 10; opacity: 0.28; stroke-width: 1.2; }
  70%  { r: 22; opacity: 0.07; stroke-width: 0.6; }
  100% { r: 28; opacity: 0;   stroke-width: 0.3; }
}
.modal-msc-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 24px;
  box-sizing: border-box;
}
.msc-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(140,180,255,0.82);
  margin-bottom: 24px;
}
.msc-svg-wrap { position: relative; width: 100%; max-width: 340px; overflow: visible; }
.msc-svg { width: 100%; overflow: visible; display: block; }
.msc-path-left {
  fill: none; stroke: rgba(0,60,240,0.52); stroke-width: 1.5; stroke-linejoin: round;
  stroke-dasharray: 78; stroke-dashoffset: 78;
}
.msc-path-right {
  fill: none; stroke: rgba(40,100,255,0.78); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
}
.msc-center-node { fill: rgba(0,40,220,0.65); stroke: rgba(40,100,255,0.9); stroke-width: 1.8; opacity: 0; }
.msc-glow-ring   { fill: none; stroke: rgba(40,100,255,0.22); stroke-width: 1; opacity: 0; }
.msc-end-dot     { fill: rgba(0,40,220,0.55); stroke: rgba(40,100,255,0.88); stroke-width: 1.8; opacity: 0; }
.msc-label { font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; fill: rgba(140,180,255,0.65); opacity: 0; }
[data-theme="light"] .msc-label { fill: rgba(0,40,200,0.6); }
/* Animation triggers */
#modal-msc.is-ready .msc-path-left   { animation: mscDrawPath 0.65s linear  0.1s forwards; }
#modal-msc.is-ready .msc-center-node { animation: mifFadeIn  0.4s ease      0.8s forwards; }
#modal-msc.is-ready .msc-glow-ring-1 { animation: mifFadeIn  0.1s ease      0.8s forwards, mscGlowRing 2.2s ease-out 1.1s infinite; }
#modal-msc.is-ready .msc-glow-ring-2 { animation: mifFadeIn  0.1s ease      0.8s forwards, mscGlowRing 2.2s ease-out 2.2s infinite; }
#modal-msc.is-ready .msc-path-right  { animation: mscDrawPath 0.9s ease-out  1.0s forwards; }
#modal-msc.is-ready .msc-end-dot     { animation: mifFadeIn  0.4s ease      1.9s forwards; }
#modal-msc.is-ready .msc-label-react   { animation: mifFadeIn 0.3s ease 0.5s  forwards; }
#modal-msc.is-ready .msc-label-pause   { animation: mifFadeIn 0.3s ease 1.0s  forwards; }
#modal-msc.is-ready .msc-label-respond { animation: mifFadeIn 0.3s ease 1.8s  forwards; }
@media (prefers-reduced-motion: reduce) {
  #modal-msc .msc-path-left, #modal-msc .msc-path-right, #modal-msc .msc-end-dot,
  #modal-msc .msc-center-node, #modal-msc .msc-glow-ring, #modal-msc .msc-label {
    animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important;
  }
}
.mif-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 260px;
  overflow: visible;
}
@media (max-width: 600px) { .mif-svg-wrap { max-width: 180px; } }
.mif-svg { width: 100%; aspect-ratio: 1; overflow: visible; display: block; }
.mif-spoke {
  stroke: rgba(0,40,240,0.5);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 16 16;
  stroke-dashoffset: 16;
}
.mif-inner-ring { fill: none; stroke: rgba(0,40,240,0.35); stroke-width: 1.5; opacity: 0; }
.mif-outer-ring { fill: none; stroke: rgba(0,40,240,0.55); }
.mif-node {
  fill: rgba(0,40,240,0.45);
  stroke: rgba(0,40,240,0.75);
  stroke-width: 1.4;
  opacity: 0;
}
.mif-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  fill: rgba(255,255,255,0.45);
  opacity: 0;
}
[data-theme="light"] .mif-label { fill: rgba(0,40,240,0.55); }
.mif-center-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: rgba(255,255,255,0.97);
  pointer-events: none;
  opacity: 0;
}
.mif-center-sub {
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: rgba(255,255,255,0.88);
  pointer-events: none;
  opacity: 0;
}
[data-theme="light"] .mif-center-label { fill: rgba(255,255,255,0.9); }
/* Animation triggers — fire when .is-ready is added to #modal-if */
#modal-if.is-ready .mif-center-node  { animation: mifFadeIn 0.4s ease 0.1s  forwards; }
#modal-if.is-ready .mif-inner-ring   { animation: mifFadeIn 0.4s ease 0.1s  forwards; }
#modal-if.is-ready .mif-center-label { animation: mifFadeIn 0.4s ease 0.25s forwards, mifFlash 1.8s ease-in-out 1.6s infinite; }
#modal-if.is-ready .mif-center-sub   { animation: mifFadeIn 0.4s ease 0.35s forwards; }
#modal-if.is-ready .mif-spoke-content { animation: mifDrawLine 0.45s ease 0.5s forwards; }
#modal-if.is-ready .mif-spoke-events  { animation: mifDrawLine 0.45s ease 0.5s forwards; }
#modal-if.is-ready .mif-spoke-brand   { animation: mifDrawLine 0.45s ease 0.5s forwards; }
#modal-if.is-ready .mif-spoke-design  { animation: mifDrawLine 0.45s ease 0.5s forwards; }
#modal-if.is-ready .mif-node-content  { animation: mifFadeIn 0.35s ease 0.85s forwards; }
#modal-if.is-ready .mif-node-events   { animation: mifFadeIn 0.35s ease 0.85s forwards; }
#modal-if.is-ready .mif-node-brand    { animation: mifFadeIn 0.35s ease 0.85s forwards; }
#modal-if.is-ready .mif-node-design   { animation: mifFadeIn 0.35s ease 0.85s forwards; }
#modal-if.is-ready .mif-label-content { animation: mifFadeIn 0.3s ease 1.0s  forwards; }
#modal-if.is-ready .mif-label-events  { animation: mifFadeIn 0.3s ease 1.0s  forwards; }
#modal-if.is-ready .mif-label-brand   { animation: mifFadeIn 0.3s ease 1.0s  forwards; }
#modal-if.is-ready .mif-label-design  { animation: mifFadeIn 0.3s ease 1.0s  forwards; }
#modal-if.is-ready .mif-outer-ring    { animation: mifPulseRing 2.4s ease-out 1.2s infinite; }
#modal-if.is-ready .mif-outer-ring-2  { animation: mifPulseRing 2.4s ease-out 2.4s infinite; }
@media (prefers-reduced-motion: reduce) {
  #modal-if .mif-spoke, #modal-if .mif-node, #modal-if .mif-label,
  #modal-if .mif-center-label, #modal-if .mif-center-sub,
  #modal-if .mif-inner-ring, #modal-if .mif-center-node {
    animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important;
  }
}

/* Animation triggers — applied when .is-ready is added to #modal-pulse */
.modal-pulse-header.is-ready .mph-line-narrative {
  animation: mphDrawLine 0.5s ease 0.1s forwards, mphFlicker 2.4s ease-in-out 0.75s infinite;
}
.modal-pulse-header.is-ready .mph-line-channels {
  animation: mphDrawLine 0.5s ease 0.35s forwards, mphFlicker 2.4s ease-in-out 1.0s infinite;
}
.modal-pulse-header.is-ready .mph-line-governance {
  animation: mphDrawLine 0.5s ease 0.6s forwards, mphFlicker 2.4s ease-in-out 1.25s infinite;
}
.modal-pulse-header.is-ready .mph-line-trust {
  animation: mphDrawLine 0.5s ease 0.85s forwards, mphFlicker 2.4s ease-in-out 1.5s infinite;
}
.modal-pulse-header.is-ready .mph-line-speed {
  animation: mphDrawLine 0.5s ease 1.1s forwards, mphFlicker 2.4s ease-in-out 1.75s infinite;
}
.modal-pulse-header.is-ready .mph-ring {
  animation: mphPulseRing 2.2s ease-out infinite;
}
.modal-pulse-header.is-ready .mph-ring-2 {
  animation: mphPulseRing 2.2s ease-out 1.1s infinite;
}
.modal-pulse-header.is-ready .mph-node-narrative  { animation: mphFadeIn 0.35s ease 0.5s  forwards; }
.modal-pulse-header.is-ready .mph-node-channels   { animation: mphFadeIn 0.35s ease 0.75s forwards; }
.modal-pulse-header.is-ready .mph-node-governance { animation: mphFadeIn 0.35s ease 1.0s  forwards; }
.modal-pulse-header.is-ready .mph-node-trust      { animation: mphFadeIn 0.35s ease 1.25s forwards; }
.modal-pulse-header.is-ready .mph-node-speed      { animation: mphFadeIn 0.35s ease 1.5s  forwards; }
.modal-pulse-header.is-ready .mph-label-narrative  { animation: mphFadeIn 0.3s ease 0.5s  forwards; }
.modal-pulse-header.is-ready .mph-label-channels   { animation: mphFadeIn 0.3s ease 0.75s forwards; }
.modal-pulse-header.is-ready .mph-label-governance { animation: mphFadeIn 0.3s ease 1.0s  forwards; }
.modal-pulse-header.is-ready .mph-label-trust      { animation: mphFadeIn 0.3s ease 1.25s forwards; }
.modal-pulse-header.is-ready .mph-label-speed      { animation: mphFadeIn 0.3s ease 1.5s  forwards; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .modal-pulse-header .mph-line,
  .modal-pulse-header .mph-node,
  .modal-pulse-header .mph-label,
  .modal-pulse-header .mph-ring {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}
