/* Opening artwork must size against its visible frame, not its intrinsic
   portrait/landscape dimensions. An implicit grid track has an automatic
   minimum that can overflow and then be clipped by the opening container. */
.awg-brand-intro,
.awg-opening-frame,
.opening-frame,
.opening-sequence__frame,
.opening-frame > picture {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

/* With picture { display: contents }, a source can become an empty grid item
   and push the actual logo into another row. It selects media, never layout. */
.opening-frame > picture > source {
  display: none;
}

.awg-brand-intro img,
.opening-frame > picture,
.opening-frame img,
.opening-sequence__frame img {
  min-width: 0;
  min-height: 0;
}
