/* Hallmark · theme: national-olympiad-academic · genre: editorial · redesign: restyle */
:root {
  color-scheme: light;
  
  /* 4px Spacing Scale */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 40px;
  --space-4xl: 48px;
  --space-5xl: 56px;
  --space-6xl: 64px;

  /* Typography Scale */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-md: 1rem;       /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.375rem;   /* 22px */
  --text-2xl: 1.75rem;   /* 28px */
  --text-3xl: 2.25rem;   /* 36px */
  --text-display: clamp(2.35rem, 4.2vw + 0.5rem, 3.45rem);
  --text-section: clamp(1.85rem, 2.8vw + 0.5rem, 2.35rem);
  --text-title: clamp(1.125rem, 0.5vw + 0.875rem, 1.375rem);

  /* Animation & Motion (Ease & Durations) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 200ms;
  --dur-medium: 320ms;

  /* Updated Design Palette per CEO Audit */
  --color-paper: oklch(98.2% 0.012 75);         /* Secondary warm white canvas #FBF8F2 */
  --color-paper-2: oklch(96.8% 0.015 75);       /* Subtle warm surface */
  --color-paper-3: oklch(93.5% 0.018 75);       /* Soft neutral well */
  --color-paper-card: oklch(99.6% 0.005 75);    /* Pure white card with subtle warm chroma */
  
  --color-ink: oklch(28.5% 0.075 255);          /* Primary Deep Navy #10294B */
  --color-ink-2: oklch(38% 0.05 255);           /* Secondary navy text */
  --color-muted: oklch(48% 0.025 250);          /* Muted subtext (>= 4.5:1 contrast) */
  --color-on-dark-text: oklch(97% 0.008 75);    /* High-contrast on dark chrome */
  --color-on-dark-border: oklch(34% 0.04 255);  /* Clean border on dark surfaces */

  --color-rule: oklch(90% 0.01 75);             /* Subtle card border */
  --color-rule-strong: oklch(82% 0.015 75);     /* Defined border */

  /* Trademark Logo Brand Colors */
  --color-brand-teal: oklch(74% 0.12 195);      /* Original Brand Teal #5FB9BA for INNOVATION */
  --color-logo-black: oklch(18% 0.02 255);      /* Black for ATAL, EXAM and (R) */

  /* Supporting Website Accent: Saffron #E87516 (>= 4.5:1 WCAG AAA Contrast) */
  --color-accent: oklch(53% 0.18 50);           /* Vibrant Academic Saffron */
  --color-accent-hover: oklch(46% 0.18 50);     /* Focused saffron hover */
  --color-accent-ink: oklch(99% 0.005 75);      /* Crisp white text on saffron */
  --color-accent-subtle: oklch(95% 0.035 65);   /* Soft saffron pill wash */
  --color-accent-shadow: oklch(53% 0.18 50 / 0.35);
  --color-pulse-shadow: oklch(53% 0.18 50 / 0.5);

  /* Secondary Navy Button */
  --color-navy-btn: oklch(28.5% 0.075 255);     /* Deep Navy #10294B */
  --color-navy-btn-hover: oklch(22% 0.075 255);
  --color-navy-shadow: oklch(28.5% 0.075 255 / 0.25);

  /* Timeline & Status States */
  --color-timeline-deadline: oklch(48% 0.22 25); /* Deadline: Orange-red */
  --color-timeline-deadline-bg: oklch(96% 0.03 25);
  --color-timeline-exam: oklch(28.5% 0.075 255);  /* Examination: Deep Navy */
  --color-timeline-exam-bg: oklch(95% 0.03 255);
  --color-timeline-result: oklch(53% 0.18 50);   /* Results: Saffron */
  --color-timeline-result-bg: oklch(95% 0.035 65);

  /* Disciplines Accents */
  --color-ruby: oklch(48% 0.22 15);             /* UHV Values */
  --color-ruby-subtle: oklch(96% 0.03 15);
  --color-emerald: oklch(46% 0.16 155);         /* Science */
  --color-emerald-subtle: oklch(96% 0.035 155);
  --color-gold: oklch(52% 0.16 75);             /* Technical Analysis */
  --color-gold-subtle: oklch(96% 0.04 75);
  --color-purple: oklch(48% 0.22 295);          /* Engineering Concepts */
  --color-purple-subtle: oklch(96% 0.03 295);
  --color-blue: oklch(48% 0.20 255);            /* Mathematics */
  --color-blue-subtle: oklch(95% 0.035 255);

  /* Vision Banner Gradients */
  --color-vision-start: oklch(24% 0.07 255);
  --color-vision-end: oklch(32% 0.09 255);

  --color-focus: oklch(53% 0.18 50);

  /* Typography Families (Strictly 3 Families) */
  --font-serif-display: 'Playfair Display', Georgia, serif;
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-outlier: 'DM Sans', ui-sans-serif, system-ui, sans-serif;

  /* Card Radii & Layered Elevation */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px oklch(28.5% 0.075 255 / 0.04);
  --shadow-md: 0 4px 16px -2px oklch(28.5% 0.075 255 / 0.06), 0 2px 6px -1px oklch(28.5% 0.075 255 / 0.03);
  --shadow-lg: 0 12px 32px -4px oklch(28.5% 0.075 255 / 0.08), 0 4px 12px -2px oklch(28.5% 0.075 255 / 0.04);
  --shadow-glow: 0 10px 25px -3px oklch(53% 0.18 50 / 0.28);
}
