/* Printed photographs share their frame and paper with the homepage collage. */
.entry.photo-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(0, 1fr);
    grid-template-areas: "left story right";
    align-items: center;
    gap: clamp(18px, 3.3vw, 48px);
    padding: clamp(30px, 4vw, 58px) clamp(8px, 1vw, 16px);
}
.photo-story > .photo-story-copy { grid-area: story; width: 100%; max-width: 50ch; justify-self: center; }
.photo-story-copy h2 { max-width: none; margin-bottom: .55em; }
.photo-story-copy p + p { margin-top: .85em; }
.photo-story > .print-set {
    display: flex; min-width: 0; flex-direction: column; align-items: center;
    gap: clamp(18px, 2vw, 28px); max-width: 100%; width: 100%;
}
.photo-story > .prints-left { grid-area: left; }
.photo-story > .prints-right { grid-area: right; }
.media-print {
    --tilt: -3.5deg;
    width: min(88%, 230px);
    margin: 0;
}
.prints-right .media-print { --tilt: 3deg; }
.prints-left .media-print:nth-child(even) { --tilt: 2.3deg; width: min(80%, 205px); align-self: end; }
.prints-right .media-print:nth-child(even) { --tilt: -2.7deg; width: min(81%, 215px); align-self: start; }
.media-print img, .media-print video {
    display: block; width: 100%; height: auto;
    aspect-ratio: auto; border-radius: 0;
}
.media-print video { background: #161916; }
.media-print figcaption {
    margin: 6px 2px 0; color: #393d37; font: .75rem/1.45 var(--mono);
}
.media-print.moving-print { --tilt: -1.2deg; width: min(98%, 275px); }
.media-print.tall-print { width: min(70%, 155px); }
.entry.single-print {
    grid-template-columns: minmax(0, 1.4fr) minmax(135px, 1fr);
    grid-template-areas: "story right";
}
.single-print > .photo-story-copy { justify-self: start; }
.single-print .media-print { width: min(78%, 230px); }
.about-portrait {
    padding: 6px; background: #fffef9; border: 1px solid rgba(35,44,32,.12);
    box-shadow: 0 3px 8px rgba(33,38,27,.13); transform: rotate(2deg);
}
.about-portrait img { border-radius: 0; }
.outdoors { margin-top: clamp(36px, 5vw, 70px); }

#workbench {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "story" "photos";
}
#workbench .photo-story-copy { max-width: 58ch; }
#workbench .workbench-prints {
    --print-gap: clamp(20px, 3.5vw, 48px);
    grid-area: photos;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--print-gap);
    max-width: none;
}
#workbench .media-print {
    width: min(205px, calc((100% - var(--print-gap)) / 2));
}
.workbench-prints .media-print:nth-child(even) { --tilt: 2.5deg; }

@media (max-width: 760px) {
    .entry.photo-story,
    .entry.photo-story.single-print {
        grid-template-columns: repeat(2, minmax(0,1fr));
        grid-template-areas: "story story";
        align-items: start; padding: 27px 5px 32px; gap: 18px 13px;
    }
    .photo-story > .photo-story-copy { justify-self: start; max-width: 56ch; }
    .photo-story > .print-set { display: contents; }
    .photo-story .media-print { grid-column: auto; justify-self: center; align-self: center; width: min(91%, 230px); }
    #cold-plunges .media-print:nth-child(2) { order: 1; }
    .photo-story .tall-print { width: min(82%, 165px); }
    .photo-story.single-print .media-print { grid-column: 1 / -1; justify-self: start; width: min(80%, 245px); margin-left: 6px; }
}
@media (max-width: 520px) {
    .photo-story .moving-print { grid-column: 1 / -1; width: min(94%, 305px); }
    .photo-story .moving-print.tall-print { width: min(65%, 178px); }
}
@media print {
    .entry.photo-story { break-inside: auto; }
    .media-print, .about-portrait { transform: none; box-shadow: none; break-inside: avoid; }
}
