/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}

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

/* ── Smooth Scroll Offset for Fixed Nav ── */
section[id] {
  scroll-margin-top: 80px;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f2f7f2; }
::-webkit-scrollbar-thumb { background: #8fc08f; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #61a061; }

/* ── Selection ── */
::selection { background: #c5ddc5; color: #1d3c1d; }
