/* =====================================================================
   bold.css — the bolder home-page direction. Loads after site.css and
   uses its tokens. Bands, not cards. Type does the work. Radius only on
   photographs and pills.
   ===================================================================== */
:root {
  --b-h1: 92px; --b-h2: 56px; --b-value: 44px; --b-quote: 26px; --b-index: 32px; --b-item: 24px; --b-big: 88px;
}
@media (max-width: 1023px) { :root { --b-h1: 58px; --b-h2: 44px; --b-value: 36px; --b-quote: 22px; --b-index: 26px; --b-item: 24px; --b-big: 80px; } }
@media (max-width: 639px)  { :root { --b-h1: 42px; --b-h2: 34px; --b-value: 30px; --b-quote: 20px; --b-index: 24px; --b-item: 22px; --b-big: 56px; } }

body { background: var(--light); }
.b-band { padding-block: var(--section); }
@media (max-width: 639px) { .b-band { padding-block: 48px; } }
.b-band--warm { background: var(--light); --band: var(--light); }
.b-band--white { background: var(--white); --band: var(--white); }
.b-band--dark { background: var(--charcoal); color: var(--on-dark-soft); }
.b-band--green { background: var(--accent); color: var(--white); }
.b-hair { border-top: 1px solid var(--charcoal-12); }
.b-band--dark .b-hair, .b-band--green .b-hair { border-top-color: rgba(255,255,255,0.16); }

/* ---- Utility line + header on the light ground ---------------------- */
.b-util { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 12px 0; border-bottom: 1px solid var(--charcoal-12); }
.b-util a { color: var(--charcoal); font-weight: 500; }
.b-util a:hover { color: var(--accent); }
@media (max-width: 639px) { .b-util { display: none; } }
.b-header .brand { color: var(--charcoal); }
.brand__name { font-weight: 500; font-size: 25px; letter-spacing: -0.01em; }
.brand__sub { font-weight: 700; font-size: 11px; letter-spacing: 0.16em; margin-top: 6px; }
.b-header .brand__sub { color: var(--accent); }
.b-header .nav__links { color: var(--body); }
.b-header .nav__links a:hover { color: var(--charcoal); }
.b-header .nav-toggle { color: var(--charcoal); }
.b-header.header { padding: 26px 0; }
.b-nav-mobile { display: none; }
@media (max-width: 1023px) {
  .b-nav-mobile[data-open="true"] { display: block; border-top: 1px solid var(--charcoal-12); padding: 8px 0 20px; }
  .b-nav-mobile a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; font-weight: 500; color: var(--charcoal); border-bottom: 1px solid var(--charcoal-12); }
  .b-nav-mobile .btn { display: inline-flex; border-bottom: 0; margin-top: 18px; font-size: var(--button); padding: 0 24px; }
}

/* ---- Hero: headline left, photograph bleeding to the right edge ------ */
.b-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; padding: 40px 0 32px; }
.b-hero__text { display: grid; gap: 28px; justify-items: start; padding-bottom: 24px; }
.b-hero__text .eyebrow { margin-bottom: 0; }
.b-h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--b-h1); line-height: 0.98; letter-spacing: -0.022em; color: var(--charcoal); text-wrap: balance; max-width: 13.5ch; }
.b-hero__text .lead { font-size: 21px; max-width: 520px; }
.b-hero__media { position: relative; align-self: stretch; margin-right: calc(-1 * var(--gutter)); min-height: 520px; }
@media (min-width: 1024px) { .b-hero__media { margin-right: calc(-50vw + var(--col) / 2); } }
.b-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg) 0 0 var(--r-lg); }
@media (max-width: 1023px) { .b-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 28px; } .b-hero__media { min-height: 440px; } .b-hero__text { padding-bottom: 16px; } .b-hero__text .lead { font-size: 19px; } }
@media (max-width: 639px) {
  .b-hero { grid-template-columns: 1fr; gap: 28px; padding: 20px 0 0; }
  .b-hero__text { padding-bottom: 0; gap: 20px; }
  .b-hero__text .lead { font-size: 17px; }
  .b-hero__media { margin-right: calc(-1 * var(--gutter)); margin-left: calc(-1 * var(--gutter)); min-height: 0; aspect-ratio: 3 / 2; }
  .b-hero__media img { border-radius: 0; }
}

