/* ------------------------------------------------------------- type scale

   index.min.css sizes headings in three fixed steps, and the top step opens
   at 1024px:

     < 768px    h1 36px   h2 30px   h3 25px
     >= 768px   h1 60px   h2 40px   h3 28px
     >= 1024px  h1 100px  h2 48px   h3 32px   <- no ceiling above this

   So a 1366x768 laptop — or a 1080p screen at 150% Windows scaling, which
   reports 1280 CSS px — gets the same 100px headline as a 4K monitor. That
   is the "fonts are huge" report: the type was never sized against the
   screen it lands on, only against a breakpoint it cleared.

   Below the sizes grow smoothly with the viewport instead of snapping. The
   anchors are chosen so nothing about the approved design shifts at the
   extremes:

     at 1024px  the fluid value equals the tablet step, so the jump at the
                breakpoint disappears rather than moving somewhere new
     at 1920px  the fluid value equals the current desktop step, so large
                screens render exactly as they do today

   Everything between is interpolated: a 1366px laptop lands on a 75px
   headline, a 1280px one on 71px. Loaded after the page stylesheets so it
   wins on cascade order at equal specificity. */

@media screen and (min-width: 1023.98px) {

  .h1,
  h1 {
    /* 60px at 1024 -> 100px at 1920 */
    font-size: clamp(60px, 4.4643vw + 14.29px, 100px);
  }

  .h2,
  h2 {
    /* 40px at 1024 -> 48px at 1920 */
    font-size: clamp(40px, 0.8929vw + 30.86px, 48px);
  }

  .h3,
  h3 {
    /* 28px at 1024 -> 32px at 1920 */
    font-size: clamp(28px, 0.4464vw + 23.43px, 32px);
  }
}
