/* Homepage video only; the shared site styles and other pages stay independent. */
.hero-video-section {
  isolation: isolate;
  background: #f8fafc;
}
.hero-video-section::before,
.hero-video-section::after { display: none; }
.hero-video-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  overflow: hidden;
  pointer-events: none;
}
.hero-video-media img,
.hero-video-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-video-media video {
  opacity: 0;
  transition: opacity .3s ease;
}
.hero-video-section[data-video-ready="true"] .hero-video-media video { opacity: 1; }
.hero-video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #f8fafc 0%, #f8fafc 34%, #f8fafcf2 46%, #f8fafc59 61%, #f8fafc00 75%);
}
.hero-video-section .hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 60px;
  min-height: 710px;
  padding-block: 64px;
}
.hero-video-section .hero-copy { max-width: 660px; }
.hero-video-identity {
  align-self: end;
  justify-self: end;
  width: min(100%, 430px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid #ffffffb3;
  border-radius: 22px;
  background: #fffffff2;
  box-shadow: 0 12px 36px #0b132b12;
  color: var(--navy);
}
.hero-video-identity strong { display: block; font-size: 21px; line-height: 1.4; }
.hero-video-identity small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.7; }
.hero-video-role { flex: none; font-size: 11px; font-weight: 700; line-height: 1.6; }
.hero-video-toggle {
  position: absolute;
  z-index: 2;
  right: max(40px, calc((100% - 1232px) / 2));
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #ffffffa6;
  border-radius: 999px;
  background: #fffffff2;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 4px 18px #0b132b12;
}
.hero-video-toggle:hover { background: #fff; }
.hero-video-toggle:focus-visible { outline-offset: 3px; }
.hero-video-toggle-icon {
  display: block;
  width: 12px;
  height: 14px;
  border-left: 4px solid currentColor;
  border-right: 4px solid currentColor;
}
.hero-video-toggle[data-state="paused"] .hero-video-toggle-icon {
  width: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
  border-right: 0;
}
@media (max-width: 1024px) {
  .hero-video-section .hero { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .hero-video-media { width: 58%; }
  .hero-video-identity { padding: 18px; gap: 12px; }
  .hero-video-identity strong { font-size: 18px; }
}
@media (max-width: 800px) {
  .hero-video-section .hero { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding-block: 62px 28px; }
  .hero-video-media { width: 100%; }
  .hero-video-media img,
  .hero-video-media video { object-position: 62% 18%; }
  .hero-video-shade {
    background: linear-gradient(90deg, #f8fafcf5 0%, #f8fafce6 55%, #f8fafcad 100%), linear-gradient(0deg, #f8fafc 0%, #f8fafc00 44%);
  }
  .hero-video-identity { justify-self: start; max-width: 430px; background: #ffffffdb; }
  .hero-video-toggle { top: 14px; right: 24px; min-height: 40px; padding: 8px 13px; font-size: 11px; }
}
@media (max-width: 620px) {
  .hero-video-section .hero { gap: 28px; padding-top: 68px; }
  .hero-video-identity { padding: 17px 18px; }
  .hero-video-toggle { right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-media video { transition: none; }
}