/* ---- Evidence row: the numbers that matter, ruled ------------------- */
.b-evidence { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--charcoal-12); border-bottom: 1px solid var(--charcoal-12); }
.b-evidence > * { padding: 22px 24px 22px 0; border-left: 1px solid var(--charcoal-12); padding-left: 24px; display: grid; gap: 6px; align-content: start; color: inherit; }
.b-evidence > *:first-child { border-left: 0; padding-left: 0; }
.b-evidence__value { font-family: var(--font-display); font-weight: 400; font-size: var(--b-value); line-height: 1; color: var(--charcoal); white-space: nowrap; }
@media (min-width: 640px) and (max-width: 1023px) { .b-evidence__value { font-size: 32px; } }
.b-evidence__value .stars { font-family: var(--font-text); color: #C8961E; font-size: 14px; font-weight: 400; letter-spacing: 2px; vertical-align: 6px; margin-left: 8px; }
.b-evidence__label { font-size: 14px; color: var(--muted); }
@media (max-width: 1023px) and (min-width: 640px) { .b-evidence { grid-template-columns: repeat(2, 1fr); } .b-evidence > * { padding: 18px 20px 18px 0; } .b-evidence > *:nth-child(odd) { border-left: 0; padding-left: 0; } .b-evidence > *:nth-child(n+3) { border-top: 1px solid var(--charcoal-12); } .b-evidence > *:nth-child(even) { padding-left: 20px; } }
@media (max-width: 639px) {
  .b-evidence { grid-template-columns: 1fr; border-top: 0; }
  .b-evidence > * { grid-template-columns: 1fr auto; align-items: baseline; border-left: 0; padding: 14px 0; border-top: 1px solid var(--charcoal-12); }
  .b-evidence > *:first-child { border-top: 0; }
  .b-evidence__label { font-size: 15px; color: var(--body); order: -1; }
  .b-evidence__value { font-size: 28px; text-align: right; }
  .b-evidence__value .stars { font-size: 14px; vertical-align: 3px; margin-left: 6px; }
}

/* ---- Section heads ------------------------------------------------- */
.b-h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--b-h2); line-height: 1.04; letter-spacing: -0.015em; color: var(--charcoal); text-wrap: balance; max-width: 16ch; }
.b-band--dark .b-h2, .b-band--green .b-h2 { color: var(--white); }
.b-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; margin-bottom: 48px; }
@media (min-width: 1024px) { .b-head > .lead, .b-head > div:nth-child(2) { margin-top: 28px; } }
.b-head .lead { max-width: 480px; font-size: 19px; }
@media (max-width: 639px) { .b-head .lead { font-size: 16px; } }
@media (max-width: 1023px) { .b-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; } }
@media (max-width: 639px) { .b-head { margin-bottom: 24px; gap: 12px; } }

/* ---- Practice: bigger paragraph, photo left --------------------------- */
.b-practice { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.b-practice img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.b-practice p:not(.eyebrow):not(.caption):not(.b-practice__role) { font-size: 20px; line-height: 1.55; color: var(--charcoal); margin-top: 24px; max-width: 34em; }

@media (max-width: 1023px) { .b-practice { gap: 32px; } .b-practice p:not(.eyebrow):not(.caption):not(.b-practice__role) { font-size: 18px; } }
@media (max-width: 639px) { .b-practice { grid-template-columns: 1fr; gap: 24px; } .b-practice p:not(.eyebrow):not(.caption):not(.b-practice__role) { font-size: 17px; margin-top: 16px; } .b-practice img { border-radius: var(--r-sm); } }

/* ---- Results: edge to edge, on charcoal ----------------------------- */
.b-results { background: var(--charcoal); color: var(--on-dark-soft); padding-block: var(--section); margin-bottom: 0; }
.b-results .b-head { margin-bottom: 40px; }
.b-results .b-h2 { color: var(--white); }
.b-results .eyebrow { color: var(--accent-on-dark); margin-bottom: 28px; }
.b-results__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 24px; }
.b-result { display: grid; gap: 18px; align-content: start; color: inherit; min-width: 0; }
.b-result .b-result__name { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-decoration-color .15s ease; }
.b-result:hover .b-result__name { text-decoration-color: currentColor; }
.b-result .b-index__arrow { display: inline-block; text-decoration: none; transition: transform .15s ease; }
.b-result:hover .b-index__arrow { transform: translateX(4px); }
.b-result__frame { display: grid; grid-template-rows: 1fr 1fr; gap: 8px; container-type: inline-size; aspect-ratio: 1 / 1; }
.b-result__half { position: relative; overflow: hidden; border-radius: var(--r-sm); }
.b-result__half img, .b-result__half picture { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The square photo is laid at full width; the before half shows rows 0-49%, the after half
   rows 50.4%-99% (the source has a 3px seam at row 50% and a watermark at 90-97.5%). */
.b-result__half img { height: auto; top: 0; }
.b-result__half--after img { top: -50.42cqw; }
/* Our own small BEFORE / AFTER labels, placed exactly over the photo's baked-in pill
   (which sits at 1.7% from the corner, 11.7% wide, 3.4% tall of the frame width) */
.b-result__label { position: absolute; left: 1cqw; top: 1cqw; z-index: 1; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); background: var(--charcoal); color: var(--white); line-height: 1.2; min-width: 14cqw; min-height: 5.8cqw; box-sizing: border-box; display: inline-flex; align-items: center; }
@media (max-width: 639px) { .b-result__label { font-size: 11px; padding: 4px 9px; } }
.b-result__text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; min-width: 0; }
.b-result__name { font-family: var(--font-display); font-size: var(--b-index); color: var(--white); line-height: 1.1; }
.b-result__name .b-index__arrow { color: var(--white); margin-left: 2px; }
.nw { white-space: nowrap; }
.b-result__text p { font-size: var(--small); color: var(--on-dark-soft); }
@media (max-width: 1023px) { .b-results__grid { gap: 32px 20px; } }
@media (max-width: 639px) {
  .b-results { background: var(--white); padding: 48px 0 0; color: var(--body); }
  .b-results .eyebrow { color: var(--accent); }
  .b-results .b-h2 { color: var(--charcoal); }
  .b-results .b-head { margin-bottom: 24px; }
  .b-results__grid { grid-template-columns: 1fr; gap: 0; }
  .b-result { padding: 28px 0; gap: 14px; border-top: 1px solid var(--charcoal-12); }
  .b-result:first-child { border-top: 0; padding-top: 0; }
  .b-result__name { color: var(--charcoal); order: -1; }
  .b-result__name .b-index__arrow { color: var(--accent); }
  .b-result:hover .b-result__name { color: var(--accent); }
  .b-result__text { display: contents; }
  .b-result__text p { color: var(--body); }
}

