.js-preloader-global-text,
.js-split,
body.is-loading .js-preloader-container {
    opacity: 0;
    visibility: hidden;
}

.js-split {
    display: inline-block;
    will-change: transform;
    margin-left:-0.06em
}

.js-preloader-text-1,
.js-preloader-text-2 {
    position: relative;
    z-index: 1;
    color: var(--color-dark);
    width: 100%;
    max-width: 45vw;
    margin: 0 auto;
    text-align: left;
}

@media (max-width: 649px) {
    /* Blok wyśrodkowany jak na desktopie; tekst wewnątrz nadal do lewej.
       Szerszy niż 45vw, żeby „UZOIGWE” się nie ucinało. */
    .preloader {
        padding-left: env(safe-area-inset-left, 0px);
        padding-right: env(safe-area-inset-right, 0px);
    }

    .js-preloader-text-1,
    .js-preloader-text-2 {
        max-width: min(78vw, 100%);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        box-sizing: border-box;
    }
}

.js-preloader-handler {
    z-index: 10;
}

.js-preloader-container {
    z-index: 5;
}

.js-preloader-text-intro {
    color: var(--color-dark);
}

.hero {
    position: relative;
    background-color: var(--color-white);
    width: 100%;
    overflow: hidden;
    height: 100%;
    z-index: 1;
}

.preloader {
    display: flex;
    flex-direction: column;
    font-size: 10.5vw;
    line-height: 0.8;
    letter-spacing: -0.05em;
    text-align: center;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 649px) {
    .preloader {
        font-size: 13vw;
    }
}

.preloader__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: center;
}

.preloader__handler {
    position: absolute;
    overflow: hidden;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 40vw;
}

@media (max-width: 649px) {
    .preloader__handler {
        width: 45vw;
    }
}

.preloader__handler-spacer {
    width: 100%;
    height: 25vw;
}

@media (max-width: 649px) {
    .preloader__handler-spacer {
        height: 28vw;
    }
}

.reel {
    width: 100%;
    position: relative;
    
    height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding-left:   calc(2.5vw + 2.8vw);
    padding-right:  2.333vw;
    background-color: var(--color-white);
    margin-bottom: 0;
}

@media (max-width: 649px) {
    .reel {
        margin-bottom: 0;
    padding-left: 5vw;
        padding-right: 5vw;
    }
}

.hero__footer {
    width: 100%;
    z-index: 1;
    padding-bottom: 3vw;
    color: var(--color-white);
}

.hero__footer-row {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: left;
    align-items: flex-start;
}

.hero__footer-row--split {
    width: 100%;
    overflow: hidden;
    z-index: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 649px) {
    .hero__footer-row--split {
        display: block;
    }
}

.hero__footer-grid {
    display: grid;
    grid-template-columns: repeat(24, minmax(0vw, 1fr));
    column-gap: 0.1vw;
    position: relative;
    z-index: 4;
}

@media (max-width: 649px) {
    .hero__footer-grid {
        grid-template-columns: repeat(12, minmax(0vw, 1fr));
    }
}

.hero__footer-column--author {
    grid-column: span 14 / span 14;
    overflow: hidden;
}

@media (max-width: 649px) {
    .hero__footer-column--author {
        grid-column: span 10 / span 10;
    }
}

.hero__footer-column--arrow {
    grid-column: span 3 / span 3;
    text-align: right;
    overflow: hidden;
}

@media (max-width: 649px) {
    .hero__footer-column--arrow {
        grid-column: span 2 / span 2;
    }
}

.hero__bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero__bg-video {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
}

.hero__footer-word {
    display: inline-block;
}

.hero__arrow {
    position: absolute;
    bottom: 3vw;
    right: 2.333vw;
    z-index: 10;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    font: inherit;
    line-height: 0;
}

.hero__arrow img,
.hero__arrow svg {
    width: 3.193vw;
    height: auto;
    display: block;
}

@media (max-width: 649px) {
    .hero__arrow {
        bottom: 6vw;
        right: 5vw;
    }

    .hero__arrow img,
    .hero__arrow svg {
        width: 10vw;
    }
}

h1,
.h1,
.h1-big {
    font-size: 10vw;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.85;
    text-transform: uppercase;
}

@media (max-width: 649px) {

    h1,
    .h1,
    .h1-big {
        font-size: 12vw;
        line-height: 0.9;
        margin-bottom: 2vw;
    }
}

.hero__subtitle {
    font-size: 2.2vw;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    margin-left: -0.1vw;
}

@media (max-width: 649px) {
    .hero__subtitle {
        font-size: 5vw;
        margin-bottom: 4vw;
    }
}

.hero__description {
    font-size: 1.4vw;
    line-height: 1.4;
    font-weight: 500;
    text-transform: none;
    max-width: 45vw;
}

@media (max-width: 649px) {
    .hero__description {
        font-size: 4vw;
        line-height: 1.5;
        max-width: 90%;
        opacity: 0.8;
    }
}