.rf-reviews { color: #2b3a34; background: #fefbe8; padding: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.rf-heading { display: flex; gap: .75rem 2rem; flex-wrap: wrap; justify-content: space-between; align-items: baseline; }
.rf-heading h2 { font: 700 clamp(1.9rem, 4.5vw, 3.75rem)/1.12 Poppins, sans-serif; letter-spacing: -.045em; }
/* Title + the small pause/play toggle for the gliding banner (shown only while it glides). */
.rf-title { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.rf-pause {
  flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 2px solid #2b3a34; border-radius: 50%; background: #fefbe8; color: #2b3a34;
  cursor: pointer; box-shadow: 0 3px 0 #2b3a34; transition: background-color .15s, transform .15s, box-shadow .15s;
}
.rf-pause:hover { background: #ffe78d; }
.rf-pause:active { transform: translateY(2px); box-shadow: 0 1px 0 #2b3a34; }
.rf-pause svg { display: block; fill: currentColor; }
.rf-pause .rf-pause-play, .rf-pause[aria-pressed="true"] .rf-pause-bars { display: none; }
.rf-pause[aria-pressed="true"] .rf-pause-play { display: inline; }
.rf-pause[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .rf-pause { display: none; } }
.rf-source, .rf-review figcaption a { color: inherit; text-underline-offset: .21em; }
.rf-source { font-size: .9rem; font-weight: 600; }
.rf-note { font-size: .93rem; margin: .55rem 0 .4rem; }

/* A loose, hand-placed row of cards: full width, natively scrollable and swipeable. */
.rf-flow {
  --rf-gutter: max(24px, calc((100vw - var(--wrap, 1120px)) / 2 + 24px));
  --rf-gap: clamp(14px, 2vw, 26px);
  display: flex; align-items: flex-start;
  overflow-x: auto; overscroll-behavior-x: contain;
  padding: 30px var(--rf-gutter) 34px; scroll-padding-inline: var(--rf-gutter);
  scrollbar-width: thin; scrollbar-color: rgb(43 58 52 / .35) transparent;
}
.rf-track {
  position: relative; flex: none; display: flex; align-items: flex-start; gap: var(--rf-gap);
}
/* Gliding mode (JS, motion welcome): the track moves on the compositor with
   fractional transforms; the reader drags, swipes or wheels the same offset. */
.rf-flow.is-gliding {
  overflow: hidden; touch-action: pan-y pinch-zoom; cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.rf-flow.is-gliding.is-dragging { cursor: grabbing; }
.rf-flow.is-gliding .rf-track { will-change: transform; backface-visibility: hidden; }
.rf-review {
  flex: 0 0 clamp(250px, 27vw, 320px); position: relative; margin: 0;
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.35rem 1.4rem 1.2rem; border: 2px solid #2b3a34; border-radius: 22px;
  background: #fff; color: #2b3a34; box-shadow: 0 5px 0 rgb(43 58 52 / .16);
  transform: rotate(var(--rf-tilt, -1.6deg)) translateY(var(--rf-lift, 0));
  transition: transform .25s ease;
}
.rf-review[data-tone="1"] { --rf-tilt: -1.8deg; background: #ffe78d; }
.rf-review[data-tone="2"] { --rf-tilt: 1.4deg; --rf-lift: 14px; background: #2b3a34; color: #fefbe8; }
.rf-review[data-tone="3"] { --rf-tilt: -.9deg; --rf-lift: 4px; background: #cccce8; }
.rf-review[data-tone="4"] { --rf-tilt: 1.9deg; --rf-lift: 18px; background: #dce5b2; }
.rf-stars { color: #f16f33; line-height: 1; font-size: 1.05rem; letter-spacing: .12em; }
.rf-review[data-tone="2"] .rf-stars { color: #ffe78d; }
.rf-review blockquote {
  margin: 0; font: 500 clamp(1rem, 1.35vw, 1.12rem)/1.5 Poppins, sans-serif;
  letter-spacing: -.01em; overflow-wrap: anywhere; white-space: pre-line;
}
.rf-review blockquote::before { content: '“'; }
.rf-review blockquote::after { content: '”'; }
.rf-review figcaption { display: flex; flex-wrap: wrap; gap: .2rem .8rem; align-items: baseline; margin-top: auto; font-size: .84rem; }
.rf-review figcaption strong { font-weight: 600; }
/* A card being read with the keyboard sits on top; tilt and position stay put
   (hover changes nothing, so pausing never makes the row jump). */
.rf-review:focus-within { z-index: 1; }
.rf-reviews :focus-visible { outline: 3px solid #f16f33; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .rf-review { transition: none; }
}

/* ---------- Hero quote: verified reviews stacked in one grid cell ---------- */
/* Every card shares the cell, so the box is always as tall as the longest
   quote and rotating never shifts the hero layout. */
.rf-quote { display: grid; }
.rf-quote > .rev-hero-quote { grid-area: 1 / 1; min-width: 0; position: relative; }
.rf-quote > .rev-hero-quote:not(.is-current) { visibility: hidden; opacity: 0; }
.rf-quote > .rev-hero-quote.is-current { z-index: 1; }
/* The incoming card fades in on top; the outgoing one stays opaque beneath
   until the fade ends, so the card never looks washed out mid-swap. */
@media (prefers-reduced-motion: no-preference) {
  .rf-quote > .rev-hero-quote { transition: opacity 0s linear .6s, visibility 0s linear .6s; }
  .rf-quote > .rev-hero-quote.is-current { transition: opacity .6s ease, visibility 0s; }
}

/* ---------- FAQ: centred section, readable left-aligned entries ---------- */
#faq .wrap { text-align: center; }
#faq .faq-list { margin-inline: auto; text-align: left; }
#faq .faq-more { text-align: center; }
#faq details[id], #faq summary[id], #faq p[id] { scroll-margin-top: min(180px, 24vh); }

/* ---------- Footer: illustrated wordmark on a light badge, linking home ---------- */
.footer-brand {
  display: inline-flex; align-items: center; padding: 10px 18px;
  background: #fefbe8; border-radius: 99px; line-height: 0;
}
.footer-inner .footer-brand img { width: auto; height: 40px; }
.footer-brand:hover { background: #ffe78d; }
.footer-brand:focus-visible { outline: 3px solid #ffe78d; outline-offset: 3px; }
