/* ─────────────────────────────────────────────────────────────────────────
   Section: Solutions Call Out — Figma 2225:295 (desktop, 1440 canvas) and
   2353:3796 (mobile, 360 canvas).

   TWO DIFFERENT COMPOSITIONS, not one reflow:

     Desktop is an overlapping arrangement. On a 1190 x 378.3 stage, line 1
     sits at the origin at full stage width; line 2 (982 wide) is offset
     +104x / +111y so it laps beneath line 1; the handwriting block
     (602.9 x 200.3) is offset +514.9x / +178y and overlaps line 2. All
     three are absolutely placed on the stage in %, and the stage itself is
     one fluid width — so the whole composition scales as a single piece
     and can never come apart.

     Mobile is a plain centred column: two equal 90vw pills, 24 gap, the
     handwriting centred underneath, nothing overlapping.

   The previous version tried to express the desktop layout with flow
   margins inside a 1140 container while line 1 is 1190 wide, so the
   section overflowed the viewport horizontally.

   WHY THE SWITCH IS AT 48rem AND NOT A clamp(): the two layouts have
   different DOM geometry, so structure has to step somewhere. It is safe
   at 48rem specifically because line 1 uses white-space: nowrap, and its
   text measures 1151 of the 1190 stage — 96.7%. Font size and stage width
   are both driven off the same vw, so that ratio holds at every width and
   the line never overflows its pill, however narrow the desktop layout
   gets.

   Below 48rem the mobile frame is scaled proportionally (font 8.3333vw =
   30/360, pill 90vw = 324/360). Keeping font and pill on the same scale
   matters: it holds the line-wrap count identical to Figma at every width,
   which is what the strike percentages below are measured against.

   THE BLOB EXPORTS ARE STORED ROTATED. Each is tall and narrow
   (blob-10 is 14.26 x 399.24) with preserveAspectRatio="none", because
   Figma keeps them turned -90.27deg inside a wrapper. To lay one across
   the text its width and height are SWAPPED and then rotated back, so the
   declared `height` below is the strike's on-screen LENGTH and the
   declared `width` is its thickness. Sizing them the intuitive way round
   yields a vertical hairline, not a strike.
   ───────────────────────────────────────────────────────────────────── */

.section-solutions-callout {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-yellow, #dbe64c);
  padding-block: 16.667vw; /* 60 on the 360 canvas */
}

.section-solutions-callout__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6.667vw; /* 24 */
  width: 100%;
}

/* ── Pills ────────────────────────────────────────────────────────────── */

.section-solutions-callout__line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw; /* 324 of 360 */
  padding-inline: 4.1667vw; /* 15 */
  padding-block: 2.7778vw; /* 10 */
  background: var(--color-white, #fff);
}

.section-solutions-callout__text {
  font-family: var(--font-primary, "Inter", sans-serif);
  font-weight: 600;
  font-size: 8.3333vw; /* 30 */
  line-height: 9.1667vw; /* 33 */
  letter-spacing: -0.016em;
  text-align: center;
  color: var(--color-navy-dark, #001428);
}

/* ── Strikes ──────────────────────────────────────────────────────────── */

/* left/top place the strike's CENTRE inside its pill (%), while width and
   height are vw off the canvas — both scale together because the pill is
   itself a vw width. Centre placement is required: rotating about a
   top-left origin would move the shape as well as turn it. */
.section-solutions-callout__strike {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-90.27deg) scaleX(-1);
}

.section-solutions-callout__strike--blob-ten {
  left: 49.9%;
  top: 81.4%;
  width: 2.3306vw; /* thickness 8.39 */
  height: 57.583vw; /* length 207.3 */
}

.section-solutions-callout__strike--blob-eleven {
  left: 49.83%;
  top: 31.64%;
  width: 1.6472vw; /* thickness 5.93 */
  height: 81.361vw; /* length 292.9 */
}

/* Mobile only — its line 2 wraps to two lines and Figma strikes both. The
   desktop line 2 is a single line and carries just blob-11. */
.section-solutions-callout__strike--blob-twelve {
  left: 50.06%;
  top: 71.72%;
  width: 1.525vw; /* thickness 5.49 */
  height: 55.667vw; /* length 200.4 */
}

/* ── Handwriting ──────────────────────────────────────────────────────── */

/* The internal proportions of this block are IDENTICAL in both frames —
   the arrow sits at 44.36% / 11.11% wide, the underline at 30.44% / 39.22%
   wide on mobile and desktop alike. Only the block's own size changes, so
   these percentage rules are shared and never repeated per breakpoint. */
.section-solutions-callout__handwriting {
  position: relative;
  width: 58.798vw; /* 211.672 of 360 */
  aspect-ratio: 211.672 / 70.329;
  margin-top: -1.667vw; /* Figma laps the stack -6px into this block */
}

