/* ==================================================================
   KAEVA COUNSELLING 11.21 — SITEWIDE TYPOGRAPHY CALIBRATION
   Establishes a consistent, readable hierarchy without changing
   content widths, grid layouts, approved line breaks, or breakpoints.
   ================================================================== */

/* ---------- Base reading sizes ---------- */
body {
  font-size: 1rem;
  line-height: 1.7;
}

main p,
main li {
  line-height: 1.72;
}

.hero-lead,
.lead {
  font-size: clamp(1.03rem, 1.25vw, 1.14rem);
  line-height: 1.72;
}

.section-heading > p,
.feature-copy > p:not(.credentials):not(.role-label):not(.format-line),
.profile-intro > p:not(.credentials):not(.role-label),
.editorial-note p,
.contact-note p {
  font-size: 1rem;
  line-height: 1.72;
}

/* ---------- Navigation, controls, and small labels ---------- */
.links > a:not(.btn),
.nav-links a {
  font-size: .88rem;
}

.btn,
.button,
.text-link {
  font-size: .9rem;
  line-height: 1.35;
}

.eyebrow,
.kicker,
.section-kicker,
.role-label,
.quick-compare-label {
  font-size: .77rem;
  line-height: 1.45;
}

.language-button {
  font-size: .77rem;
}

/* ---------- General heading hierarchy ---------- */
h3 {
  font-size: clamp(1.22rem, 1.55vw, 1.46rem);
  line-height: 1.2;
}

.pagehero h1,
.editorial-hero h1 {
  font-size: clamp(3.35rem, 5.15vw, 4.95rem);
  line-height: 1.03;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2.25rem, 3.55vw, 3.15rem);
  line-height: 1.1;
}

/* ---------- Homepage ---------- */
.page-home .hero-copy h1 {
  font-size: clamp(3.8rem, 5.9vw, 5.55rem);
  line-height: .99;
}

.page-home .hero-copy .hero-lead {
  font-size: 1.04rem;
}

.page-home .concern-card h3 {
  font-size: 1.28rem;
  line-height: 1.24;
}

.page-home .concern-card p {
  font-size: .93rem;
  line-height: 1.68;
}

.page-home .feature-copy h3 {
  font-size: clamp(2.2rem, 2.75vw, 2.7rem);
  line-height: 1.1;
}

.page-home .feature-copy > p:not(.credentials):not(.role-label):not(.format-line) {
  font-size: .98rem;
}

.page-home .process-list h3 {
  font-size: 1.13rem;
}

.page-home .process-list p {
  font-size: .91rem;
  line-height: 1.67;
}

.page-home .approach-strip span,
.page-home .approach-strip-expanded span {
  font-size: 1.04rem;
  line-height: 1.3;
}

.page-home .approach-strip-curated > a > small,
.page-home .approach-strip-curated > a > small span,
.page-home .approach-strip-expanded small {
  font-size: .81rem;
  line-height: 1.55;
}

/* Homepage clinician-card readability */
.page-home .hero-therapist-caption strong {
  font-size: 1rem;
  line-height: 1.25;
}

.page-home .hero-therapist-degree {
  font-size: .7rem;
  line-height: 1.42;
}

.page-home .hero-therapist-credentials {
  font-size: .66rem;
  line-height: 1.38;
}

.page-home .hero-therapist-note {
  font-size: .88rem;
  line-height: 1.6;
}

.page-home .feature-education {
  font-size: .88rem;
  line-height: 1.52;
}

/* ---------- Services ---------- */
.page-services .editorial-hero h1 {
  font-size: clamp(3.05rem, 4.65vw, 4.2rem);
  line-height: 1.08;
}

.page-services .service-card h3,
.page-services .service-card-v4 h3,
.page-services .service-item h3 {
  font-size: 1.2rem;
  line-height: 1.24;
}

.page-services .service-card p,
.page-services .service-card-v4 p,
.page-services .service-item p {
  font-size: .94rem;
  line-height: 1.68;
}

/* ---------- Team and comparison ---------- */
.page-team .editorial-hero h1 {
  font-size: clamp(3.35rem, 5vw, 4.65rem);
  line-height: 1.04;
}

.page-team .quick-compare-intro h2 {
  font-size: clamp(2.08rem, 2.85vw, 2.5rem);
  line-height: 1.14;
}

.page-team .quick-compare-person {
  font-size: 1.18rem;
  line-height: 1.25;
}

.page-team .quick-compare-label {
  font-size: .78rem;
}

.page-team .quick-compare-value {
  font-size: .94rem;
  line-height: 1.68;
}

