.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    background: #f1f3ff;
}
.home-hero__copy { padding: 32px 24px; }
.home-hero__copy h1 {
    margin: 0 0 24px;
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    text-align: center;
}
.home-hero__copy p {
    max-width: 576px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.5;
}
.home-hero__slider { position: relative; min-width: 0; overflow: hidden; }
.home-hero__track { display: grid; }
.home-hero__slide {
    position: relative;
    grid-area: 1 / 1;
    min-width: 0;
    margin: 0;
    opacity: 1;
    /* Keep this gentle opacity-only fade even when system motion is reduced. */
    transition: opacity 1200ms ease-in-out;
}
.home-hero__slide[aria-hidden="true"] { opacity: 0; pointer-events: none; }
.home-hero__slide img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: left top; }
.home-hero__slide figcaption {
    position: absolute;
    left: 12px;
    bottom: 8px;
    max-width: calc(100% - 24px);
    padding: 12px;
    color: white;
    background: rgb(30 27 75 / 50%);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
}
@media (min-width: 768px) {
    .home-hero { padding: 0 32px; }
    .home-hero__copy h1 { font-size: 60px; }
}
@media (min-width: 1024px) {
    .home-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .home-hero__slide img { height: auto; aspect-ratio: 16 / 9; }
    .home-hero__slide figcaption { font-size: 23px; }
}
