/* Kisa Therapy Clinic — v3
   Concept: warm oat paper, the logo's navy ink and golden sun, a clay accent.
   Soft organic shapes instead of stock photography; Lora for warmth, DM Sans for clarity. */

:root {
  --bg: #fbf8f3;
  --bg-2: #f5f0e8;
  --surface: #ffffff;
  --ink: #123c53;
  --ink-2: #33566a;
  --ink-3: #5d7684;
  --line: #ddd2c1;
  --line-2: #e9e1d4;
  --clay: #c4673f;
  --clay-ink: #9a4520;
  --clay-soft: #f6dfd1;
  --sage: #9dbba3;
  --sage-soft: #e1ebe0;
  --sun: #efc36a;
  --sun-soft: #f8ebcc;
  --sky: #a9c4d4;
  --sky-soft: #e0eaf0;
  --navy: #123c53;
  --on-navy: #f7f2ea;
  --on-navy-2: #c6d4dc;
  --btn: #123c53;
  --btn-ink: #fffdf9;
  --btn-hover: #9a4520;
  --btn-hover-ink: #fffdf9;
  --focus: #c4673f;
  --tbd: #fff1b8;
  --tbd-ink: #6b4e00;
  --shadow-sm: 0 1px 2px rgba(18, 60, 83, .06);
  --shadow: 0 1px 2px rgba(18, 60, 83, .05), 0 12px 32px -14px rgba(18, 60, 83, .22);
  --shadow-lg: 0 30px 60px -28px rgba(18, 60, 83, .35);

  --display: "Lora", "Iowan Old Style", Georgia, serif;
  --body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --s-1: .875rem;
  --s0: 1.0625rem;
  --s1: clamp(1.25rem, 1.15rem + .4vw, 1.45rem);
  --s2: clamp(1.6rem, 1.35rem + 1vw, 2.15rem);
  --s3: clamp(1.85rem, 1.45rem + 1.8vw, 2.75rem);
  --s4: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  --r: 20px;
  --r-sm: 12px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1d27; --bg-2: #142633; --surface: #17293a; --ink: #f2ebe0; --ink-2: #d2cec4; --ink-3: #a3b1ba;
    --line: #2e4557; --line-2: #233849; --clay: #e08a63; --clay-ink: #f0a585; --clay-soft: #3e2a20;
    --sage: #7ea788; --sage-soft: #21352d; --sun: #e6bd6a; --sun-soft: #3a3220; --sky: #86a9bd; --sky-soft: #1e3039;
    --navy: #0a151d; --on-navy: #f2ebe0; --on-navy-2: #b4c3cc; --btn: #f2ebe0; --btn-ink: #0f1d27; --btn-hover: #e08a63; --btn-hover-ink: #0f1d27; --focus: #f0a585;
    --tbd: #4a3d12; --tbd-ink: #ffe28a;
    --shadow: 0 12px 32px -14px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1d27; --bg-2: #142633; --surface: #17293a; --ink: #f2ebe0; --ink-2: #d2cec4; --ink-3: #a3b1ba;
  --line: #2e4557; --line-2: #233849; --clay: #e08a63; --clay-ink: #f0a585; --clay-soft: #3e2a20;
  --sage: #7ea788; --sage-soft: #21352d; --sun: #e6bd6a; --sun-soft: #3a3220; --sky: #86a9bd; --sky-soft: #1e3039;
  --navy: #0a151d; --on-navy: #f2ebe0; --on-navy-2: #b4c3cc; --btn: #f2ebe0; --btn-ink: #0f1d27; --btn-hover: #e08a63; --btn-hover-ink: #0f1d27; --focus: #f0a585;
  --tbd: #4a3d12; --tbd-ink: #ffe28a;
  --shadow: 0 12px 32px -14px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 var(--s0)/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--clay); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--clay-ink); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: var(--s4); }
