/* Warm ivory / bronze by day; the approved obsidian / champagne by night. */
html[data-theme="day"] {
  color-scheme: light;
  --bg: #f6f2e9;
  --surface: #ece6da;
  --surface-raised: #e3dac9;
  --text: #292b27;
  --muted: #5f5d53;
  --accent: #755627;
  --line: #ccc1ad;
  --control-line: #97856a;
}
.theme-control { display:flex; align-items:center; gap:8px; order:2; flex-shrink:0; margin:0; }
.theme-control [data-theme-label] { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.theme-control select { width:auto; min-width:98px; min-height:44px; margin:0; padding:8px 9px; border:1px solid var(--control-line); border-radius:4px; background:var(--bg); color:var(--accent); font:500 13px/1.4 var(--font-body); cursor:pointer; }
.theme-control select:hover { background:var(--surface); }
.theme-control select:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
.site-header { gap:18px; }
.site-header #navigation { gap:23px; }
.site-header .language-menu { order:1; }
html[data-theme="day"] .hero { background:var(--bg); }
html[data-theme="day"] .hero-art::after { background:linear-gradient(90deg,#f6f2e9ee 0%,#f6f2e978 36%,#f6f2e900 62%),linear-gradient(0deg,var(--bg),transparent 28%); }
html[data-theme="day"] .hero .eyebrow { color:var(--accent); }
html[data-theme="day"] .hero-description { color:#55574e; }
html[data-theme="day"] .hero-products { border-color:var(--line); }
html[data-theme="day"] .product-tagline,
html[data-theme="day"] .about-statement>p { color:#40433a; }
html[data-theme="day"] .about-statement .about-small { color:var(--muted); }
html[data-theme="day"] .explore-heading .explore-note { color:var(--muted)!important; }
html[data-theme="day"] .bioai-visual { background:#ece6d9; }
html[data-theme="day"] .bioai-screenshot { border-color:var(--line); box-shadow:0 16px 32px #58442316; }
html[data-theme="day"] .wenxiang-visual { background:#e7dfce; border-color:var(--line); }
html[data-theme="day"] .wenxiang-wordmark { color:#876c3f; opacity:.82; }
html[data-theme="day"] .phone { border-color:#ede4d1; outline-color:#a39070; box-shadow:-14px 24px 44px #58442326; }
html[data-theme="day"] .connect { background:#eae3d4; border-color:var(--line); }
html[data-theme="day"] .mark-circle { background:#f5efe2; border-color:#b8a783; }
html[data-theme="day"] .button.primary:hover { background:#5d441f; border-color:#5d441f; color:#fffaf0; }
html[data-theme="day"] dialog::backdrop { background:#29271fa8; }
html[data-theme="day"] input,
html[data-theme="day"] textarea,
html[data-theme="day"] select { border-color:var(--control-line); }
html[data-theme="day"] input::placeholder,
html[data-theme="day"] textarea::placeholder { color:#6b695f; }
html[data-theme="day"] .product-menu-panel,
html[data-theme="day"] .language-options { box-shadow:0 18px 40px #57442b1f; }
.theme-note { width:100%; color:var(--muted); font-size:12px; line-height:1.8; max-width:80ch; }
@media(max-width:1200px) and (min-width:1101px) {
  .site-header { padding-inline:26px; gap:13px; }
  .site-header #navigation { gap:17px; font-size:14px; }
  #navigation .nav-contact { padding-inline:13px; }
  .nav-contact span { margin-left:8px; }
  .brand>span:not(.brand-symbol) { font-size:19px; }
}
@media(max-width:640px) {
  .site-header { display:grid; grid-template-columns:minmax(0,1fr) auto 44px; height:auto; min-height:124px; padding:12px 20px; gap:8px 12px; }
  .site-header .brand { margin:0; grid-column:1; grid-row:1; }
  .site-header .language-menu { grid-column:2; grid-row:1; }
  .site-header .menu-toggle { grid-column:3; grid-row:1; }
  .site-header .theme-control { grid-column:1 / -1; grid-row:2; justify-self:end; }
  .site-header .theme-control [data-theme-label] { position:static; width:auto; height:auto; clip:auto; font-size:12px; color:var(--muted); }
  .site-header .theme-control select { min-width:112px; font-size:13px; }
  .site-header #navigation { top:calc(100% - 2px); }
}
@media(max-width:360px) {
  .site-header { padding-inline:12px; column-gap:8px; }
  .site-header .brand { gap:8px; }
  .brand>span:not(.brand-symbol) { font-size:17px; }
  .brand .brand-symbol { width:38px; height:38px; }
}
@media(max-width:800px) {
  html[data-theme="day"] .hero-art::after { background:linear-gradient(90deg,#f6f2e9ed,#f6f2e978 45%,transparent 85%),linear-gradient(0deg,var(--bg),transparent 30%); }
}
@media(max-width:520px) {
  html[data-theme="day"] .hero-art::after { background:linear-gradient(180deg,var(--bg),transparent 12%,transparent 83%,var(--bg)); }
}

html[data-theme] .hero-art img[data-theme-day]:not([data-theme-ready]){visibility:hidden}
