/* WONE v18 site-wide system — loaded on EVERY page after wone-instrument.css.
   Re-themes all existing page families to the v18 standard by overriding the design tokens
   that wone-instrument.css already uses (108 uses of --i-display, 46 of --i-night…).
   No template is changed. Scope: typography, dark palette, emphasis, buttons. */

/* Real fonts under their own names (wone-instrument.css aliases "Newsreader" to Funnel Display). */
@font-face{font-family:"WONE Bebas Neue";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/bebas-neue-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"WONE Bebas Neue";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/bebas-neue-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20C0,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"WONE Newsreader";font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-latin-opsz-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"WONE Newsreader";font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-latin-ext-opsz-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20C0,U+2C60-2C7F,U+A720-A7FF}

@font-face{font-family:"WONE Noto Display";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/noto-serif-display-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"WONE Noto Display";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/noto-serif-display-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20C0,U+2C60-2C7F,U+A720-A7FF}
/* The theme aliases the family name "Newsreader" to Funnel Display files; later @font-face wins, so point it back at the real face. */
@font-face{font-family:"Newsreader";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/newsreader-latin-opsz-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/newsreader-latin-ext-opsz-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20C0,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Newsreader";font-style:italic;font-weight:100 900;font-display:swap;src:url(../fonts/newsreader-latin-opsz-normal.woff2) format("woff2")}

:root{
  /* type */
  --i-display:"WONE Newsreader",Georgia,"Times New Roman",serif;      /* all h2–h6 and display text site-wide */
  --serif:"WONE Newsreader",Georgia,serif;--display:"WONE Newsreader",Georgia,serif;--wone-display:"WONE Newsreader",Georgia,serif; /* legacy token names */
  --i-hero:"WONE Noto Display","Noto Serif Display",Georgia,"Times New Roman",serif; /* page-level H1 only: Noto Serif Display Light (v18.3; was Bebas Neue) */
  /* dark palette: midnight navy replaces near-black */
  --i-night:#28292b;--i-night-2:#353639;--i-night-3:#424447;
  /* legacy aliases used by older components */
  --graphite:#28292b;--wx-night:#28292b;
}

/* Page-level H1 in Noto Serif Display Light, sentence case, very large. Scoped to hero H1 patterns the theme already uses. */
:is(#wone,html) body :is(.wx-hero h1,.du-h1,.wih-d1,.wpf-hero h1,.wx-hero-full h1,h1.wid-name,#wib-h,.wx-section h1,main>section:first-of-type h1):not(#z):not(#y){
  font-family:var(--i-hero)!important;font-weight:300!important;text-transform:none!important;
  letter-spacing:-.032em!important;line-height:1!important;font-size:clamp(50px,7.8vw,112px)!important;text-wrap:balance;
}
/* Newsreader needs slightly less negative tracking than Funnel Display did. */
:is(#wone,html) body :is(h2,h3,h4,h5,h6):not(#z):not(#y){font-family:var(--i-display)!important;letter-spacing:-.012em!important}
/* Emphasis = colour, never italic (v18 rule). wone-instrument already colours em; this removes any remaining italics. */
:is(#wone,html) body :is(h1,h2,h3,h4) em,:is(#wone,html) body :is(h1,h2,h3,h4) i{font-style:normal!important;font-family:inherit!important;color:var(--i-oxide-l)!important}
:is(#wone,html) body .wx-light :is(h1,h2,h3) em,:is(#wone,html) body .wx-paper :is(h1,h2,h3) em{color:var(--i-oxide)!important}
/* Buttons: square, v18 weights. */
:is(#wone,html) body :is(.button,.btn,button.button,.wone-submit-btn,button[type=submit]):not(#z){border-radius:0!important;font-family:var(--i-ui)!important;font-weight:600!important;letter-spacing:.01em!important}
/* Dark surfaces pick up the navy via the tokens above. Only components that hard-code the old near-black need a hand: */
:is(#wone,html) body :is(.wx-dark,.wih,.w139-firm-band){background-color:var(--i-night)}
:is(#wone,html) body input[type=checkbox]:not(#z),:is(#wone,html) body input[type=radio]:not(#z){width:18px!important;height:18px!important;min-height:0!important;padding:0!important;flex:0 0 18px;accent-color:#353639}
