/* ==========================================================================
   Thrive Hub — shared site stylesheet (Phase 1)
   Brand kit: images/brand/README.md (Olga's swatch, 2026-07-08).
   Colour usage: 60% warm cream bg · 25% forest green · 10% white/moss · 5% orange (CTA only).
   Body text = ink #1E1E1E (NEVER taupe on cream — contrast fails).
   Taupe #AB9D84 only for captions on white backgrounds.
   Structure/motion reference: ancientritual.com (editorial, generous whitespace).
   ========================================================================== */

:root {
  --green: #1C5D3D;
  --green-hover: #164B31;
  --cream: #F2E5C7;
  --orange: #FF7122;
  --orange-hover: #E96215;
  --moss: #DDE8DF;
  --sage: #7F9E88;
  --taupe: #AB9D84;          /* captions on white ONLY */
  --ink: #1E1E1E;
  --muted: #55534a;          /* secondary text that still passes on cream */
  --hairline: #dccfab;
  --white: #FFFFFF;
  --font-body: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container: 1140px;
  --container-narrow: 760px;
  --radius: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 10px 30px rgba(28, 93, 61, 0.08);
}

/* ---------- Reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* belt-and-braces; wide content lives in .table-scroll */
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: var(--white);
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus-visible { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 650;
  color: var(--green);
  margin: 0 0 1.2em;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.6;
  max-width: 52ch;
}

.caption-on-white { color: var(--taupe); font-size: 0.85rem; } /* taupe permitted here only */

.footnote { color: var(--muted); font-size: 0.85rem; text-align: center; margin-top: 28px; }

/* ---------- Testimonials marquee (home, after hero) ----------
   Auto-scrolls slowly; pauses on hover and keyboard focus; each card
   opens the full story in a <dialog>. Under prefers-reduced-motion the
   strip becomes a normal horizontal scroller. */

.marquee-section {
  padding: clamp(28px, 4vw, 48px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--moss);
}

.marquee {
  overflow: hidden;
  /* premium touch: cards dissolve at the edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  padding: 6px 0 14px; /* room for card shadows */
}
[data-reviews-marquee]:empty { display: none; }
[data-reviews-marquee]:empty + .footnote { display: none; }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration, 90s) linear infinite;
}

@media (max-width: 640px) {
  .marquee-track { --marquee-duration: 130s; } /* slower on mobile — readable */
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

.marquee-group {
  display: flex;
  gap: 24px;
  padding-right: 24px;
  align-items: stretch;
}

.marquee .marquee-card {
  position: relative;
  width: min(360px, 82vw);
  flex: none;
  cursor: pointer;
  border: 1px solid rgba(127, 158, 136, 0.30);
  border-radius: var(--radius);
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out-quint), box-shadow 0.35s var(--ease-out-quint), border-color 0.35s var(--ease-out-quint);
}

@media (hover: hover) {
  .marquee .marquee-card:hover {
    border-color: var(--sage);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
  }
}

/* Header: avatar · name + verified · stars right (flat review-grid look) */
.marquee-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.marquee-stars {
  margin-left: auto;
  flex: none;
  color: var(--sage);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.marquee-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--moss);
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1.5px rgba(127, 158, 136, 0.5);
}

.marquee-who { display: grid; gap: 2px; min-width: 0; }

.marquee-role {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.marquee-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.marquee-verified { color: var(--sage); flex: none; }

.marquee-quote {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.marquee-now {
  font-size: 0.88rem;
  color: var(--muted);
  margin: auto 0 0;
  padding-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.marquee-now + .marquee-now { margin-top: 4px; }

/* Full-story dialog */

.review-dialog {
  border: none;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  max-width: min(560px, 92vw);
  box-shadow: var(--shadow-lift);
  background: var(--white);
  color: var(--ink);
}

.review-dialog::backdrop { background: rgba(30, 30, 30, 0.45); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }

@media (prefers-reduced-motion: no-preference) {
  .review-dialog[open] { animation: dialog-enter 0.3s var(--ease-out-quint); }
  @keyframes dialog-enter {
    from { opacity: 0; transform: translateY(10px) scale(0.985); }
    to   { opacity: 1; transform: none; }
  }
}

.review-dialog .marquee-head { padding-bottom: 12px; border-bottom: 1px solid var(--moss); }

.review-dialog-quote {
  margin: 4px 0 18px;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
}

.review-dialog-line { margin: 0 0 10px; font-size: 0.95rem; }

.review-dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
}
.review-dialog-close:hover { background: var(--moss); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee .marquee-card:hover { transform: none; box-shadow: none; }
  .review-dialog[open] { animation: none; }
}

/* Client-journey cards (Testimonials) */
.journey-name { color: var(--muted); font-size: 0.88rem; margin: -6px 0 14px; }
.journey-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-right: 6px;
}
.journey-label--before { color: var(--muted); }
.journey-label--now {
  color: var(--white);
  background: var(--green);
  padding: 2px 8px 1px;
  border-radius: var(--radius-pill);
}

/* the "Now" line itself reads stronger than "Before" */
.marquee-now:has(.journey-label--now) { color: var(--ink); font-weight: 500; }

.text-muted { color: var(--muted); }

/* ---------- Layout primitives ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--moss { background: var(--moss); }
.section--white { background: var(--white); }
.section--green { background: var(--green); }

.section--green h2,
.section--green h3,
.section--green p { color: var(--cream); }

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 56px); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out-quint), transform 0.3s var(--ease-out-quint), box-shadow 0.3s var(--ease-out-quint);
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-hover); }

/* Orange = CTA only, ≤5% of any page. Ink text (white on #FF7122 fails contrast). */
.btn-cta { background: var(--orange); color: var(--ink); }
.btn-cta:hover { background: var(--orange-hover); }

.btn-ghost {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.btn-ghost:hover { background: rgba(28, 93, 61, 0.07); }

.btn-small { padding: 10px 22px; font-size: 0.92rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 229, 199, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.4s var(--ease-out-quint), border-color 0.4s var(--ease-out-quint), box-shadow 0.4s var(--ease-out-quint);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; border-radius: 50%; }

.brand-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:not(.btn):hover { color: var(--green); border-bottom-color: var(--sage); }
.site-nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }

/* Hamburger (mobile) */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-soft);
  }

  .nav-open .site-nav { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .site-nav li { border-bottom: 1px solid var(--hairline); }
  .site-nav li:last-child { border-bottom: none; padding-top: 14px; }
  .site-nav a:not(.btn) { display: block; padding: 14px 2px; border-bottom: none; }
  .site-nav .btn { display: block; text-align: center; }

  .nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(72px, 11vw, 150px) 0 clamp(64px, 9vw, 120px); }

