/* ==========================================================================
   HERO SCALE (2026-11-22) — LIVE on index.html (+ index-scale.html test copy).
   · large screens: hero TEXT grows a little (--hg)
   · desktop: all three cards a good step bigger (x1.4), at their original
     spots (12 % / 14 % / 78 %); they grow with --hg on large screens
   · the nav pill sits vertically centred on the logo
   --hs (set in the page head) = 1 up to 1440x900, then
   min(width / 1440, height / 900), capped at 2.4.
   --hg = half of that growth (2560 → 1.3, 4K → 1.7).
   The box (#hero-card) start values must match js/main.js (lerpBox):
   size 60 * 1.4 * hg, left 78% - size, top 26%.
   Phones (< 641px) are not touched by any rule here.
   ========================================================================== */
:root { --hs: 1; --hg: calc(1 + (var(--hs) - 1) * 0.5); --hk: var(--hg); }
/* cards 1.4x only from 1200px — on tablets they would cover the copy
   (main.js lerpBox uses the same 1200px switch) */
@media (min-width: 1200px) { :root { --hk: calc(1.4 * var(--hg)); } }

@media (min-width: 641px) {
  /* text */
  .hero-inner .eyebrow,
  .hero-title,
  .hero-sub,
  .hero-trust { zoom: var(--hg); }
  .hero-inner { max-width: calc(900px * var(--hg)); }

  /* cards: bigger (from 1200px), original spots */
  .hero-shard-1 {
    width: calc(130px * var(--hk)); height: calc(130px * var(--hk));
    border-radius: calc(22px * var(--hk));
    top: 20%; left: 12%;
  }
  .hero-shard-2 {
    width: calc(90px * var(--hk)); height: calc(90px * var(--hk));
    border-radius: calc(20px * var(--hk));
    top: 62%; right: 14%;
  }
  .hero-shard-3 {
    width: calc(60px * var(--hk)); height: calc(60px * var(--hk));
    border-radius: calc(17px * var(--hk));
    top: 26%; left: calc(78% - 60px * var(--hk));
  }
}

/* nav pill vertically centred on the logo (header row) */
@media (min-width: 641px) {
  .nav-pill { top: 50%; transform: translate(-50%, -50%); }
}
