/* ==========================================================================
   KPS Learning Chronicle — Design System Tokens
   Kushinagar Public School (KPS)
   ========================================================================== */

:root {
  /* Core Palette */
  --ink-navy: #172D3B;
  --ink-navy-deep: #0F202B;
  --ink-navy-soft: #223E4F;
  --forest-green: #244B43;
  --forest-green-deep: #1B3933;
  --warm-ivory: #F7F5EF;
  --warm-ivory-alt: #EFECE3;
  --antique-brass: #C39A58;
  --antique-brass-dark: #8B672B;
  --terracotta: #B66F56;
  --crest-maroon: #54292A;
  --crest-crimson: #9E2A26;
  --text-main: #252B2D;
  --text-muted: #515A5E;
  --text-on-dark: #F2EFE7;
  --text-on-dark-muted: #C8D0D4;
  --border-subtle: #DEDCD3;
  --border-dark: rgba(255, 255, 255, 0.16);
  --white: #FFFFFF;

  /* Semantic Aliases */
  --bg-page: var(--warm-ivory);
  --bg-surface: var(--white);
  --bg-tinted: var(--warm-ivory-alt);
  --color-primary: var(--ink-navy);
  --color-secondary: var(--forest-green);
  --color-accent: var(--antique-brass);
  --color-warm: var(--terracotta);
  --color-heritage: var(--crest-maroon);
  --color-error: #9B2C2C;
  --color-success: #244B43;

  /* Typography */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type Scale */
  --fs-eyebrow: 0.75rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lead: 1.125rem;
  --fs-h4: 1.25rem;
  --fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --fs-h2: clamp(1.85rem, 1.45rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.65rem + 2.5vw, 3.85rem);

  /* Spacing & Layout */
  --container-max: 1280px;
  --container-narrow: 920px;
  --gutter: clamp(1rem, 2.5vw, 2rem);
  --section-py: clamp(3.5rem, 6vw, 6.25rem);
  --section-py-sm: clamp(2.5rem, 4vw, 4rem);

  /* Borders & Radii */
  --radius-none: 0px;
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --border-thin: 1px solid var(--border-subtle);

  /* Elevation (Restrained Editorial) */
  --shadow-subtle: 0 6px 24px rgba(23, 45, 59, 0.06);
  --shadow-card: 0 12px 34px rgba(23, 45, 59, 0.08);
  --shadow-frame: 0 18px 44px rgba(15, 32, 43, 0.14);

  /* Motion */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 280ms;
  --t-slow: 520ms;
}

