/* Self-hosted fonts (Inter and Fraunces, SIL Open Font License). Latin + Spanish characters. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-regular.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/inter-medium.woff) format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600 700; font-display: swap; src: url(/fonts/inter-semibold.woff) format("woff"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/fraunces.woff) format("woff"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/fraunces-italic.woff) format("woff"); }
:root {
  color-scheme: light;
  --navy: #1F3B4D;
  --deep-green: #3C5F49;
  --terra-bg: #A85A41;
  --terra-text: #96472F;
  --paper: #CEDBCE;
  --paper-raised: #F4F8F4;
  --sage-box: #9FBAA5;
  --soft: #E6EEE7;
  --line: #AFC2B3;
  --ui-border: #5E7C66;
  --text: #22303A;
  --text-muted: #3F505A;
  --on-navy: #F3F1EC;
  --on-terra: #FCF4EF;
  --focus: #1F3B4D;
  --radius-sm: 4px;
  --radius-md: 10px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(78px + env(safe-area-inset-top, 0px)); background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--text); margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 12px; }
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0.001ms !important; } }

header.site-nav {
  position: sticky; top: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-family: var(--serif); font-size: 1.22rem; font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap; }
nav.links { display: flex; gap: 6px; flex-wrap: wrap; }
nav.links a { font-size: 0.93rem; color: var(--text-muted); padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none; }
nav.links a:hover { color: var(--text); }
nav.links a[aria-current="page"] { color: var(--navy); font-weight: 600; background: var(--soft); }
@media (max-width: 760px) {
  .nav-inner { flex-wrap: wrap; padding: 16px 20px; }
  nav.links { width: 100%; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  nav.links a { flex: 0 0 auto; }
}

main { position: relative; overflow-x: clip; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 760px) { .wrap, .wrap-narrow { padding: 0 20px; } }
.pt-lg { padding-top: 72px; } .pt-sm { padding-top: 8px; } .pt-md { padding-top: 56px; } .pb-xl { padding-bottom: 88px; } .pb-sm { padding-bottom: 20px; }
@media (max-width: 760px) { .pt-lg { padding-top: 48px; } .pt-md { padding-top: 40px; } .pb-xl { padding-bottom: 60px; } }

.btn { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 100px; font-size: 0.97rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--on-navy); }
.btn-terra { background: var(--terra-bg); color: var(--on-terra); }
.btn-outline { background: transparent; border-color: var(--ui-border); color: var(--text); }
.btn-outline:hover { border-color: var(--navy); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 16px; }

.hero { position: relative; padding-top: 88px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(2.1rem, 4.3vw, 3.2rem); line-height: 1.1; max-width: 19ch; }
.hero .es-line { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--deep-green); font-size: clamp(1.1rem, 2.2vw, 1.5rem); margin: 14px 0 28px; max-width: 38ch; }
.hero .lede { font-size: 1.08rem; color: var(--text-muted); max-width: 54ch; margin-bottom: 32px; }
@media (max-width: 760px) { .hero { padding-top: 52px; padding-bottom: 44px; } }

.paths { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } }
.path-card { border-radius: var(--radius-md); padding: 40px 36px; }
.path-card.navy { background: var(--navy); color: var(--on-navy); }
.path-card.terra { background: var(--terra-bg); color: var(--on-terra); }
.path-card h2 { font-size: 1.6rem; color: inherit; margin-bottom: 12px; }
.path-card p { color: inherit; }
.path-card .btn-outline { border-color: color-mix(in srgb, currentColor 45%, transparent); color: inherit; margin-top: 18px; }
.path-card .btn-outline:hover { border-color: currentColor; }

.trust-strip { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; margin-top: 40px; }
.trust-strip div { flex: 1 1 200px; padding: 6px 24px; border-left: 1px solid var(--line); font-size: 0.92rem; color: var(--text-muted); }
.trust-strip div:first-child { border-left: none; padding-left: 0; }
.trust-strip strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 760px) { .trust-strip div { border-left: none; padding-left: 0; flex-basis: 45%; } }

.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head h1, .section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.section-head p { color: var(--text-muted); margin-top: 12px; }
h2.sub { font-size: 1.5rem; margin-bottom: 14px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }
.service-item h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; letter-spacing: 0; }
.service-item p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; }

.steps { margin-top: 8px; }
.step { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-family: var(--serif); font-style: italic; color: var(--deep-green); font-size: 1.1rem; width: 2.2em; flex-shrink: 0; }
.step h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: 4px; letter-spacing: 0; }
.step p { color: var(--text-muted); margin-bottom: 0; }

.callout { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 32px; margin: 0 0 36px; }
.callout p { margin-bottom: 8px; font-size: 1.02rem; }
.callout .source { font-size: 0.83rem; color: var(--text-muted); margin: 0; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
@media (max-width: 680px) { .option-grid { grid-template-columns: 1fr; } }
.option-card { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 24px; background: var(--paper-raised); }
.option-card h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-bottom: 6px; color: var(--terra-text); letter-spacing: 0; }
.option-card p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 0; }

details.faq { border-top: 1px solid var(--line); padding: 18px 0; }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq .mark { font-size: 1.3rem; color: var(--deep-green); flex-shrink: 0; transition: transform 0.2s ease; }
details.faq[open] .mark { transform: rotate(45deg); }
details.faq .faq-a { margin: 12px 0 0; color: var(--text-muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 24px; }
@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-item.full { grid-column: 1 / -1; }
.contact-item span { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 3px; }
.contact-item strong { font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--terra-text); }

.cta-banner { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); border-radius: var(--radius-md); padding: 52px 44px; }
.cta-banner h2 { color: inherit; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-banner p { color: color-mix(in srgb, var(--on-navy) 88%, transparent); margin: 12px 0 24px; }
.cta-banner > * { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-banner { padding: 36px 24px; } }

.small { font-size: 0.82rem; color: var(--text-muted); margin-top: 18px; max-width: 62ch; }

footer { padding: 8px 0 calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 0.86rem; color: var(--text-muted); }
footer .foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
footer .crisis { max-width: 70ch; margin: 0; }
footer strong { color: var(--text); }

/* ---- language switch ---- */
.lang-switch { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-decoration: none; padding: 7px 14px; border: 1px solid var(--ui-border); border-radius: 100px; white-space: nowrap; }
.lang-switch:hover { background: var(--soft); }
@media (max-width: 760px) { .lang-switch { order: 2; margin-left: auto; } nav.links { order: 3; } }

