/* Core 1.5.5 — common internal site header. */
.gs-site-header,
.gs-site-header * { box-sizing: border-box; }

.gs-site-header {
    position: relative;
    z-index: 30;
    width: 100%;
    background: #fbfaf7;
    color: #181a1b;
    border-bottom: 1px solid rgba(24,26,27,.09);
    font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gs-site-header-inner {
    width: min(calc(100% - 72px), 1320px);
    min-height: 96px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr auto;
    align-items: center;
    gap: 34px;
}

.gs-site-brand {
    display: inline-flex;
    flex-direction: column;
    width: max-content;
    color: inherit;
    text-decoration: none;
}
.gs-site-brand-name {
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 1.62rem;
    line-height: 1;
    letter-spacing: .08em;
}
.gs-site-brand-role {
    margin-top: 5px;
    font-size: .64rem;
    line-height: 1;
    letter-spacing: .30em;
}

.gs-site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    font-size: .83rem;
}
.gs-site-nav a {
    position: relative;
    padding: 12px 0;
    color: inherit;
    text-decoration: none;
    opacity: .9;
    white-space: nowrap;
}
.gs-site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 1px;
    background: currentColor;
    transition: right .25s ease;
}
.gs-site-nav a:hover::after,
.gs-site-nav a[aria-current="page"]::after { right: 0; }

.gs-site-talk {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    border: 1px solid rgba(24,26,27,.62);
    border-radius: 999px;
    padding: 13px 24px;
    color: inherit;
    text-decoration: none;
    font-size: .69rem;
    font-weight: 650;
    letter-spacing: .20em;
    text-transform: uppercase;
    white-space: nowrap;
}
.gs-site-talk:hover { background: #181a1b; color: #fff; }
.gs-site-mobile-nav { display: none; position: relative; }

@media (max-width: 1050px) {
    .gs-site-header-inner { grid-template-columns: 230px 1fr auto; gap: 20px; }
    .gs-site-nav { gap: 22px; }
}

@media (max-width: 860px) {
    .gs-site-header-inner {
        width: calc(100% - 32px);
        min-height: 76px;
        grid-template-columns: minmax(0,1fr) auto auto;
        gap: 10px;
    }
    .gs-site-nav { display: none; }
    .gs-site-talk {
        display: inline-flex;
        gap: 8px;
        padding: 9px 12px;
        font-size: .56rem;
        letter-spacing: .14em;
    }
    .gs-site-mobile-nav { display: block; }
    .gs-site-mobile-nav summary {
        cursor: pointer;
        list-style: none;
        padding: 8px 0 8px 8px;
        font-size: .60rem;
        letter-spacing: .14em;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .gs-site-mobile-nav summary::-webkit-details-marker { display: none; }
    .gs-site-mobile-panel {
        position: absolute;
        right: 0;
        top: 36px;
        width: 220px;
        padding: 14px 18px;
        display: flex;
        flex-direction: column;
        background: #fbfaf7;
        border: 1px solid rgba(24,26,27,.14);
        box-shadow: 0 16px 36px rgba(0,0,0,.10);
    }
    .gs-site-mobile-panel a {
        padding: 10px 4px;
        color: #181a1b;
        text-decoration: none;
        font-size: .82rem;
        border-bottom: 1px solid rgba(24,26,27,.08);
    }
    .gs-site-mobile-panel a:last-child { border-bottom: 0; }
    .gs-site-brand-name { font-size: 1.28rem; }
    .gs-site-brand-role { font-size: .50rem; letter-spacing: .24em; }
}

@media (max-width: 420px) {
    .gs-site-header-inner { width: calc(100% - 24px); gap: 7px; }
    .gs-site-brand-name { font-size: 1.08rem; }
    .gs-site-brand-role { margin-top: 4px; font-size: .43rem; letter-spacing: .19em; }
    .gs-site-talk { padding: 8px 9px; font-size: .50rem; }
    .gs-site-mobile-nav summary { padding-left: 4px; font-size: .54rem; }
}
