/* A single photographic stage keeps the message steady as the equipment changes. */
.hero.hero-carousel {
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  min-height: 550px;
  padding: 0;
  background: #edf3f5;
  overflow: hidden;
}
.hero-carousel .hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-carousel .hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}
.hero-carousel .hero-slide.is-active { opacity: 1; }
.hero-carousel .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
.hero-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #f4f8faf7 0%, #f4f8faf0 24%, #f4f8fad6 37%, #f4f8fa66 49%, #f4f8fa00 65%);
}
.hero-carousel .hero-copy {
  width: 55%;
  max-width: none;
  margin: 0;
  padding: 76px 50px 88px max(32px, calc((100vw - 1280px) / 2));
  text-align: left;
}
.hero-carousel h1 {
  max-width: 510px;
  font-size: clamp(43px, 4.15vw, 60px);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0 0 25px;
}
.hero-carousel p { max-width: 460px; margin: 0 0 30px; font-size: 15px; line-height: 1.85; color: #425d6c; }
.hero-carousel .hero-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  position: absolute;
  z-index: 2;
  left: max(32px, calc((100vw - 1280px) / 2));
  right: auto;
  bottom: 24px;
  padding: 3px 5px;
  border: 1px solid #ffffffb3;
  border-radius: 4px;
  background: #ffffffed;
  box-shadow: 0 2px 8px #123c5a0a;
}
.hero-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--navy);
  border-radius: 3px;
}
.hero-controls button:hover { background: #e7f0f6; }
.hero-controls button:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.hero-controls svg { width: 18px; height: 18px; }
.hero-controls svg[hidden] { display: none; }
.hero-controls [data-hero-rotation] { margin-right: 5px; border-right: 1px solid #d7e1e6; border-radius: 0; }
.hero-controls .hero-dots { display: flex; gap: 1px; }
.hero-controls [data-hero-dot] { width: 40px; }
.hero-controls [data-hero-dot]::before { content: ''; width: 7px; height: 7px; background: #91a4af; border-radius: 50%; }
.hero-controls [aria-current="true"]::before { width: 9px; height: 9px; background: var(--navy); }
@media (min-width: 1600px) {
  .hero.hero-carousel { min-height: max(590px, 36vw); }
  .hero-carousel .hero-copy { width: calc(50% + 30px); }
}
@media (max-width: 1150px) {
  .hero.hero-carousel { min-height: 510px; }
  .hero-carousel .hero-copy { padding-top: 62px; padding-bottom: 85px; padding-right: 25px; }
  .hero-carousel h1 { font-size: 46px; }
  .hero-carousel p { font-size: 14px; }
}
@media (max-width: 850px) and (min-width: 701px) {
  .hero.hero-carousel { min-height: 480px; }
  .hero-carousel .hero-copy { width: 56%; padding-left: 32px; padding-right: 20px; }
  .hero-carousel h1 { font-size: 39px; }
  .hero-carousel p { font-size: 13px; }
}
@media (max-width: 700px) {
  .hero.hero-carousel { display: flex; flex-direction: column; min-height: 0; background: #eef4f8; }
  .hero-carousel::before { display: none; }
  .hero-carousel .hero-copy { width: 100%; padding: 38px 24px 32px; }
  .hero-carousel h1 { max-width: 480px; font-size: clamp(35px, 8.6vw, 45px); margin-bottom: 19px; }
  .hero-carousel p { max-width: 460px; font-size: 13px; line-height: 1.8; margin-bottom: 23px; }
  .hero-carousel .hero-copy .btn { min-height: 46px; font-size: 12px; padding: 12px 21px; }
  .hero-carousel .hero-slides { position: relative; z-index: 0; width: 100%; height: clamp(270px, 63vw, 380px); }
  .hero-carousel .hero-photo { object-position: 78% center; }
  .hero-carousel .hero-controls { position: static; align-self: flex-start; margin: 12px 20px 16px; padding: 2px 4px; }
  .hero-controls button { width: 44px; height: 44px; }
  .hero-controls [data-hero-dot] { width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel .hero-slide { transition: none; }
}