/* ---- Treatment index: a ruled list, names in the display face ------- */
.b-index { border-top: 1px solid var(--charcoal-12); }
.b-index-wrap { padding-bottom: var(--section); }
.b-index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--charcoal-12); color: var(--charcoal); transition: padding-left .2s ease; }
.b-index__name { font-family: var(--font-display); font-size: var(--b-index); line-height: 1.1; }
.b-index__arrow { font-family: var(--font-text); color: var(--accent); font-size: 26px; line-height: 1; }
.b-index a:hover { padding-left: 12px; }
.b-index a:hover .b-index__name { color: var(--accent); }
.b-index__all { margin-top: 24px; }
@media (min-width: 1024px) { .b-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; } }
@media (max-width: 639px) { .b-index a { padding: 16px 0; } .b-index-wrap { padding-bottom: 40px; } }

/* ---- Team: a ruled row of portraits ---------------------------------- */
.b-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--charcoal-12); border-bottom: 1px solid var(--charcoal-12); padding: 32px 0; }
.b-person { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; align-content: stretch; }
.b-person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--r-sm); }
.b-person__name { font-family: var(--font-display); font-size: var(--b-item); color: var(--charcoal); line-height: 1.1; margin-top: 6px; }
.b-person .caption { margin-top: -4px; }
.b-person .xlink { margin-top: 0; }
@media (max-width: 1023px) { .b-team { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; } }
@media (max-width: 639px) {
  /* Phone: one clinician per row, full-width 4:3 portrait, hairline between */
  .b-team { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .b-person { grid-template-rows: auto; align-content: start; padding: 24px 0; border-top: 1px solid var(--charcoal-12); gap: 6px; }
  .b-person:first-child { border-top: 0; }
  .b-person img { aspect-ratio: 5 / 4; object-position: 50% 0; }
  .b-person__name { margin-top: 8px; }
  .b-person .caption { font-size: 13px; }
  .b-person .xlink { margin-top: 2px; }
}

/* ---- Reviews: the number, then the quotes as a ruled list ---------- */
.b-reviews { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px 80px; align-items: start; }
.b-big { display: grid; gap: 10px; justify-items: start; color: var(--white); }
.b-big__num { font-family: var(--font-display); font-size: var(--b-big); line-height: 0.85; letter-spacing: -0.03em; }
.b-big__label { font-family: var(--font-display); font-size: var(--b-item); line-height: 1; margin-top: -2px; }
.b-big__rating { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; margin-top: 12px; color: var(--white); }
.b-big__stars { color: var(--stars); font-size: 14px; letter-spacing: 2px; }
.b-big__text { font-size: var(--small); font-weight: 500; color: var(--accent-on-dark); margin-top: 10px; }
.b-reviews .eyebrow { margin-bottom: 0; }
.b-quotes { border-top: 1px solid rgba(255,255,255,0.16); margin-top: 20px; }
.b-quote { display: grid; gap: 14px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.b-quote p { font-family: var(--font-display); font-size: var(--b-quote); line-height: 1.32; color: var(--white); max-width: 30em; }
.b-quote__by { display: flex; gap: 14px; align-items: center; font-size: var(--caption); font-weight: 500; color: var(--on-dark-muted); }
.b-quote__by .stars { color: var(--stars); letter-spacing: 2px; font-size: 14px; font-weight: 400; }
@media (max-width: 1023px) { .b-reviews { grid-template-columns: 1fr; gap: 32px; } .b-reviews > div { display: contents; } .b-reviews .eyebrow { order: -1; margin-bottom: -8px; } .b-quotes { margin-top: 0; } }

/* ---- Find us: the address set large --------------------------------- */
.b-findus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: start; }
.b-findus__side { padding-top: 40px; }
.b-findus__side .xlink { margin-top: 16px; }
.b-address { font-family: var(--font-display); font-size: 32px; line-height: 1.2; color: var(--charcoal); margin-top: 20px; max-width: 14ch; }
.b-findus .hours { margin-top: 0; }
.b-findus__text { max-width: 30em; color: var(--body); font-size: var(--text); }
@media (max-width: 1023px) { .b-address { font-size: 28px; } }
@media (max-width: 1023px) { .b-findus { grid-template-columns: 1fr; gap: 20px; } .b-findus__side { padding-top: 0; } }
@media (max-width: 639px) { .b-address { font-size: 24px; margin-top: 12px; } }

/* ---- CTA on the accent ---------------------------------------------- */
.b-cta { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 40px; align-items: center; }
.b-cta p { color: rgba(255,255,255,0.86); max-width: 520px; font-size: 18px; margin-top: 14px; }
.b-cta .eyebrow { color: var(--accent-on-dark); }
.b-band--green .btn--primary { background: var(--white); color: var(--accent); }
.b-band--green .btn--primary:hover { background: var(--charcoal); color: var(--white); }
.b-band--green .btn--secondary { border-color: rgba(255,255,255,0.5); color: var(--white); }
.b-band--green .btn--secondary:hover { border-color: var(--white); }
@media (max-width: 1023px) { .b-cta { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Footer: full-width band, no rounding -------------------------- */
.b-footer.footer-card { margin-inline: 0; max-width: none; border-radius: 0; padding-inline: 0; }
.b-footer .footer__top, .b-footer .footer, .b-footer .footer__bottom { max-width: min(var(--col), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
@media (max-width: 1023px) { .b-footer .footer__top, .b-footer .footer, .b-footer .footer__bottom { margin-inline: var(--gutter); } }

/* ---- Points: ruled list, label + one line (why choose us, nervous patients) ---- */
.b-points { border-top: 1px solid var(--charcoal-12); }
.b-points li { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 8px 32px; padding: 18px 0; border-bottom: 1px solid var(--charcoal-12); align-content: start; }
.b-points__label { font-family: var(--font-display); font-size: var(--b-item); line-height: 1.15; color: var(--charcoal); }
.b-points__text { font-size: 16px; color: var(--body); align-self: center; }
@media (min-width: 1024px) { .b-points:not(.b-points--single) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; } .b-points:not(.b-points--single) li { grid-template-columns: 1fr; gap: 6px; } }
.b-points--single li { grid-template-columns: 1fr; gap: 6px; }
@media (max-width: 639px) { .b-points li { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; } .b-points__text { font-size: 15px; } }

/* ---- Appointment routes ---- */
.b-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 64px; border-top: 1px solid var(--charcoal-12); border-bottom: 1px solid var(--charcoal-12); }
.b-route { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; align-content: start; padding: 28px 0; }
.b-route + .b-route::before { content: ""; position: absolute; left: -32px; top: 0; bottom: 0; width: 1px; background: var(--charcoal-12); }
.b-route__name { font-family: var(--font-display); font-size: var(--b-item); color: var(--charcoal); line-height: 1.1; }
.b-route p { font-size: var(--small); color: var(--body); }
.b-route .btn { justify-self: start; align-self: end; }
.b-routes__note { margin-top: 20px; font-size: var(--text); color: var(--charcoal); max-width: 72ch; }
@media (max-width: 1023px) { .b-routes { grid-template-columns: 1fr; border-bottom: 0; } .b-route { padding: 22px 0; border-bottom: 1px solid var(--charcoal-12); } .b-route + .b-route::before { display: none; } }
@media (max-width: 639px) { .b-route .btn { justify-self: stretch; } }

/* ---- Nervous patients ---- */
.b-nervous { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 0 64px; align-items: start; }
.b-nervous .xlink { margin-top: 22px; }
.b-nervous__text { display: contents; }
.b-nervous__text > * { grid-column: 1; }
.b-nervous__text > .b-video--portrait { grid-column: 2; grid-row: 1 / 10; align-self: start; position: sticky; top: 24px; }
.b-nervous__lead { font-size: 19px; color: var(--body); margin: 20px 0 28px; max-width: 34em; }
.b-nervous__first { margin-top: 24px; font-size: var(--text); color: var(--charcoal); max-width: 34em; }
.b-video--portrait .video__frame { aspect-ratio: 4 / 5; background-color: var(--charcoal); place-items: end start; padding: 16px; }
.b-video--portrait .video__play { width: 56px; height: 56px; background: rgba(43,54,60,0.7); }
.b-video--portrait { max-width: 360px; justify-self: end; }
.b-video__title { font-family: var(--font-display); font-size: var(--b-item); color: var(--charcoal); line-height: 1.15; }
.b-video--portrait .caption { margin-top: -6px; }
@media (max-width: 1023px) { .b-nervous { gap: 0 32px; } .b-nervous__lead { font-size: 18px; } }
@media (max-width: 639px) { .b-nervous { display: block; } .b-nervous__text { display: block; } .b-video--portrait, .b-nervous__text > .b-video--portrait { max-width: none; margin: 0 0 28px; position: static; }
  /* A photograph pins while the steps scroll beneath it (Kiran liked the effect); a video does not, it is too tall. */
  .b-nervous__text > .b-photo--portrait { margin: 0 0 24px; } .b-nervous__lead { font-size: 17px; margin: 14px 0 20px; } }

/* ---- Fees and finance ---- */
.b-fees { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.b-fees__list { grid-column: 2; }
.b-fees__finance-block { margin-top: 32px; }
.b-fees__lead { font-size: 18px; color: var(--body); margin: 20px 0 0; max-width: 30em; }
.b-fees__finance { font-size: var(--text); color: var(--charcoal); max-width: 30em; }
.b-fees .caption { max-width: 34em; }
.b-feelist { border-top: 1px solid var(--charcoal-12); }
.b-feelist li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--charcoal-12); font-size: var(--text); color: var(--charcoal); }
.b-feelist__price { font-family: var(--font-display); font-size: 26px; white-space: nowrap; }
@media (max-width: 1023px) { .b-fees { gap: 32px; } }
@media (max-width: 639px) { .b-fees { grid-template-columns: 1fr; gap: 0; } .b-fees > div:first-child { display: contents; } .b-fees__list { grid-column: 1; order: 1; margin-top: 24px; } .b-fees__finance-block { order: 2; margin-top: 24px; } .b-fees__lead { font-size: 17px; margin: 14px 0 0; } .b-feelist li { font-size: 15px; padding: 13px 0; } .b-feelist__price { font-size: 22px; } }
.b-results .b-results__note { margin-top: 32px; color: var(--on-dark-muted); }
@media (max-width: 639px) { .b-results .b-results__note { margin-top: 0; padding: 20px 0 48px; border-top: 1px solid var(--charcoal-12); color: var(--muted); } }

/* ---- Header booking pill: full label at desktop/tablet, short at phone ---- */
.btn__short { display: none; }
@media (max-width: 1023px) {
  .b-header .nav .btn--nav { display: inline-flex; min-height: 38px; padding: 0 16px; font-size: 14px; }
  .b-header .nav { gap: 10px; }
}
@media (max-width: 639px) {
  .b-header .nav .btn--nav { display: none; }
  .b-header.header { gap: 16px; }
  .brand__name { font-size: 19px; } .b-header .brand img { width: 38px; height: 38px; } .brand__sub { font-size: 10px; margin-top: 4px; }
  .b-header .nav-toggle { width: 44px; margin-right: -8px; }
}

/* ---- Sticky booking bar at phone, shown once the hero has scrolled past ---- */
.sticky-cta { display: none; }
@media (max-width: 639px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(248,246,241,0.96); border-top: 1px solid var(--charcoal-12); transform: translateY(100%); transition: transform .2s ease-out; }
  .sticky-cta[data-show="true"] { transform: translateY(0); }
  .sticky-cta .btn { flex: 1 1 0; min-height: 44px; padding: 0 12px; font-size: 14px; }
  body.has-sticky { padding-bottom: 72px; }
}

/* =====================================================================
   Treatment-page components (first used on /composite-bonding)
   ===================================================================== */
/* Hero with a before/after case beside the headline */
.b-hero--case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-bottom: 48px; }
.b-hero--case .b-hero__text { padding-bottom: 0; }
.b-hero__case { display: grid; gap: 12px; margin: 0; }
.b-hero__case .caption { color: var(--muted); }
@media (max-width: 1023px) { .b-hero--case { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 32px; padding-bottom: 40px; } }
@media (max-width: 639px) { .b-hero--case { grid-template-columns: 1fr; padding-bottom: 32px; gap: 28px; } }

