/* ==========================================================================
   Design tokens
   The single source of truth for the design system. Change a value here
   and it updates everywhere it's used.
   ========================================================================== */

:root {
  /* Colour */
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;          /* header, nav, project tiles */
  --color-ink: #000000;              /* body text */
  --color-pill: #111111;             /* name pill background */
  --color-on-pill: #ffffff;          /* name pill text */
  --color-accent: #00cdfb;           /* disclaimer banner */
  --color-border: rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-sans: "BDO Grotesk", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --weight-regular: 400;
  --weight-demibold: 600;
  --weight-black: 900;

  --text-sm: 13px;                   /* nav label, disclaimer */
  --text-pill-sm: 19px;              /* pill in nav */
  --text-pill-lg: 24px;              /* pill in header */
  --text-display: clamp(36px, 4.85vw, 64px); /* 64px at 1320px wide */

  --leading-tight: 1;
  --leading-heading: 1.2;
  --leading-body: 1.5;
  --tracking-pill: 0.02em;           /* 0.48px at 24px, 0.38px at 19px */

  /* Spacing */
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 120px;

  /* Shape */
  --radius-md: 12px;
  --radius-pill: 999px;
  --border-hairline: 0.5px solid var(--color-border);

  /* Layout */
  --page-max: 1320px;
  --content-max: 1080px;
  --gutter: 16px;                    /* minimum side margin on small screens */
  --header-height: 400px;
  --nav-height: 74px;
  --header-inset: 126px;             /* header text inset at 1320px */
  --nav-inset: 132px;                /* nav content inset at 1320px */
  --tile-ratio: 1080 / 607;
}
