/* Pyper's Arcade flashing neon sign.
   sign/off.jpg is the sign with its tubes unlit; each .webp is one tube group, lit, with its glow baked in.
   Flash rates stay at or under one or two flashes a second. */
.neon-sign{position:relative;aspect-ratio:1;overflow:hidden;background:#07041a;isolation:isolate}
.neon-sign img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none;user-select:none}
.neon-sign .ns{mix-blend-mode:screen;will-change:opacity}

/* PYPER'S ARCADE: buzzes on, holds, then a double flash every few seconds */
.ns-title{animation:ns-title 7s linear infinite}
@keyframes ns-title{
  0%{opacity:0}2%{opacity:.9}3%{opacity:.15}5%{opacity:1}
  62%{opacity:1}63%{opacity:0}69%{opacity:0}70%{opacity:1}76%{opacity:1}77%{opacity:0}83%{opacity:0}84%{opacity:1}
  100%{opacity:1}
}
/* the portrait stays lit, with the odd stutter of a tired transformer */
.ns-girl{animation:ns-girl 9s linear infinite}
@keyframes ns-girl{0%,41%,46%,100%{opacity:1}42%{opacity:.45}43%{opacity:.95}44.5%{opacity:.6}}
/* THIS WAY blinks; the arrow answers it */
.ns-way{animation:ns-blink 1.6s steps(1,end) infinite}
.ns-arrow{animation:ns-blink 1.6s steps(1,end) infinite;animation-delay:-.8s}
@keyframes ns-blink{0%{opacity:1}50%{opacity:.08}}

@media(prefers-reduced-motion:reduce){.neon-sign .ns{animation:none;opacity:1}}
