/* Agentic Armor film presentation standard, set 2026-11-09.
   One frame for every film on the site, fixed before a visitor presses play.
   Shelf cards share one portrait frame. Feature films keep their own ratio
   inside a capped frame. Every frame is reserved in advance by its aspect
   ratio and by the width and height attributes on the element, so nothing
   on the page moves when a film loads. The picture always stands whole
   inside its frame: contained on the house navy field, never cropped,
   never stretched. The poster follows the same rule inside the same frame. */

video.aa-film.aa-film {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0A0E1A;
  border: 0;
  border-radius: 12px;
  margin: 0 auto;
}

/* Shelf card frame: one portrait frame for every card on every shelf. */
video.aa-film.aa-card {
  aspect-ratio: 9 / 16;
}

/* Feature frames: the film keeps its own ratio, capped by orientation. */
video.aa-film.aa-feature.aa-ar-916 { aspect-ratio: 9 / 16; max-width: 420px; }
video.aa-film.aa-feature.aa-ar-58  { aspect-ratio: 5 / 8;  max-width: 420px; }
video.aa-film.aa-feature.aa-ar-12  { aspect-ratio: 1 / 2;  max-width: 420px; }
video.aa-film.aa-feature.aa-ar-169 { aspect-ratio: 16 / 9; max-width: 880px; }
video.aa-film.aa-feature.aa-ar-32  { aspect-ratio: 3 / 2;  max-width: 880px; }

/* Feature film composition, set 2026-11-11: a feature film wrapped in a
   figure stands centered at the standard's own size, whatever the page's
   local wrapper rules say, so a portrait film is composed deliberately
   instead of sitting at partial width in a wide column. */
figure:has(> video.aa-film.aa-feature) { margin-inline: auto; }
figure:has(> video.aa-film.aa-feature.aa-ar-916),
figure:has(> video.aa-film.aa-feature.aa-ar-58),
figure:has(> video.aa-film.aa-feature.aa-ar-12) { max-width: 420px; }
figure:has(> video.aa-film.aa-feature.aa-ar-169),
figure:has(> video.aa-film.aa-feature.aa-ar-32) { max-width: 880px; }
