/* Signing clients showcase.
   The section is the template's own review card — its grid, bullets, quote
   glyph, divider and preview panel all come from site.css. Only two things are
   new: the preview holds one photograph per client and crossfades between
   them, and the star rating is replaced by the date of the signing. */

/* The posts are square graphics with their own lettering top and bottom, so
   the panel takes their shape rather than the template's landscape crop. */
.sgn_preview__Sg2 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e9e9e9;
}

/* Each slide is the full column. Without this the slides size to their text
   and the next one shows at the edge. */
.sgn_root__Sg0 .swiper-slide {
  width: 100%;
  flex-shrink: 0;
}

.sgn_shot__Sg1 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* a slow settle rather than a cut: the incoming photograph relaxes into
     place as it fades up */
  transform: scale(1.03);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sgn_shot__Sg1[data-current] {
  opacity: 1;
  transform: scale(1);
}

/* Where the template shows five stars, a signing shows its date. */
.testimonials_date__Sgd1 {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--font-secondary), serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 110%;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(21, 23, 23, 0.55);
}

.sgn_root__Sg0 .swiper {
  cursor: grab;
}

.sgn_root__Sg0 .swiper:active {
  cursor: grabbing;
}

@media (prefers-reduced-motion: reduce) {
  .sgn_shot__Sg1 {
    transition-duration: 0.001s;
  }
}
