/* Light theme (Nov 24, Andrew: "black background is white, darker backgrounds turned lighter").
   html.theme-white = white page; html.theme-soft = everything lighter, warm off-white instead of white. */
html.theme-white{--L-bg:#FFFFFF;--L-alt:#F5F2EC;--L-band:#EFEAE1;--L-line:#E2DBCF}
html.theme-soft{--L-bg:#FAF7F1;--L-alt:#F3EEE5;--L-band:#ECE5D9;--L-line:#DDD4C5}
html[class*="theme-"] body{background:var(--L-bg)}
/* header + menus */
html[class*="theme-"] .top{background:rgba(255,255,255,.96);border-bottom:1px solid var(--L-line)}
html.theme-soft .top{background:rgba(250,247,241,.96)}
html[class*="theme-"] .brand img{filter:none}
html[class*="theme-"] .nav a,html[class*="theme-"] .drop>button,html[class*="theme-"] .menu-btn{color:#2A2422}
html[class*="theme-"] .nav a:hover,html[class*="theme-"] .drop>button:hover,html[class*="theme-"] .drop:focus-within>button{color:#2A2422;background:var(--L-alt)}
html[class*="theme-"] .nav a[aria-current=page],html[class*="theme-"] .drop>button[aria-current]{color:#2A2422}
html[class*="theme-"] .drop-menu,html[class*="theme-"] .nav.open{background:var(--L-bg);border-color:var(--L-line);box-shadow:0 18px 40px rgba(42,36,34,.12)}
html[class*="theme-"] .nav .cta,html[class*="theme-"] .menu-btn{border-color:#57493F;color:#2A2422}
html[class*="theme-"] .nav .cta:hover{color:#fff}
/* dark sections become light, their text becomes ink */
html[class*="theme-"] :is(.v4-hero,.fp-hero,.fp-close,.hero,.hero.navy,.band.dark,.ins-hero,.fp-stand,.v4-help,.cap-hero){background:var(--L-alt) !important;color:#57493F !important}
html[class*="theme-"] :is(.v4-hero,.fp-hero,.fp-close){background:var(--L-bg) !important}
html[class*="theme-"] :is(.v4-what,.v4-impact){background:var(--L-band) !important}
html[class*="theme-"] :is(.v4-hero,.fp-hero,.fp-close,.hero,.band.dark,.ins-hero,.fp-stand,.v4-help,.cap-hero) :is(h1,h2,h3,h4,b,strong){color:#2A2422 !important}
html[class*="theme-"] :is(.v4-hero,.fp-hero,.fp-close,.hero,.band.dark,.ins-hero,.fp-stand,.v4-help,.cap-hero) :is(p,li,.lede,span:not(.arr)){color:#57493F}
html[class*="theme-"] :is(.v4-hero,.fp-hero) h1 em{color:#21419A !important}
html[class*="theme-"] :is(.hero,.band.dark,.v4-help,.cap-hero,.ins-hero) :is(.kicker,.eyebrow){color:#21419A !important}
html[class*="theme-"] .band.dark a:not(.btn){color:#21419A}
html[class*="theme-"] .band.dark .btn.ghost{color:#2A2422;border-color:#57493F}
html[class*="theme-"] .ev{background:#fff !important;color:#57493F}
html[class*="theme-"] .ev .big{color:#2A2422}
/* image cards keep their photos; text on them stays light */
html[class*="theme-"] :is(.hcard,.hcard *){color:#FAF6F0 !important}
/* Sectors banners: the dark relief shows in full on every theme (no white fade), white text */
html[class*="theme-"] :is(.sec-hero,.sx-hero){background:#14100D !important}
/* footer */
html[class*="theme-"] .foot{background:var(--L-alt);color:#57493F;border-top:1px solid var(--L-line)}
html[class*="theme-"] .foot h4{color:#2A2422}
html[class*="theme-"] .foot a{color:#57493F}
html[class*="theme-"] .foot a:hover{color:#2A2422}
html[class*="theme-"] .foot img{filter:none}
html[class*="theme-"] .foot .fine{border-top-color:var(--L-line)}
html[class*="theme-"] mark.draft.dark{color:#2A2422 !important}
html[class*="theme-"] :is(.hcard,.sc,.sec-hero,.sx-hero,.rs-dark,.rs-work,.kv-roof,.sh-ev) mark.draft.dark{color:#FFFFFF !important}
/* White theme = true white, no cream: neutral greys only for section breaks */
html.theme-white{--L-bg:#FFFFFF;--L-alt:#F6F6F6;--L-band:#F1F1F1;--L-line:#E4E4E4;--parchment:#FFFFFF;--parchment-deep:#F6F6F6;--bone:#FFFFFF}
html.theme-white body{background:#FFFFFF}
html.theme-white :is(.v4-hero,.fp-hero,.fp-close){background:#FFFFFF !important}
html.theme-white .band.alt{background:#F6F6F6}
html.theme-white .band.bone,html.theme-white .band:not(.dark):not(.alt){background:#FFFFFF}
html.theme-white .quote-card{background:rgba(255,255,255,.96)}
html.theme-white :is(.v4-hero,.fp-hero,.fp-close):not(#_){background:#FFFFFF !important}
/* hero cards are photos/dark art on every theme: keep their text light */
html[class*="theme-"] .v4-hero .hcard :is(b,small,p,span){color:#FAF6F0 !important}
