/* ═══════════════════════════════════════════════════════════
   PATHURA — base.css
   Phase 6: this file now contains ONLY reset, base/global
   styles, and motion/scroll-reveal utilities. Every other
   rule that used to live here has moved to its own file under
   layout/, components/, pages/, or tokens.css — see
   docs/phase-6-css-split-report.md for the full breakdown.
═══════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────
   1. RESET
─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }



/* ───────────────────────────────────────────────────────────
   3. BASE / GLOBAL
─────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: var(--fs-base); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: var(--lh-base);
  overflow-x: hidden;
}



/* ───────────────────────────────────────────────────────────
   4. MOTION & SCROLL REVEAL
─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}


