/* ============================================================
   Global Outreach V2 — Design tokens & base
   ============================================================ */
:root {
  --ink:          oklch(20% 0.025 255);
  --ink-soft:     oklch(42% 0.02 250);
  --ink-faint:    oklch(58% 0.015 240);
  --paper:        oklch(98.6% 0.004 170);
  --sage-tint:    oklch(95.8% 0.014 172);
  --sage-line:    oklch(90% 0.02 172);
  --primary:      oklch(50.5% 0.085 175);
  --primary-hover:oklch(45% 0.085 178);
  --primary-deep: oklch(29% 0.05 190);
  --on-deep:      oklch(96% 0.01 170);
  --on-deep-dim:  oklch(80% 0.025 172);
  --accent-clay:  oklch(70% 0.10 55);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px oklch(20% 0.03 200 / 0.05), 0 12px 32px -12px oklch(20% 0.03 200 / 0.14);
  --font-ui: "Inter", -apple-system, sans-serif;
  --font-display: "Literata", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h1 em, h2 em { font-style: italic; color: var(--primary); }

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.05rem; }

section { padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4rem); }
.hero, .payers { padding-top: 0; padding-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 10px; border: none;
  text-decoration: none; cursor: pointer;
  transition: transform 0.4s var(--ease-out), background-color 0.25s ease, box-shadow 0.4s var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 24px -10px oklch(50% 0.09 175 / 0.55); }
.btn-light { background: var(--paper); color: var(--primary-deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -8px oklch(10% 0.03 190 / 0.5); }
.btn-ghost { background: transparent; color: var(--on-deep); box-shadow: inset 0 0 0 1.5px oklch(96% 0.01 170 / 0.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px oklch(96% 0.01 170 / 0.8); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: oklch(98.6% 0.004 170 / 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sage-line);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 2.5rem;
  padding: 0.8rem clamp(1.25rem, 4vw, 2rem);
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta { padding: 0.6rem 1.2rem; }

/* ============================================================
   Hero
   ============================================================ */
.hero { background: linear-gradient(180deg, var(--sage-tint) 0%, var(--paper) 100%); overflow: hidden; }
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-lede { margin-top: 1.25rem; font-size: 1.1rem; color: var(--ink-soft); max-width: 34rem; }

/* --- match quiz --- */
.quiz {
  margin-top: 2.25rem;
  background: white; border: 1px solid var(--sage-line);
  border-radius: 16px; padding: 1.25rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-card);
  max-width: 40rem;
}
.quiz-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.quiz-back {
  border: 1px solid var(--sage-line); background: white; color: var(--primary);
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 0.95rem;
  display: grid; place-items: center; flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.quiz-back:hover { border-color: var(--primary); }
.quiz-back[hidden] { display: none; }
.quiz-q { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.quiz-dots { margin-left: auto; display: flex; gap: 0.35rem; }
.quiz-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-line); transition: background 0.3s ease; }
.quiz-dots i.on { background: var(--primary); }
.quiz-step { display: none; }
.quiz-step.is-on { display: block; animation: quiz-in 0.45s var(--ease-out); }
@keyframes quiz-in { from { opacity: 0; transform: translateX(14px); } }
.quiz-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quiz-opts button {
  font-family: var(--font-ui); font-size: 0.9rem; font-weight: 500;
  padding: 0.55rem 1.05rem; border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--ink-soft);
  border: 1px solid var(--sage-line);
  transition: all 0.2s ease;
}
.quiz-opts button:hover { border-color: var(--primary); color: var(--primary); }
.quiz-opts button.picked { background: var(--primary); border-color: var(--primary); color: white; }
.quiz-final { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.quiz-final select {
  flex: 1; min-width: 200px;
  font-family: var(--font-ui); font-size: 0.92rem; font-weight: 500; color: var(--ink);
  padding: 0.6rem 0.9rem; border-radius: 10px;
  border: 1px solid var(--sage-line); background: white; cursor: pointer;
}
.quiz-note { margin-top: 0.8rem; font-size: 0.83rem; color: var(--ink-faint); }

.hero-trust { margin-top: 1.5rem; font-size: 0.88rem; color: var(--ink-faint); }
.hero-trust strong { color: var(--primary); font-weight: 600; }

/* Hero people collage */
.hero-people { position: relative; height: clamp(360px, 40vw, 480px); }
.hp {
  position: absolute; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 3px solid white;
}
.hp img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hp-a { width: 52%; aspect-ratio: 4 / 5; top: 4%; left: 0; z-index: 2; }
.hp-b { width: 44%; aspect-ratio: 4 / 5; top: 0; right: 2%; transform: rotate(2.2deg); }
.hp-c { width: 46%; aspect-ratio: 4 / 5; bottom: 0; left: 26%; transform: rotate(-1.6deg); z-index: 3; }
.hp-chip {
  position: absolute; z-index: 4; bottom: 9%; right: 0;
  display: flex; align-items: center; gap: 0.5rem;
  background: white; border: 1px solid var(--sage-line); border-radius: 999px;
  padding: 0.55rem 1rem; font-size: 0.83rem; font-weight: 600;
  box-shadow: var(--shadow-card);
}
.hp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px oklch(50.5% 0.085 175 / 0.18); } }

