/* =========================================================
   FLYING CAT — GLOBAL HEADER
   ========================================================= */

:root {
    --fcp-header-green: #C8FF20;
    --fcp-header-orange: #CC5500;
}


/* =========================================================
   HEADER
   ========================================================= */

.fcp-site-header {
    position: relative;

    z-index: 100;

    width: 100%;

    min-height: 100px;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 40px;

    padding:
        24px
        32px;

    pointer-events: none;
}


/* =========================================================
   LOGO
   ========================================================= */

.fcp-home-logo {
    width: 90px;

    flex: 0 0 auto;

    pointer-events: auto;
}


.fcp-home-logo img {
    display: block;

    width: 100%;

    height: auto;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.fcp-header-right {
    width:
        min(
            560px,
            48vw
        );

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    pointer-events: auto;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.fcp-main-nav {
    width: 100%;

    display: flex;

    align-items: baseline;

    justify-content: flex-end;

    gap:
        clamp(
            20px,
            2.2vw,
            36px
        );
}


.fcp-main-nav a {
    position: relative;

    color: var(--fcp-header-green);

    font-family:
        "Archivo Black",
        "Arial Black",
        Helvetica,
        sans-serif;

    font-size:
        clamp(
            18px,
            1.65vw,
            28px
        );

    font-weight: 900;

    line-height: 0.9;

    letter-spacing: -0.055em;

    text-transform: uppercase;

    white-space: nowrap;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.3s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


.fcp-main-nav a:hover {
    opacity: 0.64;

    transform:
        translateY(-2px);
}


.fcp-main-nav a.active {
    color: var(--fcp-header-orange);
}


/* =========================================================
   MANIFESTO
   ========================================================= */

.fcp-header-manifesto {
    width:
        min(
            390px,
            100%
        );

    margin:
        13px
        0
        0;

    color: var(--fcp-header-green);

    font-family:
        "Inter",
        Arial,
        sans-serif;

    font-size: 8px;

    font-weight: 600;

    line-height: 1.4;

    letter-spacing: 0.045em;

    text-transform: uppercase;

    text-align: right;
}
/* =========================================================
   MOBILE ELEMENT DEFAULTS
   ========================================================= */


.fcp-menu-toggle {
    display: none;
}

.fcp-mobile-menu {
    display: none;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .fcp-site-header {
        position: relative;

        min-height: 78px;

        padding:
            16px
            17px;

        gap: 16px;
    }


    .fcp-home-logo {
        width: 66px;
    }


    .fcp-header-right {
        width: auto;

        flex: 1;

        display: flex;

        align-items: flex-end;

        justify-content: flex-start;
    }


    /* HIDE DESKTOP ELEMENTS */

    .fcp-main-nav {
        display: none;
    }


    .fcp-header-manifesto {
        display: none;
    }


    /* =====================================================
       HAMBURGER
       ===================================================== */

    .fcp-menu-toggle {
        display: flex;

        width: 32px;
        height: 28px;

        flex-direction: column;

        justify-content: center;

        gap: 5px;

        padding: 0;

        margin-left: auto;

        border: 0;

        background: transparent;

        cursor: pointer;
    }


    .fcp-menu-toggle span {
        display: block;

        width: 100%;
        height: 2px;

        background:
            var(--fcp-header-green);

        transform-origin: center;

        transition:
            transform .25s ease,
            opacity .2s ease;
    }


    /* X STATE */

    .fcp-menu-toggle.open span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }


    .fcp-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }


    .fcp-menu-toggle.open span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }


    /* =====================================================
       MOBILE DROPDOWN
       ===================================================== */

    .fcp-mobile-menu {
        position: absolute;

        top: 100%;
        left: 0;

        z-index: 999;

        width: 100%;

        display: none;

        flex-direction: column;

        padding:
            22px
            17px
            28px;

        background: #050505;

        border-top:
            1px solid
            rgba(255,255,255,.12);

        border-bottom:
            1px solid
            rgba(255,255,255,.12);

        pointer-events: auto;
    }


    .fcp-mobile-menu.open {
        display: flex;
    }


    .fcp-mobile-menu a {
        display: block;

        padding:
            15px
            0;

        color:
            var(--fcp-header-green);

        font-family:
            "Archivo Black",
            "Arial Black",
            Helvetica,
            sans-serif;

        font-size:
            clamp(
                34px,
                11vw,
                50px
            );

        font-weight: 900;

        line-height: .9;

        letter-spacing: -.055em;

        text-transform: uppercase;

        text-decoration: none;

        border-bottom:
            1px solid
            rgba(255,255,255,.10);
    }


    .fcp-mobile-menu a:last-child {
        border-bottom: 0;
    }


    .fcp-mobile-menu a.active {
        color:
            var(--fcp-header-orange);
    }

}

