:root {
  --bf-white: #fff;
  --bf-ink: #101828;
  --bf-heading: #10244b;
  --bf-navy: #071a3d;
  --bf-navy-deep: #000a5b;
  --bf-blue: #4a7cd2;
  --bf-blue-strong: #2f6fd6;
  --bf-blue-dark: #245db5;
  --bf-blue-pale: #edf4ff;
  --bf-sky: #82bdeb;
  --bf-gold: #eaa638;
  --bf-muted: #617086;
  --bf-line: #dce6f5;
  --bf-surface: #f4f8ff;
  --bf-footer: #071630;
  --bf-shadow: 0 24px 60px rgba(16, 36, 75, 0.14);
  --bf-shadow-soft: 0 14px 34px rgba(16, 36, 75, 0.1);
  --bf-radius: 20px;
  --bf-radius-small: 10px;
  --bf-shell: 1180px;
  --bf-font: "Manrope", Arial, Helvetica, sans-serif;
  --bf-text-scale: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(100% * var(--bf-text-scale));
}

body {
  margin: 0;
  color: var(--bf-ink);
  background: var(--bf-white);
  font-family: var(--bf-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.bf-menu-open,
body.bf-dialog-open {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--bf-blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--bf-navy-deep);
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #ffbf2e;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.48em;
  color: var(--bf-heading);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 3.2vw, 2.625rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 0.95em;
}

ul,
ol {
  margin: 0 0 1.25em;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bf-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 18px;
  color: var(--bf-white);
  background: var(--bf-navy-deep);
  border-radius: 8px;
  transform: translateY(-150%);
}

.bf-skip-link:focus {
  color: var(--bf-white);
  transform: none;
}

.bf-shell {
  width: min(calc(100% - 48px), var(--bf-shell));
  margin-inline: auto;
}

.bf-section {
  padding: clamp(62px, 7vw, 92px) 0;
}

.bf-section-label {
  margin: 0 0 13px;
  color: var(--bf-blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.bf-lead {
  color: #26344b;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.58;
}

.bf-section-heading {
  max-width: 700px;
}

.bf-section-heading > p:last-child {
  color: var(--bf-muted);
  font-size: 1.04rem;
}

.bf-section-heading--center {
  margin: 0 auto 40px;
  text-align: center;
}

.bf-section-heading--center h2 {
  color: var(--bf-blue-strong);
}

.bf-heading-line {
  display: block;
}

.bf-center {
  margin-top: 30px;
  text-align: center;
}

.bf-button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bf-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  color: var(--bf-white);
  background: var(--bf-blue-strong);
  border: 1px solid var(--bf-blue-strong);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(47, 111, 214, 0.2);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.bf-button:hover,
.bf-button:focus-visible {
  color: var(--bf-white);
  background: #3f78d8;
  border-color: #3f78d8;
  box-shadow: 0 11px 26px rgba(47, 111, 214, 0.24);
  transform: translateY(-1px);
}

.bf-button:hover *,
.bf-button:focus-visible * {
  color: inherit;
}

.bf-button--small {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 0.9rem;
}

.bf-button--large {
  min-height: 58px;
  padding: 16px 30px;
  font-size: 1.03rem;
}

.bf-button--white {
  color: var(--bf-blue-dark);
  background: var(--bf-white);
  border-color: var(--bf-white);
}

.bf-button--white:hover,
.bf-button--white:focus-visible {
  color: var(--bf-blue-dark);
  background: #f3f7ff;
  border-color: #f3f7ff;
}

.bf-button--outline-white {
  color: var(--bf-white);
  background: var(--bf-navy-deep);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: none;
}

.bf-button--outline-white:hover,
.bf-button--outline-white:focus-visible {
  color: var(--bf-white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
}

.bf-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--bf-blue-dark);
  font-size: 0.91rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.bf-text-link .bf-icon {
  width: 19px;
  transition: transform 180ms ease;
}

.bf-text-link:hover .bf-icon {
  transform: translateX(4px);
}

.bf-text-link--white,
.bf-text-link--white:hover {
  color: var(--bf-white);
}

.bf-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

/* Header and wordmark */
.bf-site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  color: var(--bf-white);
}

.bf-site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(2, 7, 18, 0.76) 0%, rgba(2, 7, 18, 0.42) 62%, transparent 100%);
}

