/* Psychology.com — warm humanist editorial.
   Spectral (serif headings) + Hanken Grotesk (body). Ochre/honey on white.
   Built to impeccable.style guidance: no eyebrows, no side-stripe callouts,
   no stat template, no identical icon-card grids. Contrast verified. */

:root {
  --bg: oklch(1 0 0);
  --dark: oklch(0.20 0.012 65);
  --dark-2: oklch(0.26 0.012 65);
  --ink: oklch(0.24 0.012 65);
  --ink-soft: oklch(0.44 0.015 65);
  --on-dark: oklch(0.95 0.005 80);
  --on-dark-soft: oklch(0.80 0.01 80);
  --brand: oklch(0.50 0.12 60);
  --brand-hover: oklch(0.43 0.11 58);
  --honey: oklch(0.82 0.13 82);
  --honey-deep: oklch(0.74 0.13 78);
  --line: oklch(0.90 0.008 70);
  --line-dark: oklch(0.34 0.012 65);
  --tint: oklch(0.97 0.018 80);
  --crisis-bg: oklch(0.96 0.03 30);
  --crisis-line: oklch(0.62 0.16 30);
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --read: 68ch;
  --wide: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--honey); color: oklch(0.25 0.04 70); padding: 11px 18px; border-radius: 0 0 10px 10px; font-family: var(--sans); font-weight: 700; text-decoration: none; transition: top .2s var(--ease); }
.skip-link:focus { top: 0; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); text-decoration: underline; text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .dark :focus-visible, .article-hero :focus-visible, .site-footer :focus-visible { outline-color: var(--honey); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 300; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 300; }
h3 { font-size: 1.35rem; font-weight: 500; }
p { text-wrap: pretty; }

.read { max-width: var(--read); margin-inline: auto; padding-inline: 24px; }
.wide { max-width: var(--wide); margin-inline: auto; padding-inline: 24px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header.on-dark { background: oklch(0.17 0.024 46 / 0.82); border-bottom-color: oklch(0.34 0.02 50 / 0.55); }
.site-header .bar { max-width: var(--wide); margin-inline: auto; padding: 9px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; }
.brand { font-family: var(--sans); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); }
.brand i { font-style: normal; font-weight: 700; color: var(--brand); font-size: 0.96em; letter-spacing: -0.01em; }
@media (max-width: 600px) { .brand { font-size: 1.3rem; } }
.on-dark .brand { color: var(--on-dark); } .on-dark .brand i { color: var(--honey); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: 0.92rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.on-dark .nav a { color: var(--on-dark-soft); } .on-dark .nav a:hover { color: var(--on-dark); }
.nav a.btn { padding: 8px 18px; font-size: 0.88rem; }
.nav a.btn-primary, .on-dark .nav a.btn-primary, .on-dark .nav a.btn-primary:hover { color: oklch(0.25 0.04 70); text-decoration: none; }

/* Mobile menu (CSS-only disclosure) */
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; border-radius: 10px; cursor: pointer; flex: none; }
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.on-dark .nav-burger span { background: var(--on-dark); }
.nav-burger:hover { background: color-mix(in oklch, currentColor 8%, transparent); }
.nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--brand); outline-offset: 3px; }
.on-dark .nav-toggle:focus-visible + .nav-burger { outline-color: var(--honey); }

