/* Base & Utilities */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #022c22;
  color: #fdf9ee;
  overflow-x: hidden;
}

/* Scroll Reveal — progressive enhancement, content visible by default */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav scroll state */
nav-scrolled #nav {
  background: rgba(2, 44, 34, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(254, 253, 248, 0.06);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

/* Mobile link hover */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
}

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

/* Selection */
::selection { background: rgba(212, 168, 83, 0.3); color: #fdf9ee; }
</style>
