/* Therapist profile page (2026-08-28 redesign). Loads after style.css +
   directory.css and owns all profile-specific layout. Supersedes
   profile-polish-20260707b.css (kept on disk, no longer linked). */

/* ---- hero identity ---- */
.profile-head { display: block; }
.profile-head .crumbs { margin-bottom: 1.2rem; font-size: 0.85rem; opacity: 0.85; }
.profile-id { display: flex; align-items: center; gap: 1.6rem; margin-top: 0.9rem; }
.profile-avatar-wrap { position: relative; flex: 0 0 auto; }
.profile-avatar { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, 0.85); box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); }
.profile-avatar.mono { display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 800; font-size: 2.6rem; color: #fff; letter-spacing: 0.02em; }
.avatar-play { position: absolute; right: -2px; bottom: 2px; width: 40px; height: 40px; border-radius: 50%; background: var(--honey); color: oklch(0.25 0.04 70); display: flex; align-items: center; justify-content: center; border: 2px solid oklch(0.25 0.02 52); transition: transform 0.2s var(--ease); }
.avatar-play:hover { transform: scale(1.08); color: oklch(0.25 0.04 70); }
.avatar-play svg { width: 15px; height: 15px; display: block; margin-left: 2px; }
.profile-id-text { min-width: 0; }
.profile-id-text h1 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.12; text-wrap: balance; }
.profile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-top: 0.55rem; }
.profile-cred { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; color: var(--on-dark); background: rgba(255, 255, 255, 0.11); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 0.18rem 0.65rem; }
.badge-verified { display: inline-flex; align-items: center; gap: 0.3rem; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; color: oklch(0.25 0.04 70); background: var(--honey); border-radius: 999px; padding: 0.18rem 0.7rem; }
.profile-tagline { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--on-dark); margin: 0.7rem 0 0; max-width: 52ch; }
.profile-place, .profile-quals { font-family: var(--sans); font-size: 0.95rem; color: var(--on-dark-soft); margin: 0.4rem 0 0; }
.profile-quals { font-weight: 600; }
.profile-style { font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--on-dark-soft); margin: 0.4rem 0 0; }
.badge-responsive { display: inline-flex; align-items: center; font-family: var(--sans); font-size: 0.8rem; font-weight: 700; color: var(--on-dark); border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; padding: 0.18rem 0.7rem; }
.profile-hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.profile-hero-cta .btn { font-size: 0.95rem; padding: 11px 24px; }

/* ---- layout ---- */
.profile-wrap { max-width: 1020px; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(272px, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 8px; }
.profile-main { min-width: 0; }
.profile-side { position: sticky; top: 84px; }
.detail-block { margin-top: 42px; }
.profile-main > .detail-block:first-child { margin-top: 34px; }
.detail-block h2 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); margin-bottom: 14px; color: var(--ink); }
.detail-block h3 { font-family: var(--serif); font-size: 1.12rem; font-weight: 500; margin: 1.5em 0 0.4em; }
.profile-main .detail-block p { margin: 0 0 1.05em; }
.profile-main .detail-block p:last-child { margin-bottom: 0; }
.about-lead p:first-child { font-family: var(--serif); font-size: 1.16rem; line-height: 1.65; color: var(--ink); }

/* ---- chips ---- */
.detail-block .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag.top { background: var(--honey); border-color: var(--honey-deep); color: oklch(0.25 0.04 70); }
details.more-tags { display: contents; }
details.more-tags > summary { list-style: none; cursor: pointer; font-size: 0.8rem; font-weight: 600; color: var(--brand); background: none; border: 1px dashed var(--line); border-radius: 999px; padding: 4px 12px; }
details.more-tags > summary::-webkit-details-marker { display: none; }
details.more-tags > summary:hover { border-color: var(--brand); }
details.more-tags[open] > summary { display: none; }

/* ---- who I work with rows ---- */
.fact-rows { margin: 0; }
.fact-rows > div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 4px 18px; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.fact-rows > div:last-child { border-bottom: 0; }
.fact-rows dt { font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.01em; color: var(--ink-soft); padding-top: 0.15rem; }
.fact-rows dd { margin: 0; font-size: 0.95rem; line-height: 1.55; }
@media (max-width: 560px) { .fact-rows > div { grid-template-columns: 1fr; } }

/* ---- video ---- */
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--dark); padding: 0; }
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-facade .vf-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--honey); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); transition: transform 0.2s var(--ease); }
.video-facade:hover .vf-play { transform: scale(1.07); }
.video-facade .vf-play svg { width: 26px; height: 26px; margin-left: 3px; color: oklch(0.25 0.04 70); }
.video-facade .vf-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.2rem 0.9rem; background: linear-gradient(transparent, rgba(20, 15, 10, 0.72)); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 0.92rem; text-align: left; }
.video-box iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; background: #000; }

/* ---- sidebar cards ---- */
.profile-side .detail-block { background: var(--tint); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin-top: 0; }
.profile-side .detail-block + .detail-block { margin-top: 20px; }
.profile-side .detail-block h2 { font-size: 1.08rem; margin-bottom: 10px; }
.profile-side .detail-block p { margin: 0 0 0.65em; font-size: 0.94rem; line-height: 1.55; }
.profile-side .detail-block p:last-child { margin-bottom: 0; }
.profile-side .tags { margin-top: 0.5rem; }
.profile-side .tag { background: #fff; }
.side-verify { display: flex; gap: 0.55rem; align-items: flex-start; margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.87rem; line-height: 1.5; color: var(--ink-soft); }
.side-verify .vcheck { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: var(--d-good, #2f7d52); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; margin-top: 0.1rem; }
.side-cta { margin-top: 0.9rem; }
.side-cta .btn { width: 100%; justify-content: center; font-size: 0.92rem; padding: 11px 18px; }

/* ---- contact form ---- */
.stack-form label { display: block; margin-bottom: 0.85rem; font-family: var(--sans); font-weight: 600; font-size: 0.9rem; }
.stack-form input, .stack-form textarea, .stack-form select { display: block; width: 100%; margin-top: 0.3rem; padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 400; background: #fff; }
.stack-form .form-note { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.5; }
#contact-status:not(:empty) { font-weight: 600; margin-top: 0.6rem; }
.contact-block { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 30px); }

/* ---- sibling cards (More therapists in {state}) ---- */
.sib-index a { display: flex; align-items: center; gap: 0.85rem; }
.sib-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.sib-avatar.mono { display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 800; font-size: 1rem; color: #fff; }
.sib-text { min-width: 0; }
.sib-index .name { font-size: 1.15rem; }

/* ---- mobile ---- */
@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; order: 2; margin-top: 26px; }
}
@media (max-width: 640px) {
  .profile-id { gap: 1rem; }
  .profile-avatar { width: 92px; height: 92px; }
  .profile-avatar.mono { font-size: 1.8rem; }
  .profile-id-text h1 { font-size: 1.65rem; }
  .avatar-play { width: 34px; height: 34px; }
  .profile-hero-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* sticky bottom CTA bar, phones only */
.profile-cta-bar { display: none; }
@media (max-width: 640px) {
  .profile-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 0.6rem; padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom)); background: color-mix(in oklch, var(--dark) 96%, transparent); backdrop-filter: blur(8px); border-top: 1px solid var(--line-dark); }
  .profile-cta-bar .btn { flex: 1; justify-content: center; font-size: 0.92rem; padding: 11px 14px; }
  .profile-cta-bar .btn-line { color: var(--on-dark); }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .video-facade .vf-play, .avatar-play, .btn { transition: none; }
}
