/* Custom styles — overrides and enhancements beyond Tailwind */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Scroll-reveal base state (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Header scroll state */
#site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(15, 33, 64, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #152d56;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0f2140;
}

/* Selection color */
::selection {
    background: #d4a017;
    color: #0a1628;
}
