/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: Messaging — Why It Matters (Figma 2225:3013 / 2225:3006-3016)

   Photo band = the visible part of Figma's "Houses 1" box (1742x1439 at
   x-236; its top 527px sit under How It Works): 1440x912, the image placed
   as measured against Figma's render (see below). Below lg (no Messaging mobile
   frame) the band is 360x250 with the image covering it.

   Highlight strokes are vertical exports (preserveAspectRatio="none"). Each
   is drawn at its export size (W x H) and rotated -90deg about its centre:
   left = figmaLeft - (W-H)/2, top = figmaTop - (H-W)/2.
   ───────────────────────────────────────────────────────────────────────── */

.section-msg-why__photo {
  position: relative;
  aspect-ratio: 360 / 250;
  overflow: hidden;
}

.section-msg-why__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.section-msg-why__blob {
  position: absolute;
  max-width: none;
  pointer-events: none;
  transform: rotate(-90deg);
}

@media (width >= 64rem) {
  .section-msg-why__photo {
    aspect-ratio: 1440 / 912;
  }

  /* Placement measured against Figma's render (the layer's fill transform
     is not exposed): the 1920x1200 image spans the band's full width (left 0)
     and starts 18.34% of the band height above it, so it ends ~733 of 912. */
  .section-msg-why__photo img {
    inset: auto;
    top: -18.34%;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: fill;
  }

  /* Blob 7: export 31x297, Figma box 297x31 at heading x147 / y60 */
  .section-msg-why__blob--first {
    width: 1.9375rem;
    height: 18.5625rem;
    left: 17.5rem; /* 147 + 133 */
    top: -6.5rem; /* 60 - 133, minus 31: Figma renders the flipped layer one stroke-height above its metadata y */
  }

  /* Blob 6: export 31x480, Figma box 480x31 at heading x-36 / y120 */
  .section-msg-why__blob--second {
    width: 1.9375rem;
    height: 30rem;
    left: 11.7813rem; /* -36 + 224.5 */
    top: -8.4688rem; /* 120 - 224.5, minus 31 (as above) */
  }
}
