/* The image, motion layer and page share one continuous white background. */
.hero-immersive {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  background: #fff;
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: 45px;
  min-height: 635px;
  padding-block: 58px 60px;
}
.hero-immersive .hero-copy { position: relative; z-index: 2; }
.hero-media {
  position: absolute;
  inset: 0 0 0 32%;
  overflow: hidden;
  pointer-events: none;
  background: #fff;
}
.hero-media .hero-photo,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 55% 44%;
  border-radius: 0;
  background: transparent;
}
.hero-video { opacity: 0; transition: opacity 1.1s ease; }
.has-video .hero-video { opacity: 1; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 7%, rgba(255,255,255,.80) 18%, rgba(255,255,255,.28) 35%, rgba(255,255,255,0) 53%),
    linear-gradient(180deg, #fff 0%, rgba(255,255,255,.50) 7%, rgba(255,255,255,0) 23%, rgba(255,255,255,0) 66%, rgba(255,255,255,.85) 90%, #fff 100%),
    linear-gradient(270deg, #fff 0%, rgba(255,255,255,.10) 9%, rgba(255,255,255,0) 18%);
}
.hero-immersive .hero-visual {
  position: relative;
  align-self: stretch;
  height: auto;
  min-height: 492px;
  margin: 0;
  z-index: 1;
}
.hero-immersive .hero-visual::after { content: none; }
.hero-immersive .visual-top-label {
  top: 7px;
  left: 25%;
  padding: 8px 0;
  background: transparent;
  color: var(--navy);
  font-size: 8px;
  letter-spacing: 1.4px;
}
.hero-immersive .hero-photo-caption {
  bottom: -7px;
  left: 22%;
  right: 0;
  color: var(--navy);
  font-size: 23px;
  align-items: center;
  border-left: 2px solid var(--orange);
  padding-left: 16px;
}
.hero-immersive .hero-photo-caption .circle-button {
  border: 1px solid #d9deda;
  background: rgba(255,255,255,.85);
}
.hero-motion-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(27,44,60,.15);
  border-radius: 30px;
  background: rgba(255,255,255,.80);
  color: var(--navy);
  font-size: 10px;
  line-height: 1.4;
  transition: background .2s ease;
}
.hero-motion-toggle:hover { background: #fff; }
.hero-motion-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.motion-pause-icon { display: none; }
.is-playing .motion-pause-icon { display: block; }
.is-playing .motion-play-icon { display: none; }
@media (min-width: 1500px) {
  .hero-layout { min-height: 680px; gap: 64px; }
  .hero-immersive .hero-visual { min-height: 530px; }
  .hero-media { left: calc(50% - 250px); }
}
@media (max-width: 1190px) {
  .hero-layout { gap: 30px; min-height: 610px; }
  .hero-immersive .hero-visual { min-height: 470px; }
  .hero-immersive .visual-top-label { left: 16%; font-size: 7px; }
  .hero-immersive .hero-photo-caption { left: 16%; font-size: 21px; }
}
@media (max-width: 980px) {
  .hero-layout { gap: 25px; min-height: 565px; padding-block: 38px 50px; }
  .hero-immersive .hero-visual { min-height: 450px; }
  .hero-media { left: 30%; }
  .hero-immersive .visual-top-label { left: 20%; top: 45px; }
  .hero-immersive .hero-photo-caption { left: 20%; font-size: 19px; }
}
@media (max-width: 760px) {
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding-block: 32px 28px; }
  .hero-immersive .hero-copy { padding-bottom: 0; }
  .hero-immersive .hero-visual { min-height: 340px; height: 340px; margin-top: 0; }
  .hero-media { inset: auto 0 0; height: 385px; }
  .hero-media .hero-photo, .hero-video { object-position: 80% 40%; }
  .hero-media::after {
    background:
      linear-gradient(180deg, #fff 0%, rgba(255,255,255,.72) 10%, rgba(255,255,255,.08) 29%, rgba(255,255,255,0) 56%, rgba(255,255,255,.25) 72%, #fff 98%),
      linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 12%, rgba(255,255,255,0) 88%, #fff 100%);
  }
  .hero-immersive .visual-top-label { top: 38px; left: 0; font-size: 7px; letter-spacing: 1.2px; }
  .hero-motion-toggle { top: 30px; min-height: 44px; padding-inline: 10px; font-size: 9px; }
  .hero-immersive .hero-photo-caption { bottom: 0; left: 0; right: 0; padding-left: 12px; font-size: 21px; }
}
@media (max-width: 380px) {
  .hero-immersive .hero-visual { min-height: 300px; height: 300px; }
  .hero-media { height: 345px; }
  .hero-immersive .hero-photo-caption { font-size: 19px; }
  .hero-immersive .visual-top-label { max-width: 145px; line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-motion-toggle { display: none !important; }
}
@media print {
  .hero-video, .hero-motion-toggle { display: none !important; }
}
