/* Accessibility baseline: keyboard focus, reduced motion. Low specificity (:where) so component styles still win. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--site-gold, #c8961e);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Images carry width/height attributes (server-added, to reserve space and avoid layout jumps).
   Keep them proportional when CSS only sets a width. :where() = zero specificity, so any class that sets a height still wins. */
:where(img[width][height]) {
    height: auto;
}
