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

    /* Scroll reveal animations */
    .scroll-anim {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .scroll-anim.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger children */
    .scroll-anim:nth-child(2) { transition-delay: 0.1s; }
    .scroll-anim:nth-child(3) { transition-delay: 0.2s; }
    .scroll-anim:nth-child(4) { transition-delay: 0.3s; }
    .scroll-anim:nth-child(5) { transition-delay: 0.4s; }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
        .scroll-anim {
            opacity: 1;
            transform: none;
            transition: none;
        }
        html {
            scroll-behavior: auto;
        }
    }

    /* Navbar glass effect */
    #navbar.scrolled {
        background: rgba(250, 248, 245, 0.92);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(0, 0, 0, 0.07);
    }

    /* Mobile menu transitions */
    #mobile-menu {
        animation: slideDown 0.25s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f3eeE6;
    }
    ::-webkit-scrollbar-thumb {
        background: #d4c0ab;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #bfa388;
    }

    /* Selection color */
    ::selection {
        background: #f3b5a3;
        color: #472418;
    }
