﻿/* =========================================================
                                       DESIGN TOKENS
                                       ========================================================= */

:root {
    --bg: #040506;
    --gold: #d4b06b;
    --ivory: #f4efe6;
}


/* =========================================================
                                           HERO OVERLAY
                                           ========================================================= */




/*
                                           All scenes sit above the real UI underneath.
                                           The scene itself is transparent; only its content
                                           is animated.
                                        */



.hero-video {
    position: relative;
    width: 100%;
    /*         aspect-ratio: 1500 / 1095; */
    overflow: visible;
}


/* =========================================================
                                                                                                       REAL UI
                                                                                                       Exact same area as the video
                                                                                                       ========================================================= */

.hero-ui {
    position: relative;
    inset: 0;
    z-index: 1;
    /* animation: uiSequence 22s forwards; */
    overflow: visible;
}


/* =========================================================
                                                                                                       CINEMATIC OVERLAY
                                                                                                       Exact same area as the UI
                                                                                                       ========================================================= */

.hero-overlay-video {
    position: absolute;
    inset: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    /*         background: rgba(8,10,14,.82);
                    backdrop-filter: blur(8px); */
}

    .hero-overlay-video.video-finished {
        opacity: 0;
        pointer-events: none;
        transition: opacity 1s ease;
    }

/* =========================================================
                                                                                                       SCENES
                                              .scene {
                                position: absolute;
                                inset: 0;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                text-align: center;
                                pointer-events: none;
                            }
                            ========================================================= */

.scene {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(.97);
    transition: opacity .6s ease, transform .6s ease, visibility .6s ease;
}

    .scene.visible {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        background: rgba(8,10,14,.82);
        backdrop-filter: blur(8px);
    }
/* =========================================================
                                       BASE
                                       ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}





/* =========================================================
                                       INITIAL SCREENSHOT / UI REVEAL
                                       ========================================================= */

.screenshot {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /*   animation: screenshotFade 2s ease forwards; */
}


.linehook {
    opacity: 0;
    transition: opacity .7s ease;
    color: #ececec;
    font-size: 60px;
    font-weight: 300;
    letter-spacing: .02em;
}

    .linehook.show {
        opacity: 1;
    }

    .linehook.fade {
        opacity: 0;
    }

.show {
    opacity: 1;
    transform: none;
}

.emphasis {
    font-weight: 600;
}

.herointro {
    font-size: 74px;
    font-weight: 700;
    color: #d9b96c;
}

.hero span {
    color: white;
    font-weight: 300;
}

.final {
    /*  position: absolute; */
       font-size: 92px;
/*    font-size: 135px;*/
    color: #d9b96c;
    font-weight: 700;
    letter-spacing: .04em;
}

.fade {
    opacity: 0;
    transform: translateY(-12px);
}









.linecta {
    opacity: 0;
    transform: translateY(16px);
    transition: .8s;
    color: white;
    font-size: 58px;
    font-weight: 300;
}

.herocta {
    opacity: 0;
    transform: scale(.96);
    transition: 1s;
    font-size: 64px;
    font-weight: 700;
    color: #d9b96c;
    letter-spacing: .08em;
}

.logo {
    width: 100%;
    opacity: 0;
    transition: 1s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand {
    color: white;
    font-size: 30px;
    letter-spacing: .35em;
}

.url {
    margin-top: 8px;
    color: #888;
    font-size: 28px;
    letter-spacing: .15em;
}

.show {
    opacity: 1;
    transform: none;
}

.fade {
    opacity: 0;
}



.vj-anchor {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: .42em;
    text-transform: uppercase;
    color: rgba(240,216,154,.82);
    user-select: none;
}

    .vj-anchor::after {
        content: "";
        display: block;
        width: 120px;
        height: 1px;
        margin: 14px auto 0;
        background: linear-gradient( 90deg, transparent, rgba(240,216,154,.85), transparent );
    }


.linehook,
.linecta,
.herocta,
.logo {
    opacity: 0;
    transition: opacity .8s ease;
}

.show {
    opacity: 1;
}


.hook-group {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}


.cta-group {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    transition: opacity .6s ease;
}

    .cta-group.show {
        opacity: 1;
    }

.episode-title {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 1s ease;
    text-align: center;
    color: rgba(240,216,154,.9);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: .12em;
}

    .episode-title span {
        display: block;
        margin-top: 8px;
        color: rgba(255,255,255,.55);
        font-size: 23px;
        font-weight: 300;
        letter-spacing: .18em;
        bottom: 55px;
    }

    .episode-title.show {
        opacity: 1;
    }



/* =========================================================
       HERO OPENING
       ========================================================= */

.intro-scene {
    background: radial-gradient( circle at center, rgba(214,177,113,.08), transparent 55% ), rgba(4,5,6,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.intro-kicker {
    color: rgba(240,216,154,.72);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .42em;
    margin-left: .42em;
    text-transform: uppercase;
}

.intro-title {
    margin-top: 18px;
    color: var(--ivory);
    font-family: "Cormorant Garamond", serif;
    font-size: 76px;
    font-weight: 500;
    letter-spacing: .04em;
}

.intro-subtitle {
    margin-top: 8px;
    color: rgba(255,255,255,.48);
    font-size: 18px;
    font-weight: 300;
    letter-spacing: .16em;
}

.intro-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 55px;
}

.intro-play {
    border: 1px solid rgba(214,177,113,.65);
    border-radius: 999px;
    padding: 12px 30px;
    background: rgba(214,177,113,.08);
    color: var(--ivory);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .20em;
    cursor: pointer;
    transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

    .intro-play span {
        color: var(--gold);
        margin-right: 8px;
    }

    .intro-play:hover {
        background: rgba(214,177,113,.16);
        border-color: rgba(214,177,113,.9);
        transform: translateY(-1px);
    }

.intro-skip {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.38);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .18em;
    cursor: pointer;
    transition: color .3s ease;
}

    .intro-skip:hover {
        color: rgba(255,255,255,.75);
    }

#heroIntro {
    pointer-events: auto;
}

.logo {
    width: 100%;
    opacity: 0;
    transition: 1s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