.bf-site-header--interior {
  background: linear-gradient(180deg, #343941 0%, #6c7077 52%, #a9abb0 100%);
}

.bf-site-header__inner {
  display: flex;
  min-height: 94px;
  align-items: center;
  gap: 28px;
}

.bf-site-header__brand,
.bf-site-footer__brand {
  display: inline-flex;
  width: 236px;
  flex: 0 0 236px;
  color: inherit;
  text-decoration: none;
}

.bf-logo,
.bf-logo img,
.bf-logo__fallback {
  display: block;
  width: 100%;
}

.bf-logo img {
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.bf-logo__disc {
  fill: var(--bf-sky);
}

.bf-logo__sky {
  fill: #fff;
}

.bf-logo__wave {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.bf-logo__name {
  fill: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 47px;
  font-weight: 300;
  letter-spacing: -1.5px;
}

.bf-logo__dental {
  fill: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 8px;
}

.bf-logo--color .bf-logo__name,
.bf-logo--color .bf-logo__dental {
  fill: var(--bf-heading);
}

.bf-logo--color .bf-logo__wave {
  stroke: var(--bf-navy-deep);
}

.bf-primary-nav {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 21px;
}

.bf-primary-nav__list,
.bf-submenu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.bf-primary-nav__list {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 1.45vw, 24px);
}

.bf-primary-nav__item {
  position: relative;
}

.bf-primary-nav__row {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.bf-primary-nav__row > a {
  position: relative;
  padding: 34px 0;
  color: var(--bf-white);
  font-size: clamp(0.73rem, 0.86vw, 0.88rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.bf-primary-nav__row > a::after {
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  height: 2px;
  background: var(--bf-sky);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.bf-primary-nav__row > a:hover,
.bf-primary-nav__item.is-current .bf-primary-nav__row > a {
  color: var(--bf-white);
}

.bf-primary-nav__row > a:hover::after,
.bf-primary-nav__item.is-current .bf-primary-nav__row > a::after {
  transform: scaleX(1);
}

.bf-submenu-toggle {
  display: none;
  width: 26px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
}

.bf-submenu-toggle svg {
  width: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.bf-submenu {
  position: absolute;
  top: calc(100% - 11px);
  left: 50%;
  width: 264px;
  max-height: min(65vh, 510px);
  padding: 12px;
  overflow: auto;
  color: var(--bf-heading);
  background: var(--bf-white);
  border: 1px solid rgba(16, 36, 75, 0.08);
  border-radius: 12px;
  box-shadow: var(--bf-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.bf-submenu a {
  display: block;
  padding: 9px 12px;
  color: var(--bf-heading);
  border-radius: 7px;
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.bf-submenu a:hover {
  color: var(--bf-blue-dark);
  background: var(--bf-blue-pale);
}

/* Mobile submenus stay in normal flow; only desktop dropdowns are centered. */
@media (min-width: 1041px) {
  .bf-primary-nav__item:hover > .bf-submenu,
  .bf-primary-nav__item:focus-within > .bf-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

.bf-primary-nav__book {
  flex: 0 0 auto;
  text-transform: none;
}

.bf-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--bf-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
}

.bf-menu-toggle .bf-icon {
  width: 27px;
  height: 27px;
}

/* Hero */
.bf-hero {
  position: relative;
  min-height: clamp(720px, 71vw, 850px);
  overflow: hidden;
  color: var(--bf-white);
  background: var(--bf-navy);
}

.bf-hero__video,
.bf-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bf-hero__video {
  object-fit: cover;
  object-position: center 48%;
}

.bf-hero__shade {
  background:
    linear-gradient(90deg, rgba(2, 9, 24, 0.72) 0%, rgba(2, 9, 24, 0.42) 44%, rgba(2, 9, 24, 0.1) 76%),
    linear-gradient(180deg, rgba(2, 7, 18, 0.12) 50%, rgba(2, 9, 24, 0.34) 100%);
}

.bf-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: 112px;
  padding-bottom: 62px;
}

.bf-hero__practice {
  margin: 0 0 22px;
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  font-weight: 800;
}

.bf-hero h1 {
  max-width: 980px;
  margin-bottom: 28px;
  color: var(--bf-white);
  font-size: clamp(3.2rem, 5.7vw, 4.75rem);
  line-height: 1.06;
}

.bf-hero__proof,
.bf-hero__location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px 22px;
  width: min(660px, 100%);
  color: var(--bf-white);
  font-weight: 700;
}

.bf-hero__proof {
  padding-top: 25px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.bf-stars {
  color: #ffbd37;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.bf-hero__location {
  margin-top: 21px;
  text-decoration: none;
}

.bf-hero__location:hover {
  color: var(--bf-white);
}

.bf-hero__location-icons {
  display: inline-flex;
  gap: 10px;
  color: var(--bf-gold);
}

.bf-hero__location-icons .bf-icon {
  width: 20px;
  height: 20px;
}

/* Contact band */
.bf-contact-strip {
  color: var(--bf-white);
  background: var(--bf-navy-deep);
}

.bf-contact-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.bf-contact-strip__item {
  display: flex;
  min-height: 166px;
  align-items: center;
  gap: 24px;
  padding: 34px 40px;
  color: var(--bf-white);
  text-decoration: none;
}

.bf-contact-strip__item + .bf-contact-strip__item {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

a.bf-contact-strip__item:hover {
  color: var(--bf-white);
  background: rgba(255, 255, 255, 0.045);
}

.bf-contact-strip__icon {
  color: #6e9af0;
}

.bf-contact-strip__icon .bf-icon {
  width: 58px;
  height: 58px;
  stroke-width: 1.5;
}

.bf-contact-strip__item strong,
.bf-contact-strip__item small {
  display: block;
}

.bf-contact-strip__item strong {
  margin-bottom: 6px;
  font-size: 1.23rem;
  line-height: 1.25;
}

.bf-contact-strip__item small {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Homepage content */
.bf-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
}

.bf-split--media-right {
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.92fr);
}

.bf-intro h2,
.bf-why h2 {
  color: var(--bf-blue-strong);
}

.bf-check-list {
  display: grid;
  padding: 0;
  margin: 22px 0 27px;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
  list-style: none;
}

.bf-check-list li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 9px;
  color: var(--bf-heading);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
}

.bf-check-list .bf-icon {
  width: 19px;
  height: 19px;
  padding: 2px;
  color: var(--bf-white);
  background: var(--bf-blue);
  border-radius: 50%;
  stroke-width: 2.5;
  margin-top: 0.08em;
}

.bf-media-stack {
  position: relative;
  min-height: 560px;
}

.bf-media-card {
  position: absolute;
  overflow: hidden;
  background-color: var(--bf-blue-pale);
  background-position: center;
  background-size: cover;
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow);
}

.bf-media-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bf-media-card--tall {
  inset: 0 21% 0 0;
}

.bf-media-card--small {
  right: 0;
  bottom: 30px;
  width: 42%;
  height: 52%;
  border: 8px solid var(--bf-white);
}

.bf-media-card--small .bf-media-card__image {
  object-position: center;
}

.bf-services .bf-section-heading--center {
  max-width: 960px;
}

.bf-services .bf-section-heading--center > p:last-child {
  max-width: 760px;
  margin-inline: auto;
}

.bf-media-card--fallback {
  overflow: hidden;
  background:
    radial-gradient(circle at 64% 25%, rgba(255, 255, 255, 0.9) 0 5%, transparent 5.5%),
    linear-gradient(135deg, #a7cef2 0%, #eef6ff 46%, #4f80d7 47%, #143b78 100%);
}

.bf-media-card--fallback::after {
  position: absolute;
  right: -15%;
  bottom: -23%;
  width: 78%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  content: "";
}

.bf-services,
.bf-team,
.bf-reviews {
  background: var(--bf-surface);
}

.bf-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  gap: 22px;
}

.bf-service-card {
  position: relative;
  display: flex;
  min-height: 320px;
  height: 100%;
  flex-direction: column;
  padding: 29px 25px 24px;
  overflow: hidden;
  background: var(--bf-white);
  border: 1px solid rgba(16, 36, 75, 0.05);
  border-radius: 18px;
  box-shadow: 0 11px 34px rgba(16, 36, 75, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.bf-service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bf-blue), var(--bf-sky));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.bf-service-card:hover {
  box-shadow: var(--bf-shadow-soft);
  transform: translateY(-6px);
}

.bf-service-card:hover::before {
  transform: scaleX(1);
}

.bf-service-card__icon {
  display: inline-flex;
  width: 65px;
  height: 65px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--bf-blue-strong);
  background: var(--bf-blue-pale);
  border-radius: 15px;
}

.bf-service-card__icon .bf-icon {
  width: 34px;
  height: 34px;
}

.bf-service-card h3 {
  margin-bottom: 9px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.bf-service-card p {
  margin-bottom: 20px;
  color: var(--bf-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bf-service-card > a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  margin-left: auto;
  color: var(--bf-white);
  background: var(--bf-blue-strong);
  border: 1px solid var(--bf-blue-strong);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(47, 111, 214, 0.2);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.bf-service-card > a:hover {
  color: var(--bf-white);
  background: var(--bf-blue);
  border-color: var(--bf-blue);
  box-shadow: 0 9px 20px rgba(47, 111, 214, 0.25);
  transform: translateY(-2px);
}

.bf-service-card > a .bf-icon {
  width: 18px;
}

.bf-stats {
  padding: 48px 0;
  color: var(--bf-white);
  background: var(--bf-navy-deep);
}

.bf-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.bf-stats__grid > div {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 24px;
  text-align: left;
}

.bf-stats__grid > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.bf-stats strong {
  color: var(--bf-sky);
  font-size: 2.8rem;
  line-height: 1;
}

.bf-stats span {
  max-width: 130px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
}

.bf-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  margin-top: 28px;
}

.bf-feature-list > div {
  padding-top: 14px;
  border-top: 2px solid var(--bf-line);
}

.bf-feature-list h3 {
  margin-bottom: 8px;
  color: var(--bf-heading);
  font-size: 1.03rem;
}

.bf-feature-list p {
  margin: 0;
  color: var(--bf-muted);
  font-size: 0.91rem;
  line-height: 1.5;
}

.bf-why__media {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 2;
  overflow: visible;
  background-color: var(--bf-blue-pale);
  background-position: center;
  background-size: cover;
  border-radius: 24px;
  box-shadow: var(--bf-shadow);
}

.bf-why__media > .bf-media-card__image {
  border-radius: inherit;
}

.bf-why__badge {
  position: absolute;
  right: -25px;
  bottom: 40px;
  display: flex;
  max-width: 250px;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  color: var(--bf-white);
  background: var(--bf-blue-strong);
  border: 6px solid var(--bf-white);
  border-radius: 14px;
  box-shadow: var(--bf-shadow-soft);
  z-index: 1;
}

.bf-why__badge .bf-icon {
  width: 35px;
  height: 35px;
}

.bf-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.bf-team-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 18px 18px 26px;
  background: var(--bf-white);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(16, 36, 75, 0.08);
  text-align: center;
}

.bf-team-card img,
.bf-team-card__fallback {
  width: 100%;
  aspect-ratio: 3 / 4;
  margin-bottom: 24px;
  object-fit: cover;
  object-position: center top;
  border-radius: 13px;
}

/* Owner-approved close-up framing; the original portrait file stays intact. */
.bf-portrait-crop--weiner {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 13px;
}

.bf-team-card .bf-portrait-crop--weiner {
  margin-bottom: 24px;
}

.bf-team-card .bf-portrait-crop--weiner img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.6);
  transform-origin: 50% 22%;
}

.bf-team-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bf-white);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.25) 0 20%, transparent 20.5%),
    linear-gradient(145deg, #a7cdf0, #396dc3 58%, #112b59);
}

.bf-team-card__fallback span {
  display: flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  background: rgba(7, 26, 61, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 800;
}

.bf-team-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.bf-team-card p {
  min-height: 48px;
  margin-bottom: 18px;
  color: var(--bf-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.bf-team-card .bf-text-link {
  align-self: center;
  margin-top: auto;
  font-size: 0.78rem;
}

.bf-faq__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr;
  gap: clamp(42px, 6vw, 76px);
}

.bf-faq__items details {
  padding: 17px 0;
  border-bottom: 1px solid var(--bf-line);
}

.bf-faq__items details:first-child {
  border-top: 1px solid var(--bf-line);
}

.bf-faq__items summary {
  position: relative;
  padding-right: 40px;
  color: var(--bf-heading);
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.bf-faq__items summary::-webkit-details-marker {
  display: none;
}

.bf-faq__items summary::after {
  position: absolute;
  top: 0;
  right: 4px;
  color: var(--bf-blue);
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.bf-faq__items details[open] summary::after {
  content: "−";
}

.bf-faq__items details p {
  padding-right: 36px;
  margin: 15px 0 0;
  color: var(--bf-muted);
  line-height: 1.55;
}

.bf-reviews__inner {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: 58px;
}

.bf-reviews h2 {
  color: var(--bf-blue-strong);
}

.bf-review-summary {
  margin: 18px 0 0;
  color: var(--bf-heading);
}

.bf-reviews .bf-section-heading--center {
  margin-bottom: 0;
}

.bf-reviews__embed {
  margin-top: 24px;
}

.bf-reviews__inner > div:first-child > p:last-child {
  color: var(--bf-muted);
}

.bf-review-score {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 40px;
  background: var(--bf-white);
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow-soft);
  text-align: center;
}

.bf-review-score > strong {
  color: var(--bf-heading);
  font-size: 4.2rem;
  line-height: 1;
}

.bf-review-score .bf-stars {
  margin: 13px 0;
  font-size: 1.55rem;
}

.bf-review-score small {
  margin-bottom: 26px;
  color: var(--bf-muted);
}

/* Patient experience pathways */
.bf-pathways {
  background: var(--bf-white);
}

.bf-pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.bf-pathway-card {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 26px 23px 24px;
  margin: 0;
  overflow: hidden;
  color: var(--bf-ink);
  background: var(--bf-surface);
  border: 1px solid var(--bf-line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(16, 36, 75, 0.07);
}

.bf-pathway-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bf-blue-strong), var(--bf-sky));
  content: "";
}

.bf-pathway-card h3,
.bf-pathway-card blockquote {
  margin-top: 0;
}

.bf-pathway-card h3 {
  margin-bottom: 9px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.bf-pathway-card blockquote {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 0;
  margin-bottom: 0;
  border: 0;
}

.bf-pathway-card p {
  margin-bottom: 0;
  color: var(--bf-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.bf-pathway-card > small {
  display: block;
  margin-bottom: 10px;
  color: var(--bf-blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.bf-pathway-card footer,
.bf-pathway-card__label {
  order: -1;
  margin-bottom: 10px;
  color: var(--bf-blue-dark);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.bf-pathway-card footer strong,
.bf-pathway-card footer small {
  display: block;
}

/* Appointment CTA and footer */
.bf-appointment-cta {
  padding: 42px 0;
  color: var(--bf-white);
  background: linear-gradient(105deg, var(--bf-blue-dark), #5d8be0);
}

.bf-appointment-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.bf-appointment-cta .bf-section-label,
.bf-appointment-cta h2 {
  color: var(--bf-white);
}

.bf-appointment-cta h2 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.625rem);
}

.bf-appointment-cta .bf-button-row {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.bf-appointment-cta .bf-button {
  gap: 9px;
  white-space: nowrap;
}

.bf-appointment-cta .bf-button .bf-icon {
  width: 19px;
  height: 19px;
}

.bf-site-footer {
  padding: 88px 0 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--bf-footer);
}

.bf-site-footer__grid {
  display: grid;
  grid-template-columns: 1.65fr 0.8fr 0.9fr 1.15fr;
  gap: 48px;
  padding-bottom: 66px;
}

.bf-site-footer__brand {
  width: 220px;
  margin-bottom: 27px;
}

.bf-site-footer__about p {
  max-width: 380px;
  font-size: 0.92rem;
}

.bf-site-footer h2 {
  margin: 8px 0 23px;
  color: var(--bf-white);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bf-site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.bf-site-footer li + li {
  margin-top: 9px;
}

.bf-site-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-decoration: none;
}

.bf-site-footer a:hover {
  color: var(--bf-white);
}

.bf-socials {
  display: flex;
  gap: 10px;
}

.bf-socials a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--bf-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.bf-socials a:hover {
  background: var(--bf-blue);
  border-color: var(--bf-blue);
}

.bf-socials .bf-icon {
  width: 19px;
  height: 19px;
}

.bf-site-footer__contact > a:not(.bf-button) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.bf-site-footer__contact .bf-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--bf-sky);
}

.bf-site-footer__contact .bf-button {
  margin-top: 6px;
}

.bf-site-footer__legal {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.bf-site-footer__legal p {
  margin: 0;
  font-size: 0.8rem;
}

.bf-site-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.bf-site-footer__legal a {
  font-size: 0.76rem;
}

/* Interior pages and blog */
.bf-page-hero {
  padding: clamp(36px, 4vw, 48px) 0 clamp(24px, 3vw, 32px);
  overflow: hidden;
  background: linear-gradient(135deg, #eef4fd 0%, #f9fbff 62%, #e6effc 100%);
}

.bf-page-hero__inner {
  position: relative;
  text-align: center;
}

.bf-page-hero__inner::after {
  position: absolute;
  top: -190px;
  right: -180px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(74, 124, 210, 0.14), rgba(74, 124, 210, 0) 70%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.bf-page-hero h1 {
  max-width: 920px;
  margin: 0 auto 10px;
  color: var(--bf-blue-strong);
  font-size: clamp(2.15rem, 4vw, 2.625rem);
  line-height: 1.15;
}

.bf-page-hero p {
  max-width: 960px;
  margin: 0 auto;
  color: #000;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.5;
}

.bf-entry {
  padding: clamp(28px, 3vw, 38px) 0 clamp(48px, 5vw, 68px);
}

.bf-entry__shell {
  width: min(calc(100% - 48px), 1040px);
}

.bf-entry__shell--article {
  width: min(calc(100% - 48px), 900px);
}

.bf-entry__featured {
  margin: 0 0 clamp(36px, 5vw, 56px);
}

.bf-entry__featured img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow-soft);
}

.bf-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #000;
  font-size: 0.86rem;
  font-weight: 650;
}

.bf-article-meta a {
  text-decoration: none;
}

.bf-prose {
  color: #000;
  font-size: clamp(1.02rem, 1.6vw, 1.14rem);
  line-height: 1.5;
}

.bf-prose > *:first-child {
  margin-top: 0;
}

/* Match text edges without narrowing media, tables, grids, or profile columns. */
.bf-prose > :is(h2, h3, h4, p, ul, ol, dl, blockquote),
.bf-prose :where(.elementor-widget-text-editor, .elementor-widget-container, .elementor-text-editor) > :is(h2, h3, h4, p, ul, ol, dl, blockquote) {
  max-width: min(100%, 48rem);
  margin-inline: auto;
  text-align: left;
}

.bf-prose :where(.elementor-widget-text-editor, .elementor-widget-container, .elementor-text-editor) > :is(h2, h3, h4, p, ul, ol, dl, blockquote):first-child {
  margin-top: 0;
}

.bf-prose h2,
.bf-prose h3,
.bf-prose h4 {
  scroll-margin-top: 32px;
  color: var(--bf-blue-strong);
  text-align: left;
  text-wrap: pretty;
}

.bf-prose h2 {
  margin-top: 0.9em;
  font-size: clamp(1.7rem, 3vw, 2.125rem);
  line-height: 1.22;
}

.bf-prose h3 {
  margin-top: 0.95em;
  font-size: clamp(1.35rem, 2.2vw, 1.5rem);
  line-height: 1.25;
}

.bf-prose h4 {
  margin-top: 0.95em;
  font-size: 1.3rem;
  line-height: 1.25;
}

.bf-prose p,
.bf-prose ul,
.bf-prose ol {
  margin-bottom: 0.88em;
}

.bf-entry .bf-prose p,
.bf-entry .bf-prose li,
.bf-entry .bf-prose dt,
.bf-entry .bf-prose dd,
.bf-entry .bf-prose td,
.bf-entry .bf-prose th,
.bf-entry .bf-prose figcaption {
  color: #000 !important;
}

.bf-entry .bf-prose p span,
.bf-entry .bf-prose li span,
.bf-entry .bf-prose dt span,
.bf-entry .bf-prose dd span,
.bf-entry .bf-prose td span,
.bf-entry .bf-prose th span,
.bf-entry .bf-prose figcaption span {
  color: inherit !important;
}

.bf-prose ul,
.bf-prose ol {
  padding-left: 1.35em;
}

.bf-prose li {
  padding-left: 0.1em;
  line-height: 1.45;
}

.bf-prose li + li {
  margin-top: 0.2em;
}

.bf-prose li::marker {
  color: var(--bf-blue);
  font-size: 0.88em;
  font-weight: 800;
}

.bf-prose li > :first-child {
  margin-top: 0;
}

.bf-prose li > :last-child {
  margin-bottom: 0;
}

.bf-prose blockquote {
  padding: 22px 27px;
  margin: 1.4em auto;
  color: var(--bf-heading);
  background: var(--bf-surface);
  border-left: 5px solid var(--bf-blue);
  border-radius: 0 12px 12px 0;
  font-size: 1.12em;
}

.bf-prose blockquote > *:last-child {
  margin-bottom: 0;
}

.bf-prose img {
  border-radius: 14px;
}

.bf-prose figure {
  margin: 1.35em 0;
}

.bf-prose figcaption {
  padding-top: 8px;
  color: #000;
  font-size: 0.83rem;
  line-height: 1.4;
}

.bf-content-media {
  display: grid;
  width: 100%;
  gap: clamp(18px, 2.5vw, 30px);
  margin: clamp(24px, 3vw, 36px) 0;
}

.bf-content-media--pair,
.bf-content-media--gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.bf-content-media--feature {
  grid-template-columns: minmax(0, 1fr);
}

.bf-content-media--approved-photo .bf-content-media__item {
  text-align: center;
}

.bf-content-media--approved-photo .bf-content-media__image[width="720"][height="1080"] {
  width: min(100%, 506px);
  margin-inline: auto;
}

.bf-content-media--approved-photo .bf-content-media__image[width="720"][height="1080"] + figcaption {
  width: min(100%, 506px);
  margin-inline: auto;
}

.bf-prose .bf-content-media__item {
  min-width: 0;
  margin: 0;
}

.bf-prose .bf-content-media__image {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--bf-shadow-soft);
}

.bf-staff-directory {
  margin-top: clamp(34px, 5vw, 58px);
}

.bf-staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 34px) 22px;
}

.bf-staff-card {
  min-width: 0;
  text-align: center;
}

.bf-staff-card__photo {
  width: 100%;
  aspect-ratio: 5 / 6;
  margin: 0 0 17px;
  overflow: hidden;
  background: var(--bf-blue-pale);
  border-radius: 14px;
  box-shadow: var(--bf-shadow-soft);
}

.bf-prose .bf-staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
  box-shadow: none;
}

.bf-staff-card__photo--pending {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bf-white);
  background: linear-gradient(145deg, #8dbfea, #3f76c8 56%, #173768);
}

.bf-staff-card__photo--pending span {
  display: inline-flex;
  width: 74px;
  height: 74px;
  align-items: center;
  justify-content: center;
  background: rgba(7, 26, 61, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
}

.bf-staff-card h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
  line-height: 1.25;
  text-align: center;
}

.bf-staff-card p {
  margin: 0;
  color: var(--bf-ink);
  font-size: 0.9rem;
  line-height: 1.4;
}

.bf-doctor-profile {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 44px);
  margin-bottom: clamp(28px, 3vw, 36px);
}

.bf-doctor-profile__portrait,
.bf-doctor-profile__intro {
  min-width: 0;
}

.bf-doctor-page .bf-prose .bf-doctor-profile__portrait .bf-content-media--feature {
  display: block;
  width: 100%;
  margin: 0;
}

.bf-doctor-page .bf-prose .bf-doctor-profile__portrait .bf-content-media__image {
  width: 100%;
  height: auto;
  aspect-ratio: 334 / 449;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

.bf-doctor-page--weiner .bf-prose .bf-doctor-profile__portrait .bf-content-media__image {
  aspect-ratio: 2 / 3;
}

.bf-doctor-page--journo .bf-prose .bf-doctor-profile__portrait .bf-content-media__image {
  aspect-ratio: 3 / 4;
}

.bf-doctor-profile__portrait figcaption {
  margin: 0;
  text-align: center;
}

.bf-doctor-profile__intro > :first-child {
  margin-top: 0;
}

.bf-doctor-profile__intro > :last-child {
  margin-bottom: 0;
}

.bf-doctor-profile__intro .bf-doctor-quote {
  margin: 0 0 1em;
  padding: 18px 22px;
  font-size: 1em;
}

.bf-doctor-page .bf-doctor-quote {
  max-width: 840px;
  margin-inline: auto;
}

.bf-heading-stack span {
  display: block;
}

.bf-content-media--pair .bf-content-media__image {
  aspect-ratio: 4 / 3;
}

.bf-content-videos {
  display: grid;
  gap: 28px;
  margin: clamp(34px, 5vw, 54px) 0;
}

.bf-content-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bf-navy);
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow-soft);
}