/* Results as plain figures (no link) */
.b-result--static .b-result__name { text-decoration: none; }
/* Keep the charcoal band at phone on treatment pages (two cases, not four) */
@media (max-width: 639px) {
  .b-results--band { background: var(--charcoal); color: var(--on-dark-soft); padding: 48px 0; }
  .b-results--band .eyebrow { color: var(--accent-on-dark); }
  .b-results--band .b-h2 { color: var(--white); }
  .b-results--band .b-result { border-top-color: rgba(255,255,255,0.16); }
  .b-results--band .b-result__name { color: var(--white); }
  .b-results--band .b-result__text p { color: var(--on-dark-soft); }
  .b-results--band .b-results__note { border-top: 0; padding: 0; margin-top: 8px; color: var(--on-dark-muted); }
}

/* Numbered steps: the ruled list with a serif number */
.b-steps { counter-reset: none; list-style: none; }
.b-steps .b-points__label { display: flex; gap: 14px; align-items: baseline; }
.b-steps__num { font-family: var(--font-display); font-size: var(--b-item); color: var(--accent); min-width: 1.2em; }
.b-photo--portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); display: block; }
.b-photo--portrait { display: grid; gap: 10px; margin: 0; }
.b-steps-wrap .b-nervous__first { margin-top: 24px; max-width: none; }
@media (max-width: 639px) { .b-photo--portrait { margin: 0 0 24px; } .b-photo--portrait img { aspect-ratio: 5 / 4; border-radius: var(--r-sm); } }

