/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; }

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(.25,.46,.45,.94), transform 0.8s cubic-bezier(.25,.46,.45,.94);
  }
  .reveal-up { transform: translateY(32px); }
  .reveal-left { transform: translateX(-32px); }
  .reveal-right { transform: translateX(32px); }
  .reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* ── Mobile Menu ── */
#mobileMenu { pointer-events: none; }
#mobileMenu.open { pointer-events: auto; transform: translateX(0); }

/* ── Selection ── */
::selection { background: rgba(62, 212, 181, 0.25); color: #f0f4f8; }

/* ── Focus ── */
:focus-visible { outline: 1px solid #3ed4b5; outline-offset: 2px; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #040B14; }
::-webkit-scrollbar-thumb { background: #2d3a59; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a4b73; }
