/* =====================================================================
   SAFFRON DESIGN TOKENS: the one place every size, space, radius and colour is defined.
   styles.css reads these; nothing in styles.css should invent its own values.
   ===================================================================== */
:root {
  /* ---- type: one family (Archivo); headings use the width axis like a garment label ---- */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);

  /* roles (fluid between a 360px phone and a 1440px desktop) */
  --t-display:  clamp(2.375rem, 1.35rem + 4.2vw, 5rem);       /* hero statement only */
  --t-h2:       clamp(1.875rem, 1.4rem + 1.9vw, 3rem);         /* every section heading */
  --t-h3:       clamp(1.375rem, 1.18rem + 0.8vw, 1.875rem);    /* division, form and about sub-headings */
  --t-h4:       clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);  /* step, slide and card titles */
  --t-lead:     clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);       /* the line under a heading */
  --t-body:     1rem;
  --t-small:    0.875rem;
  --t-label:    0.8125rem;                                     /* chips, tabs, captions, specs */

  --lh-display: 0.98;
  --lh-heading: 1.06;
  --lh-title:   1.25;
  --lh-body:    1.6;

  --w-display: 700;  --wd-display: 112;   /* weight / width (wdth axis) */
  --w-heading: 700;  --wd-heading: 108;
  --w-title:   650;  --wd-title:   104;
  --w-body:    400;
  --w-strong:  600;

  --track-display: -0.03em;
  --track-heading: -0.02em;
  --track-title:   -0.01em;

  --measure: 62ch;          /* body copy */
  --measure-lead: 64ch;     /* line under a heading */

  /* ---- space: 4px base ---- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* ---- section rhythm: identical for every section ---- */
  --section-y: clamp(48px, 3vw + 3svh, 96px);     /* top and bottom padding of a section */
  --head-gap:  clamp(28px, 1.5vw + 2svh, 56px);  /* heading block to its content */
  --sub-gap:   var(--sp-4);                      /* heading to the line under it */

  /* ---- shape: full-bleed bands are square; everything inside them shares these ---- */
  --radius:         14px;   /* images, panels, form, map card, tiles */
  --radius-control: 10px;   /* buttons, inputs, selects */
  --radius-pill:    999px;  /* chips, tabs, segmented controls */

  /* ---- colour ---- */
  --navy-900: #0E2240;
  --navy-700: #1D3A63;
  --slate-600: #4A5A72;
  --orange: #F48020;
  --orange-ink: #B4560A;      /* orange for text on light grounds (4.6:1 on white) */
  --orange-soft: #FFB277;     /* orange for text on navy */
  --ivory: #F6EFE4;
  --ivory-ink: #4A4034;
  --cool-50: #EEF5FC;
  --cool-200: #CFE0F1;
  --white: #FFFFFF;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-curtain: cubic-bezier(0.77, 0, 0.18, 1);
  --t-fast: 200ms; --t-med: 500ms; --t-slow: 900ms;
}
