/* drlewicki.com · tokens.css · "Comic Strip" redesign, Round 3 (Nov 2026)
   Load this BEFORE site.css. Every colour, font, size, radius and shadow lives here.
   To match the Song Video Kit, change only the SECTIONS block (and the palette if the kit adds hues). */

/* FONTS: two families, Luckiest Guy and Atkinson Hyperlegible Next. Load them in <head> (see template-changes.md, step 1).
   The family names below must match exactly. */

:root {
  /* paper and ink: newsprint and chocolate-brown ink, the same ink as the dog books */
  --paper: #FFF9EE;
  --paper-2: #FBEFD9;
  --white: #FFFFFF;
  --ink: #2B1608;          /* 16:1 on paper */
  --ink-2: #5A3E2B;        /* secondary text: 9:1 on paper. Never on tomato, tangerine or lilac fills: use --ink there */
  --rule: #E3D0B0;

  /* palette, named like the book series */
  --lemon: #FFE14D;        /* actions, name tags, caption boxes */
  --sunflower: #FFC93C;
  --tangerine: #FF8A3D;
  --tomato: #F0452B;       /* accents and link underlines only, never behind small text */
  --bubblegum: #FF8CC6;    /* Book 1 pink */
  --lilac: #B9A2FF;
  --sky: #7CC8FF;
  --mint: #5ED3BD;
  --grass: #8AD46A;
  --lime: #C4F03D;         /* Song Video Kit: Night Lab accent */
  --spruce: #163B34;       /* Song Video Kit: Night Lab ground; here only as 6-9 heading ink and graph lines (11.7:1 on paper) */
  --chalk: #EAF7F1;
  --teal: #13A89E;         /* Song Video Kit: Field Notebook grid teal, for a future Grades 3-5 section */
  /* deep versions for coloured TEXT on paper or white (all 6:1 or better) */
  --tomato-ink: #B3260F;
  --lilac-ink: #5B3FD1;
  --mint-ink: #0A6B5D;

  /* SECTIONS — swap these with the Song Video Kit's choices */
  --k2: var(--lemon);        /* K-2 Sing-Alongs (Song Video Kit: Chunky Sticker Book lemon) */
  --k2-pop: var(--sky);
  --g69: var(--lime);        /* Grades 6-9 (Song Video Kit: Night Lab lime + spruce) */
  --g69-head: var(--spruce);
  --g35: var(--teal);        /* future Grades 3-5 section (Field Notebook) */
  --dogs: var(--bubblegum);  /* Dog Breed Songs (Book 1 pink; a dog type can set its own book colour) */
  --dogs-pop: var(--lemon);
  --action: var(--lemon);    /* main buttons */

  /* SUBJECTS (chips, dots, panel tints) */
  --sub-science: var(--mint);
  --sub-math: var(--sunflower);
  --sub-ela: var(--lilac);
  --sub-ss: var(--tangerine);
  --sub-sel: var(--bubblegum);
  --sub-k-reading: var(--lilac);
  --sub-k-math: var(--tangerine);
  --sub-k-science: var(--grass);
  --sub-k-feelings: var(--bubblegum);
  --sub-k-community: var(--sky);
  --sub-k-longer: var(--mint);

  /* TYPE: two families. Luckiest Guy = the comic voice (titles, tags, buttons). Atkinson Hyperlegible Next = everything you read. */
  --f-comic: "Luckiest Guy", "Arial Black", "Trebuchet MS", sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, system-ui, sans-serif;
  --f-display: var(--f-comic);   /* grades 6-9 pages switch this to --f-body at weight 800 */
  --display-w: 400;
  --display-track: .02em;
  --btn-font: 400 1.1rem/1.1 var(--f-comic);
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;   /* 17px body */
  --t-lg: 1.25rem;
  --t-xl: 1.5rem;
  --t-2xl: clamp(1.65rem, 1.3rem + 1.3vw, 2.4rem);
  --t-3xl: clamp(2.3rem, 1.5rem + 3.2vw, 4.2rem);
  --t-4xl: clamp(2.6rem, 1.5rem + 4.6vw, 5.4rem);

  /* SPACE */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --wrap: 1200px;

  /* RADII: comic panels are nearly square */
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 12px;
  --r-bubble: 22px;
  --r-pill: 999px;

  /* EDGES AND SHADOWS: ink lines and hard offset shadows, never a soft blur */
  --line: 3px;
  --line-lg: 4px;
  --pop-sm: 3px 3px 0 var(--ink);
  --pop: 4px 4px 0 var(--ink);
  --pop-lg: 6px 6px 0 var(--ink);

  /* HALFTONE (dots) and GRAPH PAPER (grades 6-9) */
  --dot-ink: rgb(43 22 8 / .13);
  --halftone: radial-gradient(var(--dot-ink) 27%, transparent 29%);
  --halftone-size: 11px 11px;
  --graph: linear-gradient(rgb(22 59 52 / .13) 1.5px, transparent 1.5px), linear-gradient(90deg, rgb(22 59 52 / .13) 1.5px, transparent 1.5px);
  --graph-size: 26px 26px;
}
