/* Lux site themes — html.site-light / html.site-dark (no class = original mixed look). Sept 2026 review build. */

/* ================= LIGHT ================= */
html.site-light{--lt-bg:#fbfaf6;--lt-band:#f1f5f1;--lt-warm:#f6f2e8;--lt-ink:#16362b;--lt-head:#07523a;--lt-muted:#536b60;--lt-acc:#9a7634;--lt-line:#d9e2dd}
.site-light body{background:var(--lt-bg)}
.site-light :is(.hero,.dark,.formats-section,.detail-hero,.technology-hero,.contact-hero,.global-band,.featured-guide,.final,.natural-bridge,.lm-section.darkband,.about-hero){background:var(--lt-band)!important;color:var(--lt-ink)!important}
.site-light .final{background:radial-gradient(circle at 50% 0,rgba(198,161,91,.16),transparent 60%),var(--lt-warm)!important}
.site-light .lm-fhero{background:linear-gradient(rgba(251,250,246,.9),rgba(241,245,241,.97)),url(/assets/facility-exterior-hero-v2.webp) center/cover!important;color:var(--lt-ink)!important}
.site-light :is(.hero,.dark,.formats-section,.detail-hero,.technology-hero,.contact-hero,.global-band,.featured-guide,.final,.natural-bridge,.lm-section.darkband,.lm-fhero) :is(h1,h2,h3,.section-head h2,.solo-head h2):not(:is(.lab-card,.application,.format-card,.platform-card,.tech) *){color:var(--lt-head)!important}
.site-light :is(.hero,.dark,.formats-section,.detail-hero,.technology-hero,.contact-hero,.global-band,.featured-guide,.final,.natural-bridge,.lm-section.darkband,.lm-fhero) :is(p,.section-head p,.contact-intro,.crumb,span,strong,small):not(:is(.lab-card,.application,.format-card,.platform-card,.tech,.lm,.button,.eyebrow) *):not(.eyebrow):not(.button):not(h1 *){color:var(--lt-muted)!important}
.site-light :is(.hero,.dark,.detail-hero,.technology-hero,.contact-hero,.final,.lm-fhero,.lm-section.darkband) h1 span,.site-light h1 span{color:var(--lt-acc)!important}
.site-light :is(.hero,.final,.detail-hero,.technology-hero,.contact-hero,.lm-fhero,.natural-bridge) .button.primary,.site-light .final .button{background:var(--lt-head)!important;color:#fff!important;border-color:var(--lt-head)!important}
.site-light :is(.hero,.final,.detail-hero,.technology-hero,.contact-hero,.lm-fhero) .button.secondary{background:transparent!important;color:var(--lt-head)!important;border-color:var(--lt-head)!important}
.site-light .dark :is(.problem,.tech-flow article,.application-list div,.symp>div){background:#fff!important;border-color:var(--lt-line)!important}
.site-light .dark :is(.problem strong,.tech-flow h3){color:var(--lt-head)!important}
.site-light .dark .problem .route-to{color:var(--lt-acc)!important}
.site-light footer{background:#eef3ef!important;color:var(--lt-ink)!important;border-top:1px solid var(--lt-line)}
.site-light footer :is(a,span,p,div){color:var(--lt-ink)!important}
.site-light .lm-section.darkband a[href="/facility/"]{color:var(--lt-acc)!important}
/* motion components, light */
.site-light .lm--dark,.site-light .lm-plant{--lm-bg:#fff;--lm-ink:#16362b;--lm-muted:#536b60;--lm-acc:#9a7634;--lm-acc2:#07523a;--lm-line:#d9e2dd;--lm-soft:#f1f5f1}
.site-light .hero-orbit{background:radial-gradient(circle at 50% 48%,rgba(198,161,91,.16),transparent 62%),#f6f2e8!important}
.site-light .lm-orbit .node circle.b{fill:#fff}
.site-light .lm-orbit .node .ic{stroke:#9a7634}
.site-light .lm-orbit a.node:hover .ic,.site-light .lm-orbit .node.on .ic{stroke:#f6e7c3}
.site-light .lm-orbit [fill="#d4bd8d"]{fill:#a8823c}
.site-light .lm-orbit [stroke="#d4bd8d"]{stroke:#a8823c}
.site-light .lm-orbit .spoke{stroke:#cfd9d3}
.site-light .lm-orbit .spoke.on{stroke:#a8823c}
.site-light .lm-plant{background:#fbfaf6;color:#16362b;border-color:#d9e2dd}
.site-light .lm-plant :is(.pl-stat b,.pl-g b,.pl-desc b){color:#16362b}
.site-light .lm-plant .pl-tab[aria-selected="true"]{background:#07523a;border-color:#07523a;color:#fff}
.site-light .lm-plant .pl-tab .pb{background:#d4bd8d}
.site-light .lm-plant .pl-g i{background:#e6ece8}
.site-light .lm-plant .pl-cap-big{background:#f6f2e8}
.site-light .lm-plant .pl-cap-big b{color:#9a7634}
.site-light .lm-chrom .band.hot{fill:rgba(168,130,60,.16)}
.site-light .lm-way{--w-bg:#f1f5f1;--w-road:#dfe6e1;--w-block:#fff;--w-lux:#fbf3df;--w-acc:#9a7634;--w-line:#cbd7d0;--w-ink:#16362b;--w-muted:#536b60;--w-soft:#f7f5ee}
.site-light .lm-way :is(h2){color:#07523a!important}

/* ================= DARK ================= */
html.site-dark{--forest:#eef2ee;--ink:#e3ebe5;--muted:#a9bdb2;--line:rgba(212,189,141,.2);--warm:#03291e;--mist:#03291e;--white:#062a1f;--dk-bg:#021f16;--dk-band:#03291e;--dk-deep:#01170f;--dk-card:rgba(245,243,236,.05);--dk-acc:#d4bd8d}
.site-dark body{background:var(--dk-bg);color:var(--ink)}
.site-dark :is(section,.proof,.capacity-band,.contact-direct,.address-section,.crossnav,.related,.technology-related,#applications,#technologies,#about,.assurance,.quality,.intro,.form-section,.natural-callout,.warm,.proof+section,.tech-feature,.feature-copy,.proof-panel,.facility-block,.natural-callout-copy){background:var(--dk-band)!important;color:var(--ink)}
.site-dark :is(.hero,.dark,.formats-section,.detail-hero,.technology-hero,.contact-hero,.final,.lm-section.darkband,.global-band,.featured-guide){background:var(--dk-deep)!important}
.site-dark .final{background:radial-gradient(circle at 50% 0,rgba(212,189,141,.14),transparent 60%),var(--dk-deep)!important}
.site-dark :is(h1,h2,h3,h4){color:#f5f3ec!important}
.site-dark h1 span{color:var(--dk-acc)!important}
.site-dark main p{color:var(--muted)}
.site-dark :is(.route,.card,.flavour,.search,.search-panel,.capacity,.crossgrid a,.form-card,.format-option,.natural-spectrum article,.belief,.quality-pillar,.credential,.plant-card,.use-card,.direct-card,.profile,.path article,.related-grid a,.technology-related-grid a,.trust-row div,.tag,.natural-points span,.handoff,.form-tab,.cert,.open-call,.process-icon,.card .icon,.certification-progress){background:var(--dk-card)!important;border-color:var(--line)!important;color:var(--ink)!important}
.site-dark :is(.route,.card,.quality-pillar,.plant-card,.use-card,.profile,.path article) :is(h3,strong){color:#f5f3ec!important}
.site-dark .form-tab.active{background:var(--dk-acc)!important;color:#022b1f!important}
.site-dark :is(.field input,.field select,.field textarea,.search input,.search-panel input){background:rgba(245,243,236,.06)!important;color:#f5f3ec!important;border-color:var(--line)!important}
.site-dark .field label,.site-dark .consent label{color:var(--ink)!important}
.site-dark :is(.button.primary,.search button,.search-panel button,.final .button,.hero .button.primary){background:var(--dk-acc)!important;color:#022b1f!important;border-color:var(--dk-acc)!important}
.site-dark .button.secondary{background:transparent!important;color:#f5f3ec!important;border-color:rgba(245,243,236,.5)!important}
.site-dark header{background:rgba(1,23,15,.94)!important;border-bottom-color:var(--line)!important}
.site-dark header .links a{color:#e3ebe5}
.site-dark .brand img{background:#f5f3ec;border-radius:40px;padding:4px 12px;box-sizing:content-box}
.site-dark .mobile-nav-panel,.site-dark .mobile-nav-panel a{background:var(--dk-band)!important;color:#f5f3ec!important}
.site-dark .mobile-nav summary{color:#f5f3ec;border-color:var(--line)}
.site-dark .mark{background:#f5f3ec!important}
.site-dark :is(.metric strong,.capacity strong,.capacity-row strong,.flavour strong,.route .link,.eyebrow){color:var(--dk-acc)!important}
.site-dark :is(.metric,.capacity,.proof-grid .metric){border-color:var(--line)!important}
.site-dark :is(.crumb,.image-note,.technology-label,.detail-kicker,.facility-mosaic figcaption){background:rgba(1,23,15,.9)!important;color:#f5f3ec!important}
.site-dark footer{background:#010f0a!important}
.site-dark a[style*="var(--forest)"]{color:var(--dk-acc)!important}
.site-dark .lm:not(.lm-plant):not(.lm--dark){--lm-bg:#03291e;--lm-ink:#f5f3ec;--lm-muted:#b4c7bd;--lm-acc:#d4bd8d;--lm-acc2:#8fc0a6;--lm-line:rgba(212,189,141,.24);--lm-soft:rgba(245,243,236,.05)}
.site-dark .lm-step .st-t{color:#f5f3ec}
.site-dark .lm-step .st-cap b{color:#d4bd8d}
.site-dark .lm-step .st.on .st-dot{background:#d4bd8d;color:#022b1f;border-color:#d4bd8d}
.site-dark .lm-way{--w-bg:#01170f}

/* ================= theme switcher (review build) ================= */
.lux-look{position:fixed;right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:200;display:flex;align-items:center;gap:4px;padding:5px;border-radius:999px;background:rgba(1,23,15,.92);box-shadow:0 10px 30px rgba(0,0,0,.25);font:600 12px "DM Sans",Arial,sans-serif;border:1px solid rgba(212,189,141,.35)}
.lux-look span{color:#d4bd8d;padding:0 8px 0 10px;letter-spacing:.08em;text-transform:uppercase;font-size:10.5px}
.lux-look button{appearance:none;border:0;border-radius:999px;min-height:34px;padding:0 13px;background:transparent;color:#e3ebe5;font:inherit;cursor:pointer}
.lux-look button[aria-pressed="true"]{background:#d4bd8d;color:#022b1f}
.lux-look button:focus-visible{outline:2px solid #d4bd8d;outline-offset:2px}

.site-light .footer-logo{filter:none!important}
.site-dark :is(.tech,.tech-copy){background:var(--dk-card)!important;border-color:var(--line)!important}
.site-dark .tech-copy :is(strong,p){color:var(--ink)!important}.site-dark .tech-copy strong{color:#f5f3ec!important}
