/* ============================================================
   THE CLARITY COACH ENTERPRISES — BRAND TOKENS
   The single source of truth. Encoded from CCE Visual Brand System v2.
   Change a value here and it updates everywhere.
   ============================================================ */

:root {
  /* ---- COLOR · 6-value system (≈90% neutral, 8% ink, 2% hue) ---- */
  --paper:  #FFFFFF;   /* default background            */
  --mist:   #F7F7F9;   /* raised surfaces / alt sections */
  --stage:  #0A0A0B;   /* dark background (footer, invert)*/
  --ink:    #0F0F0F;   /* headlines, primary text        */
  --body:   #4A4A50;   /* body copy                      */

  /* neutral tonal steps (borders, muted text, dividers) */
  --n-900: #0F0F0F;
  --n-800: #26262B;
  --n-700: #3D3D43;
  --n-600: #4A4A50;
  --n-500: #55555A;
  --n-400: #6B6B72;
  --n-300: #8B8B90;
  --n-200: #B0B0B6;
  --hairline:      #E4E4E8;  /* 1px borders — the ONLY "elevation"     */
  --hairline-soft: #EDEDF1;
  --surface-2:     #F0F0F3;

  /* ---- MOVE HUES · semantic, 2% of the page, never decorative ---- */
  --ember:  #E8542F;   /* Develop people  — coaching, culture   */
  --indigo: #5B4BFF;   /* Build systems   — ops, automation     */
  --yellow: #FCCA03;   /* Support adoption — + the logo period  */

  /* ---- TYPE ---- */
  --font-display: "Manrope", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Manrope", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* fluid display scale (clamps: mobile → 1440) */
  --fs-display: clamp(2.75rem, 7vw, 5.5rem);   /* hero ~88px  */
  --fs-h1:      clamp(2rem, 4.6vw, 3.25rem);   /* section     */
  --fs-h2:      clamp(1.6rem, 3vw, 2.25rem);
  --fs-h3:      clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-lead:    clamp(1.05rem, 1.4vw, 1.3rem);
  --fs-body:    1rem;                          /* 16px, floor 15px */
  --fs-label:   0.75rem;                       /* mono labels  */

  --lh-display: 0.96;
  --lh-tight:   1.08;
  --lh-body:    1.6;

  --track-display: -0.045em;   /* −3–4.5% on display          */
  --track-tight:   -0.02em;
  --track-label:   0.18em;     /* wide tracking on mono labels */

  --w-reg: 400; --w-med: 500; --w-semi: 600; --w-bold: 700; --w-black: 800;

  /* ---- SPACING · 8px base ladder (8·16·24·32·44·56) ---- */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 44px; --s-6: 56px;
  --s-8: 80px; --s-10: 120px; --s-12: 160px;   /* section rhythm */

  /* ---- RADII (12 small · 20 media · 999 buttons only) ---- */
  --r-sm: 12px; --r-md: 20px; --r-pill: 999px;

  /* ---- LAYOUT ---- */
  --maxw: 1440px;
  --gutter: 24px;
  --margin: 56px;
  --measure: 62ch;      /* readable text column */

  /* ---- MOTION (fades + 8px rise, 240ms; hover = color only) ---- */
  --dur: 240ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Dark surfaces (footer / inverted blocks) remap the neutrals. */
.on-stage {
  --paper: #0A0A0B;
  --mist:  #141416;
  --ink:   #FFFFFF;
  --body:  #B0B0B6;
  --hairline: #26262B;
  --hairline-soft: #1C1C1F;
  color: var(--body);
  background: var(--stage);
}
