  /* ===== Custom styles & overrides ===== */
  html {
    scroll-behavior: smooth;
  }

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

  /* Scroll-reveal base: visible by default for progressive enhancement */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Animated state — applied by JS only */
  @media (prefers-reduced-motion: no-preference) {
    .reveal.reveal-animate {
      opacity: 0;
      transform: translateY(24px);
    }
  }

  /* Focus visible for accessibility */
  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline: 2px solid #3d7a3d;
    outline-offset: 2px;
  }

  /* Subtle pattern for gradient sections */
  .grid-pattern {
    background-image: linear-gradient(rgba(250,249,246,.08) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(250,249,246,.08) 1px, transparent 1px);
    background-size: 48px 48px;
  }

  /* Mobile menu transition */
  #mobileMenu {
    animation: slideDown 0.2s ease-out;
  }

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

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #f5f3ed;
  }
  ::-webkit-scrollbar-thumb {
    background: #b8d4b8;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #8fba8f;
  }