h2, .h2 { font-size: var(--s3); }
h3, .h3 { font-size: var(--s1); line-height: 1.25; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; color: var(--clay-ink); font-weight: 400; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--btn); color: var(--btn-ink); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.narrow { max-width: 760px; }
.i { flex: none; }
.small { font-size: var(--s-1); color: var(--ink-3); }
.tbd { background: var(--tbd); color: var(--tbd-ink); border-radius: 4px; padding: 0 .3em; box-decoration-break: clone; -webkit-box-decoration-break: clone; font-style: normal; }
.tbd::before { content: "To confirm: "; font-size: .78em; font-weight: 700; letter-spacing: .02em; }

.eyebrow { font: 600 .8rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--clay-ink); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); }
.eyebrow.on-dark { color: var(--sun); }
.eyebrow.on-dark::before { background: var(--sun); }
.lede { font-size: var(--s1); line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.lede-sm { font-size: 1.15rem; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.4em; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn .i { width: 18px; height: 18px; transition: transform .15s ease; }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { color: var(--btn-hover-ink); background: var(--btn-hover); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-ghost-light { border-color: var(--on-navy); color: var(--on-navy); }
.btn-ghost-light:hover { background: var(--on-navy); color: var(--navy); }
.btn-sm { min-height: 40px; padding: .6em 1.1em; font-size: .925rem; }
.btn-lg { min-height: 56px; padding: 1em 1.8em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.link-btn { background: none; border: 0; color: var(--ink); font: inherit; text-decoration: underline; text-decoration-color: var(--clay); text-underline-offset: .2em; cursor: pointer; padding: 6px; }

/* ---- header ---- */
.crisis-bar { background: var(--navy); color: var(--on-navy-2); font-size: .85rem; }
.crisis-bar .wrap { padding-block: 8px; text-align: center; }
.crisis-bar p { margin: 0; }
.crisis-bar a { color: var(--on-navy); font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { height: 56px; width: auto; }
/* On dark surfaces the logo sits on a cream chip so its navy water stays visible */
.foot-brand .logo-mark { height: 64px; background: #f7f2ea; border-radius: 14px; padding: 6px 8px; box-sizing: content-box; }
:root[data-theme="dark"] .site-header .logo-mark { background: #f7f2ea; border-radius: 12px; padding: 4px 6px; height: 48px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header .logo-mark { background: #f7f2ea; border-radius: 12px; padding: 4px 6px; height: 48px; } }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.main-nav a:hover { background: var(--bg-2); color: var(--ink); }
.main-nav a[aria-current] { color: var(--ink); background: var(--bg-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--ink); }
.theme-toggle .i:last-child { display: none; }
:root[data-theme="dark"] .theme-toggle .i:first-child { display: none; }
:root[data-theme="dark"] .theme-toggle .i:last-child { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-toggle .i:first-child { display: none; } :root:not([data-theme]) .theme-toggle .i:last-child { display: block; } }
.menu-toggle { display: none; }
.drawer { border-top: 1px solid var(--line); background: var(--bg); }
.drawer ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.drawer li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-2); text-decoration: none; font: 400 1.35rem/1.2 var(--display); }
.drawer nav { padding: 0 20px 24px; }
.drawer .btn { width: 100%; }
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
}

/* ---- sections ---- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-sm { padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 104px); }
.tint { background: var(--bg-2); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }
.section-head p:not(.eyebrow) { color: var(--ink-3); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.section-head.split h2 { margin-bottom: .3em; }
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { max-width: 52ch; }

/* ---- hero ---- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 100px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-bottom: 2rem; }
.finder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 6px; box-shadow: var(--shadow); }
.finder label { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 16px; min-width: 0; position: relative; }
.finder label:hover { background: var(--bg); }
.finder label + label::before { content: ""; position: absolute; left: -3px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.finder span { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.finder select { appearance: none; border: 0; background: transparent; font: 500 1rem/1.4 var(--body); color: var(--ink); padding: 2px 18px 0 0; cursor: pointer; width: 100%; text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(-45deg, transparent 50%, currentColor 50%); background-position: right 5px center, right 0 center; background-size: 5px 5px; background-repeat: no-repeat; }
.finder select:focus-visible { outline: none; }
.finder label:focus-within { outline: 3px solid var(--focus); outline-offset: -3px; }
.finder .btn { border-radius: 16px; min-height: 60px; }
.trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .i { width: 18px; height: 18px; color: var(--clay); }

.hero-art { position: relative; aspect-ratio: 1 / 1.08; }
.blob { position: absolute; border-radius: 50%; }
.b1 { inset: 4% 6% 10% 8%; background: radial-gradient(circle at 50% 70%, var(--sun) 0 28%, transparent 29%), var(--clay-soft); border-radius: 48% 52% 44% 56% / 56% 46% 54% 44%; animation: breathe 12s ease-in-out infinite; }
.b2 { width: 40%; aspect-ratio: 1; right: 0; top: 0; background: var(--sage-soft); border-radius: 60% 40% 55% 45%; animation: breathe 14s ease-in-out infinite reverse; }
.b3 { width: 34%; aspect-ratio: 1; left: 0; bottom: 4%; background: var(--sky-soft); border-radius: 45% 55% 40% 60%; animation: breathe 16s ease-in-out infinite; }
.b1::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 46%; height: 62%; transform: translateX(-50%); border: 10px solid var(--ink); border-bottom: 0; border-radius: 999px 999px 0 0; opacity: .9; }
@keyframes breathe { 50% { border-radius: 54% 46% 50% 50% / 48% 54% 46% 52%; transform: scale(1.02); } }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow-lg); font-size: .9rem; animation: float 8s ease-in-out infinite; }
.float-card b { display: block; color: var(--ink); font-weight: 600; }
.float-card span { color: var(--ink-3); }
.fc-1 { left: -4%; top: 14%; }
.fc-1 .avatar { width: 44px; height: 44px; font-size: .9rem; }
.fc-check { width: 28px; height: 28px; border-radius: 50%; background: var(--sage-soft); display: grid; place-items: center; color: var(--ink) !important; }
.fc-check .i { width: 16px; height: 16px; }
.fc-2 { right: -2%; top: 46%; flex-direction: column; align-items: flex-start; max-width: 230px; animation-delay: -3s; }
.fc-q { font: italic 400 1.05rem/1.35 var(--display); color: var(--ink); margin: 0; }
.fc-2 > span { font-size: .78rem; }
.fc-dots { display: flex; gap: 4px; }
.fc-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); opacity: .4; animation: dot 1.4s infinite; }
.fc-dots span:nth-child(2) { animation-delay: .2s; } .fc-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 40% { opacity: 1; } }
.fc-3 { left: 8%; bottom: 2%; animation-delay: -5s; }
.fc-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--sun-soft); display: grid; place-items: center; color: var(--ink) !important; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; width: 100%; margin-inline: auto; aspect-ratio: 1 / .9; }
  .finder { grid-template-columns: 1fr; }
  .finder label + label::before { left: 14px; right: 14px; top: -3px; bottom: auto; width: auto; height: 1px; }
}

/* ---- paths, chips, steps ---- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: var(--r); text-decoration: none; color: var(--ink-2); min-height: 280px; transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink-2); }
.pc-0 { background: var(--clay-soft); } .pc-1 { background: var(--sage-soft); } .pc-2 { background: var(--sky-soft); }
.path-n { font: italic 400 3rem/1 var(--display); color: var(--ink); opacity: .35; margin-bottom: auto; }
.path-card h3 { font-size: var(--s2); margin-top: 32px; }
.path-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-top: auto; }
.path-cta .i { width: 18px; transition: transform .2s; }
.path-card:hover .path-cta .i, .svc-card:hover .path-cta .i { transform: translateX(4px); }
.concerns-band { background: var(--surface); border-block: 1px solid var(--line-2); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips-center { justify-content: center; max-width: 900px; margin-inline: auto; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-decoration: none; font: 500 .95rem/1 var(--body); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 28px; border-top: 2px solid var(--ink); }
.step-n { display: inline-grid; place-items: center; font: 400 1rem/1 var(--display); width: 44px; height: 44px; border-radius: 50%; background: var(--sun-soft); color: var(--ink); margin-bottom: 20px; }
.steps h3 { font-size: var(--s1); }
.steps p { color: var(--ink-3); margin: 0; }
.steps-v { grid-template-columns: 1fr; gap: 0; }
.steps-v li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 28px 28px; position: relative; }
.steps-v li:last-child { padding-bottom: 8px; }
.steps-v .step-n { position: absolute; left: -23px; top: -4px; background: var(--clay-soft); }
.steps-v h3 { margin-top: 6px; }
.receive-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.receive-grid h2 { margin-bottom: .4em; }
.receive-grid p { color: var(--ink-3); margin: 0 0 28px; }
.receive-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.receive-list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line-2); font: 400 var(--s1)/1.4 var(--display); color: var(--ink); }
.receive-list li:first-child { border-top: 1px solid var(--line-2); }
.receive-list span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sky-soft); color: var(--ink); margin-top: 2px; }
.receive-list .i { width: 16px; height: 16px; }
@media (max-width: 860px) { .receive-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .paths, .steps:not(.steps-v) { grid-template-columns: 1fr; } .path-card { min-height: 0; } }

/* ---- services ---- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc-card { grid-column: span 2; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 28px; text-decoration: none; color: var(--ink-2); transition: transform .2s, box-shadow .2s; }
.svc-card:nth-child(4), .svc-card:nth-child(5) { grid-column: span 3; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink-2); }
.svc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--clay-soft); color: var(--ink); margin-bottom: 24px; }
.svc-card:nth-child(2n) .svc-icon { background: var(--sage-soft); }
.svc-card:nth-child(3n) .svc-icon { background: var(--sun-soft); }
.svc-icon .i { width: 24px; height: 24px; }
.svc-card p { color: var(--ink-3); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } .svc-card, .svc-card:nth-child(n) { grid-column: auto; } }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.jump a { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 500; font-size: .95rem; }
.svc-list { display: grid; gap: 24px; }
.svc-row { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3vw, 40px); background: var(--surface); border: 1px solid var(--line-2); border-radius: 28px; scroll-margin-top: 110px; }
.svc-art { border-radius: 22px; display: grid; place-items: center; min-height: 220px; color: var(--ink); }
.svc-art .i { width: 72px; height: 72px; stroke-width: 1.2; }
.svc-row h2 { font-size: var(--s2); }
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks .i { color: var(--clay); width: 18px; }
.note { color: var(--ink-3); font-size: .95rem; }
@media (max-width: 760px) { .svc-row { grid-template-columns: 1fr; } .svc-art { min-height: 140px; } }

/* tones shared by avatars and article art */
.tone-clay { background: var(--clay-soft); --tone: var(--clay); }
.tone-sage { background: var(--sage-soft); --tone: var(--sage); }
.tone-sun { background: var(--sun-soft); --tone: var(--sun); }
.tone-sky { background: var(--sky-soft); --tone: var(--sky); }

/* ---- therapists ---- */
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; position: relative; overflow: hidden; flex: none; font: 400 1.2rem/1 var(--display); color: var(--ink); }
.avatar::before { content: ""; position: absolute; width: 70%; height: 70%; bottom: -30%; border-radius: 50%; background: var(--tone); opacity: .55; }
.avatar span { position: relative; }
.avatar.has-photo::before { display: none; }
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.5); }
.portrait { width: clamp(220px, 28vw, 340px); height: auto; flex: none; }
/* Leader images arrive in mixed shapes (square photo, arch cut-outs, round avatar); one arch frame evens them out */
.leader-photo { width: min(100%, 220px); aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px 18px 18px; }
.avatar-lg { width: 120px; height: 120px; font-size: 2rem; margin: 0 auto 16px; }
.avatar-xl { width: clamp(140px, 18vw, 220px); height: clamp(140px, 18vw, 220px); font-size: 3.4rem; border-radius: 36% 64% 52% 48% / 46% 44% 56% 54%; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-group + .t-group { margin-top: clamp(40px, 5vw, 64px); }
.t-group[hidden] { display: none; }
.t-group-h { display: flex; align-items: baseline; gap: 12px; font-size: var(--s2); padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--line-2); }
.t-group-h span { font: 600 .85rem/1 var(--body); color: var(--ink-3); background: var(--bg-2); border-radius: 999px; padding: 6px 10px; }
.t-card { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px; transition: box-shadow .2s, transform .2s; }
.t-card:hover { box-shadow: var(--shadow); }
.t-card[hidden] { display: none; }
.t-card-top { display: flex; gap: 18px; align-items: center; }
.t-card-top .avatar { width: 104px; height: 104px; }
.t-card h3 { margin: 0 0 2px; font-size: 1.35rem; }
.t-card h3 a { text-decoration: none; }
.t-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.t-card h3 a:focus-visible { outline: none; }
.t-card:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.t-role { color: var(--ink-3); font-size: .925rem; margin: 0; }
.t-status { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--ink-3); margin: 0; }
.t-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.t-status.is-open { color: var(--ink); }
.t-status.is-open .dot { background: #3f9c6d; box-shadow: 0 0 0 4px color-mix(in srgb, #3f9c6d 22%, transparent); }
.t-intro { margin: 0; color: var(--ink-2); }
.t-fee { margin: 0; font: 400 var(--s2)/1 var(--display); color: var(--ink); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li, .tags a { font-size: .8rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); text-decoration: none; }
.tags li:has(a) { padding: 0; background: none; }
.t-meta { margin: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-3); }
.t-meta div { display: flex; gap: 10px; align-items: center; }
.t-meta dt .i { width: 16px; height: 16px; }
.t-meta dd { margin: 0; }
.t-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; position: relative; z-index: 1; }
.t-actions .btn { flex: 1; }
.sample-badge { align-self: flex-start; order: -1; margin: 0 0 -4px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--tbd); color: var(--tbd-ink); padding: 3px 8px; border-radius: 6px; }
@media (max-width: 1020px) { .t-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .t-grid { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.filters label { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; border-radius: 14px; background: var(--bg); flex: 1 1 160px; }
.filters label > span { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.filters select, .filters input[type="search"] { border: 0; background: transparent; font: 500 1rem/1.4 var(--body); color: var(--ink); padding: 0; width: 100%; }
.filters select:focus-visible, .filters input:focus-visible { outline: none; }
.filters label:focus-within { outline: 3px solid var(--focus); outline-offset: 0; }
.f-search { flex-direction: row !important; align-items: center; gap: 10px !important; flex: 1.4 1 220px !important; }
.f-search .i { color: var(--ink-3); }
.f-toggle { flex-direction: row !important; align-items: center; gap: 10px !important; cursor: pointer; flex: 0 1 auto !important; }
.f-toggle input { width: 20px; height: 20px; accent-color: var(--ink); }
.f-toggle span { text-transform: none !important; letter-spacing: 0 !important; font-size: .95rem !important; color: var(--ink) !important; font-weight: 500 !important; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 16px; color: var(--ink-3); }
.results-bar p { margin: 0; }
.empty { text-align: center; padding: 40px; }
.match-cta { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px; border-radius: var(--r); background: var(--sun-soft); }
.match-cta p { margin: 0; }

.profile-head { padding-block: 32px 48px; background: linear-gradient(var(--bg-2), var(--bg)); }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: var(--ink-3); margin-bottom: 28px; flex-wrap: wrap; }
.profile-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.profile-grid h1 { font-size: var(--s3); margin-bottom: .2em; }
.profile-intro { font: italic 400 var(--s1)/1.45 var(--display); color: var(--ink); max-width: 46ch; margin-top: 16px; }
.profile-body { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; margin-bottom: 48px; }
@media (max-width: 820px) { .profile-grid, .profile-body { grid-template-columns: 1fr; } }

/* ---- cards, prose, facts ---- */
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.donate-embed { min-height: 320px; }
@media (min-width: 821px) { .prose-grid.donate-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); } }
.stack { display: grid; gap: 20px; align-content: start; }
.stack-sm > * + * { margin-top: 12px; }
.notice { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; background: var(--sun-soft); color: var(--ink); border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 20px; }
.notice .i { width: 18px; margin-top: 3px; color: var(--clay-ink); }
.facts { margin: 0; display: grid; gap: 14px; }
.facts div { display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.facts div:last-child { border: 0; padding: 0; }
.facts dt { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.facts dd { margin: 0; color: var(--ink); }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--s2); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--clay); }
.prose-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .prose-grid { grid-template-columns: 1fr; } }
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.leader h3 { margin-bottom: 4px; }
.leader p { color: var(--ink-3); }
@media (max-width: 640px) { .leaders { grid-template-columns: 1fr; } }

