/* Canonical page frame and navigation geometry. Keep every page change visually stable. */
:root{
  --site-frame-width:var(--site-nav-width);
  --site-frame-margin:56px auto;
  --site-nav-width:min(1120px,calc(100% - 42px));
  --site-nav-height:58px;
}

.site-frame,
body.give-page .give-frame,
body.give-page .join-frame{
  width:var(--site-frame-width)!important;
  margin:var(--site-frame-margin)!important;
  min-height:calc(100vh - 112px);
  border-radius:24px!important;
}

.site-nav,
body.give-page .site-nav{
  box-sizing:border-box!important;
  width:var(--site-nav-width)!important;
  height:var(--site-nav-height)!important;
  min-height:var(--site-nav-height)!important;
  margin:12px auto 0!important;
  padding:0 16px!important;
  top:12px!important;
  border-radius:14px!important;
}
.site-nav-logo img,
body.give-page .site-nav-logo img{height:34px!important;max-width:160px!important}
.site-nav-actions,
body.give-page .site-nav-actions{gap:12px!important}

/* One hero lede scale everywhere: pages may vary in content, never in type hierarchy. */
body .hero h1,
body .hero .h1,
body header.hero h1,
body .hero .lede-phrase,
body .splash-middle h1{
  font-size:clamp(1.4rem,2.25vw,1.85rem)!important;
  font-weight:500!important;
  line-height:1.14!important;
  letter-spacing:-.02em!important;
}

/* Cap only display styles that would otherwise exceed the Home lede.
   Their original smaller values remain intact. */
body .h2{font-size:min(clamp(1.6rem,3.2vw,2.4rem),1.85rem)!important}
body .slide-h2-sentence{font-size:min(clamp(2rem,4.2vw,3.4rem),1.85rem)!important}
body .field-name{font-size:min(clamp(1.7rem,2.6vw,2.2rem),1.85rem)!important}
body .band-name{font-size:min(clamp(1.9rem,3.6vw,2.6rem),1.85rem)!important}
body .pp-text{font-size:min(clamp(1.4rem,2.4vw,1.9rem),1.85rem)!important}
body .pilot-feature-lede{font-size:min(clamp(1.35rem,2.35vw,2rem),1.85rem)!important}
body .studio-spotlight h2{font-size:min(clamp(1.65rem,4vw,3rem),1.85rem)!important}
body .venture-spotlight-card h3{font-size:min(clamp(1.5rem,2.75vw,1.95rem),1.85rem)!important}

/* The opening offset is shared so each hero eyebrow begins at the same visual point. */
.site-frame .hero,
body.give-page .give-frame .hero,
body.give-page .join-frame .hero,
body > main > .hero,
body > .hero{
  padding-top:clamp(52px,6vw,76px)!important;
}

/* Eyebrows are one system-wide label style, regardless of the page-specific class name. */
body [class*="eyebrow"],
body [class*="kicker"]{
  font-family:"IBM Plex Mono",monospace!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:1.25!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}

@media (max-width:760px){
  :root{
    --site-frame-width:var(--site-nav-width);
    --site-frame-margin:16px auto;
    --site-nav-width:calc(100% - 24px);
    --site-nav-height:54px;
  }
  .site-frame,
  body.give-page .give-frame,
  body.give-page .join-frame{
    min-height:calc(100vh - 32px)!important;
    border-radius:16px!important;
  }
  .site-nav,
  body.give-page .site-nav{
    margin:8px auto 0!important;
    padding:0 12px!important;
    top:8px!important;
    border-radius:12px!important;
  }
  .site-nav-logo img,
  body.give-page .site-nav-logo img{height:30px!important;max-width:142px!important}
  .site-nav-actions,
  body.give-page .site-nav-actions{gap:8px!important}
  body .hero h1,
  body .hero .h1,
  body header.hero h1,
  body .hero .lede-phrase,
  body .splash-middle h1{
    font-size:clamp(1.35rem,6.5vw,1.8rem)!important;
  }
  body .h2{font-size:min(clamp(1.6rem,3.2vw,2.4rem),1.8rem)!important}
  body .slide-h2-sentence{font-size:1.8rem!important}
  body .field-name{font-size:min(clamp(1.7rem,2.6vw,2.2rem),1.8rem)!important}
  body .band-name{font-size:1.8rem!important}
  body .pp-text{font-size:min(clamp(1.4rem,2.4vw,1.9rem),1.8rem)!important}
  body .pilot-feature-lede{font-size:min(clamp(1.35rem,2.35vw,2rem),1.8rem)!important}
  body .studio-spotlight h2{font-size:1.8rem!important}
  body .venture-spotlight-card h3{font-size:min(clamp(1.5rem,2.75vw,1.95rem),1.8rem)!important}
  body [class*="eyebrow"],
  body [class*="kicker"]{
    font-size:9px!important;
    letter-spacing:.15em!important;
  }
  .site-frame .hero,
  body.give-page .give-frame .hero,
  body.give-page .join-frame .hero,
  body > main > .hero,
  body > .hero{
    padding-top:52px!important;
  }

  /* Mobile ledes share a single centered reading axis across every page. */
  body .hero-copy,
  body .hero-copy--center,
  body .hero .hero-copy,
  body .hero .hero-sub,
  body .hero-sub,
  body .hero h1,
  body .hero .h1,
  body header.hero h1,
  body .hero .lede-phrase,
  body .splash-middle h1{
    text-align:center!important;
    align-items:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  body .hero h1,
  body .hero .h1,
  body header.hero h1,
  body .hero .lede-phrase,
  body .splash-middle h1{
    max-width:20ch!important;
    text-wrap:balance;
  }
}
