/* Testimonial carousel (2026-11-14). Replaces the uneven three-box grid on the homepage.
   Site type: Alta / Alta Caption for display, Sentient for body, Montserrat for labels. */

.rr-testimonials {
  background-color: var(--background-grey, #e9e8e4);
  padding: 7rem 2rem;
}
.rr-testimonials-inner {
  max-width: 76rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 5rem;
  align-items: center;
}
.rr-testimonials-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.rr-testimonials-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.rr-t-label {
  font-family: Sentient, Georgia, serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #000;
  opacity: .6;
  margin: 0 0 2rem;
}

/* All slides share one grid cell, so the box is always as tall as the longest quote and nothing jumps */
.rr-t-track {
  display: grid;
}
.rr-t-slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.rr-t-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease, visibility 0s;
}
.rr-t-mark {
  font-family: Sentient, Georgia, serif;
  font-weight: 300;
  font-size: 5rem;
  line-height: 1;
  height: 2.75rem;
  color: rgba(154, 169, 172, 1);
}
.rr-t-quote {
  margin: 0;
  padding: 0;
  border-left: 0;
  font-family: Sentient, Georgia, serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.65;
  color: #111;
}
.rr-t-cite {
  display: block;
  text-align: left;
  margin-top: 2rem;
  font-style: normal;
}
.rr-t-name {
  display: block;
  font-family: Alta, Georgia, serif;
  font-size: 1.6rem;
  line-height: 1.2;
  color: #000;
}
.rr-t-role {
  display: block;
  margin-top: .35rem;
  font-family: Sentient, Georgia, serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #000;
  opacity: .55;
}

.rr-t-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.rr-t-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  background: transparent;
  color: #000;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.rr-t-btn:hover,
.rr-t-btn:focus-visible {
  background-color: #000;
  border-color: #000;
  color: #fff;
}
.rr-t-btn svg {
  width: 1rem;
  height: 1rem;
}
.rr-t-dots {
  display: flex;
  gap: .6rem;
  margin-left: auto;
}
.rr-t-dot {
  width: 2rem;
  height: 2px;
  padding: 0;
  border: 0;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color .3s;
}
.rr-t-dot[aria-current="true"] {
  background-color: #000;
}
.rr-t-count {
  font-family: Sentient, Georgia, serif;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  color: #000;
  opacity: .6;
  min-width: 3.5rem;
}

@media screen and (max-width: 991px) {
  .rr-testimonials-inner { grid-template-columns: 1fr; gap: 3rem; }
  .rr-testimonials-photo { aspect-ratio: 16 / 10; }
}
@media screen and (max-width: 767px) {
  .rr-testimonials { padding: 4.5rem 1.25rem; }
  .rr-t-dots { display: none; }
  .rr-t-count { margin-left: auto; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .rr-t-slide, .rr-t-slide.is-active { transition: none; }
}