/* ============================================================
   Payers marquee
   ============================================================ */
.payers {
  border-block: 1px solid var(--sage-line);
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.1rem clamp(1.25rem, 5vw, 4rem);
}
.payers-label { flex-shrink: 0; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-faint); }
.payers-track-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.payers-track { display: flex; gap: 2.75rem; width: max-content; animation: marquee 42s linear infinite; }
.payers-track-wrap:hover .payers-track { animation-play-state: paused; }
.payers-track span { font-family: var(--font-display); font-size: 1.02rem; color: var(--ink-soft); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Services (editorial rows)
   ============================================================ */
.services { max-width: 1180px; margin: 0 auto; }
.service-rows { border-top: 1px solid var(--sage-line); }
.service-row {
  display: grid; grid-template-columns: 4rem 1fr auto 3rem;
  gap: clamp(1rem, 3vw, 2.5rem); align-items: center;
  padding: 2rem 0.5rem; border-bottom: 1px solid var(--sage-line);
  text-decoration: none;
  transition: background-color 0.35s ease, padding-left 0.5s var(--ease-out);
}
.service-row:hover { background: var(--sage-tint); padding-left: 1.25rem; }
.sr-num { font-family: var(--font-display); font-size: 1.05rem; color: var(--primary); }
.sr-body h3 { font-size: 1.45rem; margin-bottom: 0.35rem; }
.sr-body p { color: var(--ink-soft); font-size: 0.97rem; max-width: 44rem; }
.sr-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; max-width: 15rem; justify-content: flex-end; }
.sr-tags i {
  font-style: normal; font-size: 0.76rem; font-weight: 500;
  background: white; border: 1px solid var(--sage-line);
  padding: 0.22rem 0.65rem; border-radius: 999px; color: var(--ink-soft);
}
.sr-arrow { font-size: 1.4rem; color: var(--primary); transition: transform 0.4s var(--ease-out); }
.service-row:hover .sr-arrow { transform: translateX(6px); }

/* ============================================================
   Directory
   ============================================================ */
.directory { background: var(--sage-tint); }
.directory > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.match-banner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--primary-deep); color: var(--on-deep);
  border-radius: 12px; padding: 0.8rem 1.2rem; margin-bottom: 1.25rem;
  font-size: 0.92rem;
}
.match-banner[hidden] { display: none; }
.match-banner strong { color: white; }
.match-clear {
  margin-left: auto; cursor: pointer;
  background: none; border: none; color: var(--on-deep-dim);
  font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.match-clear:hover { color: white; }

.dir-filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; flex: 1; }
.dir-tools { display: flex; gap: 0.6rem; flex-wrap: wrap; }
#dirSearch {
  font-family: var(--font-ui); font-size: 0.88rem; color: var(--ink);
  padding: 0.5rem 0.9rem; width: 200px;
  border: 1px solid var(--sage-line); border-radius: 10px; background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#dirSearch:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px oklch(50.5% 0.085 175 / 0.15); }
#dirSearch::placeholder { color: var(--ink-faint); }
.chip {
  font-family: var(--font-ui); font-size: 0.85rem; font-weight: 500;
  padding: 0.45rem 1rem; border-radius: 999px; cursor: pointer;
  background: white; color: var(--ink-soft);
  border: 1px solid var(--sage-line);
  transition: all 0.25s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: white; }
