/* ==========================================================================
   zNonprofit.com design tokens
   The same brand values as zOneStopShop.com, which took them from zmrman.com:
   Zimmermann blue (#1251A3), Zimmermann green (#7CDA24) and Lato. Keeping them
   identical is what makes the sites read as one family.
   Change a value here and it changes everywhere.

   Layout idea: the home page opens on the loop a gift travels: get seen, ask,
   thank, report, and around again. Everything printed for one donor (the name,
   the last gift, the amounts asked for) is highlighted in green. The same green
   marks "printed for each donor" on the appeal package on the fundraising page.
   The rest of the site stays quiet.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand ---------------------------------------------------------------- */
  --blue:        #1251A3;   /* Zimmermann blue: headings, links, page openers, blue sections */
  --blue-deep:   #0E3F80;   /* blue hover state */
  --green:       #7CDA24;   /* Zimmermann green: primary buttons, "printed for one donor" highlights */
  --green-deep:  #6AC318;   /* green hover state */
  --ink:         #0B1F3F;   /* footer background; text on green; the labels in the loop drawing */

  /* Paper and stock -------------------------------------------------------- */
  --paper:       #FFFFFF;   /* main page background */
  --stock:       #EEF3FA;   /* alternating sections, tinted toward the blue */
  --rule:        #CBD6E4;   /* hairlines */
  --slate:       #3A4757;   /* body copy on light backgrounds */
  --slate-light: #BFD0E6;   /* body copy on blue backgrounds */
  --mark:        #5B6878;   /* small print, source lines, labels */
  --greyline:    #C3CEDD;   /* the grey "text" lines in the drawings */

  /* Type ------------------------------------------------------------------ */
  --font: "Lato", "Helvetica Neue", Arial, sans-serif;

  /* Modular scale, ratio 1.25 on a 17px base */
  --fs-sm:   0.875rem;                               /* 14px */
  --fs-base: 1.0625rem;                              /* 17px */
  --fs-lead: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --fs-h3:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2:   clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem);
  --fs-h1:   clamp(2.3rem, 1.4rem + 3.6vw, 3.75rem);  /* inner pages; the home page hero sizes its own */

  --lh-tight: 1.04;
  --lh-head:  1.12;
  --lh-body:  1.55;

  /* Layout ---------------------------------------------------------------- */
  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 6vw + 1rem, 6.5rem);
  --radius: 4px;
  --header-h: 64px;

  /* Motion ---------------------------------------------------------------- */
  --ease: cubic-bezier(.2,.7,.2,1);
}

@media (max-width: 599px) {
  :root { --header-h: 56px; }
}
