/* ====================================================
   JIUM LABS — showreel (hero console) + modal player
   ==================================================== */

/* hero console now plays the showreel */
.workflow-stage__inner--cinema .workflow-video[data-reel-hero] { cursor: pointer; filter: none; }
.hero-reel__play {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px;
  font: inherit; color: #fff; cursor: pointer;
  background: rgba(15, 20, 32, 0.72); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px -6px var(--accent-glow);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hero-reel__play:hover { transform: translateY(-2px); background: rgba(15, 20, 32, 0.86); border-color: color-mix(in oklab, var(--accent) 55%, transparent); }
.hero-reel__play:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-reel__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 0 18px var(--accent-glow); }
.hero-reel__ic svg { margin-left: 2px; }
.hero-reel__t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
.hero-reel__t b { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.hero-reel__t span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: #A2A4B2; }

/* hero button → opens the modal */
.btn--reel { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn--reel:hover { background: var(--bg-sunken); border-color: color-mix(in oklab, var(--accent) 45%, var(--border)); }
.btn--reel .btn__play { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 0 10px var(--accent-glow); }
.btn--reel .btn__play svg { margin-left: 1px; }

/* modal */
.reel-modal { width: min(1280px, calc(100vw - 32px)); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; color: #F4F4F6; overflow: visible; }
.reel-modal::backdrop { background: rgba(4, 5, 8, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.reel-modal[open] { animation: reel-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes reel-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.reel-modal__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.reel-modal__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #A2A4B2; display: inline-flex; align-items: center; gap: 8px; }
.reel-modal__title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.reel-modal__actions { display: flex; align-items: center; gap: 8px; }
.reel-modal__yt, .reel-modal__close {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 500;
  color: #F4F4F6; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.reel-modal__yt svg { color: #ff0000; }
.reel-modal__yt:hover { background: rgba(255, 0, 0, 0.1); border-color: rgba(255, 0, 0, 0.4); }
.reel-modal__close:hover { background: rgba(255, 255, 255, 0.12); }
.reel-modal__yt:focus-visible, .reel-modal__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reel-modal__video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #07080C; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.reel-lock { overflow: hidden; }

@media (max-width: 880px) {
  .hero-reel__play { left: 10px; bottom: 10px; padding: 4px; }
  .hero-reel__t { display: none; }
  .hero-reel__ic { width: 32px; height: 32px; }
  .reel-modal { width: calc(100vw - 16px); }
  .reel-modal__yt span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-reel__play { transition: none; }
  .reel-modal[open] { animation: none; }
}
