/* Accessibility modes (js/a11y.js) and reduced motion. Loaded last on every page so it always wins. */

/* modes set by js/a11y.js (and applied before paint by js/boot.js) */
html.a11y-contrast { --text: #000; --muted: #1E1E1E; --deep: #4A3608; --line: rgba(0,0,0,.6); --cream: #fff; --sand: #fff; }
html.a11y-contrast body, html.a11y-contrast .footer__base { background: #fff; }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { transition: none !important; animation: none !important; }
html.a11y-motion [data-enter] *, html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html.a11y-motion .steps::after { transform: none !important; }

/* ---------- reduced motion: everything rests, nothing hidden ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-enter] *, .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .steps::after { transform: none !important; }
}
