.home-hero {
    --hero-gutter: clamp(32px, 7.6vw, 156px);
    position: relative;
    height: clamp(700px, 100svh, 980px);
    min-height: 700px;
    overflow: hidden;
    background: #293029;
    color: #fff;
    isolation: isolate;
}

.home-hero__slides,
.home-hero__slide,
.home-hero__image,
.home-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.home-hero__slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity .9s cubic-bezier(.22, 1, .36, 1);
}

.home-hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.home-hero__image {
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    transition: transform 7s linear;
}

.home-hero__slide.is-active .home-hero__image {
    transform: scale(1);
}

.home-hero__shade {
    background:
        linear-gradient(90deg, rgba(19, 23, 20, .54) 0%, rgba(19, 23, 20, .24) 57%, rgba(19, 23, 20, .35) 100%),
        linear-gradient(180deg, rgba(15, 17, 15, .32) 0%, transparent 32%, rgba(15, 17, 15, .2) 100%);
}

.home-hero__container {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    /* padding-inline: var(--hero-gutter); */
    max-width: 1159px;
    margin: 0 auto;
}

.home-hero__copy {
    position: absolute;
    top: clamp(198px, 24vh, 252px);
    /* left: var(--hero-gutter); */
    /* width: min(900px, calc(100vw - var(--hero-gutter) * 2)); */
    width: 100%;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease .18s, transform .75s cubic-bezier(.22, 1, .36, 1) .14s;
    max-width: 1159px;
}

.home-hero__slide.is-active .home-hero__copy {
    opacity: 1;
    transform: translateY(0);
}

.home-hero__caption {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

.home-hero__title {
    margin: 0;
    font-size: 60px;
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-wrap: balance;
    max-width: 822px;
}

.home-hero__description {
    width: min(820px, 100%);
    margin: 8px 0 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.home-hero__mobile-copy {
    display: none;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}

.home-hero__button {
    display: inline-flex;
    min-height: 66px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 16px 38px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 999px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .035em;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.home-hero__button--primary {
    min-width: 324px;
    border-color: #afc1a8;
    background: #afc1a8;
}

.home-hero__button--secondary {
    min-width: 250px;
    background: rgba(245, 247, 240, .25);
    backdrop-filter: blur(8px);
}

.home-hero__button:hover,
.home-hero__button:focus-visible {
    border-color: #f3f7ef;
    background: #f3f7ef;
    color: #344236;
    transform: translateY(-2px);
}

.home-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: grid;
    width: 50px;
    height: 50px;
    padding: 0;
    place-items: center;
    border: 1.5px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: rgba(24, 28, 24, .08);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .25s ease, transform .25s ease;
}

.home-hero__arrow svg {
    width: 32px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.home-hero__arrow:hover,
.home-hero__arrow:focus-visible {
    background: rgba(135, 150, 124, .9);
}

.home-hero__arrow--prev {
    left: 18px;
}

.home-hero__arrow--next {
    right: 18px;
}

.home-hero__pagination {
    position: absolute;
    right: var(--hero-gutter);
    bottom: 32px;
    z-index: 4;
    display: flex;
    gap: 8px;
}

.home-hero__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .48);
    cursor: pointer;
    transition: width .25s ease, background-color .25s ease;
}

.home-hero__dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: #fff;
}

@media (min-width: 992px) {
    .home-hero {
        height: 826px;
        min-height: 826px;
    }

    .home-hero__copy {
        top: 198px;
    }

}

@media (max-width: 991px) {
    .home-hero {
        --hero-gutter: clamp(24px, 5vw, 48px);
    }

    .home-hero__copy {
        width: min(760px, calc(100vw - var(--hero-gutter) * 2));
    }

    .home-hero__title {
        font-size: clamp(43px, 7vw, 64px);
    }

    .home-hero__button {
        min-height: 58px;
        padding-inline: 28px;
        font-size: 15px;
    }

    .home-hero__button--primary,
    .home-hero__button--secondary {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .home-hero {
        --hero-gutter: 22px;
        height: 470px;
        min-height: 470px;
    }

    .home-hero__image {
        object-position: 64% center;
    }

    .home-hero__shade {
        background:
            linear-gradient(180deg, rgba(12, 16, 13, .42) 0%, rgba(12, 16, 13, .14) 25%, rgba(12, 16, 13, .5) 72%, rgba(12, 16, 13, .3) 100%),
            linear-gradient(90deg, rgba(12, 16, 13, .34), transparent 75%);
    }

    .home-hero__copy {
        top: 143px;
        left: var(--hero-gutter);
        width: calc(100vw - var(--hero-gutter) * 2);
    }

    .home-hero__caption {
        margin-bottom: 16px;
        font-size: 12px;
        color: #E8EEDF;
    }

    .home-hero__title {
        font-size: 33px;
        line-height: 0.8;
        text-wrap: wrap;
    }

    .home-hero__description {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.45;
        color: #E8EEDF;
    }

    .home-hero__desktop-copy {
        display: none;
    }

    .home-hero__mobile-copy {
        display: inline;
    }

    .home-hero__actions {
        gap: 10px;
        margin-top: 24px;
    }

    .home-hero__button {
        min-height: 35px;
        /* flex: 1 1 0; */
        padding: 12px 10px;
        font-size: 11px;
        letter-spacing: .015em;
        white-space: nowrap;
    }

    .home-hero__button--primary,
    .home-hero__button--secondary {
        background: rgba(244, 248, 238, .95);
        border-color: rgba(244, 248, 238, .95);
        color: #344236;
        backdrop-filter: blur(8px);
    }

    .home-hero__arrow {
        display: none;
    }

    .home-hero__pagination {
        right: 50%;
        bottom: 18px;
        transform: translateX(50%);
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-hero__slide,
    .home-hero__image,
    .home-hero__copy,
    .home-hero__button,
    .home-hero__dot {
        transition: none;
    }
}
.home-hero__actions[hidden] { display: none; }
