/* Breathwork in Richmond, VA (group classes). Builds on /assets/site.css (read-only).
   Same palette and type; the class list form is the hero's one action. */

/* ---------- Hero: words and the class list form left, porch photo right ---------- */
.rva-hero { background: var(--cream); color: var(--teal); padding: 8px 0 calc(var(--section) * 0.5); }
.rva-hero-grid { display: grid; gap: 40px; }
.rva-hero h1 { font-size: clamp(2.1rem, 9.6vw, 4.1rem); margin-bottom: 0.3em; }
.h1-line { display: block; }
.rva-lede { font-size: 1.125rem; line-height: 1.55; max-width: 34ch; margin-bottom: 22px; text-wrap: balance; }
.rva-alt { margin: 18px 0 0; font-size: 16px; color: var(--teal-soft); text-wrap: balance; }
.rva-alt a {
  color: var(--teal); display: inline-flex; align-items: center; min-height: 44px;
  text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.rva-hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%;
  border-radius: 6px;
}

/* ---------- Class list form (hero and closing section) ---------- */
.signup-form {
  background: var(--white); color: var(--teal);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 18px 18px;
  max-width: 560px;
}
.signup-title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; margin: 0 0 14px; }
.signup-form .field { margin-bottom: 14px; }
.signup-form .btn { width: 100%; }
.signup-fine { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--teal-soft); }
.signup-form .form-note { margin-top: 12px; }
@media (min-width: 600px) {
  .signup-form { padding: 28px 28px 22px; }
  .signup-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .signup-fields .field:last-child { grid-column: 1 / -1; }
}

/* Phone: copy and form first, photo after */
@media (max-width: 899px) {
  .rva-hero-photo img { max-height: 420px; }
}
@media (min-width: 900px) {
  .rva-hero { padding: 24px 0 calc(var(--section) * 0.6); }
  .rva-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
  .rva-hero h1 { font-size: clamp(3.2rem, 4.6vw, 4.3rem); }
  .rva-hero-photo { justify-self: end; width: 100%; max-width: 500px; }
  .rva-hero-photo img {
    aspect-ratio: 4 / 5; object-position: 50% 40%;
    max-height: calc(100vh - var(--header-h) - 72px);
    max-height: calc(100svh - var(--header-h) - 72px);
  }
}

/* ---------- What a class is like: photo left, words right (phone: words first) ---------- */
.rva-class { background: var(--cream); color: var(--teal); padding: calc(var(--section) * 0.5) 0 var(--section); }
.rva-class-grid { display: grid; gap: 32px; }
.rva-class-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 60% 40%; border-radius: 6px; }
.rva-class-copy p { max-width: 40ch; text-wrap: balance; }
.rva-class-copy p:last-child { margin-bottom: 0; }
@media (max-width: 899px) {
  .rva-class-photo { order: 2; }
}
@media (min-width: 900px) {
  .rva-class-grid { grid-template-columns: 1.1fr 0.9fr; gap: 88px; align-items: center; }
}

/* ---------- Who it is for: one heading, two columns with a top rule ---------- */
.rva-who { background: var(--white); color: var(--teal); padding: var(--section) 0; }
.rva-who h2 { max-width: 18ch; }
.rva-who-grid { display: grid; gap: 28px; margin-top: 12px; }
.rva-who-item { border-top: 1px solid var(--line); padding-top: 22px; }
.rva-who-item h3 { font-size: 1.6rem; margin-bottom: 0.4em; }
.rva-who-item p { max-width: 38ch; margin: 0; text-wrap: balance; }
.rva-who-more { margin: 40px 0 0; max-width: 52ch; text-wrap: balance; }
.rva-who-more a, .rva-private-row a, .faq-list a {
  color: var(--teal); text-underline-offset: 4px; text-decoration-thickness: 1px;
}
@media (min-width: 900px) {
  .rva-who-grid { grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 24px; }
}

/* ---------- One client quote, centered on the soft teal surface ---------- */
.rva-quote { background: var(--mist); color: var(--teal); padding: calc(var(--section) * 0.8) 0; }
.rva-quote figure { max-width: 860px; margin: 0 auto; text-align: center; }
.rva-quote blockquote { margin: 0; }
.rva-quote blockquote p {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.25;
  margin: 0 auto 0.6em; max-width: 30ch; text-wrap: balance;
}
.rva-quote figcaption { font-size: 15px; letter-spacing: 0.08em; color: var(--teal-soft); }

