.atlas-header {
    --atlas-navy: #183b59;
    --atlas-orange: #ff7900;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 167px;
    background: #fff;
    border-bottom: 4px solid var(--atlas-navy);
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
    font-family: "Host Grotesk", "Lato", Arial, sans-serif;
}
.atlas-header *, .atlas-header *::before, .atlas-header *::after { box-sizing: border-box; }
.atlas-header__inner {
    width: min(calc(100% - 112px), 1328px);
    height: 163px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr) 178px;
    align-items: center;
    column-gap: clamp(28px, 4vw, 60px);
}
.atlas-header__brand { display: block; width: 138px; line-height: 0; }
.atlas-header__logo { display: block; width: 138px; height: 124px; object-fit: contain; }
.atlas-header__nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
    align-self: stretch;
}
.atlas-header__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
    color: var(--atlas-navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .16s ease;
}
.atlas-header__link:hover,
.atlas-header__link:focus-visible,
.atlas-header__link.is-active,
.atlas-header__services.is-open > .atlas-header__services-link {
    color: var(--atlas-orange);
}
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 178px;
    min-height: 46px;
    padding: 9px 14px;
    border: 0;
    border-radius: 30px;
    background: var(--atlas-orange);
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--atlas-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color .16s ease, background-color .16s ease;
}
.atlas-header__call:hover, .atlas-header__call:focus-visible {
    background: var(--atlas-navy);
    color: #fff;
}
.atlas-header__toggle { display: none; }
.atlas-header__services { display: flex; align-items: center; align-self: stretch; }
.atlas-header__services::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
}

/* Full viewport width, with the four menu columns kept readable on wide screens. */
.atlas-mega {
    position: absolute;
    /* The containing block ends above the header's 4px border. */
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    padding: 0;
    color: var(--atlas-navy);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-7px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.atlas-mega__surface {
    width: 100%;
    max-height: calc(100vh - 167px);
    overflow-y: auto;
    padding: 30px max(32px, calc((100vw - 1328px) / 2)) 38px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(8, 29, 50, .18);
}


.atlas-mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.atlas-mega__column { min-width: 0; padding: 0 24px; }
.atlas-mega__column:first-child { padding-left: 0; }
.atlas-mega__column:last-child { padding-right: 0; }
.atlas-mega__column + .atlas-mega__column { border-left: 1px solid #b8c8d5; }
.atlas-mega__group { padding: 8px 0 12px; }
.atlas-mega__group + .atlas-mega__group { border-top: 1px solid #aabed0; padding-top: 14px; }
.atlas-mega__heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: var(--atlas-navy); font-size: 15px; line-height: 1.35; font-weight: 700; text-decoration: none; }
.atlas-mega__heading svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.atlas-mega__list { padding: 0; margin: 0; list-style: none; }
.atlas-mega__list li + li { margin-top: 5px; }
.atlas-mega__list a { display: inline-block; color: var(--atlas-navy); font-size: 14px; line-height: 1.45; text-decoration: none; }
.atlas-mega a:hover, .atlas-mega a:focus-visible { color: var(--atlas-orange); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1180px) and (min-width: 901px) {
    .atlas-header__inner { width: calc(100% - 48px); grid-template-columns: 112px minmax(0, 1fr) 152px; column-gap: 24px; }
    .atlas-header__brand, .atlas-header__logo { width: 112px; }
    .atlas-header__logo { height: auto; }
    .atlas-header__link { font-size: 15px; }
    .atlas-header__call { width: 152px; font-size: 14px; }
}
@media (max-width: 900px) {
    .atlas-header { height: 98px; }
    .atlas-header__inner { width: calc(100% - 32px); height: 94px; grid-template-columns: 86px 1fr auto; column-gap: 14px; }
    .atlas-header__brand, .atlas-header__logo { width: 86px; }
    .atlas-header__logo { height: auto; }
    .atlas-header__call { grid-column: 2; grid-row: 1; justify-self: end; width: auto; min-height: 40px; padding: 7px 14px; font-size: 13px; }
    .atlas-header__toggle { display: flex; grid-column: 3; grid-row: 1; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 8px; background: var(--atlas-orange); cursor: pointer; }
    .atlas-header__toggle span { display: block; width: 100%; height: 3px; border-radius: 2px; background: #fff; }
    .atlas-header__nav { position: absolute; top: 100%; left: 0; right: 0; display: none; height: auto; max-height: calc(100vh - 98px); overflow-y: auto; padding: 18px 24px 24px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 8px 14px rgba(0,0,0,.16); }
    .atlas-header__nav.is-open { display: flex; }
    .atlas-header__link { width: 100%; min-height: 48px; height: auto; padding: 12px 4px; border-bottom: 1px solid rgba(18,59,93,.13); font-size: 16px; }
    .atlas-header__services { display: block; }
    .atlas-header__services::after { display: none; }
    .atlas-mega { display: none !important; }
}
@media (max-width: 480px) {
    .atlas-header__inner { width: calc(100% - 24px); grid-template-columns: 78px 1fr auto; column-gap: 8px; }
    .atlas-header__brand, .atlas-header__logo { width: 78px; }
    .atlas-header__call { font-size: 11px; padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .atlas-mega, .atlas-header__link, .atlas-header__call { transition: none; }
}


.atlas-header__services.is-open .atlas-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.atlas-mega__surface {
    position: relative;
}

.atlas-mega__close {
    position: absolute;
    top: 16px;
    right: max(32px, calc((100vw - 1328px) / 2));
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--atlas-navy);
    color: #fff;
    font: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 1;
}

.atlas-mega__close:hover,
.atlas-mega__close:focus-visible {
    background: var(--atlas-orange);
}

/* Leave room for the close button above the menu columns. */
.atlas-mega__surface {
    padding-top: 62px;
}

@media (max-width: 900px) {
    .atlas-mega__close {
        display: none;
    }
}
.atlas-header__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 178px;
    min-height: 46px;
    padding: 9px 14px;
    border: 1px solid var(--atlas-orange);
    border-radius: 30px;
    background: var(--atlas-orange);
    box-shadow: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color .16s ease, border-color .16s ease;
}
.atlas-header .atlas-header__call:hover,
.atlas-header .atlas-header__call:focus-visible {
    background-color: var(--atlas-navy);
    border-color: var(--atlas-navy);
    color: #fff;
}

.atlas-header__call {
    border: 0;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--atlas-orange);
}