/* ── Global accessibility & utility styles ──────────────────────────────────
   Loaded via <link> in seo_head.php so this file never needs a CSP nonce.
   Replaces the inline <style> block that previously appeared in every page.
   ─────────────────────────────────────────────────────────────────────────── */

/* Skip-to-content link for keyboard users */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 99999;
    padding: 12px 20px;
    background: #0f1c47;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0 0 6px 0;
    transition: top .2s;
}
.skip-link:focus { top: 0; outline: 3px solid #2563eb; outline-offset: 2px; }

/* Visible focus ring for keyboard navigation */
*:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; border-radius: 3px; }

/* Visually hidden but accessible to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Respect user's motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
