/* Patient reviews (client round, 2026-10-26; redesigned with ui-ux-pro-max: social proof
   reads best as a few real voices with names, not a moving wall).
   Home: one featured review on a navy card (the longest, most specific story) beside a
   two-column set of six. /reviews reuses the same card in info.css's masonry grid.
   Only real reviews (data: _src/reviews.js). No star ratings: the sources gave none per
   review. Doctify reviews carry a "Verified on Doctify" mark; a treatment tag appears only
   where the patient names it. */

/* ---------- the card ---------- */
.rv-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 2vw, 28px);
  border-radius: var(--r-md, 20px);
  background: #fff;
  border: 1px solid rgba(11, 41, 93, .1);
  color: var(--navy);
  box-shadow: 0 24px 48px -40px rgba(var(--shadow-tint), .45);
}
.rv-card__mark { width: 22px; height: 17px; flex: none; fill: var(--gold); }
.rv-card__quote {
  margin: 0;
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-strong, var(--navy));
  text-wrap: pretty;
}
.rv-card__who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 41, 93, .1);
}
.rv-card__avatar {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--logo-gold, var(--gold));
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.rv-card__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rv-card__id strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.rv-card__src {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-soft);
}
.rv-card__src svg { width: 14px; height: 14px; fill: none; stroke: #1F7A4D; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rv-card__topic {
  margin-left: auto;
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(174, 128, 53, .45);
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* featured: the brand navy, the quote set in the display face */
.rv-card--feature {
  gap: 28px;
  padding: clamp(28px, 3.4vw, 48px);
  border: 0;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 40px 80px -50px rgba(var(--shadow-tint), .7);
}
.rv-card--feature .rv-card__mark { width: 40px; height: 30px; }
.rv-card--feature .rv-card__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.rv-card--feature .rv-card__who { border-top-color: rgba(253, 247, 235, .18); }
.rv-card--feature .rv-card__src { color: rgba(253, 247, 235, .72); }
.rv-card--feature .rv-card__topic { border-color: rgba(206, 158, 69, .6); color: var(--gold); }

/* ---------- home: one horizontal track (client round, 2026-10-26: "weak design") ----------
   The featured story opens the track on navy; eight voices follow on white cards over the sand
   band. Each card leads with a phrase pulled verbatim from the review, set in the display face,
   then the full review, then a monogram. Native scroll + snap (swipe, trackpad, keyboard); the
   arrows and the gold progress line are in assets/js/rv.js. */
.reviews { background: var(--sand); }
.reviews__titles { max-width: 640px; }

.rv-track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 1.4vw, 20px);
  /* bleed past the right gutter so the next card peeks in */
  margin-right: calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 44px 0;
  margin-bottom: -40px; /* room for the card shadows inside the scroller */
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: var(--r-lg); }

.rv-voice {
  flex: 0 0 clamp(290px, 25vw, 360px);
  min-height: clamp(340px, 27vw, 400px);
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.2vw, 32px);
  border-radius: var(--r-lg);
  background: #fff;
  color: var(--navy);
  scroll-snap-align: start;
  box-shadow: 0 1px 0 rgba(var(--shadow-tint), .04), 0 30px 60px -48px rgba(var(--shadow-tint), .45);
}
.rv-voice__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
}
.rv-voice__mark {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 300;
  line-height: .78;
  color: var(--gold);
}
.rv-voice__tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.rv-voice__topic,
.rv-voice__verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rv-voice__topic { background: var(--cream); color: var(--gold-deep); }
.rv-voice__verified { border: 1px solid rgba(31, 122, 77, .3); color: #1F7A4D; }
.rv-voice__verified svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.rv-voice__body { margin: 10px 0 0; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.rv-voice__pull {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(23px, 1.75vw, 28px);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.rv-voice__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.rv-voice__who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rv-voice__mono {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(206, 158, 69, .55);
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--navy);
}
.rv-voice__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rv-voice__id strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.rv-voice__id small { font-size: 13px; color: var(--ink-soft); }

/* the featured story: wider, navy, the phrase at headline size */
.rv-voice--feature {
  flex-basis: clamp(310px, 40vw, 560px);
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 40px 80px -50px rgba(var(--shadow-tint), .8);
}
.rv-voice--feature .rv-voice__mark { font-size: 96px; }
.rv-voice--feature .rv-voice__pull { font-size: clamp(30px, 2.9vw, 44px); line-height: 1.12; }
.rv-voice--feature .rv-voice__pull { color: var(--cream); }
.rv-voice--feature .rv-voice__text { color: rgba(253, 247, 235, .74); max-width: 46ch; }
.rv-voice--feature .rv-voice__topic { background: rgba(243, 211, 133, .14); color: var(--light-yellow); }
.rv-voice--feature .rv-voice__who { border-top-color: rgba(253, 247, 235, .16); }
.rv-voice--feature .rv-voice__mono { background: var(--light-yellow); box-shadow: none; }
.rv-voice--feature .rv-voice__id small { color: rgba(253, 247, 235, .7); }

/* progress line + arrows under the track */
.rv-bar {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(24px, 2.4vw, 36px);
}
.rv-progress {
  position: relative;
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: rgba(11, 41, 93, .1);
  overflow: hidden;
}
.rv-progress span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(var(--p, .2));
  transition: transform .2s linear;
}
.rv-nav { display: flex; gap: 10px; }
.rv-nav__btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(11, 41, 93, .18);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.rv-nav__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rv-nav__btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.rv-nav__btn:disabled { opacity: .35; cursor: default; }
.rv-nav__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.rv-nav__btn:active:not(:disabled) { transform: scale(.96); }

@media (max-width: 699.98px) {
  .rv-voice { flex-basis: 82vw; min-height: 0; }
  .rv-voice--feature { flex-basis: 88vw; }
  .rv-voice--feature .rv-voice__mark { font-size: 96px; }
  .rv-nav { display: none; }
  /* /reviews grid cards */
  .rv-card__quote { font-size: 15px; }
  .rv-card__who { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-progress span, .rv-nav__btn { transition: none; }
}
