/* =========================================================
   Lighthouse Christian Academy: design tokens
   The ONLY place colors, fonts, spacing and radii are defined.
   Colors are sampled from brand_assets/Logo-LCA.png.
   See docs/design-plan.md for the reasoning.
   ========================================================= */

:root {
  /* Brand (from logo) */
  --ink: #332C2B;        /* wordmark: text, footer */
  --ink-70: #5C5352;     /* secondary text, 7:1 on canvas */
  --red: #E62129;        /* lighthouse stripes: the one action color */
  --red-dark: #B9141B;
  --blue: #2D4DAF;       /* seagull: links, verse section */
  --blue-dark: #1F3787;
  --sun: #FFCC1F;        /* sun: happy color blocks, lamp */
  --sun-soft: #FFF3C4;
  --orange: #FF7935;     /* sun bottom: decorative only */
  --sky: #5EC8FF;        /* wave */
  --sky-mid: #A8E2FF;
  --sky-soft: #DDF3FF;

  /* Level steps: light blue (Pre-school) to dark blue (SMA) */
  --level-1: #DDF3FF;
  --level-2: #A8E2FF;
  --level-3: #5EC8FF;
  --level-4: #3A9BE8;
  --level-5: #2D6FCB;
  --level-6: #2D4DAF;

  /* Kid figures */
  --skin: #F2C29B;
  --uniform: #1F3787;

  /* Neutrals */
  --canvas: #F8FCFF;     /* a whisper of sky, not cream */
  --white: #FFFFFF;
  --line: #D6E4EC;

  /* Semantic */
  --text: var(--ink);
  --text-muted: var(--ink-70);
  --link: var(--blue);
  --focus: var(--blue);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  /* Scale: 14 · 16 · 18 · 21 · 24 · 36 · 48 · 60 · 72 */
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-base: 1.125rem;
  --fs-lead: 1.3125rem;
  --fs-h3: 1.5rem;
  --fs-h2: clamp(2.25rem, 1.6rem + 2.4vw, 3rem);
  --fs-big: clamp(2.75rem, 1.8rem + 3.6vw, 3.75rem);
  --fs-h1: clamp(3rem, 1.9rem + 4.4vw, 4.5rem);

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --section-y: clamp(4rem, 2.8rem + 4.5vw, 7rem);

  /* Layout */
  --container: 72rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);

  /* Shape: round and friendly, but varied by role */
  --r-btn: 999px;
  --r-photo: 28px;
  --r-card: 18px;
  --r-small: 6px;
  --shadow-soft: 0 2px 4px rgb(51 44 43 / 0.06), 0 12px 28px rgb(45 77 175 / 0.10);
  --shadow-print: 0 1px 2px rgb(51 44 43 / 0.12), 0 10px 24px rgb(51 44 43 / 0.14);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.8, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}