.hero .lead { margin-bottom: 2em; }

.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); }
.page-hero .lead { color: var(--muted); }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-soft);
}

.card--moss { background: var(--moss); box-shadow: none; }

.card h3 { margin-top: 0; }

.card-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card--moss .card-icon { background: var(--white); }

/* ---------- Steps (How it works) ---------- */

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 16px;
}

/* Photo-top card: image bleeds over the card padding to its edges.
   Generated brand-series photos (Higgsfield, 13 Jul) — swap for Olga's
   real photos when they arrive (bump -v1 suffix). */
.card-photo {
  margin: calc(-1 * clamp(24px, 3.5vw, 40px)) calc(-1 * clamp(24px, 3.5vw, 40px)) 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Step cards get a soft moss gradient and an oversized ghost numeral
   (from data-step) as a corner watermark — interim fill until Olga's
   photos land and the cards can switch to photo-top layout. */
.card[data-step] {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--white) 52%, #EAF1EB 100%);
}

.card--moss[data-step] {
  background: linear-gradient(155deg, var(--moss) 52%, #D2E1D5 100%);
}

.card[data-step]::after {
  content: attr(data-step);
  position: absolute;
  top: -0.14em;
  right: 10px;
  font-size: clamp(6.5rem, 11vw, 9.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

/* ---------- Founder / photo blocks ---------- */

.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.photo-frame img { width: 100%; height: auto; }

/* ---------- Testimonials ---------- */

.testimonials-grid,
[data-reviews-container] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

[data-reviews-container]:empty { display: none; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
}

.testimonial-mark {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--sage);
  margin-bottom: 6px;
}

.testimonial-quote { font-size: 1.05rem; line-height: 1.6; margin: 0 0 18px; }

.testimonial-attr { font-size: 0.9rem; }
.testimonial-name { font-weight: 600; color: var(--ink); }
.testimonial-meta { color: var(--taupe); } /* on white card — taupe OK */

/* ---------- Numbers band ---------- */

.numbers-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(20px, 4vw, 40px);
  text-align: center;
}

.number-stat .stat-value {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.02em;
}

.section--green .number-stat .stat-value { color: var(--cream); }

.number-stat .stat-label { color: var(--muted); font-size: 0.95rem; }
.section--green .number-stat .stat-label { color: var(--moss); }

/* ---------- Schedule table ---------- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

.schedule-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 880px; /* forces scroll INSIDE .table-scroll on mobile, never page-level */
  font-size: 0.92rem;
}

.schedule-table caption {
  text-align: left;
  padding: 18px 20px 6px;
  font-weight: 600;
  color: var(--ink);
}

.schedule-table th,
.schedule-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--moss);
  min-width: 110px;
}

.schedule-table thead th {
  background: var(--green);
  color: var(--cream);
  font-weight: 600;
  position: sticky;
  top: 0;
}

.schedule-table tbody th {
  background: var(--moss);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.schedule-table .class-name { display: block; font-weight: 600; color: var(--green); }
.schedule-table .class-time { display: block; font-size: 0.82rem; color: var(--muted); }
.schedule-table .cell-empty { color: var(--taupe); } /* on white — taupe OK */
.schedule-table .cell-coworking { background: rgba(221, 232, 223, 0.45); }

/* ---------- Notes / placeholders ---------- */

.draft-note {
  display: inline-block;
  background: var(--white);
  border: 1px dashed var(--sage);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.placeholder-box {
  border: 2px dashed var(--sage);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  color: var(--muted);
}

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }

.cta-band h2 { max-width: 26ch; margin-left: auto; margin-right: auto; }

.cta-band .lead {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2em;
}

.cta-band .btn-row { justify-content: center; }

.section--green .btn-ghost {
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px var(--cream);
}
.section--green .btn-ghost:hover { background: rgba(242, 229, 199, 0.12); }

.section--green a { color: var(--cream); }

/* ---------- Prose (long-form pages) ---------- */

.prose { max-width: 62ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }

.pull-line {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  line-height: 1.45;
  color: var(--green);
  border-left: 3px solid var(--sage);
  padding-left: 22px;
  margin: 1.6em 0;
}

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.crosslist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.crosslist li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.crosslist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--taupe);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green);
  color: var(--moss);
  padding: clamp(48px, 7vw, 80px) 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  margin-bottom: clamp(32px, 5vw, 48px);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.site-footer h4 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1em;
}

.footer-brand img { width: 48px; height: 48px; border-radius: 50%; margin-bottom: 14px; }

.footer-tagline {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--cream);
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }

.site-footer a { color: var(--moss); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }

.site-footer :focus-visible { outline-color: var(--cream); }

.footer-legal {
  border-top: 1px solid rgba(221, 232, 223, 0.25);
  padding-top: 22px;
  font-size: 0.83rem;
  color: var(--moss);
}

.footer-disclaimer { margin-bottom: 8px; }

/* ---------- "Ask AI about Thrive Hub" footer band ----------
   AEO trust block: Mira opens the on-site concierge (data-open-chat hook in
   chatbot.js); external pills open ChatGPT/Perplexity/Claude with a prefilled
   question that includes thrive-hub.org so browsing models answer from the
   live site rather than stale memory. */
/* Ask-AI lives in the footer-brand column (bottom-left — first thing the footer reveal shows) */
.ask-ai {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ask-ai-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream);
}

.ask-ai-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer .ask-ai-links li { margin-bottom: 0; }

/* Contact column as icon pills (same look/hover as the Ask-AI pills) */
.contact-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-place { margin: 18px 0 0; color: var(--cream); opacity: 0.85; }

.ask-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1.5px solid rgba(221, 232, 223, 0.55);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out-quint), border-color 0.3s var(--ease-out-quint), transform 0.3s var(--ease-out-quint);
}

.ask-ai-pill,
.site-footer a.ask-ai-pill { color: var(--cream); text-decoration: none; }

