@charset "UTF-8";

/* =====================================================
   République d'Haïti — Premium Visual Theme v2
   Cinematic · Historical · Prestigious · Elegant
   ===================================================== */

/* ── Google Fonts ───────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ──────────────────────────────────── */
:root {
  --navy:          #050D1F;
  --navy-mid:      #0A1640;
  --blue:          #00209F;
  --blue-dark:     #000E6E;
  --blue-mid:      #0A2EC2;
  --crimson:       #B5102A;
  --crimson-light: #D91540;
  --gold:          #C4922A;
  --gold-light:    #D8AE56;
  --gold-bright:   #ECC96A;
  --gold-pale:     #F5E5B8;

  --ivory:         #FEFCF8;
  --cream:         #F8F4EC;
  --cream-alt:     #F0EAD8;
  --parchment:     #EAE1CE;

  --text:          #0D1117;
  --text-mid:      #2D3748;
  --text-muted:    #5A6478;

  --border:        #DDD6C8;
  --border-gold:   rgba(196,146,42,0.3);

  --bg:            var(--ivory);
  --bg-soft:       var(--cream);
  --white:         #ffffff;
  --red:           var(--crimson);
  --red-light:     var(--crimson-light);

  --shadow-sm:     0 2px 12px rgba(5,13,31,0.06);
  --shadow-md:     0 8px 28px rgba(5,13,31,0.10);
  --shadow-lg:     0 20px 48px rgba(5,13,31,0.15);
  --shadow-gold:   0 4px 24px rgba(196,146,42,0.18);
  --glow-gold:     0 0 40px rgba(196,146,42,0.22);

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     28px;

  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-sans:     'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-display:  'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

/* ══════════════════════════════════════════════════════
   PAGE LOAD ANIMATION
   ══════════════════════════════════════════════════════ */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

body {
  font-family: var(--font-sans);
  background: var(--ivory);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: page-fade-in 0.5s ease forwards;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ══════════════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--gold), var(--gold-bright), var(--gold));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(196,146,42,0.6);
}

/* ══════════════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid rgba(196,146,42,0.45);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 18px;
  cursor: pointer;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: rgba(196,146,42,0.15);
  border-color: var(--gold-bright);
  box-shadow: 0 4px 20px rgba(196,146,42,0.3), 0 0 0 2px rgba(196,146,42,0.15);
}

/* ══════════════════════════════════════════════════════
   BASE TYPOGRAPHY
   ══════════════════════════════════════════════════════ */
.section-title {
  font-family: var(--font-serif);
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(26px, 3.5vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-label {
  color: var(--gold);
  letter-spacing: 3.5px;
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.85;
  max-width: 680px;
}

.section--alt {
  background: var(--cream);
  position: relative;
}

/* ══════════════════════════════════════════════════════
   SECTION ORNAMENT DIVIDER
   ══════════════════════════════════════════════════════ */
.section-ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 52px;
  max-width: 320px;
  justify-content: center;
}

.section-ornament::before,
.section-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold));
}

.section-ornament::after {
  background: linear-gradient(to left, transparent, var(--border-gold));
}

.section-ornament__icon {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 6px;
  opacity: 0.7;
}

/* Gold divider used between major page sections */
.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, rgba(196,146,42,0.25) 30%, rgba(196,146,42,0.5) 50%, rgba(196,146,42,0.25) 70%, transparent 100%);
  margin: 0;
  border: none;
}

/* ══════════════════════════════════════════════════════
   HEADER / NAVBAR
   ══════════════════════════════════════════════════════ */
@keyframes navbar-fade-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-header {
  background: linear-gradient(to right, var(--navy) 0%, #081430 50%, var(--navy) 100%);
  border-bottom: 1px solid rgba(196,146,42,0.20);
  box-shadow: 0 2px 0 rgba(196,146,42,0.08), 0 4px 40px rgba(0,0,0,0.55);
  transition: all 0.3s ease;
  animation: navbar-fade-in 0.6s ease forwards;
}

/* Scrolled state — applied by JS */
.site-header.scrolled {
  min-height: auto !important;
  box-shadow: 0 2px 0 rgba(196,146,42,0.15), 0 4px 24px rgba(0,0,0,0.7);
  background: rgba(4, 9, 24, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.scrolled .navbar {
  min-height: 56px !important;
  padding: 6px 0 !important;
}

.site-header.scrolled .navbar__logo {
  font-size: 13px;
}

.navbar {
  transition: all 0.3s ease;
}

.navbar__logo {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-bright);
  line-height: 1.3;
  position: relative;
  padding: 4px 0;
  transition: all 0.3s ease;
  text-shadow: 0 0 20px rgba(196,146,42,0.3);
}

.navbar__logo::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,146,42,0.5), transparent);
}

/* .navbar__logo .logo-emoji-flag — element removed from HTML, rule no longer needed */

.navbar__nav a {
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  padding: 8px 13px;
  border-radius: 4px;
  transition: all var(--transition);
}

.navbar__nav a:hover,
.navbar__nav a.active {
  background: rgba(196,146,42,0.10);
  color: var(--gold-bright);
}

.nav-dropdown__btn {
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  border-radius: 4px;
  transition: all var(--transition);
}

.nav-dropdown__btn:hover,
.nav-dropdown.open .nav-dropdown__btn {
  background: rgba(196,146,42,0.10);
  color: var(--gold-bright);
}

