/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: Accounting and Digital Payments — Why It Matters
   (Figma 2225:2630 / 2225:2531-2539)

   Photo band = Figma's "Frame 215", 1440x752; its image fill is drawn at
   w100% h125.95%, top -22.02%. Below lg (no mobile frame) the band is
   360x250 with the image covering it (Connections mobile spec).

   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, relative to the
   highlighted word (inline-block), so they follow it at every wrap.
   ───────────────────────────────────────────────────────────────────────── */

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

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

.section-adp-why__word {
  position: relative;
  display: inline-block;
}

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

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

  .section-adp-why__photo img {
    inset: auto;
    top: -22.02%;
    left: 0;
    width: 100%;
    height: 125.95%;
    object-fit: fill;
  }

  /* Blob 6 under "community-": export 32.79x382, Figma box 382x32.79 at
     heading x-19 / y142 = word x-19 / y28 (the word starts line 3, y114) */
  .section-adp-why__blob--first {
    width: 2.0494rem;
    height: 23.875rem;
    left: 9.725rem; /* -19 + 174.6 */
    top: -9.1625rem; /* 28 - 174.6 */
  }

  /* Blob 7 under "owned data": export 32.79x361, Figma box 361x32.79 at
     heading x-10 / y205.4 = word x-10 / y33.4 (the word starts line 4, y171) */
  .section-adp-why__blob--second {
    width: 2.0494rem;
    height: 22.5625rem;
    left: 9.6313rem; /* -10 + 164.1 */
    top: -8.1681rem; /* 33.41 - 164.1 */
  }
}
