/* Original photographs at their own proportions, arranged like a living scrapbook. */
.photo-wall { min-width: 0; }
.photo-wall .album-filters { gap: 9px; }
.photo-wall .album-filters button { font-size: .875rem; min-height: 46px; }
.photo-wall .album-filters button > span { font-size: .75rem; }
.photo-wall .album-status { font-size: .875rem; margin-bottom: 10px; }
.photo-wall .photo-wall-grid { display: block; columns: 2; column-gap: clamp(24px, 4vw, 62px); padding: 28px 8px 10px; }
.photo-wall .album-photo { --photo-turn: -2.3deg; --photo-x: 0px; --photo-y: 0px; --photo-time: 7s; --photo-delay: -2s; display: inline-block; width: 100%; break-inside: avoid; margin: 8px 0 38px; padding: 0; border: 0; background: transparent; box-shadow: none; transform: translate3d(var(--photo-x),var(--photo-y),0) rotate(var(--photo-turn)); transition: opacity .7s, transform .8s cubic-bezier(.16,1,.3,1); }
.photo-wall .album-photo:nth-child(4n + 2) { --photo-turn: 2.5deg; --photo-time: 8.2s; --photo-delay: -4s; width: 94%; margin-left: 3%; }
.photo-wall .album-photo:nth-child(4n + 3) { --photo-turn: -1deg; --photo-time: 7.6s; --photo-delay: -1s; }
.photo-wall .album-photo:nth-child(4n) { --photo-turn: 1.5deg; --photo-time: 9s; --photo-delay: -5s; width: 96%; margin-left: 2%; }
.photo-wall .album-photo .media-tile { overflow: visible; border: 0; background: transparent; border-radius: 5px; box-shadow: 0 9px 20px #11111116; transform: translateY(0); }
.photo-wall .album-photo img, .photo-wall .album-photo[data-photo-category="purpose"] img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 5px; background: transparent; transform: none; }
.photo-wall .album-photo .expand-mark { top: auto; bottom: 12px; right: 12px; width: 32px; height: 32px; opacity: 1; }
.photo-wall .album-photo figcaption, .story-page .photo-wall .album-photo figcaption { margin: 0; padding: 16px 2px 0; font-size: .875rem; line-height: 1.55; color: var(--ink); }
.photo-wall .album-photo figcaption > span { padding-top: 2px; font-size: .75rem; }
.photo-wall .album-photo:focus-within { position: relative; z-index: 2; transform: translateY(-6px) rotate(0deg); }
.photo-wall .album-photo .media-tile:focus-visible { outline: 3px solid #6243c3; outline-offset: 7px; }
.photo-wall .album-photo .media-tile:active { scale: .975; }
.album-motion .photo-wall .album-photo:not(.photo-entered) { opacity: 0; transform: translateY(35px) rotate(calc(var(--photo-turn) - 5deg)); }
.album-motion .photo-wall .album-photo .media-tile { animation: album-drift var(--photo-time) ease-in-out var(--photo-delay) infinite; animation-play-state: paused; }
.album-motion .photo-wall .album-photo.photo-visible .media-tile { animation-play-state: running; }
.album-tab-hidden .photo-wall .media-tile, .viewer-open .photo-wall .media-tile, .menu-open .photo-wall .media-tile { animation-play-state: paused !important; }
.photo-wall .album-more { margin-top: 12px; }
@keyframes album-drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (hover: hover) and (pointer: fine) {
  .photo-wall .album-photo:hover { z-index: 2; transform: translate3d(var(--photo-x),calc(var(--photo-y) - 7px),0) rotate(0deg); }
  .photo-wall .album-photo:hover .media-tile { animation-play-state: paused; }
}
@media (min-width: 900px) {
  .photo-wall .photo-wall-grid { columns: 3; padding-inline: 12px; padding-top: 40px; }
  .photo-wall .album-photo { margin-bottom: 55px; }
  .photo-wall .album-photo figcaption, .story-page .photo-wall .album-photo figcaption { font-size: 1rem; }
}
@media (min-width: 1500px) { .photo-wall .photo-wall-grid { columns: 4; } }
@media (max-width: 450px) {
  .photo-wall .photo-wall-grid { column-gap: 24px; padding-inline: 4px; }
  .photo-wall .album-photo { margin-bottom: 28px; }
  .photo-wall .album-photo figcaption > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-wall *, .photo-wall *::before, .photo-wall *::after { animation: none !important; transition-duration: .001ms !important; }
  .album-motion .photo-wall .album-photo:not(.photo-entered) { opacity: 1; transform: rotate(var(--photo-turn)); }
}
