/* Full-width homepage hero. Native HTML remains meaningful without JavaScript. */
.hero.hero-carousel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  padding: 0;
  color: #fff;
  background: #203a43;
}
.hero-carousel-images,
.hero-carousel-slide,
.hero-carousel-shade {
  position: absolute;
  inset: 0;
}
.hero-carousel-images { z-index: -3; }
.hero-carousel-slide {
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}
.hero-carousel-slide.is-active { opacity: 1; }
.hero-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
}
.hero-carousel-shade {
  z-index: -2;
  background: linear-gradient(90deg, rgba(14, 36, 46, .96) 0%, rgba(14, 36, 46, .9) 32%, rgba(14, 36, 46, .67) 54%, rgba(14, 36, 46, .14) 100%), linear-gradient(0deg, rgba(14, 36, 46, .9) 0%, transparent 38%);
}
.hero-carousel-content {
  display: flex;
  align-items: center;
  min-height: 575px;
  padding-top: 72px;
  padding-bottom: 55px;
}
.hero-carousel .hero-copy {
  padding: 0;
  width: 57%;
  max-width: 660px;
}
.hero-carousel .eyebrow {
  color: #fff4c2;
  font-size: 10px;
}
.hero-carousel h1 {
  color: #fff;
  font-size: clamp(50px, 4.6vw, 76px);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 23px 0;
}
.hero-carousel h1 em { color: #f2c94c; }
.hero-carousel .hero-copy > p {
  color: #fff;
  max-width: 505px;
  font-size: 14px;
  line-height: 1.85;
}
.hero-carousel .hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-carousel .button-secondary {
  color: #fff;
  border-color: #e2edf0;
  background: rgba(14, 36, 46, .6);
}
.hero-carousel .button-secondary:hover,
.hero-carousel .button-secondary:focus-visible {
  color: #203a43;
  background: #fff4c2;
}
.hero-carousel .hero-footnote {
  color: #eff5f7;
  margin-top: 24px;
  font-size: 10px;
}
.hero-carousel .hero-footnote .icon { color: #f2c94c; }
.hero-carousel-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 23px;
  padding-bottom: 28px;
  border-top: 1px solid #ffffff40;
}
.hero-slide-description {
  min-width: 0;
  flex: 1;
}
.hero-slide-kicker {
  display: block;
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: .16em;
  color: #f2c94c;
}
.hero-slide-description h2 {
  color: #fff;
  font-size: 21px;
  line-height: 1.4;
  margin: 7px 0;
}
.hero-slide-description > a {
  font-size: 11px;
  color: #fff4c2;
  text-underline-offset: 4px;
}
.hero-slide-description > a:hover { text-decoration: underline; }
.hero-visual-source {
  display: block;
  color: #fff;
  font-size: 9px;
  line-height: 1.7;
  margin-top: 9px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #17323c;
  border: 1px solid #ffffff50;
  border-radius: 7px;
  padding: 7px;
}
.carousel-controls[hidden] { display: none; }
.carousel-controls button {
  min-width: 42px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  padding: 0 8px;
}
.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  background: #fff4c2;
  color: #203a43;
}
.carousel-arrow { font-size: 22px; }
.carousel-dots { display: flex; gap: 0; }
.carousel-dots button { min-width: 26px; padding: 0 7px; }
.carousel-dots button span {
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid #fff;
  border-radius: 50%;
}
.carousel-dots button[aria-pressed="true"] span {
  background: #f2c94c;
  border-color: #f2c94c;
}
.carousel-dots button:hover span,
.carousel-dots button:focus-visible span { border-color: #203a43; }
.carousel-pause { font-size: 10px; }
.carousel-count {
  font-size: 9px;
  letter-spacing: .08em;
  white-space: nowrap;
  padding: 0 10px;
}
@media (min-width: 1600px) {
  .hero-carousel-content { min-height: 650px; }
}
@media (max-width: 1050px) {
  .hero-carousel .hero-copy { width: 70%; }
  .hero-carousel-content { min-height: 555px; }
  .hero-slide-description h2 { font-size: 18px; }
}
@media (max-width: 800px) {
  .hero-carousel .hero-copy { width: 85%; }
  .hero-carousel-content { min-height: 550px; padding-top: 57px; }
  .hero-carousel-bottom { gap: 20px; align-items: start; flex-direction: column; }
  .hero-carousel-shade { background: linear-gradient(90deg, #0e242ef2 0%, #0e242ed9 55%, #0e242e80 100%), linear-gradient(0deg, #0e242e 0%, transparent 50%); }
}
@media (max-width: 640px) {
  .hero-carousel .hero-copy { width: 100%; max-width: 500px; }
  .hero-carousel-content { padding-top: 42px; padding-bottom: 32px; min-height: 0; }
  .hero-carousel h1 { font-size: 48px; line-height: 1.12; margin: 20px 0; }
  .hero-carousel .hero-copy > p { font-size: 13px; max-width: 100%; }
  .hero-carousel .hero-actions { gap: 10px; flex-direction: column; align-items: stretch; }
  .hero-carousel .hero-actions .button { font-size: 12px; min-height: 48px; justify-content: center; }
  .hero-carousel .hero-footnote { font-size: 9px; line-height: 1.8; gap: 7px; }
  .hero-carousel .eyebrow { font-size: 8px; letter-spacing: .08em; }
  .hero-carousel-slide img { object-position: 68% center; }
  .hero-carousel-bottom { padding-top: 20px; padding-bottom: 22px; gap: 18px; }
  .hero-slide-description h2 { font-size: 19px; }
  .hero-visual-source { font-size: 8px; }
  .carousel-controls { gap: 2px; padding: 4px; max-width: 100%; }
  .carousel-controls button { min-width: 37px; }
  .carousel-dots button { min-width: 23px; padding: 0 7px; }
  .carousel-count { padding: 0 5px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide { transition: none; }
}

/* Announcements are read by assistive technology, not rendered as visible copy. */
.hero-carousel .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* The doctor-supplied laser photo is portrait-format; bias the wide slide crop toward the visible device. */
.hero-carousel-slide:nth-child(3) img { object-position: center 68%; }
.hero-carousel-slide:nth-child(4) img { object-position: center center; }
@media (max-width: 640px) {
  .hero-carousel-slide:nth-child(3) img { object-position: left 56%; }
  .hero-carousel-slide:nth-child(4) img { object-fit: cover; object-position: 48% 75%; }
}