@media (max-width: 640px) {
  .nav-burger { display: flex; order: 3; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 40px oklch(0.2 0.01 65 / 0.18); display: none; opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .on-dark .nav { background: var(--dark); border-bottom-color: var(--line-dark); }
  .nav-toggle:checked ~ .nav { display: flex; opacity: 1; transform: none; }
  .nav a { padding: 13px 12px; font-size: 1rem; border-radius: 10px; }
  .nav a:hover { background: color-mix(in oklch, currentColor 7%, transparent); text-decoration: none; }
  .on-dark .nav a { color: var(--on-dark); }
  .nav a.btn { margin-top: 8px; justify-content: center; padding: 13px 26px; font-size: 1rem; }
  .site-header .bar { position: relative; flex-wrap: wrap; }
}

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 700; font-size: 1rem; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .2s var(--ease), border-color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--honey); color: oklch(0.25 0.04 70); }
.btn-primary:hover { background: var(--honey-deep); }
.btn-line { border-color: currentColor; color: var(--ink); }
.on-dark .btn-line, .hero .btn-line, .about-open .btn-line, .dark .btn-line { color: var(--on-dark); }
.btn-line:hover { background: color-mix(in oklch, currentColor 10%, transparent); }

/* ---- Hero ---- */
.hero { position: relative; background: oklch(0.22 0.03 55); color: var(--on-dark); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; filter: saturate(1.05) brightness(1.06); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.18 0.025 45 / 0.28) 0%, oklch(0.18 0.025 45 / 0.18) 42%, oklch(0.16 0.02 40 / 0.72) 100%); }
.hero .wide { position: relative; z-index: 2; padding-top: clamp(76px, 12vh, 136px); padding-bottom: clamp(64px, 10vh, 112px); text-align: center; }
.hero h1 { color: #fff; max-width: 20ch; margin-inline: auto; text-shadow: 0 2px 30px oklch(0.14 0.02 40 / 0.6); }
.hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #fff; max-width: 54ch; margin: 18px auto 30px; line-height: 1.55; text-shadow: 0 1px 16px oklch(0.14 0.02 40 / 0.6); }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero .finder { margin: 30px auto 0; text-align: left; }
.hero .finder label { color: var(--ink-soft); }
.reveal { opacity: 0; transform: translateY(16px); animation: rise 0.9s var(--ease) forwards; }
.reveal.d1 { animation-delay: 0.08s; } .reveal.d2 { animation-delay: 0.16s; } .reveal.d3 { animation-delay: 0.24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---- Sections ---- */
.section { padding: clamp(44px, 6vw, 80px) 0; }
.section.snug { padding-top: clamp(8px, 1.5vw, 20px); }
.section.dark { background: linear-gradient(165deg, oklch(0.25 0.035 60) 0%, var(--dark) 72%); color: var(--on-dark); }
.section.cream { background: oklch(0.975 0.014 82); }
.section.warm { background: linear-gradient(180deg, oklch(0.98 0.014 88) 0%, oklch(0.955 0.026 74) 100%); }
.section.sand { background: linear-gradient(180deg, oklch(0.96 0.03 75), oklch(0.93 0.04 70)); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: var(--on-dark-soft); }
.lead-serif { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 26ch; }
.section-head { max-width: 60ch; margin-bottom: 12px; }
.section-head + .muted { color: var(--ink-soft); max-width: 58ch; }

/* ---- Conditions index (airy grid, no separator lines) ---- */
.index { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 12px; }
.index-group { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 56px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.index-group:first-child { margin-top: 8px; }
.index-group + .index { margin-top: 22px; }
.index a { display: block; padding: 20px 22px; border-radius: 16px; color: var(--ink); background: color-mix(in oklch, var(--ink) 3%, transparent); transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease); }
.index a:hover { text-decoration: none; transform: translateY(-3px); background: var(--bg); box-shadow: 0 16px 34px oklch(0.2 0.02 60 / 0.12); }
.index .name { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; display: block; line-height: 1.2; }
.index .meta { display: block; margin-top: 5px; font-size: 0.9rem; color: var(--ink-soft); }
.index a:hover .name { color: var(--brand); }
.dark .index a { background: oklch(1 0 0 / 0.05); color: var(--on-dark); }
.dark .index a:hover { background: oklch(0.27 0.014 62); box-shadow: none; }
.dark .index .name { color: var(--on-dark); } .dark .index a:hover .name { color: var(--honey); }
.dark .index .meta { color: var(--on-dark-soft); }

/* ---- Article ---- */
.article-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, oklch(0.28 0.045 60) 0%, var(--dark) 68%); color: var(--on-dark); padding: clamp(44px, 5.5vw, 72px) 0 clamp(30px, 4vw, 48px); }
.article-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 88% 0%, oklch(0.62 0.12 78 / 0.16), transparent 60%); pointer-events: none; }
.article-hero > * { position: relative; z-index: 1; }
.crumbs { font-size: 0.85rem; color: var(--on-dark-soft); margin-bottom: 22px; }
.crumbs a { color: var(--on-dark-soft); } .crumbs a:hover { color: var(--honey); }
.article-hero h1 { color: #fff; }
.article-hero .lede { font-family: var(--serif); font-weight: 300; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--on-dark); max-width: 56ch; margin-top: 16px; }
.article { padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 9vw, 96px); }
.article p, .article li { font-size: 1.1rem; }
.article h2 { margin: 2.2em 0 0.5em; }
.article h3 { margin: 1.8em 0 0.4em; }
.article ul, .article ol { padding-left: 1.2em; } .article li { margin: 0.45em 0; }
.meta-line { font-size: 0.9rem; color: var(--ink-soft); padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }

/* ---- On this page (article TOC): full tint + border, no side-stripe ---- */
.toc { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 20px 26px; margin: 28px 0 4px; }
.toc-label { font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 10px; }
.toc ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.toc li { break-inside: avoid; margin: 0; }
.toc a { display: block; padding: 6px 0; font-size: 1rem; color: var(--ink); }
.toc a:hover { color: var(--brand); text-decoration: none; }
@media (max-width: 600px) { .toc ul { columns: 1; } }

/* ---- Callouts: full border + tint, no side-stripe ---- */
.note { background: var(--tint); border: 1px solid color-mix(in oklch, var(--honey) 45%, var(--line)); border-radius: 14px; padding: 22px 26px; margin: 36px 0; font-size: 1.02rem; }
.note strong { color: var(--ink); }
.note.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.note.cta .btn { margin-left: auto; }
.crisis { background: var(--crisis-bg); border: 1px solid var(--crisis-line); border-radius: 14px; padding: 22px 26px; margin: 32px 0; }
.crisis strong { color: oklch(0.45 0.16 30); }
.keyfacts { margin: 36px 0; padding: 26px 30px; background: var(--dark); color: var(--on-dark); border-radius: 18px; }
.keyfacts h2 { color: #fff; font-size: 1.4rem; margin: 0 0 12px; }
.keyfacts ul { margin: 0; padding-left: 1.1em; } .keyfacts li { color: var(--on-dark-soft); margin: 0.5em 0; }

/* ---- Two paths (learn vs find help) ---- */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 44px; }
.path { padding: 38px 36px; border-radius: 20px; background: var(--tint); }
.path.alt { background: var(--dark); color: var(--on-dark); }
.path h2 { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; margin: 0 0 10px; }
.path.alt h2 { color: #fff; }
.path p { color: var(--ink-soft); margin: 0 0 22px; }
.path.alt p { color: var(--on-dark-soft); }
.path .go { font-weight: 700; color: var(--brand); }
.path.alt .go { color: var(--honey); }
.path a.go:hover { text-decoration: none; }

/* ---- Split image + text ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-top: 0; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split .media { aspect-ratio: 16 / 10; } }

/* ---- Pillars (text columns, not cards) ---- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 44px; }
@media (max-width: 820px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.pillar h3 { font-size: 1.25rem; margin: 0 0 8px; }
.pillar p { color: var(--ink-soft); margin: 0; }
.dark .pillar p { color: var(--on-dark-soft); }
.pillar { border-top: 2px solid var(--brand); padding-top: 18px; }

/* ---- FAQ ---- */
.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--brand); font-size: 1.4rem; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--ink-soft); max-width: 70ch; }

