/* 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:"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:"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:"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:"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}

/* v18.43 (owner decision): every heading is Playfair Display, self-hosted from assets/fonts (SIL Open Font Licence, PlayfairDisplay-OFL.txt). Light requests (300/350) draw at Regular 400. Theme-invented font names ("WONE Noto Display", "WONE Newsreader", "WONE Bebas Neue") were retired in v18.43: each family now uses its real name. */
@font-face{font-family:"Playfair Display";font-style:normal;font-weight:400 900;font-display:swap;src:url(../fonts/playfair-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:"Playfair Display";font-style:normal;font-weight:400 900;font-display:swap;src:url(../fonts/playfair-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")}

/* v18.48 (owner decision): every heading and display line is set in Helvetica Neue, then Inter Display, then Arial.
   Helvetica Neue is never hosted: it is used only where the visitor's device already has it (Mac, iPhone, iPad).
   Everyone else gets Inter Display, self-hosted from assets/fonts (SIL Open Font Licence, Inter-OFL.txt): the Inter variable font
   fixed at its Display cut (optical size 32), weight 100 to 900. The serif faces above are no longer referenced. */
@font-face{font-family:"Inter Display";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter Display";font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-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+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  /* type */
  --i-display:Helvetica Neue,Inter Display,Arial,sans-serif;      /* all h2–h6 and display text site-wide */
  --serif:Helvetica Neue,Inter Display,Arial,sans-serif;--display:Helvetica Neue,Inter Display,Arial,sans-serif;--wone-display:Helvetica Neue,Inter Display,Arial,sans-serif; /* legacy token names */
  --i-hero:Helvetica Neue,Inter Display,Arial,sans-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:-.01em!important;line-height:1.06!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:0!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}

/* v18.48 tracking (owner review): Light sans headings at large sizes read loose at the serif's -0.01em.
   H1 and hero lines -0.035em, H2 -0.025em. In em, so it scales down with the heading on small screens. */
html:not(#a):not(#b):not(#c):not(#d):not(#e) body :is(h1,.du-h1,.wih-d1,#wib-h):not(#f):not(#g):not(#h):not(#i):not(#j){letter-spacing:-.035em!important}
html:not(#a):not(#b):not(#c):not(#d):not(#e) body h2:not(#f):not(#g):not(#h):not(#i):not(#j){letter-spacing:-.025em!important}
