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

   1. Headline 57px from 375 up; clamp min 51.7 below 375 so 320 does
      not overflow. Desktop type is unchanged.
   2. Even visual ink gaps between the six mobile headline lines:
      per-line margins so each line’s baseline (ignoring descenders)
      to the next line’s cap/ascender ink is equal (~8.67px at 57px).
      Desktop body-band / baseline-to-cap gaps were already even
      (~20px at 1280); desktop layout and egg centering are unchanged.
   3. Scale the displayed header lockup (not the locked SVG file) so
      the “h” in “research.” stays at or to the right of the little
      logo egg at the 57px size.
   4. Grow the hero egg under the headline as large as the 390 WebKit
      fold allows (get-notified at least 6px above 664), up to the
      original 96×110. 81.16×93 with egg-panel margin-top 2.5 is the
      largest size that keeps the 6px fold margin and the 22px
      page-level ink gaps. The full 96×110 egg misses the fold (report
      that position separately).
   5. Hero padding-top 27.92 → 26.92 so tagline ink → research ink
      stays 22px after the 57px type and the slightly smaller lockup.
*/
@media (max-width: 760px){
  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) * 57 / 327), 57px) !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, 57px, so baseline → next cap ≈ 8.67px. */
  html body .hero.black-hero h1 .hero-pair-bb{
    margin-top: -0.66px !important;
  }
  html body .hero.black-hero h1 .hero-phrase:has([data-verb="invest"]){
    margin-top: 1.67px !important;
  }
  html body .hero.black-hero h1 .hero-phrase:has([data-verb="advise"]){
    margin-top: 2px !important;
  }
  html body .hero.black-hero h1 .hero-phrase:has([data-verb="partner"]){
    margin-top: -7.33px !important;
  }
  html body .hero.black-hero h1 .hero-phrase:has([data-verb="consult"]){
    margin-top: 2px !important;
  }

  /* Displayed lockup only — keeps the “h” at or right of the logo egg.
     4.316×font-size − 2px tracks the “h” left edge; clamp matches the
     51.7–57px font clamp. Tagline scales with the lockup width. */
  html body header{
    --hl-lockup-w: clamp(221.14px, calc((100vw - 48px) * 4.316 * 57 / 327 - 2px), 244px);
  }
  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) / 252px) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html body .hero.black-hero .egg-panel{
    margin-top: 2.5px !important;
    margin-bottom: 12px !important;
  }
  html body .hero.black-hero .egg-panel .hero-egg-locked{
    width: 81.16px !important;
    height: 93px !important;
    max-width: 81.16px !important;
    max-height: 93px !important;
  }
}
