/* video viewer */
html.vw-lock { overflow: hidden; }
.vw { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; font-family: Geist, -apple-system, BlinkMacSystemFont, sans-serif; }
.vw.open { visibility: visible; opacity: 1; transition: opacity .3s ease; }
.vw-back { position: absolute; inset: 0; background: rgba(10, 8, 20, .62); backdrop-filter: blur(14px) saturate(120%); -webkit-backdrop-filter: blur(14px) saturate(120%); }
.vw-box { position: relative; display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); transform: translateY(14px) scale(.98); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.vw.open .vw-box { transform: none; }
.vw-x { position: absolute; top: -8px; right: -8px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.vw-x:hover { background: rgba(255,255,255,.26); }
.vw-phone { --h: min(82svh, 760px); height: var(--h); aspect-ratio: 9 / 19.5; padding: calc(var(--h) * .016); border-radius: calc(var(--h) * .074); background: #0b0b0c; box-shadow: inset 0 0 0 2px #4a4a4e, 0 0 0 2px #2a2a2d, 0 50px 90px -40px rgba(0,0,0,.7); flex: none; }
.vw-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--h) * .058); overflow: hidden; background: #000; }
.vw-cover { position: absolute; inset: 0; background: center / cover no-repeat; }
.vw-cover.vw-noimg { background: radial-gradient(90% 60% at 80% 10%, rgba(255,255,255,.25), transparent 60%), linear-gradient(150deg, #c22a52, #e0702e); display: grid; place-items: end start; padding: 28px; }
.vw-art { color: #fff; font-size: 28px; font-weight: 600; line-height: 1.08; }
.vw-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s ease; background: #000; }
.vw.vw-live .vw-screen iframe { opacity: 1; }
.vw-fallback { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; background: rgba(0,0,0,.28); }
.vw.vw-blocked .vw-fallback { display: flex; }
.vw.vw-blocked iframe { display: none; }
.vw-play { width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.9); position: relative; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.vw-play::after { content: ""; position: absolute; left: 27px; top: 21px; border-left: 20px solid #111; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.vw-meta { color: #fff; max-width: 280px; }
.vw-client { margin: 0 0 8px; font-size: 14px; color: rgba(255,255,255,.7); }
.vw-title { margin: 0 0 10px; font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
.vw-stat { margin: 0 0 24px; font-size: 16px; color: rgba(255,255,255,.85); }
.vw-go { display: inline-block; padding: 12px 20px; border-radius: 999px; background: #f6f2ec; color: #111; text-decoration: none; font-weight: 500; font-size: 15px; }
@media (max-width: 760px) {
  .vw-box { flex-direction: column; gap: 16px; }
  .vw-phone { --h: min(64svh, 600px); }
  .vw-meta { text-align: center; max-width: none; }
  .vw-title { font-size: 22px; }
  .vw-stat { margin-bottom: 14px; }
  .vw-x { top: -4px; right: -4px; }
}
/* clickable hints */
[data-video] { cursor: pointer; }
.ring-item.is-front .iphone-screen::after { content: "▶"; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px; box-sizing: border-box; font-size: 20px; color: #111; background: rgba(255,255,255,.88); box-shadow: 0 8px 24px rgba(0,0,0,.3); opacity: 0; transition: opacity .3s ease; pointer-events: none; z-index: 4; }
.ring-item.is-front:hover .iphone-screen::after, .ring-item.is-front:focus-visible .iphone-screen::after { opacity: 1; }