#roleFilter {
  font-family: var(--font-ui); font-size: 0.88rem; font-weight: 500;
  padding: 0.5rem 0.9rem; border-radius: 10px;
  border: 1px solid var(--sage-line); background: white; color: var(--ink); cursor: pointer;
}
.dir-count { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 1.5rem; }

.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}
.pcard {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 20px;
  background: var(--sage-line);
  box-shadow: var(--shadow-card);
  text-decoration: none; color: white;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  outline-offset: 3px;
}
.pcard:hover { transform: translateY(-5px); box-shadow: 0 2px 4px oklch(20% 0.03 200 / 0.06), 0 28px 56px -18px oklch(20% 0.03 200 / 0.3); }
.pcard-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  transition: transform 0.9s var(--ease-out);
}
.pcard:hover .pcard-img { transform: scale(1.05); }
/* scrim: keeps overlaid text readable on any photo */
.pcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(20% 0.03 200 / 0.12) 0%, transparent 22%, transparent 48%, oklch(15% 0.035 210 / 0.86) 100%);
  transition: opacity 0.4s ease;
}
.pcard-role {
  position: absolute; z-index: 2; top: 0.9rem; left: 0.9rem;
  background: oklch(98.6% 0.004 170 / 0.9); color: var(--primary-deep);
  font-size: 0.72rem; font-weight: 600; padding: 0.32rem 0.75rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.pcard-go {
  position: absolute; z-index: 2; top: 0.8rem; right: 0.8rem;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: oklch(98.6% 0.004 170 / 0.9); color: var(--primary-deep);
  font-size: 1rem;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.5s var(--ease-out);
}
.pcard:hover .pcard-go, .pcard:focus-visible .pcard-go { opacity: 1; transform: none; }
.pcard-info {
  position: absolute; z-index: 2; inset-inline: 0; bottom: 0;
  padding: 1.1rem 1.2rem 1.15rem;
}
.pcard-name {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.005em;
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.5rem;
}
.pcard-cred { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 500; color: oklch(93% 0.01 170 / 0.85); }
.pcard-meta { margin-top: 0.4rem; font-size: 0.82rem; color: oklch(96% 0.008 170 / 0.92); }
.pcard-meta b { font-weight: 500; color: oklch(93% 0.01 170 / 0.72); }
/* strong-match badge (quiz results) */
.pcard-badge {
  position: absolute; z-index: 2; top: 0.9rem; right: 0.9rem;
  background: var(--accent-clay); color: oklch(25% 0.04 60);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 0.32rem 0.7rem; border-radius: 999px;
  display: none;
}
.pcard.is-match .pcard-badge { display: block; }
.pcard.is-match .pcard-go { display: none; }

/* callout card inside the grid */
.cta-card {
  aspect-ratio: 4 / 5; border-radius: 20px;
  background: var(--primary-deep); color: var(--on-deep);
  padding: 1.5rem; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center; gap: 0.9rem;
  box-shadow: var(--shadow-card);
}
.cta-kicker { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--on-deep-dim); }
.cta-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.3; }
.cta-card .btn { padding: 0.7rem 1.3rem; font-size: 0.9rem; }
.cta-alt { font-size: 0.85rem; color: var(--on-deep-dim); }
.cta-alt a { color: var(--on-deep); font-weight: 600; text-decoration: none; }
.cta-alt a:hover { text-decoration: underline; }

.dir-empty {
  text-align: center; color: var(--ink-soft);
  background: white; border: 1px solid var(--sage-line); border-radius: 16px;
  padding: 3rem 1.5rem; max-width: 34rem; margin: 0 auto;
}
.dir-empty-head { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); margin-bottom: 0.5rem; }
.dir-empty a { color: var(--primary); font-weight: 600; }
.dir-empty .btn { margin-top: 1.25rem; }

/* ============================================================
   How it works
   ============================================================ */
.how { max-width: 1180px; margin: 0 auto; }
.how-steps {
  list-style: none; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem);
  counter-reset: step;
}
.how-steps li { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--sage-line); }
.how-steps li::before {
  content: ""; position: absolute; top: -2px; left: 0; width: 3.5rem; height: 2px; background: var(--primary);
}
.how-k { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--primary); }
.how-steps h3 { font-size: 1.35rem; margin: 0.5rem 0 0.6rem; }
.how-steps p { color: var(--ink-soft); font-size: 0.97rem; }

