    /* ── Reset & base ─────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 80px; }
    body { margin: 0; -webkit-font-smoothing: antialiased; }
    img { max-width: 100%; height: auto; display: block; }

    /* ── Floating cards animation ─────────────────────────────── */
    @keyframes float1 {
        0%, 100% { transform: translateY(0px); }
        50%       { transform: translateY(-14px); }
    }
    @keyframes float2 {
        0%, 100% { transform: translateY(0px); }
        50%       { transform: translateY(-10px); }
    }
    @keyframes float3 {
        0%, 100% { transform: translateY(0px); }
        50%       { transform: translateY(-12px); }
    }
    @keyframes float4 {
        0%, 100% { transform: translateY(0px); }
        50%       { transform: translateY(-8px); }
    }

    .floating-card:nth-child(1) { animation: float1 5s ease-in-out infinite; }
    .floating-card:nth-child(2) { animation: float2 6s ease-in-out infinite 0.5s; }
    .floating-card:nth-child(3) { animation: float3 5.5s ease-in-out infinite 1s; }
    .floating-card:nth-child(4) { animation: float4 4.5s ease-in-out infinite 1.5s; }

    /* ── Scroll reveal (progressive enhancement) ──────────────── */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Fallback: content always visible if JS is disabled */
    .reveal { opacity: 1; transform: none; }

    /* ── Card hover ───────────────────────────────────────────── */
    .card-hover { cursor: default; }

    /* ── Navbar scroll state ──────────────────────────────────── */
    #nav.scrolled {
        background: rgba(245, 239, 245, 0.92);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(107, 58, 107, 0.08);
    }

    /* ── Mobile menu transition ───────────────────────────────── */
    #mobileMenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }
    #mobileMenu.open {
        max-height: 400px;
        padding-top: 0;
    }

    /* ── Utility ──────────────────────────────────────────────── */
    ::selection {
        background: rgba(245, 213, 160, 0.4);
        color: #3a1a3a;
    }
</style>
