    /* ========== CUSTOM STYLES ========== */
    
    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }
    
    /* Selection color */
    ::selection {
        background-color: #e8c8ef;
        color: #4c284f;
    }
    
    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #faf4fb;
    }
    ::-webkit-scrollbar-thumb {
        background: #d7a0e2;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #c06fd3;
    }
    
    /* Nav scroll state */
    #site-header.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(123, 45, 142, 0.08);
    }
    
    #site-header.scrolled .nav-link {
        color: #6e3272;
    }
    
    /* Mobile menu animation */
    #mobile-menu {
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Fade-in animations */
    .fade-in {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger children */
    .stagger-children > * {
        opacity: 0;
        transform: translateY(16px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    .stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
    .stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
    .stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
    .stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
    .stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
    .stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
    
    .stagger-children.visible > * {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Mobile nav active state */
    .mobile-nav-link:hover {
        color: #883d8e;
    }
    
    /* Hero gradient animation */
    @keyframes float {
        0%, 100% { transform: translate(-50%, -50%) scale(1); }
        50% { transform: translate(-50%, -50%) scale(1.05); }
    }
    
    /* Image hover zoom container */
    .group img {
        will-change: transform;
    }
    
    /* Focus visible for accessibility */
    *:focus-visible {
        outline: 2px solid #a54aad;
        outline-offset: 2px;
        border-radius: 4px;
    }
    
    /* Reduce motion for accessibility */
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        .fade-in,
        .stagger-children > *,
        .group img {
            transition: none;
            animation: none;
        }
        .fade-in,
        .stagger-children.visible > * {
            opacity: 1;
            transform: none;
        }
    }
