.m-hero .m-hero-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.m-hero .m-hero-inner .text {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    z-index: 1;
    opacity: 0;
}

/*
.m-hero .m-hero-inner .text {
    position: absolute;
    width: calc( (100% / 12) * 8);
    height: fit-content;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 2;
    padding: 0 var(--lateralMargin);
    opacity: 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: .937vw;
    background-color: red;
}
*/

.m-hero .m-hero-inner .hero-text-inner  {
    position: relative;
    display: flex;
    width: calc( (100% / 12) * 7.5);
    height: fit-content;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: .937vw; /*18px*/
}

.m-hero .m-hero-inner .text.revealed {
    opacity: 1;
}

.m-hero .m-hero-inner .text .word {
    opacity: 0;
    transform: translate(0,10%) rotate(1deg);
    transition: 
        opacity .4s cubic-bezier(.65,0,.5,1) 0s,
        transform .0s cubic-bezier(.65,0,.5,1) 0s;
}

.m-hero .m-hero-inner .text.revealed .word {
    opacity: 1;
    transform: translate(0,0%) rotate(0deg);
    transition: 
        opacity .4s cubic-bezier(.65,0,.5,1) var(--delay),
        transform .4s cubic-bezier(.65,0,.5,1) var(--delay);
}

.m-hero .m-hero-inner .inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.m-hero .m-hero-inner .inner.sm {
    display: none;
}

.m-hero .m-hero-inner .inner picture {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.m-hero .m-hero-inner .inner .sm {
    display: none;
}

.m-hero .m-hero-inner .inner video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


@media only screen and (max-width: 980px) {
    /*
    .m-hero .m-hero-inner .text {
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        column-gap: .937vw;
        font-size: 7.3vw;
        line-height: 1.05;
        max-width: 920px;
    }
    */

    .m-hero .m-hero-inner .hero-text-inner {
        width: 100%;
        column-gap: 0px;
        padding: 0 var(--lateralMargin);
    }
}   


@media only screen and (max-width: 740px) {
    .m-hero .m-hero-inner .inner.lg {
        display: none;
    }

    .m-hero .m-hero-inner .inner.sm {
        display: block;
    }
}

@media only screen and (max-width: 550px) {
    /*
    .m-hero .m-hero-inner .text {
        font-size: 8.1vw;
        padding: 0;
    }
    */
    
    .m-hero .m-hero-inner .text {
        font-size: 15.1vw;
        padding: 0;
        line-height: 1;
    }
    .m-hero .m-hero-inner .hero-text-inner {
        justify-content: flex-start;
    }

    .m-hero .m-hero-inner .text p {
        text-align: left;
    }
}
