    /* ── Base & Reset ── */
    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        font-family: 'Space Grotesk', system-ui, sans-serif;
        background-color: #050d1f;
        color: #ffffff;
        overflow-x: hidden;
    }

    ::selection {
        background: #d4a017;
        color: #050d1f;
    }

    /* ── Scroll Reveal (progressive enhancement) ── */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(32px);
            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 is always visible if JS is disabled */
    .reveal {
        opacity: 1;
        transform: none;
    }

    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(32px);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ── Navbar scroll state ── */
    #navbar.scrolled {
        background: rgba(5, 13, 31, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* ── Custom scrollbar ── */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #050d1f;
    }
    ::-webkit-scrollbar-thumb {
        background: #142d54;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #d4a017;
    }

    /* ── Input date icon color fix ── */
    input[type="date"]::-webkit-calendar-picker-indicator {
        filter: invert(0.7);
        cursor: pointer;
    }
