/* GCPG design tokens.
   Values extracted from the live gcpg.pl homepage (November 2026) and
   consolidated. Change a value here and it changes everywhere. */

:root {
  /* Colour: base */
  --color-cream: #fff9f2;      /* page background */
  --color-surface: #ffffff;    /* cards on tinted sections */
  --color-ink: #3b2e2a;        /* text, primary buttons, footer */
  --color-ink-soft: #6c625f;   /* secondary text (5.6:1 on cream) */
  --color-line: #d4cec9;       /* borders, dividers */

  --color-cream-warm: #fff1e0; /* top of the warm fade behind page openings */
  --color-sky: #dde6f0;        /* quiet button and motif colour from the original */
  --color-leaf: #e1f5df;       /* green of the original's calm band */

  /* Type detail measured on the original site */
  --tracking-display: -0.03em; /* H1: 62px with -1.86px */
  --weight-heading: 500;       /* H2 is set in the sans, medium */

  /* Colour: section backgrounds (use at most two per page besides cream) */
  --color-blush: #f5ede9;
  --color-peach: #ffd7bb;

  /* Colour: group-card tints, one per group type */
  --tint-therapy: #f3e3e6;     /* therapy groups */
  --tint-cycle: #ebdff2;       /* short cycles of meetings */
  --tint-young: #dde6f0;       /* young adults */
  --tint-youth: #f8eebf;       /* teenagers */
  --tint-training: #dfecdc;    /* trainings and workshops */
  --tint-open: #dfecdc;        /* free, open meetings */

  /* Type.
     Display: Reckless Standard S Regular, self-hosted from /assets/fonts.
     Text: Manrope, confirmed and self-hosted from /assets/fonts. */
  --font-display: "Reckless", Georgia, "Times New Roman", serif;
  --font-text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale (21 November 2026, desktop balance pass). One ratio of
     roughly 1.25 from body up, so each step reads as a step: the old scale
     jumped from 16px text straight to a 24px lead and a 62px title, with
     nothing in between. Phone values are the first number in each clamp. */
  --text-h1: clamp(2.5rem, 1.75rem + 2.6vw, 3.625rem);      /* 40 to 58px: page titles */
  --text-h2: clamp(1.75rem, 1.5rem + 0.75vw, 2.125rem);     /* 28 to 34px: section titles */
  --text-h3: 1.5rem;                                       /* 24px: card, step and sub-section titles */
  --text-h4: clamp(1.125rem, 1.07rem + 0.2vw, 1.25rem);     /* 18 to 20px: names, questions, statements */
  --text-lead: clamp(1.125rem, 1.04rem + 0.3vw, 1.25rem);   /* 18 to 20px: the paragraph under a title */
  --text-prose: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);   /* 17 to 18px: long reading */
  --text-body: 1rem;                                       /* 16px: everything else */
  --text-small: 0.9375rem;                                 /* 15px: card text, meta, footer */
  --text-xs: 0.8125rem;                                    /* 13px: labels and captions */

  --leading-tight: 1.06;
  --leading-heading: 1.2;
  --leading-body: 1.6;

  /* Space: 4px base */
  --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: 4rem;
  --space-9: 6rem;

  --section-pad: clamp(4rem, 2.5rem + 5vw, 7rem);    /* was up to 9rem: gaps of almost 300px between sections on desktop */

  /* Shape and layout */
  --radius: 10px;
  --container: 70rem;          /* 1120px */
  --gutter: clamp(1.25rem, 0.5rem + 3.5vw, 2.5rem);
  --measure: 62ch;             /* longest comfortable line of text */
}
