/* Scoped to the homepage slider; existing text/buttons remain static. */
#home .hero-slider {
    position: absolute;
    right: -32px;
    top: 0;
    bottom: 0;
    width: 58%;
    isolation: isolate;
}
#home .hero-slider-images { width: 100%; height: 100%; overflow: hidden; }
#home .hero-slide { width: 100%; height: 100%; }
#home .hero-slide:not(:first-child) { display: none; }
#home .hero-slider.is-enhanced .hero-slide {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms ease, visibility 700ms;
}
#home .hero-slider.is-enhanced .hero-slide.is-active { opacity: 1; visibility: visible; }
#home .hero-slider .hero-art {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mask-image: linear-gradient(to right, transparent, black 12%);
}
#home .hero-slider-controls[hidden] { display: none; }
#home .hero-slider-controls {
    position: absolute;
    z-index: 3;
    right: 32px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 7px;
    background: rgba(2, 15, 27, .9);
    border: 1px solid #486a87;
    border-radius: 24px;
    color: white;
}
#home .hero-slider-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 4px;
    border: 0;
    border-radius: 20px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 24px;
    cursor: pointer;
}
#home .hero-slider-controls button:hover { background: #17456a; }
#home .hero-slider-controls button:focus-visible { outline: 3px solid #6bc5ff; outline-offset: 2px; }
#home .hero-slider-dots { display: flex; gap: 0; }
#home .hero-slider-dots button { min-width: 28px; }
#home .hero-slider-dots span {
    width: 8px; height: 8px; border-radius: 50%;
    border: 1px solid #d7eaff; background: transparent;
}
#home .hero-slider-dots button[aria-pressed="true"] span { background: #5cbbff; border-color: #5cbbff; }
#home .hero-slider-controls .hero-slider-play { font-size: 12px; min-width: 48px; padding: 4px 8px; }
#home .hero-slider-controls button[hidden] { display: none; }
@media (max-width: 1000px) and (min-width: 701px) {
    #home .hero-slider { width: 52%; }
    #home .hero-slider .hero-art { object-position: 65% center; }
}
@media (max-width: 700px) {
    #home .hero-slider {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 3 / 2;
        margin-top: 12px;
    }
    #home .hero-slider .hero-art { object-fit: contain; mask-image: none; }
    #home .hero-slider-controls { right: 50%; transform: translateX(50%); bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    #home .hero-slider.is-enhanced .hero-slide { transition: none; }
}
