:root{--pink:#fa3d93;--gallery-scale:1;--step:100svh;color-scheme:light}
*{box-sizing:border-box}
html{margin:0;scroll-snap-type:y mandatory;overscroll-behavior:none;background:#fff}
body{margin:0;background:#fff;color:#f01967;font-family:Freesentation,sans-serif;-webkit-font-smoothing:antialiased}
.scroll-step{height:var(--step);scroll-snap-align:start;scroll-snap-stop:always;pointer-events:none}
.gallery{position:fixed;inset:0;overflow:hidden}
.record-card{--focus:0;--caption-opacity:0;position:absolute;left:50%;top:50%;margin:0;width:calc((206px + 124px * var(--focus)) * var(--gallery-scale));aspect-ratio:3/4;transform:translate3d(-50%,-50%,0);visibility:hidden}
.record-card:first-child{--focus:1;--caption-opacity:1;visibility:visible}
.record-photo{position:relative;display:block;width:100%;height:100%;border:0;padding:0;background:#eee;border-radius:0;overflow:hidden}
.record-photo img{display:block;width:100%;height:100%;object-fit:cover}
.record-photo::after{content:"";position:absolute;inset:0;background:#000;opacity:calc(.38 * (1 - var(--focus)));pointer-events:none}
.record-photo:focus-visible{outline:2px solid #fa3d93;outline-offset:5px}
.record-caption{position:absolute;left:0;top:calc(100% + 20px * var(--gallery-scale));width:calc(330px * var(--gallery-scale));max-height:calc(50svh - 240px * var(--gallery-scale) - 24px);overflow-y:auto;overscroll-behavior:contain;opacity:var(--caption-opacity);pointer-events:none;scrollbar-width:thin}
.record-caption h2{font-size:calc(30px * var(--gallery-scale));font-weight:600;line-height:1.2;letter-spacing:-.02em;margin:0}
.record-caption p{font-size:calc(18px * var(--gallery-scale));font-weight:400;line-height:1.3;letter-spacing:-.02em;margin:0;word-break:keep-all;overflow-wrap:anywhere;white-space:pre-line}
.record-card.is-active .record-caption{pointer-events:auto}
.record-caption:focus-visible{outline:1px solid #fa3d93;outline-offset:5px}
.close-detail{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:900px){
  .record-caption{max-height:calc(50svh - 240px * var(--gallery-scale) - 20px)}
  .record-caption h2{font-size:max(24px,30px * var(--gallery-scale))}
  .record-caption p{font-size:max(16px,18px * var(--gallery-scale));line-height:1.45}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
