.hero.hero-slider {
    height: 780px;
    min-height: 690px;
    background: #071c17;
}

.hero-slider::before,
.hero-slider > .hero-texture,
.hero-slider > .hero-light,
.hero-slider > .hero-grid {
    display: none;
}

.hero-track,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s ease;
}

.hero-slide.active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: scale(1.035);
    transition: transform 7s ease;
}

.hero-slide.active .hero-slide-image {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 23, 18, .98) 0%, rgba(5, 27, 21, .86) 34%, rgba(6, 26, 21, .42) 62%, rgba(4, 20, 16, .22) 100%),
        linear-gradient(0deg, rgba(3, 20, 15, .46), transparent 48%);
}

.hero-slide-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 78px;
}

.hero-slider .hero-copy {
    max-width: 690px;
}

.hero-slide .hero-copy > * {
    opacity: 0;
    transform: translateY(24px);
}

.hero-slide.active .hero-copy > * {
    opacity: 1;
    transform: none;
    transition: opacity .7s ease, transform .7s ease;
}

.hero-slide.active .hero-copy > :nth-child(1) { transition-delay: .2s; }
.hero-slide.active .hero-copy > :nth-child(2) { transition-delay: .3s; }
.hero-slide.active .hero-copy > :nth-child(3) { transition-delay: .4s; }
.hero-slide.active .hero-copy > :nth-child(4) { transition-delay: .5s; }

.hero-slider h1 {
    max-width: 760px;
    text-wrap: balance;
}

.hero-slider .hero-copy > p {
    color: #d3ddd9;
    max-width: 620px;
}

.hero-secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.hero-secondary-button:hover .play {
    color: var(--forest);
    background: #fff;
}

.hero-controls {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.hero-dots,
.hero-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.hero-dots button {
    width: 48px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
}

.hero-dots button span {
    display: block;
    width: 100%;
    height: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, .3);
}

.hero-dots button span::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gold-light);
    transform: scaleX(0);
    transform-origin: left;
}

.hero-dots button.active span::after {
    transform: scaleX(1);
    transition: transform 7s linear;
}

.hero-arrows button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(5, 25, 20, .35);
    color: #fff;
    backdrop-filter: blur(8px);
    transition: .2s;
}

.hero-arrows button:hover,
.hero-arrows button:focus-visible {
    border-color: var(--gold-light);
    background: var(--gold);
    color: var(--forest);
}

.hero-slider > .hero-scroll {
    display: none;
}

@media (max-width: 960px) {
    .hero.hero-slider {
        height: 760px;
        min-height: 700px;
    }

    .hero-slide-image {
        object-position: 60% center;
    }

    .hero-slide-overlay {
        background: linear-gradient(90deg, rgba(4, 23, 18, .96) 0%, rgba(5, 27, 21, .79) 55%, rgba(4, 20, 16, .38) 100%);
    }
}

@media (max-width: 700px) {
    .hero.hero-slider {
        height: 730px;
        min-height: 680px;
    }

    .hero-slide-image {
        object-position: 68% center;
    }

    .hero-slide-overlay {
        background:
            linear-gradient(90deg, rgba(4, 23, 18, .94), rgba(5, 27, 21, .68)),
            linear-gradient(0deg, rgba(3, 20, 15, .74), transparent 58%);
    }

    .hero-slide-inner {
        align-items: flex-end;
        padding-top: 120px;
        padding-bottom: 135px;
    }

    .hero-slider h1 {
        font-size: clamp(42px, 12vw, 56px);
        margin: 18px 0;
    }

    .hero-slider .hero-copy > p {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-slider .button-row {
        gap: 18px;
        margin-top: 25px;
    }

    .hero-controls {
        bottom: 30px;
    }

    .hero-dots button {
        width: 28px;
    }

    .hero-arrows {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .hero-slide-image,
    .hero-slide .hero-copy > *,
    .hero-dots button span::after {
        transition: none !important;
    }
}
