/* eggnums-v24y.css — Nov 16 2026
   Mobile only, on top of v24x.

   1. Headline 59px from 375 up (a little larger than v24x’s 57px, not
      nearly as large as the old 61.5px). Clamp min 51.7 below 375 so
      320 does not overflow. Desktop type is unchanged.

   2. Displayed lockup scaled so the tagline ink right edge and the
      little logo-egg ink right edge stay aligned, and the “h” in
      “research.” sits ~7px to the right of both at 375/390 WebKit.
      Tagline font-size is scaled from the unscaled lockup width
      257.05px (not 252), which is what keeps studio and the egg
      aligned. The locked SVG file is not edited.

   3. Line gaps stay even and are 1px tighter than v24x (~7.67px
      baseline → next cap, down from 8.67). Per-line margins.

   4. consult. ink → top white speck of the hero egg matches that
      same 7.67px line gap (egg-panel margin-top −6.5).

   5. Header nav padding-top 8 → 20px (+12, the low end of the
      requested 12–20px) so the logo breathes under the iPhone
      status bar. The low end is used so the hero egg can stay as
      large as possible.

   6. Hero egg 75.05×86 — the largest size that keeps get-notified
      a few px above the 390×664 fold in WebKit after the type,
      padding, and gap changes. The full 96×110 egg does not fit
      (report that fold separately). Tagline→research and egg→
      button stay 22px. Desktop layout and egg centering are
      unchanged. Hero padding-top stays 26.92 so tagline→research
      remains 22px.
*/
@media (max-width: 760px){
  html body header nav.wrap.header-lockup,
  html body header nav.header-lockup,
  html body header nav.wrap,
  html body header nav{
    padding-top: 20px !important;
  }

  html body .hero.black-hero h1,
  html body .hero.black-hero h1 .hero-phrase,
  html body .hero.black-hero h1 .hero-verb,
  html body .hero.black-hero h1 .hero-verb a{
    font-size: clamp(51.7px, calc((100vw - 48px) * 59 / 327), 59px) !important;
    line-height: 1.12 !important;
  }

  html body .hero.black-hero{
    padding-top: 26.92px !important;
  }

  html body .hero.black-hero h1 .hero-br-mob,
  html body .hero.black-hero h1 .hero-br-desk{
    display: none !important;
  }
  html body .hero.black-hero h1 .hero-phrase,
  html body .hero.black-hero h1 .hero-pair.hero-pair-bb{
    display: block !important;
  }
  html body .hero.black-hero h1 .hero-pair-bb .hero-phrase{
    display: inline !important;
  }

  /* Tuned at 390 WebKit, 59px, baseline → next cap ≈ 7.67px. */
  html body .hero.black-hero h1 .hero-pair-bb{
    margin-top: -2.33px !important;
  }
  html body .hero.black-hero h1 .hero-phrase:has([data-verb="invest"]){
    margin-top: 0.68px !important;
  }
  html body .hero.black-hero h1 .hero-phrase:has([data-verb="advise"]){
    margin-top: 0.33px !important;
  }
  html body .hero.black-hero h1 .hero-phrase:has([data-verb="partner"]){
    margin-top: -8.66px !important;
  }
  html body .hero.black-hero h1 .hero-phrase:has([data-verb="consult"]){
    margin-top: 0.67px !important;
  }

  /* 248px at 375+ keeps the “h” ~7px past both studio and the logo
     egg. The min (217.3px) matches the 51.7px font floor. Below 336px the font is already at 51.7, so the lockup holds at 217.3 too. */
  html body header{
    --hl-lockup-w: clamp(217.3px, calc((100vw - 48px) * 248 / 327), 248px);
  }
  html body header a.logo-lockup,
  html body header .logo-lockup{
    width: var(--hl-lockup-w) !important;
    max-width: calc(100vw - 48px) !important;
  }
  html body header .logo-lockup .header-eyebrow,
  html body header a.logo-lockup .eyebrow.header-eyebrow{
    font-size: calc(15px * var(--hl-lockup-w) / 257.05px) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html body .hero.black-hero .egg-panel{
    margin-top: -6.5px !important;
    margin-bottom: 12px !important;
  }
  html body .hero.black-hero .egg-panel .hero-egg-locked{
    width: 75.05px !important;
    height: 86px !important;
    max-width: 75.05px !important;
    max-height: 86px !important;
  }
}
@media (max-width: 335px){
  html body header{
    --hl-lockup-w: 217.3px;
  }
}
