/* ============================================================
   Charles de Gaulle Historical Tribute
   Palette: Navy #1a3a52 | Gold #d4af37 | Cream #f5f1e8
   Typography: Cormorant Garamond (headings) + Source Sans 3 (body)
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a3a52;
  --navy-dark: #0f2333;
  --navy-mid: #1e4060;
  --gold: #d4af37;
  --gold-light: #e8cc70;
  --gold-dim: #b8952a;
  --cream: #f5f1e8;
  --cream-dark: #ede7d6;
  --white: #ffffff;
  --gray-100: #f8f7f4;
  --gray-200: #e8e4dc;
  --gray-400: #9a9488;
  --gray-600: #5c5850;
  --gray-800: #2e2b26;

  --font-heading: 'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --max-width: 1200px;
  --section-pad: 6rem 1.5rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--gray-800);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul { list-style: none; }

/* ---- Utility ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Section headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.75rem;
}

.section-eyebrow-gold {
  color: var(--gold-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.section-header-light .section-title {
  color: var(--white);
}

.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-primary:hover {
  background: var(--gold-dim);
  border-color: var(--gold-dim);
  color: var(--white);
}

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.45);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--white);
}

.nav-logo-mark {
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, #1e4a6a 70%, var(--navy-dark) 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(212,175,55,0.07) 0%, transparent 60%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.012) 80px,
      rgba(255,255,255,0.012) 81px
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.hero-portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-portrait {
  width: 100%;
  max-width: 380px;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) contrast(1.05);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.2);
  position: relative;
  z-index: 1;
}

.hero-portrait-frame {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 2px solid var(--gold);
  opacity: 0.35;
  z-index: 0;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.68);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
  animation: scrollBob 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(212,175,55,0.6), transparent);
}

@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   APERCU / INTRODUCTION
   ============================================================ */
.apercu {
  padding: var(--section-pad);
  background: var(--cream);
}

.apercu-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.apercu-text .lead-paragraph {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.apercu-text p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.apercu-text strong {
  color: var(--navy);
  font-weight: 600;
}

.apercu-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid var(--gold);
}

.fact-card {
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--cream-dark);
  transition: background 0.2s ease;
}

.fact-card:last-child {
  border-bottom: none;
}

.fact-card:hover {
  background: var(--cream-dark);
}

.fact-year {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.fact-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section {
  padding: var(--section-pad);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

/* Vertical center line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold) 8%, var(--gold) 92%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  margin-bottom: 3.5rem;
  align-items: start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.timeline-item[data-side="left"] .timeline-marker {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item[data-side="left"] .timeline-card {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  margin-right: 2rem;
}

.timeline-item[data-side="right"] .timeline-marker {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item[data-side="right"] .timeline-card {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
  margin-left: 2rem;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 0.5rem;
}

.timeline-year {
  display: block;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.375rem 0.75rem;
  text-align: center;
  min-width: 72px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  white-space: nowrap;
}

.timeline-card {
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.timeline-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  border-color: var(--gold);
}

.timeline-card-featured {
  border-left: 3px solid var(--gold);
  background: #faf8f0;
}

.timeline-item[data-side="right"] .timeline-card-featured {
  border-left: 3px solid var(--gold);
  border-right: none;
}

.timeline-item[data-side="left"] .timeline-card-featured {
  border-right: 3px solid var(--gold);
  border-left: 1px solid var(--cream-dark);
}

.timeline-card-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
}

.timeline-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.625rem;
  line-height: 1.25;
}

.timeline-card-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.timeline-card-text strong {
  color: var(--navy);
  font-weight: 600;
}

.timeline-card-text em {
  color: var(--gray-600);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
  padding: var(--section-pad);
  background: var(--navy-dark);
}

.gallery-section .section-title {
  color: var(--white);
}

.gallery-section .section-eyebrow {
  color: var(--gold-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
}

.gallery-item-featured {
  grid-column: 1 / -1;
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease, filter 0.55s ease;
  filter: grayscale(20%) brightness(0.88);
}

.gallery-item-featured img {
  height: 420px;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(0.78);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,20,32,0.95) 0%, rgba(10,20,32,0.7) 60%, transparent 100%);
  padding: 2.5rem 1.5rem 1.5rem;
  transform: translateY(0);
  transition: padding 0.3s ease;
}

.gallery-caption-title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.gallery-caption-date {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.gallery-caption-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  display: none;
}

.gallery-item-featured .gallery-caption-text {
  display: block;
}

.gallery-item:hover .gallery-caption-text {
  display: block;
}

/* ============================================================
   QUOTES
   ============================================================ */
.quotes-section {
  padding: var(--section-pad);
  background: var(--navy);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quote-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.2);
  padding: 2rem 1.75rem 1.75rem;
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.quote-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,175,55,0.4);
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  quotes: none;
  border: none;
}

