.work-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: .80;
  border: 1px solid #383e3e;
  border-radius: 17px;
  overflow: hidden;
  background: #101415;
  color: #f5f6f3;
  transition: border-color .2s ease;
}
.work-card:hover, .work-card:focus-visible { border-color: #96aaa4; }
.work-still { display: block; min-height: 0; background: #14181f; }
.work-still img { width: 100%; height: 100%; object-fit: cover; }
.card-epb .work-still { background: #030708; }
.card-epb .work-still img { object-fit: contain; }
.work-caption {
  display: grid;
  grid-template-rows: 54px auto;
  gap: 10px;
  padding: clamp(12px, 1.65vw, 22px);
  border-top: 1px solid #33393a;
}
.work-mark {
  display: flex;
  align-items: center;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -.055em;
  line-height: 1;
}
.work-mark img { width: min(100%, 198px); height: 100%; object-fit: contain; object-position: left center; }
.card-epb .work-mark img { width: auto; max-width: 100%; height: 60%; }
.work-action { justify-self: start; color: #ced8d4; font-size: .9rem; }
.work-card:hover .work-action, .work-card:focus-visible .work-action { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 650px) {
  .work-card { aspect-ratio: auto; grid-template-rows: auto auto; }
  .work-still { aspect-ratio: 16/10; }
  .work-caption { grid-template-rows: 48px auto; padding: 16px; }
}