.nav-dropdown__menu {
  background: #07122A;
  border: 1px solid rgba(196,146,42,0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 48px rgba(0,0,0,0.6), 0 1px 0 rgba(196,146,42,0.1);
  padding: 10px 0;
  overflow: hidden;
}

.nav-dropdown__menu a {
  color: rgba(255,255,255,0.70) !important;
  font-size: 13.5px;
  padding: 10px 20px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.nav-dropdown__menu a:hover {
  background: rgba(196,146,42,0.08) !important;
  color: var(--gold-bright) !important;
  border-left-color: var(--gold);
  padding-left: 24px;
}

.search-toggle {
  background: rgba(196,146,42,0.08);
  border: 1px solid rgba(196,146,42,0.25);
  color: var(--gold-light);
  transition: all var(--transition);
}

.search-toggle:hover {
  background: rgba(196,146,42,0.18);
  border-color: rgba(196,146,42,0.55);
  color: var(--gold-bright);
  box-shadow: 0 0 12px rgba(196,146,42,0.2);
}

/* Mobile nav */
@media (max-width: 1280px) {
  .navbar__nav {
    background: linear-gradient(160deg, #04091A, #081330);
    border-top: 1px solid rgba(196,146,42,0.12);
    box-shadow: 0 16px 32px rgba(0,0,0,0.4);
  }
  .nav-dropdown__menu {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(196,146,42,0.10);
  }
  .nav-dropdown__menu a {
    color: rgba(255,255,255,0.70) !important;
  }
  .nav-dropdown__menu a:hover {
    background: rgba(196,146,42,0.10) !important;
    color: var(--gold-bright) !important;
  }
}

/* ══════════════════════════════════════════════════════
   HERO — Cinematic & Majestic
   ══════════════════════════════════════════════════════ */
@keyframes hero-gradient-shift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

@keyframes hero-orb-1 {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.35; }
  50%       { transform: translate(40px, -30px) scale(1.15); opacity: 0.5; }
}
@keyframes hero-orb-2 {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.28; }
  33%       { transform: translate(-50px, 40px) scale(1.1); opacity: 0.45; }
  66%       { transform: translate(30px, 20px) scale(0.9); opacity: 0.35; }
}
@keyframes hero-orb-3 {
  0%, 100% { transform: translate(0,0) scale(1); opacity: 0.20; }
  50%       { transform: translate(20px, 50px) scale(1.2); opacity: 0.38; }
}

@keyframes hero-title-enter {
  from { opacity: 0; transform: translateY(30px); letter-spacing: 0.05em; }
  to   { opacity: 1; transform: translateY(0);    letter-spacing: -0.025em; }
}

@keyframes hero-badge-enter {
  from { opacity: 0; transform: translateY(-12px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hero-content-enter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding: 100px 24px 80px;

  background:
    radial-gradient(ellipse 100% 70% at 10% 70%, rgba(0,32,159,0.50) 0%, transparent 55%),
    radial-gradient(ellipse 80%  90% at 90% 30%, rgba(181,16,42,0.42) 0%, transparent 55%),
    radial-gradient(ellipse 140% 50% at 50% 110%,rgba(181,16,42,0.18) 0%, transparent 50%),
    linear-gradient(
      158deg,
      #010510 0%,
      #020A1C 12%,
      #040E28 26%,
      #081638 40%,
      #10071E 53%,
      #1A0516 66%,
      #280A12 80%,
      #360C14 100%
    );
  background-size: 200% 200%;
  animation: hero-gradient-shift 28s ease infinite;
}

/* Subtle grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
}

/* Animated orbs */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 280px at 20% 40%, rgba(0,32,159,0.18) 0%, transparent 70%),
    radial-gradient(circle 220px at 80% 60%, rgba(181,16,42,0.18) 0%, transparent 70%);
  animation: hero-orb-1 18s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Canvas for JS particles */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.hero__flag { display: none; }

/* Decorative emblem */
.hero__emblem {
  margin: 0 auto 32px;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hero-badge-enter 1s ease 0.2s both;
}

.hero__emblem svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 22px;
  border-radius: 999px;
  background: rgba(196,146,42,0.10);
  border: 1px solid rgba(196,146,42,0.32);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
  animation: hero-badge-enter 0.8s ease 0.3s both;
}

.hero__badge::before { content: '✦'; font-size: 8px; opacity: 0.6; }
.hero__badge::after  { content: '✦'; font-size: 8px; opacity: 0.6; }

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.5), 0 0 80px rgba(0,14,100,0.3);
  animation: hero-title-enter 1s ease 0.5s both;
}

.hero__title span {
  color: var(--gold-bright);
  font-style: italic;
}

.hero__desc {
  font-size: clamp(15px, 1.9vw, 18px);
  max-width: 700px;
  margin: 0 auto 44px;
  opacity: 0.80;
  line-height: 1.88;
  font-weight: 300;
  letter-spacing: 0.01em;
  animation: hero-content-enter 0.9s ease 0.8s both;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: hero-content-enter 0.9s ease 1s both;
}

/* Decorative ornament under hero content */
.hero__content::after {
  content: '· · ·';
  display: block;
  margin-top: 56px;
  color: rgba(196,146,42,0.35);
  font-size: 16px;
  letter-spacing: 12px;
  animation: hero-content-enter 0.8s ease 1.2s both;
}

/* ══════════════════════════════════════════════════════
   BUTTONS — Refined & Premium
   ══════════════════════════════════════════════════════ */
.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.5px;
  padding: 13px 26px;
  border-radius: 4px;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

/* Shine sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.4s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
  box-shadow: 0 2px 14px rgba(196,146,42,0.28);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(196,146,42,0.38);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}
.btn-blue:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,32,159,0.30);
}

.btn-red {
  background: var(--crimson);
  color: var(--white);
  border: 1px solid var(--crimson);
}
.btn-red:hover {
  background: var(--crimson-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181,16,42,0.30);
}

/* ══════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════ */
.stats-strip {
  background: linear-gradient(135deg, #030810 0%, #060E22 35%, #0C1A42 65%, #030810 100%);
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,146,42,0.5), transparent);
}
.stats-strip::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,146,42,0.5), transparent);
}

