.rnd{width:100%;max-width:none;margin-left:0;margin-right:0;overflow:hidden;padding:64px 0 42px}
.rnd h2{text-align:center;font-size:clamp(42px,5.5vw,82px);letter-spacing:-.045em;margin:0 0 28px}
.rnd .gallery-wrap{padding:0 0 48px}
.rnd .archive-images{position:relative;gap:12px;padding:65px 0;align-items:center;scroll-snap-type:x proximity;touch-action:pan-x pan-y;cursor:grab;scrollbar-width:none;scroll-behavior:auto}
.rnd .archive-images .gallery-image{width:clamp(190px,20vw,320px);height:clamp(265px,28vw,390px);max-width:none;flex:0 0 auto;transform:perspective(700px) rotateY(var(--curve,0deg)) scaleY(var(--stretch,1));transform-origin:center;transition:filter .25s;overflow:hidden;background:var(--site-wash)}
.rnd .archive-images img{width:100%;height:100%;max-width:none;object-fit:cover;pointer-events:none;user-select:none}
.rnd .gallery-image:hover{filter:brightness(1.08)}
.rnd .gallery-image:focus-visible{outline:3px solid var(--site-accent);outline-offset:4px}
.rnd .gallery-next,.rnd-prev{position:absolute;top:auto;bottom:0;transform:none;width:44px;height:44px;border:1px solid var(--site-line);border-radius:50%;background:var(--site-panel);color:var(--site-ink);font:21px Arial;cursor:pointer}
.rnd .gallery-next{right:calc(50% - 52px)}.rnd-prev{left:calc(50% - 52px)}
.rnd button:disabled{opacity:.3;cursor:default}
.rnd-hint{text-align:center;font:12px/1.6 Arial;color:var(--site-muted);padding:0 20px;margin:18px 0 0}
@media(prefers-reduced-motion:reduce){.rnd .archive-images .gallery-image{transform:none;transition:none}}

/* Crop the growing outer panels against the two straight viewport edges. */
.rnd .archive-images .gallery-image:first-child{margin-left:-38px}
.rnd .archive-images .gallery-image:last-child{margin-right:-38px}
.rnd .archive-images[data-infinite=true] .gallery-image{margin-left:0;margin-right:0}
