/* Interlux Fullscreen Bubble Slider */
.ilx-slider {
    --ilx-duration: 7200ms;
    position: relative;
    width: 100vw;
    height: 100svh;
    min-height: 560px;
    max-height: 100vh;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    isolation: isolate;
    background: #111;
    color: #fff;
    font-family: inherit;
}
.ilx-slides, .ilx-slide {
    position: absolute;
    inset: 0;
}
.ilx-slide {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    transition: opacity 650ms ease, visibility 0s linear 650ms;
}
.ilx-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    transition: opacity 650ms ease;
}
.ilx-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.04);
}
.ilx-slide.is-active .ilx-slide-image {
    animation: ilxKenBurns var(--ilx-duration) linear both;
}
@keyframes ilxKenBurns {
    from { transform: scale(1.04); }
    to { transform: scale(1.10); }
}
.ilx-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.42) 42%, rgba(0,0,0,.12) 75%, rgba(0,0,0,.18) 100%),
        linear-gradient(0deg, rgba(0,0,0,.38), transparent 50%);
}
.ilx-caption {
    position: absolute;
    z-index: 4;
    left: clamp(24px, 8vw, 120px);
    top: 50%;
    width: min(700px, 78vw);
    transform: translateY(-44%);
    opacity: 0;
}
.ilx-slide.is-active .ilx-caption {
    animation: ilxCaptionIn 850ms 220ms cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes ilxCaptionIn {
    from { opacity: 0; transform: translateY(-36%) translateX(-20px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.ilx-kicker {
    display: inline-block;
    margin-bottom: 17px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    opacity: .92;
}
.ilx-caption h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(42px, 5.7vw, 86px);
    line-height: .98;
    letter-spacing: -.035em;
    font-weight: 750;
    text-wrap: balance;
}
.ilx-caption p {
    max-width: 620px;
    margin: 0;
    color: rgba(255,255,255,.93);
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.6;
}
.ilx-arrow {
    position: absolute;
    top: 50%;
    z-index: 12;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(0,0,0,.18);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    transition: background .2s, transform .2s;
}
.ilx-arrow:hover { background: rgba(255,255,255,.2); transform: translateY(-50%) scale(1.06); }
.ilx-prev { left: 24px; }
.ilx-next { right: 24px; }

.ilx-dots {
    position: absolute;
    z-index: 12;
    left: 50%;
    bottom: 36px;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}
.ilx-dot {
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.38);
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}
.ilx-dot.is-active { width: 58px; background: #fff; }
.ilx-progress {
    position: absolute;
    z-index: 12;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255,255,255,.12);
}
.ilx-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,.88);
}
.ilx-progress.is-running span { animation: ilxProgress var(--ilx-duration) linear forwards; }
@keyframes ilxProgress { from { width: 0; } to { width: 100%; } }

/* Subtle blurred fade / soft wash transition */
.ilx-bubble-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    background: rgba(255,255,255,.02);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}
.ilx-bubble-layer.is-transitioning {
    visibility: visible;
    animation: ilxSoftWash 900ms cubic-bezier(.22,.61,.36,1) both;
}
.ilx-bubble-layer::before {
    content: "";
    position: absolute;
    inset: -8%;
    background: rgba(255,255,255,.07);
    filter: blur(26px);
    transform: scale(1.03);
}
.ilx-bubble-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.055);
    opacity: 0;
    filter: blur(10px);
}
@keyframes ilxSoftWash {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    28% {
        opacity: .55;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    52% {
        opacity: .34;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
}
@media (max-width: 767px) {
    .ilx-slider {
        min-height: 560px;
        height: 100svh;
        max-height: none;
    }
    .ilx-slide-image {
        object-position: center center;
    }
    .ilx-overlay {
        background:
            linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.28) 38%, rgba(0,0,0,.72) 100%),
            linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,.18));
    }
    .ilx-caption {
        left: 22px;
        right: 22px;
        bottom: 100px;
        top: auto;
        width: auto;
        transform: none;
    }
    .ilx-slide.is-active .ilx-caption {
        animation: ilxMobileCaptionIn 800ms 180ms cubic-bezier(.2,.8,.2,1) forwards;
    }
    @keyframes ilxMobileCaptionIn {
        from { opacity: 0; transform: translateY(24px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .ilx-caption h2 {
        font-size: clamp(37px, 11vw, 58px);
        line-height: 1.02;
        margin-bottom: 14px;
    }
    .ilx-caption p {
        font-size: 15px;
        line-height: 1.5;
    }
    .ilx-kicker { font-size: 10px; margin-bottom: 12px; }
    .ilx-arrow { width: 42px; height: 42px; font-size: 18px; }
    .ilx-prev { left: 14px; top: auto; bottom: 29px; transform: none; }
    .ilx-next { right: 14px; top: auto; bottom: 29px; transform: none; }
    .ilx-arrow:hover { transform: scale(1.04); }
    .ilx-dots { bottom: 48px; }
    .ilx-dot { width: 22px; height: 3px; }
    .ilx-dot.is-active { width: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .ilx-slide, .ilx-caption, .ilx-slide-image, .ilx-bubble { animation: none !important; transition: none !important; }
}
