/* Rivermark reviews — DM Sans, 8px grid, 8px radius, 1px borders. Scoped to .rv so the rest of the site is untouched. */
.rv { font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; color: #000; }
.rv-section { padding: 64px 0; }
.rv-section .section-head h2 { font-family: inherit; }
.rv-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .rv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rv-grid { grid-template-columns: repeat(3, 1fr); } }
.rv-card { background: #fff; border: 1px solid #dbdbdb; border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.rv-stars { font-size: 20px; letter-spacing: 2px; line-height: 1; color: #000; }
.rv-stars .off { color: #dbdbdb; }
.rv-text { margin: 0; font-size: 17px; line-height: 1.5; white-space: pre-line; }
.rv-who { margin: 8px 0 0; font-weight: 700; }
.rv-meta { margin: 0; color: #8c8c8c; font-size: 14px; }
.rv-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid #dbdbdb; }
.rv-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.rv .btn { font-family: inherit; }

/* Form */
.rv-form-wrap { max-width: 560px; margin: 0 auto; padding: 32px 0 80px; }
.rv-form { display: grid; gap: 24px; }
.rv-field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.rv-label { font-weight: 700; font-size: 17px; padding: 0; }
.rv-opt { font-weight: 400; color: #8c8c8c; font-size: 14px; }
.rv-help { color: #8c8c8c; font-size: 14px; margin: 0; }
.rv input[type="text"], .rv input[type="tel"], .rv textarea {
  width: 100%; font: 400 17px/1.5 "DM Sans", system-ui, sans-serif; color: #000; background: #fff;
  border: 1px solid #dbdbdb; border-radius: 8px; padding: 12px 16px; min-height: 48px;
}
.rv textarea { min-height: 128px; resize: vertical; }
.rv input:focus, .rv textarea:focus { outline: 2px solid #64b4fa; outline-offset: 0; border-color: #64b4fa; }
.rv-starpick { display: flex; gap: 8px; }
.rv-starpick button {
  width: 56px; height: 56px; border: 1px solid #dbdbdb; border-radius: 8px; background: #fff; cursor: pointer;
  font-size: 30px; line-height: 1; color: #dbdbdb; padding: 0; transition: transform 120ms ease-out;
}
.rv-starpick button.on { color: #000; background: #64b4fa; border-color: #64b4fa; }
.rv-starpick button:active { transform: scale(0.94); }
.rv-starlabel { color: #8c8c8c; font-size: 14px; min-height: 21px; margin: 0; }
.rv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-chips button {
  min-height: 40px; padding: 8px 16px; border-radius: 8px; border: 1px solid #dbdbdb; background: #fff;
  font: 400 16px "DM Sans", sans-serif; color: #000; cursor: pointer;
}
.rv-chips button[aria-pressed="true"] { background: #64b4fa; border-color: #64b4fa; font-weight: 700; }
.rv-textwrap { position: relative; }
.rv-mic {
  position: absolute; right: 8px; bottom: 8px; width: 48px; height: 48px; border-radius: 8px;
  border: 1px solid #dbdbdb; background: #fff; cursor: pointer; display: grid; place-items: center; color: #000;
}
.rv-mic.live { background: #3cc29a; border-color: #3cc29a; }
.rv-photo-pick { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.rv-photo-pick img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid #dbdbdb; }
.rv-check { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border: 1px solid #dbdbdb; border-radius: 8px; cursor: pointer; }
.rv-check input { width: 24px; height: 24px; margin: 0; accent-color: #64b4fa; flex: none; }
.rv-err { color: #c0362c; font-size: 14px; margin: 0; }
.rv-alert { border: 1px solid #c0362c; border-radius: 8px; padding: 16px; margin: 0; }
.rv-submit { width: 100%; min-height: 56px; font-size: 18px; }
.rv-thanks { border: 1px solid #3cc29a; border-radius: 8px; padding: 24px; background: #eefaf5; }
.rv-thanks h2 { margin: 0 0 8px; font-size: 24px; }
.rv-thanks p { margin: 0 0 8px; }
.rv-empty { color: #8c8c8c; }
#reviews { scroll-margin-top: 88px; }
