/* KORE Group VSME 2025 — Design Tokens
   Source of truth: design_package/exports/tokens.json
   Contrast ratios verified WCAG 2.2 AA. */

:root {
  /* Neutral foundation */
  --kg-deep-green:    #13322B;
  --kg-charcoal:      #1F2422;
  --kg-offwhite:      #F5F1EA;
  --kg-soft-grey:     #E2DDD3;
  --kg-mid-grey:      #6A6F6C;
  --kg-surface:       #FBF8F1;
  --kg-surface-2:     #EFEADE;

  /* KORE Croí pillar accents */
  --kg-hh:  #8C3A1F; /* Heritage and Heart */
  --kg-si:  #2E6F4F; /* Sustainability and Innovation */
  --kg-ai:  #1B4E66; /* Accountability and Integrity */
  --kg-pp:  #7B5D2C; /* People and Purpose */

  /* Semantic */
  --kg-verification: var(--kg-ai);
  --kg-omitted:      #7A6A4F;
  --kg-developing:   var(--kg-pp);
  --kg-partly:       #7F5215;
  --kg-limited:      var(--kg-mid-grey);
  --kg-as-issued:    var(--kg-si);

  /* Type */
  --kg-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --kg-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --kg-mono:    ui-monospace, 'IBM Plex Mono', Menlo, monospace;

  /* Type scale */
  --kg-hero: 3.5rem;     /* 56px */
  --kg-h1:   2.5rem;     /* 40px */
  --kg-h2:   1.875rem;   /* 30px */
  --kg-h3:   1.375rem;   /* 22px */
  --kg-h4:   1.125rem;   /* 18px */
  --kg-lead: 1.1875rem;  /* 19px */
  --kg-body-size: 1.0625rem; /* 17px — editorial reading size (May 2026) */
  --kg-small: 0.875rem;  /* 14px */
  --kg-caption: 0.8125rem; /* 13px */
  --kg-eyebrow: 0.75rem; /* 12px */
  --kg-data-xl: 2.75rem; /* 44px */
  --kg-data-lg: 1.75rem; /* 28px */

  /* Spacing */
  --kg-1: 4px;
  --kg-2: 8px;
  --kg-3: 12px;
  --kg-4: 16px;
  --kg-5: 24px;
  --kg-6: 32px;
  --kg-7: 48px;
  --kg-8: 64px;
  --kg-9: 96px;

  /* Layout */
  --kg-container: 1180px;
  --kg-narrow:    760px;
  --kg-nav-h:     64px;

  /* Radius / shadow */
  --kg-r-sm: 4px;
  --kg-r:    8px;
  --kg-r-lg: 12px;
  --kg-r-pill: 999px;
  --kg-shadow-1: 0 1px 0 rgba(31,36,34,0.06), 0 1px 2px rgba(31,36,34,0.04);
  --kg-shadow-2: 0 4px 16px rgba(31,36,34,0.06);
  --kg-shadow-3: 0 12px 32px rgba(31,36,34,0.10);

  /* Motion */
  --kg-d-xs: 120ms;
  --kg-d-sm: 180ms;
  --kg-d-md: 240ms;
  --kg-d-lg: 320ms;
  --kg-ease: cubic-bezier(0.2, 0.0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root { --kg-d-xs: 0ms; --kg-d-sm: 0ms; --kg-d-md: 0ms; --kg-d-lg: 0ms; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
