.scroll-scene {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "copy photo";
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    min-height: 0;
    padding: clamp(30px, 5vw, 68px) max(28px, calc((100% - 1120px) / 2));
    overflow: visible;
    background: var(--deep);
}

.scroll-scene::after {
    content: none;
}

.scroll-scene .scroll-scene-image {
    grid-area: photo;
    position: static;
    z-index: auto;
    width: auto;
    max-width: min(100%, 560px);
    height: auto;
    object-fit: contain;
    justify-self: center;
    box-shadow: 0 8px 26px #0e201b55;
}

.scroll-reveal-enabled .scroll-scene[data-entry] .scroll-scene-image,
.scroll-reveal-enabled .scroll-scene[data-entry]:not(.is-revealed) .scroll-scene-image {
    transform: none;
    transition: none;
}

@media (prefers-reduced-motion: no-preference) {
    :root[data-photo-reveal] .scroll-scene[data-entry] .scroll-scene-image {
        opacity: 1;
        transform: none;
        transition: opacity .65s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
    }

    :root[data-photo-reveal] .scroll-scene[data-entry]:not([data-photo-visible]) .scroll-scene-image {
        opacity: 0;
        transform: var(--photo-entry);
        transition: none;
    }

    .scroll-scene[data-entry="left"] {
        --photo-entry: translateX(calc(-1 * clamp(14px, 2.4vw, 48px)));
    }

    .scroll-scene[data-entry="right"] {
        --photo-entry: translateX(clamp(14px, 2.4vw, 48px));
    }

    .scroll-scene[data-entry="bottom"] {
        --photo-entry: translateY(clamp(16px, 3vw, 36px));
    }
}

.scroll-scene .scroll-scene-copy {
    grid-area: copy;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow-wrap: anywhere;
}

.scroll-scene .scroll-scene-copy h2 {
    font-size: clamp(30px, 3.45vw, 49px);
}

.community-image img {
    width: auto;
    max-width: 100%;
    height: auto;
}

@media (max-width: 780px) {
    .scroll-scene {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "photo" "copy";
        gap: 26px;
        padding: 25px max(20px, calc((100% - 560px) / 2)) 32px;
    }
}
