.lux-hero-with-video {
    position: relative;
    isolation: isolate;
}

.lux-hero-video-layer,
.lux-hero-video-layer::after,
.lux-hero-video-layer :is(img, video) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lux-hero-with-video > .lux-hero-video-layer {
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    background: #0b0d13;
    pointer-events: none;
}

.lux-hero-video-layer :is(img, video) {
    object-fit: cover;
    object-position: center;
}

.lux-hero-video-layer video {
    opacity: 0;
}

.lux-hero-video-layer video.is-playing-frame {
    opacity: 1;
}

.lux-hero-video-layer::after {
    content: '';
    background: linear-gradient(0deg, rgba(4, 5, 9, .78), rgba(4, 5, 9, .32) 67%);
}

.selector-intro.lux-hero-with-video {
    max-width: none;
    margin-block: clamp(22px, 4vw, 54px) clamp(20px, 4vw, 48px);
    padding: clamp(30px, 6vw, 86px) clamp(14px, 5vw, 65px);
    border: 1px solid var(--border);
    border-radius: clamp(18px, 3vw, 34px);
}

.selector-video-copy,
.cms-hero.lux-hero-with-video .cms-hero-copy {
    position: relative;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .21);
    border-radius: clamp(16px, 2.5vw, 28px);
    background: linear-gradient(135deg, rgba(15, 17, 25, .79), rgba(9, 10, 16, .56));
    color: #f8fafc;
    backdrop-filter: blur(7px);
}

.selector-video-copy {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(20px, 4vw, 38px);
}

.selector-video-copy p,
.cms-hero.lux-hero-with-video .cms-hero-copy > p {
    color: #e1e5ed;
}

.cms-home > .cms-hero.lux-hero-with-video {
    min-height: 0;
    padding: 0;
}

.cms-home > .cms-hero.lux-hero-with-video .cms-hero-grid {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    width: min(1140px, calc(100% - 72px));
    margin-inline: auto;
    padding: 116px 0 44px;
}

.cms-hero.lux-hero-with-video .cms-hero-copy {
    box-sizing: border-box;
    width: min(100%, 560px);
    padding: clamp(22px, 3vw, 36px);
    border-color: rgba(231, 233, 246, .23);
    background: linear-gradient(145deg, rgba(18, 20, 31, .82), rgba(10, 11, 18, .59));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px) saturate(118%);
}

.cms-home > .cms-hero.lux-hero-with-video .cms-hero-copy h1 {
    max-width: none;
    margin-block: 14px 12px;
    color: #f8fafc;
    font-size: clamp(2rem, 3vw, 2.9rem);
    font-weight: 650;
    line-height: 1.38;
    letter-spacing: normal;
    text-wrap: balance;
}

.cms-hero.lux-hero-with-video .cms-hero-copy > p {
    margin-block: 0;
    font-size: clamp(.94rem, 1.25vw, 1.03rem);
    font-weight: 400;
    line-height: 1.9;
}

.cms-home > .cms-hero.lux-hero-with-video .cms-hero-copy .cms-kicker {
    color: #ffd0d5;
    font-weight: 550;
    border-color: rgba(255, 123, 144, .4);
}

.cms-hero.lux-hero-with-video .cms-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.cms-hero.lux-hero-with-video .cms-hero-actions .cms-btn {
    font-size: .95rem;
    font-weight: 650;
}

.cms-hero.lux-hero-with-video .cms-trust-strip {
    margin-top: 16px;
}

.cms-hero.lux-hero-with-video .cms-trust-strip span {
    padding: 5px 10px;
    color: #d6d9e3;
    font-size: .75rem;
    font-weight: 450;
}

.cms-hero.lux-hero-with-video .cms-hero-visual {
    display: none;
}

.cms-hero.lux-hero-with-video::after {
    content: none;
}

.cms-hero.lux-hero-with-video > .lux-hero-video-layer::after {
    background: linear-gradient(0deg, rgba(4, 5, 9, .64), rgba(4, 5, 9, .14) 60%, rgba(4, 5, 9, .42));
}

@media (min-width: 981px) {
    .cms-hero.lux-hero-with-video .cms-hero-copy {
        width: min(100%, clamp(780px, 65vw, 920px));
    }

    .cms-home > .cms-hero.lux-hero-with-video .cms-hero-copy h1 {
        font-size: clamp(1.75rem, 2.3vw, 2.1875rem);
    }
}

@media (max-width: 980px) {
    .cms-home > .cms-hero.lux-hero-with-video {
        padding-top: 10px;
    }

    .cms-home > .cms-hero.lux-hero-with-video .cms-topbar {
        width: calc(100% - 32px);
        margin-inline: auto;
    }

    .cms-home > .cms-hero.lux-hero-with-video .cms-hero-grid {
        width: calc(100% - 32px);
        padding-block: clamp(64px, 11vw, 104px) 24px;
    }

    .cms-hero.lux-hero-with-video .cms-hero-copy {
        justify-self: center;
    }
}

@media (max-width: 650px) {
    .cms-home > .cms-hero.lux-hero-with-video .cms-hero-copy h1 {
        font-size: clamp(1.6rem, 6.3vw, 2rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lux-hero-video-layer video {
        display: none;
    }
}
