/* Peninsula Psychology — 2026 design.
   Brand: Eggshell, Dark olive, Sage, Pale lime; Optima LT Pro titles, Asap text.
   Calm, editorial, lots of air. Every text/background pair meets WCAG AA. */

/* ---------- fonts ---------- */
@font-face { font-family: "Asap"; src: url("/assets/fonts/asap.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Asap"; src: url("/assets/fonts/asap-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Optima Pro"; src: url("/assets/fonts/optima-pro.woff2") format("woff2"); font-weight: 400; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --paper: #f5f0e6;        /* Eggshell */
  --sand: #ece5d6;         /* a step deeper, for alternating bands */
  --card: #fbf8f2;
  --ink: #2e3105;          /* text: 11.9:1 on paper */
  --muted: #5b5d3f;        /* secondary text */
  --olive: #466d51;        /* titles, links, buttons: 5.2:1 on paper */
  --olive-deep: #2f4a38;   /* footer, CTA band */
  --sage: #7baaa4;         /* accents only (lines, dots) */
  --mint: #aed1b9;
  --mint-soft: #dce9df;
  --line: rgba(70, 109, 81, 0.18);
  --shadow: 0 1px 2px rgba(46, 49, 5, 0.05), 0 12px 32px rgba(46, 49, 5, 0.08);

  --font-body: "Asap", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Optima Pro", Optima, Candara, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --prose: 44rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --hh: 76px;
  --radius: 22px;
  --radius-s: 12px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-weight: 300; font-size: 1.0625rem; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--olive); }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; color: var(--olive); line-height: 1.2; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.c { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--olive); color: var(--paper); padding: 0.75rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1.1rem;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--sage); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.6rem; border-radius: 999px;
  font: 500 0.98rem/1.2 var(--font-body); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  border: 1.5px solid var(--olive); background: var(--olive); color: var(--paper); cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(47, 74, 56, 0.25); }
