/*********************************************
 * Entry animation
**********************************************/
.vii-home-banner__entry-animation {
    position:fixed; top:0; left:0; transform:none;
    width:var(--vii-100vw); height:var(--vii-100vh);
    background-color:#000;
    transition:all .5s ease;
}
.site-sticky {opacity:0; visibility:hidden;}

/* logo */
.vii-home-banner__logo {transform:translateY(30px);}

/* logo icon */
.vii-home-banner__logo-icon {width:clamp(90px, 8vw, 140px);}
.vii-home-banner__logo-icon img {transform:translateY(100%);}

/* logo text */
.vii-home-banner__logo-text {width:clamp(190px, 15vw, 274px); aspect-ratio:274/45; opacity:0;}

/* timeline */
.scene-1 .vii-home-banner__logo-icon img {transform:translateY(0); transition:all .7s ease;}
.scene-2 .vii-home-banner__logo-icon {animation:entry-logo-icon 1.6s cubic-bezier(0.65, 0.05, 0.36, 1);}
.scene-3 .vii-home-banner__entry-animation {background-color:transparent;}
.scene-3 .site-sticky {opacity:1; visibility:visible; transition:all .3s ease;}
.scene-4 .vii-home-banner__logo {transform:translateY(0); transition:all .5s ease;}
.scene-4 .vii-home-banner__logo-text {opacity:1; transition:all .5s ease;}
.scene-5 .vii-home-banner__entry-animation {position:absolute;}

@keyframes entry-logo-icon {
    0% {transform:rotate(0);}

    20% {transform:rotate(0deg);}
    23% {transform:rotate(48deg);}
    25% {transform:rotate(45deg);}

    45% {transform:rotate(45deg);}
    48% {transform:rotate(93deg);}
    50% {transform:rotate(90deg);}

    70% {transform:rotate(90deg);}
    73% {transform:rotate(138deg);}
    75% {transform:rotate(135deg);}

    95% {transform:rotate(135deg);}
    98% {transform:rotate(183deg);}
    100% {transform:rotate(180deg);}
}