    /* Base styles & custom utilities */
    :root {
        --color-teal-50: #f0fdfa;
        --color-teal-100: #ccfbf1;
        --color-teal-200: #99f6e4;
        --color-teal-300: #5eead4;
        --color-teal-400: #2dd4bf;
        --color-teal-500: #14b8a6;
        --color-teal-600: #0d9488;
        --color-teal-700: #0f766e;
        --color-teal-800: #115e59;
        --color-teal-900: #134e4a;
        --color-teal-950: #042f2e;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        font-family: 'Inter', system-ui, sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Scroll animation base — content is visible by default */
    .scroll-animate {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Only apply hidden state when JS is active (progressive enhancement) */
    .js-enabled .scroll-animate {
        opacity: 0;
        transform: translateY(30px);
    }

    /* Navbar styles */
    #navbar {
        background: transparent;
    }

    #navbar.scrolled {
        background: rgba(250, 250, 247, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    #navbar.scrolled .font-serif,
    #navbar.scrolled .text-teal-800 {
        color: #134e4a;
    }

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

    #mobile-menu.closed {
        opacity: 0;
        pointer-events: none;
    }

    /* Hamburger animation */
    #bar1.open {
        transform: translateY(4px) rotate(45deg);
    }

    #bar2.open {
        opacity: 0;
    }

    #bar3.open {
        transform: translateY(-4px) rotate(-45deg);
    }

    /* Mobile link fade-in */
    .mobile-link {
        opacity: 0;
        transform: translateY(10px);
    }

    #mobile-menu.open .mobile-link {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

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

    /* 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;
        }
        .scroll-animate {
            opacity: 1 !important;
            transform: none !important;
        }
    }

    /* Selection color */
    ::selection {
        background: rgba(13, 148, 136, 0.2);
        color: #134e4a;
    }

    /* Image loading placeholder */
    img {
        background-color: #e7e5e4;
    }
