/* ============================================================
   Stellar Ally — product imagery
   Real before/after photos + brand image, presented as
   transformation showcases (NOT app screenshots).
   Scales via container query.
   ============================================================ */

.media-frame { container-type: inline-size; background: #0b0f17; padding: 0; }
.media-frame .shot { position: absolute; inset: 0; overflow: hidden; }
.media-frame img { display: block; }

/* ---------- Before / after compare (shared) ---------- */
.compare { position: absolute; inset: 0; overflow: hidden; }
.compare > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before {
  position: absolute; top: 0; left: 0; bottom: 0; width: 52%; overflow: hidden;
}
.cmp-before img { position: absolute; top: 0; left: 0; height: 100%; width: 100cqw; max-width: none; object-fit: cover; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: 52%; width: 0.5cqw; min-width: 2px; background: rgba(255,255,255,0.92); z-index: 3; box-shadow: 0 0 3cqw rgba(0,0,0,0.3); }
.cmp-handle {
  position: absolute; top: 50%; left: 52%; transform: translate(-50%,-50%); z-index: 4;
  width: 10cqw; height: 10cqw; min-width: 30px; min-height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.96); color: #1a2230; display: flex; align-items: center; justify-content: center;
  font-size: 4cqw; box-shadow: 0 0.6cqw 2.4cqw rgba(0,0,0,0.4);
}
.cmp-tag {
  position: absolute; top: 4cqw; font-family: var(--font-mono); font-size: 2.7cqw;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  background: rgba(10,14,21,0.55); padding: 1.1cqw 2.4cqw; border-radius: 100px; z-index: 3;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.cmp-tag.tl { left: 4cqw; }
.cmp-tag.tr { right: 4cqw; }

/* ---------- Stellar Pics Lab : single input -> cinematic output ---------- */
.lab-shot { position: absolute; inset: 0; overflow: hidden; }
.lab-shot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lab-cap {
  position: absolute; top: 4cqw; right: 4cqw; z-index: 3;
  font-family: var(--font-mono); font-size: 2.6cqw; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(10,14,21,0.5); padding: 1.1cqw 2.4cqw; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 1cqw;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lab-cap::before { content: "✦"; color: var(--accent); }
.lab-inset {
  position: absolute; left: 4cqw; bottom: 4cqw; z-index: 3; width: 34%;
  border-radius: 2.2cqw; overflow: hidden;
  border: 1.2cqw solid rgba(255,255,255,0.9);
  box-shadow: 0 1.6cqw 4cqw rgba(0,0,0,0.5);
}
.lab-inset img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lab-inset .ic {
  position: absolute; top: 1.4cqw; left: 1.4cqw;
  font-family: var(--font-mono); font-size: 2.2cqw; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: rgba(10,14,21,0.6); padding: 0.5cqw 1.6cqw; border-radius: 100px;
}
.lab-arrow {
  position: absolute; left: calc(34% + 6cqw); bottom: 9.5cqw; z-index: 3;
  color: var(--accent); font-size: 5cqw; line-height: 1;
  text-shadow: 0 0.4cqw 1.6cqw rgba(0,0,0,0.6);
}

/* ---------- Stellar Tunes : brand image ---------- */
.media-frame.tunes { aspect-ratio: 1200 / 630; background: #1a1533; }
.tunes-og { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.tunes-og img { width: 100%; height: 100%; object-fit: cover; }
