/* ===================================
   RESPONSIVE — Rett Forum 2026
   Mobile-first breakpoints
   =================================== */

/* --- Base (mobile < 480px) — default styles already mobile --- */

/* --- sm: 480px --- */
@media (min-width: 480px) {
  .hero {
    padding: 9rem 2rem 5rem;
  }
  .hero-tagline {
    font-size: 1.2rem;
  }
}

/* --- md: 768px --- */
@media (min-width: 768px) {
  .hero {
    padding: 10rem 2rem 6rem;
  }
  .hero-logo {
    max-width: 320px;
  }
  .hero-tagline {
    font-size: 1.3rem;
  }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .section {
    padding: var(--space-3xl) var(--space-xl);
  }
}

/* --- lg: 1024px --- */
@media (min-width: 1024px) {
  .container {
    max-width: 900px;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- xl: 1280px --- */
@media (min-width: 1280px) {
  .container-wide {
    max-width: 1200px;
  }
}

/* --- Mobile-specific overrides (max-width based) --- */
@media (max-width: 767px) {
  /* Hamburger nav on mobile */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 43, 109, 0.98);
    backdrop-filter: blur(12px);
    padding: var(--space-md) var(--space-xl);
    gap: var(--space-md);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero adjustments */
  .hero {
    padding: 8rem 1.5rem 4rem;
  }
  .hero-logo {
    max-width: 220px;
  }
  .hero-tagline {
    font-size: 1.1rem;
  }
  .hero-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Stack cards/stats vertically */
  .stats {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .wg-grid {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
  }

  /* Typography scale */
  .section {
    padding: var(--space-2xl) var(--space-lg);
  }
  .section-title {
    font-size: 1.5rem;
  }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }

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