/* ───────────────────────── B · Round 2 ─────────────────────────
   A (the designer's site) + only the changes agreed at the group meeting of 2026-11-19 and in the
   round-1 votes. Everything not listed here stays exactly as in A.
   Scope: html.v-b only. Never loaded in production builds (public/review/ is stripped). */

/* 1 · Hero: the designer's darker alt-hero treatment baked into the photo, wall only — the painted
       grasses keep their brightness (scripts/hero-treatment.mjs → /review/mural-b.webp).
       One descriptor line under the headline ("San Francisco", not "Noe Valley"). */
html.v-b .v5-hero > img:not(.vx-hero-img) { visibility: hidden; }
html.v-b .v5-hero .vx-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
html.v-b .v5-hero:after { background: none; }              /* darkening is in the image */
html.v-b .vx-hero-sub {
  position: relative; z-index: 1; margin: 28px 0 0; color: #fff;
  font-size: 22px; font-weight: 400; line-height: 1.45; letter-spacing: .01em;
  animation: v5-rise 1s .35s ease-out both;
}
@media (max-width: 767px) { html.v-b .vx-hero-sub { font-size: 17px; margin-top: 18px; } }

/* 2 · Header: phone number as text, no phone icon (owner, Nov 20). Desktop/tablet: beside the nav;
       narrow phones: inside the menu. Solid white header so the logo artwork has no visible box. */
