/* eggnums-v24d.css — Nov 15 2026
   Keep the v24c lockup. Make the ink gap from the bottom of the
   tagline “a new kind of venture studio” to the top of the “build.”
   headline equal to the ink gap from “consult.” to the
   “Hatch Labs is a venture studio…” intro paragraph.

   Desktop consult→intro is not a single named custom property; it is
   the collapsed 20px intro margin-top plus leading/insets that track
   the headline size. That relationship, matching the v22 CTA fit and
   the measured gaps of ~49px at 64px type (1280) and ~51px at 72px
   type (1440/1600), is:

     --consult-intro-ink: calc(0.25 * var(--hl-h1-size) + 33px)

   At 390 the intro sits below the buttons, so the stacked consult→intro
   gap (~372px) is not the target. The same desktop token is used:
   --hl-h1-size is set to the mobile headline size (53px), so the
   token resolves to 0.25*53 + 33 = 46.25px.

   Space is added via hero padding-top (not h1 margin-top) so the
   egg, headline, and buttons move together and the existing equalities
   stay intact: desktop learn-more→buttons = consult→intro; mobile
   egg-bottom→buttons = consult→teal-square top.

   Typographic insets (tag ink vs header bottom, build ink vs h1 top),
   once the previous 8px/10px padding is removed, are −2px at 390 and
   2.0px / 2.5px at 64px / 72px desktop. padding-top = token − insets.
*/
html body .hero.black-hero h1{
  margin-top: 0 !important;
}

@media (min-width: 901px){
  /* padding-top = 0.1875 * --hl-h1-size + 35px
     → 47.00px at 64px / 48.50px at 72px */
  html body .hero.black-hero{
    padding-top: calc(0.1875 * var(--hl-h1-size) + 35px) !important;
  }
}

@media (max-width: 900px){
  html body .hero.black-hero{
    --hl-h1-size: 53px;
    /* 0.25*53 + 35 = 48.25px; gap = 48.25 + (−2) = 46.25px */
    padding-top: calc(0.25 * var(--hl-h1-size) + 35px) !important;
  }
  html body .hero.black-hero h1{
    margin-top: 0 !important;
  }
}
