/* ==========================================================================
   Grove Foundry — Design Tokens & Custom Properties
   ========================================================================== */

:root {
  /* ---- Colours ---- */
  --color-bg-dark: #1a1f1e;
  --color-bg-light: #f4f1ec;
  --color-accent-green: #5a7a64;
  --color-accent-warm: #a06a2a;
  --color-text-light: #e8e4de;
  --color-text-dark: #2a2f2e;
  --color-text-muted: #636866;

  /* Hover / interaction states */
  --color-accent-warm-hover: #b47a3a;
  --color-accent-green-hover: #6a8a74;

  /* Alpha variants for dark backgrounds */
  --color-light-70: rgba(232, 228, 222, 0.7);
  --color-light-60: rgba(232, 228, 222, 0.6);
  --color-light-50: rgba(232, 228, 222, 0.55);
  --color-light-40: rgba(232, 228, 222, 0.5);
  --color-dark-10: rgba(42, 47, 46, 0.08);

  /* ---- Typography ---- */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Type scale (major third — 1.25) */
  --text-xs: 0.8rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 3.75rem;

  /* Line heights */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Font weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* ---- Spacing ---- */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* ---- Layout ---- */
  --container-max: 1200px;
  --container-narrow: 800px;
  --container-padding: 1.5rem;

  /* ---- Borders & Radius ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* ---- Transitions ---- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* ---- Z-index scale ---- */
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
}
