/* Homepage media hero. All contrast changes affect foreground elements only. */
#home .banner.hero-banner {
  --hero-ink: #fff;
  --hero-hover-ink: #111;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  background: #071524;
  isolation: isolate;
  color: var(--hero-ink);
}
#home .hero-banner[data-copy-ink="dark"] { --hero-ink: #111; --hero-hover-ink: #fff; }
#home .hero-banner :is(.hero-image,.hero-video) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
#home .hero-banner .hero-image { z-index: 0; }
#home .hero-banner .hero-video { z-index: 1; opacity: 0; }
#home .hero-banner[data-media-type="video"][data-media-ready="true"] .hero-video { opacity: 1; }
/* A white information bar leaves the video itself clear. */
#home .hero-banner .hero-intro-bar {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: max(92px,calc(env(safe-area-inset-bottom) + 72px));
  transform: translateX(-50%);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 40px;
  width: min(1280px,84%);
  min-height: 108px;
  padding: 24px 40px;
  border-radius: 36px;
  background: #fff;
  color: #20252a;
  text-align: left;
}
#home .hero-banner .hero-intro-bar .hero-description {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #20252a;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
#home .hero-banner .hero-intro-bar .hero-action {
  flex: 0 0 auto;
  min-width: 136px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0;
  padding: 12px 24px !important;
  font-size: 15px !important;
}
#home .hero-banner :is(a,button):focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
#home .hero-banner .hero-controls {
  position: absolute;
  z-index: 3;
  bottom: max(22px,env(safe-area-inset-bottom));
  left: 8.5%;
  right: 8.5%;
  display: flex;
  align-items: center;
  gap: 28px;
  color: #fff;
  transition: color .16s ease;
}
#home .hero-banner .hero-controls[data-ink="dark"] { color: #111; }
#home .hero-banner .hero-progress { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; }
#home .hero-banner .hero-progress-item {
  display: block;
  position: relative;
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  appearance: none;
  cursor: pointer;
  touch-action: none;
}
#home .hero-banner .hero-progress-line {
  display: block;
  position: relative;
  height: 2px;
  width: 100%;
  overflow: hidden;
  background: currentColor;
}
#home .hero-banner .hero-progress-line::before { content: ""; position: absolute; inset: 0; background: #777; opacity: .65; }
#home .hero-banner .hero-progress-fill { display: block; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left center; }
#home .hero-banner .hero-progress-item:is(:hover,:focus-visible) .hero-progress-line { height: 3px; }
#home .hero-banner .hero-toggle,
#home .hero-banner .hero-arrow {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  appearance: none;
  cursor: pointer;
  transition: opacity .2s ease;
}
#home .hero-banner :is(.hero-toggle,.hero-arrow):hover { opacity: .65; }
#home .hero-banner :is(.hero-toggle,.hero-arrow) svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#home .hero-banner .hero-toggle .hero-icon-pause { display: none; }
#home .hero-banner .hero-toggle[data-playing="true"] .hero-icon-pause { display: block; }
#home .hero-banner .hero-toggle[data-playing="true"] .hero-icon-play { display: none; }
#home .hero-banner .hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); color: var(--hero-ink); }
#home .hero-banner .hero-arrow--previous { left: 2%; }
#home .hero-banner .hero-arrow--next { right: 2%; }
#home .hero-banner [hidden] { display: none !important; }
@media (max-width: 900px) {
  #home .hero-banner .hero-intro-bar { width: 88%; gap: 24px; padding: 22px 28px; border-radius: 28px; }
  #home .hero-banner .hero-intro-bar .hero-description { font-size: 15px; }
  #home .hero-banner .hero-intro-bar .hero-action { min-width: 124px !important; height: 46px !important; min-height: 46px !important; }
  #home .hero-banner .hero-controls { left: 6%; right: 6%; gap: 18px; }
  #home .hero-banner .hero-arrow { width: 36px; height: 36px; padding: 8px; }
}
@media (max-width: 600px) {
  #home .hero-banner .hero-intro-bar { bottom: max(82px,calc(env(safe-area-inset-bottom) + 66px)); flex-wrap: wrap; gap: 16px; min-height: 0; padding: 20px 22px; border-radius: 24px; }
  #home .hero-banner .hero-intro-bar .hero-description { flex-basis: 100%; font-size: 14px; line-height: 1.75; }
  #home .hero-banner .hero-intro-bar .hero-action { min-width: 112px !important; height: 42px !important; min-height: 42px !important; padding: 9px 20px !important; margin-left: auto; font-size: 14px !important; }
  #home .hero-banner .hero-controls { bottom: max(16px,env(safe-area-inset-bottom)); }
  #home .hero-banner .hero-arrow--previous { left: 1%; }
  #home .hero-banner .hero-arrow--next { right: 1%; }
}
@media (max-height: 520px) and (min-width: 601px) {
  #home .hero-banner .hero-intro-bar { bottom: 76px; min-height: 80px; padding: 16px 28px; border-radius: 28px; gap: 24px; }
  #home .hero-banner .hero-intro-bar .hero-description { font-size: 13px; line-height: 1.65; }
  #home .hero-banner .hero-intro-bar .hero-action { height: 42px !important; min-height: 42px !important; padding: 9px 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
  #home .hero-banner :is(.hero-controls,.hero-toggle,.hero-arrow) { transition: none; }
}
