.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 80px;
    border: 0;
    background: transparent;
    color: #fff;
    backdrop-filter: none;
}

.site-header-overlay {
    margin-bottom: -80px;
}

/* Blur on a separate layer so the Index panel can blur the page behind it. */
.site-header::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    border-bottom: 1px solid rgb(255 255 255 / 9%);
    background: linear-gradient(180deg, rgb(28 28 28 / 72%), rgb(12 12 12 / 74%));
    -webkit-backdrop-filter: blur(24px) grayscale(1) brightness(.9);
    backdrop-filter: blur(24px) grayscale(1) brightness(.9);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(1200px, 100% - clamp(40px, 6.25vw, 96px));
    height: 100%;
    margin-inline: auto;
}.site-header-brand,
.site-nav,
.site-nav > a {
    display: flex;
    align-items: center;
}.site-header-brand,
.site-nav > a {
    flex: none;
}

.site-header .site-header-brand {
    color: #fff;
}

.site-header-logo {
    display: block;
    width: auto;
    height: 27px;
}

.site-header-mark {
    display: none;
    width: 24px;
    height: 24px;
}

.site-nav {
    gap: clamp(14px, 2.4vw, 30px);
    height: 100%;
    font: 500 14px/1.6 var(--sans);
}.site-nav > a {
    position: relative;
    min-height: 44px;
    padding: 0;
    color: #fff;
    white-space: nowrap;
    text-decoration: none;
}.site-nav > a:hover,
.site-nav > a:focus-visible {
    color: #fff;
}

.site-nav-social svg {
    display: block;
    width: 15px;
    height: 15px;
}.site-nav > a:not(.site-nav-social)::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-start: calc(50% + .8em + 4px);
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .35s;
}.site-nav > a:hover::after,
.site-nav > a[aria-current]::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.site-header :is(a, button):focus-visible {
    outline: 1px solid #e6e6e6;
    outline-offset: 3px;
    border-radius: 4px;
}

@media (max-width: 900px) {
    .site-nav .nav-more {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 600px) {
    .site-header-inner {
        width: calc(100% - 32px);
        gap: 10px;
    }

    .site-header-logo {
        display: none;
    }

    .site-header-mark {
        display: block;
    }

    .site-nav {
        gap: clamp(8px, 2vw, 12px);
        font-size: 12px;
    }
}

@media (max-width: 390px) {
    .site-header .site-header-inner {
        width: calc(100% - 32px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
    }

    .site-header .site-nav {
        justify-content: space-between;
        gap: 6px;
        font-size: 11px;
        width: 100%;
        height: 44px;
    }
}

@media (max-width: 350px) {
    .site-header .site-nav > .site-nav-social { display: none; }
}

@media (prefers-reduced-motion: reduce) {.site-nav > a::after {
        transition: none;
    }
}
