/* Home hero, after the chosen reference: a rounded deep-teal card, the photo on its right two thirds, the text on the left over a scrim,
   the service pills under the line, and the clinic's Google rating in a glass card at the lower right. */
.brxe-section.st-hero {
  position: relative; isolation: isolate; display: block; width: auto;
  margin: var(--space-sm) var(--space-sm) 0; padding: 0;
  min-height: min(46rem, calc(100svh - var(--space-lg)));
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-deep); color: var(--color-on-deep);
  font-family: var(--font-body); font-weight: 400;
}
.brxe-section.st-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* Two scrims: one down from the top so the header's light text holds over the bright window in the photo, one from the left for the copy. */
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--color-deep) 78%, transparent) 0%, transparent 24%),
    var(--scrim-ease);
}
.brxe-image.st-hero__bg { position: absolute; inset: 0 0 0 auto; height: 100%; display: block; width: 64%; max-width: none; z-index: -2; margin: 0; -webkit-mask-image: var(--photo-ramp); mask-image: var(--photo-ramp); }
/* Bricks prints the class on the <img> itself when the image has no link or caption, and on a wrapper otherwise: cover both, or the photo stretches. */
img.brxe-image.st-hero__bg { object-fit: cover; object-position: 50% 30%; }
.brxe-image.st-hero__bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.brxe-container.st-hero__inner {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns);
  width: 100%; max-width: var(--container); min-height: inherit; margin-inline: auto;
  padding: calc(var(--space-3xl) + var(--space-lg)) calc(var(--gutter) + var(--space-sm)) var(--space-xl);
}
.brxe-block.st-hero__copy { display: flex; flex-direction: column; align-items: flex-start; align-self: center; gap: var(--space-lg); min-width: 0; }
.brxe-heading.st-hero__title {
  max-width: 18ch; margin: 0;
  font-family: var(--font-display); font-size: var(--text-display-s); font-weight: var(--display-weight); font-synthesis: none;
  letter-spacing: var(--tracking-display); line-height: 1.06; text-wrap: balance; overflow-wrap: break-word; min-width: 0;
  color: var(--color-on-deep);
}
.brxe-text-basic.st-hero__lede {
  max-width: 34ch; margin: 0;
  font-family: var(--font-body); font-size: var(--text-lead); font-weight: 400; line-height: 1.45;
  color: color-mix(in oklab, var(--color-on-deep) 88%, transparent);
}
.brxe-block.st-hero__actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: var(--space-sm); }
.brxe-block.st-hero__aside { display: flex; align-self: end; justify-self: end; min-width: 0; }

.st-hero .brxe-shortcode { min-width: 0; }
.st-pills { display: flex; flex-wrap: wrap; gap: var(--space-xs); max-width: 44rem; margin: 0; padding: 0; list-style: none; }
.st-pills__item { margin: 0; }
.st-pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md);
  border: var(--rule-hair) solid color-mix(in oklab, var(--color-on-deep) 40%, transparent); border-radius: var(--radius-pill);
  background: color-mix(in oklab, var(--color-on-deep) 10%, transparent); color: var(--color-on-deep);
  font-family: var(--font-body); font-size: var(--text-md); font-weight: 400; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .st-pill:hover { background: var(--color-on-deep); border-color: var(--color-on-deep); color: var(--color-deep); }
}
.st-pill:active { transform: scale(0.97); }
.st-pill:focus-visible { outline: 2px solid var(--color-on-deep); outline-offset: 3px; }

/* The Google rating card: the score set large like a figure, the stars and count beside it. */
.st-herorating {
  display: flex; align-items: center; gap: var(--space-md); max-width: 22rem;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-paper) 90%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--color-ink); text-decoration: none;
  transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .st-herorating:hover { background: var(--color-paper); }
  .st-herorating:hover .st-herorating__arrow { transform: translateX(3px); }
}
.st-herorating:active { transform: scale(0.98); }
.st-herorating:focus-visible { outline: 2px solid var(--color-on-deep); outline-offset: 3px; }
.st-herorating__score {
  flex: 0 0 auto; font-family: var(--font-display); font-size: var(--text-display-s); font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display); line-height: 1; font-variant-numeric: tabular-nums;
}
.st-herorating__text { display: flex; flex-direction: column; gap: var(--space-3xs); min-width: 0; }
.st-herorating .st-stars__star { width: 18px; height: 18px; }
.st-herorating__count { font-size: var(--text-md); font-weight: var(--weight-strong); line-height: 1.3; }
.st-herorating__more { display: inline-flex; align-items: center; gap: var(--space-3xs); font-size: var(--text-md); line-height: 1.3; color: var(--color-accent); }
.st-herorating__arrow { width: 16px; height: 16px; transition: transform var(--dur-micro) var(--ease-out); }
@media (prefers-reduced-motion: reduce) {
  .st-herorating, .st-herorating__arrow { transition: none; }
  .st-herorating:active { transform: none; }
}
/* The hero link lands on the reviews block; this leaves the section title above it in view. */
#vidguky { scroll-margin-top: 10rem; }

@media (max-width: 60rem) {
  .brxe-section.st-hero { margin: var(--space-xs) var(--space-xs) 0; border-radius: var(--radius-card); }
  .brxe-section.st-hero::before { background: linear-gradient(180deg, color-mix(in oklab, var(--color-deep) 94%, transparent) 0%, color-mix(in oklab, var(--color-deep) 80%, transparent) 100%); }
  .brxe-image.st-hero__bg { inset: 0; width: auto; -webkit-mask-image: none; mask-image: none; }
  .brxe-container.st-hero__inner { grid-template-columns: minmax(0, 1fr); padding: calc(var(--space-3xl) + var(--space-md)) var(--gutter) var(--space-lg); }
  .brxe-block.st-hero__aside { justify-self: start; }
}
@media (max-width: 40rem) {
  .st-pill { min-height: 40px; padding: 0 var(--space-sm); }
}
