/* Scroll animation base — progressive enhancement */
.scroll-anim {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-anim {
        opacity: 0;
        transform: translateY(24px);
    }
    .scroll-anim.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 64px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #1a2638;
}
::-webkit-scrollbar-thumb {
    background: #3a9e84;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5bbfa1;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #3a9e84;
    outline-offset: 2px;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header scroll state */
#site-header.scrolled {
    box-shadow: 0 1px 0 rgba(26, 38, 56, 0.06);
}
