/* ── Promo reel (pricing page) ──────────────────────────────────
   A scene reel, not an encoded video: nothing to download, sharp at any
   width, and the imagery/copy refresh themselves from the live site. */

.promo { max-width: var(--content-w); margin: -30px auto 46px; padding: 0 var(--content-px); position: relative; z-index: 2; }
.promo-stage {
  position: relative; aspect-ratio: 16 / 8.2; border-radius: 18px; overflow: hidden;
  background: #0b1020; box-shadow: 0 18px 50px rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.10);
}
@supports not (aspect-ratio: 1) { .promo-stage { height: 520px; } }

.promo-scene { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease; }
.promo-scene.is-on { opacity: 1; visibility: visible; }

/* product shots — slow drift so a still frame still feels alive */
.promo-shot { position: absolute; inset: 0; overflow: hidden; }
.promo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.promo-scene.is-on .promo-shot img { animation: promoDrift 7s ease-out forwards; }
@keyframes promoDrift { from { transform: scale(1.10) translateY(1.5%); } to { transform: scale(1.0) translateY(0); } }
.promo-shot.is-winner img { object-fit: contain; object-position: center; background: #0b1020; padding: 26px 0; }
/* A crop that is wider than the stage — letterbox it instead of chopping the
   sides off, so the whole slate strip stays readable. */
.promo-shot.is-wide { background: #0b1020; display: flex; align-items: center; }
.promo-shot.is-wide img { object-fit: contain; height: auto; max-height: 100%; }
.promo-scene.is-on .promo-shot.is-wide img { animation: promoWide 7s ease-out forwards; }
@keyframes promoWide { from { transform: scale(1.06); } to { transform: scale(1); } }

/* tile walls for content + video scenes */
.promo-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 8px; padding: 8px; }
.promo-tile { position: relative; overflow: hidden; border-radius: 10px; opacity: 0; transform: scale(.94); }
.promo-scene.is-on .promo-tile { animation: promoPop .5s cubic-bezier(.2,.9,.3,1.2) forwards; animation-delay: calc(var(--n) * 110ms); }
@keyframes promoPop { to { opacity: 1; transform: scale(1); } }
.promo-tile img { width: 100%; height: 100%; object-fit: cover; }
.promo-video .promo-tiles { grid-template-columns: repeat(2, 1fr); }
.promo-play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.92); box-shadow: 0 4px 18px rgba(0,0,0,.4); }
.promo-play::after { content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%);
  border-left: 17px solid #0b1020; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

/* caption */
.promo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 30px 26px; display: flex; flex-direction: column; gap: 5px;
  background: linear-gradient(180deg, rgba(6,8,20,0) 0%, rgba(6,8,20,.86) 58%, rgba(6,8,20,.96) 100%); color: #fff; }
.promo-eyebrow { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ffc93c; }
.promo-title { font-size: clamp(1.15rem, .7rem + 1.5vw, 1.95rem); font-weight: 800; line-height: 1.15; }
.promo-sub { font-size: clamp(.82rem, .7rem + .35vw, .98rem); color: rgba(255,255,255,.78); max-width: 62ch; }
.promo-scene.is-on .promo-cap > * { animation: promoUp .5s ease forwards; opacity: 0; transform: translateY(9px); }
.promo-scene.is-on .promo-cap > *:nth-child(2) { animation-delay: .07s; }
.promo-scene.is-on .promo-cap > *:nth-child(3) { animation-delay: .14s; }
@keyframes promoUp { to { opacity: 1; transform: translateY(0); } }

/* chapter bars */
.promo-bars { position: absolute; top: 14px; left: 16px; right: 62px; display: flex; gap: 6px; }
.promo-bar { flex: 1; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.26); border-radius: 3px; cursor: pointer; overflow: hidden; }
.promo-bar i { display: block; height: 100%; width: 0; background: #ffc93c; }
.promo-bar.is-on i { animation: promoFill var(--dur, 4200ms) linear forwards; }
.promo-bar.is-done i { width: 100%; }
@keyframes promoFill { to { width: 100%; } }
.promo.is-paused .promo-bar i { animation-play-state: paused; }

.promo-toggle { position: absolute; top: 8px; right: 14px; width: 34px; height: 26px; border: 0; border-radius: 6px;
  background: rgba(255,255,255,.14); color: #fff; font-size: .62rem; letter-spacing: .05em; cursor: pointer; }
.promo-toggle:hover { background: rgba(255,255,255,.26); }

@media (max-width: 760px) {
  .promo-stage { aspect-ratio: 4 / 3.4; }
  .promo-tiles { grid-template-columns: repeat(2, 1fr); }
  .promo-cap { padding: 46px 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-scene.is-on .promo-shot img,
  .promo-scene.is-on .promo-tile,
  .promo-scene.is-on .promo-cap > * { animation: none; opacity: 1; transform: none; }
  .promo-bar.is-on i { animation: none; width: 100%; }
}
