/* /reviews (Redstack, 2026-11-20). Built by migration/build-reviews-page.py in the homepage's
   direction: Inter 800 headings, 20px corners, the ink navy #293141, the site's blue and light
   blue. Loads after /css/home-sections.css, which supplies the container (--rs-container), the
   closing call-to-action frame and the footer. Like that file it loads before the site's main
   stylesheet, so rules that replace a Webflow rule carry `body`. */

/* The header frame (.rvp-hero) is the shared inner-page hero in /css/home-sections.css. */

/* ------------------------------------------------------------ shared bits */
.rvp-h2 {
  color: var(--relume-library-lite--rl-black); font-family: Inter Variablefont Opsz Wght, Arial, sans-serif;
  font-size: clamp(2.1rem, 3.5vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.02;
  margin: 0; text-transform: uppercase; text-wrap: balance;
}
.rvp-h2.rvp-h2-small { font-size: clamp(1.4rem, 1.9vw, 1.9rem); }
.rvp-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; line-height: 1; }
.rvp-stars-off { color: #cbd5e1; }
.rvp-sr { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
body .rvp-summary .base-container, body .rvp-list .base-container { align-items: stretch; }

/* ------------------------------------------------------------ rating summary */
.rvp-summary { background: #fff; font-family: Inter Variablefont Opsz Wght, Arial, sans-serif; padding: 72px 0; }
.rvp-summary-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); width: 100%; }
.rvp-score { background-color: #293141; border-radius: var(--rs-radius); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.rvp-score-value { font-size: clamp(4.5rem, 7vw, 7rem); font-weight: 800; letter-spacing: -.04em; line-height: .95; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.rvp-score .rvp-stars { font-size: 26px; letter-spacing: 4px; }
.rvp-score-note { color: rgba(255, 255, 255, .82); font-size: 1.05rem; line-height: 1.5; margin: 16px 0 0; }
.rvp-score-link { color: #fff; font-size: 1rem; font-weight: 600; margin-top: 18px; text-decoration: underline; text-underline-offset: 4px; }
.rvp-score-link:hover { color: var(--relume-library-lite--primary); }
.rvp-breakdown { background-color: var(--lightblue); border-radius: var(--rs-radius); display: flex; flex-direction: column; justify-content: center; padding: 44px; }
.rvp-bars { display: grid; gap: 14px; list-style: none; margin: 26px 0 0; padding: 0; }
.rvp-bar { align-items: center; display: grid; gap: 16px; grid-template-columns: 62px minmax(0, 1fr) 36px; }
.rvp-bar-label { color: var(--relume-library-lite--rl-black); font-size: 15px; font-weight: 600; }
.rvp-bar-track { background-color: #fff; border-radius: 6px; display: block; height: 12px; overflow: hidden; }
.rvp-bar-fill { background-color: var(--relume-library-lite--primary); border-radius: 6px; display: block; height: 100%; min-width: 0; }
.rvp-bar-count { color: var(--relume-library-lite--paragraph-black); font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }

/* ------------------------------------------------------------ every review */
.rvp-list { background-color: var(--lightblue); font-family: Inter Variablefont Opsz Wght, Arial, sans-serif; padding: 96px 0; }
.rvp-list-head { align-items: flex-end; display: flex; gap: 24px; justify-content: space-between; width: 100%; }
.rvp-search { flex-shrink: 0; margin: 0; width: min(380px, 100%); }
.rvp-search-input {
  -webkit-appearance: none; appearance: none; background: #fff; border: 1px solid #51ade580; border-radius: var(--rs-radius);
  color: var(--relume-library-lite--rl-black); font-family: inherit; font-size: 16px; height: 52px; padding: 0 16px; width: 100%;
}
.rvp-search-input:focus { border-color: var(--relume-library-lite--primary); outline: 2px solid #51ade540; outline-offset: 0; }
.rvp-count { color: var(--relume-library-lite--paragraph-black); font-size: 15px; margin: 16px 0 28px; }
.rvp-grid { column-gap: 20px; columns: 3; width: 100%; }
.rvp-card {
  background-color: #fff; border-radius: var(--rs-radius); box-shadow: 0 10px 28px rgba(41, 49, 65, .06);
  break-inside: avoid; display: block; margin: 0 0 20px; padding: 28px;
}
.rvp-card[hidden] { display: none; }
.rvp-card-head { align-items: center; display: flex; gap: 14px; margin-bottom: 16px; }
.rvp-avatar {
  align-items: center; background-color: var(--lightblue); border-radius: var(--rs-radius); color: var(--relume-library-lite--primary);
  display: flex; flex-shrink: 0; font-size: 20px; font-weight: 800; height: 48px; justify-content: center; width: 48px;
}
.rvp-name { color: #293141; font-family: inherit; font-size: 17px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin: 0 0 6px; }
.rvp-text p { color: rgba(10, 10, 10, .89); font-size: 15.5px; line-height: 1.6; margin: 0; }
.rvp-text p + p { margin-top: 10px; }
/* a reviewer's own profile photo, and the photos they posted with the review */
.rvp-avatar-photo { background: none; display: block; object-fit: cover; padding: 0; }
.rvp-photos { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.rvp-photo { border-radius: 12px; cursor: zoom-in; display: block; overflow: hidden; }
.rvp-photo img { aspect-ratio: 1 / 1; display: block; height: auto; object-fit: cover; transition: transform .5s cubic-bezier(.22, .61, .36, 1); width: 100%; }
.rvp-photo:is(:hover, :focus-visible) img { transform: scale(1.06); }
.rvp-photo:focus-visible { outline: 3px solid var(--relume-library-lite--primary); outline-offset: 2px; }

/* reviews added by "Load more" rise in one after another instead of appearing at once */
@media (prefers-reduced-motion: no-preference) {
  .rvp-card.rvp-in { animation: rvp-in .5s cubic-bezier(.22, .61, .36, 1) both; animation-delay: var(--rvp-delay, 0s); }
}
@keyframes rvp-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* "Load more reviews": the site's outline button, centred under the cards */
.rvp-more { display: flex; justify-content: center; margin-top: 36px; }
.rvp-more[hidden] { display: none; }
body .rvp-more-btn { -webkit-appearance: none; appearance: none; cursor: pointer; font-family: Inter Variablefont Opsz Wght, Arial, sans-serif; }
.rvp-card[hidden] { display: none; }
.rvp-empty { color: var(--relume-library-lite--rl-black); font-size: 1.05rem; margin: 0; }

/* The closing frame keeps some air above the footer. */
body .rs-cta.rs-cta-photo { background: #fff; padding-top: 72px; padding-bottom: 72px; }

/* ------------------------------------------------------------ tablet + phone */
@media screen and (max-width: 1199px) { .rvp-grid { columns: 2; } }
@media screen and (max-width: 991px) {
  .rvp-summary { padding: 56px 0; }
  .rvp-list { padding: 72px 0; }
  body .rvp-summary .base-container, body .rvp-list .base-container { max-width: var(--rs-container); padding-left: 0; padding-right: 0; }
  .rvp-summary-grid { grid-template-columns: minmax(0, 1fr); }
  .rvp-score, .rvp-breakdown { padding: 34px; }
}
@media screen and (max-width: 767px) {
  body .rvp-summary .base-container, body .rvp-list .base-container { margin-top: 0; }
  .rvp-list { padding: 56px 0; }
  .rvp-list-head { align-items: stretch; flex-direction: column; gap: 18px; }
  .rvp-search { width: 100%; }
  .rvp-grid { columns: 1; }
  .rvp-card { border-radius: var(--rs-radius); margin-bottom: 14px; padding: 22px; }
  .rvp-score, .rvp-breakdown { border-radius: var(--rs-radius); padding: 28px 22px; }
  .rvp-bar { gap: 10px; grid-template-columns: 56px minmax(0, 1fr) 30px; }
  body .rs-cta.rs-cta-photo { padding-top: 48px; padding-bottom: 48px; }
}