.bf-content-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bf-content-action {
  margin: 2em 0;
}

.bf-prose table {
  display: block;
  width: 100%;
  margin: 2em 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.bf-prose th,
.bf-prose td {
  min-width: 150px;
  padding: 13px 15px;
  border: 1px solid var(--bf-line);
  text-align: left;
}

.bf-prose th {
  color: var(--bf-heading);
  background: var(--bf-surface);
}

.bf-prose iframe {
  max-width: 100%;
  border: 0;
}

.bf-video-embed,
.bf-prose .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 2.2em 0;
  overflow: hidden;
  background: var(--bf-navy);
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow-soft);
}

.bf-video-embed iframe,
.bf-prose .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bf-prose .wp-block-button__link {
  color: var(--bf-white);
  background: var(--bf-blue-strong);
  border-radius: 8px;
  font-weight: 800;
}

.bf-prose .alignwide {
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.bf-prose .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.post-navigation {
  margin-top: 70px;
  border-top: 1px solid var(--bf-line);
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 30px;
}

.post-navigation a {
  display: flex;
  flex-direction: column;
  color: var(--bf-heading);
  text-decoration: none;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation span {
  color: var(--bf-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-navigation strong {
  margin-top: 7px;
}

.bf-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.bf-post-card {
  overflow: hidden;
  background: var(--bf-white);
  border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius);
  box-shadow: 0 10px 28px rgba(16, 36, 75, 0.07);
}

.bf-post-card__image {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--bf-white);
  background: linear-gradient(140deg, var(--bf-sky), var(--bf-blue-dark));
}

.bf-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.bf-post-card:hover .bf-post-card__image img {
  transform: scale(1.035);
}

.bf-post-card__image .bf-icon {
  width: 66px;
  height: 66px;
}

.bf-post-card__body {
  padding: 27px;
}

.bf-post-card__meta {
  margin-bottom: 11px;
  color: var(--bf-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.bf-post-card h2 {
  font-size: 1.35rem;
}

.bf-post-card h2 a {
  color: var(--bf-heading);
  text-decoration: none;
}

.bf-post-card p:not(.bf-post-card__meta) {
  color: var(--bf-muted);
  font-size: 0.93rem;
}

.bf-pagination {
  margin-top: 48px;
}

.bf-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.bf-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  color: var(--bf-heading);
  background: var(--bf-white);
  border: 1px solid var(--bf-line);
  border-radius: 7px;
  text-decoration: none;
}

.bf-pagination .current,
.bf-pagination a:hover {
  color: var(--bf-white);
  background: var(--bf-blue-strong);
  border-color: var(--bf-blue-strong);
}

.bf-empty-state {
  grid-column: 1 / -1;
  padding: 50px;
  background: var(--bf-surface);
  border-radius: var(--bf-radius);
  text-align: center;
}

.bf-not-found {
  padding: clamp(130px, 16vw, 230px) 0;
  text-align: center;
}

.bf-not-found__inner {
  max-width: 760px;
}

.bf-not-found__code {
  margin: 0;
  color: var(--bf-blue-pale);
  font-size: clamp(7rem, 18vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.75;
}

.bf-not-found h1 {
  color: var(--bf-blue-strong);
}

.bf-not-found .bf-button-row {
  justify-content: center;
  margin-top: 32px;
}

/* Accessibility and concierge utilities */
.bf-accessibility,
.bf-concierge {
  position: fixed;
  z-index: 900;
}

.bf-accessibility {
  bottom: 24px;
  left: 24px;
}

.bf-accessibility__toggle {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--bf-blue-dark);
  background: var(--bf-white);
  border: 4px solid var(--bf-blue-dark);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(7, 26, 61, 0.25), 0 0 0 3px var(--bf-white);
}

.bf-accessibility__person {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
}

.bf-accessibility__panel {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: min(360px, calc(100vw - 34px));
  padding: 20px;
  color: var(--bf-ink);
  background: var(--bf-white);
  border: 1px solid var(--bf-line);
  border-radius: 16px;
  box-shadow: var(--bf-shadow);
}

.bf-utility-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.bf-utility-title > button,
.bf-concierge__header button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 0;
  border-radius: 7px;
}

.bf-utility-title .bf-icon,
.bf-concierge__header .bf-icon {
  width: 19px;
  height: 19px;
}

.bf-accessibility__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.bf-accessibility__grid button {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 10px;
  color: var(--bf-heading);
  background: var(--bf-surface);
  border: 1px solid var(--bf-line);
  border-radius: 9px;
  font-weight: 800;
}

.bf-accessibility__grid button[aria-pressed="true"] {
  color: var(--bf-white);
  background: var(--bf-blue-dark);
}

.bf-accessibility__grid .bf-icon {
  width: 20px;
  height: 20px;
}

.bf-accessibility__grid span {
  font-size: 0.74rem;
}

.bf-concierge {
  right: 24px;
  bottom: 26px;
}

.bf-concierge__launcher {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  color: var(--bf-heading);
  background: var(--bf-white);
  border: 1px solid rgba(16, 36, 75, 0.1);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(7, 26, 61, 0.2);
  font-size: 0.84rem;
  font-weight: 800;
}

.bf-concierge__launcher-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--bf-white);
  background: var(--bf-blue);
  border-radius: 50%;
}