.section-solutions-callout__handwriting-text {
  position: absolute;
  left: -0.124%;
  top: 33.62%;
  width: 100.2%;
  font-family: var(--font-accent, "Rock Salt", cursive);
  font-weight: 400;
  font-size: 4.4444vw; /* 16 */
  line-height: 4.3886vw; /* 15.799 */
  letter-spacing: -0.016em;
  color: var(--color-navy-dark, #001428);
  transform: rotate(1.13deg);
}

.section-solutions-callout__handwriting-line {
  display: block;
}

.section-solutions-callout__handwriting-line + .section-solutions-callout__handwriting-line {
  margin-top: 0.9753vw; /* 3.511 */
}

.section-solutions-callout__arrow,
.section-solutions-callout__underline {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
}

/* SIZE THESE FROM THE ARTWORK, NOT THE BOUNDING BOX. Figma wraps each
   decorative in an axis-aligned box that is the rotated shape's bounds:
   the arrow's box is 67 x 63, but the artwork inside it is 22 x 70 — a
   narrow, tall glyph turned 40deg. Feeding the box dimensions to the
   image stretches a slim arrow into a fat hook. So each is placed by its
   CENTRE (the box's centre) at the artwork's own size, then rotated.

   These percentages are identical on both frames — mobile's arrow box is
   23.5 x 22.1 within a 211.7 x 70.3 block, which resolves to the same
   49.91% / 15.53% centre and the same 3.649% / 34.945% artwork size. */
.section-solutions-callout__arrow {
  left: 49.91%; /* box centre 300.92 of 602.889 */
  top: 15.53%; /* box centre 31.12 of 200.314 */
  width: 3.649%; /* artwork 22 wide, not the 67 box */
  height: 34.945%; /* artwork 70 tall */
  transform: translate(-50%, -50%) rotate(40deg) skewX(-5.75deg) scaleY(-0.99);
}

.section-solutions-callout__underline {
  left: 50.06%; /* box centre 301.77 of 602.889 */
  top: 93.91%; /* box centre 188.11 of 200.314 */
  width: 39.156%; /* artwork 236.071 wide */
  height: 8.513%; /* artwork 17.052 tall, not the 24.4 box */
  transform: translate(-50%, -50%) rotate(1.79deg);
}

/* ── Tablet and up — the overlapping desktop composition ──────────────── */

@media (width >= 48rem) {
  .section-solutions-callout {
    align-items: flex-start;
    /* The stage is left-aligned in the frame, so past 1440 its 150 gutter
       is measured from the centred canvas rather than the viewport edge —
       otherwise the whole composition clings to the left of a wide
       monitor. The offset is 0 at and below 1440. */
    padding-block: min(9.375rem, 10.4167vw); /* 150 */
    padding-left: calc(max(0px, 50% - 45rem) + min(9.375rem, 10.4167vw));
    padding-right: min(9.375rem, 10.4167vw);
  }

  /* 1190 x 378.313 stage. Everything inside is placed against it in %, so
     the composition holds together at any width. */
  .section-solutions-callout__stage {
    position: relative;
    display: block;
    width: min(74.375rem, 82.639vw); /* 1190 of 1440 */
    aspect-ratio: 1190 / 378.313;
    gap: 0;
  }

  .section-solutions-callout__line {
    position: absolute;
    width: auto;
    padding-inline: min(0.9375rem, 1.0417vw); /* 15 */
    padding-block: min(0.625rem, 0.6944vw); /* 10 */
  }

  .section-solutions-callout__line--one {
    left: 0;
    top: 0;
    right: 0;
  }

  .section-solutions-callout__line--two {
    left: 8.739%; /* 104 of 1190 */
    top: 29.34%; /* 111 of 378.313 */
    width: 82.521%; /* 982 of 1190 */
  }

  .section-solutions-callout__text {
    font-size: min(3.75rem, 4.1667vw); /* 60 */
    line-height: min(3.125rem, 3.4722vw); /* 50 */
    letter-spacing: -0.019em;
  }

  /* Line 1 is nowrap in Figma — its text is 1151 of the 1190 stage, and
     because font size and stage width share one vw scale that ratio holds
     at every width. */
  .section-solutions-callout__line--one .section-solutions-callout__text {
    white-space: nowrap;
  }

  .section-solutions-callout__strike--blob-ten {
    left: 81.48%;
    top: 63.83%;
    width: min(1.01rem, 1.1222vw); /* thickness 16.16 */
    height: min(24.9625rem, 27.7361vw); /* length 399.4 */
  }

  .section-solutions-callout__strike--blob-eleven {
    left: 50.52%;
    top: 61.05%;
    width: min(1.1544rem, 1.2826vw); /* thickness 18.47 */
    height: min(56.9688rem, 63.2986vw); /* length 911.5 */
  }

  .section-solutions-callout__strike--blob-twelve {
    display: none;
  }

  .section-solutions-callout__handwriting {
    position: absolute;
    left: 43.271%; /* 514.94 of 1190 */
    top: 47.05%; /* 178 of 378.313 */
    width: 50.663%; /* 602.889 of 1190 */
    aspect-ratio: 602.889 / 200.314;
    margin-top: 0;
  }

  .section-solutions-callout__handwriting-text {
    font-size: min(2.375rem, 2.6389vw); /* 38 */
    line-height: min(2.8125rem, 3.125vw); /* 45 */
  }

  .section-solutions-callout__handwriting-line + .section-solutions-callout__handwriting-line {
    margin-top: min(0.625rem, 0.6944vw); /* 10 */
  }
}
