/* Design tokens: Cooling Systems HVAC/R. Colours taken from the logo and letterhead. */
:root {
  /* Type */
  --font-display: "Michroma", "Arial Black", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;

  --fs-display: clamp(3.5rem, 2rem + 6.4vw, 8rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 2.6vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.875rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --lh-tight: 1.02;
  --lh-head: 1.12;
  --lh-body: 1.6;
  --ls-display: -0.02em;
  --ls-label: 0.14em;

  /* Colour */
  --color-bg: #f3f6f8;
  --color-surface: #ffffff;
  --color-text: #0e1216;
  --color-muted: #535d68;
  --color-line: #d3dbe1;
  --color-ink: #0e1216;          /* dark bands */
  --color-ink-2: #161c22;
  --color-on-ink: #eef2f5;
  --color-on-ink-muted: #a3adb7;

  --color-cyan: #00aeef;         /* logo cyan: large type, shapes, lines */
  --color-cyan-text: #00719e;    /* cyan for small text on light (AA) */
  --color-red: #ed1c24;          /* logo red: large type, shapes */
  --color-accent: #d0121a;       /* CTA red (AA with white text) */
  --color-accent-hover: #ae0e15;
  --color-idle: #c3ccd3;         /* inactive hero letters */

  --hot-cold: linear-gradient(100deg, var(--color-cyan) 0 42%, var(--color-red) 58% 100%);

  /* Spacing (8px 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;
  --space-10: 9rem;

  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --max-w: 90rem;
  --measure: 65ch;

  /* Shape */
  --radius: 2px;
  --slant: 6vw;                  /* diagonal cut, from the letterhead bands */

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 400ms;
  --dur-slow: 600ms;

  --header-h: 4.75rem;
}
