/* Keep posters and native playback in the same compact 16:9 artwork plane. */
.continuous.scroll-experience .project-art,
.continuous .project-0 .project-art,
.continuous:not(.motion-ready) .project-art,
.continuous:not(.motion-ready) .project-0 .project-art {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.continuous .project-art > img {
  filter: brightness(.78) saturate(.64);
}

/* These two posters already had the darker grade; retain their shadow detail. */
.continuous .project-3 .project-art > img,
.continuous .project-4 .project-art > img {
  filter: brightness(.72) saturate(.35);
}

/* Fit the whole ratio inside the existing mobile artwork height budget. */
@media (max-width: 760px) and (min-height: 501px) and (prefers-reduced-motion: no-preference) {
  .continuous.motion-ready.scroll-experience .project-art,
  .continuous.motion-ready .project-0 .project-art {
    width: min(100%, calc(clamp(100px, 22svh, 190px) * 16 / 9));
    height: auto;
    max-height: none;
    align-self: center;
  }
}

@media (max-width: 760px) and (min-height: 501px) and (max-height: 720px) and (prefers-reduced-motion: no-preference) {
  .continuous.motion-ready.scroll-experience .project-art,
  .continuous.motion-ready .project-0 .project-art {
    width: min(100%, calc(clamp(96px, 19svh, 122px) * 16 / 9));
  }
}

/* Inline players occupy the artwork without moving the project deck. */
.project-art.has-inline-video > img {
  visibility: hidden;
}

.project-art.has-inline-video > .frame-line {
  visibility: hidden;
}

.project-art > .project-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: inherit;
  background: #090909;
  object-fit: contain;
  filter: none;
  transform: none;
  pointer-events: auto;
}

.project-art > .project-video:focus-visible {
  outline: 1px solid #c6aa79;
  outline-offset: -3px;
}

.project-art > .project-video-status {
  position: absolute;
  inset: 16px 16px auto;
  z-index: 3;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #c6aa7940;
  border-radius: 3px;
  background: #10100feb;
  color: #f0ece4;
  font: 400 13px/1.5 sans-serif;
  letter-spacing: normal;
  pointer-events: none;
}

.project-art > .project-video-status[hidden] {
  display: none;
}
