  /* Base styles and custom utilities */
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

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

  /* Scroll reveal animations - progressive enhancement, only when JS is available */
  .reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  /* Navbar transition states */
  #navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(30, 69, 30, 0.08);
  }

  #navbar.scrolled .nav-logo-text {
    color: #1e451e;
  }

  #navbar.scrolled .nav-link {
    color: #2d6e2d;
  }

  #navbar.scrolled .nav-link:hover {
    color: #3d8a3d;
  }

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

  /* Selection color */
  ::selection {
    background: #dce8dc;
    color: #1e451e;
  }

  /* Mobile menu transitions */
  #mobile-menu {
    animation: slideDown 0.3s ease forwards;
  }

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

  /* Subtle pattern overlay for cream backgrounds */
  .bg-cream-50::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(45, 110, 45, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
  }
