.inventory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 36px);
}
.inventory article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(13px, 1.6vw, 22px);
  background: #fffefa;
  border: 1px solid #e9e4dc;
  box-shadow: 0 4px 14px #3326380e;
  transition: transform .22s ease, box-shadow .22s ease;
}
.inventory .gallery-open {
  aspect-ratio: 1;
}
.inventory .gallery-open img {
  display: block;
  height: 100%;
  object-fit: contain;
}
.inventory .work-caption {
  flex: 1;
  margin-top: clamp(14px, 2vw, 23px);
  padding: 14px 10px 15px;
  border: 1px solid #eae4db;
  background: #f8f6f2;
  text-align: center;
}
.inventory .work-caption h3 {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.13;
  margin: 0 0 7px;
  text-wrap: balance;
}
.inventory .work-caption .meta {
  font-size: 12px;
  color: #54504e;
  letter-spacing: .035em;
}
.inventory .work-caption .work-groups {
  font-size: 11px;
  margin: 10px 0 0;
  line-height: 1.55;
  text-wrap: balance;
}
@media (hover: hover) and (pointer: fine) {
  .inventory article:hover {
    box-shadow: 0 14px 30px #33263826;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .inventory article:hover {
    transform: translateY(-6px) scale(1.015);
  }
}
@media (prefers-reduced-motion: reduce) {
  .inventory article { transition: none; }
}
@media (max-width: 750px) {
  .inventory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .inventory { grid-template-columns: minmax(0, 1fr); }
  .inventory article { padding: 17px; }
}
