/* Lightbox (cl-lightbox.js). Themed with holo vars; no z-index wars:
   nav is z-50, overlay sits above everything. */
main img:not(.cl-nolightbox){cursor:zoom-in}
.cl-hero img:not(.cl-nolightbox){cursor:zoom-in}
.cl-techlogo img{cursor:inherit}
a[href] img:not(.cl-nolightbox){cursor:inherit} /* links keep pointer cursor */
body.cl-lb-open{overflow:hidden}
.cl-lightbox{position:fixed;inset:0;z-index:100;display:flex;
  align-items:center;justify-content:center;padding:4vh 4vw;
  opacity:0;transition:opacity .18s ease}
.cl-lightbox.cl-lb-show{opacity:1}
.cl-lightbox figure{transform:scale(.985);transition:transform .18s ease}
.cl-lightbox.cl-lb-show figure{transform:scale(1)}
.cl-lightbox[hidden]{display:none}   /* hidden attr wins over fade */
.cl-lb-backdrop{position:absolute;inset:0;background:rgba(3,7,10,.92)}
.cl-lightbox figure{position:relative;margin:0;max-width:92vw;max-height:92vh;
  display:flex;flex-direction:column;gap:.5rem;align-items:center}
.cl-lightbox img{max-width:min(92vw,1400px);max-height:calc(92vh - 3rem);
  width:auto;height:auto;border:1px solid var(--holo-frame, #1d3a3f);
  border-radius:6px;background:#000;box-shadow:0 0 40px rgba(0,230,200,.15)}
.cl-lightbox figcaption{color:#78ffd2;font-size:.85rem;text-align:center}
.cl-lb-close{position:absolute;top:-1.6rem;right:-.4rem;background:none;
  border:0;color:#e8f6f4;font-size:1.6rem;line-height:1;cursor:pointer}
.cl-lb-close:hover{color:#00e6c8}
