.intro-header.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #46545a;
  touch-action: pan-y;
}

.home-hero-slides,
.home-hero-slide,
.home-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero-slides { z-index: -2; overflow: hidden; }
.home-hero-slide {
  background: center center / cover no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: transform, opacity;
}
.home-hero-slide.is-active { opacity: 1; }
.home-hero-slide.is-moving { animation: home-hero-drift 10s linear both; }
.home-hero-slide:nth-child(2).is-moving { animation-name: home-hero-drift-reverse; }
.home-hero.is-paused .home-hero-slide { animation-play-state: paused; }

@keyframes home-hero-drift {
  from { transform: scale(1.025) translateX(-.5%); }
  to { transform: scale(1.075) translateX(.5%); }
}
@keyframes home-hero-drift-reverse {
  from { transform: scale(1.025) translateX(.5%); }
  to { transform: scale(1.075) translateX(-.5%); }
}

.home-hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 20, 26, .28), rgba(10, 20, 26, .32) 45%, rgba(10, 20, 26, .52));
}
.home-hero .site-heading { text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.home-hero .site-heading .subheading { text-shadow: 0 1px 5px rgba(0, 0, 0, .8); }

.home-hero-details {
  position: absolute;
  right: 36px;
  bottom: 24px;
  box-sizing: border-box;
  width: 410px;
  max-width: calc(100% - 72px);
  border-left: 2px solid rgba(255, 255, 255, .65);
  background: rgba(11, 23, 29, .54);
}
.home-hero-credit {
  display: block;
  padding: 12px 16px 10px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  transition: background-color .18s ease;
}
.home-hero-details[hidden],
.home-hero-credit[hidden],
.home-hero-controls[hidden],
.home-hero-credit-subtitle[hidden] { display: none; }
.home-hero-credit.is-changing { animation: home-hero-caption .6s ease both; }
@keyframes home-hero-caption {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.home-hero-credit:hover,
.home-hero-credit:focus {
  color: #fff;
  text-decoration: none;
  background: rgba(11, 23, 29, .76);
}
.home-hero-credit-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .08em;
}
.home-hero-credit-title,
.home-hero-credit-subtitle { display: block; overflow-wrap: anywhere; }
.home-hero-credit-title { font-size: 16px; line-height: 1.5; font-weight: 600; }
.home-hero-credit-subtitle {
  margin-top: 4px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
}

.home-hero-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 12px;
  padding: 3px 0 6px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
}
.home-hero-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s ease;
}
.home-hero-controls button:hover,
.home-hero-controls button:active { background: rgba(255, 255, 255, .15); }
.home-hero-controls .home-hero-toggle {
  margin-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, .25);
}
.home-hero-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-hero-credit-label .home-hero-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.home-hero-toggle .home-hero-play-icon,
.home-hero-toggle[aria-pressed="true"] .home-hero-pause-icon { display: none; }
.home-hero-toggle[aria-pressed="true"] .home-hero-play-icon { display: block; }
.home-hero-counter {
  min-width: 50px;
  text-align: center;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.home-hero-credit:focus-visible,
.home-hero-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

@media (min-width: 768px) {
  .home-hero .site-heading { padding-bottom: 180px; }
}

@media (max-width: 767px) {
  .home-hero .site-heading { padding: 90px 0 205px; }
  .home-hero-details {
    right: 20px;
    bottom: 20px;
    max-width: calc(100% - 40px);
  }
  .home-hero-credit { padding: 10px 13px; }
  .home-hero-credit-title { font-size: 14px; }
  .home-hero-credit-subtitle { font-size: 11px; }
  .home-hero-controls button { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide,
  .home-hero-credit,
  .home-hero-controls button { transition: none; }
  .home-hero-slide.is-moving,
  .home-hero-credit.is-changing { animation: none; }
}
