/* Current project imagery keeps its full frame and visible corner signature. */
.gallery-card .image-button {
  aspect-ratio: 16 / 9;
  background: var(--deep);
}
.gallery-card .image-button > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.motion-section {
  margin-block-end: 65px;
  padding-block-end: 55px;
  border-bottom: 1px solid var(--line);
}
.motion-section .section-heading {
  margin-block-end: 30px;
}
.motion-section h2 {
  font-size: clamp(27px, 3vw, 43px);
}
.motion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.motion-card {
  min-width: 0;
}
.motion-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--deep);
}
.motion-card video:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
}
.motion-card[hidden], .motion-section[hidden] {
  display: none !important;
}
@media (max-width: 980px) {
  .motion-grid { gap: 20px; }
}
@media (max-width: 700px) {
  .motion-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .motion-section { margin-block-end: 42px; padding-block-end: 38px; }
  .motion-section .section-heading { margin-block-end: 23px; }
}
