.home-hero {
    position: relative;
    isolation: isolate;
    background: #11100f;
}

.home-hero__inner {
    position: relative;
    min-height: min(48rem, calc(100svh - 5rem));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 4rem;
}

.home-hero__copy { max-width: 36rem; }
.home-hero__copy .text-outline { color: #c6bdb0; }

.home-hero__photos {
    position: absolute;
    inset: 0 0 0 auto;
    width: 55%;
    overflow: hidden;
    pointer-events: none;
}

.home-hero__photos::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #11100f 0%, rgba(17, 16, 15, .92) 20%, rgba(17, 16, 15, .30) 50%, transparent 76%),
        linear-gradient(0deg, rgba(17, 16, 15, .8), transparent 30%);
}

.home-hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 48%;
    opacity: 0;
    transition: opacity .8s ease;
}

.home-hero__photo.is-current { opacity: 1; }

.home-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    width: min(100%, 30rem);
}

.home-hero__actions a {
    display: grid;
    place-items: center;
    padding: .85rem .5rem;
    border: 1px solid rgba(223, 192, 146, .55);
    border-radius: .375rem;
    background: rgba(17, 16, 15, .65);
    color: #e6c591;
    text-align: center;
    transition: background-color .2s, color .2s;
}

.home-hero__actions a:hover { background: #e6c591; color: #11100f; }

.home-hero__controls {
    position: absolute;
    right: clamp(1.25rem, 5vw, 5rem);
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    color: #f0d3a4;
}

.home-hero__controls[hidden] { display: none; }

.home-hero__controls button {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 2.75rem;
    border-radius: 50%;
}

.home-hero__controls button:focus-visible,
.home-hero__actions a:focus-visible { outline: 2px solid #f0d3a4; outline-offset: 2px; }

.home-hero__dot::before {
    content: "";
    width: .4rem;
    height: .4rem;
    border: 1px solid currentColor;
    border-radius: 50%;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, .65);
}

.home-hero__dot[aria-current="true"]::before {
    background: currentColor;
    transform: scale(1.35);
}

@media (max-width: 1023px) {
    .home-hero__inner { min-height: auto; padding-block: 3rem; }
    .home-hero--with-photo .home-hero__inner { padding-top: clamp(13rem, 53vw, 27rem); }
    .home-hero__photos { inset: 0 0 auto; width: 100%; height: clamp(23rem, 76vw, 40rem); }
    .home-hero__photos::after {
        background: linear-gradient(0deg, #11100f 0%, rgba(17, 16, 15, .88) 22%, transparent 68%);
    }
    .home-hero__controls { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__photo, .home-hero__actions a { transition: none; }
}
