/* V2: the photo fills the frame from the very top, edge to edge, and ends in a curve that reveals the matched page color.
   Everything below the photo is V1 unchanged. */
:root{--curve:36px}
.page{padding-top:0}
.photo{position:relative;width:auto;margin:0 -12px;overflow:hidden;border-radius:0 0 var(--curve) var(--curve);aspect-ratio:var(--arP);background:var(--sunk)}
.photo img{width:100%;height:100%;object-fit:cover;object-position:50% var(--posP);border-radius:0}
/* phone: the curve opens straight onto the page color */
@media (max-width:719px){body{background:var(--bg)}}
@media (min-width:720px){
 :root{--curve:44px}
 .page{padding-top:0}
 .photo{width:520px;max-width:100%;margin:0 auto;aspect-ratio:var(--arD)}
 .photo img{width:100%;max-width:none;max-height:none;object-position:50% var(--posD)}
}
