/* Pamusha Lake House — design tokens (from docs/design/brand.md) */
:root {
  --linen: #F6F1E9; --linen-2: #EDE5D8;
  --ink: #1C2430; --ink-soft: #4A5361;
  --apricot: #E5A46E; --apricot-text: #98491A;
  --sage: #B7C2B1; --sage-deep: #4F6150;
  --n-50: #FBF8F3; --n-100: #F6F1E9; --n-200: #E6DFD3; --n-300: #CFC7BA; --n-400: #A8A39B;
  --n-500: #7A7F86; --n-600: #5A606A; --n-700: #3E4652; --n-800: #2A323D; --n-900: #1C2430;

  --bg: var(--linen); --surface: var(--linen-2); --surface-2: var(--n-50);
  --text: var(--ink); --text-soft: var(--ink-soft);
  --accent: var(--apricot); --accent-text: var(--apricot-text);
  --sage-text: var(--sage-deep);
  --rule: color-mix(in srgb, var(--ink) 14%, transparent);
  --rule-strong: color-mix(in srgb, var(--ink) 28%, transparent);
  --btn-bg: var(--ink); --btn-text: var(--linen);
  --ink-band: var(--ink); --contour-filter: none;
  --error-text: #A63E24; --focus: var(--text);
  --grain-opacity: 0.035; --grain-blend: multiply;
  --img-placeholder-a: #C9D3D8; --img-placeholder-b: #E8DCC8; --img-placeholder-c: #8FA0A8;

  --font-display: "Fraunces", "Fraunces Fallback", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.75rem, 2rem + 3.6vw, 4.75rem);
  --fs-h1: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
  --fs-h2: clamp(1.75rem, 1.5rem + 1.1vw, 2.25rem);
  --fs-h3: 1.375rem; --fs-body: 1.0625rem; --fs-small: 0.875rem; --fs-eyebrow: 0.6875rem;

  --s-1: 0.5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem; --s-6: 5rem; --s-7: 8rem; --s-8: 13rem;
  --section-y: clamp(5rem, 4rem + 4vw, 8rem);
  --gutter: clamp(1rem, 0.5rem + 3vw, 3rem);
  --max: 72rem; --prose: 40rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 700ms;
  --radius: 2px; --radius-pill: 999px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141A21; --surface: #1C2530; --surface-2: #1A222C;
    --text: #EDE6DA; --text-soft: #B6B0A6;
    --accent: #E5A46E; --accent-text: #E5A46E;
    --sage: #A9B8A3; --sage-text: #A9B8A3;
    --n-500: #8A9099;
    --rule: color-mix(in srgb, #EDE6DA 14%, transparent);
    --rule-strong: color-mix(in srgb, #EDE6DA 28%, transparent);
    --btn-bg: #EDE6DA; --btn-text: #141A21;
    --ink-band: #0E1319; --contour-filter: invert(1);
    --error-text: #F08A6B; --focus: var(--apricot);
    --grain-opacity: 0.05; --grain-blend: overlay;
    --img-placeholder-a: #2B3A46; --img-placeholder-b: #3E3A34; --img-placeholder-c: #1C2530;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141A21; --surface: #1C2530; --surface-2: #1A222C;
  --text: #EDE6DA; --text-soft: #B6B0A6;
  --accent: #E5A46E; --accent-text: #E5A46E;
  --sage: #A9B8A3; --sage-text: #A9B8A3;
  --n-500: #8A9099;
  --rule: color-mix(in srgb, #EDE6DA 14%, transparent);
  --rule-strong: color-mix(in srgb, #EDE6DA 28%, transparent);
  --btn-bg: #EDE6DA; --btn-text: #141A21;
  --ink-band: #0E1319; --contour-filter: invert(1);
  --error-text: #F08A6B; --focus: var(--apricot);
  --grain-opacity: 0.05; --grain-blend: overlay;
  --img-placeholder-a: #2B3A46; --img-placeholder-b: #3E3A34; --img-placeholder-c: #1C2530;
  color-scheme: dark;
}