/* Animated background glow */
.stats-strip .stats-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,32,159,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-strip .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  position: relative;
  padding: 8px 20px;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(196,146,42,0.25), transparent);
}

.stat-item__number {
  font-family: var(--font-serif);
  font-size: 54px;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 0 30px rgba(196,146,42,0.35);
  letter-spacing: -0.02em;
}

.stat-item__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  font-family: var(--font-sans);
}

@media (max-width: 640px) {
  .stats-strip .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .stat-item + .stat-item::before { display: none; }
}

/* ══════════════════════════════════════════════════════
   CARDS — Premium with shimmer & tilt
   ══════════════════════════════════════════════════════ */
.cards-grid { gap: 24px; }
.cards-grid--6 { gap: 20px; }

.card {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
              border-color 0.35s ease;
  position: relative;
  will-change: transform;
}

/* Gold top border reveal on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-bright), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 2;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(196,146,42,0.2), 0 8px 28px rgba(5,13,31,0.12);
  border-color: rgba(196,146,42,0.30);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__img--placeholder {
  height: 150px;
  position: relative;
}

.card__img--placeholder::after { display: none; }

.card__img--blue   { background: linear-gradient(145deg, #000A60, #001580); }
.card__img--red    { background: linear-gradient(145deg, #6A0818, #A00C22); }
.card__img--gold   { background: linear-gradient(145deg, #604200, #A07020); }
.card__img--green  { background: linear-gradient(145deg, #023A1C, #04501E); }
.card__img--purple { background: linear-gradient(145deg, #250C58, #3D1280); }
.card__img--teal   { background: linear-gradient(145deg, #033D4C, #075B6E); }

.card__icon-emoji {
  width: 44px;
  height: 44px;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
  color: #fff;
}

.card__body { padding: 22px 24px 24px; }

.card__tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card__tag::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card__desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ══════════════════════════════════════════════════════
   TEXT BLOCK — About section
   ══════════════════════════════════════════════════════ */
.text-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.022em;
  margin-bottom: 22px;
  line-height: 1.2;
}

.text-block p {
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.88;
  margin-bottom: 18px;
}

.text-block ul { margin-bottom: 28px; }

.text-block ul li {
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 26px;
  position: relative;
}

.text-block ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 6px;
}

/* ══════════════════════════════════════════════════════
   FEATURE CARDS
   ══════════════════════════════════════════════════════ */
.feature-grid { gap: 20px; }

.feature-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--gold);
  border-color: rgba(196,146,42,0.28);
}

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

.feature-card__icon {
  width: 44px;
  height: 44px;
  font-size: 0;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
  color: var(--navy);
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ══════════════════════════════════════════════════════
   ENJEUX GRID — Challenge cards
   ══════════════════════════════════════════════════════ */
.enjeux-grid { gap: 16px; }

.enjeu-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-left: 4px solid var(--crimson);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.enjeu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(181,16,42,0.03), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.enjeu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(181,16,42,0.35);
  border-left-color: var(--crimson);
}

.enjeu-card:hover::after { opacity: 1; }

.enjeu-card--positive {
  border-left-color: #046830;
}

.enjeu-card--positive::after {
  background: linear-gradient(135deg, rgba(4,104,48,0.03), transparent);
}

.enjeu-card--positive:hover {
  border-color: rgba(4,104,48,0.35);
  border-left-color: #046830;
}

.enjeu-card__icon {
  width: 36px;
  height: 36px;
  font-size: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.1));
  color: var(--crimson);
}

.enjeu-card__body h3 {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.enjeu-card__body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.enjeu-card__arrow {
  color: var(--border);
  font-size: 18px;
  transition: all 0.3s ease;
}

.enjeu-card:hover .enjeu-card__arrow {
  color: var(--gold);
  transform: translateX(5px);
}

/* ══════════════════════════════════════════════════════
   QUOTE BLOCK — Grand & Dramatic
   ══════════════════════════════════════════════════════ */
@keyframes quote-fade-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quote-block {
  background:
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(0,32,159,0.12) 0%, transparent 65%),
    linear-gradient(150deg, var(--navy) 0%, #071430 40%, #0D1E52 70%, var(--navy) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 260px;
  color: rgba(196,146,42,0.05);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  font-weight: 700;
}

.quote-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,146,42,0.4), transparent);
}

.quote-block .container {
  position: relative;
  z-index: 1;
}

/* Gold decorative divider above quote text */
.quote-block .container::before {
  content: '✦';
  display: block;
  font-size: 14px;
  letter-spacing: 8px;
  color: rgba(196,146,42,0.45);
  margin-bottom: 32px;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.6vw, 28px);
  font-style: italic;
  font-weight: 400;
  max-width: 860px;
  margin: 0 auto 28px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}

.quote-author {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

/* ══════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════ */
.cta-section {
  background:
    radial-gradient(ellipse 80% 90% at 25% 50%, rgba(181,16,42,0.85) 0%, transparent 60%),
    linear-gradient(135deg, #3A0610 0%, #6A0A18 30%, #A00C22 60%, #7A0A1A 100%);
  padding: 108px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,146,42,0.35), transparent);
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  color: var(--white);
}

.cta-section p {
  font-size: 17px;
  opacity: 0.82;
  line-height: 1.82;
  max-width: 560px;
  margin: 0 auto 44px;
  font-weight: 300;
  color: var(--white);
}

