#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 84px;
    background: #393939;
    transition: height .2s ease, background-color .2s ease;

    &.header--overlay {
        position: fixed;
        left: 0;
        right: 0;
        height: 112px;
        background: transparent;

        &.is-scrolled {
            height: 84px;
            background: #393939;
        }

        .navbar {
            height: 100%;
        }

        @media (min-width: 601px) {
            .brand__mark {
                height: 70px;
            }

            &.is-scrolled .brand__mark {
                height: 70px;
            }
        }
    }

    .navbar {
        height: 84px;
        padding: 0;
    }

    .container-fluid {
        max-width: 82%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;

        .brand__mark {
            height: 70px;
            width: auto;
            display: block;
            transition: height .2s ease;
        }

    }

    .navbar-nav {
        .nav-item {
            display: block;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 6px;
            position: relative;
            color: #fff;
            font-size: 1.125rem;
            font-weight: 600;
            padding: 10px 2rem;
            transition: color .2s ease;
        }

        .nav-link__chevron {
            transition: transform .2s ease;
        }
    }

    .nav-item--dropdown {
        position: relative;
    }

    .nav-item--dropdown:hover .nav-link__chevron {
        transform: rotate(180deg);
    }

    .nav-submenu {
        display: none;
        position: absolute;
        top: 100%;
        left: -2rem;
        min-width: 15rem;
        padding: 1.25rem 2rem;
        text-align: left;
        background: rgba(255, 255, 255, .9);
        box-shadow: .3125rem .3125rem 1.5rem 0 rgba(0, 0, 0, .24);
        border-radius: 1rem;
        z-index: 10;
    }

    .nav-item--dropdown:hover .nav-submenu {
        display: block;
    }

    .nav-submenu__link {
        display: block;
        line-height: 1.5rem;
        color: #000;
        white-space: nowrap;
    }

    .nav-submenu__link + .nav-submenu__link {
        margin-top: .5rem;
    }

    .nav-submenu__link:hover {
        color: #000;
        text-decoration: underline;
    }

    .cta-segment {
        display: inline-flex;
        align-items: center;
    }

    .cta {
        display: flex;
        align-items: center;
        gap: .5rem;
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        user-select: none;
        white-space: nowrap;
        transition: color .2s ease, opacity .15s ease, transform .05s ease, background-color .2s ease;
    }

    .cta-apply {
        box-sizing: border-box;
        justify-content: center;
        width: 7rem;
        padding: 0 .75rem;
        border: .0625rem solid transparent;
        border-radius: 1.25rem;
        font-size: 12px;
        font-weight: 400;
        line-height: 2.5rem;
        color: #000;
        background-color: #ffcd38;
    }

    .cta-apply:hover {
        background-color: #fff;
    }

    .cta-login {
        padding: .75rem 1rem;
        color: #fff;
    }

    .cta:active {
        transform: translateY(1px);
    }

    .cta-login:hover {
        opacity: .75;
    }

    .menu-toggle {
        display: none;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        color: #fff;

        svg {
            width: 2rem;
            height: 2rem;
        }

        .menu-toggle__close {
            display: none;
        }

        &.is-active .menu-toggle__close {
            display: block;
        }

        &.is-active .menu-toggle__burger {
            display: none;
        }
    }

    @media (max-width: 1024px) {
        .navbar-nav .nav-link {
            padding: 10px 12px;
        }
    }

    @media (max-width: 600px) {
        .container-fluid {
            padding: 0;
            max-width: 92%;
        }

        .brand__mark {
            height: 40px;
        }
    }

    @media (max-width: 993px) {
        .container-fluid {
            flex-wrap: nowrap;
            justify-content: space-between;
        }

        .brand,
        .menu-toggle {
            position: relative;
            z-index: 2;
        }

        .menu-toggle {
            display: flex;
        }

        #siteNavbar {
            display: none;
            position: fixed;
            z-index: 1;
            top: 0;
            left: 0;
            right: 0;
            height: 100vh;
            padding: 7rem 1rem 2rem;
            flex-direction: column;
            align-items: stretch;
            overflow: auto;
            background: #393939;
            text-align: center;

            &.is-open {
                display: flex;
            }
        }

        .navbar-nav {
            display: block;
            width: 100%;
            margin: 0 !important;
        }

        .navbar-nav .nav-item {
            padding: .6875rem 0;
        }

        .navbar-nav .nav-link {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: .625rem;
            padding: 0;
            line-height: 1.5rem;
            border-bottom: 0;
            text-align: center;
        }

        .nav-item--dropdown:hover .nav-link__chevron {
            transform: none;
        }

        .nav-item--dropdown.is-open .nav-link__chevron {
            transform: rotate(180deg);
        }

        .nav-item--dropdown:hover .nav-submenu {
            display: none;
        }

        .nav-item--dropdown.is-open .nav-submenu {
            display: block;
        }

        .nav-submenu {
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            min-width: 0;
            margin-top: .75rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .nav-submenu__link + .nav-submenu__link {
            margin-top: 1rem;
        }

        .cta-segment {
            width: 100%;
            flex-direction: column;
            align-items: stretch;
        }

        .cta-apply {
            display: block;
            width: 100%;
            font-size: 12px;
        }

        .cta-login {
            justify-content: center;
            padding: .75rem 1rem;
            font-size: 16px;
            font-weight: 400;
        }
    }
}
