/* ECE Clean 214: activated by native system-font choices. Per-text rules keep priority. */
@font-face{font-family:ECEWebInter214;src:url('/fonts/ece214/inter-variable-v1919214.ttf') format('truetype');font-weight:100 900;font-style:normal;font-display:swap}
html:root[data-ece-clean214]{--ece214-web-font:-apple-system,BlinkMacSystemFont,ECEWebInter214,"Segoe UI",Arial,sans-serif}
html:root[data-ece-clean214~="body"][data-theme] body{font-family:var(--ece214-web-font)!important;font-kerning:normal;font-optical-sizing:auto}
html:root[data-ece-clean214~="label"][data-theme] body :is(.main-nav a,.ece-header-nav a,.nav-cta,.site-footer a){font-family:var(--ece214-web-font)!important;letter-spacing:normal!important}
html:root[data-ece-clean214~="label"][data-theme] body:has(main#main) main#main :is(button,input,select,textarea){font-family:var(--ece214-web-font)!important}
/* Sizes still come from the CMS and the text editor, including separate mobile values. */
html:root[data-ece-clean214~="heading"][data-theme] body:has(main#main) main#main :is(h1,h2,h3,h4){text-wrap:balance;overflow-wrap:normal;word-break:normal}
html:root[data-ece-clean214~="body"][data-theme] body:has(main#main) main#main :is(.case-text p,.about-copy p,.expertise-copy p){max-width:68ch}
/* Secondary header/footer copy stays compact; native per-text overrides remain more specific. */
html:root:root[data-ece-clean214~="body"][data-theme] body:has(#main#main#main#main) :is(footer,#top) p{font-size:13px!important;line-height:1.5!important}
@media(max-width:680px){html:root[data-ece-clean214~="label"][data-theme] body:has(main#main) main#main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){font-size:16px!important}}
