/* ==========================================================================
   Jessica Brunson Teaching — design tokens
   Every color, type size, space and radius on the site comes from here.
   Change a value once and it updates everywhere. See brand.html for usage.
   ========================================================================== */

:root {
  /* ---- Color: foundation (about 60% of any page) ---- */
  --paper: #FBF6EA;        /* main background, warm cream            */
  --manila: #F3E8D2;       /* secondary surface                      */

  /* ---- Color: anchor (about 20%) ---- */
  --ink: #262B40;          /* body text, outlines, icon strokes (deep shade of Navy) */
  --ink-muted: #4F5570;    /* captions, meta text (AA on paper, pink, sunshine) */
  --anchor: #465074;       /* Navy: headings, dark bands, divider line */
  --anchor-deep: #30374F;  /* Deep Navy: footer, closing moments      */

  /* ---- Color: classroom colors (about 15%, roughly 4% each) ---- */
  --sky: #AFCFF6;          /* cabana stripes, tiles, tags             */
  --sunshine: #F0CF5E;     /* services band, highlights, open states  */
  --olive: #C7BD5E;        /* testimonials band, tiles, tags          */
  --pink: #F3C7C4;         /* Meet Jessica band, soft accents         */

  /* ---- Color: red (about 5%) — accent text, actions, and the occasional tile ---- */
  --tomato: #C4381D;       /* links, buttons, emphasis, a tile (paper text) */
  --tomato-deep: #A32D15;  /* hover / pressed                         */

  /* ---- Type families ---- */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  /* ---- Type scale (fluid; mobile → desktop) ---- */
  --step--2: 0.75rem;                                     /* label / legal   */
  --step--1: 0.875rem;                                    /* small, buttons  */
  --step-0: 1.0625rem;                                    /* body            */
  --step-1: clamp(1.15rem, 1.05rem + 0.4vw, 1.3rem);      /* lede            */
  --step-2: clamp(1.3rem, 1.18rem + 0.6vw, 1.6rem);       /* h3              */
  --step-3: clamp(1.9rem, 1.45rem + 2vw, 2.9rem);         /* h2              */
  --step-4: clamp(2.4rem, 1.4rem + 3.1vw, 3.9rem);        /* h1              */
  --step-5: clamp(3.5rem, 1.6rem + 9vw, 10rem);           /* footer wordmark */
  --script-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);

  /* ---- Spacing ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --section-pad: clamp(3.5rem, 2.5rem + 4.5vw, 6.5rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 1180px;
  --container-narrow: 780px;
  --header-h: 74px;
  --divider-h: 53px;

  /* ---- Shape ---- */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 44px;
  --radius-pill: 999px;
  --line: 1.5px solid var(--ink);
  --line-dashed: 2px dashed var(--tomato);

  /* ---- Depth: flat "sticker" offsets, not blurry shadows ---- */
  --shadow-sticker: 4px 4px 0 var(--ink);
  --shadow-sticker-sm: 2px 2px 0 var(--ink);
  --shadow-lift: 6px 6px 0 var(--ink);

  /* ---- Pattern sizes ---- */
  --stripe: 30px;
  --scallop: 14px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 220ms;
}
