/* ============================================================
   BARNOA design tokens — single source of truth for the visual
   system. Consumed by admin.css today; ready for the public site
   to adopt in a later pass. Plain CSS custom properties, no build.
   ============================================================ */
:root {
  /* ---- brand palette ---- */
  --paper: #FBF6EC;
  --ink: #1C140E;
  /* The accent is overridden at runtime from settings.accentColor by
     shared/theme.js, which also derives -deep, -soft and -on-accent so any
     colour the client picks stays legible. These are the shipped defaults. */
  --yolk: #F2B705;
  --yolk-deep: #D99A00;
  --yolk-soft: rgba(242, 183, 5, .18);
  /* Text drawn ON the accent colour. Flips to cream for a dark accent. */
  --on-accent: #1C140E;
  --olive: #3C4A3A;
  --clay: #C4633D;
  --clay-deep: #A84D2C;
  --night: #15100C;

  /* ---- semantic surfaces ---- */
  --bg: #f5f3ee;
  --card: #ffffff;
  --line: #e6e3dc;
  --muted: #7b756c;
  --text: #1a1a1a;

  /* ---- status tints ---- */
  --ok-bg: #d8e6d4;
  --ok-fg: #3c4a3a;
  --warn-bg: #f3dcdc;
  --warn-fg: #a33;
  --err-bg: #fbe3df;
  --err-fg: #9a3520;
  --badge-bg: #efece5;
  --badge-fg: #665;

  /* ---- typography ---- */
  --font-display: "Bricolage Grotesque", serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "Space Mono", monospace;

  /* ---- spacing scale ---- */
  --space-1: 4px;
  --space-2: 6px;
  --space-3: 10px;
  --space-4: 14px;
  --space-5: 18px;
  --space-6: 22px;
  --space-7: 30px;
  --space-8: 44px;

  /* ---- radii ---- */
  --radius-sm: 9px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* ---- elevation ---- */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-pop: 0 30px 70px -30px rgba(0, 0, 0, .6);

  /* ---- focus ring ---- */
  --focus-ring: 3px solid var(--yolk);
}
