.msp-core-header,
.msp-core-header *,
.msp-core-header *::before,
.msp-core-header *::after {
    box-sizing: border-box;
}

.msp-core-header {
    --msp-bg: #fffaf4;
    --msp-ink: #101820;
    --msp-muted: #3d454d;
    --msp-gold: #c8a063;
    --msp-coral: #ff6758;
    --msp-border: rgba(16, 24, 32, 0.12);
    --msp-shadow: 0 14px 40px rgba(16, 24, 32, 0.12);
    position: relative;
    z-index: 50;
    width: 100%;
    color: var(--msp-ink);
    background: rgba(255, 250, 244, 0.96);
    border-bottom: 1px solid var(--msp-border);
    font-family: inherit;
}

.msp-core-header a {
    color: inherit;
    text-decoration: none;
}

.msp-core-header a:focus-visible,
.msp-core-header button:focus-visible {
    outline: 2px solid var(--msp-coral);
    outline-offset: 4px;
}

.msp-core-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100%, 1240px);
    min-height: 76px;
    margin: 0 auto;
    padding: 10px clamp(18px, 4vw, 40px);
}

.msp-core-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    min-width: 0;
}

.msp-core-brand__mark {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 999px;
}

.msp-core-brand__name {
    display: inline-block;
    color: var(--msp-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    white-space: nowrap;
}

.msp-core-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

.msp-core-header .msp-core-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.msp-core-header .msp-core-menu li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.msp-core-header .msp-core-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 11px;
    border-radius: 6px;
    color: var(--msp-muted);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
}

.msp-core-menu a:hover,
.msp-core-menu .current-menu-item > a,
.msp-core-menu .current_page_item > a {
    color: var(--msp-ink);
    background: rgba(200, 160, 99, 0.18);
}

.msp-core-header .msp-core-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #101820;
    background: var(--msp-gold);
    box-shadow: none;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.msp-core-header .msp-core-cta:hover {
    color: #fffaf4;
    background: #101820;
    transform: translateY(-1px);
}

.msp-core-header .msp-core-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--msp-border);
    border-radius: 6px;
    color: var(--msp-ink);
    background: #ffffff;
    cursor: pointer;
}

.msp-core-toggle__bar {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

.msp-core-toggle__bar:nth-child(1) {
    transform: translateY(-7px);
}

.msp-core-toggle__bar:nth-child(3) {
    transform: translateY(7px);
}

.msp-core-header.is-open .msp-core-toggle__bar:nth-child(1) {
    transform: rotate(45deg);
}

.msp-core-header.is-open .msp-core-toggle__bar:nth-child(2) {
    opacity: 0;
}

.msp-core-header.is-open .msp-core-toggle__bar:nth-child(3) {
    transform: rotate(-45deg);
}

.msp-core-panel {
    width: 100%;
    border-top: 1px solid var(--msp-border);
    background: var(--msp-bg);
    box-shadow: var(--msp-shadow);
}

.msp-core-header .msp-core-panel[hidden] {
    display: none !important;
}

.msp-core-panel__body {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 18px clamp(18px, 4vw, 40px) 24px;
}

.msp-core-panel__nav .msp-core-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.msp-core-panel__nav .msp-core-menu a {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 13px 12px;
    border-bottom: 1px solid var(--msp-border);
    border-radius: 0;
    font-size: 16px;
}

.msp-core-cta--mobile {
    width: 100%;
    margin-top: 18px;
}

.msp-core-header .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1120px) {
    .msp-core-header__inner {
        gap: 14px;
    }

    .msp-core-header .msp-core-menu a {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 13px;
    }

    .msp-core-cta--desktop {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 1024px) {
    .msp-core-header__inner {
        min-height: 70px;
    }

    .msp-core-header .msp-core-nav,
    .msp-core-header .msp-core-cta--desktop {
        display: none !important;
    }

    .msp-core-header .msp-core-toggle {
        position: relative;
        display: inline-flex !important;
    }
}

@media (max-width: 640px) {
    .msp-core-header__inner {
        min-height: 64px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .msp-core-brand {
        gap: 10px;
    }

    .msp-core-brand__mark {
        width: 42px;
        height: 42px;
    }

    .msp-core-brand__name {
        font-size: 18px;
    }

    .msp-core-panel__body {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 360px) {
    .msp-core-brand__name {
        font-size: 16px;
    }

    .msp-core-brand__mark {
        width: 38px;
        height: 38px;
    }
}
