  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body { overflow-x: hidden; }

  /* Reveal animations */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.visible {
    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; }

  /* Nav scroll state */
  #nav.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
  }

  /* Mobile menu */
  #mobileMenu.open { opacity: 1 !important; pointer-events: all !important; }
  .menu-line.open-1 { transform: rotate(45deg) translate(4px, 4px); }
  .menu-line.open-2 { opacity: 0; }
  .menu-line.open-3 { transform: rotate(-45deg) translate(4px, -4px); }

  /* Smooth image loading */
  img { loading: lazy; }

  /* Custom scrollbar */
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: #fdf9ee; }
  ::-webkit-scrollbar-thumb { background: #a7f3d0; border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: #6ee7b7; }

  /* Selection */
  ::selection { background: #d1fae5; color: #064e3b; }
</style>
