.home-showcase .hero-copy {
    min-width: 0;
}

.home-showcase .showcase-message h1 {
    font-size: clamp(2rem, 4.4vw, 3.65rem);
    overflow-wrap: break-word;
}

.home-showcase .showcase-message {
    min-height: 14rem;
}

@media (max-width: 680px) {
    .home-showcase .showcase-message {
        min-height: 11rem;
    }

}

.showcase-pictures {
    position: absolute;
    inset: 0;
}

.showcase-toolbar {
    position: absolute;
    inset: auto 10px 9px;
    justify-content: space-between;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-showcase .showcase-toolbar .badge {
    position: static;
    margin-inline-start: auto;
}

.showcase-arrows:not([hidden]) {
    display: flex;
    order: -1;
    pointer-events: auto;
    gap: 3px;
}

.showcase-arrows button {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #e5d8d1;
    border-radius: 50%;
    color: #721c1d;
    background: #fff;
    cursor: pointer;
    font: 700 21px/1 system-ui, sans-serif;
}

.showcase-arrows button:hover,
.showcase-arrows button:focus-visible {
    background: #f8eded;
}

@media (max-width: 680px) {
    .home-showcase .hero-media {
        aspect-ratio: 1.38;
    }

    .home-showcase .showcase-pictures {
        bottom: 48px;
    }

    .home-showcase .showcase-pictures img {
        object-fit: contain;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .showcase-pictures {
        overflow: hidden;
    }

    .showcase-pictures img {
        --showcase-zoom: 1.24;
        --showcase-drift: 3%;
        transform-origin: 42% 50%;
        animation: showcase-sweep 5.3s ease-in-out infinite;
    }

    .showcase-pictures[data-direction="reverse"] img {
        --showcase-drift: -3%;
        animation-name: showcase-sweep-reverse;
    }

    @keyframes showcase-sweep {
        0%, 100% { transform: none; }
        34% { transform: translateX(var(--showcase-drift)) scale(var(--showcase-zoom)); }
        62% { transform: translateX(calc(-1 * var(--showcase-drift))) scale(1.12); }
    }

    @keyframes showcase-sweep-reverse {
        0%, 100% { transform: none; }
        34% { transform: translateX(var(--showcase-drift)) scale(var(--showcase-zoom)); }
        62% { transform: translateX(calc(-1 * var(--showcase-drift))) scale(1.12); }
    }
}

@media (max-width: 680px) {
    .showcase-pictures img {
        --showcase-zoom: 1.12;
        --showcase-drift: 1.5%;
    }

    .showcase-pictures[data-direction="reverse"] img {
        --showcase-drift: -1.5%;
    }
}
