/* Design tokens — colours sampled from assets/logo/logo.jpg */
:root {
  /* Brand colours */
  --color-navy: #2a3f58;          /* Wordmark */
  --color-navy-dark: #1d2d40;
  --color-steel: #3f6886;         /* Gantt bars, strapline */
  --color-steel-light: #6f93ae;
  --color-copper: #b07a4a;        /* Dependency lines, page corner */
  --color-copper-dark: #94623a;
  --color-mist: #dde6ea;          /* Document fill */
  --color-mist-light: #eef3f5;
  --color-white: #ffffff;

  /* Semantic colours */
  --color-primary: var(--color-navy);
  --color-secondary: var(--color-steel);
  --color-accent: var(--color-copper);
  --color-text: #4a5663;
  --color-heading: var(--color-navy);
  --color-bg: var(--color-white);
  --color-border: #d3dce2;

  /* Typography */
  --font-serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --text-2xl: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);

  --tracking-wide: 0.08em;
  --tracking-wider: 0.16em;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 70rem;
  --container-gutter: 1.25rem;
  --header-height: 5rem;

  /* Misc */
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-sm: 0 1px 3px rgb(29 45 64 / 0.08);
  --shadow-md: 0 8px 24px rgb(29 45 64 / 0.12);
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 700ms ease;
}

@media (min-width: 48rem) {
  :root {
    --container-gutter: 2rem;
    --header-height: 7.5rem;
  }
}

:root {
  /* Form feedback */
  --color-error: #b3261e;
  --color-success: #2f6b4f;
  --color-success-bg: #e8f2ec;
}
