/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.hero {
    position: relative;

    width: 100%;
    height: 90vh;
    min-height: 720px;

    overflow: hidden;

    background: #000;
}


/*
|--------------------------------------------------------------------------
| Swiper
|--------------------------------------------------------------------------
*/

.hero-swiper,
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;

    overflow: hidden;

    background: #000;
}


/*
|--------------------------------------------------------------------------
| Media
|--------------------------------------------------------------------------
*/

.hero-slide__media {
    position: absolute;

    inset: 0;

    z-index: 1;

    width: 100%;
    height: 100%;
}

.hero-slide__media video,
.hero-slide__media img {
    display: block;

    width: 100%;
    height: 100%;

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


/*
|--------------------------------------------------------------------------
| Overlay
|--------------------------------------------------------------------------
*/

.hero-slide__overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(4, 8, 11, .88) 0%,
            rgba(5, 8, 10, .66) 28%,
            rgba(10, 7, 6, .32) 62%,
            rgba(8, 5, 4, .48) 100%
        );
}


/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/

.hero-slide__inner {
    position: relative;

    z-index: 3;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;

    padding-top:
        calc(
            var(--utility-height)
            + var(--nav-height)
            + 40px
        );
}

.hero-content {
    width: 100%;
    max-width: 50%;
}

.hero-eyebrow {
    margin-bottom: 22px;

    color: var(--color-gold);

    font-size: 18px;
    font-weight: 700;

    line-height: 1.2;

    text-transform: uppercase;
}

.hero-title {
    margin: 0 0 40px;

    color: var(--color-white);

    font-family: var(--font-title);
    font-weight: 400;

    font-size: clamp(64px, 5vw, 100px);

    line-height: .96;

    letter-spacing: -.02em;
}

.hero-title.hero-title--long {

    font-size: clamp(2.5rem, 4vw, 4.5rem);

}

.hero-title__line {
    display: block;
}

.hero-title__rotating {
    position: relative;

    display: block;

    overflow: hidden;

    height: 1.05em;
}

.hero-title__word {
    display: block;

    will-change:
        transform,
        opacity;
}

.hero-description {
    max-width: 720px;

    margin-bottom: 31px;

    color: var(--color-text);

    font-size: var(--font-size-text-large);
    font-weight: 400;

    line-height: 1.5;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 10px 22px;

    background: var(--color-gold);

    color: #252525;

    font-size: 20px;
    font-weight: 700;

    line-height: 1;

    text-transform: uppercase;

    transition:
        background var(--transition-fast),
        color var(--transition-fast);
}

.hero-button:hover {
    background: var(--color-white);

    color: #252525;
}


/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/

.hero-pagination {
    position: absolute;

    z-index: 10;

    left: var(--container-padding);
    bottom: 1rem;

    display: flex;
    align-items: center;

    gap: 27px;
}

.hero-pagination__bars {
    display: flex;
    align-items: center;

    gap: 7px;
}

.hero-pagination__bar {
    appearance: none;

    display: block;

    width: 40px;
    height: 4px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: rgba(255,255,255,.18);

    cursor: pointer;

    transition: background .25s ease;
}

.hero-pagination__bar:hover {
    background: rgba(255,255,255,.45);
}

.hero-pagination__bar.active {
    background: var(--color-gold);
}

.hero-pagination__numbers {
    display: flex;
    align-items: center;

    gap: 11px;

    color: rgba(255,255,255,.45);

    font-family: var(--font-title);

    font-size: 20px;
}

.hero-pagination__separator {
    color: rgba(255,255,255,.32);
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1199px) {

    .hero-content {
        max-width: 650px;
    }

    .hero-title {
        font-size: 72px;
    }

}

/*
|--------------------------------------------------------------------------
| Short Desktop Screens
|--------------------------------------------------------------------------
|
| Reduce vertical spacing when the viewport is not tall enough.
| This keeps the CTA safely above the slider navigation.
|
*/

@media (
    min-width: 992px
) and (
    max-height: 850px
) {

    .hero {
        min-height: 650px;
    }


    .hero-slide__inner {
        padding-top:
            calc(
                var(--utility-height)
                + var(--nav-height)
                + 20px
            );

        /*
         * Give the pagination its own visual space
         * at the bottom.
         */
        padding-bottom: 80px;
    }


    .hero-eyebrow {
        margin-bottom: 14px;

        font-size: 15px;
    }


    .hero-title {
        margin-bottom: 24px;

        font-size:
            clamp(
                54px,
                4.5vw,
                76px
            );
    }


    .hero-title.hero-title--long {
        font-size:
            clamp(
                2.35rem,
                3.6vw,
                3.8rem
            );
    }


    .hero-description {
        margin-bottom: 20px;

        font-size:
            17px;

        line-height:
            1.4;
    }


    .hero-button {
        min-height: 42px;

        padding:
            9px
            19px;

        font-size:
            17px;
    }


    .hero-pagination {
        bottom: 18px;
    }

}
@media (
    min-width: 992px
) and (
    max-height: 760px
) {

    .hero {
        min-height: 600px;
    }


    .hero-slide__inner {
        padding-top:
            calc(
                var(--utility-height)
                + var(--nav-height)
                + 10px
            );

        padding-bottom:
            70px;
    }


    .hero-eyebrow {
        margin-bottom: 10px;

        font-size: 14px;
    }


    .hero-title {
        margin-bottom: 18px;

        font-size:
            clamp(
                48px,
                4vw,
                66px
            );
    }


    .hero-title.hero-title--long {
        font-size:
            clamp(
                2.15rem,
                3.4vw,
                3.4rem
            );
    }


    .hero-description {
        margin-bottom: 16px;

        font-size: 16px;

        line-height: 1.35;
    }


    .hero-button {
        min-height: 40px;

        padding:
            8px
            18px;

        font-size: 16px;
    }


    .hero-pagination {
        bottom: 14px;
    }

}
@media (max-width: 991px) {

    .hero {
        height: 90vh;
        min-height: 700px;
    }

    .hero-slide__inner {
        padding-top: 110px;
    }

    .hero-title {
        font-size:
            clamp(
                52px,
                10vw,
                72px
            );
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-pagination {
        bottom: 35px;
    }

}

@media (max-width: 767px) {

    .hero {
        min-height: 680px;
    }

    .hero-slide__inner {
        align-items: center;

        padding-top: 90px;
    }

    .hero-eyebrow {
        font-size: 14px;
    }

    .hero-title {
        margin-bottom: 25px;

        font-size:
            clamp(
                48px,
                14vw,
                65px
            );
    }

    .hero-description {
        font-size: 17px;

        line-height: 1.4;
    }

    .hero-pagination {
        left: var(--container-padding);
        bottom: 30px;
    }

}