/* MICHAEL CUNO PHOTOGRAPHY — editorial composition study v0.12e.
   29 story-specific rhythms. Full frames; no forced crop. Other pages untouched. */
body[data-page="editorial"] #view .ed-flow {
  width:100%; max-width:1800px; margin:0 auto;
  padding:0 clamp(18px,5vw,90px) clamp(50px,10vh,120px);
}
body[data-page="editorial"] #view .ed-scene {
  width:100%; min-width:0;
  display:flex; gap:clamp(18px,3.6vw,58px);
  align-items:center; justify-content:center;
  margin:clamp(66px,11vh,150px) auto;
}
body[data-page="editorial"] #view .ed-scene:first-child {margin-top:clamp(22px,3.5vh,42px)}
body[data-page="editorial"] #view .ed-scene:last-child {margin-bottom:clamp(40px,6vh,80px)}
body[data-page="editorial"] #view .ed-scene .ph {margin:0; min-width:0; flex:none;}
body[data-page="editorial"] #view .ed-scene .ph-btn {
  width:100%; aspect-ratio:var(--r); overflow:visible;
  background:transparent; box-shadow:none;
}
body[data-page="editorial"] #view .ed-scene .ph img {
  display:block; width:100%; height:100%; object-fit:contain;
  object-position:center center; transform:none;
}
body[data-page="editorial"] #view .ed-scene .ph figcaption {font-size:10px; opacity:.72}
/* Openers: the first image is kept intact but varies in scale and placement. */
body[data-page="editorial"] #view .ed-solo-HC .ph {width:min(100%,calc(85svh * var(--r)),1060px)}
body[data-page="editorial"] #view .ed-solo-HL {justify-content:flex-start;padding-left:clamp(0px,3.5vw,70px)}
body[data-page="editorial"] #view .ed-solo-HL .ph {width:min(100%,calc(83svh * var(--r)),1080px)}
body[data-page="editorial"] #view .ed-solo-HR {justify-content:flex-end;padding-right:clamp(0px,3.5vw,70px)}
body[data-page="editorial"] #view .ed-solo-HR .ph {width:min(100%,calc(82svh * var(--r)),1080px)}
body[data-page="editorial"] #view .ed-solo-HW .ph {width:min(100%,calc(89svh * var(--r)),1300px)}
/* Single-image scenes: quiet counterpoint or substantial standalone frame. */
body[data-page="editorial"] #view .ed-solo-L {justify-content:flex-start;padding-left:clamp(0px,7vw,130px)}
body[data-page="editorial"] #view .ed-solo-R {justify-content:flex-end;padding-right:clamp(0px,7vw,130px)}
body[data-page="editorial"] #view .ed-solo-L .ph,
body[data-page="editorial"] #view .ed-solo-R .ph {width:min(100%,calc(78svh * var(--r)),1000px)}
body[data-page="editorial"] #view .ed-solo-C .ph {width:min(100%,calc(80svh * var(--r)),1060px)}
body[data-page="editorial"] #view .ed-solo-l {justify-content:flex-start;padding-left:clamp(0px,12vw,200px)}
body[data-page="editorial"] #view .ed-solo-r {justify-content:flex-end;padding-right:clamp(0px,12vw,200px)}
body[data-page="editorial"] #view .ed-solo-l .ph,
body[data-page="editorial"] #view .ed-solo-r .ph {width:min(100%,calc(54svh * var(--r)),670px)}
body[data-page="editorial"] #view .ed-solo-c .ph {width:min(100%,calc(57svh * var(--r)),690px)}
/* Pairing uses consecutive photographs only; no cropping or reordering. */
body[data-page="editorial"] #view .ed-duo {align-items:center}
body[data-page="editorial"] #view .ed-duo .ph {flex:0 1 auto; width:min(45%,calc(65svh * var(--r)))}
body[data-page="editorial"] #view .ed-duo-0 {align-items:center;gap:clamp(16px,2.5vw,36px)}
body[data-page="editorial"] #view .ed-duo-0 .ph {width:min(46%,calc(67svh * var(--r)))}
body[data-page="editorial"] #view .ed-duo-1 {align-items:flex-start;justify-content:flex-start;padding-left:clamp(0px,3vw,50px)}
body[data-page="editorial"] #view .ed-duo-1 .ph:first-child {width:min(51%,calc(74svh * var(--r)))}
body[data-page="editorial"] #view .ed-duo-1 .ph:last-child {width:min(34%,calc(49svh * var(--r)));margin-top:clamp(28px,6vw,105px)}
body[data-page="editorial"] #view .ed-duo-2 {align-items:flex-end;justify-content:flex-end;padding-right:clamp(0px,3vw,50px)}
body[data-page="editorial"] #view .ed-duo-2 .ph:first-child {width:min(34%,calc(50svh * var(--r)));margin-bottom:clamp(26px,5vw,90px)}
body[data-page="editorial"] #view .ed-duo-2 .ph:last-child {width:min(51%,calc(74svh * var(--r)))}
body[data-page="editorial"] #view .ed-duo-3 {align-items:flex-start;justify-content:center}
body[data-page="editorial"] #view .ed-duo-3 .ph:first-child {width:min(40%,calc(56svh * var(--r)));margin-top:clamp(26px,5vw,90px)}
body[data-page="editorial"] #view .ed-duo-3 .ph:last-child {width:min(48%,calc(69svh * var(--r)))}
/* Small screens: readable vertical story, in the same photograph order. */
@media(max-width:760px){
  body[data-page="editorial"] #view .ed-flow {padding-inline:18px}
  body[data-page="editorial"] #view .ed-scene {margin-block:clamp(46px,9svh,84px);gap:clamp(32px,6svh,60px)}
  body[data-page="editorial"] #view .ed-solo {justify-content:center!important;padding-inline:0!important}
  body[data-page="editorial"] #view .ed-solo .ph {width:min(100%,calc(76svh * var(--r)))}
  body[data-page="editorial"] #view .ed-solo-l .ph,
  body[data-page="editorial"] #view .ed-solo-r .ph,
  body[data-page="editorial"] #view .ed-solo-c .ph {width:min(91%,calc(61svh * var(--r)))}
  body[data-page="editorial"] #view .ed-duo {flex-direction:column;align-items:center!important;justify-content:center!important;padding-inline:0!important}
  body[data-page="editorial"] #view .ed-duo .ph,
  body[data-page="editorial"] #view .ed-duo .ph:first-child,
  body[data-page="editorial"] #view .ed-duo .ph:last-child {width:min(100%,calc(69svh * var(--r)));margin:0!important}
}
@media(prefers-reduced-motion:reduce){
  body[data-page="editorial"] #view .ed-scene .ph {transition:none!important}
}

/* v0.12f: no isolated right-edge photos; more balanced editorial solos. */
body[data-page="editorial"] #view .ed-solo-L {justify-content:center;padding-left:0}
body[data-page="editorial"] #view .ed-solo-l {justify-content:center;padding-left:0}
body[data-page="editorial"] #view .ed-solo-HL {justify-content:center;padding-left:0}
body[data-page="editorial"] #view .ed-solo-HR {justify-content:center;padding-right:0}
body[data-page="editorial"] #view .ed-duo-2 {justify-content:center;padding-right:0}
body[data-page="editorial"] #view .ed-duo-1 {justify-content:center;padding-left:0}