.bf-concierge__launcher-icon .bf-icon {
  width: 19px;
}

.bf-concierge__dialog {
  position: absolute;
  right: 0;
  bottom: 65px;
  display: flex;
  width: min(410px, calc(100vw - 34px));
  max-height: min(680px, calc(100vh - 100px));
  flex-direction: column;
  overflow: hidden;
  color: var(--bf-ink);
  background: var(--bf-white);
  border: 1px solid var(--bf-line);
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(7, 26, 61, 0.28);
}

.bf-concierge__dialog[hidden] {
  display: none;
}

.bf-concierge__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  color: var(--bf-white);
  background: var(--bf-navy);
}

.bf-concierge__header strong,
.bf-concierge__header span {
  display: block;
}

.bf-concierge__header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.71rem;
}

.bf-concierge__header > div:last-child {
  display: flex;
  gap: 4px;
}

.bf-concierge__messages {
  display: flex;
  min-height: 100px;
  padding: 18px 18px 8px;
  overflow-y: auto;
  flex-direction: column;
  gap: 10px;
}

.bf-concierge__message {
  max-width: 88%;
  padding: 10px 13px;
  margin: 0;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.bf-concierge__message--assistant {
  align-self: flex-start;
  background: var(--bf-surface);
  border-bottom-left-radius: 3px;
}

.bf-concierge__message--user {
  align-self: flex-end;
  color: var(--bf-white);
  background: var(--bf-blue-strong);
  border-bottom-right-radius: 3px;
}

.bf-concierge__starters {
  display: flex;
  padding: 8px 18px 12px;
  overflow-x: auto;
  gap: 7px;
}

.bf-concierge__starters button {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: var(--bf-blue-dark);
  background: var(--bf-white);
  border: 1px solid var(--bf-line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 750;
}

.bf-concierge__form {
  display: grid;
  padding: 12px 18px;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  border-top: 1px solid var(--bf-line);
}

.bf-concierge__form textarea {
  min-height: 44px;
  max-height: 90px;
  padding: 10px 12px;
  resize: vertical;
  background: var(--bf-surface);
  border: 1px solid var(--bf-line);
  border-radius: 9px;
  font-size: 0.78rem;
  line-height: 1.35;
}

.bf-concierge__form button {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--bf-white);
  background: var(--bf-blue);
  border: 0;
  border-radius: 9px;
}

.bf-concierge__form .bf-icon {
  width: 19px;
}

.bf-concierge__privacy {
  padding: 0 18px 16px;
  margin: 0;
  color: var(--bf-muted);
  font-size: 0.66rem;
  line-height: 1.45;
}

.bf-mobile-call {
  display: none;
}

/* Runtime accessibility states; none are persisted or transmitted. */
html.bf-a11y-contrast {
  filter: contrast(1.25);
}

html.bf-a11y-contrast body {
  color: #000;
}

html.bf-a11y-underline a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
}

