/* Small, additive finishing touches. Loaded last; uses :where() / low-risk rules so the
   existing cinematic design, layout and animations are unchanged. */
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;scroll-padding-top:76px}
::selection{background:rgba(229,9,20,.85);color:#fff}
/* contrast: #707070 on #141414 is about 3.7:1; #8a8a8a is about 5.2:1 (WCAG AA for small text) */
:root{--muted:#8a8a8a}
body{scrollbar-width:thin;scrollbar-color:#3a3a3a transparent}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:#363636;border-radius:10px;border:2px solid #141414}
::-webkit-scrollbar-thumb:hover{background:#4d4d4d}
/* visible keyboard focus everywhere, without overriding any existing focus style */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid #fff;outline-offset:3px}
:where(button,a,.card){-webkit-tap-highlight-color:transparent}
:where(h1,h2,h3){text-wrap:balance}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
