/* ------------------------------------------------------------------
   Exhibits — framed work with museum wall labels
------------------------------------------------------------------- */
.exhibits-pin { position: relative; overflow: clip; }
.exhibits-track { display: flex; }

.exhibit {
  flex: none; width: 100vw; height: 100svh; min-height: 560px;
  padding: calc(var(--hud) + 16px) var(--gutter) 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 24vw, 380px);
  column-gap: clamp(24px, 3.4vw, 64px); align-items: end;
}

/* 16:10 like the screenshots, so nothing is cropped: as wide as the column allows, as tall as the room allows */
.ex-frame {
  position: relative; display: block; overflow: hidden; align-self: end;
  width: min(100%, (max(100svh, 560px) - var(--hud) - 88px) * 1.6); aspect-ratio: 16 / 10;
  border-radius: 8px; background: #161618;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8);
}
.ex-shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform-origin: 50% 0; }

.ex-label { display: grid; gap: 18px; padding-top: 18px; border-top: 1px solid var(--fg-32); }
.ex-count { display: flex; align-items: flex-end; gap: 10px; }
.ex-count b { font: 900 clamp(64px, 7.4vw, 136px)/.78 var(--f-display); letter-spacing: -.06em; }
.ex-count span { padding-bottom: .5em; }
.ex-name { font: 700 clamp(28px, 2.6vw, 44px)/1 var(--f-display); letter-spacing: -.035em; }
.ex-desc { font-size: 15px; line-height: 1.5; max-width: 38ch; }
.ex-spec { margin: 0; display: grid; gap: 8px; }
.ex-spec div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--fg-16); }
.ex-spec dd { margin: 0; font-size: 14px; line-height: 1.4; }
.ex-visit { justify-self: start; font: 600 15px/1 var(--f-display); padding-bottom: 6px; border-bottom: 1px solid currentColor; }

.ex-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; gap: 8px; }
.ex-progress i { flex: 1; height: 2px; background: var(--fg-16); transition: background-color .5s var(--ease-osmo); }
.ex-progress i.on { background: var(--fg); }

/* Stack: phones, narrow windows, reduced motion */
.exhibits[data-mode="stack"] .exhibits-track { display: block; }
.exhibits[data-mode="stack"] .exhibit {
  width: auto; height: auto; min-height: 0;
  grid-template-columns: minmax(0, 1fr); row-gap: 24px;
  padding: 56px var(--gutter);
}
.exhibits[data-mode="stack"] .exhibit:first-child { padding-top: calc(var(--hud) + 40px); }
.exhibits[data-mode="stack"] .ex-frame { width: 100%; }
.exhibits[data-mode="stack"] .ex-progress { display: none; }
@media (min-width: 900px) {
  .exhibits[data-mode="stack"] .exhibit { grid-template-columns: minmax(0, 1fr) clamp(260px, 24vw, 380px); }
}
