:root {
  color-scheme: light;
  --page: #f5f1e8;
  --surface: #fffdf8;
  --surface-soft: #ede7dc;
  --ink: #292b23;
  --muted: #6b685f;
  --accent: #82513b;
  --wine: #713a40;
  --line: #39372d26;
  --line-strong: #39372d4d;
  --gold: #ba925c;
  --cream: #f7ebd5;
  --shadow: 0 10px 35px #34271508;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #181a17;
  --surface: #20231e;
  --surface-soft: #292d26;
  --ink: #f0ede4;
  --muted: #b4b2a5;
  --accent: #dfc293;
  --wine: #d2a1a3;
  --line: #e5dfcc22;
  --line-strong: #e5dfcc48;
  --gold: #d3b37e;
  --shadow: 0 10px 35px #00000018;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #d6b87f; color: #27251d; }
.theme-toggle { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 50px; padding: 0 13px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 500; white-space: nowrap; flex-shrink: 0; }
.theme-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle:hover { border-color: var(--accent); }
.theme-sun { display: none; }
[data-theme='dark'] .theme-sun { display: block; }
[data-theme='dark'] .theme-moon { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.language-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 30px; background: var(--surface); flex-shrink: 0; }
.language-switch a { display: grid; place-items: center; min-height: 32px; min-width: 33px; border-radius: 24px; color: var(--muted); font-size: 10px; font-weight: 600; }
.language-switch a[aria-current='page'] { background: var(--ink); color: var(--surface); }
.menu-header .theme-toggle,.welcome-header .theme-toggle { width: 38px; height: 38px; min-height: 38px; padding: 0; }
.menu-header .theme-toggle > span,.welcome-header .theme-toggle > span { display: none; }
@media(max-width:700px) { .welcome-header .welcome-location { display: none; } .menu-header .header-actions,.welcome-header .header-actions { gap: 8px; } }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 13px 20px; background: var(--surface); color: var(--ink); border: 1px solid var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 400px) { .theme-toggle { width: 44px; padding: 0; } .theme-toggle > span { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