/* ============================================================
   Voice (testimonial, drenched)
   ============================================================ */
.voice { background: var(--primary-deep); color: var(--on-deep); }
.voice-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: end;
}
.voice blockquote p {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35; font-weight: 400; letter-spacing: -0.005em;
}
.voice blockquote footer { margin-top: 1.75rem; font-size: 0.95rem; }
.voice blockquote footer span { color: var(--on-deep-dim); margin-left: 0.75rem; }
.voice-side { display: flex; flex-direction: column; gap: 1.4rem; border-left: 1px solid oklch(96% 0.01 170 / 0.2); padding-left: 2rem; }
.voice-stat { font-size: 0.92rem; color: var(--on-deep-dim); line-height: 1.5; }
.voice-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--on-deep); font-weight: 500; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--sage-line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  list-style: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 500;
  padding: 1.35rem 0.25rem;
  transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--primary); }
.faq-x { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-x::before, .faq-x::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--primary);
  transition: transform 0.4s var(--ease-out);
}
.faq-x::before { width: 14px; height: 2px; }
.faq-x::after { width: 2px; height: 14px; }
details[open] .faq-x::after { transform: rotate(90deg); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--ink-soft); font-size: 0.98rem; padding: 0 2.5rem 1.5rem 0.25rem; max-width: 64ch; }

/* ============================================================
   Closer + Footer
   ============================================================ */
.closer { background: var(--primary); }
.closer-inner { max-width: 1180px; margin: 0 auto; text-align: left; display: grid; grid-template-columns: minmax(0,1.5fr) auto; align-items: center; gap: 2rem; }
.closer h2 { color: white; max-width: 22ch; }
.closer-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.footer { background: var(--primary-deep); color: var(--on-deep-dim); padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem) 2rem; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid oklch(96% 0.01 170 / 0.15);
}
.footer-brand img { background: white; padding: 6px 10px; border-radius: 8px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 30ch; }
.footer-col h4 { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--on-deep); margin-bottom: 0.9rem; }
.footer-col p { font-size: 0.92rem; margin-bottom: 0.7rem; }
.footer-col a { color: var(--on-deep-dim); text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--on-deep); }
.footer-legal { max-width: 1180px; margin: 1.5rem auto 0; font-size: 0.8rem; color: oklch(65% 0.02 180); }

/* ============================================================
   Provider profile page
   ============================================================ */
.btn-outline { background: white; color: var(--primary-deep); box-shadow: inset 0 0 0 1.5px var(--sage-line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--primary); color: var(--primary); }

.crumb { max-width: 1180px; margin: 0 auto; padding: 1.25rem clamp(1.25rem, 5vw, 4rem) 0; }
.crumb a { font-size: 0.9rem; font-weight: 500; color: var(--ink-faint); text-decoration: none; transition: color 0.2s ease; }
.crumb a:hover { color: var(--primary); }

.prof-hero { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.prof-hero-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
}
.prof-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-card); }
.prof-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.prof-role { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--primary); margin-bottom: 0.6rem; }
.prof-id h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prof-cred { color: var(--ink-soft); margin-top: 0.35rem; font-size: 1.02rem; }
.prof-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; }
.prof-chips span {
  font-size: 0.8rem; font-weight: 500; color: var(--ink-soft);
  background: var(--sage-tint); border: 1px solid var(--sage-line);
  padding: 0.3rem 0.75rem; border-radius: 999px;
}
.prof-facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.1rem; font-size: 0.88rem; color: var(--ink-faint); }
.prof-facts span::before { content: "\2713\00a0"; color: var(--primary); font-weight: 600; }
.prof-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.prof-body {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: 0 clamp(1.25rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}
.prof-sec { padding: 1.9rem 0; border-top: 1px solid var(--sage-line); }
.prof-sec h2 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.prof-sec p { color: var(--ink-soft); max-width: 62ch; }
.prof-focus { list-style: none; columns: 2; gap: 2rem; max-width: 40rem; }
.prof-focus li { padding: 0.3rem 0; color: var(--ink-soft); break-inside: avoid; }
.prof-focus li::before { content: "\2013\00a0\00a0"; color: var(--primary); }
.prof-serves { margin-top: 0.9rem; font-size: 0.92rem; color: var(--ink-faint); }

.prof-aside { position: relative; }
.prof-card {
  position: sticky; top: 96px;
  background: white; border: 1px solid var(--sage-line); border-radius: 16px;
  padding: 1.4rem; box-shadow: var(--shadow-card); text-align: center;
}
.prof-card-photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 25%; margin: 0 auto 0.8rem; }
.prof-card-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.prof-card-cred { font-size: 0.8rem; color: var(--ink-faint); margin: 0.15rem 0 1rem; }
.prof-card-book { width: 100%; }
.prof-card-zd { margin-top: 0.7rem; font-size: 0.85rem; }
.prof-card-zd a { color: var(--primary); font-weight: 600; text-decoration: none; }
.prof-card-zd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prof-card-alt { margin-top: 1rem; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }
.prof-card-alt a { color: var(--primary); font-weight: 600; text-decoration: none; }
.prof-card-note { margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--sage-line); font-size: 0.8rem; color: var(--ink-faint); }