.ask-ai-pill:hover,
.site-footer a.ask-ai-pill:hover {
  color: var(--cream);
  text-decoration: none;
  background: rgba(221, 232, 223, 0.14);
  border-color: var(--cream);
  transform: translateY(-1px);
}

/* Icons are collapsed at rest (text-only pills) and slide out on hover/focus —
   the negative margin cancels the flex gap so the hidden icon takes no space. */
.ask-ai-pill svg {
  width: 18px;
  height: 18px;
  flex: none;
  max-width: 0;
  margin-right: -9px;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    max-width 0.35s var(--ease-out-quint),
    margin 0.35s var(--ease-out-quint),
    opacity 0.35s var(--ease-out-quint),
    transform 0.35s var(--ease-out-quint);
}

.ask-ai-pill:hover svg,
.ask-ai-pill:focus-visible svg {
  max-width: 18px;
  margin-right: 0;
  opacity: 1;
  transform: none;
}

/* Mira is the house concierge — she gets the brand-orange CTA treatment
   (ink on orange per the a11y contrast rule). */
.ask-ai-pill--mira {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  font-weight: 600;
}

.ask-ai-pill--mira:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: var(--ink);
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .ask-ai-pill,
  .ask-ai-pill svg { transition: none; }
  .ask-ai-pill:hover { transform: none; }
}

/* ---------- Scroll reveal ----------
   Hidden state applies ONLY when JS is running (html.js) so content is
   never invisible without JS. site.js adds .revealed via IntersectionObserver,
   sets --reveal-delay on grid children for a 90ms stagger, and removes the
   data-reveal attribute once settled so component transitions (card hover)
   take back over. */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out-quint), transform 0.6s var(--ease-out-quint);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn, .btn:hover { transform: none; transition: none; }
  .nav-toggle-bar { transition: none; }
}

/* ===== Assessment funnel =====
   Styles for /assessment.html + /assessment.js only. Appended per project
   convention — core styles above are untouched. Reuses brand tokens. */

.assessment-app { max-width: 640px; margin: 0 auto; }

.assessment-screen { animation: assessment-fade 0.35s ease; }

@keyframes assessment-fade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.assessment-card { padding: clamp(24px, 4vw, 44px); }

.assessment-meta {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.6em;
}

/* Consent gate */

.assessment-consent {
  background: var(--moss);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.assessment-consent-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.55;
}

.assessment-consent-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--green);
  cursor: pointer;
}

.assessment-actions { margin-top: 8px; }

.assessment-actions .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.assessment-finenote {
  margin-top: 18px;
  font-size: 0.83rem;
  color: var(--muted);
}

/* Progress */

.assessment-progress { margin-bottom: 24px; }

.assessment-progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.assessment-progress-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--moss);
  overflow: hidden;
}

.assessment-progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--green);
  transition: width 0.4s var(--ease-out-quint);
}

/* Question groups + Likert rows (large tap targets, mobile-first) */

.assessment-dim-title { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 0.9em; }

.assessment-question {
  border: none;
  padding: 0;
  margin: 0 0 26px;
}

.assessment-question-text {
  padding: 0;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.45;
}

.likert {
  display: grid;
  gap: 8px;
}

.likert-option {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  min-height: 48px; /* comfortable tap target */
  border: 1.5px solid var(--moss);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out-quint), background-color 0.3s var(--ease-out-quint);
}

.likert-option:hover { border-color: var(--sage); }

.likert-option:has(input:checked) {
  border-color: var(--green);
  background: var(--moss);
}

.likert-option:has(input:focus-visible) {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.likert-option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.likert-num {
  font-weight: 600;
  color: var(--green);
  min-width: 1.2em;
  text-align: center;
}

.likert-text { font-size: 0.95rem; }

@media (min-width: 640px) {
  /* Wider screens: 5 compact columns, number over label */
  .likert { grid-template-columns: repeat(5, 1fr); }
  .likert-option {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 6px;
    padding: 12px 8px;
  }
  .likert-text { font-size: 0.8rem; line-height: 1.3; }
}

.assessment-error {
  color: #a4341f; /* accessible red-brown on white */
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0 0 16px;
}

/* Email gate */

.assessment-gate-form { margin-top: 10px; }

.assessment-field { margin-bottom: 18px; }

.assessment-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.assessment-field input {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--sage);
  border-radius: 12px;
}

.assessment-field input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

/* Result */

.assessment-result-headline { margin-bottom: 1em; }

.result-block { margin-bottom: 18px; }

.result-block--strength { border-left: 5px solid var(--green); }

.result-block--growth { border-left: 5px solid var(--orange); }

.result-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}

.tip-box {
  background: var(--moss);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 22px;
}

.tip-box .result-kicker { color: var(--green); }

.assessment-disclaimer {
  border: 1.5px solid var(--hairline);
  border-radius: 12px;
  background: var(--cream);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 36px;
}

.assessment-cta { margin-top: 8px; }

.assessment-cta-fallback { text-align: center; padding: clamp(28px, 4vw, 44px); }

.assessment-cta-fallback .btn { margin-top: 12px; }

.assessment-calendly {
  min-height: 680px; /* Calendly inline widget default height */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  .assessment-screen { animation: none; }
  .assessment-progress-fill { transition: none; }
}

/* ===== Hero brand photo (generated per swatch "brand in action" mock) ===== */

.hero--photo {
  background-image:
    linear-gradient(90deg, rgba(242, 229, 199, 0.94) 0%, rgba(242, 229, 199, 0.72) 46%, rgba(242, 229, 199, 0.12) 100%),
    url(/images/brand/hero-meditation-960-v1.webp);
  background-size: cover;
  background-position: 74% center;
  /* tighter than the generic .hero padding — the whole hero must fit the first screen */
  padding: clamp(48px, 6vw, 80px) 0;
}

.hero--photo h1,
.hero--photo .lead {
  max-width: 620px;
}

@media (min-width: 760px) {
  .hero--photo {
    background-image:
      linear-gradient(90deg, rgba(242, 229, 199, 0.95) 0%, rgba(242, 229, 199, 0.66) 42%, rgba(242, 229, 199, 0) 78%),
      url(/images/brand/hero-meditation-v1.webp);
    /* photo locks to exactly one screen: viewport minus sticky header (~70px) */
    min-height: calc(100vh - 70px);
    min-height: calc(100svh - 70px);
    display: flex;
    align-items: center;
  }
  .hero--photo .container { width: 100%; }
}