.cta-section .btn-cta-white {
  background: var(--gold-bright);
  color: var(--navy);
  font-weight: 700;
  border: none;
  padding: 16px 40px;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1);
}
.cta-section .btn-cta-white:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}

/* ══════════════════════════════════════════════════════
   FOOTER — Premium Dark
   ══════════════════════════════════════════════════════ */
.site-footer {
  background: #020710;
  color: rgba(255,255,255,0.58);
  position: relative;
  border-top: none;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,146,42,0.55), transparent);
}

.footer-brand__logo {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  gap: 0;
  text-shadow: 0 0 20px rgba(196,146,42,0.25);
}

/* .footer-brand__logo .logo-emoji-flag — element removed from HTML, rule no longer needed */

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.82;
  color: rgba(255,255,255,0.42);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.2px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.footer-col ul li a:hover {
  color: var(--gold-bright);
  gap: 4px;
}

.footer-col ul li a:hover::before {
  content: '›';
  color: var(--gold);
  margin-right: 3px;
}

.footer-bottom {
  font-size: 11.5px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.4px;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 22px 0;
}

/* ══════════════════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(
    158deg,
    #030810 0%, #081432 30%, #0E1C4C 55%, #160622 75%, #240A16 100%
  );
  border-bottom: 1px solid rgba(196,146,42,0.12);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196,146,42,0.35), transparent);
}

.page-hero__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: var(--gold-bright);
}

.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* ══════════════════════════════════════════════════════
   TIMELINE CARDS
   ══════════════════════════════════════════════════════ */
.timeline-card {
  background: var(--ivory);
  border-left-color: var(--crimson);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-card__title {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
}

.timeline-card__year {
  color: var(--gold);
  letter-spacing: 2px;
}

/* ══════════════════════════════════════════════════════
   PERSON / DESTINATION CARDS
   ══════════════════════════════════════════════════════ */
.destination-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

.destination-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(196,146,42,0.18);
  border-color: rgba(196,146,42,0.28);
}

.destination-card__title {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.destination-card__badge {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}

.person-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

.person-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(196,146,42,0.15);
  border-color: rgba(196,146,42,0.25);
}

.person-card__name {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
}

