/* Clear clinic message and visit action beside gently moving photographs. */
.home-hero.hero-slideshow {
  --hero-gutter: max(60px, calc((100vw - 1280px) / 2));
  height: clamp(540px, 46vw, 650px);
  min-height: 0;
  display: flex;
  align-items: center;
  background: #f7f8f1;
  border-radius: 0;
  overflow: hidden;
}
.hero-slideshow .hero-copy {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  transform: none;
  width: min(540px, calc(47% - var(--hero-gutter) - 38px));
  margin-left: var(--hero-gutter);
  padding: 38px 0 44px;
  color: #465b3c;
  z-index: 2;
}
.hero-slideshow .hero-copy .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: none;
  margin: 0 0 28px;
  font: 500 13px/1.6 var(--sans);
  letter-spacing: .14em;
  color: #657a55;
}
.hero-slideshow .hero-eyebrow:before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #839b6c; flex: none; }
.hero-slideshow .hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 3.7vw, 52px);
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: .025em;
  text-shadow: none;
}
.hero-slideshow .hero-copy h1 span,
.hero-slideshow .hero-copy h1 .phrase { display: block; max-width: none; white-space: normal; }
.hero-slideshow .hero-copy h1 .hero-opening { margin-bottom: 12px; font-size: .64em; line-height: 1.6; color: #65745a; }
.hero-slideshow .hero-message > .phrase:first-child { width: fit-content; background: linear-gradient(transparent 79%, #e4ebd7 79%, #e4ebd7 94%, transparent 94%); }
.hero-slideshow .hero-copy wbr { display: none; }
.hero-slideshow .hero-copy .hero-support {
  margin: 0;
  max-width: none;
  font: 15px/2 var(--sans);
  letter-spacing: .035em;
  color: #4d5e45;
}
.hero-slideshow .hero-support .phrase { display: block; white-space: normal; }
.hero-slideshow .hero-visit-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; width: 270px; max-width: 100%; min-height: 60px; padding: 12px 20px 12px 25px; margin-top: 28px; border: 1px solid #536d47; border-radius: 6px; background: #536d47; font: 500 15px/1.6 var(--sans); letter-spacing: .04em; color: #fff; transition: background-color .2s, border-color .2s; }
.hero-slideshow .hero-visit-link .circle-arrow { width: 30px; height: 30px; background: transparent; border-color: #a7b79b; }
.hero-slideshow .hero-visit-link .icon { filter: brightness(0) invert(1); }
.hero-visual { position: absolute; top: 0; right: max(0px, calc(53vw - 780px)); bottom: 25px; left: 47%; }
.hero-stage { position: absolute; inset: 0 0 58px; overflow: hidden; isolation: isolate; border-radius: 0 0 0 80px; background: #e8ebdf; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide.is-leaving { opacity: 1; z-index: 1; }
.hero-slide-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; transform: scale(1); transform-origin: 62% 48%; }
.hero-slide-2 .hero-slide-photo { object-position: 60% 55%; transform-origin: 60% 55%; }
.hero-slide-3 .hero-slide-photo { --hero-zoom-end: 1.025; object-position: 50% 45%; transform-origin: 50% 45%; }
.hero-slideshow[data-hero-ready=true] .hero-slide.is-active .hero-slide-photo,
.hero-slideshow[data-hero-ready=true] .hero-slide.is-leaving .hero-slide-photo { animation: hero-drift 8.2s linear both; }
.hero-slideshow[data-paused=true] .hero-slide-photo { animation-play-state: paused!important; }
/* Keep the clinic photographs close to their native scale during the slow zoom. */
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(var(--hero-zoom-end, 1.035)); } }
.hero-photo-rail { position: absolute; bottom: 0; left: 28px; right: 120px; min-height: 44px; display: flex; justify-content: flex-end; align-items: center; color: #5d6d50; }
.hero-controls { display: flex; align-items: center; gap: 18px; visibility: hidden; }
.hero-slideshow[data-hero-ready=true] .hero-controls { visibility: visible; }
.hero-count { display: flex; align-items: baseline; gap: 9px; min-width: 60px; font: 24px/1.2 var(--serif); font-variant-numeric: tabular-nums; }
.hero-count-total { font: 11px/1.2 var(--sans); color: #6e7b62; }
.hero-slide-selectors { display: flex; gap: 3px; }
.hero-slide-selector { display: flex; align-items: center; justify-content: center; padding: 0 3px; width: 34px; height: 44px; background: transparent; }
.hero-slide-selector span { display: block; width: 100%; height: 2px; background: #cbd2c0; transition: background-color .2s; }
.hero-slide-selector[aria-pressed=true] span { background: #536d47; }
.hero-play-toggle { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid #ccd3c3; border-radius: 50%; background: transparent; color: #536d47; }
.hero-play-icon { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.hero-slideshow[data-paused=true] .hero-play-icon { width: 0; height: 0; margin-left: 3px; border: 6px solid transparent; border-left: 9px solid currentColor; border-right: 0; }
.hero-slideshow [data-hero-select][aria-disabled=true] { opacity: .35; cursor: default; }
@media(hover:hover) {
  .hero-slideshow .hero-visit-link:hover { background: #3d5333; border-color: #3d5333; color: #fff; }
  .hero-play-toggle:hover { background: #e9eddf; }
  .hero-slide-selector:hover span { background: #7c9168; }
}
@media(min-width:768px) and (max-width:1100px) {
  .home-hero.hero-slideshow { --hero-gutter: 36px; height: 520px; }
  .hero-slideshow .hero-copy { width: calc(48% - 64px); padding-block: 28px; }
  .hero-slideshow .hero-copy h1 { font-size: clamp(29px, 3.65vw, 39px); }
  .hero-slideshow .hero-copy .hero-eyebrow { font-size: 11px; gap: 8px; letter-spacing: .1em; }
  .hero-slideshow .hero-copy .hero-support { font-size: 13px; }
  .hero-slideshow .hero-visit-link { min-height: 56px; padding-inline: 18px; font-size: 14px; }
  .hero-visual { left: 48%; top: 0; bottom: 22px; }
  .hero-stage { border-bottom-left-radius: 60px; }
  .hero-photo-rail { left: 16px; right: 28px; }
  .hero-controls { width: 100%; justify-content: space-between; gap: 12px; }
}
@media(max-width:767px) {
  .home-hero.hero-slideshow { display: block; height: auto; padding-bottom: 14px; }
  .hero-slideshow .hero-copy { width: auto; margin: 0; padding: 30px 24px 22px; }
  .hero-slideshow .hero-copy .hero-eyebrow { margin-bottom: 20px; font-size: 11px; gap: 9px; letter-spacing: .12em; }
  .hero-slideshow .hero-copy h1 { font-size: clamp(28px, 7.5vw, 39px); line-height: 1.55; letter-spacing: .02em; margin-bottom: 18px; }
  .hero-slideshow .hero-copy h1 .hero-opening { margin-bottom: 10px; font-size: .67em; }
  .hero-slideshow .hero-copy .hero-support { font-size: 13px; line-height: 1.85; }
  .hero-slideshow .hero-visit-link { margin-top: 20px; min-height: 54px; width: 258px; padding: 10px 18px 10px 22px; gap: 18px; font-size: 14px; }
  .hero-slideshow .hero-visit-link .circle-arrow { width: 28px; height: 28px; }
  .hero-visual { position: relative; inset: auto; height: clamp(280px, 70vw, 410px); margin-left: 20px; }
  .hero-stage { bottom: 54px; border-bottom-left-radius: 48px; }
  .hero-photo-rail { left: 4px; right: 20px; }
  .hero-controls { gap: 10px; width: 100%; justify-content: space-between; }
  .hero-count { font-size: 21px; gap: 7px; min-width: 52px; }
  .hero-slide-selector { width: 28px; }
  .hero-slide-selectors { gap: 1px; }
  .hero-play-toggle { width: 40px; height: 40px; }
}
@media(max-width:374px) {
  .hero-slideshow .hero-copy { padding-inline: 20px; padding-top: 24px; }
  .hero-slideshow .hero-copy h1 { font-size: 27px; }
  .hero-controls { width: 100%; justify-content: space-between; }
  .hero-visual { height: 260px; margin-left: 16px; }
  .hero-photo-rail { right: 16px; }
}
@media print {
  .home-hero.hero-slideshow { display: block; height: auto; background: white; }
  .hero-slideshow .hero-copy { width: auto; margin: 0; padding: 0; }
  .hero-slideshow .hero-visual, .hero-slideshow .hero-visit-link { display: none; }
}