/* ===== v3 Home redesign: hero + Surviving vs Thriving (2026-07-12) =====
   Ported from Claude Design iteration. Brief: "professional, data-driven,
   warm colors" — clinical credibility presented warmly
   (ref: parsleyhealth.com/labs/how-it-works).
   Palette rules unchanged: cream 60% · green 25% · orange CTA-only ≤5%. */

/* --- Hero: copy + credentials left, photo + sample readout right --- */

.hero--data { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 96px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero--data h1 { max-width: 15ch; }

.hero-proof {
  list-style: none;
  margin: clamp(30px, 4vw, 48px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
}

.hero-proof li { display: grid; gap: 2px; }

.hero-proof .proof-value {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.hero-proof .proof-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.hero-visual { position: relative; }

.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
}

/* Sample readout card — overlaps the photo like a lab result */

.hero-snapshot {
  position: absolute;
  left: clamp(-32px, -2.5vw, -16px);
  bottom: 28px;
  width: min(330px, 88%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  padding: 22px 24px 20px;
}

.snapshot-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--green);
}

.snapshot-row {
  display: grid;
  grid-template-columns: 106px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--moss);
}

.snapshot-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.snapshot-track {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--moss);
  overflow: hidden;
}

.snapshot-fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--sage);
}

.snapshot-row:last-of-type .snapshot-fill { background: var(--green); }

.snapshot-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.snapshot-note {
  margin: 12px 0 2px;
  font-size: 0.78rem;
  color: var(--taupe); /* caption on white — taupe OK */
}

.hero-snapshot .card-link { margin-top: 4px; font-size: 0.92rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero--data h1 { max-width: none; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .hero-snapshot {
    position: static;
    width: auto;
    margin: -48px 16px 0;
  }
}

/* Entrance, mirroring the previous hero (motion-gated) */

@media (prefers-reduced-motion: no-preference) {
  html.js .hero--data .eyebrow,
  html.js .hero--data h1,
  html.js .hero--data .lead,
  html.js .hero--data .btn-row,
  html.js .hero--data .hero-proof,
  html.js .hero--data .hero-visual {
    animation: hero-data-enter 0.5s var(--ease-out-quint) both;
  }

  html.js .hero--data h1 { animation-delay: 100ms; }
  html.js .hero--data .lead { animation-delay: 200ms; }
  html.js .hero--data .btn-row { animation-delay: 300ms; }
  html.js .hero--data .hero-proof { animation-delay: 400ms; }
  html.js .hero--data .hero-visual { animation-delay: 250ms; }

  @keyframes hero-data-enter {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .hero--data .eyebrow,
  html.js .hero--data h1,
  html.js .hero--data .lead,
  html.js .hero--data .btn-row,
  html.js .hero--data .hero-proof,
  html.js .hero--data .hero-visual { animation: none; }
}

/* --- Surviving vs Thriving: five signals as a clinical comparison --- */

.compare { margin-top: 8px; }

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
}

.compare-head {
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--green);
}

.compare-col-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.compare-col-title em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.compare-col-title--thrive { color: var(--green); }

.compare-row { padding: 20px 0; border-bottom: 1px solid var(--moss); }

.compare-dim {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 4px;
}

.compare-cell {
  margin: 0;
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}

.compare-cell::before {
  position: absolute;
  left: 0;
  font-weight: 600;
}

.compare-cell--survive { color: var(--muted); }
.compare-cell--survive::before { content: "—"; color: var(--taupe); } /* on white — taupe OK */

.compare-cell--thrive { color: var(--ink); font-weight: 500; }
.compare-cell--thrive::before { content: "✓"; color: var(--green); }

.compare-tag { display: none; }

@media (max-width: 760px) {
  .compare-head { display: none; }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .compare-dim { padding-top: 0; }

  .compare-tag {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 3px;
  }

  .compare-cell--survive .compare-tag { color: var(--taupe); }
  .compare-cell--thrive .compare-tag { color: var(--green); }
}

/* ===== Motion & micro-interactions (v0.2 design polish) =====
   Reference: ancientritual.com — slow, editorial, settling motion.
   Rules of this section: animate transform/opacity only (+ box-shadow on
   hover, sparingly); hover effects gated behind (hover: hover); everything
   collapses to no-motion under prefers-reduced-motion (block at the end,
   extending the core reduced-motion block above). No external assets. */

:root {
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lift: 0 18px 44px rgba(28, 93, 61, 0.13);
}

/* --- 1. Header: slightly translucent at rest, solidifies + logo settles
       on scroll. site.js toggles .is-scrolled; scoped to html.js so
       pages without site.js (privacy/terms) keep the solid default. --- */

html.js .site-header {
  background: rgba(242, 229, 199, 0.72);
  border-bottom-color: transparent;
}

html.js .site-header.is-scrolled {
  background: rgba(242, 229, 199, 0.94);
  border-bottom-color: var(--hairline);
  box-shadow: 0 8px 28px rgba(28, 93, 61, 0.07);
}

.brand img {
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out-quint);
}

html.js .site-header.is-scrolled .brand img { transform: scale(0.86); }

/* --- 2. Buttons: unified lift on hover (pointer devices only),
       gentle press on :active (all devices). --- */

@media (hover: hover) {
  .btn-primary:hover { box-shadow: 0 10px 26px rgba(28, 93, 61, 0.2); }
  .btn-cta:hover { box-shadow: 0 10px 26px rgba(255, 113, 34, 0.26); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green), 0 10px 26px rgba(28, 93, 61, 0.1); }
  .section--green .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream), 0 10px 26px rgba(0, 0, 0, 0.12); }
}

@media (hover: none) {
  .btn:hover { transform: none; } /* no sticky-hover lift on touch */
}

.btn:active {
  transform: translateY(1px);
  transition-duration: 120ms;
}

.assessment-actions .btn:disabled:active { transform: none; }

/* --- 3. Cards: gentle lift; card-link nudges 4px right on card hover.
       (While a card is still [data-reveal], the reveal transition owns the
       element; site.js removes the attribute once settled so this
       transition takes over.) --- */

.card {
  transition: transform 0.35s var(--ease-out-quint), box-shadow 0.35s var(--ease-out-quint);
}

