:root {
  --bg: #1c1410;
  --fg: #f4ece2;
  --primary: #a4592d;
  --accent: #d8a25e;
  --border: #3a2a20;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-wrap: break-word;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.site-head, .site-wrap { max-width: 880px; margin: 0 auto; }
.site-head { padding: 1rem 1rem 0; }
.site-wrap { padding: 0.5rem 1rem 4rem; }
@media (min-width: 720px) {
  .site-head { padding: 2rem 1.25rem 0; }
  .site-wrap { padding: 0.5rem 1.25rem 4rem; }
}

/* Menu ------------------------------------------------------------------- */
.site-nav { border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.menu-switch { position: absolute; width: 1px; height: 1px; opacity: 0; }
.menu-button {
  display: block;
  cursor: pointer;
  padding: 0.6rem 0.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.menu-button::after { content: " +"; }
.menu-switch:checked ~ .menu-button::after { content: " \2013"; }
.menu-switch:focus-visible ~ .menu-button { outline: 2px solid var(--accent); outline-offset: 2px; }
.menu-list, .menu-children { list-style: none; }
.menu-list { display: none; padding: 0.25rem 0 0.5rem; }
.menu-switch:checked ~ .menu-list { display: block; }
.menu-list a {
  display: block;
  padding: 0.4rem 0.25rem;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
}
.menu-list .is-current > a { color: var(--primary); font-weight: 600; }
.menu-children { padding-left: 1rem; }
.menu-children a { font-size: 0.85rem; opacity: 0.8; }
@media (min-width: 720px) {
  .menu-switch, .menu-button { display: none; }
  .menu-list, .menu-switch:checked ~ .menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    align-items: baseline;
  }
  .menu-list a { padding: 0.5rem 0; }
  .menu-children { display: none; }
  .menu-list > .is-open { display: flex; align-items: baseline; gap: 0.75rem; }
  .menu-list > .is-open > .menu-children { display: flex; flex-wrap: wrap; padding: 0; gap: 0 1rem; }
}

/* Page ------------------------------------------------------------------- */
.hero { padding: 2rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 720px) { .hero { padding: 3rem 0 2rem; } }
.hero h1 { font-size: 1.9rem; color: var(--primary); line-height: 1.2; }
@media (min-width: 720px) { .hero h1 { font-size: 2.5rem; } }
.hero p { margin-top: 0.75rem; opacity: 0.85; }
.hero img.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); margin-bottom: 1rem; }
section.site-section { padding: 2rem 0; border-bottom: 1px solid var(--border); }
section.site-section > h2 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--primary); }
@media (min-width: 720px) { section.site-section > h2 { font-size: 1.5rem; } }
.item-card { border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1rem; }
.item-card h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.item-card .meta { font-size: 0.8rem; opacity: 0.6; }
.empty { opacity: 0.5; font-style: italic; }
footer.site-footer { padding-top: 2rem; font-size: 0.8rem; opacity: 0.6; }

/* Authored prose --------------------------------------------------------- */
.site-prose p, .site-prose ul, .site-prose blockquote, .site-prose h2, .site-prose h3 { margin-bottom: 1rem; }
.site-prose h2 { font-size: 1.2rem; color: var(--primary); }
.site-prose h3 { font-size: 1.05rem; }
.site-prose blockquote { border-left: 2px solid var(--border); padding-left: 1rem; font-style: italic; opacity: 0.9; }
.rt-list { padding-left: 1.2rem; }
.rt-list li { margin-bottom: 0.4rem; }
.rt-divider { border: none; border-top: 1px solid var(--border); margin: 2rem auto; width: 40%; }

/* Testimonials, gallery, call to action, questions ------------------------ */
.testimonial-list { display: grid; gap: 1rem; }
@media (min-width: 720px) { .testimonial-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.testimonial { border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; }
.testimonial blockquote p { margin-bottom: 0.6rem; }
.testimonial figcaption { font-size: 0.8rem; opacity: 0.7; }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery-item img { border-radius: 8px; display: block; width: 100%; }
.gallery-item figcaption { font-size: 0.75rem; opacity: 0.7; padding-top: 0.25rem; }
.cta { border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.cta-action {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
}
.faq-item { border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.faq-item > summary { cursor: pointer; font-weight: 600; }
.faq-answer { padding-top: 0.5rem; opacity: 0.9; }
.faq-answer p { margin-bottom: 0.6rem; }

.rivr-block-summary { font-size: 0.8rem; opacity: 0.6; margin-bottom: 1rem; }
.rivr-block-status { opacity: 0.6; font-style: italic; }
.rivr-block-error { color: var(--primary); }
.rivr-block-progress { font-size: 0.8rem; opacity: 0.75; margin-bottom: 0.75rem; }
.rivr-block-group { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.55; margin: 1.25rem 0 0.4rem; }
.rivr-block-list { list-style: none; }
.rivr-block-item { display: flex; gap: 0.75rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.rivr-block-item:last-child { border-bottom: 0; }
.rivr-block-item-main { min-width: 0; flex: 1 1 14rem; }
.rivr-block-item-name { font-size: 0.95rem; }
.rivr-block-item-note { display: block; font-size: 0.75rem; opacity: 0.6; }
.rivr-block-claimants { font-size: 0.75rem; opacity: 0.8; }
.rivr-block-open { font-size: 0.75rem; opacity: 0.5; }
.rivr-block-done { text-decoration: line-through; opacity: 0.5; }
.rivr-block-button { font: inherit; font-size: 0.8rem; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--fg); cursor: pointer; }
.rivr-block-button:hover { border-color: var(--accent); }
.rivr-block-button[disabled] { opacity: 0.4; cursor: default; }
.rivr-block-signin { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; font-size: 0.8rem; opacity: 0.85; margin-top: 1rem; }
.rivr-block-extras { margin-top: 1.25rem; }
.rivr-block-offer { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.rivr-block-offer input { flex: 1 1 12rem; min-width: 0; font: inherit; font-size: 0.85rem; padding: 0.35rem 0.6rem; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--fg); }
.rivr-form { display: grid; gap: 1rem; margin-top: 0.5rem; }
.rivr-form-intro { font-size: 0.9rem; opacity: 0.85; }
.rivr-form-field { display: grid; gap: 0.3rem; }
.rivr-form-label { font-size: 0.85rem; }
.rivr-form-required { opacity: 0.5; font-size: 0.75rem; margin-left: 0.3rem; }
.rivr-form-help { font-size: 0.75rem; opacity: 0.6; }
.rivr-form-problem { font-size: 0.75rem; color: var(--primary); }
.rivr-form-input, .rivr-form-textarea, .rivr-form-select { font: inherit; font-size: 0.9rem; padding: 0.45rem 0.6rem; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--fg); width: 100%; max-width: 100%; box-sizing: border-box; }
.rivr-form-textarea { min-height: 6rem; resize: vertical; }
.rivr-form-options { display: grid; gap: 0.3rem; }
.rivr-form-option { display: flex; gap: 0.5rem; align-items: baseline; font-size: 0.85rem; }
.rivr-form-option input { margin: 0; }
.rivr-form-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.rivr-form-sent { font-size: 0.95rem; }
/* The honeypot. Off-screen rather than display:none, because a form-filler
   that skips hidden fields is the one thing this is trying to catch. */
.rivr-form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 30rem) {
  .rivr-block-item { gap: 0.35rem; }
  .rivr-block-item-note { display: none; }
}
