/* Kinza brand color scheme — warm cream paper + deep cola red.
 * Repurposes the "graphite" slot so it stays the default for new visitors. */
:root {
  --background: oklch(0.972 0.018 85);
  --foreground: oklch(0.18 0.045 285);
  --card: oklch(0.992 0.01 85);
  --card-foreground: oklch(0.18 0.045 285);
  --popover: oklch(0.992 0.01 85);
  --popover-foreground: oklch(0.18 0.045 285);
  --primary: oklch(0.555 0.215 26);
  --primary-foreground: oklch(0.98 0.012 85);
  --secondary: oklch(0.93 0.025 80);
  --secondary-foreground: oklch(0.18 0.045 285);
  --muted: oklch(0.94 0.02 82);
  --muted-foreground: oklch(0.42 0.04 285);
  --accent: oklch(0.86 0.155 78);
  --accent-foreground: oklch(0.18 0.045 285);
  --destructive: oklch(0.555 0.22 25);
  --destructive-foreground: oklch(0.99 0 0);
  --border: oklch(0.88 0.025 80);
  --input: oklch(0.93 0.022 80);
  --ring: oklch(0.555 0.215 26);
  --chart-1: oklch(0.555 0.215 26);
  --chart-2: oklch(0.7 0.175 55);
  --chart-3: oklch(0.85 0.155 95);
  --chart-4: oklch(0.55 0.21 305);
  --chart-5: oklch(0.6 0.18 350);
  --sidebar: oklch(0.96 0.018 85);
  --sidebar-foreground: oklch(0.18 0.045 285);
  --sidebar-primary: oklch(0.555 0.215 26);
  --sidebar-primary-foreground: oklch(0.98 0.012 85);
  --sidebar-accent: oklch(0.86 0.155 78);
  --sidebar-accent-foreground: oklch(0.18 0.045 285);
  --sidebar-border: oklch(0.88 0.025 80);
  --sidebar-ring: oklch(0.555 0.215 26);
  --font-sans:
    "Bricolage Grotesque", "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-serif:
    "Bricolage Grotesque", "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-mono:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  --radius: 1rem;
  --shadow-x: 0px;
  --shadow-y: 8px;
  --shadow-blur: 28px;
  --shadow-spread: -8px;
  --shadow-opacity: 0.18;
  --shadow-color: oklch(0.18 0.05 25 / 0.12);
  --shadow-2xs: 0px 1px 2px 0 oklch(0.18 0.05 25 / 0.06);
  --shadow-xs: 0px 2px 4px -1px oklch(0.18 0.05 25 / 0.08);
  --shadow-sm:
    0px 4px 8px -2px oklch(0.18 0.05 25 / 0.1),
    0px 2px 4px -1px oklch(0.18 0.05 25 / 0.06);
  --shadow:
    0px 6px 16px -3px oklch(0.18 0.05 25 / 0.14),
    0px 4px 8px -2px oklch(0.18 0.05 25 / 0.08);
  --shadow-md:
    0px 8px 24px -4px oklch(0.18 0.05 25 / 0.18),
    0px 4px 12px -2px oklch(0.18 0.05 25 / 0.1);
  --shadow-lg:
    0px 16px 40px -8px oklch(0.18 0.05 25 / 0.22),
    0px 8px 20px -4px oklch(0.18 0.05 25 / 0.12);
  --shadow-xl:
    0px 24px 56px -10px oklch(0.18 0.05 25 / 0.26),
    0px 12px 28px -6px oklch(0.18 0.05 25 / 0.14);
  --shadow-2xl: 0px 32px 80px -12px oklch(0.18 0.05 25 / 0.36);
  --tracking-normal: -0.005em;
  --spacing: 0.25rem;
}

html[data-theme="dark"] {
  --background: oklch(0.155 0.035 25);
  --foreground: oklch(0.96 0.018 85);
  --card: oklch(0.205 0.045 22);
  --card-foreground: oklch(0.96 0.018 85);
  --popover: oklch(0.205 0.045 22);
  --popover-foreground: oklch(0.96 0.018 85);
  --primary: oklch(0.68 0.22 28);
  --primary-foreground: oklch(0.155 0.035 25);
  --secondary: oklch(0.27 0.05 22);
  --secondary-foreground: oklch(0.96 0.018 85);
  --muted: oklch(0.245 0.04 22);
  --muted-foreground: oklch(0.72 0.04 80);
  --accent: oklch(0.86 0.155 78);
  --accent-foreground: oklch(0.155 0.035 25);
  --destructive: oklch(0.68 0.22 25);
  --destructive-foreground: oklch(0.99 0 0);
  --border: oklch(0.295 0.04 22);
  --input: oklch(0.27 0.05 22);
  --ring: oklch(0.68 0.22 28);
  --chart-1: oklch(0.68 0.22 28);
  --chart-2: oklch(0.78 0.17 55);
  --chart-3: oklch(0.86 0.155 95);
  --chart-4: oklch(0.7 0.21 305);
  --chart-5: oklch(0.72 0.19 350);
  --sidebar: oklch(0.18 0.04 24);
  --sidebar-foreground: oklch(0.96 0.018 85);
  --sidebar-primary: oklch(0.68 0.22 28);
  --sidebar-primary-foreground: oklch(0.155 0.035 25);
  --sidebar-accent: oklch(0.86 0.155 78);
  --sidebar-accent-foreground: oklch(0.155 0.035 25);
  --sidebar-border: oklch(0.295 0.04 22);
  --sidebar-ring: oklch(0.68 0.22 28);
  --font-sans:
    "Bricolage Grotesque", "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-serif:
    "Bricolage Grotesque", "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-mono:
    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  --radius: 1rem;
  --shadow-x: 0px;
  --shadow-y: 8px;
  --shadow-blur: 28px;
  --shadow-spread: -8px;
  --shadow-opacity: 0.4;
  --shadow-color: oklch(0 0 0 / 0.4);
  --shadow-2xs: 0px 1px 2px 0 oklch(0 0 0 / 0.18);
  --shadow-xs: 0px 2px 4px -1px oklch(0 0 0 / 0.24);
  --shadow-sm:
    0px 4px 8px -2px oklch(0 0 0 / 0.32), 0px 2px 4px -1px oklch(0 0 0 / 0.2);
  --shadow:
    0px 6px 16px -3px oklch(0 0 0 / 0.42), 0px 4px 8px -2px oklch(0 0 0 / 0.26);
  --shadow-md:
    0px 8px 24px -4px oklch(0 0 0 / 0.5), 0px 4px 12px -2px oklch(0 0 0 / 0.3);
  --shadow-lg:
    0px 16px 40px -8px oklch(0 0 0 / 0.55),
    0px 8px 20px -4px oklch(0 0 0 / 0.34);
  --shadow-xl:
    0px 24px 56px -10px oklch(0 0 0 / 0.6),
    0px 12px 28px -6px oklch(0 0 0 / 0.4);
  --shadow-2xl: 0px 32px 80px -12px oklch(0 0 0 / 0.72);
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);

  --font-sans: var(--font-sans);
  --font-mono: var(--font-mono);
  --font-serif: var(--font-serif);

  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);

  --shadow-2xs: var(--shadow-2xs);
  --shadow-xs: var(--shadow-xs);
  --shadow-sm: var(--shadow-sm);
  --shadow: var(--shadow);
  --shadow-md: var(--shadow-md);
  --shadow-lg: var(--shadow-lg);
  --shadow-xl: var(--shadow-xl);
  --shadow-2xl: var(--shadow-2xl);
}
