  /* ── Base & Utilities ─────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
  body { margin: 0; -webkit-font-smoothing: antialiased; }

  /* ── Hero text glow ───────────────────────────────────── */
  h1 span.text-emerald-300 {
    text-shadow: 0 0 40px rgba(110, 231, 183, 0.3);
  }

  /* ── Scroll-reveal base (progressive enhancement) ─────── */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
  }

  /* ── Mobile menu transitions ──────────────────────────── */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease;
    opacity: 0;
  }
  #mobile-menu.open {
    max-height: 300px;
    opacity: 1;
  }

  /* ── Nav shadow on scroll ─────────────────────────────── */
  #nav-inner.scrolled {
    box-shadow: 0 4px 20px rgba(6, 79, 70, 0.1);
  }

  /* ── Card image zoom wrapper ──────────────────────────── */
  .overflow-hidden img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* ── Input autofill override ──────────────────────────── */
  input:-webkit-autofill,
  textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #fefdf8 inset !important;
    -webkit-text-fill-color: #064e3b !important;
  }

  /* ── Focus visible rings ──────────────────────────────── */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 0.5rem;
  }

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