/* =========================================================
   WIDE AWAKE — ARTIST POP-UP MEDIA (photos, slideshow, placeholder)
   Works with the existing .m-hero / .rays-s styles in index.html
   ========================================================= */

/* ---- photos ---- */
.m-hero.wa-gal{aspect-ratio:4/3;background:#000;touch-action:pan-y;outline:none}
.m-hero.wa-gal:focus-visible{outline:3px solid var(--yellow);outline-offset:-3px}
.wa-slide{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}
.wa-slide.on{opacity:1}
.wa-slide img{position:absolute;inset:0;width:100%;height:100%;display:block;max-width:none}
/* blurred copy fills the frame so any photo shape looks intentional */
.wa-bg{object-fit:cover;filter:blur(22px) brightness(.45) saturate(1.3);transform:scale(1.2)}
.wa-fg{object-fit:contain}

.wa-nav{position:absolute;top:50%;translate:0 -50%;z-index:2;width:42px;height:42px;border-radius:50%;
  border:2px solid var(--k);background:rgba(0,0,0,.65);display:grid;place-items:center;padding:0}
.wa-nav svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.wa-nav:hover{background:var(--k)}
.wa-nav:hover svg{stroke:#000}
.wa-nav.prev{left:10px}
.wa-nav.next{right:10px}

.wa-dots{position:absolute;left:0;right:0;bottom:10px;z-index:2;display:flex;justify-content:center;gap:8px}
.wa-dot{width:11px;height:11px;border-radius:50%;padding:0;border:2px solid #fff;background:rgba(0,0,0,.5)}
.wa-dot[aria-current="true"]{background:var(--k);border-color:var(--k);box-shadow:0 0 10px var(--k)}

/* ---- no photo yet: animated Wide Awake eye ---- */
.m-hero.wa-ph{aspect-ratio:16/9}
.wa-eye{position:absolute;left:50%;top:42%;width:min(33%,180px);aspect-ratio:1;translate:-50% -50%;
  border-radius:50%;animation:waPulse 3.4s ease-in-out infinite}
.wa-eye img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;
  box-shadow:0 0 0 3px #000,0 0 36px var(--k),0 0 80px color-mix(in srgb,var(--k) 60%,transparent);
  animation:waBlink 7s ease-in-out infinite}
.wa-name{position:absolute;left:0;right:0;bottom:12px;padding:0 16px;text-align:center;
  font:400 clamp(26px,6vw,40px)/1 var(--display);color:#fff;letter-spacing:.01em;
  -webkit-text-stroke:2px #000;paint-order:stroke fill;text-shadow:3px 3px 0 #000;text-wrap:balance}
@keyframes waPulse{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.07);filter:brightness(1.25)}}
@keyframes waBlink{0%,90%,100%{transform:scaleY(1)}93%{transform:scaleY(.08)}96%{transform:scaleY(1)}}

@media (prefers-reduced-motion:reduce){
  .wa-slide{transition:none}
  .wa-eye,.wa-eye img{animation:none}
}
