/* Scroll reveal base styles - visible by default for no-JS */
.scroll-reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply animation states when JS is active and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
    .js-active .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .js-active .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header scroll state */
#site-header.scrolled {
    box-shadow: 0 1px 20px rgba(10, 35, 66, 0.08);
}

/* Smooth focus outlines */
*:focus-visible {
    outline: 2px solid #4FD1C5;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #4FD1C5;
    color: #0A2342;
}
