/* Full-height photography with a solid black reading area through the midpoint. */
.homeHero.homePhotoHero {
    min-height: max(760px, 100svh);
    align-items: center;
    padding-top: clamp(116px, 13vh, 156px);
    padding-bottom: clamp(56px, 7vh, 96px);
    background: #000000;
}

.homePhotoHero::before,
.homePhotoHero::after {
    display: none;
}

.homePhotoHero .heroPhotography {
    position: absolute;
    inset: 0 0 0 45%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    /* 9.1% of this 55%-wide layer lands at the center of the hero. */
    -webkit-mask-image: linear-gradient(90deg, transparent 9.1%, rgba(0, 0, 0, 0.2) 18%, rgba(0, 0, 0, 0.65) 34%, #000 58%);
    mask-image: linear-gradient(90deg, transparent 9.1%, rgba(0, 0, 0, 0.2) 18%, rgba(0, 0, 0, 0.65) 34%, #000 58%);
}

.homePhotoHero .heroSectorComposite {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
}

.homePhotoHero .heroPhotography img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.homePhotoHero .heroSectorStack {
    display: none;
}

/* Preserve all three rows of the montage while filling the hero vertically. */
.homePhotoHero .heroSectorComposite img {
    flex: none;
    width: auto;
    max-width: none;
    height: 100%;
    /* Blend the portrait's own edge when a wide hero leaves space beside it. */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
    mask-image: linear-gradient(90deg, transparent, #000 35%);
}

.homePhotoHero .heroContentShell {
    display: block;
}

.homePhotoHero .heroCopy {
    width: calc(50% - clamp(24px, 2.5vw, 44px));
    max-width: 680px;
}

@media (max-width: 1180px) {
    .homeHero.homePhotoHero {
        min-height: 100svh;
        padding-top: 120px;
        padding-bottom: 64px;
    }

    .homePhotoHero .heroCopy {
        width: min(100%, 620px);
    }

    /* Keep the same full-height image and center fade behind the wider mobile copy. */
    .homePhotoHero .heroPhotography {
        opacity: 0.35;
    }

    .homePhotoHero .heroSectorComposite {
        display: none;
    }

    /* Six softly overlapping scenes keep every sector visible on narrow screens. */
    .homePhotoHero .heroSectorStack {
        display: grid;
        grid-template-rows: repeat(6, minmax(0, 1fr));
        width: 100%;
        height: 100%;
    }

    .homePhotoHero .heroSectorStack img {
        min-height: 0;
        height: 120%;
        transform: translateY(-8.333333%);
        -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
        mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
    }

    .homePhotoHero .heroSectorStack img:first-child {
        transform: none;
        -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
        mask-image: linear-gradient(180deg, #000 82%, transparent);
    }

    .homePhotoHero .heroSectorStack img:last-child {
        -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%);
        mask-image: linear-gradient(180deg, transparent, #000 18%);
    }

    .homePhotoHero .heroCopy h1 {
        font-size: clamp(42px, 7.4vw, 72px);
    }
}