/* ---- Therapist finder ---- */
.finder { display: flex; flex-wrap: wrap; gap: 10px; background: var(--bg); border-radius: 16px; padding: 10px; margin-top: 30px; max-width: 620px; box-shadow: 0 18px 50px oklch(0.2 0.01 65 / 0.25); }
.finder .field { display: flex; align-items: center; gap: 10px; flex: 1 1 200px; padding: 6px 14px; border-radius: 10px; }
.finder label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); display: block; }
.finder input, .finder select { width: 100%; border: 0; outline: 0; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; padding: 2px 0; }
.finder .btn { flex: 0 0 auto; }
.specialties { columns: 3; column-gap: 48px; list-style: none; padding: 0; margin: 36px 0 0; }
.specialties li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--line); }
.specialties a { color: var(--ink); } .specialties a:hover { color: var(--brand); text-decoration: none; }
.dark .specialties li { border-bottom-color: var(--line-dark); }
.dark .specialties a { color: var(--on-dark); } .dark .specialties a:hover { color: var(--honey); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; margin-top: 40px; }
.step .n { font-family: var(--serif); font-weight: 300; font-size: 2.4rem; color: var(--brand); line-height: 1; }
.step h3 { margin: 10px 0 6px; }
.step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) { .specialties { columns: 1; } .finder .field + .field { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .finder { flex-direction: column; align-items: stretch; gap: 4px; } .finder .field { flex: 0 0 auto; padding: 10px 14px; } .finder .field + .field { border-top: 1px solid var(--line); } .finder .btn { width: 100%; justify-content: center; margin-top: 6px; } }

/* ---- Directory results ---- */
.results-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin: 8px 0 22px; }
.results-count { font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }
.results { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.tcard { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease); }
a.tcard:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--honey-deep); box-shadow: 0 14px 34px oklch(0.2 0.01 65 / 0.10); }
.tcard h3 { font-size: 1.3rem; color: var(--ink); margin: 0; }
.tcard h3 .cred { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--brand); letter-spacing: 0; }
.tcard .place { font-size: 0.95rem; color: var(--ink-soft); margin: 5px 0 0; }
.tcard .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.tag { font-size: 0.8rem; font-weight: 600; color: var(--ink); background: var(--tint); border: 1px solid color-mix(in oklch, var(--honey) 40%, var(--line)); border-radius: 999px; padding: 4px 12px; }
a.tag { border-color: color-mix(in oklch, var(--honey) 75%, var(--line)); transition: background .15s, border-color .15s, color .15s; }
a.tag:hover { background: var(--honey); border-color: var(--honey); color: oklch(0.25 0.04 70); text-decoration: none; }
.tcard .go { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--brand); font-size: 0.95rem; }
.results-empty { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 26px; color: var(--ink-soft); }
.results-empty strong { color: var(--ink); }

/* ---- Profile page ---- */
.profile-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 12px 0 0; }
.profile-cred { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--honey); }
.profile-place { color: var(--on-dark-soft); font-size: 1.08rem; margin: 14px 0 0; }
.article-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }

/* Wider container for the two-column profile body */
.profile-wrap { max-width: 980px; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 8px; }
/* When a column is missing (no bio, or no details), let the lone column span. */
.profile-grid:not(:has(.profile-main)), .profile-grid:not(:has(.profile-side)) { grid-template-columns: 1fr; max-width: 68ch; }
.profile-main { min-width: 0; }
.profile-side { min-width: 0; }
.profile-side .detail-block { background: var(--tint); border: 1px solid color-mix(in oklch, var(--honey) 28%, var(--line)); border-radius: 16px; padding: 22px 24px; }
.profile-side .detail-block + .detail-block { margin-top: 20px; }
.profile-side .detail-block h2 { font-size: 1.1rem; }
.profile-side p { font-size: 0.98rem; line-height: 1.6; margin: 0 0 8px; }
.profile-side p:last-child { margin-bottom: 0; }
.profile-side p strong { color: var(--ink); }

