.section.testimonials {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  --testimonials-ink: #182e33;
  --testimonials-muted: #2f4a50;
  --testimonials-accent: #244b3c;
  --testimonials-rule: #738a8e;
  color: var(--testimonials-ink);
  background: #b8cbce;
  scroll-margin-top: 2rem;
}
.testimonials-intro .testimonials-label {
  color: var(--testimonials-accent);
  margin: 0 0 .75rem;
}
.testimonials-intro h2 {
  max-width: 13ch;
  text-wrap: balance;
  margin: 0;
  font: 700 clamp(2.5rem, 4.25vw, 3.1875rem)/.98 "Seeking Display", Georgia, serif;
  letter-spacing: -.025em;
}
.testimonials-subtitle {
  max-width: 32ch;
  margin: .875rem 0 0;
  color: var(--testimonials-muted);
  font-size: var(--site-type-body, 1rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.testimonials-carousel { min-width: 0; }
.testimonials-slides {
  border-top: 1px solid var(--testimonials-rule);
  padding-top: clamp(1.25rem, 3vw, 2rem);
}
.testimonials-carousel[data-enhanced] .testimonials-slides { display: grid; touch-action: pan-y pinch-zoom; }
.testimonials-slides figure {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.testimonials-carousel:not([data-enhanced]) figure + figure { margin-top: 1.75rem; }
.testimonials-carousel[data-enhanced] figure { grid-area: 1 / 1; }
.testimonials-carousel[data-enhanced] figure[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.testimonials-slides blockquote {
  margin: 0 0 1.125rem;
  max-width: 58ch;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.55;
  font-weight: 400;
}
.testimonials-slides figcaption {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  font-size: var(--site-type-body, 1rem);
  font-weight: 700;
  color: var(--testimonials-accent);
}
.testimonials-slides figcaption::before { content: ""; height: 1px; width: 1.35rem; background: currentColor; }
.testimonials-controls[hidden] { display: none; }
.testimonials-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  padding-top: .65rem;
  border-top: 1px solid var(--testimonials-rule);
}
.testimonials-pagination, .testimonials-steps { display: flex; gap: .5rem; }
.testimonials-controls button {
  box-sizing: border-box;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--testimonials-ink);
  background: transparent;
  border: 1px solid var(--testimonials-muted);
  cursor: pointer;
}
.testimonials-controls button:hover, .testimonials-controls button:focus-visible {
  border-color: var(--testimonials-accent);
  color: var(--testimonials-accent);
}
.testimonials-controls button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.testimonials-pagination button { border-color: transparent; }
.testimonials-pagination button::after { content: ""; width: .48rem; height: .48rem; border-radius: 50%; border: 1px solid currentColor; }
.testimonials-pagination button[aria-current="true"]::after {
  background: var(--testimonials-accent);
  border-color: var(--testimonials-accent);
  width: .95rem;
  border-radius: 1rem;
}
.testimonials-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .testimonials-carousel[data-enhanced] figure[aria-hidden="false"] { animation: testimonial-enter 200ms ease-out; }
  @keyframes testimonial-enter { from { opacity: .35; transform: translateX(var(--testimonial-entry, .35rem)); } to { opacity: 1; transform: none; } }
}
@media (max-width: 760px) {
  .section.testimonials { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-intro h2 { max-width: none; }
  .testimonials-carousel[data-enhanced] figure[aria-hidden="true"] { display: none; }
  .testimonials-slides blockquote { font-size: 1.0625rem; }
}
