/* Custom styles — progressive enhancement & polish */

/* Ensure hero image and badges render without JS */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll reveal — only applied below the fold via JS */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth focus outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ebc03d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f3f9;
}
::-webkit-scrollbar-thumb {
    background: #b8c6e2;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8fa5d0;
}

/* Selection color */
::selection {
    background: #ebc03d;
    color: #161e38;
}
