.photo-sequence-shot {
  --shot-ratio: 0.75;
  --shot-height: min(84svh, 1100px);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(24px, 5svh, 68px) var(--album-margin);
  overflow: hidden;
}
.photo-sequence-wide { --shot-ratio: 1.3333; }
.photo-sequence-shot::before {
  position: absolute;
  z-index: -1;
  inset: -28px;
  background: var(--shot-image, none) center / cover no-repeat;
  mask-image: linear-gradient(180deg, transparent 4%, #000 24% 76%, transparent 96%);
  filter: blur(clamp(25px, 4vw, 55px)) brightness(0.58) saturate(0.8);
  opacity: 0.8;
  content: "";
}
.photo-sequence-shot :is(img, video) {
  display: block;
  width: min(100%, calc(var(--shot-height) * var(--shot-ratio)));
  height: auto;
  outline: 1px solid #e2c6d455;
  box-shadow: 0 18px 65px #120f1a85;
}

.blended-video-shot {
  --shot-ratio: 1.8276;
  --shot-height: 94svh;
  padding-inline: 0;
}
.blended-video-shot video {
  outline: 0;
  box-shadow: none;
  mask-image:
    linear-gradient(90deg, transparent, #000 11% 89%, transparent),
    linear-gradient(180deg, transparent, #000 12% 86%, transparent);
  mask-composite: intersect;
}

@media (prefers-reduced-motion: no-preference) {
  .has-scroll-reveals .photo-sequence-shot::before { transition: opacity 820ms var(--ease-out); }
  .has-scroll-reveals .photo-sequence-shot:not(.is-shown)::before,
  .has-scroll-reveals .photo-sequence-shot:not(.is-shown) :is(img, video) { opacity: 0; }
  .photo-sequence-shot.is-shown :is(img, video) { animation: scene-in 820ms var(--ease-out) backwards; }
}

@media (max-width: 760px) {
  .photo-sequence-shot { min-height: 88svh; }
}
