/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: Documents — Why It Matters (Figma 2225:2715 / 2225:2805)

   Photo band = Figma's "Frame 216" (1440x752): its image fill is drawn at
   w100% h125.95%, top -22.02% (Figma's own fill transform, not measured).
   Below lg (no Documents 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.
   Figma's render draws both strokes 31 (their height) above the layer
   box y it reports; the offsets below follow the render (measured).
   ───────────────────────────────────────────────────────────────────────── */

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

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

.section-docs-why__word {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

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

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

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

  /* Each stroke is anchored to its word, so it follows the word wherever the
     heading wraps. At 1440 "right" sits at heading x382 / y57 and
     "information" at x0 / y114; Figma's strokes (render) sit at heading
     x378 / y88 and x-19 / y145 — i.e. 31 below each word's line top. */

  /* Blob 7: export 31x151, box 151x31 at word x-4 / y31 */
  .section-docs-why__blob--first {
    width: 1.9375rem;
    height: 9.4375rem;
    left: 3.5rem; /* -4 + 60 */
    top: -1.8125rem; /* 31 - 60 */
  }

  /* Blob 6: export 31x366, box 366x31 at word x-19 / y31 */
  .section-docs-why__blob--second {
    width: 1.9375rem;
    height: 22.875rem;
    left: 9.2813rem; /* -19 + 167.5 */
    top: -8.5313rem; /* 31 - 167.5 */
  }
}
