/* ─────────────────────────────────────────────────────────────────────────
   Section: Feature: ARC Management — Call-Out (Figma 2225:3171 / arrow 2225:3253)

   Everything inside the group is sized from the ribbon font size (1em).
   Desktop base: ribbon type 62px; the group is ribbon 1's box (887 wide)
   and 370.8 tall (to the underline's bottom). Sizes are Figma px / 62;
   note / line / arrow positions are % of that 887 x 370.8 group.
   Mobile base (Connections mobile spec): ribbon type 30px, ribbon w324.
   ───────────────────────────────────────────────────────────────────────── */

.section-arc-callout__group {
  width: 20.25rem; /* 324 */
  max-width: 100%;
  font-size: 1.875rem; /* 30 */
  gap: 0.7333em; /* 22 */
}

.section-arc-callout__heading {
  margin: 0;
  gap: 0.2581em; /* 16 / 62 */
  font-size: 1em;
  line-height: 1.1em; /* 33 */
}

.section-arc-callout__ribbon {
  display: block;
  padding: 0.625rem 0.9375rem; /* 10 / 15 */
}

.section-arc-callout__ribbon--first {
  width: 100%;
}

/* Ribbon 2 keeps its single struck line: the type shrinks below 30px only
   when "emailed back and forth" (658 / 62 = 10.6129em in Figma, 10.7em as
   rendered) plus the ribbon
   padding would not fit the gutter. */
.section-arc-callout__ribbon--second {
  font-size: min(1em, calc((100vw - 2.25rem - 1.875rem) / 10.75));
  white-space: nowrap;
}

/* ── Strikes ────────────────────────────────────────────────────────────── */
.section-arc-callout__word {
  position: relative;
  display: inline-block;
}

/* The SVGs are vertical exports (preserveAspectRatio="none"). Figma draws
   them in a size container, rotated -90.54deg and mirrored. */
.section-arc-callout__strike {
  position: absolute;
  container-type: size;
  pointer-events: none;
}

.section-arc-callout__strike img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  transform: translate(-50%, -50%) rotate(-90.54deg) scaleX(-1);
}

/* "be": Blob 10, 97.46 x 12.52 at ribbon x778 / y42 — 32 below the line
   box top; left offset measured from where "be" starts. */
.section-arc-callout__word--be .section-arc-callout__strike {
  left: -0.1274em; /* -7.9: Blob 10 starts 7.9 before the measured "be" */
  top: 0.5161em;
  width: 1.572em;
  height: 0.2019em;
}

.section-arc-callout__word--be .section-arc-callout__strike img {
  width: 92.6271cqh;
  height: 99.8872cqw;
}

/* "emailed back and forth": Blob 10 (blob-11.svg), 606.7 x 17.35 at ribbon
   x55.93 / y38 — the text starts at x15, its line box at y10. */
.section-arc-callout__word--emailed .section-arc-callout__strike {
  left: 0.6602em;
  top: 0.4516em;
  width: 9.7855em;
  height: 0.2798em;
}

.section-arc-callout__word--emailed .section-arc-callout__strike img {
  width: 66.8469cqh;
  height: 99.9819cqw;
}

/* ── Note + underline (mobile: centred under the ribbons) ───────────────── */
.section-arc-callout__notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25em;
}

.section-arc-callout__note {
  margin: 0;
  font-size: 0.5437em; /* 16.31 — Connections mobile note size */
  line-height: 0.8069;
  text-align: center;
  transform: rotate(1.5deg);
}

.section-arc-callout__line {
  width: 1.9em;
  height: auto;
  transform: rotate(1.5deg);
}

/* Arrow: shown with the desktop composition only (no mobile frame to place it) */
.section-arc-callout__arrow {
  display: none;
}

/* ── Desktop ────────────────────────────────────────────────────────────── */
@media (width >= 64rem) {
  .section-arc-callout__group {
    width: 14.3065em; /* 887 */
    max-width: none;
    height: 5.9806em; /* 370.8 */
    font-size: min(3.875rem, 4.3056vw); /* 62 at 1440 */
    gap: 0;
  }

  .section-arc-callout__heading {
    line-height: 1.2097em; /* 75 */
  }

  .section-arc-callout__ribbon {
    padding: 0.1613em 0.2419em; /* 10 / 15 */
    white-space: nowrap;
  }

  .section-arc-callout__ribbon--first {
    width: 14.3065em; /* 887 */
  }

  .section-arc-callout__ribbon--second {
    width: 11.0968em; /* 688 */
    font-size: 1em;
  }

  .section-arc-callout__notes {
    position: absolute;
    inset: 0;
    display: block;
  }

  /* Text box 687.53 x 91.64 at x291.7 / y252.36, rotated 1.5deg about its centre */
  .section-arc-callout__note {
    position: absolute;
    left: 32.886%;
    top: 68.058%;
    width: 77.512%;
    font-size: 0.7258em; /* 45 */
    line-height: 1.0222; /* 46 / 45 */
  }

  /* line-6: 157.18 x 16.48 at x617.49 / y352.48, rotated 1.5deg */
  .section-arc-callout__line {
    position: absolute;
    left: 69.616%;
    top: 95.059%;
    width: 17.721%;
    height: 4.444%;
  }

  /* Icon-Arrow-Up: Figma box 67x63 at x629 / y240.84. The export is the
     upright 22x70 arrow; rotated 42deg and mirrored it fills that box.
     Vertical position matched to Figma's render, which draws it 47px above
     the layer box (tip just under "forth"). */
  .section-arc-callout__arrow {
    position: absolute;
    display: block;
    left: 70.913%;
    top: 52.27%;
    width: 7.5535%;
    height: 16.99%;
  }

  .section-arc-callout__arrow img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.3548em; /* 22 */
    height: 1.129em; /* 70 */
    max-width: none;
    transform: translate(-50%, -50%) rotate(42deg) scaleY(-1);
  }
}
