#section-gallery {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #000;
}

#section-gallery .frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: shutterFade 3.6s infinite;
  will-change: opacity, transform, filter;
}

#section-gallery .f1  { animation-delay: 0s; }
#section-gallery .f2  { animation-delay: 0.3s; }
#section-gallery .f3  { animation-delay: 0.6s; }
#section-gallery .f4  { animation-delay: 0.9s; }
#section-gallery .f5  { animation-delay: 1.2s; }
#section-gallery .f6  { animation-delay: 1.5s; }
#section-gallery .f7  { animation-delay: 1.8s; }
#section-gallery .f8  { animation-delay: 2.1s; }
#section-gallery .f9  { animation-delay: 2.4s; }
#section-gallery .f10 { animation-delay: 2.7s; }
#section-gallery .f11 { animation-delay: 3.0s; }
#section-gallery .f12 { animation-delay: 3.3s; }

@keyframes shutterFade {
  0%   { opacity: 0; transform: scale(1.01); filter: brightness(0.9) contrast(1.05); }
  4%   { opacity: 1; }
  16%  { opacity: 1; }
  22%  { opacity: 0.25; filter: brightness(1.1) contrast(1.15); }
  30%  { opacity: 0; transform: scale(1.02); }
  100% { opacity: 0; }
}