/* Custom styles — progressive enhancement only */

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

/* Scroll reveal — progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger children */
    .reveal:nth-child(2) { transition-delay: 0.08s; }
    .reveal:nth-child(3) { transition-delay: 0.16s; }
    .reveal:nth-child(4) { transition-delay: 0.24s; }
    .reveal:nth-child(5) { transition-delay: 0.32s; }
    .reveal:nth-child(6) { transition-delay: 0.40s; }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Selection color */
::selection {
    background: #c5eadd;
    color: #1a2b47;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f4fbf8;
}
::-webkit-scrollbar-thumb {
    background: #c5eadd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #98d7c2;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #3da587;
    outline-offset: 2px;
}
