/* Reusable image areas for photos, mockups, and case-study screenshots. */
.image-slot {
  position: relative;
  overflow: hidden;
}
.image-slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.image-slot img.contain {
  object-fit: contain;
}
.case-cover img {
  width: 100%;
  height: clamp(320px, 58vw, 650px);
  object-fit: contain;
  object-position: center;
}
.case-asset img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  object-position: center;
}
.personal-photo {
  position:relative;
  top:-250px;
}
.project-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-image:has(.project-thumbnail) {
  font-size: 0;
}
.project-image:has(.project-thumbnail) br {
  display: none;
}
@media (max-width: 760px) {
  .case-asset img {
    height: 250px;
  }
}