.quote-translation {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  margin-bottom: 1rem;
  font-style: italic;
}

.quote-source {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ============================================================
   HERITAGE
   ============================================================ */
.heritage-section {
  padding: var(--section-pad);
  background: var(--cream);
}

.heritage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.heritage-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--navy);
  padding: 2rem 1.75rem;
  transition: border-top-color 0.25s ease, box-shadow 0.25s ease;
}

.heritage-card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.heritage-icon {
  margin-bottom: 1.25rem;
}

.heritage-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.875rem;
  line-height: 1.25;
}

.heritage-card-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.72;
}

.heritage-card-text strong {
  color: var(--navy);
  font-weight: 600;
}

.heritage-card-text em {
  color: var(--gray-600);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.72);
  padding: 4rem 1.5rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.footer-logo-mark {
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
}

.footer-brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 0.25rem;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: center;
}

.footer-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}

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

.footer-resources-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.875rem;
}

.footer-resources ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-resources a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s ease;
}

.footer-resources a:hover {
  color: var(--gold-light);
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-bottom {
  text-align: center;
}

.footer-quote {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.875rem;
  line-height: 1.5;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .heritage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-resources {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --section-pad: 4rem 1.25rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding-top: 6rem;
  }

  .hero-portrait-wrap {
    order: -1;
  }

  .hero-portrait {
    max-width: 260px;
    height: 360px;
    margin: 0 auto;
  }

  .hero-portrait-frame {
    display: none;
  }

  .hero-divider {
    margin: 0 auto 1.5rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  /* Timeline stacked */
  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    margin-bottom: 2.5rem;
  }

  .timeline-item[data-side="left"] .timeline-marker,
  .timeline-item[data-side="right"] .timeline-marker {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-item[data-side="left"] .timeline-card,
  .timeline-item[data-side="right"] .timeline-card {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    margin-right: 0;
    margin-left: 1rem;
  }

  .timeline-item[data-side="left"] .timeline-card-featured {
    border-right: none;
    border-left: 3px solid var(--gold);
  }

  .timeline-year {
    font-size: 0.7rem;
    min-width: auto;
    padding: 0.3rem 0.4rem;
  }

  .apercu-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .apercu-facts {
    border-left: none;
    border-top: 2px solid var(--gold);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .fact-card {
    flex: 1;
    min-width: 120px;
    border-right: 1px solid var(--cream-dark);
    border-bottom: none;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-featured {
    grid-column: 1;
  }

  .gallery-item img {
    height: 260px;
  }

  .gallery-item-featured img {
    height: 320px;
  }

  .gallery-caption-text {
    display: block;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-resources {
    grid-column: 1;
  }

  .footer-resources-title {
    text-align: center;
  }

  .footer-resources ul {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .heritage-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-dark);
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .apercu-facts {
    flex-direction: column;
  }

  .fact-card {
    min-width: auto;
    border-right: none;
    border-bottom: 1px solid var(--cream-dark);
    text-align: left;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for grids */
.fade-in-up:nth-child(1) { transition-delay: 0.05s; }
.fade-in-up:nth-child(2) { transition-delay: 0.12s; }
.fade-in-up:nth-child(3) { transition-delay: 0.19s; }
.fade-in-up:nth-child(4) { transition-delay: 0.26s; }
.fade-in-up:nth-child(5) { transition-delay: 0.33s; }
.fade-in-up:nth-child(6) { transition-delay: 0.40s; }

/* ---- Horizontal rule styling ---- */
hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 2rem 0;
}