.person-card__role {
  color: var(--gold);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════
   LEADER TABLE
   ══════════════════════════════════════════════════════ */
.leader-era__title {
  font-family: var(--font-serif);
  color: var(--navy);
  background: var(--cream);
  border-left-color: var(--gold);
}

/* ══════════════════════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════════════════════ */
.breadcrumb {
  background: var(--cream);
  border-bottom-color: var(--border);
}

.breadcrumb nav a {
  color: var(--blue);
  font-weight: 600;
}

.breadcrumb nav a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════
   SEARCH OVERLAY
   ══════════════════════════════════════════════════════ */
.search-overlay {
  background: rgba(2,5,18,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.search-overlay__inner {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.search-overlay__header {
  border-bottom-color: var(--border);
}

.search-result__link:hover {
  background: var(--cream);
}

/* ══════════════════════════════════════════════════════
   VODOU / NATION CARDS
   ══════════════════════════════════════════════════════ */
.nation-card {
  background: var(--ivory);
  border-color: var(--border);
  transition: all 0.3s ease;
}

.nation-card:hover {
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════════════════════
   INFO BANNER, CONTACT FORM
   ══════════════════════════════════════════════════════ */
.info-banner {
  background: var(--cream);
  border-left-color: var(--gold);
}

.contact-form {
  background: var(--ivory);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form h3,
.contact-info h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--cream);
  border-color: var(--border);
  font-family: var(--font-sans);
  border-radius: 4px;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--ivory);
  box-shadow: 0 0 0 4px rgba(196,146,42,0.08);
}

/* ══════════════════════════════════════════════════════
   CUSTOM SCROLLBAR
   ══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #030810; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #2A1A08, var(--gold), #2A1A08);
  border-radius: 10px;
  border: 2px solid #030810;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #3A2410, var(--gold-bright), #3A2410);
}

/* ══════════════════════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
  :root {
    --ivory:      #0A0E1A;
    --cream:      #0E1420;
    --cream-alt:  #121B28;
    --parchment:  #101620;
    --bg:         #0A0E1A;
    --bg-soft:    #0E1420;
    --text:       #E2E8F0;
    --text-mid:   #CBD5E1;
    --text-muted: #7A8FA8;
    --border:     rgba(255,255,255,0.08);
    --border-gold:rgba(196,146,42,0.18);
  }

  .card                { background: #0E1420; border-color: rgba(255,255,255,0.07); }
  .feature-card        { background: #0E1420; border-color: rgba(255,255,255,0.07); }
  .enjeu-card          { background: #0E1420; border-color: rgba(255,255,255,0.07); }
  .destination-card    { background: #0E1420; border-color: rgba(255,255,255,0.07); }
  .person-card         { background: #0E1420; border-color: rgba(255,255,255,0.07); }
  .timeline-card       { background: #0E1420; border-color: rgba(255,255,255,0.07); }
  .contact-form        { background: #0E1420; border-color: rgba(255,255,255,0.07); }
  .breadcrumb          { background: #0E1420; border-bottom-color: rgba(255,255,255,0.06); }
  .search-overlay__inner { background: #0E1420; }
  .nation-card         { background: #0E1420; }

  .section-title, .card__title, .feature-card__title,
  .text-block h2, .timeline-card__title, .enjeu-card__body h3,
  .destination-card__title, .person-card__name,
  .contact-form h3, .contact-info h3, .leader-era__title { color: #E2E8F0; }

  .card__tag, .section-label, .page-hero__label,
  .timeline-card__year, .person-card__role { color: var(--gold-light); }

  .section--alt { background: #0E1420; }

  .form-group input,
  .form-group select,
  .form-group textarea {
    background: #0A0E1A;
    border-color: rgba(255,255,255,0.10);
    color: var(--text);
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    background: #0E1420;
    border-color: var(--gold);
  }

  .search-result__link:hover { background: #0A0E1A; }
  .nav-dropdown__menu { background: #0A0E1A; border-color: rgba(196,146,42,0.12); }
  .info-banner { background: #0E1420; }
  .leader-era__title { background: #0E1420; }
}

/* ══════════════════════════════════════════════════════
   GLASSMORPHISM UTILITIES
   ══════════════════════════════════════════════════════ */
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
}

.glass-card--light {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 8px 32px rgba(5,13,31,0.10), inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Dark section utility */
.section--dark {
  background: linear-gradient(160deg, #030810 0%, #070f26 40%, #0c1430 70%, #030810 100%);
  color: rgba(255,255,255,0.88);
}

.section--dark .section-title { color: #fff; }
.section--dark .section-subtitle { color: rgba(255,255,255,0.60); }

/* ══════════════════════════════════════════════════════
   FIGURES (HISTORICAL FIGURES) SECTION
   ══════════════════════════════════════════════════════ */
.figures-section {
  padding: 100px 0;
}

.figures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

@media (max-width: 1024px) { .figures-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .figures-grid { grid-template-columns: 1fr; } }

.figure-card {
  display: block;
  text-decoration: none;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.38s cubic-bezier(0.4,0,0.2,1),
              border-color 0.3s ease;
}

.figure-card:hover {
  transform: translateY(-8px);
  border-color: rgba(196,146,42,0.35);
  box-shadow: 0 24px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(196,146,42,0.20);
}

.figure-card:hover .figure-card__glow {
  opacity: 1;
}

.figure-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid rgba(196,146,42,0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.figure-card__avatar--all {
  background: linear-gradient(145deg, #1a1030, #2a2050) !important;
}

.figure-card__initial {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.figure-card__name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.figure-card__role {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.figure-card__desc {
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(255,255,255,0.58);
}

.figure-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 30%, rgba(196,146,42,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.figure-card--all .figure-card__name { color: var(--gold-bright); }

/* ══════════════════════════════════════════════════════
   INTERACTIVE TIMELINE
   ══════════════════════════════════════════════════════ */
.timeline-section {
  overflow: hidden;
}

/* ── Mobile-first: left-aligned vertical track ── */
.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 64px;
  padding-left: 56px;
}

/* Vertical connector line */
.timeline-track::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(196,146,42,0.45) 8%,
    rgba(196,146,42,0.45) 92%,
    transparent 100%);
}

.timeline-track .timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 36px;
  padding-right: 0;        /* reset the 50%-based padding that style.css adds for desktop alternation; mobile uses single-column */
  position: relative;
}

.timeline-track .timeline-item:last-child { padding-bottom: 0; }

/* Reset style.css even-item left-padding on mobile so layout stays single-column */
.timeline-track .timeline-item:nth-child(even) {
  padding-left: 0;
  padding-right: 0;
  justify-content: flex-start;
}

/* Dot sits in the left rail */
.timeline-track .timeline-item__dot {
  position: absolute;
  left: -56px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid rgba(196,146,42,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.timeline-track .timeline-item--highlight .timeline-item__dot {
  background: linear-gradient(135deg, #0a1640, #00209F);
  border-color: rgba(0,32,159,0.5);
}

.timeline-track .timeline-item--gold .timeline-item__dot {
  background: linear-gradient(135deg, #4a2800, var(--gold));
  border-color: rgba(196,146,42,0.7);
  box-shadow: 0 0 20px rgba(196,146,42,0.3);
}

.timeline-track .timeline-item__icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--navy);
}

.timeline-track .timeline-item--highlight .timeline-item__icon,
.timeline-track .timeline-item--gold .timeline-item__icon { color: rgba(255,255,255,0.90); }

/* Ensure SVG icons fill their containers consistently across all icon types */
.card__icon-emoji svg,
.feature-card__icon svg,
.enjeu-card__icon svg,
.timeline-track .timeline-item__icon svg,
.memory-card__icon svg,
.map-info-panel__icon svg,
.map-info__icon svg,
.gallery-item__zoom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.timeline-track .timeline-item__content {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.35s ease,
              border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.timeline-track .timeline-item__content::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: rgba(196,146,42,0.25);
  transition: background 0.3s ease;
}

.timeline-track .timeline-item--highlight .timeline-item__content::before { background: var(--blue); }
.timeline-track .timeline-item--gold .timeline-item__content::before     { background: var(--gold); }

.timeline-track .timeline-item:hover .timeline-item__content {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(196,146,42,0.25);
}

.timeline-track .timeline-item:hover .timeline-item__dot {
  transform: scale(1.15);
  box-shadow: 0 0 18px rgba(196,146,42,0.25);
}

.timeline-track .timeline-item__year {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.timeline-track .timeline-item__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.timeline-track .timeline-item--gold .timeline-item__year  { color: var(--gold); }
.timeline-track .timeline-item--gold .timeline-item__title { color: var(--blue); }

.timeline-track .timeline-item__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.72;
}

.timeline-track .timeline-item__desc em {
  font-style: italic;
  color: var(--text-mid);
}

/* ── Dot pulse animation ── */
@keyframes timeline-dot-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(196,146,42,0.55), 0 2px 12px rgba(0,0,0,0.08); }
  60%  { box-shadow: 0 0 0 10px rgba(196,146,42,0),   0 2px 12px rgba(0,0,0,0.08); }
  100% { box-shadow: 0 0 0 0   rgba(196,146,42,0),    0 2px 12px rgba(0,0,0,0.08); }
}

@keyframes timeline-dot-pulse-blue {
  0%   { box-shadow: 0 0 0 0   rgba(0,32,159,0.55), 0 2px 12px rgba(0,0,0,0.12); }
  60%  { box-shadow: 0 0 0 10px rgba(0,32,159,0),   0 2px 12px rgba(0,0,0,0.12); }
  100% { box-shadow: 0 0 0 0   rgba(0,32,159,0),    0 2px 12px rgba(0,0,0,0.12); }
}

@keyframes timeline-dot-pulse-gold {
  0%   { box-shadow: 0 0 0 0   rgba(196,146,42,0.7), 0 0 20px rgba(196,146,42,0.3); }
  60%  { box-shadow: 0 0 0 14px rgba(196,146,42,0),  0 0 20px rgba(196,146,42,0.3); }
  100% { box-shadow: 0 0 0 0   rgba(196,146,42,0),   0 0 20px rgba(196,146,42,0.3); }
}

.timeline-track .timeline-item__dot {
  animation: timeline-dot-pulse 2.8s ease-in-out infinite;
}

.timeline-track .timeline-item--highlight .timeline-item__dot {
  animation: timeline-dot-pulse-blue 2.8s ease-in-out infinite;
}

.timeline-track .timeline-item--gold .timeline-item__dot {
  animation: timeline-dot-pulse-gold 2.2s ease-in-out infinite;
}

/* ── Desktop: alternating left/right (restore style.css flex+padding approach) ── */
@media (min-width: 900px) {
  .timeline-track {
    padding-left: 0;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Center the vertical connector line */
  .timeline-track::before {
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    bottom: 8px;
  }

  /* Odd items (1st, 3rd…) → content on LEFT side */
  .timeline-track .timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 36px);
    padding-left: 0;
    position: relative;
    padding-bottom: 48px;
    min-height: 60px;
  }

  /* Even items (2nd, 4th…) → content on RIGHT side */
  .timeline-track .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 36px);
  }

  /* Dot: pinned to the center line via absolute positioning (out of flex flow) */
  .timeline-track .timeline-item__dot {
    position: absolute;
    left: calc(50% - 18px);
    top: 10px;
  }

  /* Content fills the available flex space (constrained by parent padding) */
  .timeline-track .timeline-item__content {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Left-side accent line: stays on left for odd items */
  .timeline-track .timeline-item:nth-child(odd) .timeline-item__content::before {
    left: 0;
    right: auto;
  }

  /* Right-side accent line for even items */
  .timeline-track .timeline-item:nth-child(even) .timeline-item__content::before {
    left: auto;
    right: 0;
  }

  /* Hover slide effects */
  .timeline-track .timeline-item:nth-child(odd):hover .timeline-item__content {
    transform: translateX(-5px);
  }

  .timeline-track .timeline-item:nth-child(even):hover .timeline-item__content {
    transform: translateX(5px);
  }

  /* Right-side items: mirror text alignment */
  .timeline-track .timeline-item:nth-child(even) .timeline-item__content { text-align: right; }
  .timeline-track .timeline-item:nth-child(even) .timeline-item__desc    { text-align: right; }
  .timeline-track .timeline-item:nth-child(even) .timeline-item__year    { text-align: right; }
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(5,13,31,0.25);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--gold-bright);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.section--dark .btn-outline-dark {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}

.section--dark .btn-outline-dark:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

/* ══════════════════════════════════════════════════════
   INTERACTIVE MAP
   ══════════════════════════════════════════════════════ */
.map-section {
  padding: 100px 0;
}

.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: stretch;
  margin-top: 56px;
}

@media (max-width: 900px) {
  .map-wrapper { grid-template-columns: 1fr; }
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(5,18,48,0.8);
  border: 1px solid rgba(196,146,42,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  min-height: 360px;
}

.map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-land {
  transition: fill 0.3s ease, filter 0.3s ease;
  cursor: default;
}

.map-marker {
  cursor: pointer;
  transition: all 0.25s ease;
}

.map-marker:hover .map-marker__pulse,
.map-marker.active .map-marker__pulse {
  animation: pulse-ring 1.4s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { r: 12; opacity: 0.5; }
  100% { r: 28; opacity: 0; }
}

.map-marker:hover circle:nth-child(2),
.map-marker.active circle:nth-child(2) {
  fill-opacity: 0.6;
}

.map-info-panel {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}

.map-info-panel__default {
  text-align: center;
}

.map-info-panel__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  color: rgba(255,255,255,0.7);
}

.map-info-panel__default h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
}

.map-info-panel__default p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.42);
  line-height: 1.72;
}

