/**
 * Kwaku-Rediscovered Official Brand Tokens
 * Source: DESIGN_SYSTEM.md & MASTER_SPECIFICATION.md
 * Author: Debasish Moharana
 */

:root {
  /* Primary Authority Colors */
  --kr-navy: #0B2D4D;          /* Deep Navy: Primary authority, header, footer, deep fields */
  --kr-navy-dark: #071F36;     /* Darker Navy for active/hover states */
  --kr-blue: #173A5E;          /* Leadership Blue: Subheaders, card borders, interactive panels */
  --kr-blue-hover: #1F4C7A;    /* Leadership Blue hover */

  /* Accent Colors */
  --kr-gold: #C6922E;          /* Cultivated Gold: Primary CTAs, active highlights, key badges */
  --kr-gold-hover: #B28225;    /* Cultivated Gold hover state */
  --kr-gold-accessible: #936717;/* Darker gold when used for standalone text icons */
  --kr-bronze: #8A5E2E;        /* High-Contrast Heritage Bronze: Warm secondary accent, dividers */
  --kr-bronze-light: #C49865;  /* Soft bronze tint */

  /* Visual Chapter Colors (Michelle's Strategic Contrast Direction) */
  --kr-teal: #0D3B4C;          /* Deep Teal: Chapter background and research depth */
  --kr-teal-dark: #082631;     /* Midnight Teal: Maximum contrast fields */
  --kr-teal-light: #E6F0F2;    /* Soft Teal tint */

  /* Background & Contrast Surfaces */
  --kr-ivory: #F7F2E8;         /* Warm Ivory: Reflective background, warm section negative space */
  --kr-quiet-blue: #E8EEF4;    /* Quiet Blue: Soft alternate sections, gentle surface contrast */
  --kr-white: #FFFFFF;         /* Crisp White: Card surfaces, clean containers */
  --kr-gray-50: #F8FAFC;       /* Neutral light surface */
  --kr-gray-100: #F1F5F9;      /* Border light */
  --kr-gray-200: #E2E8F0;      /* Border standard */
  --kr-gray-300: #CBD5E1;      /* Border emphasized */

  /* High-Contrast Typography */
  --kr-text-dark: #1C242B;     /* Charcoal Body: High contrast readability on Ivory/White */
  --kr-text-muted: #4A5B6B;    /* Accessible Slate: Secondary captions, subheadings, meta */
  --kr-text-light: #FFFFFF;    /* Pure White: Text on Deep Navy and Midnight Teal */
  --kr-text-light-muted: #D1DEEA; /* Soft light text on Deep Navy backgrounds */

  /* Editorial Typography Scale (Cormorant Garamond + Inter Pairing) */
  --kr-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --kr-font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --kr-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --kr-font-size-xs: 0.75rem;    /* 12px */
  --kr-font-size-sm: 0.875rem;   /* 14px */
  --kr-font-size-base: 1.0625rem;/* 17px - optimal reading size */
  --kr-font-size-md: 1.1875rem;  /* 19px */
  --kr-font-size-lg: 1.375rem;   /* 22px */
  --kr-font-size-xl: 1.625rem;   /* 26px */
  --kr-font-size-2xl: 2.0rem;    /* 32px */
  --kr-font-size-3xl: 2.5rem;    /* 40px */
  --kr-font-size-4xl: 3.125rem;  /* 50px */

  --kr-line-height-tight: 1.2;
  --kr-line-height-heading: 1.3;
  --kr-line-height-base: 1.65;
  --kr-line-height-loose: 1.8;

  /* Spacing Scale */
  --kr-space-1: 0.25rem;   /* 4px */
  --kr-space-2: 0.5rem;    /* 8px */
  --kr-space-3: 0.75rem;   /* 12px */
  --kr-space-4: 1.0rem;    /* 16px */
  --kr-space-5: 1.25rem;   /* 20px */
  --kr-space-6: 1.5rem;    /* 24px */
  --kr-space-8: 2.0rem;    /* 32px */
  --kr-space-10: 2.5rem;   /* 40px */
  --kr-space-12: 3.0rem;   /* 48px */
  --kr-space-16: 4.0rem;   /* 64px */
  --kr-space-20: 5.0rem;   /* 80px */
  --kr-space-24: 6.0rem;   /* 96px */

  /* Layout Containers */
  --kr-container-max: 1200px;
  --kr-container-narrow: 900px;
  --kr-container-header: 1400px;

  /* Radii */
  --kr-radius-sm: 4px;
  --kr-radius-md: 8px;
  --kr-radius-lg: 12px;
  --kr-radius-full: 9999px;

  /* Shadows */
  --kr-shadow-sm: 0 1px 3px rgba(11, 45, 77, 0.08);
  --kr-shadow-md: 0 4px 12px rgba(11, 45, 77, 0.10);
  --kr-shadow-lg: 0 10px 25px rgba(11, 45, 77, 0.12);
  --kr-shadow-header: 0 2px 8px rgba(7, 31, 54, 0.25);

  /* Transitions */
  --kr-transition-fast: 0.15s ease;
  --kr-transition-base: 0.25s ease;
  --kr-transition-slow: 0.4s ease;

  /* Focus Ring (WCAG 2.1 AA) */
  --kr-focus-ring: 0 0 0 3px rgba(198, 146, 46, 0.6);
  --kr-focus-ring-offset: 2px;
}

