/* Small photographic details, played once when the facts enter the viewport. */
.shoot-details-motion > li {
  transition: border-color .3s ease, box-shadow .3s ease;
}
.shoot-details-motion .shoot-calendar {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #25282f;
  perspective: 180px;
}
.shoot-calendar__page {
  position: relative;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 26px;
  height: 28px;
  padding-top: 6px;
  border-radius: 4px;
  background: #fbf6e9;
  color: #25282f;
  font: 800 14px/1 "San Francisco", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  transform-origin: center 5px;
}
.shoot-calendar__page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  border-radius: 4px 4px 0 0;
  background: #e6bf58;
}
.shoot-photo-count { display: inline-block; font-variant-numeric: tabular-nums; }
.shoot-details-motion.is-playing > li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(230,191,88,.18) 50%, transparent 80%);
  pointer-events: none;
  animation: shoot-fact-shine 1.25s .1s both;
}
.shoot-details-motion.is-playing > li:nth-child(2)::after { animation-delay: .2s; }
.shoot-details-motion.is-playing > li:nth-child(3)::after { animation-delay: .4s; }
.shoot-details-motion.is-playing .fi-sr-camera { animation: shoot-camera-snap .85s .15s both; }
.shoot-details-motion.is-playing .shoot-calendar__page { animation: shoot-calendar-flip 1s .25s both; }
.shoot-details-motion.is-playing .fi-sr-images { animation: shoot-photo-fan 1.1s .4s both; }
@keyframes shoot-fact-shine {
  from { transform: translateX(-110%); }
  to { transform: translateX(110%); }
}
@keyframes shoot-camera-snap {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230,191,88,0); }
  35% { transform: scale(.9); }
  55% { transform: scale(1.08); box-shadow: 0 0 0 9px rgba(230,191,88,.2); color: #e6bf58; }
}
@keyframes shoot-calendar-flip {
  0% { transform: rotateX(-100deg); opacity: .3; }
  60% { transform: rotateX(14deg); opacity: 1; }
  100% { transform: rotateX(0); }
}
@keyframes shoot-photo-fan {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-12deg) scale(.94); }
  65% { transform: rotate(8deg) scale(1.08); color: #e6bf58; }
}
@media (hover: hover) and (pointer: fine) {
  .shoot-details-motion > li:hover {
    border-color: rgba(193,148,44,.5);
    box-shadow: 0 18px 38px rgba(99,72,24,.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shoot-details-motion > li, .shoot-details-motion * { animation: none !important; transition: none !important; }
  .shoot-details-motion > li::after { display: none; }
}
@media (max-width: 900px) {
  .shoot-details-motion .shoot-calendar { width: 38px; height: 38px; border-radius: 13px; }
}
@media (max-width: 640px) {
  .shoot-details-motion .shoot-calendar { width: 36px; height: 36px; border-radius: 12px; }
  .shoot-calendar__page { width: 23px; height: 26px; font-size: 12px; }
}
