/* ===== Kibanakama Design Tokens: Warm Handcraft ===== */

:root {
  /* Palette */
  --card: #fffff8;
  --ring: #d9a440;
  --muted: #f1ece3;
  --accent: #d9a440;
  --border: #e2ddd4;
  --primary: #281d05;
  --on-accent: #111111;
  --secondary: #f1ece3;
  --background: #fefaf0;
  --foreground: #181204;
  --on-primary: #ffffff;
  --destructive: #c9302d;
  --on-secondary: #181204;
  --on-destructive: #ffffff;
  --card-foreground: #181204;
  --muted-foreground: #6b6251;

  /* Surfaces */
  --surface-1: #fefaf0;
  --surface-2: #faf6ea;
  --surface-3: #f5f0e0;

  /* Typography */
  --font-family: 'Figtree', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(40, 29, 5, 0.06);
  --shadow-md: 0 2px 8px rgba(40, 29, 5, 0.08);
  --shadow-lg: 0 4px 16px rgba(40, 29, 5, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease;
  --transition-breath: 4s ease-in-out;

  /* Layout */
  --nav-width: 200px;
  --sidebar-width: 240px;
}

/* ===== Dark Theme ===== */
[data-theme="dark"] {
  --card: #1e1b15;
  --ring: #d9a440;
  --muted: #2a2620;
  --accent: #d9a440;
  --border: #3a352d;
  --primary: #f5edd8;
  --on-accent: #111111;
  --secondary: #2a2620;
  --background: #15130e;
  --foreground: #e8e0d0;
  --on-primary: #15130e;
  --destructive: #e05553;
  --on-secondary: #e8e0d0;
  --on-destructive: #ffffff;
  --card-foreground: #e8e0d0;
  --muted-foreground: #8a8070;

  --surface-1: #15130e;
  --surface-2: #1a1712;
  --surface-3: #201c16;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.5);
}
