/* Colour — transcribed from the source file. Exact values, no rounding.
   The portfolio itself has NO brand colour (Principle 02). Ink, paper and one
   correction red are the whole palette. Projects may bring their own ink. */
:root{
  /* Paper — the canvas ladder, warmest at the top */
  --paper-pure:#ffffff;
  --paper-shell:#fefefc;
  --paper-quiet:#fbfbfa;
  --paper-warm:#f6f6f3;
  --paper-warm-alt:#f6f6f2;
  --paper-stone:#f0efec;

  /* Ink — near-black, never #000 */
  --ink-900:#0b0c0d;
  --ink-850:#0e0f10;
  --ink-800:#0f0f0f;
  --ink-700:#111111;
  --ink-650:#121212;
  --ink-600:#2f2d2b;

  /* Grey — text that recedes */
  --grey-600:#616161;
  --grey-550:#666666;
  --grey-500:#6b6b6e;
  --grey-480:#6d6d68;
  --grey-450:#686864;
  --grey-400:#777772;
  --grey-350:#8a8a85;
  --grey-300:#d1d1d1;

  /* Rule — hairlines and card edges */
  --rule-strong:#dbdad6;
  --rule-mid:#e0e0db;
  --rule-soft:#e7e7e2;
  --rule-faint:#e9e9e4;

  /* Correction — the only chromatic note in the system. Used ONLY to mark a
     contradiction: a claim the evidence broke. Never decorative. */
  --correction:#c75a4c;
  --correction-deep:#8f3f37;

  /* Project ink — a case study may carry one muted hue, set per project */
  --project-payments-ink:#536879;
  --project-payments-wash:#dde4e6;
  --project-lending-ink:#7a574f;
  --project-lending-wash:#e8deda;
  --project-lifemint-ink:#596d5b;
  --project-lifemint-wash:#dde4dc;

  /* Semantic aliases — use these in product code */
  --surface-canvas:var(--paper-pure);
  --surface-page:var(--paper-quiet);
  --surface-raised:var(--paper-warm);
  --surface-card:var(--paper-pure);
  --surface-inverse:var(--ink-700);
  --surface-field:var(--paper-pure);

  --text-primary:var(--ink-700);
  --text-secondary:var(--grey-480);
  --text-muted:var(--grey-350);
  --text-inverse:#ffffff;
  --text-on-inverse-muted:var(--grey-300);
  --text-correction:var(--correction);

  --border-hairline:var(--rule-soft);
  --border-card:var(--rule-strong);
  --border-field:var(--rule-strong);
}
