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

  ::selection { background: #c6dbc6; color: #166534; }

  /* ── Floating card animations ── */
  @keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }
  @keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
  }
  @keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
  }
  .animate-float-slow { animation: float-slow 4s ease-in-out infinite; }
  .animate-float-medium { animation: float-medium 3s ease-in-out infinite; }
  .animate-float-fast { animation: float-fast 2.5s ease-in-out infinite; }

  /* ── Scroll reveal (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);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
    }
  }

  /* ── Focus visible for accessibility ── */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #166534;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ── Navbar shadow on scroll ── */
  nav.scrolled {
    box-shadow: 0 1px 12px rgba(22, 101, 52, 0.08);
  }