/* Fees column prose */
.b-h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--b-item); color: var(--charcoal); line-height: 1.15; margin-top: 28px; }
.b-fees__text { margin-top: 12px; color: var(--body); font-size: var(--text); max-width: 34em; }
.b-fees__text + .xlink { margin-top: 18px; }
@media (max-width: 639px) { .b-h3 { margin-top: 24px; } }

/* Comparison columns reuse the routes grid, links instead of buttons */
.b-compare .b-route .xlink { margin-top: 6px; align-self: end; }
.b-compare .b-route p { font-size: var(--text); }
.b-compare + .b-routes__note { margin-top: 24px; }

/* Dentist block: portrait photo */
.b-practice--portrait { align-items: center; }
.b-practice--portrait img { aspect-ratio: 4 / 5; max-width: 420px; }
.b-practice__role { font-size: var(--small); font-weight: 500; color: var(--accent); margin-top: 8px; }
.b-practice--portrait p:not(.eyebrow):not(.caption):not(.b-practice__role) { margin-top: 20px; }
.b-practice__creds.caption { margin-top: 16px; max-width: 34em; }
.b-practice--portrait .xlink { margin-top: 20px; }
@media (max-width: 639px) { .b-practice--portrait img { max-width: none; aspect-ratio: 5 / 4; object-position: 50% 0; } }

