/* Shared typography, colors, and spacing. Layout rules live in styles.css. */

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #f4f1eb;
  --foreground: #292e29;
  --muted: #696d64;
  --line: #d5d6cb;
  --accent: #6a7258;
  --surface: #e9e7df;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --page-width: 1440px;
  --gutter: clamp(22px, 5.2vw, 88px);
}

html[data-style="midnight"] { color-scheme: dark; --background: #151917; --foreground: #e6eae3; --muted: #a6afa4; --line: #363f37; --accent: #bdcdb4; --surface: #1d231f; --page-width: 1600px; --gutter: clamp(22px, 3vw, 52px); }

html[data-style="museum"] { --background: #fff; --foreground: #232622; --muted: #72766f; --line: #dedfd9; --accent: #a0442b; --surface: #f5f5f2; --page-width: 1210px; --gutter: clamp(22px, 6.5vw, 110px); }
