  /* ── Custom Animations ── */
  @keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
  }
  @keyframes float-delay {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(-3deg); }
  }
  @keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
  }
  .animate-float { animation: float 6s ease-in-out infinite; }
  .animate-float-delay { animation: float-delay 8s ease-in-out infinite; }
  .animate-float-slow { animation: float-slow 7s ease-in-out 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[data-reveal="delay-1"] { transition-delay: 0.1s; }
  .scroll-reveal[data-reveal="delay-2"] { transition-delay: 0.2s; }
  .scroll-reveal[data-reveal="delay-3"] { transition-delay: 0.3s; }

  @media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
      opacity: 0;
      transform: translateY(30px);
    }
  }

  /* ── Navbar glass effect on scroll ── */
  nav.scrolled {
    background: rgba(250, 250, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(74, 124, 74, 0.08);
  }

  /* ── Smooth scroll ── */
  html {
    scroll-behavior: smooth;
  }

  /* ── Selection color ── */
  ::selection {
    background: rgba(74, 124, 74, 0.2);
    color: #1a2e1a;
  }

  /* ── Focus visible ── */
  :focus-visible {
    outline: 2px solid #4a7c4a;
    outline-offset: 2px;
  }

  /* ── Input autofill ── */
  input:-webkit-autofill,
  textarea:-webkit-autofill,
  select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f5f5ee inset !important;
    -webkit-text-fill-color: #1a2e1a !important;
  }
</style>