html.v-b .v5-header { background: #fff; }
html.v-b .v5-phone-btn, html.v-b .v5-phone-tip { display: none !important; }
html.v-b .v5-phone { display: flex; align-items: center; }
html.v-b .vx-phone-text {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font-size: 16px; font-weight: 500; color: #1d3f5c; text-decoration: none; white-space: nowrap;
}
html.v-b .vx-phone-text:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
html.v-b .v5-header :is(.v5-nav-link, .v5-btn-outline, .vx-phone-text) { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199px) {   /* the text number is ~80px wider than the icon */
  html.v-b .v5-logo { width: 200px; height: auto; }
  html.v-b .vx-phone-text { font-size: 15px; padding: 0 6px; }
  html.v-b .v5-nav-link { padding-left: 10px; padding-right: 10px; }
  html.v-b .v5-dd-toggle { padding-right: 8px; }
}
@media (max-width: 599px) { html.v-b .v5-phone { display: none; } }
html.v-b .vx-mobile-phone { display: none; }
@media (max-width: 599px) { html.v-b .v5-mobile .vx-mobile-phone { display: list-item; } }

/* 3 · Key points directly under the photo (round-1 D's bar, minus "One neighborhood clinic") */
html.v-b .vx-facts { background: var(--v5-pale); border-bottom: 1px solid var(--v5-line); }
html.v-b .vx-facts ul { list-style: none; margin: 0; padding: 30px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; }
html.v-b .vx-facts li { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 1px solid var(--v5-line); }
html.v-b .vx-facts strong { font-family: var(--v5-serif); font-weight: 500; font-size: 24px; line-height: 1.15; color: #1d3a5c; text-wrap: balance; min-height: 2.3em; }
html.v-b .vx-facts span { font-size: 15.5px; line-height: 1.45; color: #3f4956; text-wrap: pretty; }
html.v-b .vx-tag {
  align-self: flex-start; margin-top: 6px; padding: 1px 7px; border-radius: 3px;
  background: #fff4c2; color: #5a4300; font-size: 12px !important; font-weight: 600; letter-spacing: .02em;
}
html.v-b .vx-facts + .v5-section { padding-top: 96px; }
@media (max-width: 1023px) { html.v-b .vx-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  html.v-b .vx-facts ul { grid-template-columns: 1fr; gap: 16px; padding: 26px 0; }
  html.v-b .vx-facts strong { font-size: 21px; min-height: 0; }
}

/* 4 · Our approach: the wider, hairline layout from round-1 C */
html.v-b .v5-approach-grid { gap: 56px 96px; }
html.v-b .v5-approach-grid > div { border-top: 1px solid var(--v5-line); padding-top: 28px; }
html.v-b .v5-approach-grid > div:first-child p { max-width: none; }
html.v-b .v5 .v5-statement { font-weight: 300; max-width: 820px; }

/* 5 · Physicians (home): portrait, name and degrees only; the name links to the biography.
       Buttons left-aligned like the others. */
html.v-b .v5-doc-grid .v5-creds { display: none; }
html.v-b .v5-doc-name { margin-bottom: 0; }
html.v-b div:has(> [data-testid="link-meet-physicians"]) { text-align: left !important; }
html.v-b :is(.v5-doc-photo, .v5-person-photo) { background-color: #e7ecef; }   /* tinted placeholder while lazy images load */

/* 6 · Clinic: Noe Valley address + the Mill Valley satellite line (Dr. Zaphiris only) */
html.v-b .vx-visit { display: grid; grid-template-columns: 1fr; gap: 16px; border-top: 1px solid var(--v5-line); padding-top: 28px; margin-top: 4px; }
html.v-b .vx-office h3 { font-size: 24px; line-height: 1.2; margin-bottom: 10px; }
html.v-b .vx-office address { font-style: normal; font-size: 16px; line-height: 1.6; color: var(--v5-muted); margin-bottom: 10px; }
html.v-b .vx-visit a:not(.v5-btn) { color: var(--v5-heading); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; white-space: nowrap; }
html.v-b .vx-visit a:not(.v5-btn)::after { content: " \2192"; }
html.v-b .vx-satellite { font-size: 15px; line-height: 1.6; color: var(--v5-muted); margin: 12px 0 0; padding-top: 16px; border-top: 1px solid rgba(29, 58, 92, .12); }
html.v-b .v5-footer .vx-foot-note { font-weight: 400; opacity: .8; }

/* 7 · Physicians page: first-person biography; opening paragraphs first, "Read full biography" for the rest.
       Credentials stay beside it as in A; Dr. Sanger's Doctorate before Residency. */
html.v-b .v5-person:has(.vx-bio-fp) > .v5-bio:not(.vx-bio-fp) { display: none; }
html.v-b .v5-person:not(.vx-open) .vx-bio-fp .vx-more { display: none; }
html.v-b .v5-person-side:has(> .vx-creds-alt) > .v5-creds:not(.vx-creds-alt) { display: none; }
html.v-b [data-testid="link-noe-membership"] { display: none; }
html.v-b .vx-office-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
html.v-b .vx-office-row .v5-btn { margin: 0; flex: none; }
/* Dr. Zaphiris: same portrait, blouse recoloured white (scripts/portrait-white-shirt.mjs) */
html.v-b #alex-zaphiris .v5-person-side > img.v5-person-photo { display: none; }
html.v-b .vx-photo-b { display: contents; }
html.v-b .v5-doc-photo:has(.vx-photo-b) > img { display: none; } /* home cards: same white-top portrait */
html.v-b .vx-bio-toggle {
  font: inherit; font-size: 15px; font-weight: 500; color: var(--v5-heading); background: none; border: 0; padding: 10px 0;
  min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
html.v-b .vx-bio-toggle::after { content: " \2193"; }
html.v-b .vx-open .vx-bio-toggle::after { content: " \2191"; }
html.v-b .vx-bio-fp strong { font-weight: 500; color: var(--v5-heading); }
html.v-b ul.vx-bio-list { list-style: disc; margin: -6px 0 1.1em; padding-left: 1.4em; }
html.v-b .vx-bio-list li { margin: 0; padding-left: 4px; }
html.v-b .vx-bio-list li p { margin: 0; }
html.v-b .vx-bio-list li::marker { color: #5b6b80; }
html.v-b .vx-draft { display: inline-block; margin: 0 0 14px; padding: 2px 8px; border-radius: 3px; background: #fff4c2; color: #5a4300; font-size: 13px; font-weight: 600; }

/* 8 · Membership page: "What membership provides" above the form (round-1 B styling, original banner) */
html.v-b .vx-explainer { padding: 80px 0 0; }
html.v-b .vx-explainer .v5-container > * { max-width: 760px; margin-left: auto; margin-right: auto; }
html.v-b .vx-explainer-grid { display: block; margin-top: 32px; border-bottom: 1px solid var(--v5-line); }
html.v-b .vx-explainer-grid > div { display: grid; grid-template-columns: 220px 1fr; gap: 8px 40px; padding: 24px 0; border-top: 1px solid var(--v5-line); }
html.v-b .vx-explainer h3 { font-size: 26px; line-height: 1.15; margin: 0; }
html.v-b .vx-explainer-grid p { font-size: 17px; line-height: 1.65; color: var(--v5-muted); margin: 0; }
html.v-b .vx-explainer-call { margin-top: 24px !important; font-size: 17px; color: var(--v5-muted); }
html.v-b .v5 .vx-tel { color: var(--v5-heading); font-weight: 500; text-underline-offset: 3px; }
html.v-b .vx-explainer + .v5-section { padding-top: 56px; }
@media (max-width: 700px) {
  html.v-b .vx-explainer { padding-top: 52px; }
  html.v-b .vx-explainer-grid > div { grid-template-columns: 1fr; padding: 20px 0; }
}

/* 9 · Visible keyboard focus */
html.v-b .v5 :is(a, button, input, textarea, select):focus-visible { outline: 2px solid #3a5a80; outline-offset: 3px; }
html.v-b .v5-hero :is(a, button):focus-visible { outline-color: #fff; }

/* Highlight-changes overlay: restyled (not inserted) elements */
html.vchg.v-b :is(.v5-hero, .v5-approach-grid, .v5-statement, .v5-doc-grid, .vx-phone-text) { outline: 2px dashed #d99a00; outline-offset: 4px; }

/* 10 · Round 4 (owner, Nov 30) */
/* Key points: five items (after-hours coverage restored as the fifth). */
html.v-b .vx-facts ul { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 28px; }
html.v-b .vx-facts li { padding-left: 16px; }
html.v-b .vx-facts strong { font-size: 22px; }
@media (max-width: 1179px) { html.v-b .vx-facts ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 36px; } }
@media (max-width: 767px) { html.v-b .vx-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* No focus box on headings the script focuses after a jump link (they are not controls). */
html.v-b .v5 [tabindex="-1"]:focus { outline: none; }
/* Legal pages share one heading style: medium-weight serif, whatever bold the source pasted in. */
html.v-b .v5-legal-body :is(h2, h3) { font-weight: 500; }
html.v-b .v5-legal-body :is(h2, h3) strong { font-weight: inherit; }
html.v-b .v5-legal-body li { margin-bottom: 10px; }
html.v-b .v5-legal-body ul { list-style: disc; }
html.v-b .v5-legal-body li::marker { color: var(--v5-label); }
@media (max-width: 560px) { html.v-b .vx-facts ul { grid-template-columns: 1fr; gap: 16px; } }
