/* Homepage v3 — parts borrowed from the specialty pages (quote band, Google badge,
   three doorways, star ratings). Loads after homepage-v2-1.css. */

.hero-v2{ padding-top:clamp(60px,8vh,116px); padding-bottom:clamp(64px,8.5vh,124px); }
#schedule .sched-embed{ max-width:900px; margin:clamp(1.4rem,2.4vw,2rem) auto 0;
  background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden;
  box-shadow:0 30px 60px -40px rgba(60,55,50,.5); padding:clamp(10px,1.4vw,18px); }
#schedule .sched-reassure{ text-align:center; color:var(--muted); font-size:1.02rem; margin:1.4rem 0 0; }

/* ---------- about: somatic-page treatment (lead paragraph, name plate under portrait) ---------- */
#about-john .about-copy{ margin-top:1.5rem; }
#about-john .about-intro{ font-size:clamp(1.24rem,1.7vw,1.4rem); line-height:1.5; font-weight:600; color:var(--ink);
  margin-bottom:1.5rem; text-wrap:pretty; }
#about-john .about-copy strong{ color:var(--ink); font-weight:600; }
#about-john .about-grid{ grid-template-columns:minmax(0,1fr) minmax(0,.92fr); align-items:start; }
#about-john .about-media{ display:flex; flex-direction:column; align-items:center; position:sticky; top:104px; }
#about-john .about-sub{ font-family:"Lora",Georgia,serif; font-size:clamp(1.24rem,1.8vw,1.5rem);
  line-height:1.25; margin:calc(14px * var(--space)) 0 .2rem; }
#about-john .about-emph{ font-weight:600; color:var(--ink); }
#about-john .about-media .media-frame{ width:100%; display:flex; justify-content:center; margin-inline:auto; }
#about-john .about-media img{ aspect-ratio:auto; height:auto; width:auto; max-width:100%; object-fit:contain; object-position:center; }
#about-john .about-name{ margin:1rem 0 0; text-align:center; font-family:"Work Sans",system-ui,sans-serif;
  font-size:1.02rem; font-weight:600; letter-spacing:.02em; color:var(--ink); max-width:430px; margin-inline:auto; }
@media (max-width:900px){
  #about-john .about-grid{ grid-template-columns:1fr; }
  #about-john .about-media{ position:static; order:-1; max-width:420px; margin:0 auto; }
  #about-john .about-name{ max-width:100%; }
}
@media (max-width:640px){
  #about-john .about-media{ max-width:none; }
  #about-john .about-media img{ width:100%; height:auto; aspect-ratio:16/10; max-height:260px;
    object-fit:cover; object-position:center 18%; }
}