.card-link { transition: transform 0.3s var(--ease-out-quint); }

@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  .card--moss:hover { box-shadow: 0 14px 34px rgba(28, 93, 61, 0.1); }
  .card:hover .card-link { transform: translateX(4px); }
}

/* --- 5. Hero (index): very slow Ken Burns on the photo via a pseudo-
       element (text never scales), plus a staggered entrance for the
       copy. Both exist only when motion is welcome. --- */

@media (prefers-reduced-motion: no-preference) {
  html.js .hero--photo {
    position: relative;
    overflow: hidden;
  }

  html.js .hero--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: inherit; /* reuses the section's gradient + photo layers */
    will-change: transform;
    animation: hero-kenburns 14s linear infinite alternate;
  }

  html.js .hero--photo .container {
    position: relative;
    z-index: 1;
  }

  @keyframes hero-kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.04); }
  }

  html.js .hero--photo .eyebrow,
  html.js .hero--photo h1,
  html.js .hero--photo .lead,
  html.js .hero--photo .btn-row {
    animation: hero-enter 0.5s var(--ease-out-quint) both;
  }

  html.js .hero--photo h1 { animation-delay: 120ms; }
  html.js .hero--photo .lead { animation-delay: 240ms; }
  html.js .hero--photo .btn-row { animation-delay: 360ms; }

  @keyframes hero-enter {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
  }
}

/* --- 6. Photo frames: slow, quiet zoom on hover. --- */

@media (hover: hover) {
  .photo-frame img { transition: transform 0.7s var(--ease-out-quint); }
  .photo-frame:hover img { transform: scale(1.03); }
}

/* --- 7. Nav links: underline grows from the left on hover/focus.
       Desktop nav only (mobile menu keeps its row layout). The current
       page keeps its existing static underline. --- */

@media (min-width: 901px) {
  .site-nav a:not(.btn) { position: relative; }

  .site-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s var(--ease-out-quint);
  }

  .site-nav a:not(.btn):hover { border-bottom-color: transparent; }

  .site-nav a:not(.btn):hover::after,
  .site-nav a:not(.btn):focus-visible::after { transform: scaleX(1); }

  .site-nav a[aria-current="page"]::after { content: none; }
}

/* --- 8. Footer links: same underline treatment. --- */

.site-footer ul a,
.footer-legal a {
  position: relative;
}

.site-footer ul a:not(.ask-ai-pill)::after,
.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-out-quint);
}

@media (hover: hover) {
  .site-footer a:hover { text-decoration: none; }

  .site-footer ul a:not(.ask-ai-pill):hover::after,
  .footer-legal a:hover::after { transform: scaleX(1); }
}

.site-footer ul a:not(.ask-ai-pill):focus-visible::after,
.footer-legal a:focus-visible::after { transform: scaleX(1); }

/* --- 9. Schedule rows & testimonial cards: soft staggered fade-slide,
       keyed off their [data-reveal] container's .revealed class. --- */

html.js .schedule-table tbody tr,
html.js .testimonials-grid .testimonial-card {
  transition: opacity 0.6s var(--ease-out-quint), transform 0.6s var(--ease-out-quint);
}

html.js [data-reveal]:not(.revealed) .schedule-table tbody tr,
html.js .testimonials-grid[data-reveal]:not(.revealed) .testimonial-card {
  opacity: 0;
  transform: translateY(14px);
}

html.js .schedule-table tbody tr:nth-child(2),
html.js .testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 90ms; }

html.js .schedule-table tbody tr:nth-child(3),
html.js .testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 180ms; }

html.js .schedule-table tbody tr:nth-child(4),
html.js .testimonials-grid .testimonial-card:nth-child(4) { transition-delay: 270ms; }

html.js .schedule-table tbody tr:nth-child(5) { transition-delay: 360ms; }
html.js .schedule-table tbody tr:nth-child(6) { transition-delay: 450ms; }

/* --- 10. Assessment funnel: slightly slower, settling screen change
       (progress-bar + likert easing refined in their base rules). --- */

.assessment-screen {
  animation-duration: 0.45s;
  animation-timing-function: var(--ease-out-quint);
}

/* --- 12. Reduced motion: everything in this section collapses.
       Extends the core reduced-motion block; only instant states or
       color/opacity changes ≤150ms remain. --- */

@media (prefers-reduced-motion: reduce) {
  html.js .site-header,
  .brand img,
  .card,
  .card-link,
  .photo-frame img,
  .site-nav a:not(.btn)::after,
  .site-footer ul a::after,
  .footer-legal a::after,
  html.js .schedule-table tbody tr,
  html.js .testimonials-grid .testimonial-card,
  .likert-option,
  .assessment-progress-fill {
    transition: none;
  }

  .site-nav a:not(.btn) { transition: color 0.12s ease; }

  html.js .site-header.is-scrolled .brand img { transform: none; }

  .btn:active { transform: none; }

  .btn-primary:hover,
  .btn-cta:hover { box-shadow: none; }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green); }
  .section--green .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }

  .card:hover { transform: none; box-shadow: var(--shadow-soft); }
  .card--moss:hover { box-shadow: none; }
  .card:hover .card-link { transform: none; }

  .photo-frame:hover img { transform: none; }

  html.js [data-reveal]:not(.revealed) .schedule-table tbody tr,
  html.js .testimonials-grid[data-reveal]:not(.revealed) .testimonial-card {
    opacity: 1;
    transform: none;
  }

  html.js .schedule-table tbody tr:nth-child(n),
  html.js .testimonials-grid .testimonial-card:nth-child(n) { transition-delay: 0ms; }

  .assessment-screen { animation: none; }
}

/* ==========================================================================
   v4 "Journey" Home — 1:1 structure/motion port of the locked reference
   (Yoga Studio one-page, dribbble 25722536) adapted to the Thrive Hub brand.
   Sections: jhero / jband / jsplit+jcard / jstack+jslide / jduo / jquote /
   jfinal + minimal header with full-screen split menu (all pages).
   ========================================================================== */

/* ---------- Minimal header + "+ menu" ---------- */

