/* =========================================
   FRAME​SSOR GLOBAL HEADER
========================================= */

.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    z-index: 9999;

    background: rgba(8, 8, 8, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        height 0.35s ease,
        background 0.35s ease;
}

.global-header.scrolled {
    height: 72px;
    background: rgba(8, 8, 8, 0.97);
}


/* NAV CONTAINER */

.global-nav-container {
    width: min(1500px, calc(100% - 60px));
    height: 100%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 220px 1fr 220px;
    align-items: center;
}


/* LOGO */

.global-logo {
    display: flex;
    align-items: center;
    width: fit-content;
}

.global-logo img {
    display: block;

    width: 150px;
    max-width: 150px;
    height: auto;
    max-height: 52px;

    object-fit: contain;
}


/* DESKTOP NAV */

.global-navigation {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;
}

.global-navigation a {
    position: relative;

    color: #999;
    font-family: "Inter", sans-serif;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    white-space: nowrap;

    transition: color 0.3s ease;
}

.global-navigation a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: #ffffff;

    transition: width 0.3s ease;
}

.global-navigation a:hover,
.global-navigation a.active {
    color: #ffffff;
}

.global-navigation a:hover::after,
.global-navigation a.active::after {
    width: 100%;
}


/* CTA */

.global-header-cta {
    justify-self: end;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    padding: 13px 19px;

    border: 1px solid rgba(255, 255, 255, 0.3);

    color: #ffffff;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.global-header-cta span:last-child {
    font-size: 17px;
}

.global-header-cta:hover {
    background: #ffffff;
    color: #080808;
    border-color: #ffffff;
}


/* MOBILE BUTTON */

.global-menu-toggle {
    display: none;

    width: 45px;
    height: 45px;

    padding: 0;

    border: 1px solid #444;
    background: transparent;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;
    gap: 6px;
}

.global-menu-toggle span {
    display: block;

    width: 19px;
    height: 1px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.global-menu-toggle.active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.global-menu-toggle.active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}


/* MOBILE MENU */

.global-mobile-menu {
    display: none;
}


/* TABLET */

@media (max-width: 1100px) {

    .global-nav-container {
        grid-template-columns: 180px 1fr 180px;
    }

    .global-navigation {
        gap: 17px;
    }

    .global-navigation a {
        font-size: 10px;
    }

}


/* MOBILE */

@media (max-width: 800px) {

    .global-header {
        height: 72px;
    }

    .global-nav-container {
        width: calc(100% - 40px);

        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .global-logo img {
        width: 125px;
        max-width: 125px;
        max-height: 45px;
    }

    .global-navigation,
    .global-header-cta {
        display: none;
    }

    .global-menu-toggle {
        display: flex;

        position: relative;
        z-index: 10002;
    }


    /* MOBILE FULL SCREEN */

    .global-mobile-menu {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;

        display: flex;
        flex-direction: column;

        justify-content: center;

        padding: 90px 30px 40px;

        background: #080808;

        transform: translateX(100%);

        transition:
            transform 0.5s cubic-bezier(.16, 1, .3, 1);

        z-index: 10001;
    }

    .global-mobile-menu.open {
        transform: translateX(0);
    }

    .global-mobile-menu-inner {
        display: flex;
        flex-direction: column;

        gap: 20px;
    }

    .global-mobile-menu-inner > a:not(.global-mobile-cta) {
        color: #777;

        font-family: "Inter", sans-serif;

        font-size: 35px;
        font-weight: 700;

        letter-spacing: -0.05em;

        transition: color 0.3s ease;
    }

    .global-mobile-menu-inner > a:hover,
    .global-mobile-menu-inner > a.active {
        color: #ffffff;
    }

    .global-mobile-cta {
        width: fit-content;

        margin-top: 20px;

        padding: 15px 20px;

        border: 1px solid #555;

        color: #ffffff;

        font-size: 10px;
        letter-spacing: 0.12em;

        text-transform: uppercase;
    }

}


/* SMALL MOBILE */

@media (max-width: 480px) {

    .global-mobile-menu {
        padding-left: 25px;
        padding-right: 25px;
    }

    .global-mobile-menu-inner > a:not(.global-mobile-cta) {
        font-size: 30px;
    }

}