/*
Theme Name: Advantage Mental Health
Theme URI: https://advantagementalhealth.org/
Author: Advantage Mental Health
Description: Custom theme from the approved 2026 redesign mockup.
Version: 1.3.6
Text Domain: advantage-mh
*/

    :root {
      --paper: #F3EEE4;
      --paper-2: #E8E0D2;
      --cream: #FAF6EE;
      --ink: #1B2117;
      --ink-soft: #3A4134;
      --muted: #5A6152;
      --clay: #B2462E;
      --clay-dark: #8C3622;
      --olive: #656A41;
      --olive-soft: #8A8E68;
      --rule: #D2C8B6;
      --forest: #222A1E;
      --max: 1120px;
      --ease: cubic-bezier(.2,.7,.2,1);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation: none !important; transition: none !important; }
    }

    body {
      margin: 0;
      background: var(--paper);
      color: var(--ink);
      font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
      font-size: 1.125rem;
      line-height: 1.65;
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 400;
      opacity: 0.045;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    }

    ::selection { background: #E4C4B6; color: var(--ink); }

    a { color: var(--clay); text-underline-offset: 0.18em; }
    a:hover { color: var(--clay-dark); }
    img { max-width: 100%; display: block; }
    h1, h2, h3 { font-family: Fraunces, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; color: var(--ink); }
    p { margin: 0 0 1em; }
    p:last-child { margin-bottom: 0; }

    .skip {
      position: absolute; left: -999px; top: 0;
      background: var(--ink); color: var(--cream); padding: 0.6rem 1rem; z-index: 500;
    }
    .skip:focus { left: 1rem; top: 1rem; }

    .wrap { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
    @media (max-width: 640px) { .wrap { width: min(var(--max), calc(100% - 2rem)); } }

    .eyebrow {
      display: inline-flex; align-items: center; gap: 0.7rem;
      font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
      text-transform: uppercase; color: var(--olive); margin: 0 0 1rem;
    }
    .eyebrow::before {
      content: ""; width: 18px; height: 2px; background: var(--clay); flex: 0 0 auto;
    }

    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      gap: 0.45rem; min-height: 2.85rem; padding: 0.65rem 1.2rem;
      background: var(--clay); color: #fff; border: 1px solid var(--clay);
      border-radius: 2px; font: 600 0.95rem/1 "Source Sans 3", sans-serif;
      text-decoration: none; letter-spacing: 0.01em;
      transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), color .18s var(--ease);
    }
    .btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); color: #fff; transform: translateY(-1px); }
    .btn:focus-visible, .text-link:focus-visible, .nav a:focus-visible, .menu-btn:focus-visible, .wordmark:focus-visible {
      outline: 2px solid var(--clay); outline-offset: 3px;
    }
    .btn-ghost {
      background: transparent; color: var(--ink); border-color: transparent;
      text-decoration: none; font-weight: 600;
    }
    .btn-ghost:hover { background: transparent; color: var(--clay); transform: none; border-color: transparent; }
    .btn-on-dark { background: var(--clay); color: #fff; }
    .btn-on-dark:hover { background: #c75a40; color: #fff; }

    /* Header */
    .site-header {
      position: sticky; top: 0; z-index: 50;
      background: var(--paper);
      border-bottom: 1px solid var(--rule);
    }
    .header-inner {
      width: min(var(--max), calc(100% - 3rem));
      margin-inline: auto;
      display: flex; align-items: center; justify-content: space-between;
      gap: 1.5rem; min-height: 4.35rem;
    }
    .wordmark { text-decoration: none; color: inherit; line-height: 1.05; }
    .wordmark .wm-a {
      display: block; font-family: Fraunces, serif; font-size: 1.35rem; font-weight: 500;
      letter-spacing: -0.02em; color: var(--ink);
    }
    .wordmark .wm-b {
      display: block; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em;
      text-transform: uppercase; color: var(--olive); margin-top: 0.15rem;
    }
    .nav { display: flex; align-items: center; gap: 1.65rem; }
    .nav a {
      color: var(--ink-soft); text-decoration: none; font-size: 0.98rem; font-weight: 500;
    }
    .nav a:hover { color: var(--clay); }
    .nav a[aria-current="page"] { color: var(--clay); }
    .header-cta { flex: 0 0 auto; }
    .nav .btn { display: none; }
    .nav-toggle { display: none; }

    .menu-btn {
      display: none; background: none; border: 0; color: var(--ink);
      font: 600 0.95rem/1 "Source Sans 3", sans-serif; cursor: pointer; padding: 0.4rem 0;
    }

    @media (max-width: 860px) {
      .header-inner { width: min(var(--max), calc(100% - 2rem)); min-height: 4rem; }
      .menu-btn { display: inline-flex; }
      .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--paper); border-bottom: 1px solid var(--rule);
        padding: 0.6rem 1rem 1.1rem;
      }
      .nav a { padding: 0.7rem 0.2rem; border-bottom: 1px solid var(--rule); }
      .nav .btn { display: inline-flex; margin-top: 0.85rem; width: 100%; }
      .header-cta { display: none; }
      .nav-toggle:checked ~ .nav { display: flex; }
    }

    /* Hero */
    .hero { padding: 4.75rem 0 3.25rem; }
    .hero-kicker { margin-bottom: 1.15rem; }
    .hero h1 {
      font-size: clamp(2.35rem, 5.4vw, 4.35rem);
      font-optical-sizing: auto;
      max-width: 14.5ch;
      margin: 0 0 1.4rem;
    }
    .hero h1 em { font-style: italic; font-weight: 400; color: var(--ink); }
    .hero-lead {
      max-width: 38rem; color: var(--ink-soft); font-size: 1.2rem; line-height: 1.55;
      margin: 0 0 1.85rem;
    }
    .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.4rem; }
    .phone-link {
      color: var(--ink); font-weight: 600; text-decoration: none;
      border-bottom: 1px solid var(--rule); padding-bottom: 0.1rem;
    }
    .phone-link:hover { color: var(--clay); border-bottom-color: var(--clay); }

    /* Office plate */
    .office-plate { padding: 0 0 4.5rem; }
    .office-frame {
      width: min(var(--max), calc(100% - 3rem));
      margin-inline: auto;
    }
    .office-frame img {
      width: 100%; height: clamp(220px, 42vw, 420px);
      object-fit: cover; object-position: center 58%;
      border-radius: 2px;
    }
    .office-cap {
      display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
      margin-top: 0.7rem; font-size: 0.86rem; color: var(--muted); letter-spacing: 0.01em;
    }
    .office-cap strong { color: var(--ink-soft); font-weight: 600; }

    /* Sections */
    section { padding: 5rem 0; scroll-margin-top: 4.6rem; }
    .section-head { margin-bottom: 2.4rem; max-width: 38rem; }
    .section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin: 0 0 0.7rem; }
    .section-head p { color: var(--ink-soft); }

    /* Who we see */
    #services { border-top: 1px solid var(--rule); }
    .who-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2.25rem;
    }
    .who-col { padding-top: 1.15rem; border-top: 1px solid var(--rule); }
    .who-col .num {
      font-family: Fraunces, serif; font-style: italic; font-size: 1.15rem;
      color: var(--clay); margin: 0 0 0.7rem;
    }
    .who-col h3 { font-size: 1.55rem; margin: 0 0 0.7rem; }
    .who-col p { color: var(--ink-soft); font-size: 1.05rem; }

    /* How */
    #how { background: var(--cream); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .steps {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
      counter-reset: step;
    }
    .step { position: relative; padding-top: 0.2rem; }
    .step h3 { font-size: 1.4rem; margin: 0 0 0.55rem; }
    .step p { color: var(--ink-soft); font-size: 1.05rem; }
    .step-n {
      font-family: Fraunces, serif; font-style: italic; font-size: 1.85rem;
      color: var(--clay); line-height: 1; margin: 0 0 0.85rem; font-weight: 400;
    }

    /* Team */
    #team .team-feature {
      display: grid; grid-template-columns: 220px 1fr; gap: 2rem 2.4rem;
      align-items: start; padding-bottom: 2.2rem; margin-bottom: 1.6rem;
      border-bottom: 1px solid var(--rule);
    }
    .portrait {
      width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%;
      border-radius: 2px; background: var(--paper-2);
    }
    .team-feature .portrait { object-position: center top; }
    .cred { font-size: 0.92rem; color: var(--olive); font-weight: 600; margin: 0.25rem 0 0.85rem; }
    .supervised {
      font-size: 0.88rem; color: var(--muted); font-weight: 500;
      margin: 0.28rem 0 0; line-height: 1.35;
    }
    .dir-card .supervised, .person .supervised { margin: 0.15rem 0 0.2rem; }
    .clinician-copy .supervised { margin: 0.45rem 0 0; }
    .team-feature h3 { font-size: 1.7rem; margin: 0; }
    .team-feature p { color: var(--ink-soft); max-width: 40rem; }

    .team-grid {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2rem;
    }
    .person {
      display: grid; grid-template-columns: 96px 1fr; gap: 1rem 1.15rem; align-items: center;
      padding: 0.85rem 0; border-bottom: 1px solid var(--rule);
    }
    .person img, .person .initials {
      width: 96px; height: 120px; object-fit: cover; object-position: center 18%;
      border-radius: 2px; background: var(--paper-2);
    }
    .person .initials {
      display: flex; align-items: center; justify-content: center;
      font-family: Fraunces, serif; font-size: 1.35rem; font-weight: 500;
      color: var(--olive); letter-spacing: 0.04em;
      background: var(--paper-2); border: 1px solid var(--rule);
    }
    .person h3 { font-size: 1.2rem; margin: 0 0 0.2rem; }
    .person .cred { margin: 0; }
    .person p { font-size: 0.98rem; color: var(--ink-soft); margin-top: 0.35rem; }
    .person.span-2 { grid-column: 1 / -1; max-width: 36rem; }

    /* Insurance */
    #insurance {
      background: var(--forest); color: var(--paper);
      padding: 3.6rem 0;
    }
    #insurance .eyebrow { color: #C9CBA8; }
    #insurance .eyebrow::before { background: #D27A62; }
    #insurance h2 { color: var(--cream); font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 0.75rem; max-width: 22ch; }
    #insurance .ins-lead { color: #D8D3C6; max-width: 44rem; margin: 0 0 1.5rem; }
    .plans {
      display: flex; flex-wrap: wrap; gap: 0.5rem 0.4rem; align-items: center;
      font-size: 1.02rem; color: var(--cream);
    }
    .plans span { white-space: nowrap; }
    .plans i { font-style: normal; color: #8C9274; padding: 0 0.35rem; }
    .ins-note { margin-top: 1.15rem; font-size: 0.95rem; color: #C9CBA8; }

    /* Locations */
    .loc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
    .loc { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
    .loc h3 { font-size: 1.45rem; margin: 0 0 0.55rem; }
    .loc p { color: var(--ink-soft); }
    .loc address { font-style: normal; color: var(--ink-soft); line-height: 1.55; }

    /* Close */
    #consult {
      background: var(--cream);
      border-top: 1px solid var(--rule);
    }
    .close-inner { max-width: 38rem; }
    #consult h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 0.9rem; }
    #consult p { color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 1.4rem; }
    .close-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin-top: 1.3rem; font-size: 1.02rem; }
    .close-meta a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule); }
    .close-meta a:hover { color: var(--clay); border-bottom-color: var(--clay); }

    /* Footer */
    footer {
      background: var(--ink); color: #C9C4B6; padding: 2.6rem 0 2.1rem; font-size: 0.95rem;
    }
    .foot-grid {
      display: grid; grid-template-columns: 1.35fr 0.9fr 1fr 1fr; gap: 2rem;
      margin-bottom: 2rem;
    }
    footer .wm-a { color: var(--cream); font-size: 1.25rem; }
    footer .wm-b { color: #A8AD86; }
    footer a { color: #E4DFD2; text-decoration: none; }
    footer a:hover { color: #fff; }
    .foot-col h4 {
      margin: 0 0 0.55rem; font-size: 0.75rem; letter-spacing: 0.14em;
      text-transform: uppercase; color: #A8AD86; font-weight: 600; font-family: "Source Sans 3", sans-serif;
    }
    .foot-col p, .foot-col li { margin: 0 0 0.35rem; }
    .foot-col ul { list-style: none; padding: 0; margin: 0; }
    .foot-bottom {
      display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
      padding-top: 1.2rem; border-top: 1px solid #3A4234; color: #8E8A7C; font-size: 0.86rem;
    }
    .coming { color: #8E8A7C; cursor: default; }

    @media (max-width: 900px) {
      .who-grid, .steps, .loc-grid { grid-template-columns: 1fr; gap: 1.6rem; }
      .team-feature { grid-template-columns: 160px 1fr; }
      .team-grid { grid-template-columns: 1fr; }
      .foot-grid { grid-template-columns: 1fr 1fr; }
      .office-frame { width: min(var(--max), calc(100% - 2rem)); }
    }
    @media (max-width: 640px) {
      .hero { padding: 3.1rem 0 2.2rem; }
      section { padding: 3.4rem 0; }
      .office-plate { padding-bottom: 3rem; }
      .team-feature { grid-template-columns: 1fr; gap: 1.15rem; }
      .team-feature .portrait { width: min(240px, 70%); aspect-ratio: 3 / 4; object-position: center 8%; }
      .person { grid-template-columns: 72px 1fr; }
      .person img, .person .initials { width: 72px; height: 90px; }
      .foot-grid { grid-template-columns: 1fr; gap: 1.4rem; }
      .hero-lead { font-size: 1.08rem; }
    }

    /* Inner pages */
    .page-hero { padding: 4.5rem 0 3.4rem; }
    .page-hero h1 {
      font-size: clamp(2.25rem, 5.2vw, 4.1rem);
      font-optical-sizing: auto;
      max-width: 15ch;
      margin: 0 0 1.25rem;
    }
    .page-hero h1 em { font-style: italic; font-weight: 400; }
    .page-hero .hero-lead {
      max-width: 38rem; color: var(--ink-soft); font-size: 1.2rem; line-height: 1.55;
      margin: 0 0 1.7rem;
    }

    .treat { background: var(--cream); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
    .treat-list {
      display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem;
      list-style: none; padding: 0; margin: 0;
    }
    .treat-list li {
      border-top: 1px solid var(--rule);
      padding: 1.05rem 0;
      font-family: Fraunces, serif;
      font-size: clamp(1.35rem, 2.4vw, 1.7rem);
      font-weight: 500;
      letter-spacing: -0.02em;
      color: var(--ink);
    }

    .dir-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.3rem 1.6rem;
    }
    .dir-card h3 { font-size: 1.28rem; margin: 0.9rem 0 0.2rem; }
    .dir-card .cred { margin: 0; }
    .dir-card .portrait {
      width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
      object-position: center 16%; border-radius: 2px; background: var(--paper-2);
    }

    .supervisor-block {
      margin-top: 3.2rem; padding-top: 2.4rem;
      border-top: 1px solid var(--rule);
    }
    .supervisor-block .team-feature {
      border-bottom: 0; padding-bottom: 0; margin-bottom: 0;
    }

    .ins-stack { display: grid; gap: 0; }
    .ins-block {
      padding: 1.7rem 0 1.85rem;
      border-top: 1px solid var(--rule);
    }
    .ins-block h3 { font-size: 1.55rem; margin: 0 0 0.55rem; }
    .ins-block p { color: var(--ink-soft); max-width: 40rem; }
    .plan-list {
      list-style: none; padding: 0; margin: 0.4rem 0 0;
      columns: 2; column-gap: 2.5rem;
    }
    .plan-list li {
      break-inside: avoid;
      padding: 0.42rem 0;
      border-top: 1px solid var(--rule);
      color: var(--ink);
      font-weight: 500;
    }

    @media (max-width: 900px) {
      .dir-grid { grid-template-columns: repeat(2, 1fr); }
      .plan-list { columns: 1; }
    }
    @media (max-width: 640px) {
      .page-hero { padding: 3rem 0 2.2rem; }
      .page-hero .hero-lead { font-size: 1.08rem; }
      .treat-list { grid-template-columns: 1fr; }
      .dir-grid { grid-template-columns: 1fr; max-width: 22rem; }
    }

    .rose-split {
      display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.4rem 2.6rem;
      align-items: start;
    }
    .rose-split .office-frame { width: 100%; }
    .rose-split .office-frame img {
      height: clamp(200px, 28vw, 320px); object-position: center 58%;
    }
    .loc-block h3 { font-size: 1.55rem; margin: 0 0 0.55rem; }
    .loc-block address { font-style: normal; color: var(--ink-soft); line-height: 1.55; margin: 0 0 0.85rem; }
    .loc-block p { color: var(--ink-soft); font-size: 1.05rem; }
    .loc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
    .rental-band {
      background: var(--cream);
      border-top: 1px solid var(--rule);
      border-bottom: 1px solid var(--rule);
    }
    .rental-band h2 {
      font-size: clamp(1.7rem, 3vw, 2.25rem);
      max-width: 16ch;
      margin: 0 0 0.9rem;
    }
    .rental-band p {
      color: var(--ink-soft);
      max-width: 38rem;
      font-size: 1.08rem;
    }
    .rental-band .reach-line { margin-top: 1.15rem; }
    .reach-line {
      display: block; font-weight: 600; color: var(--ink); text-decoration: none;
      border-bottom: 1px solid var(--rule); padding-bottom: 0.08rem;
      width: fit-content;
    }
    .reach-line:hover { color: var(--clay); border-bottom-color: var(--clay); }
    .prose-col { max-width: 40rem; color: var(--ink-soft); }
    .prose-col h2 { color: var(--ink); margin: 0 0 0.7rem; font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
    .prose-col h3 { font-size: 1.45rem; margin: 1.6rem 0 0.5rem; }
    @media (max-width: 900px) {
      .rose-split, .loc-grid-2 { grid-template-columns: 1fr; gap: 1.6rem; }
    }


    /* Visually hidden (dropdown toggle label) */
    .vh {
      position: absolute; width: 1px; height: 1px;
      padding: 0; margin: -1px; overflow: hidden;
      clip: rect(0,0,0,0); white-space: nowrap; border: 0;
    }

    /* Team dropdown */
    .has-dropdown { position: relative; }
    .drop-toggle { display: none; }
    .drop-head { display: flex; align-items: center; gap: 0.15rem; }
    .has-dropdown .nav-parent {
      display: inline-flex; align-items: center; gap: 0.4rem;
    }
    .has-dropdown .nav-parent::after {
      content: ""; width: 0.38em; height: 0.38em;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-0.1em);
    }
    .has-dropdown.is-current > .drop-head > .nav-parent { color: var(--clay); }
    .drop-btn { display: none; }
    .dropdown {
      display: none;
      list-style: none;
      margin: 0;
      position: absolute;
      top: calc(100% + 0.35rem);
      left: 50%;
      transform: translateX(-50%);
      min-width: 15.75rem;
      padding: 0.5rem 0;
      background: var(--cream);
      border: 1px solid var(--rule);
      border-radius: 2px;
      z-index: 70;
      box-shadow: 0 12px 28px rgba(27, 33, 23, 0.08);
    }
    .has-dropdown::before {
      content: "";
      position: absolute;
      left: 0; right: 0; top: 100%;
      height: 0.55rem;
      display: none;
    }
    .has-dropdown:hover::before,
    .has-dropdown:focus-within::before { display: block; }
    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
      display: flex;
      flex-direction: column;
    }
    .dropdown li { margin: 0; }
    .dropdown a {
      display: block;
      padding: 0.48rem 1.05rem;
      white-space: nowrap;
      font-size: 0.95rem;
    }
    .dropdown a:hover { background: var(--paper-2); color: var(--clay); }
    .dropdown .nav-note {
      display: block;
      font-size: 0.7rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--olive);
      font-weight: 600;
      margin-top: 0.12rem;
    }

    /* Linked team cards */
    a.team-feature,
    a.dir-card,
    a.person {
      text-decoration: none;
      color: inherit;
    }
    a.dir-card { display: block; }
    a.team-feature h3,
    a.dir-card h3,
    a.person h3 {
      transition: color .18s var(--ease);
    }
    a.team-feature:hover h3,
    a.dir-card:hover h3,
    a.person:hover h3 { color: var(--clay); }
    a.dir-card:hover .portrait,
    a.team-feature:hover .portrait,
    a.person:hover img {
      filter: saturate(1.04);
    }

    /* Clinician profile pages */
    .clinician { padding: 3.5rem 0 4.6rem; }
    .clinician .eyebrow a {
      color: inherit;
      text-decoration: none;
    }
    .clinician .eyebrow a:hover { color: var(--clay); }
    .clinician-layout {
      display: grid;
      grid-template-columns: minmax(220px, 300px) 1fr;
      gap: 2rem 2.8rem;
      align-items: start;
    }
    .clinician-layout .portrait {
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: cover;
      object-position: center 12%;
      border-radius: 2px;
      background: var(--paper-2);
    }
    .clinician-copy h1 {
      font-size: clamp(2.05rem, 4.2vw, 3.3rem);
      margin: 0;
    }
    .clinician-copy .cred { margin: 0.35rem 0 1.15rem; }
    .clinician-copy .supervised + .cred { margin-top: 0.35rem; }
    .clinician-copy .prose { max-width: 40rem; }
    .clinician-copy .prose p {
      color: var(--ink-soft);
      margin: 0 0 1em;
    }
    .clinician-copy .prose p:last-child { margin-bottom: 0; }
    .clinician-copy h2 {
      font-size: 1.35rem;
      margin: 1.85rem 0 0.6rem;
    }
    .spec-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0 1.6rem;
      max-width: 38rem;
    }
    .spec-list li {
      border-top: 1px solid var(--rule);
      padding: 0.5rem 0;
      font-weight: 500;
      color: var(--ink);
    }
    .clinician-meta {
      margin: 1.25rem 0 0;
      font-size: 0.98rem;
      color: var(--muted);
      max-width: 40rem;
    }
    .pt-link {
      display: inline-block;
      margin: 1.45rem 0 0;
      font-weight: 600;
    }
    .clinician-actions { margin-top: 1.7rem; }
    .clinician-note {
      margin-top: 1.05rem;
      color: var(--muted);
      font-size: 1rem;
      max-width: 36rem;
    }

    @media (max-width: 860px) {
      .has-dropdown { position: static; }
      .has-dropdown::before { display: none !important; }
      .drop-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--rule);
      }
      .has-dropdown .nav-parent {
        flex: 1;
        border-bottom: 0;
        padding: 0.7rem 0.2rem;
      }
      .has-dropdown .nav-parent::after { display: none; }
      .drop-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.4rem;
        height: 2.4rem;
        margin: 0;
        cursor: pointer;
        color: var(--ink);
        flex: 0 0 auto;
      }
      .drop-btn::after {
        content: "";
        width: 0.42em;
        height: 0.42em;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg) translateY(-0.08em);
      }
      .drop-toggle:checked ~ .drop-head .drop-btn::after {
        transform: rotate(225deg) translateY(-0.05em);
      }
      .dropdown {
        display: none;
        position: static;
        transform: none;
        left: auto;
        top: auto;
        min-width: 0;
        padding: 0 0 0.35rem 0.95rem;
        background: transparent;
        border: 0;
        box-shadow: none;
      }
      .has-dropdown:hover .dropdown,
      .has-dropdown:focus-within .dropdown {
        display: none;
      }
      .drop-toggle:checked ~ .dropdown {
        display: flex;
        flex-direction: column;
      }
      .dropdown a {
        padding: 0.58rem 0.2rem;
        white-space: normal;
      }
    }

    @media (max-width: 900px) {
      .clinician-layout { grid-template-columns: 180px 1fr; }
    }
    @media (max-width: 640px) {
      .clinician { padding: 2.6rem 0 3.4rem; }
      .clinician-layout { grid-template-columns: 1fr; gap: 1.2rem; }
      .clinician-layout .portrait {
        width: min(240px, 70%);
        aspect-ratio: 3 / 4;
        object-position: center 8%;
      }
      .spec-list { grid-template-columns: 1fr; }
    }

    /* Fallback page / loop */
    .entry { padding: 4.5rem 0 5rem; }
    .entry h1 {
      font-size: clamp(2.25rem, 5.2vw, 4.1rem);
      margin: 0 0 1.25rem;
    }
    .entry .content { max-width: 40rem; color: var(--ink-soft); }
    .entry .content a { font-weight: 600; }


    .faq { display: grid; gap: 0; max-width: 44rem; }
    .faq-item {
      padding: 1.4rem 0 1.5rem;
      border-top: 1px solid var(--rule);
    }
    .faq-item:last-child { border-bottom: 1px solid var(--rule); }
    .faq-item h3 {
      font-size: 1.35rem;
      margin: 0 0 0.65rem;
    }
    .faq-item p { color: var(--ink-soft); }
    .faq-item p + p { margin-top: 0.7rem; }

    .county-list li { font-size: 1rem; }
