/* Homepage showreel trigger + modal */
.showreel-lightbox {
  display: block;
  position: relative;
  width: 100%;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  margin: 2rem 0;
}
.showreel-lightbox--fallback {
  background: #111 url('../assets/navlogo.png') center / 120px no-repeat;
}
.showreel-lightbox--fallback .sr-preview-video {
  display: none;
}
.sr-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
@media (max-width: 768px) {
  .showreel-lightbox { border-radius: 12px; margin: 1.25rem 0; }
  .sr-play-btn { width: 56px; height: 56px; }
  .sr-play-btn svg { width: 20px; height: 20px; }
}
.sr-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.sr-modal.is-open {
  opacity: 1;
  pointer-events: all;
}
.sr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(6px);
}
.sr-modal__box {
  position: relative;
  z-index: 1;
  width: min(900px, 92vw);
  border-radius: 16px;
  overflow: hidden;
  transform: scale(.92);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.sr-modal.is-open .sr-modal__box { transform: scale(1); }
.sr-modal__video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  background: #000;
}
.sr-modal__close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.sr-modal__close:hover { background: rgba(255,255,255,.3); }
.sr-modal__close svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}
