    /* Custom styles and overrides */
    :root {
        --charcoal-900: #1e2026;
        --charcoal-800: #2a2d34;
        --charcoal-700: #363941;
        --charcoal-500: #5c606b;
        --charcoal-300: #9fa2aa;
        --charcoal-200: #c4c6cb;
        --charcoal-100: #e2e3e5;
        --coral-600: #f05030;
        --coral-500: #ff6b4a;
        --coral-200: #ffd3c7;
        --coral-100: #ffeae3;
    }

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Selection color */
    ::selection {
        background: #ffd3c7;
        color: #1e2026;
    }

    /* Scrollbar styling */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #f6f6f7;
    }
    ::-webkit-scrollbar-thumb {
        background: #c4c6cb;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #9fa2aa;
    }

    /* Nav transition states */
    #navbar.scrolled {
        background: rgba(250, 249, 247, 0.97);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 20px rgba(30, 32, 38, 0.08);
    }

    #navbar.scrolled .nav-link {
        color: #363941;
    }

    #navbar.scrolled .nav-text {
        color: #1e2026;
    }

    /* Mobile menu animation */
    #mobile-menu {
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Scroll animation base - content always visible */
    .scroll-animate {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    /* Scroll animation active - applied via JS for progressive enhancement */
    @media (prefers-reduced-motion: no-preference) {
        .scroll-animate.animate-in {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Reduced motion preference */
    @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;
        }
    }

    /* Focus visible for accessibility */
    a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
        outline: 2px solid #ff6b4a;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Subtle image hover effect */
    .group img {
        transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Button ripple effect */
    button, a {
        -webkit-tap-highlight-color: transparent;
    }

    /* Print styles */
    @media print {
        nav, #mobile-menu-btn, #contact-form, .scroll-animate {
            display: none !important;
        }
        body {
            color: #000;
            background: #fff;
        }
    }
