.site-header {
    position: sticky;
    top: 0;
    z-index: 9;
    background-color: #ffffff;
    border-bottom: 1px solid var(--rule);
}

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 14px 32px;
}

.toggle-menu-button {
    display: none;
    border: 0;
    padding: 10px;
    background: none;
    color: var(--navy);
    font-size: 22px;
    cursor: pointer;
}

.header-logo img {
    display: block;
    width: auto;
    height: 60px;
}

.site-header nav {
    display: flex;
    gap: 30px;
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);

    a {
        padding: 8px 0;
        box-shadow: inset 0 -3px 0 transparent;
        transition: box-shadow 160ms ease-out;

        &:hover,
        &[aria-current] {
            box-shadow: inset 0 -3px 0 var(--red);
        }
    }
}

.header-call {
    margin-left: auto;
}

.header-call-short,
.nav-chevron,
.toggle-menu-button .icon-close {
    display: none;
}

@media (width < 900px) {
    .site-header-inner {
        position: relative;
        gap: 8px;
        padding: 10px 16px;
    }

    .toggle-menu-button {
        display: flex;
        margin-left: -10px;

        .icon {
            width: 28px;
            height: 22px;
            vertical-align: 0;
        }
    }

    .header-logo img {
        height: 44px;
    }

    .toggle-menu-button[aria-expanded="true"] {
        .icon-open {
            display: none;
        }

        .icon-close {
            display: block;
        }
    }

    .site-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 4px 16px 12px;
        background-color: var(--navy-deep);
        border-bottom: 4px solid var(--red);
        box-shadow: 0 24px 40px -16px rgba(13, 27, 47, 0.6);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 160ms ease-out, transform 200ms var(--ease-out), visibility 0s 200ms;

        &.is-active {
            visibility: visible;
            opacity: 1;
            transform: none;
            transition: opacity 160ms ease-out, transform 200ms var(--ease-out);
        }

        a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 0;
            border-bottom: 1px solid var(--navy-line);
            font-family: var(--font-display);
            font-size: 22px;
            color: #ffffff;

            &:hover,
            &[aria-current] {
                box-shadow: none;
            }

            &[aria-current] {
                color: var(--gold);
            }

            &:focus-visible {
                outline-color: var(--gold);
            }

            &:last-child {
                border-bottom: 0;
            }
        }

        .nav-chevron {
            display: inline;
            font-size: 16px;
            color: var(--navy-text);
        }
    }

    .header-call {
        min-height: 44px;
        padding: 0 16px;
        font-size: 15px;
    }

    .header-call-number {
        display: none;
    }

    .header-call-short {
        display: inline;
    }
}

