/**
 * Cherub Schools - Next-Gen Luxury Design Tokens
 * Bright Luxury Editorial Palette (Crisp White Canvas, Deep Royal Navy, Cerulean Blue, Tangerine Accent)
 * Derived from Cherub Schools Shield & Crest (2011)
 */

:root {
  /* Brand Core (Derived from Cherub Schools Shield & Crest) */
  --brand-navy-dark: #0A192F;          /* Deepest Royal Navy (Headings, Footer, High-Contrast Text) */
  --brand-navy: #0F172A;               /* Dark Slate Navy */
  --brand-navy-surface: #1E293B;       /* Dark Accent Surface */
  --brand-navy-border: rgba(15, 23, 42, 0.08);

  --brand-blue: #007CB8;               /* Cherub Cerulean Blue */
  --brand-blue-deep: #005F8D;          /* Deep Cerulean */
  --brand-blue-glow: #0099FF;          /* Luminous Accent Blue */
  --brand-blue-subtle: rgba(0, 124, 184, 0.08);
  --brand-cyan: #0284C7;               /* Laser Sky/Cyan Highlight */
  --brand-cyan-light: #38BDF8;         /* Cyan Light for Dark accents */
  --brand-indigo: #4F46E5;             /* Electric Indigo */

  /* High-Contrast Warm Accent */
  --brand-amber: #D97706;              /* Golden Amber */
  --brand-tangerine: #FF6B2B;          /* High-Voltage Tangerine CTA */
  --brand-tangerine-hover: #E85A1D;    /* Hover State */
  --brand-tangerine-glow: rgba(255, 107, 43, 0.35);

  /* Light Editorial Canvas & Surfaces */
  --canvas-bg: #FFFFFF;                /* Crisp White Canvas */
  --canvas-alt: #F8FAFC;               /* Subtle Pearl Section Background */
  --canvas-subtle: #F1F5F9;            /* Light Slate Accent */
  --surface-card: #FFFFFF;             /* Elevated White Card */
  --surface-card-hover: #FFFFFF;
  --surface-card-alt: #F8FAFC;
  --surface-dark-card: #0F172A;        /* For intentional contrast cards */

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-blue: rgba(0, 124, 184, 0.25);
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Glass Tokens (Light Mode Glassmorphism) */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-bg-hover: rgba(255, 255, 255, 0.96);
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-border-hover: rgba(0, 124, 184, 0.3);
  --glass-specular: inset 0 1px 0 rgba(255, 255, 255, 0.8);

  /* Dark Glass Tokens (for dark cards & footer) */
  --dark-glass-bg: rgba(15, 23, 42, 0.75);
  --dark-glass-border: rgba(255, 255, 255, 0.1);

  /* Typography Colors (High Contrast AAA on Light) */
  --text-primary: #0A192F;             /* Deepest Navy for Headlines (16.8:1 AAA) */
  --text-secondary: #334155;           /* Slate Body Text (10.2:1 AAA) */
  --text-muted: #64748B;               /* Secondary Details & Captions (4.8:1 AA) */
  --text-dim: #94A3B8;                 /* Dividers & Icons */

  /* Inverted Typography (for dark cards, hero accents & footer) */
  --text-light-primary: #FFFFFF;
  --text-light-secondary: #E2E8F0;
  --text-light-muted: #94A3B8;

  /* Spacing Scale (Fibonacci & Golden Ratio Rhythms) */
  --space-3xs: 2px;
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 13px;
  --space-md: 21px;
  --space-lg: 34px;
  --space-xl: 55px;
  --space-2xl: 89px;
  --space-3xl: 144px;

  /* Concentric Radii (Outer - Padding = Inner) */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Typography Scales (Fluid Clamps) */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --text-hero: clamp(2.5rem, 1.8rem + 4.5vw, 4.75rem);
  --text-h1: clamp(2rem, 1.4rem + 3.2vw, 3.5rem);
  --text-h2: clamp(1.65rem, 1.15rem + 2.2vw, 2.5rem);
  --text-h3: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  --text-subheading: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  --text-body: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* Elevated Multi-Layer Shadows */
  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-card-hover: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 24px 48px -8px rgba(15, 23, 42, 0.12);
  --shadow-glow-blue: 0 12px 35px -8px rgba(0, 124, 184, 0.35);
  --shadow-glow-tangerine: 0 10px 30px -6px rgba(255, 107, 43, 0.4);
  --shadow-float: 0 20px 40px -12px rgba(15, 23, 42, 0.15);

  /* Containers */
  --container-max: 76rem;
  --container-gutter: clamp(1rem, 4vw, 2.5rem);

  /* Springs & Physics Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-base: 250ms var(--ease-out-expo);
  --transition-smooth: 400ms var(--ease-out-expo);
}
