/* Custom styles — progressive enhancement only */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.is-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile menu transitions */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Nav scroll state */
#nav.scrolled {
    box-shadow: 0 1px 0 rgba(21, 75, 41, 0.08);
}

/* Smooth focus outlines */
input:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 2px solid rgba(61, 155, 90, 0.5);
    outline-offset: 2px;
}

/* Subtle image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf9ed;
}
::-webkit-scrollbar-thumb {
    background: #c3eace;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #95d5a8;
}
