/* video-bubble.css — floating PiP pitch video (pitch-forge widget) */
:root { --vb-accent: #c4581b; }

.vb {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1200;
  /* Tom's pitch video is 9:16 vertical with burned-in captions — sized so
     the whole tower (video + CTA) stays under ~62vh and never crops text. */
  width: max(160px, min(250px, 58vw, calc((100svh - 10rem) * 9 / 16)));
  background: #0d0c0b; border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.75);
  display: flex; flex-direction: column;
  animation: vbIn .5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes vbIn { from { opacity: 0; transform: translateY(24px) scale(.94); }
                  to   { opacity: 1; transform: none; } }

/* 9:16 + contain: captions never crop */
.vb__video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #000; }

.vb__unmute {
  position: absolute; left: .6rem; top: .6rem;
  font: 600 .72rem/1 system-ui, sans-serif; letter-spacing: .04em;
  color: #fff; background: rgba(0,0,0,.62); border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px; padding: .45rem .7rem; cursor: pointer;
  animation: vbPulse 2.2s ease-in-out infinite;
}
@keyframes vbPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.vb__controls { position: absolute; right: .45rem; top: .45rem; display: flex; gap: .3rem; }
.vb__btn {
  width: 26px; height: 26px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(0,0,0,.6); color: #fff; font-size: .95rem; line-height: 1;
}
.vb__btn:hover { background: rgba(0,0,0,.85); }

.vb__cta {
  display: block; text-align: center; text-decoration: none;
  font: 700 .8rem/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: #120a05; background: var(--vb-accent); padding: .85rem .5rem;
  transition: filter .25s;
}
.vb__cta:hover { filter: brightness(1.15); }
.vb--done .vb__cta { animation: vbPulse 1.6s ease-in-out infinite; }

.vb__pill {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1200;
  font: 600 .78rem/1 system-ui, sans-serif; letter-spacing: .03em;
  color: #fff; background: #17130f; border: 1px solid var(--vb-accent);
  border-radius: 30px; padding: .65rem 1rem; cursor: pointer;
  box-shadow: 0 10px 28px -10px rgba(0,0,0,.7);
}
.vb__pill:hover { background: #241d18; }

@media (max-width: 480px) { .vb { width: max(140px, min(180px, 48vw, calc((100svh - 9rem) * 9 / 16))); } }
@media (prefers-reduced-motion: reduce) {
  .vb, .vb__unmute, .vb--done .vb__cta { animation: none; }
}
