  /* Scroll reveal base — always visible, JS adds animated state */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal:not(.revealed) {
      opacity: 0;
      transform: translateY(24px);
    }
  }

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

  /* Navbar scroll state */
  #nav.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(30, 71, 35, 0.08);
  }

  /* Mobile menu animation */
  #mobileMenu {
    animation: slideDown 0.25s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Custom focus styles */
  *:focus-visible {
    outline: 2px solid #8abb8a;
    outline-offset: 2px;
  }

  /* Selection color */
  ::selection {
    background: #b9d4b9;
    color: #1c371c;
  }
</style>