.page-team .compare-copy h2 {
  font-size: clamp(2.18rem, 2.8vw, 2.55rem);
  line-height: 1.12;
}

.page-team .compare-copy h3 {
  font-size: 1.08rem;
}

.page-team .compare-copy p,
.page-team .compare-meta-value {
  font-size: .96rem;
  line-height: 1.68;
}

/* ---------- Counsellor profiles ---------- */
.page-profile .profile-intro h1 {
  font-size: clamp(3.7rem, 5.25vw, 5.05rem);
  line-height: 1;
}

.page-profile .profile-intro h2 {
  font-size: clamp(2.05rem, 2.75vw, 2.58rem);
  line-height: 1.14;
}

.page-profile .profile-intro > p:not(.credentials):not(.role-label) {
  font-size: 1rem;
}

.page-profile .credentials,
.page-profile .credential-summary,
.page-profile .large-credentials {
  font-size: .96rem;
  line-height: 1.68;
}

.page-profile .profile-section h2,
.page-profile .content-section h2 {
  font-size: clamp(2.12rem, 2.8vw, 2.55rem);
  line-height: 1.12;
}

.page-profile .profile-section h3,
.page-profile .profile-approaches .approach-tile h3 {
  font-size: 1.14rem;
  line-height: 1.25;
}

/* ---------- Service and approach detail pages ---------- */
.page-service-detail .pagehero h1,
.page-approach-detail .pagehero h1 {
  font-size: clamp(3.25rem, 5vw, 4.75rem);
}

.page-service-detail .content-section h2,
.page-approach-detail .content-section h2,
.page-service-detail .service-section h2,
.page-approach-detail .service-section h2 {
  font-size: clamp(2.12rem, 2.8vw, 2.55rem);
  line-height: 1.12;
}

.page-service-detail .content-section h3,
.page-approach-detail .content-section h3 {
  font-size: 1.18rem;
}

/* ---------- Contact, fees, FAQ, and utility pages ---------- */
.page-contact .contact-profile h2 {
  font-size: 1.85rem;
  line-height: 1.15;
}

.page-contact .contact-profile .credentials,
.page-contact .credential-summary {
  font-size: .92rem;
  line-height: 1.65;
}

.page-faq .faq-group > h2,
.page-faq .faq-section > h2 {
  font-size: clamp(1.65rem, 2.3vw, 2rem);
  line-height: 1.18;
}

.page-faq .faq summary {
  font-size: 1.01rem;
  line-height: 1.5;
}

