.reviews-section {
  --review-width: 356px;
  --review-gap: 20px;
  padding-block: 104px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 2% 85%, #d8e6fb 0, transparent 55%),
    radial-gradient(ellipse at 98% 5%, #eaf1ce 0, transparent 52%),
    var(--paper);
}
.reviews-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 36px;
  margin-bottom: 28px;
}
.reviews-heading .eyebrow { color: var(--muted); margin-bottom: 18px; }
.reviews-heading h2 { font-size: clamp(48px, 5vw, 76px); line-height: 1.08; }
.reviews-heading .serif-word { color: var(--blue); padding-right: 0.1em; }
.reviews-subtitle { color: var(--muted); max-width: 460px; margin-top: 22px; font-size: 15px; }
.reviews-controls { display: grid; justify-items: end; gap: 20px; flex-shrink: 0; }
.reviews-disclosure { color: var(--muted); font-size: 12px; text-align: right; line-height: 1.6; }
.reviews-disclosure span { display: block; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.reviews-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #b9c5bf;
  border-radius: 30px;
  background: #ffffffa6;
  font-size: 12px;
  font-weight: 600;
}
.reviews-toggle:hover { background: var(--white); border-color: var(--blue); }
.reviews-play-icon, .reviews-toggle[aria-pressed="true"] .reviews-pause-icon { display: none; }
.reviews-toggle[aria-pressed="true"] .reviews-play-icon { display: block; }
.reviews-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-block: 20px 26px;
  scrollbar-width: thin;
  scrollbar-color: #96a7b9 transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.reviews-viewport:focus-visible { outline-offset: -5px; }
.reviews-track { display: flex; width: max-content; }
.reviews-group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--review-gap);
  margin: 0;
  padding: 0 var(--review-gap) 0 0;
  list-style: none;
}
.review-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--review-width);
  width: var(--review-width);
  height: 288px;
  padding: 25px;
  border: 1px solid #ffffff;
  border-radius: 22px;
  background: #ffffffeb;
  box-shadow: 0 8px 24px #31465a0a;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.review-profile { display: flex; align-items: center; gap: 12px; }
.review-profile img { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: var(--sky); }
.review-avatar-initials { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: 15px; font-weight: 600; }
.review-card:nth-child(3n + 2) .review-avatar-initials { background: #edf1df; color: #41522c; }
.review-card:nth-child(3n + 3) .review-avatar-initials { background: #eee7df; color: #72583b; }
.review-profile h3 { font-size: 16px; line-height: 1.5; }
.review-profile time { font-size: 12px; color: var(--muted); }
.review-quote-mark { margin-left: auto; color: #dde5ef; font: 62px/0.8 Georgia, serif; align-self: start; }
.review-stars { display: flex; gap: 3px; color: #b77c08; margin-block: 18px 12px; }
.review-card blockquote { margin: 0; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.review-status { margin-top: auto; padding-top: 12px; font-size: 11px; color: var(--muted); min-height: 30px; }
.review-status svg { margin-right: 4px; }
.reviews-hint { margin-top: 14px; color: var(--muted); font-size: 12px; }
.reviews-hint span { margin-left: 8px; }
.reviews-section.is-running .reviews-viewport { overflow-x: hidden; }
.reviews-section.is-running .reviews-track { animation: reviews-drift 70s linear infinite; }
.reviews-section.is-dormant .reviews-track,
.reviews-viewport:focus-within .reviews-track { animation-play-state: paused; }
@keyframes reviews-drift { to { transform: translateX(-50%); } }
@media (hover: hover) {
  .reviews-viewport:hover .reviews-track { animation-play-state: paused; }
  .review-card:hover { transform: translateY(-4px); border-color: #b6cbed; box-shadow: 0 12px 28px #31465a14; }
}
@media (max-width: 1050px) {
  .reviews-heading { align-items: start; }
  .reviews-controls { padding-top: 8px; }
}
@media (max-width: 760px) {
  .reviews-section { --review-width: 82vw; --review-gap: 14px; padding-block: 68px; }
  .reviews-heading { display: block; margin-bottom: 12px; }
  .reviews-heading h2 { font-size: clamp(44px, 11.8vw, 66px); }
  .reviews-subtitle { font-size: 14px; margin-top: 18px; }
  .reviews-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
  .reviews-disclosure { text-align: left; font-size: 11px; }
  .review-card { height: 300px; padding: 22px; }
  .reviews-hint span { display: block; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-section.is-running .reviews-viewport { overflow-x: auto; }
  .reviews-section .reviews-track { animation: none; transform: none; }
  .reviews-section .reviews-group[aria-hidden="true"] { display: none; }
  .review-card:hover { transform: none; }
}
