/* All five examples share one frame; contain keeps the full image visible. */
#hero-reveal { aspect-ratio: 1 / 1; }
#hero-reveal > img { object-fit: contain; }
/* Keep selection styling from changing border/padding rounding or text wrap. */
.hero-tabs button { border-width: 2px; padding: 6px; }
.hero-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  min-height: 108px;
}
@media (max-width: 640px) {
  .hero-tabs button { padding: 7px; }
}
.hero-caption strong { line-height: 1.25; }
.hero-caption div > span { line-height: 1.5; }
@media (max-width: 780px) {
  .hero-caption { grid-template-columns: 1fr; }
  .hero-caption > div { min-height: 110px; }
  .hero-caption .drag-hint { line-height: 1.5; }
}
