/* ── Carousel ── */
.slide {
    transition: opacity .8s ease-in-out;
}

/* The visible dots stay compact, while each button keeps a 44px tap target. */
.hero-dot {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 9999px;
}

.hero-dot::before {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .4);
    content: "";
    transition: width .3s ease, background-color .3s ease;
}

.hero-dot.dot-active::before {
    width: 28px;
    background: #fff;
}

/* System high-contrast modes suppress backgrounds: keep the existing dot
   shapes visible without opting out of the user's chosen colors. */
@media (forced-colors: active) {
    .hero-dot::before {
        border: 1px solid currentColor;
    }
}

/* ── Scroll-reveal ── */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}
