/* Gallery shell and type stay canonical; only the article's image body is spatial. */
.story--exhibition .exhibition { --index-portrait-scale: 1.22; margin-inline: calc(-1 * var(--margin)); }
.story--exhibition .exhibition-header { position: sticky; top: var(--gallery-header-height); inset-inline: auto; height: 56px; gap: 16px; z-index: 9; }
.story--exhibition .view-switch { margin-right: auto; }
.story--exhibition .project-return { text-align: right; }
.story--exhibition .installation { scroll-margin-top: calc(var(--gallery-header-height) + 56px); }
.is-ready .story--exhibition .installation { position: sticky; inset: auto; top: var(--exhibition-top); height: var(--exhibition-height); clip-path: none; perspective: none; }
.is-ready .story--exhibition .photographs { z-index: 0; transform-style: flat; }
.is-ready .story--exhibition .print { transform-origin: 0 0; transform-style: flat; pointer-events: none; }
.is-ready .story--exhibition .print[data-visible=true] .print-link { pointer-events: auto; }
.story--exhibition .exhibition-footer { position: absolute; inset: auto 0 0; z-index: 1; }
.story--exhibition .exhibition .print-paper { aspect-ratio: var(--print-index-ratio, var(--index-ratio)); }
.story--exhibition .print[data-orientation=portrait] { --print-index-ratio: calc(var(--index-ratio) / var(--index-portrait-scale)); }
.is-ready[data-view=spiral] .story--exhibition .print-paper { aspect-ratio: var(--ratio); }
/* The frame sets display size, including when a smaller srcset candidate loads. */
.story--exhibition .print-paper > img { position: absolute; inset: 0; }
.story--exhibition .exhibition-space { pointer-events: none; }
.story--exhibition .photo-viewer h2 { text-transform: none; }
.story--exhibition .photo-viewer { padding: 0 0 12px; overflow: hidden; }
.story--exhibition .photo-viewer[open] { grid-template-rows: auto auto minmax(0, 1fr) auto auto; gap: 12px; }
.photo-viewer > .gallery-header { position: static; width: 100%; }
.story--exhibition .viewer-header { justify-content: flex-end; padding-inline: var(--margin); }
.story--exhibition .viewer-close { min-width: 88px; min-height: 44px; padding: 0 10px; justify-content: center; gap: 8px; border: 1px solid var(--photo-rule); }
.story--exhibition .viewer-close span { font: inherit; }
.story--exhibition .viewer-close svg { flex: none; }
.story--exhibition .viewer-close:hover { background: var(--photo-placeholder); text-decoration: none; }
.story--exhibition .viewer-stage { padding: 0 var(--margin); overflow: hidden; }
.story--exhibition .viewer-image { flex: none; max-width: 100%; max-height: 100%; }
.story--exhibition .viewer-loading { position: absolute; bottom: 8px; margin: 0; padding: 4px 8px; background: var(--photo-canvas); font-size: 12px; }
.story--exhibition .viewer-caption { width: min(1120px, calc(100% - 2 * var(--margin))); margin: 0 auto; gap: 16px; }
.story--exhibition .viewer-footer { margin-inline: var(--margin); }
@media (max-width: 700px) {
  .story--exhibition .exhibition-header { height: 56px; }
  .story--exhibition .project-return { max-width: 160px; font-size: 11px; line-height: 1.3; }
}
@media print {
  .story--exhibition .exhibition-header, .story--exhibition .exhibition-footer { display: none; }
  .story--exhibition .print { opacity: 1 !important; }
}
