/*
 * site.css — small, additive overrides loaded after all vendor stylesheets.
 * Goal: accessibility enhancements only. It must NOT change the visual design
 * of the live Burra Steel site, so styles here are limited to focus states,
 * a skip link, and reduced-motion handling.
 */

/* Skip-to-content link: visually hidden until focused. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    padding: 10px 16px;
    background: #d12027;
    color: #fff;
    text-decoration: none;
    font-family: "Open Sans", Arial, sans-serif;
}

.skip-link:focus {
    left: 8px;
    top: 8px;
}

/* Visible keyboard focus for interactive elements (only on keyboard focus). */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #d12027;
    outline-offset: 2px;
}

/* Respect users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
