  /* ===== BASE ===== */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; }
  img { max-width: 100%; display: block; }

  /* ===== MARQUEE ANIMATION ===== */
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .animate-marquee {
    animation: marquee 30s linear infinite;
  }

  /* ===== SCROLL REVEAL ===== */
  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Mobile menu open state */
  #mobile-menu.open {
    opacity: 1;
    pointer-events: all;
  }
  #mobile-menu.open .mobile-link {
    animation: fadeUp 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  #mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
  #mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Hamburger animation */
  #menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }
  #menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.25rem;
  }

  /* ===== FOCUS STYLES ===== */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #8cc58e;
    outline-offset: 3px;
    border-radius: 4px;
  }

  /* ===== REDUCED MOTION ===== */
  @media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
      opacity: 1;
      transform: none;
      transition: none;
    }
    .animate-marquee {
      animation: none;
    }
    html { scroll-behavior: auto; }
    * {
      animation-duration: 0.01ms !important;
      transition-duration: 0.01ms !important;
    }
  }
