/* Four original photographs, turned by ordinary page scrolling. */
.moments-stack{overflow:clip;padding-bottom:80px}
.moments-stack .moments-heading{align-items:end}
.moments-intro{font-size:13px;line-height:1.8;max-width:270px}
.moments-cards{display:grid;gap:45px;width:min(900px,calc(100% - var(--gutter)*2));margin:auto}
.moment-card{padding:12px 12px 18px;background:var(--paper);border:1px solid var(--line);border-radius:24px;box-shadow:0 15px 45px #00174314}
.moment-card .photo-open{border-radius:15px}
.moment-card figcaption{padding:0 7px;color:var(--ink)}
.moments-navigation{display:none}
.moments-stack.stack-enhanced{overflow:visible}
.stack-enhanced .moments-track{height:310vh;position:relative}
.stack-enhanced .moments-stage{position:sticky;top:115px;height:calc(100svh - 130px);max-height:850px;display:flex;flex-direction:column;justify-content:center;padding:20px var(--gutter) 8px}
.stack-enhanced .moments-cards{position:relative;width:min(920px,100%);height:calc(100% - 75px);max-height:650px;margin:0 auto}
.stack-enhanced .moment-card{position:absolute;inset:0;transform-origin:50% 90%;will-change:transform,opacity;display:flex;flex-direction:column}
.stack-enhanced .moment-card .photo-plane{flex:1;min-height:0}
.stack-enhanced .moment-card .photo-open{height:100%;background:var(--deep)}
.stack-enhanced .moment-card .photo-open>img{width:100%;height:100%;object-fit:contain}
.stack-enhanced .moment-card figcaption{min-height:28px;flex-shrink:0}
.stack-enhanced .moments-navigation{display:flex;align-items:center;justify-content:space-between;width:min(920px,100%);margin:28px auto 0}
.stack-enhanced .rail-controls{padding:0;margin:0;gap:12px}
.moments-counter{font-size:11px;letter-spacing:.15em;color:var(--paper);font-variant-numeric:tabular-nums}
.moments-navigation button:disabled{opacity:.3}
@media(max-width:760px){
 .moments-stack{padding-bottom:50px}.moments-intro{margin-top:20px;font-size:12px}
 .stack-enhanced .moments-track{height:250vh}
 .stack-enhanced .moments-stage{top:95px;height:calc(100svh - 115px);max-height:600px;padding:18px 26px 8px}
 .stack-enhanced .moments-cards{height:min(340px,50svh)}
 .moment-card{padding:7px 7px 12px;border-radius:18px}
 .moment-card .photo-open{border-radius:12px}
 .moment-card figcaption{font-size:9px;gap:8px;padding:0 3px}
 .moment-card .photo-credit{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.moments-intro{display:none}}
.reduce-motion .moments-intro{display:none}
