/* eggnums-v24zh.css — Nov 16 2026
   On top of v24zg.

   1) Headline + box colors (squares are the source of truth, plus Amanda’s
      overrides): build orange, buy orange (box), invest lime, advise orange,
      partner lime, consult cream, research teal.
   2) Seventh research box. Layout is in the layout-specific block below.
   3) --small follows the lockup tagline at every width (already 18px on
      desktop / 15px at 761–900; at max-width 760 it tracks the scaled tagline).
   4) Key-term highlights use each box’s own accent as a 90° background with
      #0E0E0E text — brand colors only, no yellow marker.
*/

/* ---- Small type matches the tagline ---- */
@media (max-width: 760px){
  html{
    --hl-lockup-w: clamp(217.3px, calc((100vw - 48px) * 248 / 327), 248px);
    --small: calc(15px * var(--hl-lockup-w) / 257.05px);
  }
}
@media (max-width: 335px){
  html{
    --hl-lockup-w: 217.3px;
    --small: calc(15px * var(--hl-lockup-w) / 257.05px);
  }
}


/* ---- Verb + box accent colors (Amanda t853u) ----
   build orange, buy teal, invest lime, advise orange (kept),
   partner teal, consult cream (kept), research lime. */
html body .hero.black-hero h1 .hero-verb[data-verb="build"],
html body .hero.black-hero h1 .hero-verb[data-verb="build"] a,
html body .hero.black-hero h1 .hero-verb[data-verb="advise"],
html body .hero.black-hero h1 .hero-verb[data-verb="advise"] a{
  color:#FF7A2F !important;
}
html body .hero.black-hero h1 .hero-verb[data-verb="buy"],
html body .hero.black-hero h1 .hero-verb[data-verb="buy"] a,
html body .hero.black-hero h1 .hero-verb[data-verb="partner"],
html body .hero.black-hero h1 .hero-verb[data-verb="partner"] a{
  color:#14B8A6 !important;
}
html body .hero.black-hero h1 .hero-verb[data-verb="invest"],
html body .hero.black-hero h1 .hero-verb[data-verb="invest"] a,
html body .hero.black-hero h1 .hero-verb[data-verb="research"],
html body .hero.black-hero h1 .hero-verb[data-verb="research"] a{
  color:#C8F135 !important;
}
html body .hero.black-hero h1 .hero-verb[data-verb="consult"],
html body .hero.black-hero h1 .hero-verb[data-verb="consult"] a{
  color:#F0ECE0 !important;
}

html body .offer-card#we-build,
html body .offer-card#we-build:hover,
html body .offer-card#we-build:focus-visible,
html body .offer-card#advise,
html body .offer-card#advise:hover,
html body .offer-card#advise:focus-visible{
  --card-accent:#FF7A2F !important;
  border-color:#FF7A2F !important;
}
html body .offer-card#we-buy,
html body .offer-card#we-buy:hover,
html body .offer-card#we-buy:focus-visible,
html body .offer-card#partner,
html body .offer-card#partner:hover,
html body .offer-card#partner:focus-visible{
  --card-accent:#14B8A6 !important;
  border-color:#14B8A6 !important;
}
html body .offer-card#we-invest,
html body .offer-card#we-invest:hover,
html body .offer-card#we-invest:focus-visible,
html body .offer-card#research,
html body .offer-card#research:hover,
html body .offer-card#research:focus-visible{
  --card-accent:#C8F135 !important;
  border-color:#C8F135 !important;
}
html body .offer-card#consult,
html body .offer-card#consult:hover,
html body .offer-card#consult:focus-visible{
  --card-accent:#F0ECE0 !important;
  border-color:#F0ECE0 !important;
}

/* Keep research in the same 2px / hover-inset outline system as the others. */
html body .offer-card#research,
html body .offer-card#research:hover,
html body .offer-card#research:focus-visible{
  border-width:2px !important;
  border-style:solid !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
html body .offer-card#research:hover,
html body .offer-card#research:focus-visible{
  box-shadow:inset 0 0 0 4px var(--card-accent) !important;
}

html body .offer-card#research h2,
html body .offer-card .offer-number{
  border-radius:0 !important;
}
html body .offer-card#research h2{
  color:var(--card-accent) !important;
}

/* Key-term highlight: box accent as a 90° chip, dark text, easy to scan. */
html body .offer-card .offer-hl{
  display:inline;
  color:#0E0E0E !important;
  background:var(--card-accent) !important;
  font-weight:700;
  padding:0 0.22em;
  border-radius:0 !important;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
}
html body .offer-card .offer-detail{
  overflow-wrap:break-word;
  word-wrap:break-word;
}

/* Mobile: single column (existing 700px breakpoint). */
@media (max-width: 700px){
  html body .offer-grid-section .offer-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    justify-content:stretch !important;
  }
  html body .offer-grid-section .offer-card,
  html body .offer-card#research{
    flex:none !important;
    width:auto !important;
    max-width:none !important;
    grid-column:auto !important;
  }
}

/* v24zh-b: desktop 3 + 3, with research as a full-width box. */
@media (min-width: 701px){
  html body .offer-grid-section .offer-grid{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
  }
  html body .offer-card#research{
    grid-column:1 / -1 !important;
  }
}

/* Research is a new card id, so it missed the later “all six cards are dark”
   overrides and fell back to the cream --card-bg default. Keep it on #0E0E0E
   like the others. */
html body .offer-card#research,
html body .offer-card#research:hover,
html body .offer-card#research:focus-visible{
  --card-bg:#0E0E0E !important;
  --card-fg:#F0ECE0 !important;
  background:#0E0E0E !important;
  color:#F0ECE0 !important;
}
html body .offer-card#research .offer-detail,
html body .offer-card#research p.offer-detail{
  color:#F0ECE0 !important;
}

/* --small must beat eggnums-v24.css :root { --small: 15px } at max-width 900. */
@media (max-width: 760px){
  :root, html, html:root{
    --hl-lockup-w: clamp(217.3px, calc((100vw - 48px) * 248 / 327), 248px);
    --small: calc(15px * var(--hl-lockup-w) / 257.05px) !important;
  }
}
@media (max-width: 335px){
  :root, html, html:root{
    --hl-lockup-w: 217.3px;
    --small: calc(15px * var(--hl-lockup-w) / 257.05px) !important;
  }
}

/* Flex cards must be allowed to shrink so highlight chips wrap inside. */
html body .offer-grid-section .offer-card{
  min-width:0 !important;
}
html body .offer-card .offer-detail,
html body .offer-card p.offer-detail{
  overflow-wrap:break-word;
  word-wrap:break-word;
  white-space:normal;
  max-width:100%;
}
