/* Design tokens. Every value in main.css references these (Cerebro CD07).
   Direction tailor-atelier, palette from the official brand manual (primary Pantone 3155C, secondary 638C, tertiary 431C):
   pattern paper, petrol velvet lining, brass tape measure, copper basting thread.
   Type scale ratio 1.333 (perfect fourth). */

:root {
  /* palette — from dna.json */
  --c-dominant: #006072;      /* official brand primary, Pantone 3155C (dna.json override) */
  --c-logo: #006072;          /* official brand primary: hero app top bar */
  --c-dominant-2: #004a59;    /* deep tint of the primary */
  --c-dominant-3: #1f8296;    /* lit tint of the primary */
  --c-cyan: #00acd8;          /* official secondary, Pantone 638C: circuit traces, nodes, data pulses */
  --c-velvet: #01222a;        /* dark sections: petrol velvet base */
  --c-velvet-2: #033641;      /* velvet lit fold */
  --c-velvet-3: #00161c;      /* velvet deep fold */
  --c-accent: #e0b13c;        /* brass tape measure */
  --c-accent-ink: #01222a;    /* text on accent (8.3:1) */
  --c-thread: #a9502a;        /* copper basting thread (4.7:1 on paper) */
  --c-thread-light: #e8946a;  /* thread on velvet (7:1 on #152025) */
  --c-bg: #f2efe8;            /* pattern paper (warm) */
  --c-surface: #e3e1d8;       /* muslin */
  --c-kraft: #c8cfcc;         /* cool kraft */
  --c-line: #c8cfcc;          /* chalk grid on paper */
  --c-muted: #7f8f93;         /* decorative only (< 4.5:1) */
  --c-text-soft: #5b6670;     /* official tertiary, Pantone 431C: body and neutral type on paper (5:1) */
  --c-text: #0a2a31;          /* ink: deep tint of the primary */
  --c-white: #ffffff;         /* glyph on the primary (WhatsApp button) */
  --c-on-dark: #f2efe8;
  --c-on-dark-soft: #c8cfcc;  /* 10.5:1 on velvet */
  --c-shadow: rgba(1, 34, 42, 0.28);
  --c-chalk: rgba(242, 239, 232, 0.14);

  /* type */
  --font-display: "Bodoni Moda", "Didot", Georgia, serif;
  --font-body: "Jost", "Futura", "Trebuchet MS", sans-serif;
  --ratio: 1.333;
  --fs--1: calc(var(--fs-0) / var(--ratio));
  --fs-0: 1.0625rem;
  --fs-1: calc(var(--fs-0) * var(--ratio));
  --fs-2: calc(var(--fs-1) * var(--ratio));
  --fs-3: calc(var(--fs-2) * var(--ratio));
  --fs-4: calc(var(--fs-3) * var(--ratio));
  --fs-5: clamp(2.6rem, 6.4vw, 6.2rem);
  --lh-tight: 0.92;
  --lh-body: 1.6;
  --track-label: 0.18em;

  /* space */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;
  --sp-6: 7rem;
  --sp-7: 10rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1320px;

  /* shapes */
  --radius-s: 4px;
  --radius-m: 10px;
  --border: 1.5px;
  --stitch: 2px;
  --pink: 14px;                /* pinking-shears zigzag size */
  --tick: 8px;                 /* tape measure tick spacing */

  /* motion: ONE signature curve (a shears' cut: slow bite, fast run, soft stop) */
  --ease-signature: cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-base: 420ms;
  --dur-slow: 900ms;

  --nav-h: 4.5rem; /* fixed nav bar height (padding + pill) */
  --z-nav: 50;
  --z-cursor: 60;
}