#what-can-change .wrap > .section-head{ margin-bottom:1.3rem; }
#what-can-change .outcomes{ align-items:stretch; grid-auto-rows:1fr; }
#what-can-change .outcome{ display:flex; flex-direction:column; padding:30px 32px; }
#what-can-change .outcome h3{ margin-bottom:.75rem; }
#what-can-change .outcome p{ max-width:38ch; }
#approach .acc{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; align-items:start; }
#approach .pullquote{ max-width:60ch; }
@media (min-width:901px){ #approach .acc-sub{ font-size:.95rem; } }
@media (max-width:900px){ #approach .acc{ grid-template-columns:1fr; } }
.trust-row{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:.55rem .9rem; margin:1.6rem 0 0; }
.hero-v2 .trust-row{ justify-content:flex-start; margin-top:1.5rem; }
@media (max-width:900px){ .hero-v2 .trust-row{ justify-content:center; } }

/* Google review badge — all metrics in em off one font-size so the badge scales together. */
.ipc-google-badge{ font-size:11.2px; display:inline-flex; align-items:center; gap:.75em; box-sizing:border-box;
  min-height:4em; padding:.625em 1.25em .625em .875em; color:var(--ink); background:#fff;
  border:1px solid rgba(60,55,50,.08); border-radius:999px;
  box-shadow:0 1px 2px rgba(60,55,50,.08), 0 6px 18px rgba(60,55,50,.12);
  font-family:"Work Sans",system-ui,sans-serif; text-decoration:none; max-width:100%; cursor:default;
  transition:transform .15s ease, box-shadow .15s ease; }
.ipc-google-badge:hover{ transform:translateY(-2px);
  box-shadow:0 2px 5px rgba(60,55,50,.08), 0 12px 28px rgba(60,55,50,.18); }
.ipc-google-badge__logo{ width:1.94em; height:1.94em; flex:0 0 1.94em; }
.ipc-google-badge__content{ display:flex; flex-direction:column; align-items:flex-start; gap:.125em; line-height:1.1; }
.ipc-google-badge__rating{ display:flex; align-items:center; gap:.44em; }
.ipc-google-badge__score{ color:var(--ink); font-size:1.125em; font-weight:600; }
.ipc-google-badge__stars{ color:#FBBC04; font-size:1.125em; letter-spacing:.0625em; white-space:nowrap; }
.ipc-google-badge__trust{ color:var(--muted); font-size:.75em; letter-spacing:.015em; white-space:nowrap; }
@media (max-width:420px){ .ipc-google-badge{ font-size:10.2px; } }
@media (prefers-reduced-motion:reduce){ .ipc-google-badge{ transition:none; } }

/* quote band */
.quote-band .endorse blockquote{ font-size:clamp(1.35rem,2.4vw,1.95rem); }
.quote-band.clinician .endorse{ max-width:none; }
.quote-band.clinician .endorse-label{ margin:0 0 .9rem; font-family:"Work Sans",system-ui,sans-serif; font-style:normal;
  font-size:.78rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase; opacity:.72; }
.quote-band.clinician .endorse blockquote{ font-size:clamp(1.3rem,2.1vw,1.7rem); max-width:60ch; margin-inline:auto; text-wrap:pretty; }
.quote-band.clinician .endorse figcaption{ font-family:"Work Sans",system-ui,sans-serif; font-style:normal;
  font-size:.92rem; letter-spacing:.06em; }

/* three doorways — circular photo, ring, hairline connector */
.doorways{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(24px,3vw,44px);
  margin-top:clamp(2.4rem,4vw,3.4rem); position:relative; }
.doorway{ display:flex; flex-direction:column; align-items:center; text-align:center; position:relative; }
.dw-photo{ position:relative; width:clamp(150px,15.5vw,208px); aspect-ratio:1; border-radius:50%;
  overflow:hidden; z-index:1; box-shadow:0 18px 40px -22px rgba(60,55,50,.55);
  transition:transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s ease; }
.dw-photo img{ width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .6s cubic-bezier(.22,.61,.36,1); }
.doorway:hover .dw-photo{ transform:translateY(-4px); box-shadow:0 26px 50px -24px rgba(60,55,50,.6); }
.doorway:hover .dw-photo img{ transform:scale(1.07); }
.doorway::before{ content:""; position:absolute; top:calc(clamp(150px,15.5vw,208px) * -0.045);
  width:calc(clamp(150px,15.5vw,208px) * 1.09); aspect-ratio:1; border-radius:50%;
  border:1px solid color-mix(in srgb, var(--clay) 45%, transparent);
  transition:transform .45s cubic-bezier(.22,.61,.36,1), border-color .45s ease; }
.doorway:hover::before{ transform:scale(1.05); border-color:var(--clay); }
.doorway + .doorway::after{ content:""; position:absolute; top:calc(clamp(150px,15.5vw,208px) / 2);
  right:calc(50% + clamp(150px,15.5vw,208px) * .62); width:calc(100% - clamp(150px,15.5vw,208px) * 1.09);
  height:1px; background:var(--line); }
.doorway h3{ font-family:"Lora",Georgia,serif; font-size:clamp(1.24rem,1.9vw,1.46rem); line-height:1.25;
  margin:1.6rem 0 .65rem; min-height:2.5em; display:flex; align-items:center; }
.doorway p{ color:var(--muted); font-size:1.02rem; line-height:1.6; margin:0; max-width:34ch; }

/* testimonials: centered card, five stars above each quote, no photo */
#testimonials .trust-row{ margin:1.5rem 0 0; }
#testimonials .quotes.three{ align-items:stretch; gap:clamp(20px,2.4vw,28px); justify-content:center; grid-template-columns:repeat(3,400px); max-width:100%; margin-inline:auto; }
@media (max-width:1340px){ #testimonials .quotes.three{ grid-template-columns:repeat(3,1fr); }
  #testimonials .quote{ width:auto !important; } }
@media (max-width:900px){ #testimonials .quotes.three{ grid-template-columns:1fr; } }
#testimonials .quote{ display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:clamp(24px,2.4vw,30px) clamp(22px,2.4vw,30px) clamp(20px,2vw,26px); }
#testimonials .quote::before{ display:none; }
#testimonials .q-stars{ color:var(--clay); letter-spacing:.22em; font-size:1.02rem; font-style:normal;
  margin:0 0 .85rem; line-height:1; }
#testimonials .quote p:not(.q-stars){ font-size:1.08rem; line-height:1.62; }
#testimonials .quote cite{ margin-top:0; padding-top:.85rem; }

@media (max-width:900px){
  .doorways{ grid-template-columns:1fr; gap:44px; }
  .doorway + .doorway::after{ display:none; }
  .dw-photo{ width:190px; }
  .doorway::before{ top:-9px; width:207px; }
  .doorway h3{ min-height:0; }
  #testimonials .quote{ padding:clamp(26px,6vw,34px) clamp(22px,5vw,30px); }
}
@media (prefers-reduced-motion:reduce){
  .dw-photo,.dw-photo img,.doorway::before{ transition:none; }
  .doorway:hover .dw-photo,.doorway:hover .dw-photo img,.doorway:hover::before{ transform:none; }
}

/* desktop-only line-fit tweaks (kept out of the mobile layout) */
@media (min-width:901px){
  #what-can-change .lead-p.nowrap-lg{ max-width:none; white-space:nowrap; }
  #approach h2{ max-width:900px; margin-inline:auto; }
}

/* FAQ: benefits checker inside the fee answer (from the specialty pages) */
#faq .faq-check{ display:flex; flex-wrap:wrap; align-items:center; gap:.7rem 1.1rem; margin-top:1.2rem; }
#faq .check-btn{ display:inline-flex; align-items:center; gap:.6rem; font-family:"Work Sans",system-ui,sans-serif;
  font-weight:600; font-size:1rem; background:transparent; color:var(--sage); text-decoration:none;
  padding:.8em 1.6em; border-radius:999px; border:1.5px solid var(--sage);
  transition:background .15s ease, color .15s ease, transform .15s ease; }
#faq .check-btn:hover{ background:var(--sage); color:#fff; transform:translateY(-1px); }
#faq .check-btn svg{ width:16px; height:16px; }
#faq .faq-check-note{ color:var(--muted); font-size:.95rem; line-height:1.5; }

.hero-v2 .mbr{ display:none; }
/* two-line headline on phones: keep the break, size the type to fit */
@media (max-width:900px){
  .hero-v2 .db{ display:inline; }
  .hero.hero-v2 .hero-copy h1{ font-size:clamp(1.3rem,5.95vw,2.05rem) !important; line-height:1.16;
    text-wrap:wrap !important; text-wrap-style:auto !important; }
  /* sub-head stays a notable callout but yields to the headline */
  .hero.hero-v2 .hero-copy .hero-sub{ font-size:1.09rem; }
  .hero.hero-v2 .hero-copy .hero-line{ font-size:1.12rem; }
  .hero.hero-v2 .hero-copy .mbr{ display:inline; }
}
@media (min-width:901px){ .hero-v2 .hero-sub .q{ font-size:23px; } }
@media (max-width:900px){ #opening-quote .endorse blockquote{ font-size:1.32rem !important; line-height:1.42; } }
