.mws-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--mws-header);
    background: rgba(250, 250, 248, .94);
    border-top: 1px solid rgba(184, 134, 11, .38);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px);
    transition: background var(--mws-fast), border-color var(--mws-fast), box-shadow var(--mws-fast);
}

.mws-header.is-scrolled {
    background: rgba(250, 250, 248, .985);
    border-bottom-color: var(--mws-border);
    box-shadow: 0 9px 28px rgba(26, 26, 26, .07);
}

.mws-header__inner {
    display: grid;
    grid-template-columns: minmax(145px, 1fr) minmax(540px, 760px) minmax(205px, 1fr);
    gap: clamp(20px, 2.25vw, 38px);
    align-items: center;
    height: 100%;
}

.mws-brand {
    display: inline-flex;
    width: max-content;
    flex-direction: column;
    line-height: .82;
    transform-origin: left center;
    transition: color var(--mws-fast), transform var(--mws-fast);
}

.mws-brand:hover,
.mws-brand:focus-visible {
    color: var(--mws-accent-hover);
    transform: translateY(-1px);
}

.mws-brand__primary {
    font-family: var(--mws-serif);
    font-size: 1.55rem;
    letter-spacing: .02em;
}

.mws-brand__secondary {
    margin-top: 7px;
    font-family: var(--mws-serif);
    font-size: .78rem;
    letter-spacing: .12em;
}

.mws-nav {
    justify-self: center;
    width: 100%;
    padding: 0 clamp(18px, 2vw, 30px);
    background: rgba(250, 250, 248, .78);
    border: 1px solid rgba(184, 134, 11, .25);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(75, 55, 18, .07), inset 0 1px 0 rgba(255, 255, 255, .86);
}

