    /* ── Animations ── */
    @keyframes fade-up {
        from { opacity: 0; transform: translateY(24px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .animate-fade-up {
        animation: fade-up 0.7s ease-out both;
    }

    /* ── Scroll-triggered animations ── */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger children */
    .reveal-stagger > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }

    .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
    .reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
    .reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
    .reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
    .reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
    .reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

    .reveal-stagger.visible > * {
        opacity: 1;
        transform: translateY(0);
    }

    /* ── Navbar scroll state ── */
    #navbar.scrolled {
        background: rgba(250, 248, 245, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(61, 64, 91, 0.08);
    }

    #navbar.scrolled .menu-line {
        background: #3D405B;
    }

    /* ── Mobile menu animation ── */
    .menu-line:nth-child(1) {
        transform-origin: center;
    }
    .menu-line:nth-child(2) {
        transform-origin: center;
    }
    .menu-line:nth-child(3) {
        transform-origin: center;
    }

    #mobileMenu.open .menu-line:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    #mobileMenu.open .menu-line:nth-child(2) {
        opacity: 0;
    }
    #mobileMenu.open .menu-line:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
        width: 20px;
    }

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

    /* ── Selection color ── */
    ::selection {
        background: rgba(224, 122, 95, 0.2);
        color: #1E1F2E;
    }

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

    /* ── Custom scrollbar ── */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f6f6f7;
    }
    ::-webkit-scrollbar-thumb {
        background: #c4c6cf;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #a5a8b6;
    }