.btn--ghost { background: transparent; color: var(--olive); }
.btn--ghost:hover { background: var(--olive); color: var(--paper); }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--olive-deep); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--olive-deep); }
.btn--line-light { background: transparent; border-color: rgba(245, 240, 230, 0.6); color: var(--paper); }
.btn--line-light:hover { background: rgba(245, 240, 230, 0.12); border-color: var(--paper); }
.link-arrow { font-weight: 500; text-decoration: none; color: var(--olive); }
.link-arrow::after { content: " →"; transition: margin 0.2s; }
.link-arrow:hover::after { margin-left: 0.25rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 240, 230, 0.92); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(46, 49, 5, 0.06); }
.hdr-inner { display: flex; align-items: center; gap: 2rem; height: var(--hh); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.logo { flex: none; display: block; }
.logo img { height: 34px; width: auto; }
@media (min-width: 700px) { .logo img { height: 40px; } }
.logo .logo-white { display: none; }
.nav { flex: 1; display: none; }
.nav-list { display: flex; align-items: center; justify-content: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.85rem; border-radius: 999px;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  font: 400 1rem/1.2 var(--font-body); color: var(--ink); text-decoration: none; transition: background 0.15s, color 0.15s;
}
.nav-link:hover, .nav-folder.is-open > .nav-link, .nav-folder:hover > .nav-link { background: var(--mint-soft); color: var(--olive-deep); }
.nav-link.is-active, .nav-link[aria-current] { color: var(--olive); font-weight: 500; }
.nav-folder > .nav-link::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.6; }
.nav-folder { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 0.4rem); left: 50%; min-width: 15rem; list-style: none; margin: 0; padding: 0.5rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.nav-folder:hover .nav-dropdown, .nav-folder.is-open .nav-dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-folder::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0.6rem; }
.nav-dropdown a { display: block; padding: 0.55rem 0.85rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 0.97rem; white-space: nowrap; }
.nav-dropdown a:hover, .nav-dropdown a[aria-current] { background: var(--mint-soft); color: var(--olive-deep); }
.hdr-cta { display: none; flex: none; min-height: 2.6rem; padding: 0.5rem 1.25rem; }
.burger { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--olive); transition: transform 0.2s; }
.menu-open .burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1080px) {
  .nav { display: block; }
  .hdr-cta { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
}
.mobile-menu { position: fixed; inset: var(--hh) 0 0 0; z-index: 49; overflow-y: auto; background: var(--paper); padding: 1.5rem var(--gutter) 3rem; border-top: 1px solid var(--line); }
.m-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.m-list > li { border-bottom: 1px solid var(--line); }
.m-list a, .m-list summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0.25rem; color: var(--ink); text-decoration: none; cursor: pointer; font-family: var(--font-head); font-size: 1.35rem; list-style: none; }
.m-list summary::-webkit-details-marker { display: none; }
.m-list summary::after { content: "+"; font-family: var(--font-body); color: var(--olive); font-weight: 300; font-size: 1.6rem; }
.m-list details[open] summary::after { content: "−"; }
.m-list details ul { list-style: none; padding: 0 0 0.75rem; margin: 0; }
.m-list details a { font-family: var(--font-body); font-size: 1.05rem; padding: 0.55rem 0.75rem; }
.m-cta { width: 100%; }
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(2.5rem, 6vw, 4.5rem); display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero--split { grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero--split { grid-template-columns: 1.05fr 1fr; } }
.hero--plain { padding-bottom: 1.5rem; }
.hero--plain .hero-text { max-width: 52rem; }
.hero-lead { font-size: 1.2rem; line-height: 1.65; color: var(--muted); max-width: 36rem; }
.hero-lead p:last-child { margin-bottom: 0; }
.hero-lead .lg { font-size: inherit; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-media { margin: 0; position: relative; isolation: isolate; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; clip-path: url(#mask-tv); }
.hero-media::before { content: ""; position: absolute; inset: 7% -4% -5% 9%; background: var(--mint-soft); z-index: -1; clip-path: url(#mask-tv); }
@media (max-width: 899px) { .hero-media { order: -1; } .hero-media::before { display: none; } }

/* ---------- article (long-form pages) ---------- */
.article { max-width: var(--wrap); margin: 0 auto; padding: clamp(1rem, 3vw, 2rem) var(--gutter) clamp(3rem, 6vw, 5rem); display: grid; gap: 3rem; }
@media (min-width: 1080px) {
  .article.has-toc { grid-template-columns: 15rem minmax(0, var(--prose)); justify-content: space-between; column-gap: 5rem; }
}
.article:not(.has-toc) .toc { display: none; }
.article:not(.has-toc) .prose { margin-inline: auto; width: 100%; }
.toc { display: none; }
@media (min-width: 1080px) {
  .has-toc .toc { display: block; position: sticky; top: calc(var(--hh) + 2rem); align-self: start; font-size: 0.92rem; }
}
.toc p { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.9rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--olive); }
.toc a.is-current { color: var(--olive); border-left-color: var(--olive); font-weight: 500; }

/* readable text */
.prose { max-width: var(--prose); min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose .lg, .prose p { font-size: inherit; }
.prose h2 { margin-top: 3.25rem; padding-top: 0.25rem; }
.prose h3 { margin-top: 2.25rem; }
.prose h4 { margin-top: 1.75rem; }
.prose h2 + h3, .prose h3 + h4 { margin-top: 0.75rem; }
.prose .c { text-align: left; }
.prose a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose p.sub { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose p.sub strong { font-family: var(--font-head); font-weight: 400; font-size: 1.25rem; color: var(--olive); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.5rem; }
.prose li { margin: 0.4rem 0; padding-left: 0.35rem; }
.prose li::marker { color: var(--sage); }
.prose ul { list-style: disc; }
.prose li > p { margin: 0; }
.prose .actions { margin: 2rem 0; }
.prose .inline-figure { margin: 2rem 0; }
.prose .inline-figure img { border-radius: var(--radius-s); }
.prose .sm, .prose p.sm { font-size: 0.9rem; color: var(--muted); }
.prose--intro { font-size: 1.12rem; }

/* ---------- FAQ ---------- */
.faq { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter); display: grid; gap: 2rem 5rem; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 2fr; } }
.faq > h2 { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23466d51' stroke-width='1.5'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--olive); }
.faq-a { padding: 0 2.5rem 1.25rem 0; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a .lg { font-size: inherit; }

/* ---------- section scaffolding ---------- */
.band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.band--sand { background: var(--sand); }
.band--mint { background: var(--mint-soft); }
.band-head { max-width: 40rem; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.band-head.c { margin-inline: auto; }
.band-head p { color: var(--muted); font-size: 1.1rem; }
.band-head-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: end; margin: 0 0 clamp(2rem, 4vw, 3rem); }
.band-head-row .band-head { margin: 0; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
@media (min-width: 700px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.split-text p { color: var(--muted); }

/* cards */
.card-link { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-link .card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-link h3 { margin: 0; font-size: 1.45rem; }
.card-link p { margin: 0; color: var(--muted); }
.card-link .link-arrow { margin-top: auto; padding-top: 0.75rem; }
.service-card .card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .card-media img { transform: scale(1.04); }
.service-card .tagline { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); }
.service-card .price { font-size: 0.9rem; color: var(--olive); font-weight: 500; }
.topic-card { flex-direction: row; align-items: center; gap: 1rem; padding: 0.7rem; border-radius: 16px; }
.topic-card img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.topic-card span { font-family: var(--font-head); font-size: 1.2rem; color: var(--olive); line-height: 1.25; }

/* ---------- therapist cards ---------- */
.team-sec { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.team-sec .band-head { margin-inline: auto; text-align: center; }
/* every card the same width; rows centred on wide screens, last row starts on the left */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 1.6vw, 1.25rem); justify-content: center; grid-template-columns: repeat(auto-fit, minmax(11rem, 12.75rem)); }
.cards > li { margin: 0; min-width: 0; }
@media (max-width: 560px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; } }
.card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--mint-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.6s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card-title { margin: 0; font-size: 1.4rem; color: var(--olive); }
.card-role { margin: 0; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.card-quote { margin: 0.5rem 0 0; font-size: 0.95rem; line-height: 1.55; color: var(--muted); font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.chips li { margin: 0; font-size: 0.78rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--mint-soft); color: var(--olive-deep); font-weight: 400; }
.card .link-arrow { margin-top: auto; padding-top: 1rem; }
.card .link-arrow::before { content: ""; position: absolute; inset: 0; }
.card[hidden] { display: none; }

/* team filter */
.team-filter { margin: 0 0 2.5rem; padding: 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.tf-controls { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); align-items: end; }
.tf-field { display: grid; gap: 0.3rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tf-field select { font: 400 0.95rem var(--font-body); letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--paper); border: 1px solid #a3a68a; border-radius: 10px; padding: 0.65rem 0.75rem; width: 100%; }
.tf-clear { justify-self: start; font: 500 0.92rem var(--font-body); background: none; border: 0; color: var(--olive); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0.65rem 0.25rem; }
.tf-status { margin: 0.75rem 0 0; font-size: 0.92rem; color: var(--muted); }
.tf-empty { padding: 2rem; text-align: center; color: var(--muted); }

/* ---------- therapist profile ---------- */
.profile-hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 0; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 1000px) { .profile-hero { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }
.profile-photo { margin: 0; }
.profile-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.profile-intro { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 1rem; }
.profile-intro .prose { margin: 0 auto; }
.profile-intro h1 { text-align: left !important; margin-bottom: 1.5rem; }
.profile-intro .actions { text-align: left; }
.glance { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.75rem 1.5rem; box-shadow: var(--shadow); }
.glance-eyebrow { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.glance-role { margin: 0 0 1.1rem; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.3; color: var(--olive); }
.glance-facts { margin: 0; display: grid; gap: 0.7rem; }
.glance-facts > div { display: grid; grid-template-columns: 7.25rem 1fr; gap: 0.75rem; align-items: baseline; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); }
.glance-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.glance-facts dt { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.glance-facts dd { margin: 0; font-size: 0.97rem; line-height: 1.45; }
.glance-edu { margin: 1rem 0 0; font-size: 0.88rem; line-height: 1.45; font-style: italic; color: var(--muted); }
.bio-details { max-width: var(--wrap); margin: 0 auto; padding: 2rem var(--gutter) clamp(3rem, 6vw, 5rem); }
.bio-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .bio-grid { grid-template-columns: 1fr 1fr; } .bio-left { grid-column: 1; } .bio-right { grid-column: 2; } .bio-tall { grid-row: span 2; } }
.bio-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.bio-block :is(h2, h3, h4), .bio-media :is(h2, h3, h4) { font-size: 1.35rem; margin: 0 0 1rem; }
.bio-block ul { margin: 0; padding-left: 1.1rem; }
.bio-block li { margin: 0 0 0.4rem; font-size: 0.97rem; line-height: 1.5; break-inside: avoid; }
.bio-block li::marker { color: var(--sage); }
.bio-block li > p { margin: 0; }
.bio-block ul.cols-2 { columns: 2; column-gap: 2rem; }
@media (max-width: 480px) { .bio-block ul.cols-2 { columns: 1; } }
.bio-media { margin-top: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.bio-media p { margin: 0 0 0.55rem; font-size: 0.97rem; text-align: left !important; }
.bio-media a { text-decoration: underline; text-underline-offset: 0.18em; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 var(--gutter) clamp(3.5rem, 7vw, 5.5rem); }
.cta-inner { max-width: var(--wrap); margin: 0 auto; background: var(--olive-deep); color: var(--paper); border-radius: calc(var(--radius) * 1.4); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 6vw, 4.5rem); display: grid; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; } }
.cta-inner::after { content: ""; position: absolute; right: -8%; top: -40%; width: 45%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(174, 209, 185, 0.22), transparent 65%); pointer-events: none; }
.cta-inner h2 { color: var(--paper); margin: 0 0 0.5rem; }
.cta-inner p { margin: 0; color: rgba(245, 240, 230, 0.86); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; position: relative; z-index: 1; }

/* ---------- footer ---------- */
.site-footer { background: var(--olive-deep); color: rgba(245, 240, 230, 0.86); font-size: 0.95rem; }
.ftr { max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2rem; display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .ftr { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.ftr h2 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); margin: 0 0 1rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin: 0 0 0.55rem; }
.ftr p { margin: 0 0 0.6rem; }
.ftr a { color: var(--paper); text-decoration: none; }
.ftr a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.ftr-logo { height: 34px; width: auto; margin-bottom: 1.5rem; }
.ftr-tagline { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.4; color: var(--paper); margin: 0 0 1rem !important; }
.ftr-legal { max-width: var(--wrap); margin: 0 auto; padding: 1.5rem var(--gutter) 2.5rem; border-top: 1px solid rgba(245, 240, 230, 0.15); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; font-size: 0.85rem; color: rgba(245, 240, 230, 0.78); }
.ftr-legal p { margin: 0; }
.ftr-legal a { color: inherit; }
.social { display: flex; gap: 0.6rem; align-items: center; margin-top: 1rem; }
.social a { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(245, 240, 230, 0.1); }
.social a:hover { background: rgba(245, 240, 230, 0.2); }
.social img { width: 22px; height: 22px; }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); transition: transform 0.2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float img { width: 54px; height: 54px; }
.menu-open .wa-float { display: none; }

/* ---------- home ---------- */
.home-hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) var(--gutter) clamp(2rem, 5vw, 3.5rem); display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .home-hero { grid-template-columns: 1.1fr 1fr; } }
.home-hero h1 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); margin: 0 0 1.25rem; line-height: 1.6; display: flex; gap: 0.6rem; align-items: baseline; }
.home-hero h1::before { content: ""; flex: none; width: 1.6rem; height: 1px; background: var(--sage); transform: translateY(-0.25em); }
.display { font-family: var(--font-head); font-size: clamp(2.8rem, 6.5vw, 5rem); line-height: 1.04; letter-spacing: -0.015em; color: var(--olive); margin: 0 0 1.5rem; text-wrap: balance; }
.trust { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.trust ul { list-style: none; margin: 0; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 0.75rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.trust li { display: flex; gap: 0.75rem; align-items: center; font-size: 0.95rem; color: var(--muted); }
.trust li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.trust strong { color: var(--ink); font-weight: 500; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--sage); margin-bottom: 0.75rem; line-height: 1; }
.steps h3 { margin: 0 0 0.5rem; }
.steps p { margin: 0; color: var(--muted); }
.values { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.value h3 { margin: 0 0 0.5rem; }
.value p { margin: 0; color: var(--muted); }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.price-card .card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.price-card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.price-card .card-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.price-card h2, .price-card h3 { margin: 0; font-size: 1.6rem; }
.price-card h2 a { color: inherit; text-decoration: none; }
.price-card h2 a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.price-card .tagline { font-family: var(--font-head); font-size: 1.1rem; color: var(--ink); margin: 0; }
.price-card p { color: var(--muted); margin: 0; }
.price-card .price { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 500; font-size: 1.05rem; color: var(--olive); }

/* marquees (testimonials, press logos) */
.marquee { overflow: hidden; width: 100%; padding: 0.5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee var(--speed, 60s) linear infinite; }
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--quotes { --speed: 110s; }
.quote-card { flex: none; width: min(80vw, 360px); margin: 0.5rem 0.75rem; padding: 2rem; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.quote-card::before { content: "“"; font-family: var(--font-head); font-size: 3.5rem; line-height: 0.6; color: var(--sage); margin-bottom: 0.75rem; }
.quote { font-size: 1rem; line-height: 1.6; margin: 0 0 1.5rem; }
.quote-by { margin: auto 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.85rem; font-weight: 500; color: var(--olive); }
.marquee--logos { --speed: 50s; }
.logo-item { flex: none; width: 170px; height: 70px; padding: 0 1.5rem; display: flex; align-items: center; justify-content: center; }
.logo-item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: opacity 0.2s, filter 0.2s; }
.logo-item img:hover { filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track > [aria-hidden="true"] { display: none; }
  .marquee--quotes .marquee-track { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; }
  .quote-card { scroll-snap-align: start; }
}

/* ---------- accordion (press page) ---------- */
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { cursor: pointer; list-style: none; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-size: 1.3rem; color: var(--olive); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--font-body); font-size: 1.5rem; font-weight: 300; }
.accordion details[open] summary::after { content: "−"; }
.accordion details > div { padding: 0 0 1.25rem; }
.accordion details > div p { margin: 0 0 0.6rem; font-size: 0.98rem; }

/* ---------- contact ---------- */
.contact-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); display: grid; gap: 2rem; }
@media (min-width: 950px) { .contact-wrap { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.panel h2 { font-size: 1.6rem; }
.panel > p { color: var(--muted); }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.contact-form { display: grid; gap: 1.1rem; }
.contact-form label, .contact-form legend { display: grid; gap: 0.4rem; font-size: 0.95rem; font-weight: 500; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; color: var(--ink); background: #fffdf9; border: 1px solid #a3a68a; border-radius: 10px; padding: 0.85rem 0.95rem; width: 100%; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--olive); outline-offset: 1px; }
.contact-form textarea { resize: vertical; min-height: 9rem; }
.cf-help { font-weight: 300; font-size: 0.9rem; color: var(--muted); }
.req { font-weight: 300; color: var(--muted); }
.cf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-consent { margin: 0; font-size: 0.88rem; color: var(--muted); }
.cf-consent a { text-decoration: underline; }
.contact-form .btn { justify-self: start; }
.cf-result:empty { display: none; }
.cf-result h4 { margin: 0 0 1rem; }
.contact-form[aria-busy="true"] .btn { opacity: 0.6; pointer-events: none; }
.map { overflow: hidden; border-radius: var(--radius-s); margin-top: 1rem; }
.map, .map iframe { width: 100%; min-height: 280px; border: 0; display: block; }

/* ---------- blog ---------- */
.blog-list { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); }
.blog-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.bl-item { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.bl-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bl-img { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.bl-img img { width: 100%; height: 100%; object-fit: cover; }
.bl-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.bl-meta { font-size: 0.85rem; color: var(--muted); margin: 0 0 0.5rem; }
.bl-title { margin: 0 0 1rem; font-size: 1.45rem; }
.bl-title a { text-decoration: none; color: inherit; }
.bl-title a::after { content: ""; position: absolute; inset: 0; }
.bl-more { margin-top: auto; }
.post { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.post-inner { max-width: 44rem; margin: 0 auto; }
.post-title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.post-meta { font-size: 0.92rem; color: var(--muted); margin: 0 0 2.5rem; }
.post-meta > * + *::before { content: "·"; margin: 0 0.6em; }
.post-hero { margin: 0 0 2.5rem; }
.post-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.post-body img { margin: 2rem 0; border-radius: var(--radius-s); }
.post-author { display: inline-flex; align-items: center; gap: 0.85rem; margin-top: 3rem; padding: 0.6rem 1.25rem 0.6rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); text-decoration: none; color: var(--olive); font-weight: 500; }
.post-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.post-nav { display: grid; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav a:last-child { text-align: right; } }
.post-nav a { color: var(--olive); text-decoration: none; font-weight: 500; }

/* misc */
.read-aloud { padding: 0.7rem 1.4rem; background: var(--olive); color: var(--paper); border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 0.95rem; }
.embed { margin: 1.5rem 0; }
/* illustrated feature grid inside an article (couples therapy) */
.feature-grid { display: grid; gap: 1rem; margin: 1.5rem 0 2rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem 1.4rem; }
.feature-media { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.feature-media img { max-height: 100%; width: auto; object-fit: contain; }
.prose .feature h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.prose .feature p { margin: 0; font-size: 0.97rem; color: var(--muted); }
.cta-spacer { height: clamp(3rem, 6vw, 4.5rem); }
.social--dark a { background: var(--mint-soft); } .social--dark a:hover { background: var(--mint); }
.admin-card { max-width: 26rem; margin: 0 auto; display: flex; gap: 1.25rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.admin-card img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.admin-name { font-family: var(--font-head); font-size: 1.4rem; color: var(--olive); margin: 0; }
.team-sec:has(.team-filter) { padding-top: 1rem; }
.faq--solo { grid-template-columns: 1fr !important; max-width: calc(48rem + 2 * var(--gutter)); padding-top: 0.5rem; }
.contact-wrap > * { min-width: 0; }
.contact-list a, .ftr a { overflow-wrap: anywhere; }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 1fr; gap: 0.15rem; } .cf-row { grid-template-columns: 1fr; } }
.prose a, .hero-lead a, .accordion a, .bio-media a, .faq-a a { overflow-wrap: anywhere; }
.hero-text, .hero-lead { min-width: 0; }
/* marquees once JavaScript takes over: a real scroller you can swipe/drag; JS does the gliding */
.marquee.is-live { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; overscroll-behavior-x: contain; }
.marquee.is-live::-webkit-scrollbar { display: none; }
.marquee.is-live.is-dragging { cursor: grabbing; user-select: none; }
.marquee.is-live .marquee-track { animation: none; }
.marquee.is-live img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
/* ---------- In the Press ---------- */
.press-logos-band { background: var(--sand); padding: 1.75rem 0; margin: 1rem 0 0; }
.press-timeline { padding-top: clamp(2.5rem, 5vw, 4rem); }
.press-month { display: grid; gap: 0.75rem 3rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.press-month:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 800px) { .press-month { grid-template-columns: 13rem 1fr; } }
.press-month h2 { font-size: 1.5rem; margin: 0; }
@media (min-width: 800px) { .press-month h2 { position: sticky; top: calc(var(--hh) + 1.5rem); align-self: start; } }
.press-list { list-style: none; margin: 0; padding: 0; }
.press-list li { margin: 0; border-bottom: 1px solid var(--line); }
.press-list li:last-child { border-bottom: 0; }
.press-list a { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; padding: 0.85rem 0; color: var(--ink); text-decoration: none; line-height: 1.5; overflow-wrap: anywhere; }
.press-list a::after { content: "↗"; flex: none; color: var(--sage); transition: transform 0.2s; }
.press-list a:hover { color: var(--olive); }
.press-list a:hover::after { transform: translate(2px, -2px); color: var(--olive); }
.press-list strong { font-weight: 400; }
