/* =========================================================
   RED CAMELLIA — HEADER
   ========================================================= */


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

.site-header {
    position: fixed;
    z-index: 3000;

    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 44px;

    margin: 0;
    padding: 0;

    background: #111111;

    border: 0;

    pointer-events: none;
}


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

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 34px;

    margin: 0;
    padding: 0;

    white-space: nowrap;

    pointer-events: auto;
}


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

.site-nav a {
    display: block;

    margin: 0;
    padding: 0;

    color: #f7f7f5;

    font-size: 14px;
    font-weight: 800;
    line-height: 1;

    letter-spacing: 0.10em;
    text-transform: uppercase;

    transition: opacity 0.2s ease;
}

.site-nav a:hover {
    opacity: 0.55;
}


/* =========================================================
   SECTION ANCHORS
   ========================================================= */

#music,
#live,
#video {
    scroll-margin-top: 44px;
}


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

@media screen and (max-width: 700px) {

    .site-header {
        height: calc(
            58px + env(safe-area-inset-top)
        );

        padding-top: env(safe-area-inset-top);
    }

    .site-nav {
        gap: 24px;
    }

    .site-nav a {
        font-size: 18.7px;
        font-weight: 800;
        letter-spacing: 0.07em;
    }

    #music,
    #live,
    #video {
        scroll-margin-top:
            calc(
                58px + env(safe-area-inset-top)
            );
    }

}


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

@media screen and (max-width: 380px) {

    .site-nav {
        gap: 18px;
    }

    .site-nav a {
        font-size: 17px;
        letter-spacing: 0.05em;
    }

}


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

@media screen and (orientation: landscape) and (max-height: 500px) {

    .site-header {
        height: 42px;
        padding-top: 0;
    }

    .site-nav {
        gap: 28px;
    }

    .site-nav a {
        font-size: 15px;
        letter-spacing: 0.07em;
    }

    #music,
    #live,
    #video {
        scroll-margin-top: 42px;
    }

}

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

.site-nav a {
    position: relative;
}

.site-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: #f7f7f5;

    transform: translateX(-50%);

    transition: width 0.25s ease;
}

.site-nav a.active::after {
    width: 100%;
}