/* Booking form */
.book { scroll-margin-top: 90px; }
.book-sub { margin-bottom: 1.5rem; }
.book-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem;
  background: var(--sage-tint); border: 1px solid var(--sage-line);
  border-radius: 16px; padding: 1.5rem;
}
.book-form[hidden] { display: none; }
.bf-wide { grid-column: 1 / -1; }
.bf-field label, .bf-label {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink);
  margin-bottom: 0.4rem;
}
.bf-field label i { color: var(--primary); font-style: normal; }
.bf-field label em { font-weight: 400; color: var(--ink-faint); font-style: normal; }
.bf-field input, .bf-field select, .bf-field textarea {
  width: 100%; font-family: var(--font-ui); font-size: 0.95rem; color: var(--ink);
  background: white; border: 1px solid var(--sage-line); border-radius: 10px;
  padding: 0.65rem 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.bf-field textarea { resize: vertical; }
.bf-field input:focus, .bf-field select:focus, .bf-field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(50.5% 0.085 175 / 0.15);
}
.bf-seg { display: flex; gap: 0.5rem; }
.bf-seg label { position: relative; flex: 1; margin: 0; }
.bf-seg input { position: absolute; opacity: 0; inset: 0; }
.bf-seg span {
  display: block; text-align: center; font-size: 0.88rem; font-weight: 500;
  padding: 0.6rem 0.75rem; border-radius: 10px; cursor: pointer;
  background: white; border: 1px solid var(--sage-line); color: var(--ink-soft);
  transition: all 0.2s ease;
}
.bf-seg input:checked + span { background: var(--primary); border-color: var(--primary); color: white; }
.bf-seg input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.bf-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.bf-privacy { font-size: 0.82rem; color: var(--ink-faint); max-width: none; }
.bf-privacy a { color: var(--primary); font-weight: 600; }
.book-done {
  background: var(--sage-tint); border: 1px solid var(--sage-line);
  border-radius: 16px; padding: 1.75rem;
}
.book-done[hidden] { display: none; }
.book-done h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.6rem; }
.book-done p { color: var(--ink-soft); max-width: 58ch; }
.book-done a { color: var(--primary); font-weight: 600; }
.bf-crisis { margin-top: 0.9rem; font-size: 0.85rem; }

@media (max-width: 640px) {
  .book-form { grid-template-columns: 1fr; padding: 1.1rem; }
}

.prof-related { background: var(--sage-tint); }
.prof-related > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.prof-related h2 { margin-bottom: 1.75rem; }

