/* A photographic opening: the picture moves, the surrounding story follows. */
#lightbox .photo-flight{position:fixed;z-index:4;display:block;max-width:none;max-height:none;min-height:0;margin:0;object-fit:contain;pointer-events:none;transform-origin:0 0;will-change:transform;box-shadow:0 24px 90px #0005}
#lightbox.motion-enter::backdrop{animation:photo-backdrop-in .55s both}
#lightbox.motion-leave::backdrop{animation:photo-backdrop-out .38s both}
@keyframes photo-backdrop-in{from{background:transparent;backdrop-filter:blur(0)}to{background:#080307e8;backdrop-filter:blur(10px)}}
@keyframes photo-backdrop-out{from{background:#080307e8;backdrop-filter:blur(10px)}to{background:transparent;backdrop-filter:blur(0)}}
.archive-aperture{position:relative;isolation:isolate}
.archive-aperture.is-exposing{overflow:hidden}
.archive-aperture.is-exposing #media-grid{pointer-events:none}
.archive-shutter{position:absolute;inset:0;z-index:3;overflow:hidden;pointer-events:none;border-radius:3px}
.shutter-blade{position:absolute;left:0;width:100%;height:calc(50% + 1px);background:repeating-linear-gradient(0deg,#fff0 0 18px,#fff2 19px,#fff0 20px),linear-gradient(125deg,#28141e,#0d0a10 70%);will-change:transform}
.shutter-blade:first-child{top:0;transform:translateY(-101%);border-bottom:1px solid #e9b99a88;box-shadow:0 8px 30px #0008}
.shutter-blade:nth-child(2){bottom:0;transform:translateY(101%);border-top:1px solid #e9b99a66;box-shadow:0 -8px 30px #0008}
.shutter-mark{position:absolute;inset:0;display:grid;place-items:center;opacity:0}
.shutter-mark img{width:52px;height:52px;filter:drop-shadow(0 2px 8px #0008)}
#sheet-number{display:inline-block;position:relative;vertical-align:bottom;min-width:2ch;font-variant-numeric:tabular-nums;overflow:hidden;line-height:1.6}
.counter-previous{position:absolute;inset:0;pointer-events:none}
@media(max-width:700px){.shutter-mark img{width:40px;height:40px}}
@media(prefers-reduced-motion:reduce){#lightbox.motion-enter::backdrop,#lightbox.motion-leave::backdrop{animation:none}.archive-shutter{display:none}}