.header-tagline {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.menu-open,
.menu-close {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}

/* The menu pill follows the visitor: fixed top-right on every page,
   frosted-cream so it stays legible over photos and text alike. */
.menu-open {
  position: fixed;
  top: 14px;
  right: clamp(16px, 3vw, 28px);
  z-index: 120;
  padding: 10px 16px;
  background: rgba(242, 229, 199, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  box-shadow: 0 6px 18px rgba(30, 30, 30, 0.08);
}
.menu-open:hover { background: var(--cream); }

/* Tagline stays visually centered now that the button left the flex flow */
.header-inner { position: relative; }
.header-tagline {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-open-plus { font-size: 1.2rem; line-height: 1; transition: transform 0.35s var(--ease-out-quint); }
.menu-open:hover .menu-open-plus { transform: rotate(90deg); }

/* Transparent header floating over the Home hero */
.site-header--hero {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
html.js .site-header--hero,
html.js .site-header--hero.is-scrolled {
  position: absolute;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  .header-tagline { display: none; }
}

/* ---------- Full-screen split menu ---------- */

.site-menu {
  border: none;
  padding: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  max-width: none;
  max-height: none;
  background: var(--cream);
  color: var(--ink);
}
.site-menu::backdrop { background: transparent; }

.site-menu-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  width: 100%;
  height: 100%;
}

.site-menu-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 6vw, 72px);
  overflow-y: auto;
}

.site-menu-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.site-menu-nav ul { list-style: none; margin: 0; padding: 0; }

.site-menu-primary a {
  display: inline-block;
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
}
.site-menu-primary a[aria-current="page"],
.site-menu-primary a:hover { color: var(--green); }

.site-menu-secondary { margin-top: 6px; }
.site-menu-secondary a {
  display: inline-block;
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--muted);
  text-decoration: none;
}
.site-menu-secondary a:hover { color: var(--ink); }

.site-menu-contact { display: grid; gap: 4px; margin-top: 40px; font-size: 0.95rem; }
.site-menu-contact a { color: var(--ink); text-decoration: none; }
.site-menu-contact a:hover { color: var(--green); }
.site-menu-contact span { color: var(--muted); }

.site-menu-photo {
  background-image:
    linear-gradient(rgba(28, 93, 61, 0.08), rgba(28, 93, 61, 0.08)),
    url(/images/steps/step-3-rhythm-v1.webp);
  background-size: cover;
  background-position: center;
}

.menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  color: var(--ink);
  background: var(--cream);
}

@media (max-width: 860px) {
  .site-menu-inner { grid-template-columns: 1fr; }
  .site-menu-photo { display: none; }
  .site-menu-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .site-menu[open] .site-menu-panel > * { animation: menu-item-in 0.5s var(--ease-out-quint) both; }
  .site-menu[open] .site-menu-nav { animation-delay: 60ms; }
  .site-menu[open] .site-menu-contact { animation-delay: 180ms; }
  @keyframes menu-item-in {
    from { opacity: 0; filter: blur(6px); transform: translateY(14px); }
    to   { opacity: 1; filter: none; transform: none; }
  }
}

/* ---------- A. jhero ---------- */

.jhero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center; /* copy sits mid-height, clear of the figure at right */
}

.jhero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(242, 229, 199, 0.94) 0%, rgba(242, 229, 199, 0.62) 44%, rgba(242, 229, 199, 0) 74%),
    url(/images/brand/hero-meditation-v1.webp);
  background-size: cover;
  background-position: 74% center;
}

.jhero-inner { position: relative; width: 100%; padding: clamp(96px, 14vh, 140px) 24px clamp(40px, 7vh, 80px); }

.jhero-copy { max-width: min(660px, 100%); }
.jhero-copy h1 { max-width: 16ch; }
.jhero-lead { margin: 0.4em 0 1.6em; max-width: 46ch; }

.jhero-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.jhero-social { display: flex; gap: 10px; }
.jhero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(30, 30, 30, 0.4);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
}
.jhero-social a:hover { background: var(--ink); color: var(--cream); }

/* Buttons in a row, tall pills: bigger presence without growing wide
   enough to reach the meditating figure at the right of the photo. */
.jhero-stats {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
  margin: clamp(26px, 3.6vh, 40px) 0 0;
}
.jhero-stat { padding: 0 clamp(26px, 3.2vw, 44px); border-left: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); }
.jhero-stat:first-child { padding-left: 0; border-left: none; }
.jhero-stat dt {
  font-size: clamp(2.3rem, 3.8vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  position: relative;
  padding-bottom: 14px;
}
.jhero-stat dt::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--orange);
}
.jhero-stat dd { margin: 10px 0 0; font-size: 0.95rem; line-height: 1.35; color: var(--muted); max-width: 15ch; }
@media (max-width: 640px) {
  .jhero-stats { row-gap: 24px; }
  .jhero-stat { padding: 0; border-left: none; margin-right: 32px; }
}

.jhero-actions { width: fit-content; max-width: 100%; margin-top: clamp(32px, 4.5vh, 56px); }
.jhero-actions .btn-row { flex-wrap: wrap; gap: 12px; }
.jhero-actions .btn { padding: 17px 26px; font-size: 1.02rem; }
.jhero-arrow-row { margin: 16px 0 0; text-align: left; }
.jhero-arrow-row .jhero-arrow { margin-left: clamp(190px, 42%, 260px); } /* sits under the seam of the two pills */

.jhero-arrow {
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .jhero-arrow { animation: jhero-bob 2.2s ease-in-out infinite; display: inline-block; }
  @keyframes jhero-bob { 0%, 100% { transform: none; } 50% { transform: translateY(6px); } }
}

