    *, *::before, *::after {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 80px;
    }

    body {
        overflow-x: hidden;
    }

    /* Hero stat cards */
    .stat-card {
        animation: float 6s ease-in-out infinite;
    }

    .stat-card:nth-child(2) {
        animation-delay: -2s;
    }

    .stat-card:nth-child(3) {
        animation-delay: -4s;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-12px); }
    }

    /* Reveal animations — progressive enhancement */
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

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

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

    /* Header scroll state */
    #main-header.scrolled {
        background: rgba(254, 252, 248, 0.92);
        backdrop-filter: blur(16px);
        box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
    }

    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }

    ::-webkit-scrollbar-track {
        background: #FDF8EE;
    }

    ::-webkit-scrollbar-thumb {
        background: #064e3b;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #065f46;
    }

    /* Selection color */
    ::selection {
        background: #064e3b;
        color: #FEFCF8;
    }

    /* Image aspect ratios */
    .aspect-\[4\/5\] {
        aspect-ratio: 4 / 5;
    }

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

    /* Mobile menu 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%;
    }
