/* ============================================================
   JAN SRAJER — hero overrides (Figma 471:30634)
   Reuses .proj-hero sticky behaviour. Adds tag chips (bottom-left)
   + white "See the work" CTA (bottom-right), same pattern as
   Ranketta / VUT. Image already carries a baked bottom fade.
   Self-contained (.jan-hero) so it never clashes with other pages.
   ============================================================ */

/* frame gradient: #000 (top) → #1D1D1F (bottom), blends into the meta section.
   The transparent hand+phone (with its baked blur) floats on top. */
.jan-hero { background: linear-gradient(180deg, #000000 0%, #1D1D1F 100%); }

/* tag chips — pinned bottom-left inside the sticky stage */
.jan-hero__tags {
  position: absolute;
  bottom: 54px;
  left: var(--page-padding);
  display: flex;
  gap: 9px;
  z-index: 3;
  pointer-events: none;
}
.jan-hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: var(--text-caption);
  font-weight: 500;
  line-height: 1.1;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: auto;
}

/* "See the work" — white pill, pinned bottom-right */
.jan-hero .proj-hero__cta {
  top: auto;
  bottom: 54px;
  left: auto;
  right: var(--page-padding);
  background-color: #ffffff;
  color: #1d1d1f;
}
.jan-hero .proj-hero__cta:hover {
  background-color: #ffffff;
  color: #1d1d1f;
  transform: translateY(-2px);
}

@media (max-width: 1023px) {
  .jan-hero__tags { position: static; margin: 16px 0 0; flex-wrap: wrap; }
  .jan-hero .proj-hero__cta { position: static; margin-top: 16px; }
}


/* ============================================================
   Video lightbox (click reel → enlarged + sound + scrub)
   Shared pattern (scripts/video-lightbox.js). Cards become
   clickable with a small sound badge; only the opened video
   plays with audio.
   ============================================================ */
.proj-grid__card--clickable { position: relative; cursor: pointer; }

.video-sound {
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.5); border-radius: 50%;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; z-index: 2; pointer-events: none;
  transition: background 0.2s var(--ease-out);
}
.proj-grid__card--clickable:hover .video-sound { background: rgba(0, 0, 0, 0.78); }

.video-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 5vh 5vw;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease-out);
}
.video-lightbox.is-open { opacity: 1; visibility: visible; }
.video-lightbox__video {
  max-width: 100%; max-height: 90vh;
  border-radius: 12px; background: #000;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}
.video-lightbox__close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
  transition: background 0.2s var(--ease-out);
}
.video-lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }
