:root {
  --mv-ink: #221530;
  --mv-deep-teal: #0c5963;
  --mv-teal: #137684;
  --mv-sky: #c0f0f7;
  --mv-sky-soft: #eafafd;
  --mv-cream: #fffdf5;
  --mv-gold: #ffcc00;
  --mv-white: #ffffff;
  --mv-muted: #665d6d;
  --mv-line: rgba(34, 21, 48, 0.12);
  --mv-shadow: 0 24px 60px rgba(34, 21, 48, 0.11);
  --mv-shadow-soft: 0 12px 35px rgba(24, 83, 92, 0.1);
  --mv-display: Georgia, "Times New Roman", serif;
}

.therapists-page {
  min-width: 320px;
  color: var(--mv-ink);
  background:
    radial-gradient(circle at 9% 32%, rgba(192, 240, 247, 0.38), transparent 25rem),
    linear-gradient(180deg, #fffdf8 0%, #f8fdfe 54%, #fffdf8 100%);
}

.therapists-page main {
  overflow: hidden;
}

.therapists-page section {
  margin-bottom: 0;
}

.therapists-page a:focus-visible,
.therapists-page button:focus-visible,
.therapists-page input:focus-visible,
.therapists-page select:focus-visible {
  outline: 3px solid rgba(255, 204, 0, 0.8);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.therapists-page svg {
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* Navigation */
.therapists-page .navbar {
  background: rgba(192, 240, 247, 0.92);
  border-bottom: 1px solid rgba(34, 21, 48, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.therapists-page .nav-logo {
  color: var(--mv-ink);
  font-family: var(--mv-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.therapists-page .nav-menu .nav-link {
  color: var(--mv-ink);
  border-color: transparent;
}

.therapists-page .nav-menu .nav-link:hover {
  color: var(--mv-ink);
  background: rgba(255, 253, 245, 0.68);
}

.therapists-page .nav-menu .nav-link.active {
  color: var(--mv-sky) !important;
  background: var(--mv-ink) !important;
  border-color: var(--mv-ink) !important;
}

.therapists-page .menu-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--mv-ink);
  background: rgba(255, 253, 245, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(34, 21, 48, 0.12);
}

.therapists-page .menu-btn span {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.therapists-page .menu-btn span:nth-child(1) { top: 15px; }
.therapists-page .menu-btn span:nth-child(2) { top: 22px; }
.therapists-page .menu-btn span:nth-child(3) { top: 29px; }
.therapists-page .menu-btn.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.therapists-page .menu-btn.open span:nth-child(2) { opacity: 0; }
.therapists-page .menu-btn.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Hero */
.team-hero {
  position: relative;
  isolation: isolate;
  padding: 154px 24px 86px;
  background:
    linear-gradient(122deg, rgba(255, 253, 245, 0.98) 0%, rgba(234, 250, 253, 0.95) 52%, rgba(192, 240, 247, 0.82) 100%);
  overflow: hidden;
}

.team-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(12, 89, 99, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 89, 99, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, transparent, black 60%);
}

.team-hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.team-hero__glow--one {
  width: 360px;
  height: 360px;
  right: -90px;
  top: 70px;
  background: rgba(255, 204, 0, 0.2);
}

.team-hero__glow--two {
  width: 260px;
  height: 260px;
  left: -100px;
  bottom: -130px;
  background: rgba(19, 118, 132, 0.18);
}

.team-hero__shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--mv-deep-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(12, 89, 99, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mv-gold);
  box-shadow: 0 0 0 5px rgba(255, 204, 0, 0.15);
}

.team-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: var(--mv-display);
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.team-hero h1 em {
  color: var(--mv-deep-teal);
  font-weight: 400;
}

.team-hero__lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--mv-muted);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.team-hero__actions,
.match-callout__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--mv-cream);
  background: var(--mv-ink);
  box-shadow: 0 12px 28px rgba(34, 21, 48, 0.22);
}

.button--primary:hover {
  color: var(--mv-cream);
  box-shadow: 0 16px 34px rgba(34, 21, 48, 0.28);
}

.button--soft {
  color: var(--mv-ink);
  border-color: rgba(34, 21, 48, 0.13);
  background: rgba(255, 255, 255, 0.75);
}

.button--soft:hover {
  color: var(--mv-ink);
  background: var(--mv-white);
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--mv-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.privacy-note svg {
  color: var(--mv-deep-teal);
}

.team-hero__visual {
  position: relative;
  min-height: 470px;
}

.team-hero__visual::before,
.team-hero__visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.team-hero__visual::before {
  width: 355px;
  height: 355px;
  top: 55px;
  left: 60px;
  border: 1px solid rgba(12, 89, 99, 0.22);
}

.team-hero__visual::after {
  width: 285px;
  height: 285px;
  top: 90px;
  left: 95px;
  background: rgba(255, 253, 245, 0.72);
  box-shadow: inset 0 0 0 1px rgba(34, 21, 48, 0.08), var(--mv-shadow-soft);
}

.hero-portrait {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 7px solid var(--mv-cream);
  border-radius: 50%;
  box-shadow: 0 18px 46px rgba(34, 21, 48, 0.18);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-portrait--one {
  width: 205px;
  height: 205px;
  top: 9px;
  left: 3px;
}

.hero-portrait--two {
  width: 230px;
  height: 230px;
  top: 56px;
  right: 0;
}

.hero-portrait--three {
  width: 185px;
  height: 185px;
  left: 75px;
  bottom: 0;
}

.team-count {
  position: absolute;
  z-index: 3;
  right: 80px;
  bottom: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  color: var(--mv-cream);
  border-radius: 18px;
  background: var(--mv-deep-teal);
  box-shadow: 0 16px 30px rgba(12, 89, 99, 0.24);
}

.team-count strong {
  font-family: var(--mv-display);
  font-size: 2.4rem;
  line-height: 1;
}

.team-count span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-leaf {
  position: absolute;
  z-index: 1;
  width: 54px;
  height: 92px;
  border: 2px solid var(--mv-deep-teal);
  border-radius: 100% 0 100% 0;
  opacity: 0.45;
}

.hero-leaf--one { right: 16px; bottom: 22px; transform: rotate(28deg); }
.hero-leaf--two { left: 12px; bottom: 96px; transform: rotate(-40deg) scale(0.7); }

/* Team filters */
.team-intro {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0 100px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: 48px;
  align-items: end;
}

.section-heading h2,
.match-callout h2 {
  margin: 0;
  color: var(--mv-ink);
  font-family: var(--mv-display);
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-align: left;
}

.section-heading > p {
  margin: 0;
  color: var(--mv-muted);
  font-size: 1rem;
  line-height: 1.75;
  text-align: left;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, 0.45fr) auto;
  gap: 12px;
  margin-top: 38px;
  padding: 12px;
  border: 1px solid var(--mv-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--mv-shadow-soft);
}

.search-field,
.language-field {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  color: var(--mv-deep-teal);
  border: 1px solid rgba(34, 21, 48, 0.1);
  border-radius: 14px;
  background: var(--mv-white);
}

.search-field input,
.language-field select {
  width: 100%;
  min-width: 0;
  color: var(--mv-ink);
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.search-field input::placeholder {
  color: #8c8491;
}

.filter-reset {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: var(--mv-ink);
  border: 0;
  border-radius: 14px;
  background: var(--mv-sky);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.filter-reset:hover {
  transform: translateY(-1px);
  background: #a9e8f1;
}

.results-status {
  margin: 15px 4px 0;
  color: var(--mv-muted);
  font-size: 0.86rem;
  text-align: left;
}

/* Therapist cards */
.therapist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.therapist-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--mv-line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(234, 250, 253, 0.6), transparent 32%),
    var(--mv-white);
  box-shadow: 0 12px 32px rgba(34, 21, 48, 0.08);
  animation: card-in 0.55s both;
  animation-delay: var(--card-delay);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.therapist-card:hover,
.therapist-card:focus-within {
  z-index: 2;
  border-color: rgba(12, 89, 99, 0.26);
  box-shadow: var(--mv-shadow);
  transform: translateY(-5px);
}

.therapist-card[hidden] {
  display: none;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.therapist-card__top {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.portrait-frame {
  position: relative;
  width: 152px;
  height: 152px;
  padding: 5px;
  border: 1px solid rgba(12, 89, 99, 0.42);
  border-radius: 50%;
  background: var(--mv-cream);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px dashed rgba(255, 204, 0, 0.8);
  border-radius: 50%;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #edf4f5;
}

.portrait-check {
  position: absolute;
  right: 1px;
  bottom: 9px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--mv-cream);
  border: 3px solid var(--mv-white);
  border-radius: 50%;
  background: var(--mv-deep-teal);
}

.portrait-check svg {
  width: 18px;
  height: 18px;
}

.team-label {
  margin: 0 0 4px;
  color: var(--mv-teal);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.therapist-identity h3 {
  margin: 0;
  color: var(--mv-deep-teal);
  font-family: var(--mv-display);
  font-size: clamp(1.75rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.therapist-role {
  margin: 5px 0 0;
  color: var(--mv-muted);
  font-size: 0.9rem;
}

.quick-facts {
  display: grid;
  gap: 8px;
  margin-top: 15px;
}

.quick-fact {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--mv-deep-teal);
}

.quick-fact svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.quick-fact span {
  color: var(--mv-muted);
  font-size: 0.81rem;
  line-height: 1.4;
}

.quick-fact strong {
  margin-right: 5px;
  color: var(--mv-ink);
}

.profile-divider {
  height: 1px;
  margin: 24px 0 20px;
  background: linear-gradient(90deg, transparent, rgba(12, 89, 99, 0.28), transparent);
}

.profile-section {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.profile-section:first-of-type {
  margin-top: 0;
}

.profile-section__icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--mv-deep-teal);
  border-radius: 10px;
  background: var(--mv-sky-soft);
}

.profile-section__icon svg {
  width: 18px;
  height: 18px;
}

.profile-section h4 {
  margin: 0 0 5px;
  color: var(--mv-deep-teal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.profile-section p {
  max-width: none;
  margin: 0;
  color: var(--mv-muted);
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: left;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 9px;
  color: #4d4852;
  border: 1px solid rgba(12, 89, 99, 0.12);
  border-radius: 999px;
  background: #f8fcfc;
  font-size: 0.74rem;
  line-height: 1.25;
}

.therapist-card blockquote {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  margin: 22px 0 0;
  padding: 15px 17px;
  color: var(--mv-deep-teal);
  border-left: 3px solid var(--mv-gold);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(192, 240, 247, 0.55), rgba(234, 250, 253, 0.42));
}

.therapist-card blockquote > span {
  font-family: var(--mv-display);
  font-size: 2.3rem;
  line-height: 0.7;
}

.therapist-card blockquote p {
  max-width: none;
  margin: 0;
  color: var(--mv-deep-teal);
  font-family: var(--mv-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

.therapist-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.card-call,
.card-match {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 850;
  transition: transform 0.2s ease, background 0.2s ease;
}

.card-call {
  color: var(--mv-cream);
  background: var(--mv-deep-teal);
}

.card-call:hover {
  color: var(--mv-cream);
  background: #084a52;
  transform: translateY(-2px);
}

.card-match {
  color: var(--mv-ink);
  border: 1px solid rgba(34, 21, 48, 0.13);
  background: var(--mv-cream);
}

.card-match:hover {
  color: var(--mv-ink);
  background: var(--mv-sky-soft);
  transform: translateY(-2px);
}

.empty-state {
  max-width: 620px;
  margin: 38px auto 0;
  padding: 38px;
  text-align: center;
  border: 1px solid var(--mv-line);
  border-radius: 24px;
  background: var(--mv-white);
  box-shadow: var(--mv-shadow-soft);
}

.empty-state[hidden] {
  display: none;
}

.empty-state__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 15px;
  place-items: center;
  color: var(--mv-deep-teal);
  border-radius: 50%;
  background: var(--mv-sky-soft);
}

.empty-state h3 {
  margin: 0;
  font-family: var(--mv-display);
  font-size: 1.8rem;
}

.empty-state p {
  margin: 10px auto 20px;
  color: var(--mv-muted);
}

/* Matching callout */
.match-callout {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 30px;
  align-items: center;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  color: var(--mv-cream);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 204, 0, 0.24), transparent 15rem),
    linear-gradient(135deg, #0c5963, #173b47);
  box-shadow: 0 24px 60px rgba(12, 89, 99, 0.24);
}

.match-callout::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -170px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.match-callout__mark {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: var(--mv-deep-teal);
  border-radius: 50%;
  background: var(--mv-sky);
}

.match-callout__mark svg {
  width: 38px;
  height: 38px;
}

.match-callout .section-kicker {
  margin-bottom: 12px;
  color: var(--mv-sky);
}

.match-callout h2 {
  color: var(--mv-cream);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.match-callout__copy > p:last-child {
  max-width: 700px;
  margin: 16px 0 0;
  color: rgba(255, 253, 245, 0.78);
  line-height: 1.7;
  text-align: left;
}

.match-callout__actions {
  position: relative;
  z-index: 1;
  align-items: stretch;
  flex-direction: column;
  margin-top: 0;
}

.match-callout .button--primary {
  color: var(--mv-ink);
  background: var(--mv-gold);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px;
  color: var(--mv-cream);
  font-size: 0.9rem;
  font-weight: 800;
}

.text-link:hover {
  color: var(--mv-gold);
}

/* Footer refinements */
.therapists-page .footer {
  padding-top: 52px;
  background: var(--mv-sky);
}

.therapists-page .footer-container {
  padding: 0 24px 24px;
}

.footer-brand h4 {
  font-family: var(--mv-display);
  font-size: 1.8rem !important;
  letter-spacing: -0.04em;
}

.therapists-page .footer-bottom {
  border-top-color: rgba(34, 21, 48, 0.12);
  line-height: 1.6;
}

@media (max-width: 1040px) {
  .team-hero__shell {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 40px;
  }

  .team-hero__visual {
    min-height: 415px;
    transform: scale(0.88);
    transform-origin: center;
  }

  .therapist-card__top {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .portrait-frame {
    width: 126px;
    height: 126px;
  }

  .match-callout {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .match-callout__mark {
    width: 68px;
    height: 68px;
  }

  .match-callout__actions {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 860px) {
  .team-hero {
    padding-top: 128px;
  }

  .team-hero__shell {
    grid-template-columns: 1fr;
  }

  .team-hero__copy {
    max-width: 720px;
  }

  .team-hero__visual {
    width: min(510px, 100%);
    min-height: 440px;
    margin: -15px auto -15px;
    transform: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 720px;
  }

  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  .filter-reset {
    grid-column: 1 / -1;
  }

  .therapist-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 860px) {
  .therapists-page .menu-btn {
    display: block;
    position: relative;
    margin-left: auto;
    padding: 0;
    z-index: 1002;
  }

  .therapists-page .nav-menu {
    display: flex;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 330px);
    height: 100dvh;
    padding: 94px 24px 28px;
    flex-direction: column;
    gap: 8px;
    background: rgba(192, 240, 247, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: -18px 0 55px rgba(34, 21, 48, 0.18);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    visibility: hidden;
  }

  .therapists-page .nav-menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .therapists-page .nav-item {
    width: 100%;
    margin: 0;
    text-align: left;
  }

  .therapists-page .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .therapists-page.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(34, 21, 48, 0.32);
    backdrop-filter: blur(2px);
  }

  .therapists-page.nav-open {
    overflow: hidden;
  }

  .team-intro {
    width: min(100% - 28px, 700px);
    padding: 70px 0 78px;
  }

  .match-callout {
    width: min(100% - 28px, 700px);
    margin-bottom: 70px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .match-callout__actions {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .team-hero {
    padding: 116px 18px 62px;
  }

  .team-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .team-hero__actions,
  .match-callout__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .team-hero__actions .button,
  .match-callout__actions .button {
    width: 100%;
  }

  .team-hero__visual {
    min-height: 340px;
    transform: scale(0.78);
    transform-origin: top center;
    margin-bottom: -82px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .filter-reset {
    grid-column: auto;
  }

  .therapist-card {
    padding: 21px;
    border-radius: 23px;
  }

  .therapist-card__top {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 17px;
  }

  .portrait-frame {
    width: 108px;
    height: 108px;
  }

  .therapist-identity h3 {
    font-size: 1.7rem;
  }

  .quick-fact span {
    font-size: 0.76rem;
  }

  .quick-fact strong {
    display: block;
  }

  .therapist-card__actions {
    grid-template-columns: 1fr;
  }

  .match-callout {
    padding: 30px 24px;
    border-radius: 24px;
  }

  .match-callout__mark {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 410px) {
  .eyebrow {
    border-radius: 16px;
    font-size: 0.68rem;
  }

  .therapist-card__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .portrait-frame {
    width: 132px;
    height: 132px;
    margin: 0 auto;
  }

  .quick-facts {
    width: max-content;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
