/* ══════════════════════════════════════════════════
   LensBooth — Shared Accessibility Styles
   ══════════════════════════════════════════════════ */

/* --- 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;
}

/* --- Skip-to-content link (screen reader & keyboard nav) --- */
.skip-link {
    position: fixed;
    top: -100%;
    left: 16px;
    z-index: 99999999;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 12px 12px;
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
    outline: none;
}

.skip-link:focus {
    top: 0;
}

/* --- Focus indicators for keyboard navigation --- */
*:focus-visible {
    outline: 2px solid #F12850;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Don't show focus ring for mouse/touch users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Better focus for buttons */
button:focus-visible,
.btn-main:focus-visible,
.nav-cta:focus-visible,
.status-btn:focus-visible,
.mobile-cta:focus-visible,
a:focus-visible {
    outline: 2px solid #F12850;
    outline-offset: 3px;
}

/* Card focus style */
.card-wrap:focus-visible,
.strip-card:focus-visible {
    outline: 3px solid #F12850;
    outline-offset: 4px;
    border-radius: 14px;
}

/* --- Color contrast fixes (WCAG AA = 4.5:1 for small text) --- */
/* Previous: #666 on #F4F4F0 = 3.6:1 ❌ → #595959 on #F4F4F0 = 4.8:1 ✅ */
.eyebrow,
.about-eyebrow,
.mission-label,
.contact-card-label,
.mission-stat-label {
    color: #595959 !important;
}

/* Fix footer label contrast */
.footer-tagline {
    color: #797979 !important;
}

.footer-nav-label {
    color: #797979 !important;
}

/* Badge contrast fix */
.badge {
    color: #595959 !important;
}

/* ─── prefers-reduced-motion: respect user motion preferences ─── */
@media (prefers-reduced-motion: reduce) {
    /* Pause the marquee scrolling animation */
    .marquee-track {
        animation-play-state: paused !important;
    }

    /* Disable splash-screen animations */
    .splash-logo,
    .splash-tagline {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    /* Freeze scroll-reveal elements immediately */
    .reveal {
        transition: none !important;
        animation: none !important;
    }

    /* Reduce all CSS transitions site-wide */
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