.map-info__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
}

.map-info__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.map-info__badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(196,146,42,0.18);
  border: 1px solid rgba(196,146,42,0.35);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.map-info__desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-bright);
  border: 1.5px solid rgba(196,146,42,0.4);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn-outline-gold:hover {
  background: rgba(196,146,42,0.12);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

/* Map info panel transition */
.map-info-panel__content {
  animation: fade-up-in 0.4s ease forwards;
}

@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════ */
.gallery-section { padding: 100px 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
  margin-top: 56px;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item--wide, .gallery-item--tall { grid-column: 1 !important; grid-row: span 1 !important; }
}

.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.07);
}

/* SVG illustration backgrounds for gallery items */
.gallery-img--citadelle {
  background-image: url('../images/citadelle.svg');
  background-size: cover;
  background-position: center top;
}
.gallery-img--pap {
  background-image: url('../images/port-au-prince.svg');
  background-size: cover;
  background-position: center;
}
.gallery-img--labadie {
  background-image: url('../images/labadie.svg');
  background-size: cover;
  background-position: center;
}
.gallery-img--art {
  background-image: url('../images/haitian-art.svg');
  background-size: cover;
  background-position: center;
}
.gallery-img--jacmel {
  background-image: url('../images/jacmel.svg');
  background-size: cover;
  background-position: center;
}
.gallery-img--ilevache {
  background-image: url('../images/ile-a-vache.svg');
  background-size: cover;
  background-position: center;
}
.gallery-img--woman {
  background-image: url('../images/haitian-woman.svg');
  background-size: cover;
  background-position: center top;
}
.gallery-img--landscape {
  background-image: url('../images/haiti-landscape.svg');
  background-size: cover;
  background-position: center;
}

