  /* Base */
  html {
    scroll-behavior: smooth;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Scroll reveal - progressive enhancement via JS */
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

  /* Navbar scroll state */
  #navbar.scrolled {
    box-shadow: 0 1px 20px rgba(4, 120, 87, 0.08);
  }

  /* Hero image grid animation */
  @media (prefers-reduced-motion: no-preference) {
    .group:hover img {
      transform: scale(1.05);
    }
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #fffef8;
  }
  ::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #065f46;
  }

  /* Focus styles */
  a:focus-visible,
  button:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Mobile menu transition */
  #mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  #mobile-menu.open {
    max-height: 400px;
  }
</style>
