/* Video covers use the first decoded frame of each original film. */
.re-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 40px; }
.re-project--portrait, .re-project--portrait:nth-child(even) { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.re-project--portrait .re-video { width: min(100%, 315px); }
.re-project--portrait .re-project-copy { width: min(100%, 420px); }
.re-project--portrait:nth-child(even) .re-video { order: 0; }
.re-project:not(.re-project--portrait) { grid-column: 1 / -1; }
.re-project { scroll-margin-top: 100px; }
.re-video img { object-fit: contain; }
.re-video[data-vimeo-id="1228089504"] { aspect-ratio: 2 / 1; }
.re-video .re-play {
  width: auto;
  height: auto;
  min-height: 60px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  color: #111;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  white-space: nowrap;
  transition: transform .2s ease;
}
.re-video .re-play span {
  width: auto; height: auto; border: 0; margin: 0;
  font: 600 14px/1.3 Inter, sans-serif;
}
.re-video .re-play .re-play-icon { font-size: 20px; }
.re-video:hover .re-play, .re-video:focus-visible .re-play { background: #fff; }
.re-video:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.re-video-duration {
  position: absolute; bottom: 18px; right: 18px; z-index: 2;
  padding: 7px 11px; border-radius: 7px;
  background: rgba(0,0,0,.8); color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: .04em;
}
.re-hero-visual { aspect-ratio: 4 / 5; }
@media (max-width: 600px) {
  .re-section-head { display: block; }
  .re-section-head > p { margin-top: 20px; }
  .re-projects { grid-template-columns: 1fr; gap: 56px; }
  .re-project--portrait .re-video { width: min(100%, 315px); }
  .re-video .re-play { min-height: 52px; padding: 13px 18px; }
  .re-video-duration { bottom: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .re-video .re-play { transition: none; }
}