/* No pseudo-element overlay */
.gallery-item__img::before { content: none; display: none; }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__zoom {
  width: 32px;
  height: 32px;
  opacity: 0.9;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  color: #fff;
}

.gallery-item:hover .gallery-item__zoom { transform: scale(1); }

.gallery-item__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.5px;
  z-index: 3;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item__caption { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2,5,16,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__inner {
  max-width: 900px;
  width: 90%;
  position: relative;
}

.lightbox__img-wrap {
  width: 100%;
  min-height: 400px;
  max-height: 72vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__caption {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.3px;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9001;
}

.lightbox__close {
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  font-size: 18px;
}

.lightbox__prev, .lightbox__next {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 28px;
  font-weight: 300;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(196,146,42,0.18);
  border-color: rgba(196,146,42,0.4);
  color: var(--gold-bright);
}

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.80);
  border: 1.5px solid rgba(255,255,255,0.22);
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════
   MEMORY WALL
   ══════════════════════════════════════════════════════ */
.memory-wall { padding: 100px 0; }

.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}

@media (max-width: 1100px) { .memory-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .memory-grid { grid-template-columns: 1fr; } }

@keyframes memory-glow-pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}

.memory-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.38s cubic-bezier(0.4,0,0.2,1);
  cursor: default;
}

.memory-card:hover {
  border-color: rgba(181,16,42,0.35);
  background: rgba(181,16,42,0.05);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 30px rgba(181,16,42,0.08);
}

.memory-card--triumph:hover {
  border-color: rgba(4,104,48,0.35);
  background: rgba(4,104,48,0.05);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 30px rgba(4,104,48,0.08);
}

.memory-card--gold {
  border-color: rgba(196,146,42,0.22);
  background: rgba(196,146,42,0.04);
}

.memory-card--gold:hover {
  border-color: rgba(196,146,42,0.45) !important;
  background: rgba(196,146,42,0.08) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 30px rgba(196,146,42,0.15) !important;
}

.memory-card__year {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
  opacity: 0.75;
}

.memory-card--gold .memory-card__year {
  color: var(--gold-bright);
  opacity: 1;
}

.memory-card__icon {
  width: 44px;
  height: 44px;
  font-size: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  color: rgba(255,255,255,0.75);
}

.memory-card__title {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.memory-card--gold .memory-card__title { color: var(--gold-bright); }

.memory-card__desc {
  font-size: 13px;
  line-height: 1.72;
  color: rgba(255,255,255,0.48);
}

.memory-card__glow {
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(181,16,42,0.12);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.memory-card--triumph .memory-card__glow { background: rgba(4,104,48,0.15); }
.memory-card--gold .memory-card__glow { background: rgba(196,146,42,0.20); }

.memory-card:hover .memory-card__glow { opacity: 1; }

.btn-outline-gold {
  background: transparent;
  color: var(--gold-bright);
  border: 1.5px solid rgba(196,146,42,0.40);
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  display: inline-block;
}

.btn-outline-gold:hover {
  background: rgba(196,146,42,0.12);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,146,42,0.15);
}

/* ══════════════════════════════════════════════════════
   DARK MODE OVERRIDES for new sections
   ══════════════════════════════════════════════════════ */
@media (prefers-color-scheme: dark) {
  .figure-card { background: rgba(255,255,255,0.04); }
  .timeline-track .timeline-item__content { background: #0E1420; border-color: rgba(255,255,255,0.07); }
  .timeline-track .timeline-item__dot { background: #0E1420; }
  .timeline-track .timeline-item__title { color: #E2E8F0; }
  .timeline-track .timeline-item__desc { color: #7A8FA8; }
  .btn-outline-dark { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.18); }
  .btn-outline-dark:hover { background: rgba(255,255,255,0.08); }
}

/* ══════════════════════════════════════════════════════
   CHRONOLOGIE COMPLÈTE — Interactive Accordion Timeline
   ══════════════════════════════════════════════════════ */

.evt-timeline {
  position: relative;
  max-width: 900px;
  margin: 56px auto 0;
  padding-left: 52px;
}

/* Vertical connector line */
.evt-timeline::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(0,32,159,0.35) 6%,
    rgba(0,32,159,0.35) 94%,
    transparent 100%);
  border-radius: 2px;
}

/* Individual event wrapper */
.evt-item {
  position: relative;
  margin-bottom: 14px;
}

/* Dot on the connector line */
.evt-item::before {
  content: '';
  position: absolute;
  left: -52px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 2px rgba(0,32,159,0.30);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: timeline-dot-pulse-blue 2.8s ease-in-out infinite;
  z-index: 1;
}

.evt-item:hover::before,
.evt-item.is-open::before {
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(0,32,159,0.18);
}

/* Clickable header row */
.evt-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.evt-header:hover {
  background: #f0f4ff;
  border-color: rgba(0,32,159,0.20);
  box-shadow: var(--shadow-sm);
}

.evt-item.is-open .evt-header {
  background: #eef1ff;
  border-color: rgba(0,32,159,0.28);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}

.evt-year {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
  min-width: 60px;
}

.evt-title {
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  flex: 1;
  line-height: 1.4;
}

.evt-short {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1.4;
  line-height: 1.5;
  display: none;
}

.evt-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--blue);
  transition: transform 0.3s ease;
  opacity: 0.65;
}

