/* ============================================
   VARIABLES.CSS — Design Tokens
   ============================================ */

:root {
  /* Colors — dark: ink / bone / sage (default theme) */
  --bg:             #0A0A0A;
  --surface:        #141414;
  --surface-raised: #1B1B1B;
  --border:         rgba(245, 243, 238, 0.14);
  --border-strong:  rgba(245, 243, 238, 0.32);
  --accent:         #93A77C;
  --accent-hover:   #A8BE95;
  --accent-dim:     rgba(147, 167, 124, 0.18);
  --text-primary:   #F5F3EE;
  --text-secondary: rgba(245, 243, 238, 0.68);
  --text-muted:     rgba(245, 243, 238, 0.45);
  --nav-bg:         rgba(10, 10, 10, 0.88);

  /* Fixed — do NOT flip between themes (always-legible text on the sage accent) */
  --white:          #F5F3EE;
  --ink:            #0A0A0A;
  --cream:          #F5F3EE;
  --cream-dim:      rgba(245, 243, 238, 0.08);

  /* Typography */
  --font-display: 'Anton', Impact, sans-serif;
  --font-script:  'Kaushan Script', cursive;
  --font-serif:   'Kaushan Script', cursive;
  --font-heading: 'Inconsolata', monospace;
  --font-body:    'Outfit', sans-serif;

  /* Spacing (4px base) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-6:  24px;
  --space-8:  32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Layout */
  --max-width: 1280px;
  --content-width: 800px;
  --nav-height: 72px;
}

/* ---- Light theme override ---- */
:root[data-theme="light"] {
  --bg:             #F5F3EE;
  --surface:        #E8E6E0;
  --surface-raised: #EDEBE4;
  --border:         rgba(10, 10, 10, 0.14);
  --border-strong:  rgba(10, 10, 10, 0.3);
  --accent-hover:   #7A8F66;
  --accent-dim:     rgba(147, 167, 124, 0.22);
  --text-primary:   #0A0A0A;
  --text-secondary: #3A3A34;
  --text-muted:     #6E6E66;
  --nav-bg:         rgba(245, 243, 238, 0.9);
}
