/* ENWA white editorial theme for non-product pages (care, faq, journal, studio, legal, cart …).
   Opt-in: <body data-site-theme="white">, carried by scripts/apply-site-theme.mjs.
   Strategy: remap the legacy warm-paper tokens to the white system the PDPs and homepage use,
   then correct only the literal cream/ink colours that pages hard-code. Layout, imagery and copy
   are untouched; the footer and nav are owned by white-shell.css (data-white-calm) and site-nav.css.

   PDP reference (public/white-pdp.css): paper #fff · ink #252522 · dim #6c6c65 · hair #e5e5df ·
   type WhiteArchivo/Archivo 400 · labels 11px, no caps · headings 400, tight tracking. */

@font-face{font-family:WhiteArchivo;src:url('/showroom/assets/fonts-95/archivo.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}

body[data-site-theme="white"]{
  /* legacy token families, all mapped to one palette */
  --ml-main-paper:#fff; --ml-card-paper:#fafaf8; --ml-ink:#252522; --ml-warm-dark:#3a3a36; --ml-deep-dark:#252522;
  --ml-hairline:#e5e5df; --ml-soft-line:#e5e5df; --ml-technical-taupe:#6c6c65; --ml-dim-text:#6c6c65; --ml-oak:#252522;
  --ml-grid-line:rgba(37,37,34,.08); --ml-grid-line-soft:rgba(37,37,34,.05);
  --ml-paper:#fff; --ml-card:#fafaf8; --ml-dim:#6c6c65; --ml-line:#e5e5df; --ml-grid:rgba(37,37,34,.08); --ml-blue:#6c6c65;
  --bg-color:#fff; --text-primary:#252522; --text-secondary:#6c6c65; --text-tertiary:#6c6c65; --accent-color:#252522;
  --border-subtle:#e5e5df; --card-bg:#fafaf8; --product-img-bg:#f6f6f3; --btn-bg:#252522; --btn-text:#fff;
  --paper:#fff; --panel:#fafaf8; --card:#fafaf8; --ink:#252522; --dim:#6c6c65; --warm:#62625c; --faint:#777770; --hair:#e5e5df;
  --olive:#252522; --sencha:#252522; --sencha-on:#fff; --sencha-dk:#6c6c65; --dark:#3a3a36; --deep:#252522; --bg:#fff;
  --kuk-bg-light:#fafaf8; --kuk-bg-cream:#fff; --kuk-bg-warm:#fff; --kuk-text-dark:#252522; --kuk-text-mid:#3a3a36;
  --kuk-text-soft:#6c6c65; --kuk-text-faint:#6c6c65; --kuk-rule-dark:rgba(37,37,34,.12);
  --font-primary:WhiteArchivo,Archivo,Arial,sans-serif; --font-secondary:WhiteArchivo,Archivo,Arial,sans-serif; --font-editorial:WhiteArchivo,Archivo,Arial,sans-serif;
  --f:WhiteArchivo,Archivo,Arial,sans-serif;
  background:#fff !important; color:#252522; font-family:WhiteArchivo,Archivo,Arial,sans-serif; font-weight:400;
}

/* Type: one family, regular weight, the PDP's tight display tracking. Mono labels become quiet sans. */
body[data-site-theme="white"] :is(h1,h2,h3,h4,h5,h6){font-family:WhiteArchivo,Archivo,Arial,sans-serif !important;font-weight:400 !important;color:#252522}
body[data-site-theme="white"] :is(h1,h2){letter-spacing:-.035em;line-height:1.08}
body[data-site-theme="white"] :is(h1,h2,h3) :is(i,em){font-style:normal;color:inherit}
body[data-site-theme="white"] main :is(p,li,td,th,dd,dt,label,summary,input,textarea,select,button,a,span,small,blockquote,figcaption){font-family:WhiteArchivo,Archivo,Arial,sans-serif}
body[data-site-theme="white"] main :is([class*="label"],[class*="kicker"],[class*="eyebrow"],.mono,.lbl,[class*="-tag"],[class*="meta"]){font-family:WhiteArchivo,Archivo,Arial,sans-serif !important;letter-spacing:.035em;text-transform:none}
body[data-site-theme="white"] main :is(p,li){color:#3a3a36}

/* Surfaces: sections that painted the old cream/card/dark grounds sit on the white page. */
body[data-site-theme="white"] :is(main,section,header,article,aside,.page,.wrap,.container,[class*="hero"],[class*="-sec"],[class*="section"]){background-color:transparent}
body[data-site-theme="white"] :is([class*="card"],[class*="panel"],[class*="box"]):not(img){background-color:#fafaf8;border-color:#e5e5df}

/* Actions: ink buttons, no olive. */
body[data-site-theme="white"] main :is(button,.btn,[class*="btn"],[class*="cta"]):not(.burger):not([class*="ghost"]):not([class*="link"]){background-color:#252522;color:#fff;border-color:#252522;border-radius:0}
body[data-site-theme="white"] main :is([class*="ghost"],.btn-secondary){background:transparent;color:#252522;border-color:#252522}
body[data-site-theme="white"] main a:not([class*="btn"]):not([class*="cta"]){color:inherit}
body[data-site-theme="white"] main :is(input,textarea,select){background:#fff;border-color:#d9d9d3;border-radius:0;color:#252522}
body[data-site-theme="white"] main :is(input,textarea,select):focus{border-color:#252522;outline:none}
body[data-site-theme="white"] :is(hr,[class*="rule"],[class*="divider"]){border-color:#e5e5df}

/* Leftovers measured on the rollout (rendered, visible elements only):
   journal cards, press downloads, account labels and the studio index still set Outfit/JetBrains
   or the olive accent on elements outside <main>, and two surfaces painted the old deep/olive fill. */
body[data-site-theme="white"] :is(.journal-card-tag,.journal-card-date,.journal-card-excerpt,.journal-card-title,
  .press-dl-title,.press-dl-desc,.press-boilerplate,.acc-label,.acc-btn,.acc-sub,.acc-h1,.kuk-index__num,.kuk-index__title,
  .kuk-feature__text,.kuk-feature__text *,.os-track-btn){font-family:WhiteArchivo,Archivo,Arial,sans-serif !important}
body[data-site-theme="white"] :is(.journal-card-tag,.kuk-index__num,.acc-label){color:#6c6c65 !important;letter-spacing:.035em;text-transform:none}
body[data-site-theme="white"] :is(section,div,p,span,a,li,small,strong,b,label,h1,h2,h3,h4,h5,h6):not(footer *):not(nav *):not(.mmenu *):not([class*="mli"] *):not([class*="mli"]){font-family:WhiteArchivo,Archivo,Arial,sans-serif}
body[data-site-theme="white"] .kuk-feature__text{background:#fafaf8 !important;color:#252522 !important}
body[data-site-theme="white"] .kuk-feature__text :is(h2,h3,p,span,a){color:#252522 !important}
body[data-site-theme="white"] :is(.os-track-btn,.acc-btn){background:#252522 !important;color:#fff !important;border-radius:0 !important}
body[data-site-theme="white"] [style*="#6d7042"],body[data-site-theme="white"] [style*="color:var(--olive)"]{color:#6c6c65 !important}

/* Inline style="font-family:'Outfit'/'JetBrains Mono'" on legacy editorial pages (FAQ, Press). */
body[data-site-theme="white"] [style*="Outfit"],body[data-site-theme="white"] [style*="JetBrains"]{font-family:WhiteArchivo,Archivo,Arial,sans-serif !important}
body[data-site-theme="white"] [style*="JetBrains"][style*="uppercase"]{letter-spacing:.035em !important;text-transform:none !important;font-size:11px !important;color:#6c6c65 !important}
body[data-site-theme="white"] h2[style*="uppercase"]{letter-spacing:.02em !important;text-transform:none !important;font-size:15px !important;color:#252522 !important}

/* Page titles set as written (the PDPs never uppercase); shared title scale per page type:
   utility/policy pages 48px, editorial landings keep their own display size. */
body[data-site-theme="white"] :is(h1,h2,h3){text-transform:none !important}
body[data-site-theme="white"] :is(.policy-title,.faq-title,.cart-title,.co-page-title,.c-contact-title,.trade-title){font-size:clamp(34px,3.4vw,48px) !important;letter-spacing:-.035em !important;line-height:1.08 !important}