/* ---------- Guide: words left, round portrait right ---------- */
.rva-guide { background: var(--cream); color: var(--teal); padding: var(--section) 0 calc(var(--section) * 0.6); }
.rva-guide-grid { display: grid; gap: 32px; align-items: center; }
.rva-guide-copy p { max-width: 40ch; text-wrap: balance; }
.rva-guide-copy .creds { margin-bottom: 0; }
.rva-guide-photo { width: min(72vw, 300px); }
.rva-guide-photo img {
  width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 22%;
  border-radius: 50%;
}
@media (max-width: 899px) {
  .rva-guide-photo { order: -1; }
}
@media (min-width: 900px) {
  .rva-guide-grid { grid-template-columns: 1fr auto; gap: 96px; }
  .rva-guide-photo { width: 340px; }
}

/* ---------- Private sessions: one band on the same cream, set off by a rule ---------- */
.rva-private { background: var(--cream); color: var(--teal); padding: 0 0 var(--section); }
.rva-private-row { display: grid; gap: 16px; }
.rva-private-row::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: calc(var(--section) * 0.5 - 16px); grid-column: 1 / -1; }
.rva-private-row h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin: 0; }
.rva-private-row p { max-width: 46ch; margin: 0; text-wrap: balance; }
@media (min-width: 900px) {
  .rva-private-row { grid-template-columns: 1fr 1fr; gap: 16px 96px; align-items: end; }
}

/* ---------- FAQ: heading on top, plain open/close list below (two columns on desktop) ---------- */
.rva-faq { background: var(--white); color: var(--teal); padding: var(--section) 0; }
.rva-faq-grid { display: grid; gap: 28px; }
.rva-faq h2 { font-size: clamp(2rem, 3.2vw, 2.6rem); max-width: 16ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 60px; padding: 14px 0;
  font-size: 1.125rem; font-weight: 500; line-height: 1.4; text-wrap: balance;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none;
  font-family: var(--sans); font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--teal);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { max-width: 58ch; margin: 0 0 20px; color: var(--teal); }
/* Desktop: heading on top, questions in two columns, so no heading sits alone in an empty column */
@media (min-width: 900px) {
  .rva-faq-grid { gap: 36px; }
  .rva-faq h2 { max-width: none; margin: 0; }
  .faq-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: start; border-top: 0; border-bottom: 1px solid var(--line); }
  .faq-list details { border-bottom: 0; border-top: 1px solid var(--line); }
}

/* ---------- Closing signup ---------- */
.rva-join { background: var(--cream); color: var(--teal); padding: var(--section) 0 calc(var(--section) * 0.6); }
.rva-join-grid { display: grid; gap: 32px; }
.rva-join-copy p { max-width: 36ch; text-wrap: balance; }
.rva-join-copy .rva-alt { margin-top: 8px; }
@media (max-width: 899px) {
  .rva-join-copy, .rva-private-row { text-align: center; }
  .rva-join-copy h2, .rva-join-copy p, .rva-private-row h2, .rva-private-row p { margin-inline: auto; }
}
@media (min-width: 900px) {
  .rva-join-grid { grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
  .rva-join .signup-form { justify-self: end; width: 100%; }
}

/* ---------- Scroll-gated class list bar (one action) ---------- */
.class-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--white); color: var(--teal);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(18, 69, 81, 0.08);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .35s ease, visibility 0s linear .35s;
}
body.show-bar .class-bar { transform: none; visibility: visible; transition: transform .35s ease, visibility 0s; }
.class-bar-row { display: flex; align-items: center; justify-content: center; gap: 20px; }
.class-bar p { margin: 0; font-size: 16px; text-wrap: balance; }
.class-bar .btn { flex: none; }
@media (max-width: 599px) {
  .class-bar p { display: none; }
  .class-bar .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .class-bar, body.show-bar .class-bar { transition: none; }
}

/* Inline text links: 44px hit area without moving the line */
.rva-who-more a, .rva-private-row a, .faq-list a { padding-block: 9px; }

/* 320px phones: the shared header (wordmark + Menu) is 3px too wide; tighten it here.
   Same overflow exists on the homepage; belongs in site.css when the orchestrator next edits it. */
@media (max-width: 340px) {
  .header-row { gap: 12px; }
  .wordmark { font-size: 1.25rem; gap: 8px; }
  .signup-title { font-size: 1.3rem; }
}