.btn-ghost--photo { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-ghost--photo:hover { background: rgba(30, 30, 30, 0.08); }

/* ---------- B/E. jband (full-photo interstitial CTA) ---------- */

.jband {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.jband--rhythm {
  background-image:
    linear-gradient(rgba(242, 229, 199, 0.55), rgba(242, 229, 199, 0.55)),
    url(/images/steps/step-3-rhythm-v1.webp);
}

.jband--breath {
  background-image:
    linear-gradient(rgba(242, 229, 199, 0.5), rgba(242, 229, 199, 0.38)),
    url(/images/home/band-breath-alpenglow-v1.webp);
}
/* soft cream halo behind the copy so ink text stays readable over peaks/ridge */
.jband--breath .jband-inner {
  background: radial-gradient(ellipse closest-side, rgba(246, 236, 212, 0.82) 0%, rgba(246, 236, 212, 0.55) 55%, rgba(246, 236, 212, 0) 100%);
  border-radius: 50%;
}
.jband--breath h2,
.jband--breath .jband-kicker,
.jband--breath p {
  text-shadow: 0 0 22px rgba(255, 253, 249, 0.85), 0 0 6px rgba(255, 253, 249, 0.6);
}

.jband-inner { padding: 48px 24px; }
.jband-inner h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 0.7em; }
.jband-kicker { font-size: clamp(1.15rem, 1.6vw, 1.4rem); margin-bottom: 0.5em; color: var(--ink); }

.jband-note {
  max-width: 52ch;
  margin: 0 auto 1.4em;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.85;
}

.jband-mark {
  display: block;
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 14px;
}
.jband-mark--green { color: var(--green); }

/* ---------- C. jsplit + jcard ---------- */

.jsplit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.jsplit-lead { position: sticky; top: 96px; }
.jsplit-lead h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.jsplit-lead .btn { margin-top: 12px; }

.jsplit-cards { display: grid; gap: clamp(32px, 5vw, 56px); }

.jcard-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin-bottom: 18px;
}
.jcard-photo img { width: 100%; height: 100%; object-fit: cover; }

.jcard-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--green);
  margin-bottom: 6px;
}

@media (max-width: 860px) {
  .jsplit-grid { grid-template-columns: 1fr; }
  .jsplit-lead { position: static; }
}

/* ---------- D. jstack — full-screen slide-over benefits ---------- */

.jstack { position: relative; }

.jstack-eyebrow {
  position: sticky;
  top: 84px;
  z-index: 5;
  margin: 0 0 0 clamp(24px, 5vw, 72px);
  max-width: 24ch;
}

.jslide {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  background: var(--cream);
  padding: clamp(64px, 10vh, 120px) clamp(24px, 5vw, 72px);
  box-shadow: 0 -18px 40px rgba(30, 30, 30, 0.08);
}

.jslide-photo {
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 74svh;
}
.jslide-photo img { width: 100%; height: 100%; object-fit: cover; }

.jslide-num {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--sage);
  margin-bottom: 10px;
}

.jslide-copy h2 { font-size: clamp(2.4rem, 5.6vw, 4rem); max-width: 12ch; }
.jslide-copy p { max-width: 44ch; color: var(--muted); }

.jslide:nth-of-type(2) { background: var(--white); }
.jslide:nth-of-type(3) { background: var(--moss); }

@media (max-width: 860px) {
  .jslide { grid-template-columns: 1fr; align-content: center; }
  .jslide-photo { max-height: 40svh; }
}

/* jslide enrichment — media column: raised photo + outcomes checklist + themed CTA */
.jslide-media { display: grid; gap: clamp(16px, 2.4vh, 26px); align-self: center; }
.jslide-media .jslide-photo { max-height: 54svh; }

.jslide-list { list-style: none; margin: 0; padding: 0 6px; display: grid; gap: 12px; }
.jslide-list li { position: relative; padding-left: 30px; color: var(--ink); font-size: 1.02rem; }
.jslide-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--orange); }

.jslide-cta { justify-self: start; margin-top: clamp(4px, 1vh, 10px); }

/* copy column: program-fact stats + member voice (real quotes, content/reviews.json) */
.jslide-stats {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(22px, 3.4vh, 40px);
  padding-top: clamp(18px, 2.6vh, 28px);
  border-top: 1px solid rgba(30, 30, 30, 0.14);
  max-width: 44ch;
}
.jstat { display: grid; gap: 6px; flex: 1; }
.jstat-n { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.jstat-l { font-size: 0.88rem; line-height: 1.45; color: var(--muted); }

.jslide-voice { margin: clamp(22px, 3.4vh, 40px) 0 0; padding-left: 20px; border-left: 3px solid var(--orange); max-width: 44ch; }
.jslide-voice blockquote { margin: 0 0 10px; font-size: 1.05rem; line-height: 1.55; color: var(--ink); font-style: italic; }
.jslide-voice figcaption { font-size: 0.88rem; color: var(--muted); }

@media (max-width: 860px) {
  .jslide-media .jslide-photo { max-height: 34svh; }
}

/* ---------- F. jduo — offset portrait cards ---------- */

.section-head--center { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: clamp(36px, 6vw, 64px); }

.jduo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.jduo-card { margin: 0; }
.jduo-card--offset { margin-top: clamp(48px, 8vw, 120px); }

.jduo-card img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.jduo-card figcaption { text-align: center; padding: 16px 8px 0; display: grid; gap: 2px; }
.jduo-card figcaption span { font-size: 0.85rem; color: var(--muted); }

.jduo-more { text-align: center; margin-top: clamp(32px, 5vw, 56px); }

@media (max-width: 640px) {
  .jduo-grid { grid-template-columns: 1fr; }
  .jduo-card--offset { margin-top: 0; }
}

/* ---------- G. jquote — echo quote ---------- */

.jquote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.jquote-block { margin: 0; position: relative; }

.jquote-mark {
  display: block;
  font-size: 3rem;
  line-height: 0.5;
  color: var(--orange);
  margin-bottom: 20px;
  font-weight: 700;
}

.jquote-line {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0.35em 0;
}

.jquote-echo {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.12;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jquote-block cite { display: block; margin-top: 28px; font-style: normal; font-weight: 600; }

.jquote-photo img { border-radius: var(--radius); width: 100%; object-fit: cover; }

@media (max-width: 780px) {
  .jquote-grid { grid-template-columns: 1fr; }
  .jquote-photo { max-width: 380px; }
}

/* ---------- H. jfinal ---------- */

.jfinal {
  padding: clamp(72px, 12vw, 140px) 0;
  text-align: center;
  background-image: linear-gradient(rgba(242,229,199,.52), rgba(242,229,199,.40)), url(/images/home/band-final-lake-v1.webp);
  background-size: cover;
  background-position: 50% 32%;
}
.jfinal-inner {
  background: radial-gradient(ellipse closest-side, rgba(246,236,212,.80) 0%, rgba(246,236,212,.52) 55%, rgba(246,236,212,0) 100%);
  border-radius: 50%;
  padding: clamp(28px, 4vw, 56px) clamp(20px, 6vw, 90px);
}
.jfinal-inner h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 0.45em; text-shadow: 0 1px 14px rgba(246,236,212,.9); }
.jfinal-sub { max-width: 52ch; margin: 0 auto 34px; text-shadow: 0 1px 12px rgba(246,236,212,.9); }
.jfinal .btn-row { justify-content: center; }

/* ---------- Footer reveal (Home only) ---------- */

.page-home main { position: relative; z-index: 1; background: var(--cream); }
.page-home .site-footer { position: sticky; bottom: 0; z-index: 0; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .site-menu[open] .site-menu-panel > * { animation: none; }
  .jhero-arrow { animation: none; }
  .menu-open-plus { transition: none; }
}

/* Rhythm band with member-voices marquee inside (Erik, 13 Jul) */
.jband--voices {
  flex-direction: column;
  min-height: 0;
  padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px);
}