/* Short two-column band (nervous note) */
.b-head--tight { margin-bottom: 0; align-items: start; }
.b-head--tight .lead { max-width: 520px; }
.b-head--tight .xlink { margin-top: 16px; }

/* Videos inside the reviews band */
.b-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-bottom: 36px; }
.b-video { display: grid; gap: 10px; }
.b-video .b-video__title { color: var(--white); font-size: 20px; }
.b-video .caption { margin-top: -4px; }
.b-videos + .b-quotes { margin-top: 0; }
@media (max-width: 639px) { .b-videos { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; } }

/* FAQ: heading left, accordion right */
.b-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 80px; align-items: start; }
.b-faq__list.faq { max-width: none; }
.b-faq__lead { font-size: var(--text); color: var(--body); margin-top: 20px; max-width: 30em; }
@media (min-width: 1024px) { .b-faq__list { margin-top: 24px; } }
@media (max-width: 1023px) { .b-faq { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Information pages: text-only hero, fee guide grid, notes column ---- */
.b-hero--text { grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
.b-hero--text .b-hero__text { padding-bottom: 0; }
.b-hero--text .lead { max-width: 620px; }
@media (max-width: 639px) { .b-hero--text { padding-bottom: 32px; } }
.b-feegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.b-feesec { display: grid; gap: 0; align-content: start; }
.b-feesec--wide { grid-column: 1 / -1; }
.b-feegrid { align-items: start; }
.b-feesec__title { font-family: var(--font-display); font-weight: 400; font-size: var(--b-item); color: var(--charcoal); line-height: 1.15; margin-bottom: 14px; }
.b-feesec .xlink { margin-top: 16px; }
.b-feelist--wrap li { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.b-feelist--wrap .b-feelist__price { white-space: normal; text-align: right; max-width: 11em; }
.b-feelist--cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 0; }
.b-feelist--cols li:nth-child(-n+2) { border-top: 1px solid var(--charcoal-12); }
@media (max-width: 1023px) { .b-feegrid { grid-template-columns: 1fr; gap: 40px; } .b-feelist--cols { grid-template-columns: 1fr; border-top: 1px solid var(--charcoal-12); } .b-feelist--cols li:nth-child(-n+2) { border-top: 0; } }
.b-compare--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) { .b-compare--two { grid-template-columns: 1fr; } }
.b-notes { display: grid; gap: 16px; }
.b-notes p { color: var(--body); max-width: 40em; }
.b-notes p:first-child { color: var(--charcoal); }
@media (min-width: 1024px) { .b-notes { margin-top: 40px; } }

/* Inline links in running text and lists (contact page, finance treatment list) */
.lead a, .hours a, .b-points__text a:not(.xlink), .b-notes a, .b-fees__text a, .faq__a a:not(.xlink), .b-route p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--charcoal-12); }
.lead a:hover, .hours a:hover, .b-points__text a:hover, .b-notes a:hover, .b-fees__text a:hover, .faq__a a:hover, .b-route p a:hover { text-decoration-color: currentColor; }
.b-points__text .xlink { margin-top: 8px; }

