/* OTAS hero system (0063). One layout for every photo hero.
   Desktop: photo at full brightness; one left-to-right gradient behind the text column only.
   Mobile and tablet (<= 900px): photo band on top, clean; text sits at the bottom of the hero on the brand panel,
   over a short bottom-up fade. No full-frame darkening on any page.
   Per-hero framing: --op-d (desktop) and --op-m (mobile) on the hero image. */

body .b-hero.hs {
  --hs-ink: 44, 43, 48;
  --hs-pad: clamp(24px, 4.2vw, 72px);
  --hs-col: 600px;
  position: relative !important;
  display: flex !important;
  align-items: flex-end !important;
  min-height: clamp(540px, 66vh, 660px) !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  background: #2C2B30 !important;
  color: #F7F4EF !important;
}

/* photo */
body .b-hero.hs > img.hs-img,
body .b-hero.hs > picture,
body .b-hero.hs > picture > img.hs-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: var(--op-d, 50% 50%) !important;
  z-index: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
body .b-hero.hs > picture > img.hs-img { position: static !important; }

/* the one desktop gradient: dark behind the text column, clear 300px past it; same px stops on every page */
body .b-hero.hs::before { content: none !important; }
body .b-hero.hs::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  height: auto !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 1 !important;
  background: linear-gradient(90deg,
    rgba(var(--hs-ink), .88) 0,
    rgba(var(--hs-ink), .80) calc(var(--hs-pad) + var(--hs-col) * .5),
    rgba(var(--hs-ink), .54) calc(var(--hs-pad) + var(--hs-col)),
    rgba(var(--hs-ink), .20) calc(var(--hs-pad) + var(--hs-col) + 140px),
    rgba(var(--hs-ink), 0) calc(var(--hs-pad) + var(--hs-col) + 260px)) !important;
}

/* text column */
body .b-hero.hs > .b-wrap {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 140px var(--hs-pad) 76px !important;
  box-sizing: border-box !important;
}
body .b-hero.hs > .b-wrap > * { max-width: var(--hs-col) !important; }
body .b-hero.hs > .b-wrap::before { content: none; }

