/* Custom styles — progressive enhancement for scroll reveals */

/* Base state: all content visible */
.reveal {
    opacity: 1;
    transform: none;
}

/* When JS is enabled and reduced motion is not preferred, apply animations */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger delays */
    .reveal:nth-child(1) { transition-delay: 0.05s; }
    .reveal:nth-child(2) { transition-delay: 0.12s; }
    .reveal:nth-child(3) { transition-delay: 0.19s; }
    .reveal:nth-child(4) { transition-delay: 0.26s; }
    .reveal:nth-child(5) { transition-delay: 0.33s; }
    .reveal:nth-child(6) { transition-delay: 0.40s; }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(161, 61, 87, 0.08);
}

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

/* Selection color */
::selection {
    background: #f5d0d9;
    color: #5c2734;
}