.mws-nav__list {
    display: flex;
    width: 100%;
    height: 52px;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mws-nav__list > li {
    position: relative;
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
}

.mws-nav__list > li + li::before {
    content: "";
    position: absolute;
    left: -4.5px;
    top: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid #c58a25;
    background: transparent;
    transform: translateY(-50%) rotate(45deg);
}

.mws-nav__list a {
    position: relative;
    display: inline-flex;
    width: auto;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 4px 8px 7px;
    background: transparent;
    color: var(--mws-text);
    font-family: var(--mws-mono);
    font-size: .68rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 220ms ease, transform 220ms ease;
}

.mws-nav__list a::before {
    content: "";
    position: absolute;
    left: 8px;
    right: calc(100% - 8px);
    bottom: 0;
    height: 2px;
    background: var(--mws-accent);
    border-radius: 99px;
    transition: right 360ms cubic-bezier(.2, .75, .2, 1);
}

.mws-nav__list a:hover,
.mws-nav__list a:focus-visible {
    color: var(--mws-accent-hover);
    transform: translateY(-1px);
}

.mws-nav__list a:hover::before,
.mws-nav__list a:focus-visible::before,
.mws-nav__list .current-menu-item > a::before,
.mws-nav__list .current_page_item > a::before,
.mws-nav__list a[aria-current="page"]::before {
    right: 8px;
}

.mws-header__cta {
    position: relative;
    left: clamp(0px, calc((100vw - var(--mws-shell)) / 2 - 40px), 152px);
    display: inline-flex;
    min-width: clamp(205px, 15vw, 250px);
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 clamp(22px, 2vw, 30px);
    background: var(--mws-gold-button-bg);
    border: 1px solid var(--mws-gold-button-border);
    border-radius: 5px;
    color: var(--mws-text);
    font-family: var(--mws-mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    white-space: nowrap;
    justify-self: end;
    box-shadow: var(--mws-gold-button-shadow);
    transition: background var(--mws-fast), border-color var(--mws-fast), color var(--mws-fast), transform var(--mws-fast), box-shadow var(--mws-fast);
}

.mws-header__cta:hover,
.mws-header__cta:focus-visible {
    background: linear-gradient(110deg, #f8ecc9 0%, #f1d991 52%, #dfbd63 100%);
    border-color: rgba(168, 118, 12, .5);
    color: var(--mws-text);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(119, 82, 8, .2), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.mws-header__cta-icon {
    width: 24px;
    height: 16px;
    flex: 0 0 24px;
    overflow: visible;
    color: var(--mws-accent-hover);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--mws-fast), color var(--mws-fast);
}

.mws-header__cta:hover .mws-header__cta-icon,
.mws-header__cta:focus-visible .mws-header__cta-icon {
    color: var(--mws-text);
    transform: translateX(3px);
}

.mws-sm-header,
.mws-sm-panel {
    display: none;
}

html.mws-sm-open,
body.mws-sm-open {
    overflow: hidden;
    overscroll-behavior: none;
}

@media (max-width: 1100px),
    (hover: none) and (pointer: coarse) and (max-width: 1366px) {

    html {
        --mws-mobile-bar-height: calc(
            var(--mws-header) + env(safe-area-inset-top, 0px)
        );
        scroll-padding-top: var(--mws-mobile-bar-height);
        background-color: var(--mws-bg);
    }

    body {
        --mws-mobile-admin-offset: 0px;
        background-color: var(--mws-bg);
    }

    /*
     * The mobile masthead is fixed and therefore removed from
     * document flow. Reserve its height so page content begins
     * directly below the masthead instead of rendering behind it.
     */
    #main-content {
        padding-top: calc(
            var(--mws-mobile-bar-height) + var(--mws-mobile-admin-offset)
        );
    }

    /*
     * iOS Safari 26 derives its top browser-bar tint...

    /*
     * iOS Safari 26 derives its top browser-bar tint from the element touching
     * the top scroll edge. The global paper texture is a fixed translucent
     * layer, so disable that layer for the mobile/tablet header layout and let
     * Safari sample the header's opaque background instead.
     */
    body::before {
        display: none;
    }

    .mws-header {
        display: none;
    }

    .mws-sm-header {
        /*
         * Keep one opaque viewport-constrained masthead at the top edge.
         * Safari can extend this solid background into its obscured top inset,
         * while the mobile navigation retains its original fixed behavior.
         */
        position: fixed;
        top: var(--mws-mobile-admin-offset);
        right: 0;
        left: 0;
        z-index: 1300;
        display: flex;
        height: var(--mws-mobile-bar-height);
        align-items: center;
        justify-content: space-between;
        padding-top: env(safe-area-inset-top, 0px);
        padding-left: max(var(--mws-gutter), env(safe-area-inset-left, 0px));
        padding-right: max(var(--mws-gutter), env(safe-area-inset-right, 0px));
        background-color: var(--mws-bg);
        border-bottom: 1px solid var(--mws-border);
        isolation: isolate;
    }

    .mws-sm-toggle {
        position: relative;
        display: inline-flex;
        min-width: 90px;
        height: 48px;
        align-items: center;
        justify-content: center;
        gap: 9px;
        padding: 0;
        background: transparent;
        border: 0;
        color: var(--mws-text);
        font-size: .74rem;
        font-weight: 600;
        letter-spacing: .13em;
        line-height: 1;
        text-transform: uppercase;
        touch-action: manipulation;
    }

    .mws-sm-toggle:focus-visible {
        outline: 2px solid var(--mws-accent);
        outline-offset: 4px;
    }

    .mws-sm-toggle__text-wrap {
        display: inline-block;
        width: 48px;
        height: 1em;
        overflow: hidden;
        white-space: nowrap;
    }

    .mws-sm-toggle__text-inner {
        display: flex;
        flex-direction: column;
        line-height: 1;
    }

    .mws-sm-toggle__line {
        display: block;
        height: 1em;
        line-height: 1;
    }

    .mws-sm-icon {
        position: relative;
        display: inline-flex;
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        align-items: center;
        justify-content: center;
        transform-origin: center;
        transition: transform .65s cubic-bezier(.16, 1, .3, 1);
        will-change: transform;
    }

    body.mws-sm-open .mws-sm-icon {
        transform: rotate(225deg);
    }

    .mws-sm-icon__line {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        height: 1.5px;
        background: currentColor;
        border-radius: 2px;
        transform: translate(-50%, -50%);
    }

    .mws-sm-icon__line--vertical {
        transform: translate(-50%, -50%) rotate(90deg);
    }

    .mws-sm-panel {
        position: fixed;
        top: var(--mws-mobile-admin-offset);
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1200;
        display: flex;
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: calc(var(--mws-mobile-bar-height) + clamp(44px, 7vh, 88px)) clamp(24px, 4vw, 48px) max(clamp(34px, 5vh, 64px), env(safe-area-inset-bottom, 0px));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background-color: #fafaf8;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(100%, 0, 0);
        transition: transform .65s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .65s;
        will-change: transform;
    }

    .mws-sm-panel.is-active {
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .mws-sm-panel.is-closing {
        pointer-events: none;
    }

    body.mws-sm-open .mws-sm-panel {
        transform: translate3d(0, 0, 0);
    }

    .mws-sm-panel__inner {
        display: flex;
        min-height: 100%;
        flex: 1;
        flex-direction: column;
        gap: 1.25rem;
    }

    .mws-sm-panel__list {
        display: flex;
        flex-direction: column;
        gap: .5rem;
        counter-reset: mws-sm-item;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mws-sm-panel__list > li {
        position: relative;
        overflow: hidden;
        counter-increment: mws-sm-item;
        line-height: 1;
        opacity: 0;
        transform: translate3d(0, 28px, 0);
        transition: opacity .55s ease, transform .72s cubic-bezier(.16, 1, .3, 1);
    }

    body.mws-sm-open .mws-sm-panel__list > li {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    body.mws-sm-open .mws-sm-panel__list > li:nth-child(2) {
        transition-delay: .05s;
    }

    body.mws-sm-open .mws-sm-panel__list > li:nth-child(3) {
        transition-delay: .1s;
    }

    body.mws-sm-open .mws-sm-panel__list > li:nth-child(4) {
        transition-delay: .15s;
    }

    body.mws-sm-open .mws-sm-panel__list > li:nth-child(5) {
        transition-delay: .2s;
    }

    body.mws-sm-open .mws-sm-panel__list > li:nth-child(6) {
        transition-delay: .25s;
    }

    .mws-sm-panel__list a {
        position: relative;
        display: block;
        width: 100%;
        padding-right: 1.4em;
        color: var(--mws-text);
        font-size: clamp(2.75rem, 8vw, 5rem);
        font-weight: 600;
        line-height: .98;
        letter-spacing: -.052em;
        text-transform: uppercase;
        transition: color 280ms ease;
    }

    .mws-sm-panel__list a::after {
        content: counter(mws-sm-item, decimal-leading-zero);
        position: absolute;
        top: .1em;
        right: .1em;
        color: var(--mws-accent);
        font-family: var(--mws-mono);
        font-size: clamp(.72rem, 1.5vw, 1rem);
        font-weight: 500;
        letter-spacing: .08em;
        opacity: .85;
        pointer-events: none;
        user-select: none;
    }

    .mws-sm-panel__list a:hover,
    .mws-sm-panel__list a:focus-visible,
    .mws-sm-panel__list .current-menu-item > a,
    .mws-sm-panel__list .current_page_item > a,
    .mws-sm-panel__list a[aria-current="page"] {
        color: var(--mws-accent);
    }

    .mws-sm-panel__list a:focus-visible {
        outline: 2px solid var(--mws-accent);
        outline-offset: 5px;
    }

    .mws-sm-panel__cta {
        display: inline-flex;
        min-height: 52px;
        align-items: center;
        align-self: flex-start;
        justify-content: center;
        margin-top: auto;
        padding: 0 24px;
        background: var(--mws-gold-button-bg);
        border: 1px solid var(--mws-gold-button-border);
        color: var(--mws-text);
        font-size: .76rem;
        font-weight: 600;
        letter-spacing: .13em;
        text-transform: uppercase;
        box-shadow: var(--mws-gold-button-shadow);
        opacity: 0;
        transform: translate3d(0, 28px, 0);
        transition: background var(--mws-fast), border-color var(--mws-fast), color var(--mws-fast), box-shadow var(--mws-fast), opacity .55s .28s ease, transform .72s .28s cubic-bezier(.16, 1, .3, 1);
    }

    body.mws-sm-open .mws-sm-panel__cta {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    .mws-sm-panel__cta:hover,
    .mws-sm-panel__cta:focus-visible {
        background: linear-gradient(110deg, #f8ecc9 0%, #f1d991 52%, #dfbd63 100%);
        border-color: rgba(168, 118, 12, .5);
        color: var(--mws-text);
        box-shadow: 0 12px 26px rgba(119, 82, 8, .2), inset 0 1px 0 rgba(255, 255, 255, .5);
    }

    html.mws-sm-has-gsap .mws-sm-panel {
        transform: none;
        transition: none;
    }

    html.mws-sm-has-gsap .mws-sm-panel__list > li,
    html.mws-sm-has-gsap .mws-sm-panel__cta,
    html.mws-sm-has-gsap .mws-sm-icon {
        transition: none;
    }
}

@media (min-width: 1025px) and (max-width: 1100px),
    (min-width: 1101px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
    .mws-sm-panel__list a {
        font-size: 3.15rem;
    }
}

@media (min-width: 783px) and (max-width: 1100px),
    (min-width: 1101px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
    body.admin-bar {
        --mws-mobile-admin-offset: 32px;
    }
}

@media (max-width: 640px) {
    .mws-sm-toggle {
        min-width: 82px;
        gap: 7px;
        font-size: .68rem;
    }

    .mws-sm-toggle__text-wrap {
        width: 43px;
    }

    .mws-sm-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .mws-sm-panel {
        padding-top: calc(var(--mws-mobile-bar-height) + clamp(38px, 6vh, 58px));
    }

    .mws-sm-panel__list {
        gap: clamp(8px, 1.25vh, 13px);
    }

    .mws-sm-panel__list a {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }

    .mws-sm-panel__cta {
        min-height: 49px;
        padding-inline: 20px;
        font-size: .7rem;
    }
}

@media (max-height: 650px) and (max-width: 1100px),
    (max-height: 650px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
    .mws-sm-panel {
        padding-top: calc(var(--mws-mobile-bar-height) + 25px);
        padding-bottom: 24px;
    }

    .mws-sm-panel__list {
        gap: 6px;
    }

    .mws-sm-panel__list a {
        font-size: clamp(2.4rem, 8vh, 3.6rem);
    }

    .mws-sm-panel__cta {
        margin-top: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mws-brand,
    .mws-nav__list a,
    .mws-nav__list a::before,
    .mws-header__cta,
    .mws-sm-panel,
    .mws-sm-panel__list > li,
    .mws-sm-panel__list a,
    .mws-sm-panel__cta,
    .mws-sm-icon {
        transition-duration: .01ms;
        transition-delay: 0s;
    }
}