.jband--voices .jband-inner { padding-bottom: 4px; }

.jband-kicker--after {
  margin: 1.3em 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.jband-marquee { width: 100%; margin-top: clamp(28px, 4vw, 44px); }
.jband-marquee .footnote { margin-top: 14px; }

/* Menu pill fades while it travels over photography (class from site.js) */
.menu-open { transition: opacity 0.35s var(--ease-out-quint), background-color 0.35s var(--ease-out-quint), box-shadow 0.35s var(--ease-out-quint); }
.menu-open--faded {
  opacity: 0.72;
  background: rgba(242, 229, 199, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(220, 207, 171, 0.4);
  box-shadow: none;
}
.menu-open--faded:hover,
.menu-open--faded:focus-visible {
  opacity: 1;
  background: var(--cream);
  box-shadow: 0 6px 18px rgba(30, 30, 30, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  .menu-open { transition: none; }
}

/* ---------- Checkerboard (Why / Inside / Who) — ref looppilates.com ----------
   Each pair: photo on one side, and on the other the big title crossfades
   into the explanation IN PLACE while the row is pinned (scroll-driven,
   see site.js). No-JS / reduced-motion / mobile fall back to static
   title-above-copy. */

.checker-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.checker-row--flip .checker-photo { order: 2; }

.checker-photo { min-height: clamp(420px, 82vh, 820px); overflow: hidden; }
.checker-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.checker-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 96px);
}

.checker-pair:nth-of-type(2) .checker-cell { background: var(--white); }

.checker-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-align: center;
  margin: 0 0 0.8em;
}

.checker-copy { max-width: 52ch; font-size: 1.05rem; }

.checker-list {
  list-style: none;
  margin: 0 0 1.1em;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checker-quotes { color: var(--muted); }
.checker-copy .btn { margin-top: 6px; }

/* Scroll-driven swap (desktop, JS, motion allowed) — NO pinning: the page
   keeps scrolling; the title dissolves into the copy while the row passes
   through the viewport (looppilates.com behaviour). */
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  html.js .checker-pair .checker-title {
    margin: 0;
    will-change: opacity, transform;
  }
  html.js .checker-pair .checker-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(40px, 6vw, 96px);
    opacity: 0;
    will-change: opacity, transform;
  }
  html.js .checker-pair .checker-copy > * { max-width: 52ch; width: 100%; }
}

@media (max-width: 860px) {
  .checker-row { grid-template-columns: 1fr; }
  .checker-row--flip .checker-photo { order: 0; }
  .checker-photo { min-height: 46vh; order: -1; } /* photo always leads on mobile */
}

/* ---------- F/G v4 final — Meet Olga video split + typographic echo quote ---------- */

.vD-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.vD-video { display: flex; justify-content: center; }
.vD-videobox { position: relative; width: min(100%, 420px); aspect-ratio: 9/16; max-height: 76svh; border-radius: var(--radius); overflow: hidden; background: #1E1E1E; box-shadow: var(--shadow-lift); }
.vD-videobox video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vvideo-overlay { position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(30,30,30,.35)); cursor: pointer; padding: 0; }
.vvideo-overlay.is-hidden { display: none; }
.vvideo-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(255,253,249,.92); box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .3s var(--ease-out-quint); }
.vvideo-play::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent var(--orange); }
.vvideo-overlay:hover .vvideo-play { transform: translate(-50%,-50%) scale(1.08); }
.vvideo-tag { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; background: rgba(30,30,30,.55); color: #fff; font-size: .8rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px); }
.vchips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.vchips li { background: var(--moss); color: var(--green); font-weight: 600; font-size: .88rem; padding: 8px 16px; border-radius: 999px; }
.vD-aside h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 4px; }
.vD-role { color: var(--muted); margin: 0 0 18px; }
.vD-lead { font-size: 1.05rem; line-height: 1.6; margin: 0 0 22px; max-width: 46ch; }
.vD-aside .vchips { margin-bottom: 22px; }
.vD-voice { font-style: italic; color: var(--muted); margin: 0 0 26px; }
.vD-cta { margin: 0; }
@media (max-width: 860px) { .vD-grid { grid-template-columns: 1fr; } }

.vquoteA-inner { position: relative; max-width: 920px; text-align: center; }
.vquoteA-mark { position: absolute; top: -.32em; left: 50%; transform: translateX(-50%); font-size: clamp(10rem, 22vw, 16rem); line-height: 1; color: rgba(255,113,34,.10); font-weight: 700; pointer-events: none; }
.vquoteA-block { margin: 0; position: relative; }
.vquoteA-line { font-size: clamp(1.8rem, 4vw, 3.1rem); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; margin: 0; }
.vquoteA-line .jq-w { color: #d8d2c2; transition: color .35s ease; }
.vquoteA-line .jq-w.on { color: var(--ink); }
.vquoteA-line em { font-style: normal; }
.vquoteA-line em .jq-w.on { color: var(--orange); }
.vquoteA-avatar { display: block; width: clamp(88px, 10vw, 120px); height: auto; margin: 34px auto 0; border-radius: 50%; box-shadow: 0 0 0 4px var(--white,#fff), 0 0 0 5.5px rgba(28,93,61,.28), 0 12px 28px rgba(11,34,14,.14); }
.vquoteA-block cite { display: block; margin-top: 16px; font-style: normal; font-weight: 700; }
.vquoteA-next { margin-top: 10px; }
.vquoteA-next a { color: var(--green); font-weight: 600; }
