/* MC Photography v0.13g – HOME three-photo responsive presentation.
   Scope: only the 3 named HOME scenes. All files/content/scene order unchanged.
   Visual goal: increase photographic width on laptop/short desktops while
   keeping full supplied compositions on roomy desktop and mobile screens.
   On short desktop windows only, a bounded crop (~5–14% of the SOURCE HEIGHT)
   is permitted to avoid excessively narrow images; never stretch/distort.
   The original photographs remain unchanged in the project. */
@media (min-width: 761px) {
  body[data-page="home"] .hy-scene[data-scene-name="CONFRONTATION"] .hy-photo,
  body[data-page="home"] .hy-scene[data-scene-name="BEAUTY"] .hy-photo,
  body[data-page="home"] .hy-scene[data-scene-name="PORTRAIT FINALE"] .hy-photo {
    height: 98% !important;
    aspect-ratio: auto !important;
    max-width: 99.5% !important;
    max-height: 100% !important;
    flex: none !important;
  }
  /* Source 2048x1047.  Target width approaches the MOVEMENT scene. */
  body[data-page="home"] .hy-scene[data-scene-name="CONFRONTATION"] .hy-photo {
    width: min(99.5%, 1720px, calc((100dvh - var(--head-h) - 80px) * 2.293)) !important;
  }
  /* Source 2048x1033, very little safe vertical image edge. Conservative zoom; eyelashes and mouth remain primary. */
  body[data-page="home"] .hy-scene[data-scene-name="BEAUTY"] .hy-photo {
    width: min(99.5%, 1720px, calc((100dvh - var(--head-h) - 80px) * 2.052)) !important;
  }
  /* Source 2048x1116. Keep eye makeup and lips in view. */
  body[data-page="home"] .hy-scene[data-scene-name="PORTRAIT FINALE"] .hy-photo {
    width: min(99.5%, 1720px, calc((100dvh - var(--head-h) - 80px) * 2.035)) !important;
  }
  body[data-page="home"] .hy-scene[data-scene-name="CONFRONTATION"] .hy-photo img,
  body[data-page="home"] .hy-scene[data-scene-name="BEAUTY"] .hy-photo img,
  body[data-page="home"] .hy-scene[data-scene-name="PORTRAIT FINALE"] .hy-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}
/* The letterboxing that was problematic on short desktops is replaced by a
   deliberately limited crop. Full-frame view remains on ordinary/tall desktop
   windows; on mobile the existing contain behavior is untouched. */
@media (min-width: 761px) and (max-height: 820px) and (min-aspect-ratio: 3/2) {
  body[data-page="home"] .hy-scene[data-scene-name="CONFRONTATION"] .hy-photo img,
  body[data-page="home"] .hy-scene[data-scene-name="BEAUTY"] .hy-photo img,
  body[data-page="home"] .hy-scene[data-scene-name="PORTRAIT FINALE"] .hy-photo img {
    object-fit: cover !important;
  }
  body[data-page="home"] .hy-scene[data-scene-name="CONFRONTATION"] .hy-photo img {
    object-position: 50% 46% !important;
  }
  body[data-page="home"] .hy-scene[data-scene-name="BEAUTY"] .hy-photo img {
    object-position: 50% 82% !important;
  }
  body[data-page="home"] .hy-scene[data-scene-name="PORTRAIT FINALE"] .hy-photo img {
    object-position: 50% 88% !important;
  }
}
