/*
 * Calm solid theme
 * A single opaque palette and layout layer loaded after the legacy stylesheet.
 */

:root {
  --page-bg: #f7f4ee;
  --surface: #ffffff;
  --surface-alt: #e8efea;
  --text: #26312f;
  --muted-solid: #596764;
  --teal: #365f60;
  --teal-dark: #294f4f;
  --sage: #8fa897;
  --sage-light: #c9d8ce;
  --gold-solid: #d8b26d;
  --clay-solid: #a56f4e;
  --border-solid: #d7d4cd;
  --cream-50: #f7f4ee;
  --cream-100: #e8efea;
  --cream-200: #d7d4cd;
  --ink: #26312f;
  --muted: #596764;
  --green-900: #294f4f;
  --green-800: #365f60;
  --green-700: #365f60;
  --green-500: #8fa897;
  --green-300: #c9d8ce;
  --green-100: #e8efea;
  --blue-800: #365f60;
  --blue-700: #365f60;
  --sage-500: #8fa897;
  --clay: #a56f4e;
  --line: #d7d4cd;
  --shadow-soft: none;
  --shadow-card: none;
  --shadow-hover: none;
}

html,
body {
  background: var(--page-bg) !important;
  color: var(--text) !important;
}

body,
body *,
body *::before,
body *::after {
  background-image: none !important;
}

body * {
  animation: none !important;
}

body.motion-ready .reveal,
body.motion-ready .reveal-up,
body.motion-ready .reveal-card,
body.motion-ready .reveal-step,
body.motion-ready .reveal-photo {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  transition: none !important;
}

p,
li {
  color: var(--muted-solid) !important;
}

h1,
h2,
h3 {
  color: var(--text) !important;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-solid) !important;
  outline-offset: 4px;
}

.site-header {
  background: var(--page-bg) !important;
  border-bottom: 1px solid var(--border-solid) !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

.site-header::before,
.site-header::after,
.hero::before,
.hero::after,
.page-title::before,
.page-title::after,
.faq-hero::before,
.faq-hero::after,
.local-hero::before,
.local-hero::after,
.resources-hero::before,
.resources-hero::after,
.directory-hero::before,
.directory-hero::after,
.notes-title::before,
.notes-title::after,
.hero-feature::before,
.hero-feature::after,
.service-card::before,
.service-card::after,
.pillar-card::before,
.pillar-card::after,
.fit-card::before,
.fit-card::after,
.next-step-card::before,
.next-step-card::after,
.contact-card::before,
.contact-card::after,
.service-summary-card::before,
.service-summary-card::after,
.service-focus-card::before,
.service-focus-card::after,
.modalities-grid > div::before,
.modalities-grid > div::after,
.trust-detail-grid > div::before,
.trust-detail-grid > div::after,
.resource-trust-grid > div::before,
.resource-trust-grid > div::after,
.contact-trust-grid > article::before,
.contact-trust-grid > article::after,
.resource-library-card::before,
.resource-library-card::after,
.local-link-card::before,
.local-link-card::after,
.faq-item::before,
.faq-item::after,
.site-footer::before,
.site-footer::after,
.final-cta::before,
.final-cta::after,
.soft-glow::before,
.soft-glow::after {
  content: none !important;
  display: none !important;
}

.site-nav,
.site-nav a,
.site-nav > a {
  color: var(--text) !important;
  opacity: 1 !important;
}

.site-nav > a::after {
  background: var(--teal) !important;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--teal) !important;
}

