/* Full-width photography, with every title and action on the image. */
.hero-slider {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #082b51;
  color: #fff;
}
.hero-slides { position: relative; min-height: 660px; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 650ms cubic-bezier(.16,1,.3,1), visibility 650ms;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; }
.slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 24%;
}
.slide-image-1 { object-position: 68% 20%; }
.slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(4,27,55,.94) 0%,rgba(4,27,55,.84) 32%,rgba(4,27,55,.58) 51%,rgba(4,27,55,.10) 78%,rgba(4,27,55,.07) 100%);
}
.slide-content {
  position: relative;
  min-height: 660px;
  padding-block: 64px 132px;
  display: flex;
  align-items: center;
}
.slide-copy { width: min(670px,58%); }
.hero-slider .slide-title {
  margin: 0;
  font-size: clamp(46px,5vw,74px);
  line-height: 1.12;
  letter-spacing: -.035em;
  color: #fff;
  text-wrap: balance;
}
.slide-title span { color: var(--yellow); }
.slide-description {
  max-width: 490px;
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.8;
  color: #f0f5fc;
}
.slide-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.slide-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: #a4b8cf;
  text-underline-offset: 5px;
}
.slide-secondary:hover { color: var(--yellow); text-decoration-color: var(--yellow); }
.slide-secondary .icon { width: 19px; height: 19px; }
.hero-slider :focus-visible { outline-color: var(--yellow); }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 3;
  padding-top: 20px;
  border-top: 1px solid #ffffff38;
}
.slider-caption { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #f0f5fc; }
.slider-caption>span { width: 24px; height: 2px; background: var(--yellow); flex-shrink: 0; }
.slider-navigation { display: flex; align-items: center; gap: 8px; background: #062b52e6; padding: 4px 8px; border-radius: 4px; }
.slider-dots { display: flex; gap: 2px; }
.slider-dot { display: grid; place-items: center; width: 40px; height: 44px; padding: 0; border: 0; background: transparent; }
.slider-dot>span { display: block; width: 7px; height: 7px; border-radius: 6px; background: #fff; transition: width 200ms,background 200ms; }
.slider-dot[aria-current=true]>span { width: 26px; background: var(--yellow); }
.slider-dot:hover>span { background: var(--yellow); }
.slider-divider { width: 1px; height: 22px; background: #ffffff40; margin-inline: 10px; }
.slider-control { display: grid; place-items: center; width: 44px; height: 44px; background: #072a4b55; color: #fff; border: 1px solid #ffffff65; border-radius: 50%; padding: 0; transition: background 200ms,border-color 200ms; }
.slider-control:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.slider-control .icon { width: 19px; height: 19px; }
#slide-previous .icon { transform: rotate(180deg); }
.rotation-control { margin-left: 4px; border-color: transparent; background: transparent; }
@media(min-width:1800px) {
  .hero-slides,.slide-content { min-height: 700px; }
  .slide-image { object-position: 68% 0%; }
  .slide-image-1 { object-position: 68% 4%; }
  .slide-shade { background: linear-gradient(90deg,rgba(4,27,55,.93) 0%,rgba(4,27,55,.86) 30%,rgba(4,27,55,.62) 48%,rgba(4,27,55,.08) 76%); }
}
@media(max-width:1099px) {
  .slide-copy { width: min(580px,65%); }
  .hero-slider .slide-title { font-size: 58px; }
  .slide-description { font-size: 15px; max-width: 440px; }
  .slide-actions { gap: 20px; }
  .slide-actions .button { font-size: 13px; padding-inline: 20px; gap: 16px; }
}
@media(max-width:899px) {
  .hero-slides,.slide-content { min-height: 660px; }
  .hero-slider .slide-title { font-size: 52px; }
  .slide-copy { width: 70%; }
  .slide-description { max-width: 400px; }
  .slide-shade { background: linear-gradient(90deg,rgba(4,27,55,.92),rgba(4,27,55,.80) 48%,rgba(4,27,55,.22)); }
  .slide-image { object-position: 64% 24%; }
  .slider-caption { max-width: 240px; font-size: 11px; }
}
@media(max-width:699px) {
  .hero-slides,.slide-content { min-height: 720px; }
  .slide-content { padding-block: 48px 160px; align-items: center; }
  .slide-copy { width: 100%; }
  .hero-slider .slide-title { font-size: clamp(40px,9vw,58px); line-height: 1.14; }
  .slide-description { font-size: 15px; line-height: 1.8; max-width: 410px; margin-top: 24px; }
  .slide-actions { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 24px; }
  .slide-actions .button { min-height: 54px; font-size: 13px; gap: 18px; padding-inline: 20px; }
  .slide-secondary { font-size: 13px; min-height: 44px; }
  .slide-image { object-position: 70% 28%; }
  .slide-image-1 { object-position: 67% 24%; }
  .slide-shade { background: linear-gradient(90deg,rgba(4,27,55,.90),rgba(4,27,55,.76) 58%,rgba(4,27,55,.54)); }
  .slider-controls { bottom: 20px; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; }
  .slider-caption { max-width: none; font-size: 11px; }
  .slider-navigation { width: 100%; justify-content: flex-end; gap: 8px; }
  .slider-dots { margin-right: auto; }
  .slider-dot { width: 36px; }
  .slider-divider { margin-inline: 4px; }
}
@media(max-width:359px) {
  .hero-slides,.slide-content { min-height: 740px; }
  .hero-slider .slide-title { font-size: 38px; }
  .slide-description { font-size: 14px; }
  .slider-caption { font-size: 11px; gap: 8px; }
  .slider-caption>span { width: 16px; }
  .slider-control { width: 42px; }
  .slider-navigation { gap: 4px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-slide,.slider-dot>span { transition: none; }
}
