:root {
  --ink: #332a22;
  --muted: #6b5c50;
  --taupe-soft: #f5f1ec;
  --cream: #fbfaf7;
  --white: #ffffff;
  --sage: #71806a;
  --sage-dark: #485743;
  --moss: #a4b69b;
  --line: #e7ded4;
  --shadow: 0 18px 46px rgba(51, 42, 34, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body::selection { background: var(--moss); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(251, 250, 247, 0.84);
  backdrop-filter: blur(18px);
}
.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand { display: flex; align-items: center; min-width: max-content; text-decoration: none; }
.brand-logo { width: 220px; height: 70px; object-fit: contain; object-position: center; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 1.04rem; font-weight: 560; }
.nav-links a { text-decoration: none; white-space: nowrap; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--sage-dark); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--sage-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(72, 87, 67, 0.18);
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-1px); background: #3e4d39; }
.button.secondary { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: none; }
.mobile-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(51, 42, 34, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.mobile-menu-toggle span,
.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.mobile-menu-toggle span { position: relative; }
.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after { content: ""; position: absolute; left: 0; }
.mobile-menu-toggle span::before { top: -7px; }
.mobile-menu-toggle span::after { top: 7px; }
.mobile-menu-toggle[aria-expanded="true"] span { background: transparent; }
.mobile-menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav-panel { display: none; }

.page-hero {
  padding: 150px 0 76px;
  border-bottom: 1px solid var(--line);
  background: var(--taupe-soft);
}
.page-hero.has-image {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #b9a48c;
}
.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42, 32, 24, 0.74) 0%, rgba(42, 32, 24, 0.55) 38%, rgba(42, 32, 24, 0.16) 70%, rgba(42, 32, 24, 0.03) 100%);
  pointer-events: none;
}
.page-hero.has-image .hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero.has-image h1,
.page-hero.has-image .hero-lead {
  color: var(--white);
}
.page-hero.has-image .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}
.page-hero.has-image .hero-lead {
  max-width: 650px;
}
.care-hero .page-hero-image {
  object-position: center 58%;
}
.approaches-hero .page-hero-image {
  object-position: center;
}
.booking-hero .page-hero-image {
  object-position: center 72%;
}
.therapist-hero .page-hero-image {
  object-position: center 44%;
}
.hero-inner,
.section-inner,
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.page-hero .hero-inner { max-width: 1180px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--sage-dark);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
h1, h2, h3 { margin: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; }
h1 { max-width: 900px; font-size: clamp(3rem, 6.5vw, 6rem); line-height: 1; }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.08; }
h3 { font-size: 1.42rem; line-height: 1.2; }
.hero-lead { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

section { padding: 82px 0; }
.warm-band { background: var(--white); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.lead { margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }
.prose { max-width: 780px; color: var(--muted); font-size: 1.04rem; }
.prose p { margin: 0 0 18px; }
.prose p:last-child { margin-bottom: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: 54px; align-items: start; }
.media-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--taupe-soft); }
.media-frame img { width: 100%; min-height: 500px; object-fit: cover; object-position: center top; }
.therapist-bio {
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1.52fr);
  gap: 48px;
}
.therapist-bio .profile-frame {
  width: 100%;
  max-width: 340px;
  justify-self: start;
}
.therapist-bio .profile-frame img {
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.side-note { padding: 28px; border: 1px solid var(--line); border-left: 5px solid var(--sage); border-radius: var(--radius); background: var(--white); }
.side-note p, .side-note li { color: var(--muted); }
.side-note p { margin: 12px 0 0; }
.side-note ul { margin: 14px 0 0; padding-left: 20px; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.detail {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(51, 42, 34, 0.05);
}
.detail p { margin: 12px 0 0; color: var(--muted); }
.detail.wide { grid-column: 1 / -1; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle { padding: 24px; border-top: 4px solid var(--sage); background: var(--taupe-soft); }
.principle p { margin: 10px 0 0; color: var(--muted); }

.approach-list { display: grid; border-top: 1px solid var(--line); }
.approach-row { display: grid; grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr); gap: 42px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.approach-row p { margin: 0; color: var(--muted); }

.credentials { display: grid; gap: 12px; }
.credential { padding: 16px 18px; border-left: 4px solid var(--sage); background: var(--white); color: var(--muted); }
.certificate-link { position: relative; display: inline-flex; margin-top: 8px; color: var(--sage-dark); font-weight: 800; text-underline-offset: 4px; }
.certificate-preview {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 3;
  width: 300px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}
.certificate-link:hover .certificate-preview,
.certificate-link:focus-visible .certificate-preview { opacity: 1; transform: translateY(0); }

.advocacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.advocacy-grid figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.advocacy-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.advocacy-grid figcaption { padding: 18px 20px; color: var(--muted); }

.price-list { border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.price-row p { margin: 6px 0 0; color: var(--muted); }
.price { color: var(--sage-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; white-space: nowrap; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr); gap: 44px; align-items: start; }
.booking-box { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.booking-box > p { color: var(--muted); }
.question-form { display: grid; gap: 14px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 0.9rem; font-weight: 750; }
.form-privacy { margin: 0 0 2px; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.form-field input, .form-field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: inherit; }
.form-field textarea { min-height: 120px; resize: vertical; }
.contact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 42px; border: 1px solid var(--line); background: var(--line); }
.contact-card { padding: 24px; background: var(--white); }
.contact-card p { margin: 8px 0 0; color: var(--muted); overflow-wrap: anywhere; }
.booking-page .contact-card { text-align: center; }

.cta-band { padding: 62px 0; background: var(--sage-dark); color: var(--white); }
.cta-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.cta-band h2 { color: var(--white); max-width: 720px; }
.cta-band .eyebrow { color: rgba(255,255,255,0.72); }
.cta-band .button { background: var(--white); color: var(--sage-dark); box-shadow: none; min-width: max-content; }

footer { padding: 34px 0; color: var(--muted); border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.92rem; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 54px; height: 54px; border: 0; border-radius: var(--radius); background: rgba(72,87,67,0.8); color: var(--white); cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: 180ms ease; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 28px; height: 28px; stroke-width: 3; }

@media (max-width: 980px) {
  .nav { min-height: 66px; }
  .nav-links { display: none; }
  .nav > .button { display: none; }
  .mobile-menu-toggle { display: grid; }
  .mobile-nav-panel { position: fixed; top: 66px; left: 14px; right: 14px; z-index: 19; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(251,250,247,0.98); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: 180ms ease; }
  .mobile-nav-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-nav-panel a { padding: 11px 14px; border-radius: var(--radius); text-decoration: none; font-weight: 750; }
  .mobile-nav-panel a:hover { background: var(--taupe-soft); }
  .mobile-nav-panel .button { margin-top: 6px; color: var(--white); }
  .content-grid, .booking-layout { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-frame { max-width: 600px; }
}
@media (max-width: 640px) {
  .nav, .hero-inner, .section-inner, .footer-inner, .cta-inner { width: min(100% - 28px, var(--max)); }
  .brand-logo { width: 164px; height: 54px; }
  .button { padding: 0 14px; font-size: 0.92rem; }
  .page-hero { padding: 118px 0 58px; }
  .page-hero.has-image { min-height: 650px; }
  .page-hero-image { object-position: 58% center; }
  .care-hero .page-hero-image { object-position: 68% center; }
  .approaches-hero .page-hero-image { object-position: 42% center; }
  .booking-hero .page-hero-image { object-position: 68% 72%; }
  .therapist-hero .page-hero-image { object-position: 56% center; }
  .booking-hero h1 { font-size: clamp(2.45rem, 12vw, 3rem); }
  .page-hero.has-image::after { background: rgba(42, 32, 24, 0.55); }
  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  section { padding: 62px 0; }
  .detail-grid, .principles, .advocacy-grid, .contact-strip { grid-template-columns: 1fr; }
  .detail.wide { grid-column: auto; }
  .approach-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .price-row { grid-template-columns: 1fr; gap: 8px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .certificate-preview { display: none; }
  .therapist-bio .profile-frame { max-width: 280px; }
  .back-to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}
