.hero {
    position: relative;
    min-height: max(680px, 100svh);
    overflow: hidden;
    color: #fff;
    background: #111;
}

.hero__slides,
.hero-slide,
.hero-slide__background,
.hero-slide__overlay {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .8s ease, visibility 0s linear .8s;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
}

.hero-slide__background {
    overflow: hidden;
}

.hero-slide__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 8s ease;
}

.hero-slide:nth-child(1) .hero-slide__background img { object-position: center 58%; }
.hero-slide:nth-child(2) .hero-slide__background img { object-position: center 52%; }
.hero-slide:nth-child(3) .hero-slide__background img { object-position: center center; }
.hero-slide.is-active .hero-slide__background img { transform: scale(1.075); }

.hero-slide__overlay {
    background:
        linear-gradient(90deg, rgba(8,8,8,.84) 0%, rgba(8,8,8,.66) 34%, rgba(8,8,8,.26) 67%, rgba(8,8,8,.08) 100%),
        linear-gradient(180deg, rgba(8,8,8,.18) 0%, rgba(8,8,8,.02) 56%, rgba(8,8,8,.3) 100%);
}

.hero-slide__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: max(680px, 100svh);
    align-items: center;
    padding-top: 154px;
    padding-bottom: 112px;
}

.hero-slide__content {
    width: min(650px, 61%);
}

.hero-slide__content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .55s ease, transform .7s var(--ease);
}

.hero-slide.is-active .hero-slide__content > * {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide.is-active .hero-slide__content > *:nth-child(1) { transition-delay: .14s; }
.hero-slide.is-active .hero-slide__content > *:nth-child(2) { transition-delay: .23s; }
.hero-slide.is-active .hero-slide__content > *:nth-child(3) { transition-delay: .32s; }
.hero-slide.is-active .hero-slide__content > *:nth-child(4) { transition-delay: .41s; }

.hero-slide__kicker {
    margin-bottom: 17px;
    color: rgba(255,255,255,.78);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero-slide h1,
.hero-slide h2 {
    max-width: 720px;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(48px, 5.25vw, 76px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.035em;
}

.hero-slide h1 em,
.hero-slide h2 em {
    color: var(--brand);
    font-style: normal;
}

.hero-slide__description {
    max-width: 590px;
    margin-bottom: 29px;
    color: rgba(255,255,255,.78);
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.68;
}

.hero-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button--hero-outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,.48);
    background: rgba(12,12,12,.16);
    backdrop-filter: blur(8px);
}

.button--hero-outline:hover {
    color: var(--ink);
    border-color: #fff;
    background: #fff;
}

.hero__pagination {
    position: absolute;
    z-index: 8;
    right: 0;
    bottom: 38px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    cursor: pointer;
    transition: width .35s var(--ease), border-color .25s ease, background-color .25s ease, transform .25s var(--ease);
}

.hero-dot:hover {
    border-color: #fff;
    background: rgba(255,255,255,.7);
    transform: scale(1.12);
}

.hero-dot.is-active {
    width: 30px;
    border-color: var(--brand);
    background: var(--brand);
    transform: none;
}

/* Hero media: image or background video */
.hero-slide__background picture { display: block; width: 100%; height: 100%; }
.hero-slide__background video,
.hero-slide__background .hero-slide__mobile-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slide__video { transform: scale(1.02); }
.hero-slide__mobile-fallback { display: none; }
@media (max-width: 760px) {
    .hero-slide__background.has-mobile-fallback .hero-slide__video { display: none; }
    .hero-slide__background.has-mobile-fallback .hero-slide__mobile-fallback { display: block; }
}
