/* ---------- Loops (Nov 29): her own footage, moving quietly. See features/loops.js. ----------
   Each loop sits right over its still and fades in once it's actually playing. Nothing here changes the stills. */
.loop { pointer-events: none; opacity: 0; transition: opacity 0.9s ease; }
.loop.on { opacity: 1; }

/* 1. Music backdrop: it also has .band-bg, so it gets the same size, dim and drift as the still under it */
.band-loop { z-index: -2; }
#music .band-loop { object-position: 50% 28%; } /* the wide stage in a short band: keep her face and hands in view */

/* 2 and 3. the living covers of the two videos (under the play button and title) */
.vp-cover .vp-loop { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: transparent; filter: brightness(0.8); transition: opacity 0.9s ease, scale 0.6s var(--ease, ease), filter 0.4s ease; }
.vp-cover:hover .vp-loop { scale: 1.03; filter: brightness(0.68); }

/* 4. (the opening's moving tiles moved to features/motion.css) */

@media (prefers-reduced-motion: reduce) { .loop { display: none !important; } }


/* 5. the steel target beside Loaded: a small tall picture to the left of the text, the same top edge */
#gun-policy .role.has-clip { display: grid; grid-template-columns: clamp(92px, 7.6vw, 116px) minmax(0, 1fr); column-gap: clamp(14px, 1.3vw, 20px); align-content: start; }
#gun-policy .role.has-clip > * { grid-column: 2; }
#gun-policy .role.has-clip > .role-clip { grid-column: 1; grid-row: 1 / span 6; align-self: start; }
.role-clip { position: relative; overflow: hidden; aspect-ratio: 9 / 16; background: #8b7a63; }
.role-clip img, .role-clip .clip-loop { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  #gun-policy .role.has-clip { grid-template-columns: 36% minmax(0, 1fr); }
  .role-clip { aspect-ratio: 4 / 5; }
  .role-clip img, .role-clip .clip-loop { object-position: 50% 42%; }
}

/* 6. her talking in the intro frame */
.vp-stand img, .vp-stand .clip-loop { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
