.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}
.project-card a { display: block; }
.project-cover-link { display: block; }
.project-card-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f4f4f2;
}
.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.project-card-image--trim img { scale: 1.04; transform-origin: center bottom; }
.project-card a:hover img { transform: scale(1.035); }
.project-card-title { display: block; color: #171717; font-size: 15px; margin-top: 12px; }
.project-card a:hover .project-card-title { color: #ae3609; }
#project-list { scroll-margin-top: 24px; }
.project-back { margin-bottom: 22px; }
.project-detail-image {
  width: auto;
  max-width: 100%;
  max-height: 74vh;
  margin-inline: auto;
  object-fit: contain;
}
.project-detail-copy { max-width: 620px; margin: 26px auto 0; white-space: pre-line; }
.project-detail-gallery { display: grid; gap: 24px; }
.project-detail-gallery:not(:empty) { margin-top: 26px; }
.project-detail-gallery img { width: auto; max-width: 100%; max-height: 80vh; margin-inline: auto; }
.project-feature .case-detail-link { margin-right: 8px; }
@media(max-width: 760px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 14px; }
  .project-card-title { font-size: 13px; }
}
