    /* Custom styles and overrides */

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

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

    /* Scrollbar */
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: #0d0d0d;
    }
    ::-webkit-scrollbar-thumb {
        background: #303030;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #e85d2a;
    }

    /* Selection */
    ::selection {
        background: #e85d2a;
        color: #0d0d0d;
    }

    /* Image loading */
    img {
        opacity: 1;
        transition: opacity 0.5s ease;
    }
    img[loading="lazy"] {
        opacity: 0;
    }
    img.loaded {
        opacity: 1;
    }

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

    @media (prefers-reduced-motion: no-preference) {
        .reveal {
            opacity: 0;
            transform: translateY(30px);
        }
        .reveal.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .reveal-delay-1 { transition-delay: 0.1s; }
        .reveal-delay-2 { transition-delay: 0.2s; }
        .reveal-delay-3 { transition-delay: 0.3s; }
        .reveal-delay-4 { transition-delay: 0.4s; }
    }

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

    /* Hamburger animation */
    #menuBtn.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    #menuBtn.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    #menuBtn.active .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
        width: 1.5rem;
    }

    /* Hover underline animation for links */
    a.hover-underline {
        position: relative;
    }
    a.hover-underline::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 1px;
        background: #e85d2a;
        transition: width 0.3s ease;
    }
    a.hover-underline:hover::after {
        width: 100%;
    }

    /* Button focus */
    button:focus-visible,
    a:focus-visible {
        outline: 2px solid #e85d2a;
        outline-offset: 2px;
    }

    /* Map dark theme overlay */
    .map-container {
        position: relative;
    }
    .map-container::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        box-shadow: inset 0 0 0 1px rgba(48, 48, 48, 0.5);
    }
