/* =====================================================================
   SCS REBRAND - FONTS (rebuilt 2026-07-23 to the finalized style guide)
   Applies the client's typography spec: FONT FAMILY, WEIGHT, CASE, SIZE.
   Colors are intentionally NOT set here - heading colors are handled in
   the later colors pass (to manage white-on-dark contexts safely).
   Loaded LAST in header.php so it wins over style.css + theme-responsive.css.
   Sizes are in pt exactly as the client's typography sheet specifies.
   ===================================================================== */

/* ---- 1. New brand fonts (self-hosted, latin subset) ---- */
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/rebrand/poppins-400.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/rebrand/inter-400.woff2') format('woff2');}
@font-face{font-family:'Bebas Neue';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/rebrand/bebasneue-400.woff2') format('woff2');}

/* ---- 2. Remap legacy theme font names -> new fonts ----
   The theme references fonts by names like 'latobold' / 'museo_sans700' across
   ~130 rules. Redefining those names here (loaded last) makes every existing
   rule render in the new font, with no need to edit each rule. Icon-safe:
   only named text families are remapped, not blanket element overrides.
   Regular/body faces -> Inter | Bold/heavy heading faces -> Poppins 700 */
@font-face{font-family:'latoregular';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'lato';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'latolight';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'latolight_italic';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:italic;font-display:swap}
@font-face{font-family:'latoitalic';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:italic;font-display:swap}
@font-face{font-family:'latohairline';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'latohairline_italic';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:italic;font-display:swap}
@font-face{font-family:'museo_sans300';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'museo_sans300_italic';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:italic;font-display:swap}
@font-face{font-family:'museo_sans500';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'museo_sans500_italic';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:normal;font-style:italic;font-display:swap}
@font-face{font-family:'latobold';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'latobold_italic';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:normal;font-style:italic;font-display:swap}
@font-face{font-family:'latoblack';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'latoblack_italic';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:normal;font-style:italic;font-display:swap}
@font-face{font-family:'museo_sans700';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'museo_sans700_italic';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:normal;font-style:italic;font-display:swap}
@font-face{font-family:'museo_sans900';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
@font-face{font-family:'museo_sans900_italic';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:normal;font-style:italic;font-display:swap}
@font-face{font-family:'museo_slab500';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:normal;font-style:normal;font-display:swap}
/* Neutralize the Twenty Thirteen parent-theme Google fonts (Source Sans Pro + Bitter serif) -> brand fonts, all weights */
@font-face{font-family:'Source Sans Pro';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Source Sans Pro';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Source Sans 3';src:url('../fonts/rebrand/inter-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Bitter';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Bitter';src:url('../fonts/rebrand/poppins-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}

/* ---- 3. Canonical hierarchy per client typography sheet ----
   family + weight forced (to win over contextual rules); size/case/spacing per sheet.
   Colors deliberately omitted (handled in the colors pass). Sizes in pt as provided. */
h1{font-family:'Poppins',sans-serif !important;font-weight:700 !important;font-size:14pt;text-transform:none;}
h2{font-family:'Poppins',sans-serif !important;font-weight:400 !important;font-size:12pt;text-transform:uppercase;}
h3{font-family:'Poppins',sans-serif !important;font-weight:700 !important;font-size:12pt;text-transform:none;}
h4{font-family:'Poppins',sans-serif !important;font-weight:700 !important;font-size:11pt;text-transform:none;}
h5{font-family:'Poppins',sans-serif !important;font-weight:700 !important;font-size:11pt;text-transform:none;}
h6{font-family:'Poppins',sans-serif !important;font-weight:700 !important;font-size:10pt;text-transform:none;}

/* Page-title H1 was rendering Poppins 400 instead of Bold on the main section
   pages (/sectors/, /services/, /about-scs/, /contact-scs-engineers/ ...).
   Cause: style.css line 1112 `.postloop h1{...font-weight:normal !important}`
   - same !important as the h1 rule above but higher specificity (0,1,1 vs
   0,0,1), so it won. Restore the client's Bold at matching specificity. */
.postloop h1{font-weight:700 !important;}

/* Same problem, different selectors - these forced the OLD font AND the old
   grey on the page-title H1 across ~3,300 post/article/press-release/
   case-study/white-paper/tech-bulletin/professional URLs plus every category
   and tag archive:
     style.css:1134  .pagetitlte h1  (26 templates emit this wrapper)
     style.css:1538  .headh1         (template-events.php)
   Both set font-family:'latolight' !important, font-weight:normal !important
   and color:#5e6669 !important, outranking the plain h1 rule. Restore the
   client spec: Poppins Bold, SCS Red. Size left at the theme's 26px. */
.pagetitlte h1,.headh1{
  font-family:'Poppins',sans-serif !important;
  font-weight:700 !important;
  color:#D70321 !important;
}

/* ---- 4. Body copy -> Inter, 11pt (colors untouched) ---- */
body{font-family:'Inter',sans-serif;font-size:11pt;}
p{font-size:11pt;}

/* Straggler overrides: rules that hardcode Arial (not remappable) -> Inter */
.pagination.loop-pagination span,.pagination.loop-pagination a{font-family:'Inter',sans-serif !important;}

/* Form controls (button/input/etc.) do NOT inherit font-family -> default to Arial.
   Force them to the brand body font so no Arial renders. */
button,input,select,textarea,optgroup{font-family:'Inter',sans-serif;}

/* ---- 5. Bullet text (ul/li) -> Inter 11pt. Line-height/margins left to the theme's
   original spacing (client's 16pt/12pt print values added too much space - Sourabh 2026-07-23). ---- */
ul li,ol li{font-family:'Inter',sans-serif;font-size:11pt;}

/* ---- 6. Stats / factoids -> Bebas Neue, ALL CAPS, ~24-36pt ----
   Helper classes; theme-specific stat selectors to be added once the stat blocks are located. */
.scs-stat,.scs-factoid,.stat-number,.factoid,.bebas{font-family:'Bebas Neue',sans-serif !important;font-weight:400 !important;text-transform:uppercase;font-size:30pt;line-height:1.1;letter-spacing:.02em;}
