:root {
  --choice-bg-blur: 1px;
  --choice-bg-opacity: 0.6;
  --choice-review-lines: 3;
  --choice-review-row-gap: 15px;
  --choice-review-scale: 1.2;
}

.choice-bg-marquee {
  position: absolute;
  inset: -16px 0 -24px;
  z-index: 0;
  pointer-events: none;
  display: grid;
  align-content: center;
  gap: var(--choice-review-row-gap);
  overflow: hidden;
  opacity: var(--choice-bg-opacity);
  filter: blur(var(--choice-bg-blur));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.choice-bg-row {
  overflow: hidden;
  width: 100%;
}
.choice-bg-track {
  display: flex;
  width: max-content;
  animation: choice-review-scroll 46s linear infinite;
}
.choice-bg-row:nth-child(even) .choice-bg-track {
  animation-direction: reverse;
  animation-duration: 52s;
}
.choice-bg-row:nth-child(3) .choice-bg-track {
  animation-duration: 42s;
}
@keyframes choice-review-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.choice-bg-seq {
  display: flex;
  gap: 6px;
  padding-inline-end: 6px;
  align-items: stretch;
}
.choice-bg-photo {
  width: 82px;
  height: 40px;
  border-radius: 7px;
  overflow: hidden;
  flex: none;
  background: #eef3ea;
}
.choice-bg-marquee[data-rows="3"] .choice-bg-photo {
  width: 98px;
  height: 52px;
  border-radius: 8px;
}
.choice-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  display: block;
}
.choice-bg-review {
  width: 142px;
  min-height: 49px;
  zoom: var(--choice-review-scale);
  flex: none;
  margin: 0;
  padding: 5px 7px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(150deg, #fff, #f3f6ef);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.choice-bg-marquee[data-rows="3"] .choice-bg-review {
  width: 158px;
  min-height: 52px;
  padding: 6px 8px;
}
.choice-bg-review-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  font-size: 8.5px;
  font-weight: 700;
  color: #414941;
}
.choice-bg-review-avatar {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e7eee2;
  color: #004e0e;
  font-size: 7px;
  font-weight: 650;
}
.choice-bg-review-stars { color: #d68c09; font-size: 8px; line-height: 1; letter-spacing: .06em; white-space: nowrap; }
.choice-bg-review p {
  margin: 0;
  font-size: 8px;
  line-height: 1.4;
  color: #565e58;
  text-wrap: pretty;
  display: -webkit-box;
  -webkit-line-clamp: var(--choice-review-lines);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Soft radial veil right behind the Sagefold illustration so it pops cleanly */
.choice-bg-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 46% 74% at 50% 50%, rgba(255,255,255,.78) 0%, rgba(255,255,255,.35) 62%, rgba(255,255,255,0) 100%);
}

/* Landing-page style wonky squircle social proof widget */
.choice-landing-proof {
  display: grid;
  grid-template-columns: max-content minmax(0, max-content);
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.choice-landing-portraits {
  display: flex;
  align-items: center;
  padding: 6px 4px;
}
.choice-landing-portrait {
  width: 44px;
  height: 44px;
  border: 2px solid #ffffff;
  border-radius: 42% 35% 40% 34%;
  background-image: url("./mdhr/uploads/mvrck-social-proof-4-512.webp");
  background-size: 400% 100%;
  box-shadow: 0 13px 24px #004e0e1a;
  margin-left: -10px;
  flex: none;
}
.choice-landing-portrait:first-child { margin-left: 0; }
.choice-landing-portrait.p1 { transform: rotate(-7deg); }
.choice-landing-portrait.p2 { transform: rotate(6deg); }
.choice-landing-portrait.p3 { transform: rotate(-5deg); }
.choice-landing-portrait.p4 { transform: rotate(5deg); }
.choice-landing-rating {
  display: grid;
  gap: 4px;
  text-align: left;
}
.choice-landing-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #ffb20d;
}
.choice-landing-stars svg {
  width: 17px;
  height: 17px;
  display: block;
}
.choice-landing-proof-label {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
  color: #005312;
  letter-spacing: .02em;
  text-transform: uppercase;
}
