/* One composition, two light conditions. */
html[data-theme="night"] { color-scheme:dark; --ground:oklch(15% 0 0); --ink:oklch(96% 0 0); --muted:oklch(77% 0 0); --brand:oklch(49% .19 11); --accent:oklch(70% .15 11); --field:oklch(21% 0 0); }
.theme-control { display:flex; align-items:center; gap:12px; padding:12px var(--gutter); justify-content:flex-end; background:var(--ground); color:var(--ink); font-size:14px; }
.theme-control label { display:flex; align-items:center; gap:12px; }
.theme-control select { font:inherit; min-height:44px; padding:8px 32px 8px 12px; background:var(--field);color:var(--ink); border:0; border-radius:0; }
.theme-control select:focus-visible { outline:3px solid var(--accent);outline-offset:3px; }
.theme-control [data-theme-status] { color:var(--muted); }
html[data-theme="night"] .hero-a { background:var(--ground); }
html[data-theme="night"] .hero-a .hero-copy { color:var(--ink); }
html[data-theme="night"] .hero-a .button { color:var(--ink); }
html[data-theme="night"] .hero-brand-doors a { background:var(--field); color:var(--ink); }
/* taste-skill-ignore: neutral scrim over night hero photograph, explicitly allowed photo readability exception. */
html[data-theme="night"] .hero-a .hero-visual::after { content:""; position:absolute;inset:0;background:linear-gradient(90deg,oklch(0% 0 0 / .65),transparent 80%); } /* taste-skill-ignore: neutral scrim over photo */
@media(max-width:600px) {
  .theme-control { justify-content:space-between;gap:8px;padding-block:4px 12px; }
  .theme-control [data-theme-status] { font-size:13px; }
  html[data-theme="night"] .hero-a { background:var(--ground); }
  html[data-theme="night"] .hero-a .hero-copy { background:var(--ground); }
  html[data-theme="night"] .hero-a .hero-visual::after { background:none; }
}
body.theme-c { --display:inherit; }
.theme-c .intro { grid-template-columns:1fr 1fr; }
@media(max-width:800px) { .theme-c .intro { grid-template-columns:1fr 1.1fr; } }
@media(max-width:600px) { .theme-c .intro { grid-template-columns:1fr; } }
