:root { --site-header-height: 68px; }
html { scroll-padding-top: calc(var(--site-header-height) + 24px); }

.site-header {
    top: 0;
    inset-inline: 0;
    z-index: 50;
    isolation: isolate;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: #343b2d;
    transition: background .25s, border-color .25s, box-shadow .25s;
}

.site-header.nav-solid,
.site-header.sticky {
    background: rgba(250, 250, 248, .94);
    border-bottom-color: #ece9e5;
    backdrop-filter: blur(14px);
}
.site-header.nav-solid { box-shadow: 0 4px 18px rgba(88, 64, 36, .07); }
.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100% - 48px, 1152px);
    height: calc(var(--site-header-height) - 1px);
    margin-inline: auto;
}

.site-header__brand {
    flex-shrink: 0;
    color: #343b2d;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.055em;
    text-decoration: none;
}

.site-header__nav { display: flex; align-items: center; gap: 21px; }
.site-header__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #454834;
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    text-underline-offset: 5px;
    white-space: nowrap;
    transition: color .15s;
}

.site-header__link:hover,
.site-header__link[aria-current="page"] { color: #a43b15; text-decoration: underline; }
.site-header__actions { display: flex; align-items: center; flex-shrink: 0; gap: 5px; }
.site-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #454834;
    cursor: pointer;
}

.site-header__icon:hover { color: #a43b15; }
.site-header__icon svg { width: 17px; height: 17px; }
.site-header__motion svg { width: 12px; height: 12px; }
.site-header__motion .site-header__play { display: none; }
.site-header__motion[aria-pressed="true"] .site-header__pause { display: none; }
.site-header__motion[aria-pressed="true"] .site-header__play { display: inline; }
.site-header__menu-toggle,
.site-header__mobile { display: none; }
.site-header [hidden] { display: none; }
.site-header a:focus-visible,
.site-header button:focus-visible { outline: 2px solid #b54113; outline-offset: 4px; border-radius: 2px; }
.feature-nav { top: var(--site-header-height); }

@media (max-width: 899px) {
    .site-header__nav { display: none; }
    .site-header__menu-toggle { display: inline-flex; }
    .site-header__mobile {
        display: block;
        max-height: calc(100dvh - var(--site-header-height));
        overflow-y: auto;
        border-top: 1px solid rgba(127, 95, 59, .14);
        background: #fff7e9;
    }
    .site-header__mobile-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px 24px;
        width: min(100% - 48px, 1152px);
        margin-inline: auto;
        padding-block: 16px;
    }
    .site-header__mobile-links .site-header__link { min-height: 46px; }
    .site-header__mobile-community { grid-column: 1 / -1; display: flex; gap: 24px; border-top: 1px solid #eadbc8; margin-top: 6px; padding-top: 8px; }
}

@media (max-width: 479px) {
    .site-header__bar { width: calc(100% - 32px); gap: 12px; }
    .site-header__brand { font-size: 1.125rem; }
    .site-header__discord { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-header__link { transition: none; }
}
