/* =========================================================
   HERO
========================================================= */

.home-hero {
    position: relative;

    width: 100%;
    height: clamp(650px, calc(20.8333vw + 350px), 750px);

    overflow: hidden;

    color: var(--color-white);
}

.home-hero__picture {
    position: absolute;
    inset: 0;

    display: block;
}

.home-hero__image {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 65%;
}

.home-hero__video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 65%;

    pointer-events: none;
}

.home-hero__video--mobile {
    display: none;
}

.home-hero__shade {
    position: absolute;
    inset: 0;
}

.home-hero__content {
    position: relative;

    z-index: 2;

    width: min(
        var(--hero-content-width),
        calc(100% - 40px)
    );

    height: 100%;

    margin-inline: auto;
}

.home-hero__title {
    position: absolute;

    top: 145px;
    left: 0;

    width: clamp(668px, calc(27.5vw + 272px), 940px);

    margin: 0;

    color: var(--color-white);

    font-family: var(--font-display);
    font-size: clamp(80px, 5vw, 100px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;

    white-space: nowrap;
}

.home-hero__description {
    position: absolute;

    top: 165px;
    right: 0;

    width: clamp(278px, 16.6667vw, 360px);

    margin: 0;

    color: var(--color-white);

    font-family: var(--font-main);
    font-size: clamp(14px, 0.8203125vw, 17.5px);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

@media (min-width: 1120px) {
    .home-hero {
        height: clamp(760px, 90vh, 900px);
        min-height: 760px;

        overflow: visible;
    }

    .home-hero__content {
        width: min(1380px, calc(100% - 64px));

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        box-sizing: border-box;
        padding-top: clamp(230px, calc(22vh + 50px), 260px);
    }

    .home-hero__title {
        position: static;

        width: clamp(750px, 48vw, 920px);

        font-size: clamp(88px, 5.625vw, 108px);
        line-height: 0.88;

        white-space: nowrap;
    }

    .home-hero .home-hero__description {
        position: static;

        width: clamp(390px, 27vw, 500px);

        margin-top: 44px;

        font-family: var(--font-main);
        font-size: clamp(17.5px, 1.09375vw, 21px);
        font-weight: 300;
        line-height: 1.4;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 1119px) {

    .home-hero {
        height: clamp(700px, 90vh, 780px);
        min-height: 700px;

        overflow: visible;
    }

    .home-hero__content {
        width: calc(100% - 40px);

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        padding-top: 160px;

        box-sizing: border-box;
    }

    .home-hero__title {
        position: static;

        width: 430px;

        font-size: clamp(68px, 8vw, 84px);
        line-height: 0.88;

        white-space: normal;
    }

    .home-hero__description {
        position: static;

        width: 360px;

        margin-top: 22px;

        font-size: 15px;
        letter-spacing: -0.02em;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .home-hero__video--desktop {
        display: none;
    }

    .home-hero__video--mobile {
        display: block;
    }

    .home-hero {
        height: 614px;
    }

    .home-hero__content {
        width: calc(100% - 24px);
    }

    .home-hero__title {
        top: 100px;
        left: 50%;

        width: 100%;

        font-size: clamp(36px, 11.2821vw, 44px);
        line-height: 1.1;

        text-align: center;

        transform: translateX(-50%);

        white-space: nowrap;
    }

    .home-hero__description {
        top: 176px;
        left: 50%;
        right: auto;

        width: min(clamp(290px, 87.1795vw, 340px), 100%);

        text-align: center;

        transform: translateX(-50%);

        font-size: 15px;
    }
}