/* ---- values band ---- */
.values { background: var(--navy); color: var(--on-navy-2); border-radius: clamp(0px, 3vw, 40px); margin-inline: clamp(0px, 2vw, 24px); }
.values h2, .values h3 { color: var(--on-navy); }
.values h2 em { color: var(--sun); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.values-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.values-list li { display: flex; gap: 20px; }
.values-list li > span { width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--on-navy) 10%, transparent); display: grid; place-items: center; color: var(--sun); flex: none; }
.values-list h3 { margin-bottom: 4px; }
.values-list p { margin: 0; }
.values .tbd { background: rgba(255, 241, 184, .16); color: #ffe7a3; }
@media (max-width: 820px) { .values-grid { grid-template-columns: 1fr; } }

/* ---- posts ---- */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.p-card[hidden] { display: none; }
.p-art { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.p-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.p-card:hover .p-art img { transform: scale(1.03); }
.p-art span, .article-art span { position: absolute; border-radius: 50%; background: var(--tone); }
.p-art span:first-child { width: 46%; aspect-ratio: 1; right: 12%; top: 18%; opacity: .7; }
.p-art span:last-child { width: 80%; aspect-ratio: 1; left: -18%; bottom: -60%; background: color-mix(in srgb, var(--tone) 60%, var(--surface)); }
.p-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--clay-ink); margin-bottom: 10px; }
.p-card h3 { font-size: 1.4rem; }
.p-card h3 a { text-decoration: none; }
.p-card h3 a::after { content: ""; position: absolute; inset: 0; }
.p-card p { color: var(--ink-3); }
.p-meta { margin-top: auto; margin-bottom: 0; font-size: .875rem; color: var(--ink-3); }
.p-grid-feature .p-card-big { grid-column: 1 / -1; flex-direction: row; }
.p-card-big .p-art { flex: 1.1; aspect-ratio: auto; min-height: 320px; }
.p-card-big .p-body { flex: 1; padding: clamp(28px, 4vw, 48px); justify-content: center; }
.p-card-big h3 { font-size: var(--s2); }
.p-card-big .p-meta { margin-top: 12px; }
@media (max-width: 960px) { .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .p-grid { grid-template-columns: 1fr; } .p-grid-feature .p-card-big { flex-direction: column; } .p-card-big .p-art { min-height: 200px; } }
.blog-tools { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.blog-tools .f-search { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); min-width: min(100%, 300px); }
.blog-tools .f-search:focus-within { outline: 3px solid var(--focus); }
.blog-tools input { border: 0; background: transparent; font: inherit; color: var(--ink); width: 100%; }
.blog-tools input:focus-visible { outline: none; }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: var(--clay); }
.article-head { padding-top: clamp(40px, 6vw, 80px); }
.article-head h1 { font-size: var(--s3); }
.article-art { position: relative; height: clamp(180px, 26vw, 340px); border-radius: 28px; overflow: hidden; margin: 40px 0; }
.article-art span:nth-child(1) { width: 30%; aspect-ratio: 1; left: 58%; top: 18%; opacity: .75; }
.article-art span:nth-child(2) { width: 60%; aspect-ratio: 1; left: -10%; top: 40%; background: color-mix(in srgb, var(--tone) 55%, var(--surface)); }
.article-art span:nth-child(3) { width: 14%; aspect-ratio: 1; left: 30%; top: 12%; background: var(--surface); opacity: .6; }
.article-body { font-size: 1.125rem; line-height: 1.75; }
/* Covers are often designed graphics with text, so they are shown whole rather than cropped */
.article-cover { margin: 40px auto; max-width: 980px; }
.article-cover img { width: 100%; height: auto; max-height: 640px; object-fit: contain; border-radius: 24px; background: var(--bg-2); }
.article-body img { max-width: 100%; height: auto; border-radius: 16px; margin: 1.5em auto; display: block; }
.article-body figure { margin: 1.5em 0; }
.article-body figcaption { font-size: var(--s-1); color: var(--ink-3); text-align: center; }
.article-body > p:first-child::first-letter { font: 400 3.6em/.8 var(--display); float: left; margin: .08em .1em 0 0; color: var(--clay-ink); }
.article-cta { margin: 48px 0 24px; padding: 32px; border-radius: var(--r); background: var(--sage-soft); }

/* ---- faq ---- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 0; cursor: pointer; list-style: none; font: 400 1.25rem/1.3 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.plus { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .2s, background .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus { transform: rotate(45deg); background: var(--clay-soft); }
.faq-a { padding-bottom: 22px; max-width: 62ch; }

/* ---- fees, contact, crisis ---- */
.fees-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.fee-table { width: 100%; border-collapse: collapse; }
.fee-table th, .fee-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-weight: 400; }
.fee-table thead th { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.fee-table tbody th { color: var(--ink); }
.fee-table td { text-align: right; font: 400 1.2rem var(--display); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.contact-item > .i { width: 28px; height: 28px; color: var(--clay); margin-bottom: 16px; }
@media (max-width: 900px) { .fees-grid { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- forms ---- */
.book-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.book-aside { display: grid; gap: 24px; position: sticky; top: 110px; padding-left: 24px; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } .book-aside { position: static; } }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font: 400 var(--s1)/1.2 var(--display); color: var(--ink); margin-bottom: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field .label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.req, .opt { font-weight: 400; font-size: .8rem; color: var(--ink-3); margin-left: 4px; }
input, select, textarea { font: inherit; color: var(--ink); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 35%, transparent); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-radio { position: relative; }
.pill-radio input { position: absolute; opacity: 0; }
.pill-radio span { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 500; font-size: .95rem; }
.pill-radio input:checked + span { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.pill-radio input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check-field label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--ink-2); }
.check-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.form-msg { margin: 16px 0 0; font-weight: 500; }
.form-msg.is-error { color: #b3261e; }
:root[data-theme="dark"] .form-msg.is-error { color: #ffb4ab; }
.form-msg.is-ok { color: var(--ink); background: var(--sage-soft); padding: 12px 16px; border-radius: 12px; }

/* ---- footer ---- */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding-top: 16px; }
.site-footer a { color: var(--on-navy); text-decoration-color: color-mix(in srgb, var(--sun) 70%, transparent); }
.site-footer a:hover { color: var(--sun); }
.site-footer .btn-primary { background: var(--sun); color: #123c53; }
.site-footer .btn-primary:hover { background: var(--on-navy); color: #123c53; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 48px; }
.foot-brand .brand { color: var(--on-navy); }
.foot-brand > p { margin: 16px 0 24px; }
.foot-h { font: 600 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { text-decoration: none; }
.newsletter label { display: block; font-weight: 600; color: var(--on-navy); margin-bottom: 10px; }
.nl-row { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--on-navy) 10%, transparent); max-width: 400px; }
.nl-row input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--on-navy); padding: 0 14px; font: inherit; }
.nl-row input::placeholder { color: var(--on-navy-2); opacity: .8; }
.nl-row input:focus-visible { outline: none; }
.nl-row:focus-within { outline: 2px solid var(--sun); }
.newsletter .form-msg { color: var(--on-navy); font-size: .9rem; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: .875rem; }
.foot-base p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---- motion ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print { .crisis-bar, .site-header, .site-footer, .progress { display: none; } }
