/* Layout fixes for the Framer export that are not tied to the Substack section. */

/* The Approach paragraph left "exit." alone on its last line at phone width. It runs
   eight lines there, past the six-line limit Chrome applies to text-wrap: balance, so
   this uses pretty, which only reworks the last lines. */
.framer-1b641ad p { text-wrap: pretty; }

/* The Experience carousel has 17 slides. At Framer's dot size its dot bar is 385px wide
   and runs off phone screens, so phones get smaller dots that fit inside 320px. */
@media (max-width: 809.98px) {
  fieldset.framer--slideshow-controls:has([aria-label="Scroll to page 16"]) button[aria-label^="Scroll to page"] {
    padding: 8px 3px !important;
  }
  fieldset.framer--slideshow-controls:has([aria-label="Scroll to page 16"]) button[aria-label^="Scroll to page"] > div {
    width: 8px !important;
    height: 8px !important;
  }
}

/* Work cards: balance the title and the one-line description so no word sits alone
   on the last line (e.g. "smartbrush" on phones, "Launch" on the Pattern card). */
[data-framer-name="Information"] p { text-wrap: balance; }
