/* Stage 1 v2: Anton's final-section image on ALL devices. Hero haze: MOBILE ONLY. */
/* Keep original photo completely visible; do not change the desktop Hero or site geometry. */
html body.site-final #contacts .final-photo img {
  object-fit: contain!important;
  object-position: right center!important;
  transform:none!important;
  filter:none!important;
}
/* Wide screens: gently blend the full portrait into the existing right-hand photo zone. */
@media (min-width:769px) {
  html body.site-final #contacts .final-photo img {
    -webkit-mask-image: linear-gradient(to right, transparent 42%, #000 72%)!important;
    mask-image: linear-gradient(to right, transparent 42%, #000 72%)!important;
  }
}
/* Stacked tablet layout: full portrait with bounded panel height, no crop. */
@media (min-width:700px) and (max-width:768px) {
  html body.site-final #contacts .final-photo {
    display:block!important;
    height: min(100vw, 760px)!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
  }
  html body.site-final #contacts .final-photo img {
    display:block!important;
    width:100%!important;
    height:100%!important;
  }
}
/* Mobile-only Hero effect removal. No changes to desktop/tablet Hero. */
@media (max-width:699px) {
  html body.site-final #top.hero-v176 .hero-v176__lead {
    position:relative!important;
    isolation:isolate!important;
  }
  html body.site-final #top.hero-v176 .hero-v176__lead::before {
    /* Small mobile-only text haze, replaces the removed large ellipse. */
    content:""!important;
    display:block!important;
    position:absolute!important;
    pointer-events:none!important;
    z-index:-1!important;
    left:-7px!important;
    top:-8px!important;
    width:calc(100% + 12px)!important;
    height:calc(100% + 16px)!important;
    border-radius:22px!important;
    background:radial-gradient(ellipse 76% 76% at 38% 48%,
      rgba(251,247,239,.87) 0%,
      rgba(251,247,239,.76) 45%,
      rgba(251,247,239,.40) 72%,
      rgba(251,247,239,0) 100%)!important;
    filter:blur(5px)!important;
    transform:none!important;
  }
  html body.site-final #contacts .final-photo {
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1122/1402!important;
    overflow:hidden!important;
  }
  html body.site-final #contacts .final-photo img {
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1122/1402!important;
  }
}
/* Remove old gradient overlay so the new portrait remains fully visible. */
html body.site-final #contacts .final-photo::after {
  display:none!important;
  content:none!important;
}
