body[data-view=gallery] #main{position:relative;z-index:1}
.gallery-wayfinding{top:20px;left:auto;right:clamp(24px,5vw,100px);display:block;min-height:44px}
.gallery-wayfinding a{gap:10px;font-size:11px;color:#c9d2c1;width:fit-content;transition:color .25s}
.gallery-wayfinding a:hover{color:#f1e7cc}
.gallery-wayfinding a svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.2;flex:none}
.gallery-wayfinding .gallery-progress{position:fixed;left:clamp(24px,5vw,100px);bottom:32px;font-size:10px;color:#b9c4ad}
body[data-view=gallery] #keys,body[data-view=gallery] #touch-hint{display:none}
body[data-view=gallery] .dock-right{margin-left:auto}
@media(min-width:801px){#credits{display:none}}
@media(max-width:800px){.gallery-wayfinding{top:18px;left:auto;right:24px}.gallery-wayfinding a{font-size:10px}.gallery-wayfinding a svg{width:14px;height:14px}.gallery-wayfinding .gallery-progress{font-size:9px;left:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px))}}
@media(prefers-reduced-motion:reduce){.gallery-wayfinding a{transition:none}}
.gallery-opening[data-atmosphere]{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:0;min-height:calc(100svh - 208px);padding:50px clamp(28px,8vw,180px) 70px}
.collection-backdrop{position:fixed;inset:0;z-index:-1;pointer-events:none;background:#080d09;isolation:isolate}
.collection-backdrop:before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:url('paper-grain.svg') repeat;background-size:192px 192px;mix-blend-mode:soft-light;opacity:.5;animation:paper-grain-drift 1.6s steps(1,end) infinite}
@media(prefers-reduced-motion:reduce){.collection-backdrop:before{animation:none}}
.collection-backdrop img{width:100%;height:100%;max-height:none;object-fit:cover;object-position:62% center;filter:brightness(.83) saturate(.76)}
.collection-backdrop:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,9,7,.94) 0%,rgba(3,9,7,.85) 28%,rgba(3,9,7,.45) 56%,rgba(3,9,7,.18)),linear-gradient(0deg,rgba(0,0,0,.6),transparent 25%,transparent 75%,rgba(0,0,0,.5))}
.atmosphere-copy{position:relative;max-width:510px}
.gallery-opening[data-atmosphere] h1{font-size:clamp(32px,3.2vw,56px);line-height:1.25;letter-spacing:-.045em;margin:0 0 18px}
.gallery-opening[data-atmosphere] .collection-time{font-size:11px;line-height:1.8;color:#c2cbb8;margin:0 0 30px}
.gallery-opening[data-atmosphere] .collection-summary{font-size:clamp(14px,1.1vw,17px);line-height:1.95;max-width:44ch;color:#e1e4d8;margin:0 0 26px}
.gallery-opening[data-atmosphere] .collection-begin{font-size:13px;min-height:44px;margin:0;display:inline-flex;color:#f0e6cc}
@media(max-width:800px){
 .gallery-opening[data-atmosphere]{min-height:calc(100svh - 196px);padding:44px 28px 64px;justify-content:center}
 .collection-backdrop img{object-position:64% center}
 .collection-backdrop:after{background:linear-gradient(90deg,rgba(3,9,7,.87),rgba(3,9,7,.60)),linear-gradient(0deg,rgba(0,0,0,.6),transparent 35%,rgba(0,0,0,.15) 70%,rgba(0,0,0,.5))}
 .gallery-opening[data-atmosphere] h1{font-size:34px}
 .gallery-opening[data-atmosphere] .collection-time{font-size:10px;margin-bottom:24px}
 .gallery-opening[data-atmosphere] .collection-summary{font-size:14px;line-height:1.9;margin-bottom:22px}
}
@media(max-height:550px){.gallery-opening[data-atmosphere]{padding-block:30px}.gallery-opening[data-atmosphere] h1{font-size:28px}.gallery-opening[data-atmosphere] .collection-time{margin-bottom:16px}}

/* Only the logo is interactive inside the otherwise transparent header. */
body[data-view=gallery] header{pointer-events:none}
body[data-view=gallery] header a{pointer-events:auto}
