/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    z-index: 10000;
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-nav:focus {
    top: 0;
    outline: 3px solid white;
}

/* Focus Visible (modern replacement for blanket :focus) */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.btn:focus-visible, .nav__link:focus-visible {
    outline: 3px solid var(--primary);
}

/* Screen Reader Only */
.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 prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in-up {
        opacity: 1;
        transform: none;
    }

    .hero::before {
        animation: none;
    }
}

/* Improved contrast for footer */
.footer, .footer a {
    color: rgba(255, 255, 255, 0.95);
}

/* Mobile touch targets */
@media (max-width: 576px) {
    input, select, textarea, button {
        font-size: 16px !important;
    }

    .btn {
        padding: 12px 20px;
    }
}

/* Form label cursor */
label[for] {
    cursor: pointer;
}
