/* Last stylesheet: shared tokens plus exceptions for photographic/UI surfaces. */
:root[data-theme="dark"]{color-scheme:dark;--bg2:#14171b;--bg3:#1c2026;--text2:#b0b6bf;--text3:#a0a6af;--theme-header:rgba(13,15,18,.97);--hero-fade:13,15,18}
:root[data-theme="light"]{
 color-scheme:light;--bg:#f7f8fa;--bg-2:#fff;--bg-3:#edf0f4;--bg2:#fff;--bg3:#edf0f4;--dark:#f7f8fa;
 --text:#1c2735;--text-2:#4b5969;--text-3:#586675;--text2:#4b5969;--text3:#586675;
 --paper:#fff;--ink:#1c2735;--ink-soft:#4b5969;--muted:#586675;--line:#d6dce5;--line-2:#bdc6d3;--line-soft:#edf0f4;
 --accent:#b84818;--accent-2:#98370f;--primary:#b84818;--primary-strong:#98370f;--primary-soft:#fff0e7;
 --secondary:#b84818;--secondary-soft:#fff0e7;--ui-border:#d6dce5;--ui-surface:#fff;--ui-ink:#1c2735;--ui-muted:#586675;--ui-action:#b84818;
 --theme-header:rgba(247,248,250,.97);--hero-fade:247,248,250;
}
.theme-toggle{flex-shrink:0;display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--line-2);border-radius:3px;color:var(--ink);background:var(--paper);font:22px/1 system-ui;cursor:pointer}
.theme-toggle:hover{border-color:var(--primary);color:var(--primary)}.theme-toggle:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.nav-inner>.theme-toggle{margin-left:auto;order:2}.nav-inner>.home-menu-toggle{order:3}.nav-inner>#home-navigation{margin-left:24px;order:1}
body>nav,.topbar{background:var(--theme-header);border-color:var(--line)}
footer{background:var(--bg);color:var(--ink)}footer .brand,footer .logo,footer strong{color:var(--ink)}
footer p,footer a,footer .foot-title,footer .foot-company,footer .foot-meta,footer .footer-bottom{color:var(--muted)!important;border-color:var(--line)}
footer .footer-bottom span{color:var(--muted)!important}
footer .foot-bottom,footer .foot-bottom span{color:var(--muted)!important;border-color:var(--line)}
.verified-doc-image>span,.iso-cert-image>span{color:#fff!important}
.btn-primary,.catalog-filters button[aria-pressed="true"]{background:#b84818;color:#fff;border-color:#b84818}
.btn-primary:hover{background:#98370f;color:#fff}
html[data-theme="light"] footer .logo{color:var(--ink)}
html[data-theme="light"] footer h4,html[data-theme="light"] footer strong,html[data-theme="light"] footer .foot-title{color:var(--ink)!important}
html[data-theme="light"] .cta-banner h2{color:var(--ink)}
html[data-theme="light"] .cta-banner p{color:var(--ink-soft)}
html[data-theme="light"] .btn-primary,html[data-theme="light"] .btn-primary span{background:var(--primary);color:#fff}
.company-text p{color:var(--text-2)}
.certificate-preview,.catalog-preview{color:var(--ink);background:var(--paper);border-color:var(--line-2)}.preview-close,.catalog-preview-close{color:var(--ink);border-color:var(--line-2)}
.company-introduction .hero::after{background:linear-gradient(180deg,rgba(var(--hero-fade),0) 0%,rgba(var(--hero-fade),.35) 30%,rgba(var(--hero-fade),.85) 75%,rgb(var(--hero-fade)) 100%)}
/* Photograph typography remains white in both modes. */
.hero-copy h1,.hero-copy .hero-sub,.hero-copy .hero-sub strong{color:#fff}.hero-copy h1 em{color:#ff925f}.hero-copy .hero-label{color:#ffb08b}
.hero-copy .btn-ghost{color:#fff;border-color:#ffffff90}.hero-copy .btn-primary{background:#b84818;color:#fff}
.slide-actions button{color:#fff;background:#0d0f1299}.slide-dots button{background:#7c8490}.slide-dots button[aria-pressed=true]{background:#c8521d}
html[data-theme="light"] .nav-links a,html[data-theme="light"] .lang-toggle,html[data-theme="light"] .nav-cta{color:var(--ink)}
html[data-theme="light"] .nav-drop .drop,html[data-theme="light"] .lang-menu,html[data-theme="light"] .mobile-drawer,html[data-theme="light"] #home-navigation.is-open{background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme="light"] .drop a:hover,html[data-theme="light"] .lang-menu button:hover{background:var(--line-soft)}
html[data-theme="light"] .lang-toggle,html[data-theme="light"] .nav-cta,html[data-theme="light"] .btn-ghost-dark{border-color:var(--line-2);color:var(--ink)}
html[data-theme="light"] .home-menu-toggle{color:var(--ink)}
html[data-theme="light"] .company-introduction .hero{background:#252a30}
html[data-theme="light"] .cert,html[data-theme="light"] .factory-stat{background:var(--paper);border-color:var(--line);color:var(--ink)}
html[data-theme="light"] .spec-table td,html[data-theme="light"] .spec-table th{border-color:var(--line)}
html[data-theme="light"] .process-hub-card.featured::after{background:linear-gradient(180deg,transparent,#ffffffed)}
html[data-theme="light"] .process-hub-card .num,html[data-theme="light"] .process-hub-card h2,html[data-theme="light"] .process-hub-card p{position:relative;color:var(--ink)}
html[data-theme="light"] .process-hub-card .num{color:var(--accent)}
html[data-theme="light"] .contact-channel small,html[data-theme="light"] .contact-company-block p{color:var(--muted)}
/* The map's dark photographic canvas is intentional; its overlays retain contrast. */
.trade-map-status,.trade-map-hint{color:#e8f7fb!important}
@media(max-width:960px){.theme-toggle{width:36px;height:36px}.nav-inner>#home-navigation{margin-left:0}.nav-inner>.theme-toggle{margin-left:auto}.nav-inner>.home-menu-toggle{margin-left:10px}.topbar .nav-actions{gap:8px}}
@media(prefers-reduced-motion:no-preference){.theme-toggle{transition:background .15s,color .15s,border-color .15s}}
