/* STEP: rigid printed sheets in an open, asymmetric exhibition. */
.step-intro #step-title { margin:clamp(12px,2svh,24px) auto clamp(16px,3svh,30px); width:clamp(220px,66vw,1000px); max-width:100%; line-height:1; }
[data-step-logo] { display:block; width:50%; height:auto; max-height:clamp(45px,10svh,110px); margin-inline:auto; object-fit:contain; }
[data-step-logo][hidden] { display:none; }
#step > .imeri-baseline { display:none; }
.step-intro--overlay { position:absolute; left:50%; top:50%; width:76vw; text-align:center; transform:translate(-50%,-50%) scale(.8474576); z-index:2; pointer-events:none; }
#step { pointer-events:none; }
.step-intro { will-change:opacity; }
.step-intro--belt { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:clamp(260px,28vw,400px); z-index:2; text-align:center; pointer-events:none; }
.step-intro--belt::before { content:""; position:absolute; inset:-10% -8%; z-index:-1; background:radial-gradient(ellipse,#080b0b80 12%,#080b0b35 38%,transparent 65%); pointer-events:none; }
.step-intro--belt #step-title { width:100%; margin:0 auto 16px; }
.step-intro--belt [data-step-logo] { width:62%; max-height:75px; }
.step-intro--belt .step-challenge { margin:0; gap:16px; }
.step-intro--belt .step-challenge strong { font-size:clamp(100px,11vw,160px); }
.step-intro--belt .step-challenge [data-step-copy] { font-size:clamp(15px,1.5vw,22px); max-width:140px; }
.step-challenge { display:flex; align-items:center; justify-content:center; gap:24px; }
.step-challenge strong { color:var(--accent); font-size:clamp(130px,22vw,320px); line-height:.95; font-weight:600; letter-spacing:-.075em; }
.step-challenge [data-step-copy] { max-width:190px; font-size:clamp(18px,2.5vw,34px); text-align:left; }
.step-space { position:absolute; inset:0; z-index:8; pointer-events:none; }
.step-space[hidden] { display:none; }
.step-field { position:absolute; inset:0; perspective:1100px; pointer-events:auto; touch-action:pan-y; cursor:grab; z-index:1; }
.step-field[inert] { pointer-events:none; }
.step-field.is-dragging,.step-field.is-dragging .step-sheet { cursor:grabbing; }
.step-sheet[hidden] { display:none; }
.step-sheet { position:absolute; left:50%; top:50%; width:clamp(130px,18vw,280px); padding:0; border:0; background:none; color:var(--ink); cursor:grab; pointer-events:auto; touch-action:pan-y; transform-style:preserve-3d; will-change:transform; }
.step-paper { display:block; position:relative; transform:rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)); filter:blur(var(--dof)); }
.step-paper img { display:block; width:100%; height:auto; max-height:53svh; object-fit:contain; box-shadow:3px 12px 24px #0005; pointer-events:none; user-select:none; }
.step-sheet.is-focused .step-paper { filter:none; animation-play-state:paused; }
.step-paper img { transform:scale(var(--hover-scale,1)); }
.step-space.is-entering .step-paper { animation-play-state:paused; }
.step-field.has-focus .step-sheet:not(.is-focused) .step-paper { opacity:.88; }
.step-sheet:focus-visible { outline:1px solid #eee; outline-offset:10px; }
.step-art-title { position:absolute; top:100%; left:0; margin-top:9px; padding:4px 8px; color:#fff; background:#090b0bd9; font-size:12px; letter-spacing:.08em; opacity:0; transition:opacity .3s; pointer-events:none; }
.step-sheet.is-focused .step-art-title { opacity:1; }
@keyframes step-float { 0%,100% { translate:-5px 6px; rotate:-.6deg; } 37% { translate:8px -8px; rotate:.7deg; } 71% { translate:-3px -2px; rotate:.2deg; } }
.step-space[hidden] .step-paper { animation-play-state:paused; }
.step-caption { z-index:20; position:fixed; bottom:max(9svh,env(safe-area-inset-bottom,0px)); left:max(5vw,env(safe-area-inset-left,0px)); max-width:90vw; font-size:11px; letter-spacing:.15em; color:#c3c8c5; }
.step-caption[hidden] { display:none; }
@media(max-height:500px) and (min-width:601px) {
 .step-caption { bottom:36px; display:flex; align-items:center; gap:12px; font-size:10px; }
 .step-caption p { margin:0; }
 .step-caption .step-all { padding:6px 10px; }
}
.step-caption p { margin:8px 0 16px; letter-spacing:.03em; }
.step-all { pointer-events:auto; display:inline-flex; align-items:center; justify-content:center; gap:10px; }
.step-all,.step-viewer button { color:var(--ink); background:#101512c9; border:1px solid #ffffff40; padding:10px 16px; font:inherit; font-size:12px; cursor:pointer; }
/* Match experience-navigation pills without restyling other viewer controls. */
.step-all,.step-viewer .step-prev[data-step-copy="prev"],.step-viewer .step-next[data-step-copy="next"] { border-radius:9999px; }
.step-all:focus-visible,.step-viewer button:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.step-empty { position:absolute; inset:auto 20px 18%; text-align:center; z-index:4; font-size:14px; }
.step-empty[hidden] { display:none; }
.step-empty button { margin-top:12px; padding:10px 20px; border:1px solid #53675a; border-radius:999px; background:#111713; color:inherit; font:inherit; cursor:pointer; }
.step-viewer { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:60px 5vw 80px; border:0; background:#080b0bf5; color:var(--ink); overflow:hidden; }
.step-viewer::backdrop { background:#050707ed; }
.step-viewer figure { height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; }
.step-view-image { min-height:0; height:100%; width:100%; display:flex; align-items:center; justify-content:center; }
.step-view-image img { max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; }
.step-viewer figcaption { font-size:12px; }
.step-viewer .step-close { position:absolute; right:24px; top:18px; }
.step-viewer nav { position:absolute; bottom:20px; inset-inline:5%; display:flex; align-items:center; justify-content:center; gap:24px; }
.step-count { font-size:12px; white-space:nowrap; }
@media(max-width:600px) {
 .step-sheet { width:29vw; }
 .step-paper img { max-height:32svh; }
 .step-caption { bottom:max(10svh,env(safe-area-inset-bottom,0px)); }
 .step-viewer nav { gap:12px; }
}
@media(prefers-reduced-motion:reduce) {
 #step { pointer-events:auto; }
 .step-space.is-reduced { position:relative; height:58svh; overflow:auto; pointer-events:auto; text-align:left; }
 .step-space.is-reduced .step-field { position:relative; display:flex; flex-wrap:wrap; gap:15px; perspective:none; padding:20px; }
 .step-space.is-reduced .step-sheet { position:relative; left:auto; top:auto; width:calc(33.33% - 15px); transform:none!important; }
 .step-space.is-reduced .step-paper { animation:none; transform:none; filter:none; }
 .step-challenge strong { font-size:80px; }
 .step-challenge [data-step-copy] { font-size:18px; }
}

/* Inner paper never changes the stable outer pointer target. */
.step-paper { pointer-events:none; }
.step-sheet { transition:none; }
.step-field[inert] .step-paper { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce) { .step-sheet,.step-paper { transition:none; } }

.step-viewer [hidden] { display:none!important; }
.step-viewer.is-overview { overflow:auto; padding:80px 5vw 40px; }
.step-viewer.is-overview .step-close { position:fixed; z-index:2; }
.step-overview h2 { font-weight:400; font-size:clamp(26px,4vw,56px); margin:0 0 32px; }
.step-overview-grid { columns:4 220px; column-gap:24px; }
.step-viewer .step-thumb { display:block; width:100%; break-inside:avoid; padding:0; border:0; margin:0 0 30px; background:none; text-align:left; cursor:zoom-in; }
.step-thumb img { display:block; width:100%; height:auto; }
.step-thumb span { display:block; font-size:12px; margin-top:10px; color:#bfc8c3; }
.step-field.is-dragging .step-paper { animation-play-state:paused; }
.step-field.is-dragging .step-art-title { opacity:0; }
@media(max-width:600px) {
 .step-intro #step-title { width:84vw; }
 .step-intro--overlay { width:94vw; }
 .step-overview-grid { columns:2; column-gap:14px; }
}
@media(prefers-reduced-motion:reduce) {
 .step-space.is-reduced .step-sheet { opacity:1!important; }
}


.step-field.is-dragging .step-sheet { transition:none; }
@media(prefers-reduced-motion:reduce) { .step-sheet.is-returning { transition:none; } }

/* Scroll owns outer geometry; hover owns only the inner paper. */
.step-field { transform-origin:50% 50%; will-change:transform; }
.step-drag-hint { position:absolute; left:50%; top:70%; transform:translate(-50%,-50%); z-index:3; display:grid; justify-items:center; gap:6px; color:var(--ink); font-size:12px; pointer-events:none; opacity:0; filter:blur(4px); transition:opacity .45s ease,filter .45s ease; }
.step-drag-hint svg { width:36px; height:36px; }
.step-challenge-days { color:var(--accent); white-space:nowrap; }
.step-space.is-reduced .step-drag-hint { display:none; }

/* Entrance filters stay on the groups; fractional levitation has its own compositor layer. */
.step-float-motion { display:block; transform:translate3d(0,0,0); will-change:transform; }
.step-challenge > .step-float-motion { display:flex; align-items:center; justify-content:center; gap:inherit; }

/* Reuse the existing full-screen viewers for direct posters and collections. */
.step-viewer { overscroll-behavior:contain; }
.step-viewer[open] { animation:portfolio-viewer-in .18s ease-out; }
.step-view-image { touch-action:pan-y; }
@keyframes portfolio-viewer-in { from { opacity:0; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce) { .step-viewer[open] { animation:none; } }

.adverso-art--poster { cursor:zoom-in; }
.adverso-art--poster:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.adverso-viewport.is-dragging .adverso-art--poster { cursor:grabbing; }
