/* OpenWorkFactory public website typography contract — v1.
   This is the single authoritative source for equivalent text roles across
   Home, Community, Open Source, News & Insights, and article pages.
   It is intentionally loaded AFTER legacy page-specific CSS. The artwork,
   backgrounds, page content, and other page-specific components are unchanged. */
:root{
  --owf-type-body:'DM Sans',Arial,sans-serif;
  --owf-type-display:'Manrope',Arial,sans-serif;
  --owf-type-accent:Georgia,'Times New Roman',serif;
  --owf-type-body-size:16px;
  --owf-type-brand-size:21px;
  --owf-type-nav-size:14px;
  --owf-type-kicker-size:12px;
  --owf-type-hero-size:clamp(44px,6vw,82px);
  --owf-type-hero-copy-size:clamp(17px,2vw,21px);
  --owf-type-section-size:clamp(30px,4vw,48px);
}
body{font-family:var(--owf-type-body);font-size:var(--owf-type-body-size);line-height:1.65}

/* Identical branding and navigation text, regardless of underlying page HTML. */
.header .brand,header .brand,.site-header .site-brand{
  font-family:var(--owf-type-display);
  font-size:var(--owf-type-brand-size);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.8px;
}
.header .nav,header nav,.site-header .site-nav,
.header .nav a,header nav a,.site-header .site-nav a{
  font-family:var(--owf-type-body);
  font-size:var(--owf-type-nav-size);
  font-weight:600;
  line-height:1.3;
}

/* Same font, visual size, weight, line-height and letter-spacing for every
   public landing-page Hero — including article-template masthead. */
main>.hero h1,.editorial-hero h1,.story-masthead .story-title{
  font-family:var(--owf-type-display);
  font-size:var(--owf-type-hero-size);
  font-weight:800;
  font-style:normal;
  line-height:1.09;
  letter-spacing:-.05em;
  max-width:900px;
  margin:25px 0;
}
main>.hero h1 em,.editorial-hero h1 em,.story-masthead .story-title em{
  font-family:var(--owf-type-accent);
  font-size:1em;
  font-weight:400;
  font-style:italic;
  line-height:1.09;
  letter-spacing:-.02em;
  color:#ffda7d;
  text-shadow:none;
}

/* Same hierarchy for Hero kicker and introductory copy. */
main>.hero .eyebrow,main>.hero .overline,
.editorial-hero .editorial-kicker,.story-masthead .editorial-kicker{
  font-family:var(--owf-type-body);
  font-size:var(--owf-type-kicker-size);
  font-weight:700;
  font-style:normal;
  line-height:1.5;
  letter-spacing:.18em;
  text-transform:uppercase;
}
main>.hero .intro,main>.hero .hero-sub,
main>.hero>.container>p,main>.hero>.container>p.lead,
.editorial-hero .hero-body>p:not(.solar-photo-credit),
.story-masthead .story-deck{
  font-family:var(--owf-type-body);
  font-size:var(--owf-type-hero-copy-size);
  font-weight:400;
  line-height:1.75;
  letter-spacing:normal;
  max-width:740px;
}

/* Consistent section-heading scale while preserving card-specific hierarchy. */
.idea h2,.foundation h2,.explore h2,.closing h2,
main>section.body h2,main>section.content h2,
.editorial-section .section-head h2,.editorial-callout h2,
.story-body>h2{
  font-family:var(--owf-type-display);
  font-size:var(--owf-type-section-size);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.035em;
}

/* All pages use the same navigation breakpoints. */
@media(min-width:991px) and (max-width:1320px){
  :root{--owf-type-nav-size:12px}
}
@media(min-width:761px) and (max-width:990px){
  :root{--owf-type-nav-size:11px;--owf-type-brand-size:17px}
}
@media(max-width:760px){
  :root{
    --owf-type-brand-size:17px;
    --owf-type-nav-size:13px;
    --owf-type-hero-size:clamp(40px,10vw,58px);
    --owf-type-hero-copy-size:18px;
    --owf-type-section-size:clamp(30px,7vw,42px);
  }
}
@media(max-width:390px){
  :root{--owf-type-hero-size:clamp(36px,10vw,42px)}
}
