/* House iPhone mockup (iPhone 18 Pro, Glacier) for web pages.
 *
 *   <div class="iphone" role="img" aria-label="What the screen shows">
 *     <img class="iphone-screen" src="screens/map.webp" alt="">
 *     <img class="iphone-frame" src="iphone-18-pro-glacier.svg" alt="">
 *   </div>
 *
 * Any portrait iPhone screenshot works: it fills the screen opening (object-fit: cover)
 * and the frame's bezel, Dynamic Island and buttons are drawn on top.
 * Size it by setting the width of .iphone; the height follows (285:586).
 * Numbers come from the SVG's viewBox (285 x 586) and its screen opening
 * (x 12, y 10.25, 259.75 x 564.75), widened 1.5 units on each side to tuck under the bezel.
 */
.iphone { position: relative; display: block; aspect-ratio: 285 / 586; }
.iphone > .iphone-screen {
  position: absolute; left: 3.684%; top: 1.493%; width: 92.193%; height: 96.886%;
  object-fit: cover; object-position: center top;
  border-radius: 18.08% / 8.37%;
  background: #000;
}
.iphone > .iphone-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