/* Team page bios, services index descriptions, bands after a tight head */
.b-person--bio { grid-template-rows: auto; }
.b-person--bio p:not(.caption) { font-size: var(--small); color: var(--body); margin-top: 6px; }
.b-team--after-head, .b-routes--after-head { margin-top: 36px; }
.b-routes--after-head { border-top: 0; }
.b-index__desc { font-size: var(--small); color: var(--body); margin-top: 4px; }
.b-btn-row--after { margin-top: 24px; }
.b-notes .b-notes__list { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; color: var(--body); max-width: 40em; }
.b-notes ol.b-notes__list { list-style: decimal; }
.b-notes .b-h3 { margin-top: 12px; }
.b-feelist__price--wrap { white-space: normal; text-align: right; max-width: 10em; font-family: var(--font-body, inherit); font-size: var(--small); color: var(--body); }

/* Information-page review fixes (4 Oct) */
a[href^="tel:"] { white-space: nowrap; }
.b-team--page .b-person { align-content: start; grid-template-rows: auto; }
@media (max-width: 639px) { .b-team--page .b-person img { aspect-ratio: 4 / 5; object-position: 50% 0; } }
@media (min-width: 1024px) { .b-team--five { grid-template-columns: repeat(5, 1fr); gap: 24px; } .b-team--five .b-person__name { font-size: 22px; } }
.b-notes .h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--charcoal); line-height: 1.2; margin-top: 8px; }
.b-notes a[rel~="external"]::after { content: " ↗"; font-size: 0.85em; }
.b-contents { display: grid; gap: 8px; margin-bottom: 8px; }
.b-contents a { color: var(--accent); font-size: var(--small); font-weight: 500; }

/* ---- Fixes after the 4 Oct baseline check ---- */
/* Hero with a wide two-person photograph: keep the photo's own shape so neither face is cut. */
@media (min-width: 1024px) { .b-hero__media--wide { align-self: end; min-height: 0; aspect-ratio: 5 / 4; } }
@media (min-width: 640px) and (max-width: 1023px) {
  .b-hero:has(.b-hero__media--wide) { grid-template-columns: 1fr; }
  .b-hero__media--wide { margin-left: calc(-1 * var(--gutter)); min-height: 0; aspect-ratio: 3 / 2; }
  .b-hero__media--wide img { border-radius: 0; }
  .b-hero:has(.b-hero__media--wide) { padding-bottom: 0; }
}
/* Phone: the pinned photo already carries the rule above step 1. */
@media (max-width: 639px) { .b-steps-wrap .b-video { margin-bottom: 24px !important; } }
/* Phone numbers never break across lines. */
a[href^="tel:"] { white-space: nowrap; }
/* Reviews band: space between the label and the videos; play button clear of the face. */
@media (min-width: 1024px) { .b-reviews .eyebrow + .b-videos { margin-top: 20px; } }
.b-video .video__frame { place-items: end start; padding: 16px; }
.b-video .video__play { width: 56px; height: 56px; }
/* ---- Laptop widths (1024 to 1439): the column grows into the gutters instead of holding 120px margins,
   and display type scales with the viewport. Identical to before at 1440 and above. ---- */
