.showcase-hero {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.showcase-head {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.showcase-head h1 {
  max-width: none;
  margin-top: 0;
  font-size: clamp(2.7rem, 5.2vw, 4.6rem);
  font-weight: 800;
}

.showcase-head .lede {
  max-width: 36rem;
  margin-top: 0;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 940px;
  margin-inline: auto;
  border: 2px solid var(--ink);
  background: #111318;
  padding: clamp(0.8rem, 2vw, 1.5rem);
  overflow: hidden;
}

.stage-head,
.stage-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #8e978a;
}

.stage-head {
  padding-bottom: 0.7rem;
}

.stage-head b {
  color: #e9ede5;
  font-weight: 600;
}

.stage-foot {
  padding-top: 0.7rem;
}

.shot-wrap {
  position: relative;
  z-index: 1;
  border: 1px solid #3b4239;
  background: #0b0d0f;
}

.shot-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-link {
  display: block;
}

.stage-foot a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #8e978a;
}

.stage-foot a:hover {
  color: #e9ede5;
}

.callout {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  transform: translate(-50%, -50%);
}

.callout.c1 {
  left: 66%;
  top: 35%;
}

.callout.c2 {
  left: 82%;
  top: 57%;
}

.callout.c3 {
  left: 84%;
  top: 68%;
}

.callout.c4 {
  left: 93%;
  top: 86%;
}

.exhibit-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.exhibit-item {
  border-top: 2px solid var(--ink);
  padding-top: 0.7rem;
}

.exhibit-item .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--red);
}

.exhibit-item .exhibit-name {
  margin-top: 0.3rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.exhibit-item p {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.provenance {
  border-top: 2px solid var(--ink);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.provenance-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.provenance-grid > * {
  min-width: 0;
}

.provenance h2 {
  max-width: 14ch;
  margin-top: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 800;
}

.provenance p {
  max-width: 30rem;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.provenance .note {
  margin-top: 0.8rem;
}

.render-command {
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 1rem 1.1rem;
  overflow-x: auto;
}

.render-command code {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
  white-space: pre;
  scrollbar-color: #8e978a transparent;
}

.render-caption {
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--muted);
}

.continue {
  border-top: 2px solid var(--ink);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.continue-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.continue-grid > * {
  min-width: 0;
}

.continue h2 {
  max-width: 12ch;
  margin-top: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 800;
}

@media (max-width: 1000px) {
  .showcase-head,
  .provenance-grid,
  .continue-grid {
    grid-template-columns: 1fr;
  }

  .exhibit-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .callout {
    display: none;
  }
}

@media (max-width: 620px) {
  .exhibit-legend {
    grid-template-columns: 1fr;
  }

  .stage-head,
  .stage-foot {
    flex-direction: column;
    gap: 0.25rem;
  }
}
