.ult-home-hero {
    position: relative;
    isolation: isolate;
    display: grid !important;
    width: 100%;
    aspect-ratio: 6 / 7;
    overflow: hidden;
    background: #13284b;
}

.ult-home-hero__slide {
    position: relative;
    z-index: 1;
    grid-area: 1 / 1;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms ease, visibility 700ms ease;
}

.ult-home-hero__slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.ult-home-hero__slide::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(19, 40, 75, 0.02) 48%, rgba(19, 40, 75, 0.72) 100%);
}

.ult-home-hero__media {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    transform: scale(1.002);
}

.ult-home-hero__slide--image.is-active .ult-home-hero__media {
    animation: ult-hero-reveal 6.5s ease-out both;
}

.ult-home-hero__caption {
    position: absolute;
    z-index: 3;
    left: clamp(18px, 3vw, 42px);
    bottom: clamp(18px, 3vw, 36px);
    max-width: calc(100% - 220px);
    color: #fff;
    font: 600 clamp(0.82rem, 1.2vw, 1rem)/1.2 Roboto, sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(19, 40, 75, 0.58);
}

.ult-home-hero__controls {
    position: absolute;
    z-index: 5;
    right: clamp(14px, 2.5vw, 32px);
    bottom: clamp(14px, 2.5vw, 28px);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(19, 40, 75, 0.72);
    backdrop-filter: blur(8px);
}

.ult-home-hero__dots {
    display: flex;
    gap: 7px;
}

.ult-home-hero__dot,
.ult-home-hero__pause {
    appearance: none;
    border: 0;
    color: #fff;
    cursor: pointer;
}

.ult-home-hero__dot {
    position: relative;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
}

.ult-home-hero__dot::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
    content: '';
    transform: translate(-50%, -50%);
    transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.ult-home-hero__dot[aria-current="true"]::after {
    width: 24px;
    border-radius: 999px;
    background: #2db6de;
}

.ult-home-hero__pause {
    min-width: 48px;
    padding: 2px 0 2px 9px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    font: 500 0.75rem/1.2 Roboto, sans-serif;
}

.ult-home-hero__dot:focus-visible,
.ult-home-hero__pause:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@keyframes ult-hero-reveal {
    from { transform: scale(1.002); }
    to { transform: scale(1.06); }
}

/*
 * Keep the desktop opening decisive. The supplied 75vh section and the former
 * 6:7 media ratio combined to push proof and enquiry content too far below the
 * fold on wide screens. Compress only the desktop presentation so tablet and
 * phone layouts retain their dedicated crops and natural content height.
 */
@media (min-width: 1024px) {
    .bde-section-16-279 {
        min-height: clamp(660px, 68vh, 720px) !important;
    }

    .bde-column-16-281 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .bde-text-16-284 {
        margin-bottom: 28px !important;
    }

    .bde-div-16-288 {
        margin-top: 36px !important;
        padding-top: 20px !important;
    }

    .ult-home-hero {
        height: clamp(660px, 68vh, 720px);
        aspect-ratio: auto;
    }
}

@media (max-width: 767px) {
    .home .bde-text-16-284 {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        overflow-wrap: anywhere;
        white-space: normal !important;
    }

    .ult-home-hero {
        aspect-ratio: 3 / 4;
    }

    .ult-home-hero__caption {
        max-width: calc(100% - 150px);
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ult-home-hero__slide,
    .ult-home-hero__slide--image.is-active .ult-home-hero__media {
        transition: none;
        animation: none;
    }
}
