/* Kimm stands on the right-hand side of both original photographs. */
.bus-photo img[src$="/bus.webp"],
img.rounded-image[src$="/bus.webp"],
.media-grid .media-image img[src$="/bus.webp"] {
  object-position: 86% 34%;
}

.portrait img[src$="/kimm.webp"] {
  object-position: right 46%;
  /* Reframe the original portrait around Kimm, keeping her whole head and
     the colours of the van visible in both tall and wide team cards. */
  transform: scale(1.72);
  transform-origin: right 47%;
}

footer .footer-top {
  padding-block-start: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
}

footer .footer-brand {
  padding: 0.625rem;
}

footer .footer-brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-visual { container-type: inline-size; }
.photo-frame { position: relative; }
.photo-frame .smile-sticker {
  bottom: -.65rem;
  width: clamp(6.4rem, 9vw, 8rem);
  height: clamp(6.4rem, 9vw, 8rem);
}
/* The people in the group photo and the lettering on the poster reach the top corners. */
.hero-photo:has(.is-active:is(.hero-slide--group, .hero-slide--poster)) {
  border-top-left-radius: 32% 16%;
  border-top-right-radius: 32% 16%;
}
.hero-photo { transition: border-radius .55s ease; }
.hero-slide--group img { transform: rotate(-2deg) scale(1.015); }
.hero-slide--poster img { object-fit: contain; background: #f4dbfa; transform: none; }
.hero-visual .photo-caption {
  justify-content: center;
  margin: 1.35rem .45rem 0;
  min-height: 2.8em;
  font-size: .875rem;
  line-height: 1.4;
  text-align: center;
}
.hero-visual .carousel-controls { margin: .1rem auto 0; gap: .35rem; }
.carousel-controls .carousel-arrow, .carousel-controls .carousel-pause {
  width: 2.75rem;
  height: 2.75rem;
}
.carousel-dots .slide-dot { width: 1.65rem; height: 2.75rem; }
.carousel-count {
  display: none;
  min-width: 3.5rem;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  color: var(--purple);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
@container (max-width: 24rem) {
  .carousel-controls .carousel-dots { display: none; }
  .carousel-controls .carousel-count { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { transition: none; }
}