.page-faq .faq p,
.page-faq .faq li {
  font-size: .95rem;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer,
.footer p,
.footer a,
.footer li {
  font-size: .88rem;
  line-height: 1.65;
}

.footer-heading,
.footer h3 {
  font-size: .76rem;
  line-height: 1.4;
}

/* ---------- Chinese-language calibration ---------- */
html[lang^="zh-"] body,
body.zh {
  line-height: 1.76;
}

html[lang^="zh-"] main p,
html[lang^="zh-"] main li,
body.zh main p,
body.zh main li {
  line-height: 1.76;
}

html[lang^="zh-"] .page-home .hero-copy h1,
body.zh.page-home .hero-copy h1 {
  font-size: clamp(3.05rem, 4.65vw, 4.15rem);
  line-height: 1.15;
}

html[lang^="zh-"] .section-heading h2,
html[lang^="zh-"] .final-cta h2,
body.zh .section-heading h2,
body.zh .final-cta h2 {
  font-size: clamp(2.2rem, 3.25vw, 2.9rem);
  line-height: 1.18;
}

html[lang^="zh-"] .page-services .editorial-hero h1,
body.zh.page-services .editorial-hero h1 {
  font-size: clamp(2.88rem, 4.25vw, 3.75rem);
  line-height: 1.16;
}

html[lang^="zh-"] .page-team .editorial-hero h1,
body.zh.page-team .editorial-hero h1 {
  font-size: clamp(3rem, 4.4vw, 4rem);
  line-height: 1.15;
}

html[lang^="zh-"] .page-team .quick-compare-intro h2,
body.zh.page-team .quick-compare-intro h2 {
  font-size: clamp(2rem, 2.7vw, 2.38rem);
  line-height: 1.2;
}

html[lang^="zh-"] .page-profile .profile-intro h2,
body.zh.page-profile .profile-intro h2 {
  font-size: clamp(1.98rem, 2.55vw, 2.38rem);
  line-height: 1.22;
}

html[lang^="zh-"] h3,
body.zh h3 {
  line-height: 1.26;
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .pagehero h1,
  .editorial-hero h1 {
    font-size: clamp(3rem, 7.2vw, 4.1rem);
  }

  .page-home .hero-copy h1 {
    font-size: clamp(3.3rem, 8.2vw, 4.45rem);
  }

  html[lang^="zh-"] .page-home .hero-copy h1,
  body.zh.page-home .hero-copy h1 {
    font-size: clamp(2.75rem, 7.1vw, 3.45rem);
  }

  html[lang^="zh-"] .page-services .editorial-hero h1,
  body.zh.page-services .editorial-hero h1 {
    font-size: clamp(2.55rem, 6.5vw, 3.25rem);
  }

  .page-profile .profile-intro h1 {
    font-size: clamp(3.35rem, 8vw, 4.25rem);
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 620px) {
  body {
    font-size: 1rem;
  }

  .hero-lead,
  .lead,
  .section-heading > p,
  .feature-copy > p:not(.credentials):not(.role-label):not(.format-line),
  .profile-intro > p:not(.credentials):not(.role-label) {
    font-size: .98rem;
  }

  .pagehero h1,
  .editorial-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .page-home .hero-copy h1 {
    font-size: clamp(2.65rem, 11vw, 3.35rem);
    line-height: 1.04;
  }

  html[lang^="zh-"] .page-home .hero-copy h1,
  body.zh.page-home .hero-copy h1 {
    font-size: clamp(2.28rem, 9.5vw, 2.75rem);
    line-height: 1.18;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(1.82rem, 7.5vw, 2.25rem);
    line-height: 1.16;
  }

  html[lang^="zh-"] .section-heading h2,
  html[lang^="zh-"] .final-cta h2,
  body.zh .section-heading h2,
  body.zh .final-cta h2 {
    font-size: clamp(1.75rem, 7vw, 2.08rem);
    line-height: 1.22;
  }

  .page-services .editorial-hero h1,
  html[lang^="zh-"] .page-services .editorial-hero h1,
  body.zh.page-services .editorial-hero h1 {
    font-size: clamp(2.25rem, 9vw, 2.7rem);
    line-height: 1.18;
  }

  .page-team .editorial-hero h1,
  html[lang^="zh-"] .page-team .editorial-hero h1,
  body.zh.page-team .editorial-hero h1 {
    font-size: clamp(2.4rem, 9.7vw, 2.95rem);
    line-height: 1.17;
  }

  .page-team .quick-compare-intro h2,
  html[lang^="zh-"] .page-team .quick-compare-intro h2,
  body.zh.page-team .quick-compare-intro h2 {
    font-size: clamp(1.72rem, 6.9vw, 2rem);
    line-height: 1.23;
  }

  .page-profile .profile-intro h1 {
    font-size: clamp(2.9rem, 12vw, 3.55rem);
  }

  .page-profile .profile-intro h2,
  html[lang^="zh-"] .page-profile .profile-intro h2,
  body.zh.page-profile .profile-intro h2 {
    font-size: clamp(1.72rem, 6.8vw, 2rem);
    line-height: 1.25;
  }

  .page-profile .credentials,
  .page-profile .credential-summary,
  .page-profile .large-credentials {
    font-size: .91rem;
  }

  .page-home .hero-therapist-caption strong {
    font-size: .94rem;
  }

  .page-home .hero-therapist-degree {
    font-size: .67rem;
  }

  .page-home .hero-therapist-credentials {
    font-size: .63rem;
  }

  .page-home .concern-card h3 {
    font-size: 1.2rem;
  }

  .page-team .quick-compare-person {
    font-size: 1.12rem;
  }

  .page-team .quick-compare-value {
    font-size: .91rem;
  }

  .page-faq .faq summary {
    font-size: .98rem;
  }

  .footer,
  .footer p,
  .footer a,
  .footer li {
    font-size: .86rem;
  }
}

/* ---------- Very small screens ---------- */
@media (max-width: 380px) {
  .page-home .hero-copy h1 {
    font-size: 2.58rem;
  }

  html[lang^="zh-"] .page-home .hero-copy h1,
  body.zh.page-home .hero-copy h1 {
    font-size: 2.2rem;
  }

  .page-services .editorial-hero h1,
  html[lang^="zh-"] .page-services .editorial-hero h1,
  body.zh.page-services .editorial-hero h1 {
    font-size: 2.16rem;
  }

  .page-team .quick-compare-intro h2,
  html[lang^="zh-"] .page-team .quick-compare-intro h2,
  body.zh.page-team .quick-compare-intro h2 {
    font-size: 1.66rem;
  }

  .page-home .hero-therapist-degree {
    font-size: .65rem;
  }

  .page-home .hero-therapist-credentials {
    font-size: .61rem;
  }
}
