.mesh-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #06aae1 0%, #47944f 100%);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.06s linear;
    box-shadow: 0 0 8px rgba(71, 148, 79, 0.35);
    opacity: 0.95;
    z-index: 4100;
    pointer-events: none;
    will-change: transform;
}

.mesh-main-header.gh-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3000;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.4);
    color: #013366;
    font-family: "Inter", "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}

.mesh-main-header.gh-head.outer {
    padding-left: 0;
    padding-right: 0;
}

.mesh-main-header + .site-content {
    padding-top: 88px;
}

.mesh-main-header.gh-head.is-scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom-color: rgba(226, 232, 240, 0.5);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 40px -10px rgba(1, 51, 102, 0.12), 0 10px 20px -5px rgba(1, 51, 102, 0.06);
}

.mesh-main-header .gh-head-inner {
    align-items: center;
    max-width: 1280px;
    padding-right: 16px;
    padding-left: 16px;
    gap: 34px;
}

@media (min-width: 640px) {
    .mesh-main-header .gh-head-inner {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (min-width: 1024px) {
    .mesh-main-header .gh-head-inner {
        padding-right: 32px;
        padding-left: 32px;
    }
}

.mesh-main-header .gh-head-brand {
    height: 43px;
    max-width: none;
}

.mesh-main-header .gh-head-logo img {
    width: 130px;
    max-width: 130px;
    max-height: none;
    transition: opacity 0.3s ease;
}

.mesh-main-header .gh-head-logo .mesh-logo-dark {
    display: block;
}

.mesh-main-header .gh-head-logo img:hover {
    opacity: 0.8;
}

.mesh-main-header .gh-head-menu .nav {
    gap: 41px;
    align-items: center;
}

.mesh-main-header .gh-head-menu .nav a {
    position: relative;
    display: inline-block;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.135em;
    text-transform: uppercase;
    color: rgb(51, 65, 85);
    transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.mesh-main-header .gh-head-menu .nav a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background-color: #06aae1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.mesh-main-header .gh-head-menu .nav li {
    position: relative;
}

.mesh-main-header .gh-head-menu .nav li.has-submenu > .nav-submenu-trigger::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-left: 8px;
    margin-bottom: 2px;
    border-right: 1.5px solid #04789e;
    border-bottom: 1.5px solid #04789e;
    transform: rotate(45deg);
    vertical-align: middle;
    transition: transform 0.25s ease;
}

.mesh-main-header .gh-head-menu .nav li.has-submenu:hover > .nav-submenu-trigger::after,
.mesh-main-header .gh-head-menu .nav li.has-submenu:focus-within > .nav-submenu-trigger::after {
    transform: rotate(-135deg);
}

.mesh-main-header .gh-head-menu .nav li.has-submenu:hover > .nav-submenu-trigger,
.mesh-main-header .gh-head-menu .nav li.has-submenu:focus-within > .nav-submenu-trigger {
    color: #013366;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 6px;
}

.mesh-main-header .gh-head-menu .nav a:hover {
    color: #013366;
    opacity: 1;
}

.mesh-main-header .gh-head-menu .nav a:hover::before,
.mesh-main-header .gh-head-menu .nav .nav-current a::before {
    transform: scaleX(1);
    transform-origin: left;
}

.mesh-main-header .gh-head-menu .nav .nav-current a {
    color: #013366;
}

.mesh-main-header .gh-head-menu .nav .nav-submenu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 320px;
    border: 1px solid rgba(226, 232, 240, 0.4);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 40px -10px rgba(1, 51, 102, 0.12), 0 10px 20px -5px rgba(1, 51, 102, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
    z-index: 50;
    text-align: left;
}

.mesh-main-header .gh-head-menu .nav .insights-submenu .nav-submenu-panel {
    width: 288px;
}

.mesh-main-header .gh-head-menu .nav .has-submenu:hover .nav-submenu-panel,
.mesh-main-header .gh-head-menu .nav .has-submenu:focus-within .nav-submenu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mesh-main-header .gh-head-menu .nav .nav-submenu-title {
    padding: 14px 18px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
    color: #64748b;
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid rgba(241, 245, 249, 0.6);
}

.mesh-main-header .gh-head-menu .nav .nav-submenu-panel > a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    color: #013366;
    border-bottom: 1px solid rgba(241, 245, 249, 0.6);
}

.mesh-main-header .gh-head-menu .nav .nav-submenu-panel > a::before {
    display: none;
}

.mesh-main-header .gh-head-menu .nav .submenu-with-icon .nav-submenu-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: 0 1px 2px rgba(1, 51, 102, 0.05);
    flex: 0 0 32px;
}

.mesh-main-header .gh-head-menu .nav .submenu-with-icon .nav-submenu-icon svg {
    width: 16px;
    height: 16px;
}

.mesh-main-header .gh-head-menu .nav .submenu-with-icon.icon-cerulean .nav-submenu-icon {
    color: #04789e;
}

.mesh-main-header .gh-head-menu .nav .submenu-with-icon.icon-action-green .nav-submenu-icon {
    color: #47944f;
}

.mesh-main-header .gh-head-menu .nav .submenu-with-icon.icon-midnight .nav-submenu-icon {
    color: #013366;
}