@media (min-width: 1024px) {
  :root { --gutter: clamp(28px, calc(50vw - var(--col) / 2), 120px); }
  .b-hero__media { margin-right: calc(-1 * max(var(--gutter), 50vw - var(--col) / 2)); }
  .b-header .nav__links a { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  :root { --b-h1: clamp(64px, 6.4vw, 92px); --b-h2: clamp(46px, 3.9vw, 56px); --b-big: clamp(72px, 6.1vw, 88px); --b-value: clamp(30px, 3.05vw, 44px); }
}
@media (min-width: 1024px) and (max-width: 1199px) { .b-evidence > * { padding-left: 18px; padding-right: 14px; } .b-evidence > *:first-child { padding-left: 0; } }
/* Index rows: names line up across a row whether the description runs to one line or two. */
.b-index a > div { align-self: start; }
.nowrap { white-space: nowrap; }
/* Step photo of Radhika and a seated patient: the two faces sit at opposite edges of the frame,
   so it keeps its own 5:4 shape instead of the 4:5 portrait crop (which cut Radhika's head). */
.b-photo--landscape img { aspect-ratio: 5 / 4; }
/* Tablet: every photo hero sits full width under the text, in the photo's own landscape shape,
   rather than as a tall sliver beside the heading that cut faces at the edges. */
@media (min-width: 640px) and (max-width: 1023px) {
  .b-hero:has(.b-hero__media) { grid-template-columns: 1fr; padding-bottom: 0; }
  .b-hero__media { margin-left: calc(-1 * var(--gutter)); min-height: 0; aspect-ratio: 3 / 2; }
  .b-hero__media img { border-radius: 0; }
}
/* Team page: one size for every name. */
@media (min-width: 1024px) { .b-team--five .b-person__name { font-size: var(--b-item); } }
@media (min-width: 1024px) and (max-width: 1279px) { .b-team--page .b-person__name, .b-team--five .b-person__name { font-size: 22px; } }
/* Galleries never repeat the hero's case. One remaining case sits beside its caption;
   three cases run three across, so no case is left alone on a row. */
@media (min-width: 640px) {
  /* One case: heading, intro and note on the left; the case and its caption on the right, as in the hero. */
  .b-results:has(.b-result:only-child) > .col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; column-gap: 64px; align-items: start; }
  .b-results:has(.b-result:only-child) .b-head { grid-column: 1; grid-row: 1; display: block; margin-bottom: 0; }
  .b-results:has(.b-result:only-child) .b-head > div:nth-child(2), .b-results:has(.b-result:only-child) .b-head > .lead { margin-top: 24px; }
  .b-results:has(.b-result:only-child) .b-results__grid { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: minmax(0, 1fr); }
  .b-results:has(.b-result:only-child) .b-results__note { grid-column: 1; grid-row: 2; align-self: end; margin-top: 32px; }
  .b-results__grid:has(> .b-result:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 404 and other short pages: the footer sits at the bottom of the window, never above a strip of ground. */
body { min-height: 100vh; display: flex; flex-direction: column; } body > .b-footer, body > footer { margin-top: auto; }
/* Hero H1 wraps inside its own column instead of running into the before/after frame. */
.b-hero--case .b-h1 { max-width: 100%; }
/* Team page: an About link from another page lands with the person clear of the top edge. */
.b-person[id] { scroll-margin-top: 24px; }
/* In-page links to a band heading land with breathing room. */
.b-h2[id] { scroll-margin-top: 32px; }
/* Evidence row: word values sit below the numbers in size, so "NHS and private" reads as a fact, not a figure. */
.b-evidence__value--text { font-size: 30px; line-height: 1.1; white-space: normal; }
@media (min-width: 640px) and (max-width: 1023px) { .b-evidence__value--text { font-size: 24px; } }
@media (max-width: 639px) { .b-evidence__value--text { font-size: 20px; } }

/* Self-hosted portrait patient video inside a results grid */
.b-result--video .video__frame { aspect-ratio: 4 / 5; background-color: var(--charcoal); place-items: start end; padding: 16px; }
.b-results__grid:has(.b-result--video) { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); }
@media (max-width: 639px) { .b-results__grid:has(.b-result--video) { grid-template-columns: 1fr; } }
/* A landscape video standing in for the sticky portrait photo beside the steps: full column width, 16:9 */
.b-nervous__text > .b-video--landscape { max-width: none; width: 100%; justify-self: stretch; }
.b-video--landscape .video__frame { width: 100%; }
.b-video--landscape .video__frame { aspect-ratio: 16 / 9; background-color: var(--charcoal); }
.video__frame--self { cursor: pointer; }
.video__frame--self video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video__frame--self .video__play { width: 56px; height: 56px; }
.video__frame--self .video__play { border: 1px solid rgba(255,255,255,0.5); background: rgba(43,54,60,0.55); padding: 0; cursor: pointer; }
.video__frame--self.is-playing::before, .video__frame--self.is-playing .video__play { display: none; }
/* An index of exactly three entries sits in three columns rather than leaving an orphan */
@media (min-width: 1024px) { .b-index:has(> a:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } }
