:root {
  --bg: #08192a;
  --bg-soft: #10253a;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f8ff;
  --muted: #adc0d4;
  --accent: #54e4db;
  --accent-2: #ff7a5c;
  --accent-3: #ffe4a6;
  --neon-cyan: #46f3ff;
  --neon-lime: #9dff5f;
  --neon-magenta: #ff4fd8;
  --neon-violet: #8d7dff;
  --cursor-x: 50%;
  --cursor-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --border: rgba(255,255,255,0.16);
  --shadow: 0 26px 64px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(84,228,219,0.26), transparent 30rem),
    radial-gradient(circle at 95% 8%, rgba(255,122,92,0.21), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(255,228,166,0.1), transparent 35rem),
    linear-gradient(142deg, var(--bg), #0d2034 55%, var(--bg-soft));
  min-height: 100vh;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(340px circle at var(--cursor-x) var(--cursor-y), rgba(70,243,255,0.14), transparent 75%),
    radial-gradient(280px circle at calc(var(--cursor-x) + 12%) calc(var(--cursor-y) - 10%), rgba(255,79,216,0.12), transparent 78%);
  pointer-events: none;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent 90%);
  pointer-events: none;
}

.background-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.33;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift 13s ease-in-out infinite alternate;
  transform: translate3d(0, 0, 0);
}
.glow-one {
  background: radial-gradient(circle, var(--neon-cyan), transparent 65%);
  top: -6rem;
  left: -8rem;
}

.glow-two {
  background: radial-gradient(circle, var(--neon-magenta), transparent 65%);
  bottom: -6rem;
  right: -8rem;
  animation-duration: 16s;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 22, 36, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255,255,255,0.04), rgba(255,255,255,0.04)) padding-box,
    linear-gradient(120deg, var(--neon-cyan), var(--neon-violet), var(--neon-magenta), var(--neon-lime)) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04111b;
  font-size: 0.95rem;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.site-nav {
  display: flex;
  gap: 0.35rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255,255,255,0.11);
}

.site-nav a.active {
  color: #03111b;
  background: linear-gradient(135deg, var(--neon-cyan), var(--accent-3));
  box-shadow: 0 0 14px rgba(70,243,255,0.26);
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255,255,255,0.08);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  cursor: pointer;
  padding: 0.7rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 0.24rem 0;
  border-radius: 999px;
  background: white;
}

.section {
  padding: 5rem 0 0;
  opacity: 0.62;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.section.section-in-view,
.section:first-of-type {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  min-height: 82vh;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.edison-panel h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--neon-cyan), #fff 46%, var(--neon-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  animation: neonTextShift 6s linear infinite;
}

.hero-text,
.info-card p,
.person-card p,
.book-card p,
.comic-card p,
.edison-panel p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 40rem;
  margin: 1.2rem 0 1.7rem;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #03111b;
  background: linear-gradient(135deg, var(--neon-cyan), var(--accent-3));
  box-shadow: 0 14px 30px rgba(84,228,219,0.26), 0 0 20px rgba(70,243,255,0.2);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(84,228,219,0.33), 0 0 28px rgba(70,243,255,0.28);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.08);
}

.button-secondary:hover {
  background: rgba(255,255,255,0.13);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-stats > div {
  min-width: 6.6rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
}

.hero-stats strong {
  display: block;
  font-size: 1.25rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: min(100%, 28rem);
  aspect-ratio: 1 / 1.05;
  border-radius: 2.5rem;
  border: 1px solid rgba(70,243,255,0.28);
  background:
    radial-gradient(circle at 50% 28%, rgba(141,125,255,0.2), transparent 56%),
    linear-gradient(155deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: cardFloat 8s ease-in-out infinite;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 52%;
  background: radial-gradient(circle at 50% 0%, rgba(255,228,166,0.26), transparent 70%);
  pointer-events: none;
}

.visual-orb {
  position: absolute;
  inset: 12% 18%;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.8), rgba(87,233,223,0.2) 20%, transparent 58%);
  border: 1px solid rgba(255,255,255,0.2);
  filter: blur(0.3px);
  box-shadow: inset 0 0 46px rgba(255,255,255,0.18), 0 0 50px rgba(84,228,219,0.18), 0 0 36px rgba(255,79,216,0.18);
}

.visual-orb::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid rgba(70,243,255,0.46);
  box-shadow: 0 0 26px rgba(70,243,255,0.42), inset 0 0 22px rgba(141,125,255,0.24);
  animation: orbRingPulse 3.8s ease-in-out infinite;
  pointer-events: none;
}

.visual-orb::after {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  border: 1px dashed rgba(157,255,95,0.34);
  opacity: 0.72;
  animation: orbRingRotate 10s linear infinite;
  pointer-events: none;
}

.visual-orb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  mix-blend-mode: screen;
  animation: edisonPulse 5s ease-in-out infinite;
}

.visual-bubble {
  position: absolute;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(7, 22, 38, 0.88);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  box-shadow: 0 0 18px rgba(70,243,255,0.16);
}

.bubble-a { top: 14%; right: 9%; }
.bubble-b { bottom: 18%; left: 10%; }
.bubble-c { bottom: 8%; right: 14%; }

.bubble-a { animation: floatBubbleA 6.2s ease-in-out infinite; }
.bubble-b { animation: floatBubbleB 7.1s ease-in-out infinite; }
.bubble-c { animation: floatBubbleC 6.7s ease-in-out infinite; }

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.info-card,
.person-card,
.book-card,
.comic-card,
.edison-panel {
  border: 1px solid var(--border);
  border-radius: 1.35rem;
  background: linear-gradient(148deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
  box-shadow: var(--shadow);
}

.info-card,
.person-card,
.book-card,
.comic-card {
  padding: 1.2rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
  transform-style: preserve-3d;
  overflow: hidden;
}

.info-card:hover,
.person-card:hover,
.book-card:hover,
.comic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.38);
  border-color: rgba(255,255,255,0.26);
}

.interactive-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 180deg at 50% 50%, rgba(70,243,255,0.24), rgba(141,125,255,0.22), rgba(255,79,216,0.24), rgba(157,255,95,0.2), rgba(70,243,255,0.24));
  z-index: -1;
  opacity: 0;
  transition: opacity 240ms ease;
}

.interactive-card:hover::before {
  opacity: 1;
}

.person-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -44% -20%;
  height: 56%;
  opacity: 0.7;
  pointer-events: none;
}

.person-card[data-character="bouddha"]::after {
  background: radial-gradient(circle at 45% 0%, rgba(70,243,255,0.35), transparent 70%);
}

.person-card[data-character="laura"]::after {
  background: radial-gradient(circle at 55% 0%, rgba(255,79,216,0.34), transparent 70%);
}

.person-card[data-character="nina"]::after {
  background: radial-gradient(circle at 50% 0%, rgba(157,255,95,0.3), transparent 70%);
}

.person-card[data-character="oscar"]::after {
  background: radial-gradient(circle at 50% 0%, rgba(255,228,166,0.36), transparent 70%);
}

.person-card[data-character="edison"]::after {
  background: radial-gradient(circle at 50% 0%, rgba(141,125,255,0.34), transparent 70%);
}

.person-card[data-character="zakari"]::after {
  background: radial-gradient(circle at 50% 0%, rgba(84,228,219,0.3), transparent 70%);
}

.person-card[data-character="nora"]::after {
  background: radial-gradient(circle at 50% 0%, rgba(255,122,92,0.32), transparent 70%);
}

.person-card[data-character="journaliste"]::after {
  background: radial-gradient(circle at 50% 0%, rgba(255,79,216,0.28), transparent 70%);
}

.person-card[data-character="macron"]::after {
  background: radial-gradient(circle at 50% 0%, rgba(255,228,166,0.3), transparent 70%);
}

.person-card[data-character="samba"]::after {
  background: radial-gradient(circle at 50% 0%, rgba(157,255,95,0.3), transparent 70%);
}

.person-card[data-character="strateges"]::after {
  background: radial-gradient(circle at 50% 0%, rgba(70,243,255,0.24), rgba(141,125,255,0.22) 42%, transparent 72%);
}

.info-card h3,
.person-card h3,
.book-card h3,
.comic-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #03111b;
  font-weight: 800;
}

.card-image {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 0.95rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.card-image,
.visual-orb-image {
  will-change: transform;
}

.family-cards-grid .card-image {
  cursor: zoom-in;
}

.character-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(3, 8, 16, 0.9);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 50;
}

.character-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  width: min(92vw, 880px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 0 38px rgba(70,243,255,0.24), 0 24px 80px rgba(0,0,0,0.6);
  background: rgba(8,22,36,0.7);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  background: rgba(7, 22, 38, 0.9);
  color: #f3f8ff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255,79,216,0.22);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(70,243,255,0.22);
  outline: none;
}

.timeline-section {
  position: relative;
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background: linear-gradient(148deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 26%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(157,255,95,0.42), rgba(70,243,255,0.34), rgba(157,255,95,0.42));
  box-shadow: 0 0 20px rgba(157,255,95,0.2);
}

.timeline-card {
  position: relative;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(157,255,95,0.3);
  background:
    radial-gradient(circle at 50% 0%, rgba(70,243,255,0.1), transparent 55%),
    rgba(8, 22, 36, 0.76);
  backdrop-filter: blur(8px);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 500ms ease, opacity 500ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.timeline-cover-card:hover {
  transform: translateY(-4px);
  border-color: rgba(157,255,95,0.8);
  box-shadow: 0 0 0 1px rgba(157,255,95,0.45), 0 0 22px rgba(157,255,95,0.38), 0 18px 32px rgba(0,0,0,0.36);
}

.timeline-cover-card {
  cursor: pointer;
}

.timeline-cover-card:focus-visible {
  outline: 2px solid rgba(70,243,255,0.72);
  outline-offset: 3px;
}

.timeline-track.visible .timeline-card {
  transform: translateY(0);
  opacity: 1;
}

.timeline-track.visible .timeline-card:nth-child(2) { transition-delay: 120ms; }
.timeline-track.visible .timeline-card:nth-child(3) { transition-delay: 220ms; }
.timeline-track.visible .timeline-card:nth-child(4) { transition-delay: 320ms; }
.timeline-track.visible .timeline-card:nth-child(5) { transition-delay: 420ms; }
.timeline-track.visible .timeline-card:nth-child(6) { transition-delay: 520ms; }

.timeline-cover-wrap {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(157,255,95,0.34);
  margin-bottom: 0.85rem;
  aspect-ratio: 16 / 10;
  isolation: isolate;
  box-shadow: 0 0 18px rgba(70,243,255,0.22), inset 0 0 18px rgba(141,125,255,0.18);
}

.timeline-cover-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 160deg at 50% 50%, rgba(70,243,255,0.55), rgba(157,255,95,0.54), rgba(255,79,216,0.5), rgba(141,125,255,0.52), rgba(70,243,255,0.55));
  opacity: 0.52;
  filter: blur(10px);
  z-index: -1;
  animation: coverAuraRotate 8.5s linear infinite;
}

.timeline-cover-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent 38%, rgba(157,255,95,0.1));
  pointer-events: none;
}

.timeline-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 300ms ease, transform 300ms ease, filter 300ms ease;
}

.timeline-cover-front {
  opacity: 1;
  transform: scale(1);
  cursor: pointer;
  filter: saturate(1.08) brightness(1.04);
}

.timeline-cover-full {
  opacity: 0;
  transform: scale(1.06);
  filter: saturate(1.15) brightness(1.07);
}

.timeline-cover-card:hover .timeline-cover-front {
  opacity: 0;
  transform: scale(1.05);
}

.timeline-cover-card:hover .timeline-cover-full {
  opacity: 1;
  transform: scale(1);
}

.timeline-cover-card:hover .timeline-cover-wrap {
  border-color: rgba(70,243,255,0.82);
  box-shadow: 0 0 0 1px rgba(157,255,95,0.42), 0 0 26px rgba(70,243,255,0.34), inset 0 0 28px rgba(141,125,255,0.24);
}

.bd-gallery-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 4rem 1rem 1.2rem;
  background: rgba(3, 8, 16, 0.92);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 55;
}

.bd-gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.bd-stage {
  margin: 0;
  width: min(1280px, 90vw);
  max-height: 84vh;
  border-radius: 1.1rem;
  border: 1px solid rgba(157,255,95,0.38);
  background: rgba(8, 22, 36, 0.78);
  box-shadow: 0 0 0 1px rgba(157,255,95,0.2), 0 0 24px rgba(157,255,95,0.28), 0 24px 48px rgba(0,0,0,0.5);
  overflow: hidden;
}

.bd-stage-image {
  display: block;
  width: 100%;
  max-height: min(74vh, 900px);
  object-fit: contain;
  background: rgba(2, 8, 16, 0.78);
}

.bd-stage-caption {
  margin: 0;
  padding: 0.75rem 0.95rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.bd-nav {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(7, 22, 38, 0.92);
  color: #f3f8ff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(157,255,95,0.2);
}

.bd-nav:hover,
.bd-nav:focus-visible {
  background: rgba(70,243,255,0.22);
  outline: none;
}

.bd-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.timeline-year {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.timeline-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
}

.timeline-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-image-compact {
  height: 8.5rem;
}

.card-image-book {
  height: 10rem;
}

.edison-panel {
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 1.4rem;
}

.edison-orb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.56), rgba(84,228,219,0.24) 30%, transparent 62%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 0 50px rgba(255,255,255,0.08), 0 0 58px rgba(84,228,219,0.2);
  animation: orbAura 4.6s ease-in-out infinite;
}

blockquote {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: #eaf7fb;
  font-style: italic;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.3rem 0 2.8rem;
  border-top: 1px solid var(--border);
  margin-top: 3.5rem;
}

.neon-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.neon-particle {
  position: absolute;
  bottom: -12vh;
  left: var(--left, 50%);
  width: var(--size, 8px);
  height: var(--size, 8px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), hsla(var(--hue, 190), 100%, 70%, 0.65) 42%, transparent 70%);
  filter: blur(0.2px);
  opacity: 0.7;
  animation: particleRise var(--duration, 13s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes glowDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(18px, -22px, 0) scale(1.08); }
}

@keyframes neonTextShift {
  0% { filter: drop-shadow(0 0 0 rgba(70,243,255,0)); }
  25% { filter: drop-shadow(0 0 10px rgba(70,243,255,0.5)); }
  50% { filter: drop-shadow(0 0 12px rgba(255,79,216,0.45)); }
  75% { filter: drop-shadow(0 0 10px rgba(157,255,95,0.42)); }
  100% { filter: drop-shadow(0 0 0 rgba(70,243,255,0)); }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes edisonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@keyframes orbAura {
  0%, 100% { box-shadow: inset 0 0 50px rgba(255,255,255,0.08), 0 0 58px rgba(84,228,219,0.2); }
  50% { box-shadow: inset 0 0 56px rgba(255,255,255,0.12), 0 0 74px rgba(255,79,216,0.22); }
}

@keyframes orbRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.78; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes orbRingRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes coverAuraRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(1); }
}

@keyframes floatBubbleA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes floatBubbleB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@keyframes floatBubbleC {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes particleRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0;
  }
  12% { opacity: 0.72; }
  100% {
    transform: translate3d(-48px, -120vh, 0) scale(1.25);
    opacity: 0;
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .three-up { grid-template-columns: 1fr 1fr; }
  .four-up { grid-template-columns: 1fr 1fr; }
  .edison-panel { grid-template-columns: 1fr; }
  .timeline-track {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-track::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    border-radius: 1.2rem;
    padding: 1rem 1rem;
  }
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.7rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(8, 19, 31, 0.95);
  }
  .site-nav.open { display: flex; }
  .three-up,
  .four-up { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2rem; }
  .hero-stats > div { min-width: 5.6rem; }
  .visual-card { width: min(100%, 22rem); }
  .button { width: 100%; }
  .site-footer { flex-direction: column; }
  .timeline-track {
    grid-template-columns: 1fr;
  }

  .bd-gallery-lightbox {
    gap: 0.5rem;
    padding: 3.5rem 0.5rem 0.8rem;
  }

  .bd-stage {
    width: min(96vw, 96vw);
    max-height: 86vh;
  }

  .bd-stage-image {
    max-height: 74vh;
  }

  .bd-nav {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.8rem;
  }

  .character-lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: 0.8rem;
    right: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .neon-particles {
    display: none;
  }
}
