/* Custom styles — progressive enhancement only */

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

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

/* Navbar scroll state */
#site-header.scrolled {
  background: rgba(249, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

/* Mobile link hover */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(6, 78, 59, 0.06);
}
.mobile-link:last-child {
  border-bottom: none;
}

/* Selection color */
::selection {
  background: rgba(6, 78, 59, 0.2);
  color: #064E3B;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid #2D854E;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reduced motion — all animations disabled */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .group img {
    transition: none !important;
  }
}