/* ---- vines ---- */
.hero::after { content: ""; position: absolute; right: 28px; top: 28px; width: 300px; height: 560px; background: url(/vine-tall.svg) center / contain no-repeat; pointer-events: none; }
.page-head { position: relative; }
/* wide pages: the sprig is its own grid column beside the title, so it can never overlap it */
.wrap > .page-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: start; }
.wrap > .page-head::after { content: ""; width: 300px; height: 126px; margin-top: -6px; background: url(/vine-sprig.svg) right center / contain no-repeat; pointer-events: none; }
/* narrow pages: the sprig hangs in the empty margin beside the column (only when there is room) */
.wrap-narrow > .page-head::after { content: ""; position: absolute; left: calc(100% + 24px); top: -12px; width: 220px; height: 92px; background: url(/vine-sprig.svg) left center / contain no-repeat; pointer-events: none; }
.vine-divider { height: 84px; max-width: 900px; margin: 28px auto 0; background: url(/vine-wide.svg) center / contain no-repeat; pointer-events: none; }
.vine-divider.alt { background-image: url(/vine-wide-b.svg); margin-top: 8px; }
.cta-banner::after { content: ""; position: absolute; right: -8px; bottom: -4px; width: 300px; height: 125px; background: url(/vine-sprig-light.svg) right bottom / contain no-repeat; pointer-events: none; }
@media (max-width: 1239px) { .wrap-narrow > .page-head::after { display: none; } }
@media (max-width: 999px) { .wrap > .page-head { display: block; } .wrap > .page-head::after { display: none; } .cta-banner::after { display: none; } }
@media (max-width: 899px) { .hero::after { display: none; } }
@media (max-width: 760px) { .vine-divider { height: 60px; } }

/* ---- darker-sage feature boxes ---- */
.service-item, .option-card, .step, .about-box { background: var(--sage-box); border: none; border-radius: var(--radius-md); }
.grid-2 { gap: 20px; }
.service-item { padding: 24px 26px; }
.service-item h3, .option-card h3, .step h3, .about-box h2 { color: var(--navy); }
.service-item p, .option-card p, .step p, .about-box p { color: var(--text); }
.option-grid { gap: 20px; }
.option-card { padding: 24px 26px; }
.option-card h3 { font-size: 1.02rem; }
.steps { display: grid; gap: 16px; margin-top: 8px; }
.step { padding: 22px 26px; }
.step:last-child { border-bottom: none; }
.step-num { color: var(--navy); font-size: 1.5rem; line-height: 1.1; width: 1.8em; }
.about-box { padding: 28px 32px; margin: 0 0 20px; }
.about-box h2.sub { margin: 0 0 12px; }
.about-box p:last-child { margin-bottom: 0; }
@media (max-width: 680px) { .about-box { padding: 22px 22px; } .service-item, .option-card, .step { padding: 20px 22px; } }
.about-box p, .step p, .service-item p, .option-card p { max-width: none; }

