    *, *::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;
    }

    ::selection {
        background-color: rgba(6, 78, 59, 0.15);
        color: #064e3b;
    }

    /* ─── Hero Animation ─── */
    .hero-tag {
        animation: fadeSlideUp 0.8s ease both;
        animation-delay: 0.1s;
    }

    .hero-tag ~ h1,
    h1 {
        animation: fadeSlideUp 0.8s ease both;
        animation-delay: 0.25s;
    }

    body main > section:first-of-type p:nth-of-type(1) {
        animation: fadeSlideUp 0.8s ease both;
        animation-delay: 0.4s;
    }

    body main > section:first-of-type p:nth-of-type(2) {
        animation: fadeSlideUp 0.8s ease both;
        animation-delay: 0.5s;
    }

    body main > section:first-of-type .flex {
        animation: fadeSlideUp 0.8s ease both;
        animation-delay: 0.6s;
    }

    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ─── Scroll Reveal ─── */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    /* Default state for reduced-motion or no-JS is visible */
    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(24px);
        }
        .reveal.revealed {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ─── Navigation ─── */
    .nav-link {
        position: relative;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 1px;
        background-color: currentColor;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    /* ─── Mobile Menu ─── */
    #mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

    #mobile-menu.open .mobile-menu-link {
        animation: menuLinkIn 0.3s ease both;
    }

    #mobile-menu.open .mobile-menu-link:nth-child(1) { animation-delay: 0.05s; }
    #mobile-menu.open .mobile-menu-link:nth-child(2) { animation-delay: 0.1s; }
    #mobile-menu.open .mobile-menu-link:nth-child(3) { animation-delay: 0.15s; }
    #mobile-menu.open .mobile-menu-link:nth-child(4) { animation-delay: 0.2s; }

    @keyframes menuLinkIn {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* ─── Input Focus ─── */
    input:focus,
    textarea:focus {
        border-image: linear-gradient(to right, #059669, #10b981) 1;
    }

    input:focus,
    textarea:focus {
        border-bottom-color: #059669;
    }

    /* ─── Scrollbar ─── */
    ::-webkit-scrollbar {
        width: 6px;
    }
    ::-webkit-scrollbar-track {
        background: #fefdf8;
    }
    ::-webkit-scrollbar-thumb {
        background: #065f46;
        border-radius: 3px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #047857;
    }

    /* ─── Header scroll state ─── */
    #site-header.scrolled {
        box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
    }

    /* ─── Utility ─── */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
    }