@media (max-width: 860px) {
  .prof-hero-inner { grid-template-columns: 1fr; }
  .prof-photo { max-width: 300px; }
  .prof-body { grid-template-columns: 1fr; }
  .prof-card { position: static; }
  .prof-focus { columns: 1; }
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-people { max-width: 480px; }
  .voice-inner { grid-template-columns: 1fr; }
  .voice-side { border-left: none; padding-left: 0; border-top: 1px solid oklch(96% 0.01 170 / 0.2); padding-top: 1.75rem; flex-direction: row; flex-wrap: wrap; gap: 2rem; }
  .how-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .closer-inner { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 3rem 1fr 2rem; }
  .sr-tags { display: none; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .quiz { padding: 1rem 1.1rem 1.2rem; }
  .quiz-final { flex-direction: column; }
  .quiz-final .btn { width: 100%; }
  #dirSearch { width: 100%; }
  .dir-tools { width: 100%; }
  .service-row { grid-template-columns: 2.4rem 1fr; }
  .sr-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* MarkUp revision: additional pages, confirmed-state filtering, and mobile navigation. */
.nav-toggle { display: none; }
.nav-links [aria-current="page"] { color: var(--primary); text-decoration: underline; text-underline-offset: 6px; }
.state-note { font-size: .85rem; color: var(--ink-soft); max-width: 75ch; margin-top: 1rem; }
.pcard-initials, .profile-initials { display: grid; place-items: center; width: 100%; height: 100%; background: var(--sage-tint); color: var(--primary-deep); font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5rem); }
.pcard-initials { position: absolute; inset: 0; padding-bottom: 28%; }
.information-page { max-width: 1180px; margin: auto; padding: 0 clamp(1.25rem,4vw,2rem); }
.page-intro { padding: clamp(3.5rem,8vw,6.5rem) 0 3.5rem; border-bottom: 1px solid var(--sage-line); }
.page-eyebrow { color: var(--primary); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.page-intro h1 { max-width: 16ch; font-size: clamp(2.7rem,5.5vw,4.8rem); line-height: 1.12; margin-bottom: 1.5rem; }
.page-intro > p:last-child { max-width: 66ch; font-size: 1.1rem; color: var(--ink-soft); }
.story-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem,6vw,6rem); align-items: center; padding: 4rem 0; }
.story-layout p { margin: 1.2rem 0; color: var(--ink-soft); }
.story-photo { margin: 0; }
.story-photo img { width: 100%; max-height: 420px; object-fit: cover; object-position: center 25%; border-radius: 12px; }
.story-photo figcaption { margin-top: .8rem; font-size: .85rem; color: var(--ink-soft); }
.content-section { padding: 3.5rem 0; }
.content-section > p { margin-top: 1rem; max-width: 70ch; }
.editorial-rows { margin-top: 2rem; }
.editorial-rows article { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.8rem 0; border-top: 1px solid var(--sage-line); }
.editorial-rows article > span { color: var(--primary); font-size: .85rem; padding-top: .25rem; }
.editorial-rows h3 { font-size: 1.25rem; margin-bottom: .65rem; }
.editorial-rows p { max-width: 68ch; color: var(--ink-soft); margin-bottom: .8rem; }
.information-page a:not(.btn) { color: var(--primary); text-underline-offset: 4px; }
.resource-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; }
.info-panel { padding: 2rem; margin: 2rem 0; background: var(--sage-tint); border-radius: 12px; }
.info-panel p { margin: 1rem 0; }
.page-contact { padding: 3rem 0 5rem; border-top: 1px solid var(--sage-line); }
.page-contact h2 { margin-bottom: 1.5rem; }
.footer-col a { overflow-wrap: anywhere; }
@media (max-width: 960px) {
 .nav-inner { gap: 1rem; flex-wrap: wrap; }
 .nav-logo { margin-right: auto; }
 .nav-toggle { display: block; border: 1px solid var(--sage-line); border-radius: 6px; background: transparent; font: inherit; padding: .5rem .7rem; color: var(--ink); }
 .nav-links { display: none; order: 4; width: 100%; margin: 0; padding: .7rem 0; flex-wrap: wrap; }
 .nav-links.is-open { display: flex; }
 .nav-cta { font-size: .85rem; padding: .6rem .8rem; }
 .nav-logo img { height: 32px; }
}
@media (max-width: 640px) {
 .story-layout { grid-template-columns: 1fr; padding: 2.5rem 0; }
 .dir-tools { flex-wrap: wrap; }
 .dir-tools select { max-width: 100%; }
 .page-intro { padding-top: 3rem; }
 .content-section { padding: 2.5rem 0; }
 .nav-inner { gap: .65rem; }
 .nav-logo img { max-width: 145px; height: auto; }
}
@media (min-width: 370px) and (max-width: 640px) {
 .nav-logo img { max-width: 125px; }
 .nav-toggle { font-size: .85rem; padding: .5rem; }
 .nav-inner { gap: .5rem; }
}
