/* tokens.css — Client: Agence CASK (recrutement en construction, Lévis)
   Brand source: agencecask.ca + app.agencecask.ca/site (logo, Gotham, #FFF021 casque jaune) */
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/gotham-book.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/gotham-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Brand colors — real CASK branding */
  --brand-primary: #fff021;      /* casque jaune du logo */
  --brand-primary-ink: #0b0b0b;  /* texte sur jaune */
  --brand-dark: #0b0b0b;
  --brand-char: #131313;
  --brand-steel: #222222;
  --brand-line: #2e2e2e;
  --brand-light: #f3f1ea;
  --brand-mute: #a3a29b;         /* 7.4:1 sur #0b0b0b */
  --brand-yellow-soft: color-mix(in oklab, var(--brand-primary) 14%, transparent);

  /* Typography */
  --font-display: "Gotham", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Gotham", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Personality */
  --site-radius: var(--radius-2);
  --site-radius-lg: var(--radius-3);
  --site-shadow: var(--shadow-4);
  --site-ease: var(--ease-out-4);
  --site-ease-spring: var(--ease-spring-3);

  /* Utopia fluid type 320 → 1440 */
  --step--2: clamp(0.6944rem, 0.6597rem + 0.1736vw, 0.8rem);
  --step--1: clamp(0.8333rem, 0.7754rem + 0.2899vw, 1rem);
  --step-0: clamp(1rem, 0.913rem + 0.4348vw, 1.2rem);
  --step-1: clamp(1.2rem, 1.0739rem + 0.6304vw, 1.5625rem);
  --step-2: clamp(1.44rem, 1.2615rem + 0.8924vw, 1.9531rem);
  --step-3: clamp(1.728rem, 1.4799rem + 1.2406vw, 2.4414rem);
  --step-4: clamp(2.0736rem, 1.7334rem + 1.7011vw, 3.0518rem);
  --step-5: clamp(2.4883rem, 2.027rem + 2.3067vw, 3.8147rem);
  --step-6: clamp(2.7rem, 1.9rem + 4.2vw, 5.6rem);
  --step-7: clamp(3.2rem, 1.6rem + 7.4vw, 8.4rem);

  --space-3xs: clamp(0.25rem, 0.2283rem + 0.1087vw, 0.3125rem);
  --space-2xs: clamp(0.5rem, 0.4565rem + 0.2174vw, 0.625rem);
  --space-xs: clamp(0.75rem, 0.6848rem + 0.3261vw, 0.9375rem);
  --space-s: clamp(1rem, 0.913rem + 0.4348vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.3696rem + 0.6522vw, 1.875rem);
  --space-l: clamp(2rem, 1.8261rem + 0.8696vw, 2.5rem);
  --space-xl: clamp(3rem, 2.7391rem + 1.3043vw, 3.75rem);
  --space-2xl: clamp(4rem, 3.6522rem + 1.7391vw, 5rem);
  --space-3xl: clamp(6rem, 5.4783rem + 2.6087vw, 7.5rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --maxw: 78rem;
  --nav-h: 4.5rem;
}