.mesh-main-header .gh-head-menu .nav .submenu-with-icon.icon-boston .nav-submenu-icon {
    color: #2a6482;
}

.mesh-main-header .gh-head-menu .nav .insights-submenu .nav-submenu-panel {
    max-height: 400px;
    overflow-y: auto;
}

.mesh-main-header .gh-head-menu .nav .insights-submenu .nav-submenu-panel > a {
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    gap: 0;
}

.mesh-main-header .gh-head-menu .nav .insights-submenu .nav-submenu-panel > a:nth-child(2),
.mesh-main-header .gh-head-menu .nav .insights-submenu .nav-submenu-panel > a:nth-child(3) {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #013366;
}

.mesh-main-header .gh-head-menu .nav .nav-submenu-panel > a:last-child {
    border-bottom: 0;
}

.mesh-main-header .gh-head-menu .nav .nav-submenu-panel > a:hover {
    color: #47944f;
    background: rgba(248, 250, 252, 0.8);
}

.mesh-main-header .gh-head-actions {
    gap: 17px;
}

.mesh-main-header .gh-search {
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    color: #475569;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mesh-main-header .gh-search:hover {
    color: #013366;
    background-color: rgba(0, 0, 0, 0.05);
}

.mesh-main-header .gh-search svg {
    width: 16px;
    height: 16px;
}

.mesh-main-header .gh-burger {
    color: #013366;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    touch-action: manipulation;
}

.mesh-main-header .gh-burger-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.mesh-main-header .gh-burger-icon-close {
    display: none;
}

.gh-head-open .mesh-main-header .gh-burger-icon-menu {
    display: none;
}

.gh-head-open .mesh-main-header .gh-burger-icon-close {
    display: block;
}

.mesh-main-header .gh-button-contact-us {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background-color: #013366;
    color: #fff;
    height: auto;
    min-width: 0;
    min-height: 44px;
    padding: 12px 30px;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: background-color 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
}

.mesh-main-header .gh-button-contact-us:hover {
    background-color: #357a38;
    box-shadow: 0 0 25px rgba(71, 148, 79, 0.3);
    transform: translateY(-1px);
}

/* Main-site light theme: transparent nav over dark hero */
@media (max-width: 991px) {
    .mesh-main-header + .site-content {
        padding-top: 73px;
    }

    .mesh-main-header.gh-head {
        padding-top: 10px;
        padding-bottom: 10px;
        border-bottom-color: rgba(226, 232, 240, 0.5);
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 6px 20px rgba(1, 51, 102, 0.08);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }

    .mesh-main-header .gh-head-inner {
        padding-right: 16px;
        padding-left: 16px;
        gap: 0;
    }

    .mesh-main-header .gh-head-brand {
        height: 52px;
    }

    .mesh-main-header .gh-head-logo img {
        width: 130px;
    }

    .mesh-main-header .gh-head-menu {
        margin: 0;
        align-items: flex-start;
        text-align: left;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .mesh-main-header .gh-head-menu .nav {
        width: 100%;
        gap: 0;
        align-items: stretch;
    }

    .mesh-main-header .gh-head-menu .nav li {
        border-bottom: 1px solid #f1f5f9;
    }

    .mesh-main-header .gh-head-menu .nav a {
        display: block;
        width: 100%;
        padding: 16px 0;
        font-size: 20px;
        font-weight: 700;
        letter-spacing: 0;
        text-transform: none;
        color: #013366;
    }

    .mesh-main-header .gh-head-menu .nav a::before {
        display: none;
    }

    .mesh-main-header .gh-head-menu .nav li > a::after {
        display: none;
    }

    .mesh-main-header .gh-head-menu .nav .nav-submenu-panel {
        display: none;
    }

    .mesh-main-header .gh-head-actions {
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column-reverse;
        gap: 14px;
        padding: 20px 0 32px;
    }

    .mesh-main-header .gh-head-actions > a:first-child {
        display: none;
    }

    .mesh-main-header .gh-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .mesh-main-header .gh-button-contact-us {
        padding: 12px 24px;
    }

    .gh-head-open .mesh-main-header.gh-head {
        background: rgba(255, 255, 255, 0.98);
    }

    .gh-head-open .mesh-main-header .gh-head-menu,
    .gh-head-open .mesh-main-header .gh-head-actions {
        display: flex !important;
    }
}

/* Force light header even on covered non-home templates (posts/pages). */
.has-cover:not(.home-template) .mesh-main-header.gh-head {
    background: rgba(255, 255, 255, 0.95);
    color: #013366;
    border-bottom-color: rgba(226, 232, 240, 0.5);
    box-shadow: 0 10px 26px -12px rgba(1, 51, 102, 0.2);
}

.has-cover:not(.home-template) .mesh-main-header .gh-head-menu .nav a {
    color: rgb(51, 65, 85);
}

.has-cover:not(.home-template) .mesh-main-header .gh-search,
.has-cover:not(.home-template) .mesh-main-header .gh-burger {
    color: #013366;
}

@media (min-width: 992px) {
    .mesh-main-header .gh-head-brand .gh-search {
        display: none;
    }
}

.home-template.has-cover .mesh-main-header.gh-head {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}
