/* A shared perspective projects all prints and shadows onto one uneven floor. */
.falling-photos{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden;perspective-origin:50% 40%}
.photo-ground{position:absolute;left:50%;width:0;height:0;transform:rotateX(54deg);transform-style:preserve-3d}
.falling-photo{position:absolute;left:0;top:0;margin:0;transform-origin:center;transform-style:preserve-3d;will-change:transform}
.photo-front,.falling-photo::after{position:absolute;inset:0;box-sizing:border-box;border:.5px solid #fff7eccc;border-radius:1px;backface-visibility:hidden;background:#eee9e1}
.photo-front{transform:translateZ(.25px)}
.falling-photo::after{content:'';transform:rotateY(180deg) translateZ(.25px);background:linear-gradient(135deg,#e6dfd3,#f7f2e8 48%,#d8d1c6);box-shadow:inset 0 0 18px #a99b8220}
.falling-photo img{display:block;width:100%;height:100%;object-fit:contain;background:#191922}
.photo-ground-shadow{position:absolute;left:0;top:0;pointer-events:none;will-change:transform,opacity}
.photo-shadow-soft,.photo-shadow-sharp{position:absolute;inset:0;background:#000;border-radius:2px;will-change:opacity}
.photo-shadow-soft{filter:blur(20px)}
.photo-shadow-sharp{filter:blur(2px)}
.photo-front.missing::after{content:attr(data-message);position:absolute;inset:20% 5%;display:grid;place-items:center;color:#f2e8db;background:#191922;font-size:12px}
@media(max-width:600px){.chapter-links{gap:clamp(5px,2vw,12px)}.chapter-links button{letter-spacing:.5px}}