.evt-item.is-open .evt-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Expandable details panel */
.evt-details {
  display: none;
  background: #f7f9ff;
  border: 1px solid rgba(0,32,159,0.18);
  border-top: none;
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  padding: 18px 24px 20px;
  font-size: 14px;
  color: var(--text-mid, #334455);
  line-height: 1.78;
}

.evt-item.is-open .evt-details {
  display: block;
  animation: evt-expand 0.25s ease;
}

@keyframes evt-expand {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Desktop layout: show short description inline */
@media (min-width: 700px) {
  .evt-short { display: block; }
  .evt-year  { min-width: 56px; }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .evt-header          { background: #0E1420; border-color: rgba(255,255,255,0.07); }
  .evt-header:hover    { background: #141c30; border-color: rgba(100,140,255,0.25); }
  .evt-item.is-open .evt-header { background: #141c30; border-color: rgba(100,140,255,0.30); }
  .evt-title           { color: #E2E8F0; }
  .evt-year            { color: #7BA3FF; }
  .evt-short           { color: #7A8FA8; }
  .evt-details         { background: #0b1020; border-color: rgba(100,140,255,0.18); color: #8FA5C0; }
  .evt-item::before    { background: #7BA3FF; border-color: #0E1420; }
  .evt-timeline::before { background: linear-gradient(to bottom, transparent 0%, rgba(100,140,255,0.35) 6%, rgba(100,140,255,0.35) 94%, transparent 100%); }
}

/* =====================================================
   📱 PREMIUM MOBILE REFINEMENTS — iPhone Optimization
   ===================================================== */

/* ── Stats strip on small screens ────────────────────── */
@media (max-width: 480px) {
  .stats-strip {
    padding: 48px 0;
  }
  .stats-strip .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }
  .stat-item {
    padding: 4px 12px;
  }
  .stat-item__number {
    font-size: 38px;
    text-shadow: 0 0 20px rgba(196,146,42,0.4);
  }
  .stat-item__label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
}

/* ── Hero premium on mobile ──────────────────────────── */
@media (max-width: 480px) {
  .hero__badge {
    font-size: 11px;
    letter-spacing: 2px;
    padding: 6px 14px;
  }
  .hero__title {
    font-size: clamp(28px, 7.5vw, 42px);
    line-height: 1.22;
  }
  .hero__desc {
    font-size: 15px;
    line-height: 1.7;
  }
  .hero__buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .hero__buttons .btn {
    text-align: center;
    justify-content: center;
  }
}

/* ── Section headings premium on mobile ──────────────── */
@media (max-width: 600px) {
  .section-headline {
    font-size: clamp(26px, 7vw, 40px);
  }
  .section-sub {
    font-size: 14.5px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 2.5px;
  }
}

/* ── Memory cards on mobile ──────────────────────────── */
@media (max-width: 480px) {
  .memory-card {
    padding: 24px 18px;
  }
  .memory-card__year {
    font-size: 32px;
  }
  .memory-card__title {
    font-size: 16px;
  }
  .memory-card__desc {
    font-size: 13.5px;
  }
}

/* ── Page hero premium on mobile ─────────────────────── */
@media (max-width: 480px) {
  .page-hero-premium {
    padding: 56px 0 44px;
    min-height: auto;
  }
  .page-hero-premium .page-hero__title {
    font-size: clamp(24px, 6.5vw, 34px);
  }
  .page-hero-premium .page-hero__desc {
    font-size: 15px;
  }
}

/* ── Figure cards on mobile ──────────────────────────── */
@media (max-width: 480px) {
  .figure-card {
    padding: 20px 16px;
  }
  .figure-card__name {
    font-size: 17px;
  }
  .figure-card__role {
    font-size: 11px;
  }
  .figure-card__desc {
    font-size: 13.5px;
  }
}

/* ── Lwa preview cards on mobile ─────────────────────── */
@media (max-width: 480px) {
  .lwa-preview-card {
    padding: 20px 14px;
  }
  .lwa-preview-card__symbol {
    font-size: 40px;
  }
  .lwa-preview-card__name {
    font-size: 17px;
  }
}

/* ── Researcher bio on mobile ────────────────────────── */
@media (max-width: 480px) {
  .researcher-bio {
    padding: 1.6rem 1.2rem;
    gap: 20px;
  }
  .researcher-bio__text h2 {
    font-size: 1.2rem;
  }
  .researcher-bio__text p {
    font-size: 14.5px;
  }
}

/* ── Society links on mobile ─────────────────────────── */
@media (max-width: 480px) {
  .society-link {
    padding: 1rem 1.1rem;
  }
  .society-link__label {
    font-size: 14px;
  }
  .society-link__desc {
    font-size: 13px;
  }
}

/* ── CTA section premium mobile ─────────────────────── */
@media (max-width: 480px) {
  .cta-section-premium {
    padding: 56px 0;
  }
  .cta-section-premium h2 {
    font-size: clamp(22px, 6vw, 30px);
  }
  .cta-section-premium p {
    font-size: 15px;
  }
}
