/* Scoped extension: media stage + typography only; global CTA/menu untouched. */
[data-osiris-hero-r9][data-media-format] .osiris-hero-r3__canvas {
  -webkit-mask-image: none;
  mask-image: none;
}
html[data-portal-theme] #main [data-osiris-hero-r9][data-frame-poster="true"] .osiris-hero-r3__symbol {
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%);
}
[data-osiris-hero-r9]:is([data-state="ready"], [data-state="loading"]) .osiris-hero-r3__symbol {
  opacity: 1;
}
#main [data-osiris-hero-r9] .osiris-hero-r3__copy h1 {
  font-size: clamp(56px, min(6.15vw, 12.1svh), 112px);
  line-height: 1.02;
}
#main [data-osiris-hero-r9] .osiris-hero-r3__lead {
  max-width: 29ch;
  font-size: clamp(16px, 1.65vw, 27px);
  line-height: 1.45;
}
html[data-portal-theme="light"] #main [data-osiris-hero-r9] .osiris-hero-r3__lead {
  /* Follow the glyphs, so moving lines stay legible without a rectangular panel. */
  text-shadow: 0 1px 3px #f8f9f8, 0 0 8px #f8f9f8, 0 0 16px rgb(248 249 248 / .9);
}
@media (min-width: 691px) and (max-width: 900px) {
  #main [data-osiris-hero-r9] .osiris-hero-r3__copy h1 {
    font-size: clamp(42px, 6.5vw, 60px);
  }
}
@media (max-width: 690px) {
  html #main [data-osiris-hero-r9] {
    --hero-header-size: 105px;
    min-height: max(0px, calc(100svh - var(--hero-header-size)));
    overflow: hidden;
  }
  html #main [data-osiris-hero-r9] .osiris-hero-r3__copy {
    top: clamp(26px, 5svh, 48px);
    left: 24px;
    width: calc(100% - 48px);
    transform: none;
  }
  #main [data-osiris-hero-r9] .osiris-hero-r3__copy h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.02;
  }
  #main [data-osiris-hero-r9] .osiris-hero-r3__eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: .075em;
  }
  #main [data-osiris-hero-r9] .osiris-hero-r3__lead {
    margin-top: 16px;
    max-width: 27ch;
    font-size: clamp(16px, 4.2vw, 19px);
  }
}
@media (max-width: 359px) {
  html #main [data-osiris-hero-r9] .osiris-hero-r3__copy {
    left: 18px;
    width: calc(100% - 36px);
  }
}


@media (max-width: 690px) and (max-height: 640px) {
  html #main [data-osiris-hero-r9] .osiris-hero-r3__copy { top: 18px; }
  #main [data-osiris-hero-r9] .osiris-hero-r3__copy h1 {
    font-size: clamp(30px, 9.8vw, 40px);
  }
  #main [data-osiris-hero-r9] .osiris-hero-r3__lead { font-size: 15px; margin-top: 12px; }
}
