/* ═══════════════════════════════════════════════════════════
   Portfolio · Design System · Reset
   ───────────────────────────────────────────────────────────
   Minimal global rules: box-sizing, body defaults, focus-visible,
   smooth scroll preference. Component-scoped reduced-motion
   blocks live alongside their component.
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-fg);
  font-family: 'Outfit', system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-fg);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
