/* The lightbox (rebuild 01): the large photos of A3, opened from the photo wall (js/screens.js, js/site.js).
   As built in phase 1. Everything else this file held (the loader, the marquee, the cards of 01 and 02, the formats
   list, the video cards, the photo strip, the writing list, the career timeline, Let's talk) is replaced by the page's
   stylesheet (css/home.css, from the kit). */

.lightbox[hidden]{display:none}
.lightbox{
  position:fixed;inset:0;z-index:10000;background:rgba(10,10,10,.97);
  display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;transition:opacity .3s;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
.lightbox.open{opacity:1;pointer-events:all}
.lightbox-img{max-width:90vw;max-height:88vh;object-fit:contain;transition:opacity .2s}
.lightbox-close{position:absolute;top:20px;right:28px;color:var(--dim);font-size:32px;line-height:1;padding:4px 8px;transition:color .2s}
.lightbox-close:hover{color:var(--paper)}
.lightbox-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  background:var(--surface);border:1px solid var(--line);color:var(--dim);
  width:44px;height:44px;font-size:18px;display:flex;align-items:center;justify-content:center;transition:all .2s;
}
.lightbox-nav:hover{background:var(--red);border-color:var(--red);color:var(--on-red)}
.lightbox-nav .ico{margin:0;width:16px;height:16px}
.lightbox-prev{left:24px}
.lightbox-next{right:24px}
.lightbox-caption{
  position:absolute;bottom:24px;left:50%;transform:translateX(-50%);
  font-family:var(--f-label);font-weight:600;font-size:11px;letter-spacing:var(--label-track);text-transform:uppercase;
  color:var(--mute);white-space:nowrap;
}
