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

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

/* Navigation */
#main-nav {
  transition: box-shadow 0.3s ease;
}

/* Reveal animations — progressive enhancement, respects prefers-reduced-motion */
.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(24px);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form focus styles */
input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(150, 188, 150, 0.4);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f5f0e6;
}
::-webkit-scrollbar-thumb {
  background: #96bc96;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6a966a;
}