.nav-toggle {
  background: var(--surface) !important;
  border-color: var(--border-solid) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.nav-toggle span {
  background: var(--text) !important;
}

.nav-cta,
.nav-actions .nav-consult,
.site-header .nav-actions .nav-consult,
.site-header .nav-actions-single .nav-consult {
  background: var(--teal) !important;
  border: 1px solid var(--teal) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.nav-cta:hover,
.nav-actions .nav-consult:hover {
  background: var(--teal-dark) !important;
  border-color: var(--teal-dark) !important;
}

.hero,
.page-title,
.faq-hero,
.local-hero,
.resources-hero,
.directory-hero,
.notes-title,
body.page-home .home-hero {
  background: var(--surface-alt) !important;
  border-bottom: 1px solid var(--border-solid) !important;
}

.hero-brand-row {
  display: block !important;
  width: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.eyebrow,
.feature-label,
.directory-category .eyebrow {
  color: var(--teal) !important;
}

.button,
a.button {
  border-radius: 10px !important;
  box-shadow: none !important;
  transform: none !important;
}

.button-primary,
a.button-primary {
  background: var(--teal) !important;
  border: 1px solid var(--teal) !important;
  color: #ffffff !important;
}

.button-primary:hover,
a.button-primary:hover {
  background: var(--teal-dark) !important;
  border-color: var(--teal-dark) !important;
}

.button-secondary,
a.button-secondary {
  background: var(--surface) !important;
  border: 1px solid var(--teal) !important;
  color: var(--teal-dark) !important;
}

.button-secondary:hover,
a.button-secondary:hover {
  background: var(--surface-alt) !important;
}

.text-link,
.inline-link,
.service-card a,
.directory-resource h3 a {
  color: var(--teal-dark) !important;
}

.text-link:hover,
.inline-link:hover,
.service-card a:hover,
.directory-resource h3 a:hover {
  color: var(--clay-solid) !important;
}

.page-home .hero-grid {
  grid-template-columns: minmax(0, 850px) !important;
  justify-content: start !important;
  gap: 0 !important;
}

.page-home .hero-copy {
  max-width: 850px;
}

.page-home .hero-copy h1 {
  max-width: 820px;
}

.page-home .hero-text {
  max-width: 760px;
}

body.page-home .hero-copy h1::after,
.section-heading::after,
.section-copy > .eyebrow + h2::after {
  background: var(--teal) !important;
  background-image: none !important;
}

.home-about-summary {
  background: var(--page-bg) !important;
}

.home-about-copy {
  max-width: 820px !important;
}

.home-about-copy .section-copy {
  max-width: 760px;
}

.trust-strip {
  background: var(--teal-dark) !important;
  color: #ffffff !important;
}

.trust-grid div {
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid var(--sage) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.trust-grid strong {
  color: #ffffff !important;
}

.trust-grid span {
  color: var(--sage-light) !important;
}

main > section,
.intro-split,
.services-page,
.approach-section,
.approach-modalities-section,
.good-fit-section,
.next-steps-section,
.payment-section,
.privacy-contact-section,
.claire-note-section,
.contact-page,
.contact-virtual-photo,
.resources-page,
.faq-page,
.couch-section,
.service-areas-section {
  background: var(--page-bg) !important;
}

.services-preview,
.pillars-section,
.therapy-feel-section {
  background: var(--surface-alt) !important;
}

.hero-feature,
.service-card,
.pillar-card,
.contact-card,
.notes-logo-card,
.couch-logo-card,
.fit-card,
.next-step-card,
.faq-item,
.faq-group,
.faq-quick-card,
.quick-answer-list > div,
.insurance-panel,
.simple-insurance-panel,
.insurance-plan-card,
.privacy-contact-panel,
.claire-note-panel,
.therapy-feel-card,
.approach-modalities-panel,
.modalities-grid > div,
.process-list > div,
.trust-detail-panel,
.trust-detail-grid > div,
.resource-trust-grid > div,
.contact-trust-grid > article,
.resource-library-card,
.resource-download-panel,
.resources-quick-panel,
.local-link-card,
.service-summary-card,
.service-focus-card,
.directory-category,
.directory-urgent-card,
.referral-prep-panel,
.directory-sources-panel,
body.page-about .claire-grid,
body.page-about .claire-grid .section-copy,
body.page-contact .contact-photo-grid {
  background: var(--surface) !important;
  border: 1px solid var(--border-solid) !important;
  box-shadow: none !important;
}

body.page-about .claire-grid,
body.page-about .claire-grid .section-copy {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.page-about .claire-grid {
  padding: 0 !important;
}

body.page-about .claire-grid .section-copy {
  padding: 0 !important;
}

.featured-card,
.primary-contact,
.resource-library-card-featured,
.faq-group-heading,
.faq-payment .faq-group-heading,
.faq-services .faq-group-heading,
.faq-support .faq-group-heading {
  background: var(--surface-alt) !important;
}

.service-card,
.pillar-card,
.contact-card,
.fit-card,
.next-step-card,
.faq-item,
.insurance-plan-card,
.modalities-grid > div,
.process-list > div,
.trust-detail-grid > div,
.resource-trust-grid > div,
.contact-trust-grid > article,
.local-link-card,
.resource-library-card,
.service-summary-card,
.service-focus-card,
.directory-category {
  border-radius: 16px !important;
}

.hero-feature,
.approach-modalities-panel,
.claire-note-panel,
.trust-detail-panel,
.insurance-panel,
.simple-insurance-panel,
.resource-download-panel,
.resources-quick-panel,
body.page-about .claire-grid,
body.page-contact .contact-photo-grid {
  border-radius: 20px !important;
}

.card-kicker,
.next-step-card span,
.trust-detail-grid span,
.resource-trust-grid span,
.contact-trust-grid span,
.summary-label,
.directory-urgent-card span,
.directory-category > header > span,
.faq-icon,
.resource-pill-row span,
.focus-card-header .card-kicker {
  background: var(--surface-alt) !important;
  border: 1px solid var(--sage-light) !important;
  color: var(--teal-dark) !important;
  box-shadow: none !important;
}

.feature-list li,
.service-tag-list li,
.population-row span,
.primary-tags li,
.treatment-tags li:first-child,
.insurance-list li,
body.page-contact .simple-insurance-panel::after {
  background: var(--surface) !important;
  border-color: var(--border-solid) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.feature-list li::before,
.resource-detail-list li::before {
  background: var(--teal) !important;
}

.insurance-plan-card,
.uhc-plan,
.bcbs-plan,
.select-plan,
.pehp-plan {
  border-top: 1px solid var(--border-solid) !important;
}

.insurance-plan-card strong,
.uhc-plan strong,
.bcbs-plan strong,
.select-plan strong,
.pehp-plan strong {
  color: var(--text) !important;
}

.portrait-panel picture,
.services-photo-banner picture,
.contact-photo-grid picture,
.resource-preview-frame,
.resource-preview-link {
  border: 1px solid var(--border-solid) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.portrait-panel picture img,
.services-photo-banner img,
.contact-photo-grid img,
.resource-preview-link img,
.notes-logo-card img,
.couch-logo-card img {
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

.final-cta {
  background: var(--teal-dark) !important;
  border: 0 !important;
}

.final-cta h2,
.final-cta .cta-panel h2 {
  color: #ffffff !important;
}

.final-cta .eyebrow,
.final-cta p,
.final-cta .cta-panel p,
.final-cta .privacy-note {
  color: var(--sage-light) !important;
}

.final-cta .button-primary,
.final-cta a.button-primary {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--teal-dark) !important;
}

.final-cta .button-secondary,
.final-cta a.button-secondary {
  background: var(--sage-light) !important;
  border-color: var(--sage-light) !important;
  color: var(--teal-dark) !important;
}

.final-cta .phone-link,
.final-cta .phone-link.inline-phone {
  color: #ffffff !important;
}

.final-cta .emergency-note {
  color: var(--gold-solid) !important;
}

.emergency-section,
body.page-contact .emergency-section {
  background: #59352f !important;
  color: #ffffff !important;
}

.emergency-section h2,
.emergency-section .eyebrow,
.emergency-section p {
  color: #ffffff !important;
}

.analytics-consent {
  background: var(--text) !important;
  border: 1px solid var(--gold-solid) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.analytics-consent-copy h2,
.analytics-consent-copy p,
.analytics-consent-copy a {
  color: #ffffff !important;
}

body .analytics-consent .analytics-consent-actions .button.button-primary {
  background: var(--sage-light) !important;
  background-color: var(--sage-light) !important;
  background-image: none !important;
  border-color: var(--sage-light) !important;
  color: var(--teal-dark) !important;
}

body .analytics-consent .analytics-consent-actions .button.button-secondary {
  background: var(--page-bg) !important;
  background-color: var(--page-bg) !important;
  background-image: none !important;
  border-color: var(--page-bg) !important;
  color: var(--text) !important;
}

/* Simplified global footer */
.site-footer {
  background: var(--text) !important;
  border-top: 1px solid var(--sage) !important;
  color: #ffffff !important;
  padding: 48px 0 24px !important;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: start;
}

.footer-intro {
  max-width: 430px;
}

.site-footer .footer-name {
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.site-footer .footer-intro > p:not(.footer-name) {
  margin: 0 0 16px !important;
  max-width: 390px;
  color: var(--sage-light) !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}

.footer-phone {
  display: inline-flex;
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 42px;
}

.footer-group h2 {
  margin: 0 0 14px !important;
  color: var(--sage-light) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.13em !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
}

.footer-group-links {
  display: grid;
  gap: 9px;
}

.footer-group-links a {
  color: #ffffff !important;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-group-links a:hover,
.footer-phone:hover,
.footer-utility a:hover,
.footer-link-button:hover {
  color: var(--gold-solid) !important;
}

.footer-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--sage);
}

.footer-utility p {
  margin: 0 !important;
  color: var(--sage-light) !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
}

.footer-utility p a {
  color: #ffffff !important;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.footer-legal a,
.footer-link-button {
  color: #ffffff !important;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}

.footer-link-button {
  appearance: none;
  min-height: 38px;
  padding: 8px 0;
  border: 0;
  background: transparent !important;
  cursor: pointer;
}

@media (max-width: 1220px) {
  .site-nav {
    background: var(--surface) !important;
    border-color: var(--border-solid) !important;
    box-shadow: none !important;
  }
}

@media (max-width: 820px) {
  .footer-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-intro {
    max-width: 560px;
  }

  .footer-utility {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .page-home .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .trust-grid div {
    border-left: 0 !important;
    border-top: 1px solid var(--sage) !important;
    padding: 18px 0 !important;
  }

  .trust-grid div:first-child {
    border-top: 0 !important;
  }

  .footer-navigation {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer {
    padding: 40px 0 22px !important;
  }

  .footer-utility {
    margin-top: 30px;
  }
}

/* QA and performance pass: tighter first screens, clearer responsive spacing. */
.nav-wrap,
.site-header .nav-wrap {
  height: 78px !important;
  min-height: 78px !important;
  gap: 18px !important;
}

.site-header .brand img {
  height: 50px !important;
  max-height: 50px !important;
  max-width: 185px !important;
}

.site-nav {
  gap: 11px !important;
  margin-left: auto !important;
}

.site-nav > a {
  padding: 8px 2px !important;
  font-size: 0.86rem !important;
  line-height: 1.1 !important;
}

.site-header .nav-actions .nav-consult {
  min-height: 38px !important;
  padding: 8px 12px !important;
  font-size: 0.8rem !important;
}

body.page-home .home-hero {
  min-height: 0 !important;
  display: block !important;
  padding-top: clamp(52px, 7vw, 82px) !important;
  padding-bottom: clamp(56px, 7vw, 86px) !important;
}

body.page-home .home-hero .container,
body.page-home .home-hero .hero-grid {
  align-items: start !important;
}

body.page-home .hero-copy {
  max-width: 760px !important;
}

body.page-home .hero-copy h1 {
  max-width: 760px !important;
}

body.page-home .hero-text {
  max-width: 690px !important;
}

.trust-strip {
  padding: 20px 0 !important;
}

.trust-grid {
  gap: 18px !important;
}

.trust-grid div {
  padding: 10px 0 10px 18px !important;
}

body.page-about .portrait-panel {
  max-width: 380px !important;
  justify-self: center !important;
}

body.page-about .portrait-panel img {
  max-height: 560px !important;
}

.faq-hero-grid,
.notes-hero-grid,
.resources-hero-grid {
  gap: 34px !important;
}

.faq-quick-card,
.resources-quick-panel {
  padding: 24px !important;
}

.quick-answer-list {
  gap: 10px !important;
}

.quick-answer-list > div {
  padding: 12px 14px !important;
}

body.page-couch .notes-title .notes-logo-card {
  max-width: 300px !important;
  justify-self: center !important;
  padding: 24px !important;
}

body.page-couch .notes-title .notes-logo-card img {
  width: min(100%, 220px) !important;
}

.directory-jump-list {
  min-width: 0 !important;
}

@media (max-width: 980px) {
  .nav-wrap,
  .site-header .nav-wrap {
    height: 76px !important;
    min-height: 76px !important;
  }

  .site-nav {
    inset: 76px 20px auto 20px !important;
  }

  .faq-hero-grid,
  .notes-hero-grid,
  .resources-hero-grid {
    gap: 24px !important;
  }
}

@media (max-width: 620px) {
  .nav-wrap,
  .site-header .nav-wrap {
    height: 72px !important;
    min-height: 72px !important;
  }

  .site-header .brand img {
    height: 46px !important;
    max-height: 46px !important;
    max-width: 150px !important;
  }

  .nav-toggle {
    width: 42px !important;
    height: 42px !important;
  }

  .site-nav {
    inset: 72px 14px auto 14px !important;
    max-height: calc(100dvh - 92px) !important;
    overflow-y: auto !important;
  }

  body.page-home .home-hero {
    padding-top: 48px !important;
    padding-bottom: 54px !important;
  }

  body.page-home .hero-copy h1 {
    max-width: 360px !important;
  }

  body.page-home .hero-text {
    line-height: 1.58 !important;
  }

  .trust-strip {
    padding: 12px 0 !important;
  }

  .trust-grid {
    gap: 0 !important;
  }

  .trust-grid div {
    padding: 14px 0 !important;
  }

  body.page-about .portrait-panel {
    max-width: 270px !important;
  }

  .faq-hero,
  .notes-title,
  .resources-hero,
  .directory-hero {
    padding-top: 44px !important;
    padding-bottom: 38px !important;
  }

  .faq-quick-card,
  .resources-quick-panel {
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .quick-answer-list > div {
    padding: 10px 12px !important;
    border-radius: 12px !important;
  }

  .quick-answer-list span {
    font-size: 0.88rem !important;
    line-height: 1.35 !important;
  }

  body.page-couch .notes-title .notes-logo-card {
    max-width: 210px !important;
    padding: 16px !important;
  }

  body.page-couch .notes-title .notes-logo-card img {
    width: min(100%, 160px) !important;
  }

  .directory-jump-list {
    overflow-x: visible !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    padding-bottom: 0 !important;
  }

  .directory-jump-list a {
    flex: 1 1 calc(50% - 8px) !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }
}
