    /* Base & Utilities */
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

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

    /* Scroll-reveal base: content is visible by default, JS adds animated state */
    @media (prefers-reduced-motion: no-preference) {
        .reveal-up {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal-up.revealed {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-left {
            opacity: 0;
            transform: translateX(-24px);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal-left.revealed {
            opacity: 1;
            transform: translateX(0);
        }
        .reveal-right {
            opacity: 0;
            transform: translateX(24px);
            transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .reveal-right.revealed {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Scroll indicator animation */
    @keyframes scrollIndicator {
        0% { transform: translateY(-100%); }
        100% { transform: translateY(100%); }
    }
    .animate-scroll-indicator {
        animation: scrollIndicator 1.5s ease-in-out infinite;
    }

    /* Navbar scroll state */
    #navbar.scrolled {
        background: rgba(253, 248, 240, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08), 0 4px 24px rgba(6, 95, 70, 0.06);
    }

    /* Mobile link hover */
    .mobile-link {
        position: relative;
    }
    .mobile-link::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 0;
        width: 0;
        height: 2px;
        background: #059669;
        transition: width 0.3s ease;
    }
    .mobile-link:hover::after {
        width: 100%;
    }

    /* Selection color */
    ::selection {
        background: rgba(5, 150, 105, 0.2);
        color: #064e3b;
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #fdf8f0;
    }
    ::-webkit-scrollbar-thumb {
        background: #b5dfd0;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #7ec5aa;
    }

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