.cw-hero {
    position: relative;
    isolation: isolate;
    background: #071626;
    color: #fff;
}

.cw-hero [hidden] {
    display: none !important;
}

.cw-hero__slide {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(32rem, 67svh, 48rem);
    padding: 3rem max(5vw, calc((100% - 75rem) / 2)) 8rem;
    box-sizing: border-box;
}

.cw-hero__image,
.cw-hero__slide::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cw-hero__image {
    object-fit: cover;
    object-position: center;
}

.cw-hero__slide::after {
    content: "";
    background: linear-gradient(90deg, #0716267b, #0716265a 50%, #0716261a),
                linear-gradient(0deg, #07162673, transparent 45%);
}

.cw-hero__content {
    max-width: 42rem;
}

.cw-hero__label {
    margin: 0 0 1rem;
    color: #ffda38;
    font: 700 clamp(1rem, 1.4vw, 1.25rem)/1.4 Inter, system-ui, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cw-hero .cw-hero__title {
    margin: 0;
    color: #fff;
    font: 800 clamp(2.5rem, 6.2vw, 5.5rem)/1.02 Inter, system-ui, sans-serif;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.cw-hero__description {
    max-width: 34rem;
    margin: 1.25rem 0 1.75rem;
    color: #eef3f8;
    font: 400 clamp(1rem, 2vw, 1.2rem)/1.6 Inter, system-ui, sans-serif;
}

.cw-hero a.cw-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-height: 48px;
    padding: 0 1.25rem;
    border-radius: .4rem;
    background: #ffda38;
    color: #0c1e36;
    font-weight: 700;
    text-decoration: none;
}

.cw-hero a.cw-hero__cta:hover {
    background: #ffe679;
}

.cw-hero__controls {
    position: absolute;
    inset: auto max(5vw, calc((100% - 75rem) / 2)) 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ffffff52;
    padding-top: 1rem;
}

.cw-hero__steps,
.cw-hero__arrows {
    display: flex;
    gap: .5rem;
}

.cw-hero__controls button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.cw-hero__steps span {
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: #ffffff8c;
}

.cw-hero__steps [aria-current="true"] span,
.cw-hero__steps button:hover span {
    background: #ffda38;
}

.cw-hero__arrows button {
    border-color: #ffffff80;
    border-radius: 50%;
    background: #07162699;
    font-size: 1.25rem;
}

.cw-hero__arrows button:hover {
    background: #ffda38;
    color: #0c1e36;
}

.cw-hero :focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .cw-hero__slide {
        min-height: 32rem;
        padding-inline: 6vw;
    }

    .cw-hero__slide::after {
        background: linear-gradient(0deg, #071626f2 5%, #071626ad 72%, #07162659);
    }

    .cw-hero__controls {
        inset-inline: 6vw;
    }
}