body .b-hero.hs .b-crumbs {
  margin: 0 0 22px !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #F7F4EF !important;
}
body .b-hero.hs .b-crumbs a, body .b-hero.hs .b-crumbs [aria-current] { color: #F7F4EF !important; }
body .b-hero.hs nav { margin: 0 !important; }

body .b-hero.hs .b-ey,
body .b-hero.hs .v1-level,
body .b-hero.hs .lvw {
  margin: 0 0 14px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}
body .b-hero.hs .b-ey { color: var(--v1-magenta, #E3008C) !important; }
body .b-hero.hs .lvw, body .b-hero.hs .v1-level { color: #F7F4EF !important; }
body .b-hero.hs .lvw { display: inline-block !important; border-left: 10px solid var(--v1-tac, #E3008C); padding-left: 10px; }

body .b-hero.hs h1 {
  margin: 0 0 18px !important;
  font-size: clamp(36px, 3.5vw, 56px) !important;
  line-height: 1.06 !important;
  letter-spacing: -.02em !important;
  font-weight: 700 !important;
  color: #F7F4EF !important;
  text-wrap: balance;
}
body .b-hero.hs .b-lead, body .b-hero.hs .lead {
  margin: 0 0 12px !important;
  font-size: clamp(18px, 1.35vw, 22px) !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: #F7F4EF !important;
}
body .b-hero.hs .b-sub, body .b-hero.hs .tag {
  margin: 0 0 12px !important;
  font-size: clamp(16px, 1.15vw, 18px) !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  color: #F7F4EF !important;
}
body .b-hero.hs h1, body .b-hero.hs .b-lead, body .b-hero.hs .b-sub, body .b-hero.hs .b-crumbs, body .b-hero.hs .b-ey {
  text-shadow: 0 1px 2px rgba(20, 19, 22, .30) !important;
}

/* buttons, one size and one gap on every page */
body .b-hero.hs .b-ctas, body .b-hero.hs .ctas, body .b-hero.hs .mx-cta-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px 14px !important;
  margin: 26px 0 0 !important;
}
body .b-hero.hs .b-btn, body .b-hero.hs .b-btn-2,
body .b-hero.hs .ctas .btn, body .b-hero.hs .mx-cta-row .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  min-height: 52px !important;
  height: auto !important;
  width: auto !important;
  padding: 12px 28px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  border: 2px solid #F7F4EF !important;
  border-radius: 0 !important;
  background: #F7F4EF !important;
  color: #2C2B30 !important;
}
body .b-hero.hs .b-btn-2, body .b-hero.hs .ctas .btn.secondary {
  background: transparent !important;
  color: #F7F4EF !important;
}
body .b-hero.hs .b-tl {
  color: #F7F4EF !important; font-size: 18px !important; font-weight: 700 !important;
  text-decoration: underline !important; text-underline-offset: 4px; padding: 12px 4px !important; text-shadow: none !important;
}
body .b-hero.hs .mx-cta-row form { margin: 0 !important; }
body .b-hero.hs .mx-cta-row .sp-link { margin: 0 !important; }

/* corner mark and photo mark */
body .b-hero.hs > .b-corner { top: 28px !important; left: 28px !important; z-index: 3 !important; }
body .b-hero.hs > img.photo-mark {
  position: absolute !important; z-index: 3 !important; width: 56px !important; height: auto !important;
  right: 26px !important; bottom: 26px !important; left: auto !important; top: auto !important; inset: auto 26px 26px auto !important;
}

/* mobile and tablet */
@media (max-width: 900px) {
  body .b-hero.hs {
    --hs-pad: clamp(20px, 5.5vw, 48px);
    --hs-clean: clamp(260px, 44svh, 400px);
    display: block !important;
    min-height: 0 !important;
  }
  body .b-hero.hs > img.hs-img,
  body .b-hero.hs > picture {
    inset: 0 0 auto 0 !important;
    height: calc(var(--hs-clean) + 70px) !important;
    object-position: var(--op-m, 50% 50%) !important;
  }
  body .b-hero.hs > picture > img.hs-img { height: 100% !important; object-position: var(--op-m, 50% 50%) !important; }
  body .b-hero.hs::after { content: none !important; display: none !important; }
  body .b-hero.hs > .b-wrap { padding: var(--hs-clean) var(--hs-pad) 76px !important; }
  body .b-hero.hs > .b-wrap::before {
    content: "" !important;
    position: absolute;
    z-index: -1;
    left: 0; right: 0; bottom: 0;
    top: calc(var(--hs-clean) - 120px);
    pointer-events: none;
    background: linear-gradient(180deg,
      rgba(var(--hs-ink), 0) 0,
      rgba(var(--hs-ink), .55) 50px,
      rgba(var(--hs-ink), .93) 110px,
      rgba(var(--hs-ink), 1) 160px,
      rgba(var(--hs-ink), 1) 100%);
  }
  body .b-hero.hs > .b-wrap > * { max-width: none !important; }
  body .b-hero.hs h1 { font-size: clamp(28px, 8vw, 38px) !important; margin-bottom: 14px !important; }
  body .b-hero.hs .b-lead, body .b-hero.hs .lead { font-size: 18px !important; }
  body .b-hero.hs .b-sub, body .b-hero.hs .tag { font-size: 16px !important; }
  body .b-hero.hs .b-crumbs { font-size: 15px !important; margin-bottom: 18px !important; }
  body .b-hero.hs .b-ctas, body .b-hero.hs .ctas, body .b-hero.hs .mx-cta-row { flex-direction: column; align-items: stretch !important; margin-top: 22px !important; }
  body .b-hero.hs .b-btn, body .b-hero.hs .b-btn-2, body .b-hero.hs .ctas .btn, body .b-hero.hs .mx-cta-row .btn { width: 100% !important; }
  body .b-hero.hs .b-tl { align-self: flex-start; }
  body .b-hero.hs > .b-corner { top: 18px !important; left: 18px !important; }
  body .b-hero.hs > img.photo-mark { right: 16px !important; bottom: 16px !important; inset: auto 16px 16px auto !important; }
}

/* desktop only: mirror a few photos so the subject sits on the right, clear of the text column */
@media (min-width: 901px) {
  body .b-hero.hs > img.hs-img.hs-flip,
  body .b-hero.hs > picture > img.hs-img.hs-flip { transform: scaleX(-1) !important; }
}
