/* tokens.css — Design tokens (CSS custom properties). Single source of truth. */
:root {
  /* Colour */
  --color-primary: #142238;        /* deep navy — primary text / dark sections */
  --color-text: #25364a;           /* body text on light */
  --color-text-secondary: #526174; /* muted slate */
  --color-accent: #315f86;         /* muted blue */
  --color-accent-secondary: #446361;/* restrained teal-sage, darkened for AA contrast on light bg */
  --color-background: #ffffff;
  --color-background-soft: #f6f8fb;
  --color-pastel-blue: #eaf2f9;
  --color-pastel-sage: #eaf3ef;
  --color-border: #dde5ec;
  --color-footer: #122136;
  --color-on-dark: #e8edf5;        /* text on navy/footer */
  --color-on-dark-muted: #93a4bd;  /* muted text on navy */

  /* Typography */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", sans-serif;

  /* Type scale (fluid via clamp) */
  --fs-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);   /* eyebrow / labels ~11-12px */
  --fs-sm: clamp(0.85rem, 0.84rem + 0.1vw, 0.92rem);  /* nav / captions ~14px */
  --fs-base: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);  /* body ~16-18px */
  --fs-md: clamp(1.1rem, 1rem + 0.3vw, 1.25rem);       /* supporting text ~15-17px */
  --fs-lg: clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem);     /* H3 ~20-26px */
  --fs-xl: clamp(1.7rem, 1.5rem + 0.9vw, 2.4rem);     /* H2 section ~30-38px */
  --fs-xxl: clamp(2.3rem, 2rem + 1.5vw, 3.25rem);     /* inner H1 ~40-52px */
  --fs-hero: clamp(2.6rem, 2rem + 2.2vw, 4rem);       /* home H1 ~48-64px */
  --fs-contact: 0.95rem;                               /* contact details ~15px, no wrap */

  --lh-tight: 1.08;
  --lh-heading: 1.14;
  --lh-body: 1.62;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;

  /* Layout */
  --container-max: 74rem;   /* 1184px content width */
  --container-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-block: clamp(3.5rem, 3rem + 4vw, 7rem); /* vertical rhythm */

  /* Rounding — restrained */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Elevation — used sparingly */
  --shadow-1: 0 1px 2px rgba(16, 30, 54, 0.06), 0 1px 3px rgba(16, 30, 54, 0.05);
  --shadow-2: 0 10px 30px -12px rgba(16, 30, 54, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;

  /* Focus */
  --focus-ring: 3px solid var(--color-accent);
}
