/* Michael Cuno Photography v0.12u — targeted image size and editorial rhythm fixes.
   Works on v0.12t only. Source photographs are never modified. */

/* HOME Beauty: wider, closer presentation. Show original eyelashes in the
   top part of the source; avoid the former too-small contain frame. */
@media (min-width:761px) {
  body[data-page="home"] .hy-scene[data-scene-name="BEAUTY"] .hy-photo {
    width:min(99.5%,1770px)!important;
    height:98.5%!important;
  }
  body[data-page="home"] .hy-scene[data-scene-name="BEAUTY"] .hy-photo img {
    object-fit:cover!important;
    object-position:50% 45%!important;
  }
  /* Finale portrait: slightly wider cinematic framing; keep hairstyle/eyes
     at original top border, leave additional crop to the jacket below. */
  body[data-page="home"] .hy-scene[data-scene-name="PORTRAIT FINALE"] .hy-photo {
    width:min(93%,1250px)!important;
    height:98%!important;
  }
  body[data-page="home"] .hy-scene[data-scene-name="PORTRAIT FINALE"] .hy-photo img {
    object-fit:cover!important;
    object-position:50% 0%!important;
  }
}
/* Phones: original images stay wholly visible. No clipping of eye details. */
@media (max-width:760px) {
  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:contain!important;
    object-position:center center!important;
  }
}

/* GUYS: the two divided-paper portraits are a single deliberate double
   spread. Original paper mounts, tape and image subdivisions stay complete. */
body[data-page="editorial"] #view .ed-flow[data-story="guys-2026"] .ed-duo-0 {
  gap:clamp(12px,2vw,30px);
  align-items:center;
  justify-content:center;
}
body[data-page="editorial"] #view .ed-flow[data-story="guys-2026"] .ed-duo-0 .ph {
  width:min(47%,calc(71svh * var(--r)));
}
body[data-page="editorial"] #view .ed-flow[data-story="guys-2026"] .ed-duo-0 .ph img {
  object-fit:contain!important;
}

/* PERSONAL WORK: Train is a normal-size large solo like the other single
   photographs, rather than the previous exceptional 560px thumbnail. */
body[data-page="personal"] .personal-piece.personal-train {
  width:min(100%,730px)!important;
  align-self:center;
}
body[data-page="personal"] .personal-piece.personal-pair {
  display:grid;
  gap:clamp(17px,2.8vw,45px);
  align-items:center;
  width:min(100%,1120px);
  align-self:center;
  margin:0;
}
body[data-page="personal"] .personal-piece.personal-pair-upright {width:min(100%,830px)}
body[data-page="personal"] .personal-piece.personal-pair .ph {width:100%;min-width:0;margin:0}
body[data-page="personal"] .personal-piece.personal-pair .ph-btn {
  width:100%;height:auto;aspect-ratio:var(--r);
}
body[data-page="personal"] .personal-piece.personal-pair .ph-btn img {
  display:block;width:100%;height:100%;object-fit:contain!important;
}
@media(max-width:760px){
  body[data-page="personal"] .personal-piece.personal-train{width:100%!important}
  body[data-page="personal"] .personal-piece.personal-pair {
    display:flex; flex-direction:column;
    align-items:center;gap:clamp(44px,8svh,78px);
    width:100%;
  }
  body[data-page="personal"] .personal-piece.personal-pair .ph {width:100%;max-width:560px}
}

/* Dedicated Guys pairing must not shrink to 47% of a narrow phone column. */
@media(max-width:760px){
  body[data-page="editorial"] #view .ed-flow[data-story="guys-2026"] .ed-duo-0 .ph {
    width:min(100%,calc(69svh * var(--r)))!important;
  }
}
