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

    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }

    body {
        margin: 0;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* ── Scroll Reveal ── */
    @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);
        }

        .reveal:nth-child(2) { transition-delay: 0.1s; }
        .reveal:nth-child(3) { transition-delay: 0.2s; }
        .reveal:nth-child(4) { transition-delay: 0.3s; }
    }

    /* ── Navbar Scroll State ── */
    #navbar.scrolled {
        background: rgba(254, 253, 248, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
    }

    /* ── Custom Scrollbar ── */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #fdf9f0;
    }
    ::-webkit-scrollbar-thumb {
        background: #047857;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #059669;
    }

    /* ── Selection ── */
    ::selection {
        background: #047857;
        color: #fefdf8;
    }

    /* ── Form Focus Styles ── */
    input:focus, select:focus, textarea:focus {
        outline: none;
    }

    /* ── Reduced Motion ── */
    @media (prefers-reduced-motion: reduce) {
        *, *::before, *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
        html {
            scroll-behavior: auto;
        }
        .reveal {
            opacity: 1 !important;
            transform: none !important;
        }
    }

    /* ── Print Styles ── */
    @media print {
        nav, #back-to-top, .reveal { display: none; }
        body { background: white; color: black; }
        section { padding: 20px 0; }
    }