/* ---- consultation pricing ---- */
.lead-in { color: var(--text); margin-bottom: 18px; }
.group-title { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin: 30px 0 0; color: var(--navy); letter-spacing: 0; }
.option-card { display: flex; flex-direction: column; }
.option-card p.price { margin: auto 0 0; padding-top: 14px; }
.price { font-family: var(--serif); font-size: 1.55rem; color: var(--navy); line-height: 1.1; margin: 0; }
.price small { font-family: var(--sans); font-size: 0.85rem; color: var(--text); font-weight: 500; margin-left: 2px; }
.free-call { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px 28px; }
.free-call h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; color: var(--navy); letter-spacing: 0; }
.free-call p { margin: 0; color: var(--text); }
.free-call-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.free-call-right p.price { margin: 0; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.info-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 28px; }
.info-box h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; letter-spacing: 0; }
.info-box ul { margin: 0; padding-left: 1.15em; }
.info-box li { margin-bottom: 9px; font-size: 0.95rem; color: var(--text); }
.info-box li:last-child { margin-bottom: 0; }
.info-box a { color: var(--navy); font-weight: 600; }
.price { font-size: 1.8rem; font-weight: 600; }
.price small { font-size: 0.88rem; font-weight: 500; }
.option-card p.price { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--navy); line-height: 1.1; }
.option-card p.price small { font-family: var(--sans); font-size: 0.88rem; font-weight: 500; color: var(--text); }

/* ---- therapy rates & plans ---- */
.option-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .option-grid.cols-3 { grid-template-columns: 1fr; } }
.option-card p.fit { margin: 8px 0 0; font-size: 0.9rem; }
.option-card p.price-note { margin: 4px 0 0; font-size: 0.85rem; }
.rate-list { list-style: none; margin: 0; padding: 0; }
.rate-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.rate-list li:last-child { border-bottom: none; padding-bottom: 0; }
.rate-list strong { white-space: nowrap; color: var(--navy); font-weight: 600; }
.info-box .rate-list li { margin-bottom: 0; }
.info-box .rate-list { padding-left: 0; }
.option-grid:not(.cols-3) > .option-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---- mix & match examples ---- */
.jump-label { margin: 0 0 8px; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.jump a { padding: 7px 14px; border: 1px solid var(--ui-border); border-radius: 100px; font-size: 0.88rem; text-decoration: none; color: var(--text); background: transparent; }
.jump a:hover { background: var(--soft); border-color: var(--navy); }
.example-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .example-grid { grid-template-columns: 1fr; } }
.example { display: flex; flex-direction: column; background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px 28px; scroll-margin-top: 96px; }
.example:target { outline: 2px solid var(--navy); outline-offset: 3px; }
.example h3 { font-size: 1.25rem; line-height: 1.2; margin-bottom: 8px; }
.example h3 a { text-decoration: none; color: var(--navy); }
.example h3 a:hover { text-decoration: underline; }
.example .who { color: var(--text); font-size: 0.94rem; margin-bottom: 14px; }
.example .rate-list li em { display: block; font-style: normal; font-size: 0.8rem; color: var(--text-muted); }
.example-total { margin-top: auto; padding-top: 14px; border-top: 2px solid var(--navy); }
.example-total .price { margin: 0; }
.example-total .mo { margin: 2px 0 0; font-size: 0.88rem; color: var(--text-muted); }
.example .plan-ref { margin: 12px 0 0; font-size: 0.88rem; color: var(--text); }
.example .plan-ref a { color: var(--navy); font-weight: 600; }
.example-grid + .small { margin-top: 24px; }
.example .rate-list { margin-bottom: 16px; }

/* resources / articles */
.wrap-narrow > p.lede { font-size: 1.1rem; color: var(--text-muted); max-width: 60ch; margin-bottom: 28px; }
.wrap-narrow > p.byline { margin: -6px 0 22px; color: var(--text-muted); }
.wrap-narrow > p.fit { margin: 0 0 18px; font-size: 0.92rem; }
.wrap-narrow > p.fit a { color: var(--navy); font-weight: 600; text-decoration: none; }
.wrap-narrow h2.sub { margin-top: 36px; }
.wrap-narrow .info-box { margin: 22px 0; }
.wrap-narrow .info-box p:last-child { margin-bottom: 0; }
.wrap-narrow .info-box h3 + p { margin-top: 0; }
.wrap-narrow .btn-row { margin-top: 32px; }
.option-grid.one-col { grid-template-columns: 1fr; }
.option-card h3 a { color: inherit; text-decoration: none; }
.option-card h3 a:hover { text-decoration: underline; }
.option-card p.fit a { color: var(--navy); font-weight: 600; text-decoration: none; }

/* about portrait */
.about-intro { display: flex; align-items: center; gap: 28px; margin-bottom: 28px; }
.about-intro h1 { margin: 0 !important; }
.about-intro img { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 4px var(--paper-raised, #fff); }
@media (max-width: 520px) { .about-intro { flex-direction: column; align-items: flex-start; gap: 18px; } .about-intro img { width: 140px; height: 140px; } }

.foot-links { margin: 14px 0 0; font-size: 0.88rem; }
.foot-links a { color: var(--navy); font-weight: 600; }

.info-box.start-here { margin-top: 28px; }
.info-box.start-here p { margin-bottom: 0; max-width: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