html.bf-a11y-motion *,
html.bf-a11y-motion *::before,
html.bf-a11y-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

/* Responsive navigation */
@media (max-width: 1180px) {
  .bf-site-header__brand {
    width: 205px;
    flex-basis: 205px;
  }

  .bf-primary-nav {
    gap: 14px;
  }

  .bf-primary-nav__list {
    gap: 12px;
  }

  .bf-primary-nav__row > a {
    font-size: 0.72rem;
  }

  .bf-contact-strip__item {
    padding-inline: 26px;
  }
}

@media (max-width: 1040px) {
  .bf-site-header,
  .bf-site-header--overlay {
    position: relative;
    background: var(--bf-navy);
  }

  .bf-site-header__inner {
    min-height: 86px;
    justify-content: space-between;
  }

  .bf-site-header__brand {
    width: 205px;
    flex-basis: 205px;
  }

  .bf-menu-toggle {
    display: inline-flex;
  }

  .bf-primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 86px);
    max-height: calc(100dvh - 86px);
    align-items: stretch;
    justify-content: flex-start;
    padding: 17px 24px 30px;
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    flex-direction: column;
    color: var(--bf-white);
    background: var(--bf-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .bf-primary-nav.is-open {
    display: flex;
  }

  .bf-primary-nav__list {
    display: block;
    flex: 0 0 auto;
  }

  .bf-primary-nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .bf-primary-nav__row {
    justify-content: space-between;
  }

  .bf-primary-nav__row > a {
    flex: 1;
    padding: 16px 3px;
    font-size: 0.9rem;
  }

  .bf-primary-nav__row > a::after {
    display: none;
  }

  .bf-submenu-toggle {
    display: inline-flex;
    color: var(--bf-white);
  }

  .bf-submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .bf-submenu {
    position: static;
    display: none;
    width: auto;
    max-height: none;
    padding: 0 0 12px 17px;
    overflow: visible;
    color: var(--bf-white);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .bf-submenu.is-open {
    display: block;
  }

  .bf-submenu a {
    padding: 8px 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
  }

  .bf-submenu a:hover {
    color: var(--bf-white);
    background: rgba(255, 255, 255, 0.08);
  }

  .bf-primary-nav__book {
    width: min(100%, 280px);
    margin: 10px auto 0;
  }

  .bf-hero__content {
    padding-top: 50px;
  }

  .bf-split,
  .bf-split--media-right {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .bf-service-grid,
  .bf-team-grid,
  .bf-pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bf-staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bf-site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .bf-site-footer__contact {
    grid-column: 2 / 4;
  }

  .bf-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .bf-shell,
  .bf-entry__shell,
  .bf-entry__shell--article {
    width: min(calc(100% - 36px), var(--bf-shell));
  }

  .bf-section {
    padding: 58px 0;
  }

  .bf-hero {
    min-height: 720px;
  }

  .bf-hero__video {
    object-position: 57% center;
  }

  .bf-hero__shade {
    background: linear-gradient(90deg, rgba(2, 9, 24, 0.81) 0%, rgba(2, 9, 24, 0.5) 70%, rgba(2, 9, 24, 0.28) 100%);
  }

  .bf-hero__content {
    justify-content: flex-end;
    padding-top: 60px;
    padding-bottom: 55px;
  }

  .bf-hero h1 {
    max-width: 720px;
    font-size: clamp(2.7rem, 7.3vw, 3.5rem);
  }

  .bf-hero .bf-heading-line {
    display: inline;
  }

  .bf-contact-strip__grid {
    grid-template-columns: 1fr;
  }

  .bf-contact-strip__item {
    min-height: 120px;
  }

  .bf-contact-strip__item + .bf-contact-strip__item {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .bf-split,
  .bf-split--media-right,
  .bf-faq__grid,
  .bf-reviews__inner {
    grid-template-columns: 1fr;
  }

  .bf-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .bf-doctor-profile {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bf-doctor-profile__portrait {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .bf-media-stack {
    min-height: 510px;
  }

  .bf-stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bf-stats__grid > div:nth-child(3) {
    border-left: 0;
  }

  .bf-stats__grid > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .bf-why__media {
    min-height: 0;
  }

  .bf-why__badge {
    right: 20px;
  }

  .bf-faq__grid,
  .bf-reviews__inner {
    gap: 36px;
  }

  .bf-appointment-cta__inner,
  .bf-site-footer__legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .bf-site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bf-site-footer__about,
  .bf-site-footer__contact {
    grid-column: 1 / -1;
  }

  .bf-site-footer__legal {
    padding: 24px 0 92px;
  }

  .bf-site-footer__legal nav {
    justify-content: flex-start;
  }

  .bf-page-hero__inner {
    padding-left: 0;
  }

  .bf-prose .alignwide,
  .bf-prose .alignfull {
    width: calc(100vw - 36px);
  }

  .bf-mobile-call {
    position: fixed;
    z-index: 850;
    right: 15px;
    bottom: 13px;
    left: 15px;
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: var(--bf-white);
    background: var(--bf-blue-strong);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(7, 26, 61, 0.28);
    font-size: 0.94rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
  }

  .bf-mobile-call:hover {
    color: var(--bf-white);
  }

  .bf-mobile-call .bf-icon {
    width: 21px;
  }

  .bf-accessibility {
    bottom: 83px;
    left: 17px;
  }

  .bf-accessibility__toggle {
    width: 56px;
    height: 56px;
  }

  .bf-accessibility__panel {
    bottom: 70px;
  }

  .bf-concierge {
    right: 17px;
    bottom: 88px;
  }

  .bf-concierge__launcher {
    max-width: calc(100vw - 104px);
  }

  .bf-concierge__dialog {
    bottom: 64px;
  }
}

@media (min-width: 561px) and (max-width: 800px) {
  .bf-hero .bf-heading-line {
    display: block;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .bf-site-header__inner {
    min-height: 82px;
  }

  .bf-site-header__brand {
    width: 170px;
    flex-basis: 170px;
  }

  .bf-primary-nav {
    max-height: calc(100vh - 82px);
    max-height: calc(100dvh - 82px);
  }

  .bf-hero {
    min-height: 690px;
  }

  .bf-hero__video {
    object-position: 59% center;
  }

  .bf-hero__practice {
    margin-bottom: 12px;
  }

  .bf-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .bf-hero__proof {
    gap: 7px 10px;
    padding-top: 18px;
    margin-top: 22px;
    font-size: 0.82rem;
  }

  .bf-hero__proof strong {
    flex-basis: auto;
  }

  .bf-hero__proof .bf-stars {
    font-size: 1.05rem;
  }

  .bf-hero__proof > span:last-child {
    flex-basis: 100%;
  }

  .bf-hero__location {
    align-items: flex-start;
    gap: 6px 10px;
    font-size: 0.82rem;
  }

  .bf-hero__location strong {
    flex-basis: 100%;
  }

  .bf-contact-strip__item {
    min-height: 108px;
    gap: 18px;
    padding: 24px 20px;
  }

  .bf-contact-strip__icon .bf-icon {
    width: 43px;
    height: 43px;
  }

  .bf-check-list,
  .bf-feature-list,
  .bf-service-grid,
  .bf-team-grid,
  .bf-pathway-grid,
  .bf-post-grid {
    grid-template-columns: 1fr;
  }

  .bf-media-stack {
    min-height: 430px;
  }

  .bf-media-card--tall {
    right: 14%;
  }

  .bf-media-card--small {
    width: 42%;
    height: 48%;
    border-width: 5px;
  }

  .bf-service-card {
    min-height: 280px;
  }

  .bf-stats__grid {
    grid-template-columns: 1fr;
  }

  .bf-stats__grid > div,
  .bf-stats__grid > div:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .bf-stats__grid > div:first-child {
    border-top: 0;
  }

  .bf-why__media {
    min-height: 0;
  }

  .bf-why__badge {
    right: 14px;
    bottom: 18px;
    left: 14px;
    max-width: none;
  }

  .bf-team-card p {
    min-height: 0;
  }

  .bf-review-score {
    padding: 34px 20px;
  }

  .bf-appointment-cta__inner {
    gap: 24px;
  }

  .bf-appointment-cta .bf-button-row {
    width: 100%;
  }

  .bf-appointment-cta .bf-button {
    width: 100%;
  }

  .bf-site-footer {
    padding-top: 70px;
    text-align: center;
  }

  .bf-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .bf-site-footer__about,
  .bf-site-footer__contact {
    grid-column: auto;
  }

  .bf-site-footer__brand {
    margin-inline: auto;
  }

  .bf-site-footer__about p {
    margin-inline: auto;
  }

  .bf-socials,
  .bf-site-footer__contact > a:not(.bf-button) {
    justify-content: center;
  }

  .bf-site-footer__legal {
    align-items: center;
  }

  .bf-site-footer__legal nav {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .bf-page-hero {
    padding: 36px 0 28px;
  }

  .bf-page-hero h1 {
    font-size: clamp(2.15rem, 10vw, 2.625rem);
  }

  .bf-entry {
    padding: 32px 0 52px;
  }

  .bf-prose {
    font-size: 1rem;
  }

  .bf-prose h2 {
    font-size: 2rem;
  }

  .bf-content-media--pair,
  .bf-content-media--gallery {
    grid-template-columns: 1fr;
  }

  .bf-content-media--pair .bf-content-media__image {
    aspect-ratio: auto;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-next {
    text-align: left;
  }

  .bf-concierge__launcher > span:last-child {
    max-width: 178px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bf-concierge__dialog {
    position: fixed;
    top: 12px;
    right: 12px;
    bottom: 82px;
    left: 12px;
    width: auto;
    max-height: none;
  }

  .bf-concierge__messages {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

}

@media print {
  .bf-site-header,
  .bf-site-footer,
  .bf-appointment-cta,
  .bf-accessibility,
  .bf-concierge,
  .bf-mobile-call {
    display: none !important;
  }

  .bf-page-hero {
    padding: 30px 0;
    background: #fff;
  }

  .bf-entry {
    padding: 30px 0;
  }

  a {
    color: #000;
  }
}