.detail-block { margin-top: 38px; }
.detail-block h2 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); margin-bottom: 16px; color: var(--ink); }
.detail-block .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-main .detail-block p { margin: 0 0 1.05em; }
.profile-main .detail-block p:last-child { margin-bottom: 0; }
.profile-main .detail-block + .detail-block { margin-top: clamp(34px, 4vw, 52px); }
.profile-back { margin-top: clamp(40px, 5vw, 60px); }

@media (max-width: 760px) {
  .profile-grid { grid-template-columns: 1fr; gap: 0; }
  .profile-side { margin-top: 38px; }
}
@media (max-width: 560px) { .tcard { padding: 18px 18px; } }

/* ---- Autocomplete ---- */
.ac-list { position: absolute; top: calc(100% + 10px); left: -6px; right: -6px; z-index: 60; margin: 0; padding: 6px; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 44px oklch(0.2 0.02 60 / 0.18); max-height: 300px; overflow-y: auto; display: none; }
.ac-list.open { display: block; }
.ac-item { padding: 11px 14px; border-radius: 9px; cursor: pointer; font-size: 0.98rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-item:hover, .ac-item[aria-selected="true"] { background: var(--tint); color: var(--brand-hover); }

/* ---- Stacked form ---- */
.stack-form { display: grid; gap: 16px; max-width: 520px; margin-top: 28px; }
.stack-form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.stack-form input, .stack-form textarea { font: inherit; font-size: 1rem; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.stack-form input:focus, .stack-form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.stack-form button { justify-self: start; margin-top: 4px; }

/* ---- Trust bar ---- */
.trustbar { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar .wide { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.trustbar span { font-weight: 600; font-size: 0.95rem; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.trustbar span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }

/* ---- How it works (intro + connected stepper) ---- */
.howit { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.howit-intro p { margin: 16px 0 28px; color: var(--ink-soft); max-width: 32ch; }
.howit-steps { list-style: none; margin: 0; padding: 0; }
.howit-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 22px; position: relative; padding-bottom: 34px; }
.howit-steps li:last-child { padding-bottom: 0; }
.howit-steps li:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 50px; bottom: 4px; width: 2px; background: color-mix(in oklch, var(--honey) 45%, var(--line)); }
.howit-n { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); border: 1px solid color-mix(in oklch, var(--honey) 55%, var(--line)); color: var(--brand); font-family: var(--serif); font-size: 1.35rem; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.howit-steps h3 { margin: 9px 0 5px; }
.howit-steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .howit { grid-template-columns: 1fr; gap: 36px; } }

/* ---- Visual pull-quote ---- */
.quote-feature { position: relative; margin-top: 24px; padding: clamp(26px, 3.2vw, 38px) clamp(24px, 3.5vw, 44px) clamp(22px, 2.6vw, 30px); background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 44px oklch(0.2 0.02 60 / 0.07); }
.quote-mark { position: absolute; top: clamp(4px, 1vw, 12px); left: clamp(18px, 2.5vw, 32px); font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1; color: var(--honey); pointer-events: none; }
.quote-feature .excerpt { position: relative; margin: 0; border: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.5; letter-spacing: -0.005em; color: var(--ink); }
.quote-cite { margin: 18px 0 0; font-size: 0.92rem; color: var(--ink-soft); }
.quote-cite a { color: var(--brand); font-weight: 600; }

/* ---- As seen in (press) ---- */
.press { background: var(--bg); border-bottom: 1px solid var(--line); padding: 30px 0; }
.press .wide { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.press-label { margin: 0; font-size: 0.9rem; color: var(--ink-soft); font-style: italic; font-family: var(--serif); }
.press-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(26px, 5vw, 56px); }
.press-logos img { height: 26px; width: auto; opacity: 0.6; filter: grayscale(1); transition: opacity .2s var(--ease); }
.press-logos img:hover { opacity: 0.95; }
@media (max-width: 600px) { .press-logos img { height: 22px; } }

/* ---- Writing sample ---- */
.excerpt { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.42; letter-spacing: -0.01em; margin: 16px 0 24px; color: var(--ink); border: 0; }
.excerpt-label { color: var(--ink-soft); font-size: 0.95rem; }

/* ---- Voices / testimonials ---- */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 40px; }
.voice { padding: 30px 32px; border-radius: 18px; background: var(--tint); }
.voice blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 1.3rem; line-height: 1.4; color: var(--ink); }
.voice .who { margin-top: 18px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }
.dark .voice { background: oklch(0.26 0.012 65); }
.dark .voice blockquote { color: #fff; } .dark .voice .who { color: var(--on-dark-soft); }

/* ---- Team ---- */
.team { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 44px; }
.member { display: flex; gap: 28px; align-items: flex-start; }
@media (max-width: 520px) { .member { flex-direction: column; gap: 16px; } }
.member .avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; flex: none; background: var(--tint); }
.member .avatar.initials { display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 2rem; color: var(--brand); border: 1px solid var(--line); }
.member h3 { margin: 0 0 2px; font-size: 1.4rem; }
.member .role { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; }
.member p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.member .social { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 600; font-size: 0.9rem; color: var(--brand); }
.member .social svg { width: 18px; height: 18px; }
.member .social:hover { color: var(--brand-hover); text-decoration: none; }
.member .avatar.top { object-position: top; }
figure.feature { margin: 0 0 40px; }
figure.feature .frame { border-radius: 20px; overflow: hidden; }
figure.feature img { width: 100%; display: block; }
figure.feature figcaption { color: var(--ink-soft); font-size: 0.9rem; margin-top: 12px; }
/* In-article editorial illustration */
.article figure.feature { margin: 38px 0 14px; }
.article figure.feature .frame { border: 1px solid var(--line); }
.article figure.feature figcaption { font-family: var(--sans); text-align: center; max-width: 56ch; margin-inline: auto; }
/* Article hero with illustration */
.article-hero .hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.article-hero .hero-art { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 26px 64px oklch(0.12 0.02 60 / 0.42); }
.article-hero .hero-art img { width: 100%; display: block; aspect-ratio: 16 / 10; object-fit: cover; }
.article-hero.has-art .lede { max-width: 46ch; }
@media (max-width: 820px) {
  .article-hero .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .article-hero .hero-art img { aspect-ratio: 16 / 9; }
}
/* In-article infographic */
.article figure.ig { margin: 44px auto; max-width: 100%; }
.article figure.ig img { width: 100%; display: block; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 18px 46px oklch(0.2 0.01 65 / 0.10); }
.article figure.ig figcaption { color: var(--ink-soft); font-size: 0.9rem; margin-top: 14px; text-align: center; font-family: var(--sans); }

/* ---- About: opener ---- */
.about-open { position: relative; overflow: hidden; background: linear-gradient(150deg, oklch(0.28 0.045 60) 0%, var(--dark) 70%); color: var(--on-dark); }
.about-open::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 110% at 92% 12%, oklch(0.62 0.12 78 / 0.15), transparent 60%); pointer-events: none; }
.about-open > * { position: relative; z-index: 1; }
.open-caption { margin: 14px 2px 0; font-size: 0.9rem; color: var(--on-dark-soft); }
.commitments { list-style: none; padding: 0; margin: 30px 0 0; }
.commitments li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.06rem; color: var(--ink-soft); }
.commitments li strong { color: var(--ink); }
.dark .commitments li { border-top-color: var(--line-dark); color: var(--on-dark-soft); }
.dark .commitments li strong { color: #fff; }
.about-work .split { align-items: center; }
.about-work .media { aspect-ratio: 4 / 5; box-shadow: 0 24px 50px oklch(0.2 0.02 60 / 0.18); }
.about-work .commitments { margin-top: 22px; }
@media (max-width: 760px) { .about-work .media { aspect-ratio: 4 / 3; } }
.about-open .wide { padding: clamp(40px, 6vw, 76px) 24px clamp(44px, 6vw, 80px); }
.about-open .crumbs { margin-bottom: clamp(24px, 4vw, 44px); }
.open-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.open-grid h1 { color: #fff; max-width: 16ch; }
.open-grid .sub { color: var(--on-dark-soft); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; margin: 18px 0 0; max-width: 44ch; }
.open-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.open-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px oklch(0 0 0 / 0.35); }
.open-photo img { width: 100%; display: block; }
@media (max-width: 800px) { .open-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---- About: two-column + timeline ---- */
.duo { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.duo .lead-serif { max-width: 18ch; }
.duo p { margin: 0 0 16px; }
.duo p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; gap: 16px; } }
.mission-duo { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.mission-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px oklch(0.2 0.02 60 / 0.16); }
.mission-photo img { width: 100%; display: block; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 760px) { .mission-duo { grid-template-columns: 1fr; } .mission-photo { order: -1; } }
.timeline { margin-top: 8px; }
.milestone { display: grid; grid-template-columns: 130px 1fr; gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.milestone .yr { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; color: var(--brand); line-height: 1; }
.milestone h3 { margin: 0 0 5px; font-size: 1.2rem; }
.milestone p { margin: 0; color: var(--ink-soft); }
.dark .milestone { border-top-color: var(--line-dark); }
.dark .milestone p { color: var(--on-dark-soft); }
.dark .milestone .yr { color: var(--honey); }
@media (max-width: 560px) { .milestone { grid-template-columns: 1fr; gap: 6px; } }

/* ---- Footer ---- */
.site-footer { position: relative; color: var(--on-dark-soft); background: linear-gradient(165deg, oklch(0.25 0.014 70) 0%, var(--dark) 45%, oklch(0.15 0.018 60) 100%); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: -40%; right: -8%; width: 60%; height: 150%; background: radial-gradient(circle, oklch(0.6 0.13 75 / 0.16), transparent 62%); pointer-events: none; }
.site-footer .wide { position: relative; z-index: 1; padding: clamp(52px, 7vw, 80px) 24px 36px; }
.site-footer .top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; }
.site-footer .brand { color: #fff; font-size: 1.5rem; }
.site-footer p { max-width: 34ch; margin: 14px 0 0; color: var(--on-dark-soft); }
.site-footer .col-label { font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.site-footer .col a { display: block; color: var(--on-dark-soft); margin: 10px 0; transition: color .15s; }
.site-footer .col a:hover { color: var(--honey); text-decoration: none; }
.site-footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.85rem; color: var(--on-dark-soft); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.site-footer .legal .crisis-line { color: #fff; font-weight: 600; }
.site-footer .legal .crisis-line b { color: var(--honey); }

@media (max-width: 640px) {
  .site-footer { background: linear-gradient(to bottom, oklch(0.23 0.014 68) 0%, var(--dark) 55%, oklch(0.16 0.016 60) 100%); }
  .site-footer::before { top: -12%; right: auto; left: 50%; width: 130%; height: 50%; transform: translateX(-50%); background: radial-gradient(ellipse at center, oklch(0.6 0.13 75 / 0.1), transparent 70%); }
  .site-footer .wide { padding: 48px 22px 30px; }
  .site-footer .top { gap: 36px 32px; }
  .site-footer .top > :first-child { flex-basis: 100%; }
  .site-footer .col { flex: 1 1 40%; min-width: 130px; }
  .site-footer p { max-width: none; }
  .site-footer .legal { flex-direction: column; gap: 14px; margin-top: 40px; }
}

@media (max-width: 700px) {
  body { font-size: 17px; }
  .index { columns: 1; }
  .nav { gap: 16px; } .nav a { font-size: 0.9rem; }
  .note.cta .btn { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
