/* The static list is the fallback. The stage stays pinned during the card transitions. */
.scroll-stack{--stack-green:#c7ff33;--stack-stage-height:100svh;--stack-step:130svh;position:relative;isolation:isolate;width:100vw;margin-left:calc(50% - 50vw);background:var(--paper,#f1efe8);color:var(--ink,#111);overflow-anchor:none}
.scroll-stack-stage{position:relative;display:grid;place-items:center;padding:64px 0;min-height:var(--stack-stage-height)}
.scroll-stack-deck{width:min(1000px,78vw);display:grid;gap:30px}
.scroll-card{position:relative;display:block;width:100%;aspect-ratio:2.05;text-decoration:none;color:var(--paper);transform-origin:50% 50%;-webkit-tap-highlight-color:transparent}
.scroll-card:hover{text-decoration:none}
.scroll-card-art{width:100%;height:100%;display:grid;grid-template-columns:minmax(0,23fr) minmax(0,77fr);background:#000;box-shadow:0 10px 35px #0005}
.scroll-card-label{display:flex;flex-direction:column;justify-content:space-between;padding:clamp(12px,2vw,28px);min-width:0;border-right:3px solid var(--stack-green)}
.scroll-card-label .eyebrow{font-size:clamp(8px,.85vw,12px);letter-spacing:1px}
.scroll-card-label strong{font:700 clamp(16px,2vw,28px)/1.06 var(--display);letter-spacing:-.035em;overflow-wrap:normal}
.scroll-card-media{min-width:0;min-height:0;overflow:hidden;position:relative}
.scroll-card-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.scroll-card[data-slug="tshirt-prints"] .scroll-card-media img{object-position:right center}
.scroll-card[data-slug="medical-postcard"] .scroll-card-media img{transform:scale(1.1);transform-origin:center bottom}
.scroll-card[data-slug="medical-postcard"] .scroll-card-label strong{overflow-wrap:normal}
.scroll-card-topography{position:absolute;inset:0;opacity:0;pointer-events:none;overflow:hidden;color:var(--stack-green)}
.scroll-card-topography svg{display:block;width:100%;height:100%;overflow:visible}
.scroll-card-topography path,.scroll-card-topography rect{fill:none;stroke:currentColor;stroke-width:1.8;vector-effect:non-scaling-stroke}
.scroll-stack.is-ready{height:calc(var(--stack-stage-height) + var(--stack-step) * var(--stack-transitions))}
.scroll-stack.is-ready .scroll-stack-stage{position:sticky;top:0;height:var(--stack-stage-height);min-height:0;padding:0;overflow:hidden;overflow:clip}
.scroll-stack.is-ready .scroll-stack-deck{position:relative;height:min(54svh,488px);aspect-ratio:2.05;width:auto;max-width:78vw}
.scroll-stack.is-ready .scroll-card{position:absolute;inset:0;height:100%;aspect-ratio:auto;will-change:transform,opacity}
.scroll-stack.is-ready .scroll-card-art{will-change:opacity}
.scroll-stack-link{position:absolute;inset:0;z-index:10;-webkit-tap-highlight-color:transparent}
.scroll-stack-hint{display:none}
.scroll-stack.is-ready .scroll-stack-hint{display:block;position:absolute;bottom:28px;left:50%;transform:translateX(-50%);color:var(--stack-green);font:25px/1 var(--mono);pointer-events:none}
/* The ART crop always shows the upper 560 source pixels, including on phones. */
.scroll-card-media.is-art-crop img{position:absolute;top:0;left:50%;width:auto;max-width:none;height:calc(100% * 1524 / 560);transform:translateX(-50%)}
@media(max-width:650px){
 .scroll-stack-deck{width:88vw}
 .scroll-stack.is-ready .scroll-stack-deck{width:88vw;max-width:none;height:auto;aspect-ratio:1.35}
 .scroll-card{aspect-ratio:1.35}
 .scroll-card-art{grid-template-columns:minmax(0,27fr) minmax(0,73fr)}
 .scroll-card-label{padding:12px 8px;border-right-width:2px}
 .scroll-card-label .eyebrow{font-size:7px;letter-spacing:.35px}
 .scroll-card-label strong{font-size:clamp(11px,3.5vw,18px);line-height:1.12;overflow-wrap:anywhere}
 .scroll-card-topography path,.scroll-card-topography rect{stroke-width:1.2}
 .scroll-stack.is-ready .scroll-stack-hint{bottom:30px;font-size:21px}
}
@media(prefers-reduced-motion:reduce){
 .scroll-stack.is-ready{height:auto}
 .scroll-stack.is-ready .scroll-stack-stage{position:relative;height:auto;min-height:0;padding:48px 0;overflow:visible}
 .scroll-stack.is-ready .scroll-stack-deck{height:auto;aspect-ratio:auto;width:min(1000px,88vw);display:grid;gap:28px}
 .scroll-stack.is-ready .scroll-card{position:relative;inset:auto;height:auto;aspect-ratio:2.05;transform:none!important;opacity:1!important;visibility:visible!important;will-change:auto}
 .scroll-card-art{opacity:1!important}
 .scroll-card-topography,.scroll-stack.is-ready .scroll-stack-hint{display:none}
}
