/* ============================================================================
   NURV design tokens — THE SINGLE SOURCE OF TRUTH FOR THE BRAND PALETTE.
   Linked by EVERY page (home, service, policy) ahead of its own styles.

   The site historically grew THREE parallel palette definitions for the same
   colours: blended.html (--mint / --color-bg…), services.css (--accent /
   --paper…), and nav.css (raw hex literals). This file collapses them: the
   palette is defined ONCE as canonical `--c-*` tokens, and BOTH the home and
   inner vocabularies are thin aliases pointing at those. Change a colour HERE
   and the whole site inherits it — no more 3-file hand-sync.

   ⚠️ Edit colour VALUES only in the "canonical palette" block below. The alias
   blocks should keep pointing at --c-* via var(); don't hardcode hex in them.
   ============================================================================ */

:root {
  /* ---- canonical palette — EDIT VALUES HERE ONLY ---- */
  --c-bg:           #F4EFE6;
  --c-surface:      #EAE3D6;
  --c-surface-elev: #E0D8C6;
  --c-surface-2:    #DCD3BF;
  --c-surface-3:    #D2C7AF;

  --c-ink:   #14110F;
  --c-ink2:  #2C2622;
  --c-ink3:  #5A5247;
  --c-ink4:  #82786C;

  --c-accent:       #E2553C;  /* terracotta — the brand accent */
  --c-accent2:      #B83E29;
  --c-accent-deep:  #F3D6CB;
  --c-accent-deep2: #EDC4B5;

  --c-rule:    #D8CFBE;
  --c-border:  rgba(20,17,15,0.14);

  --c-lavender:      #6B5BD8;
  --c-lavender-dark: #4E3FB0;
  --c-gold:          #B88914;
  --c-error:         #C0392B;

  --mono:  'JetBrains Mono', ui-monospace, monospace;
  --sans:  -apple-system, 'SF Pro Display', BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  /* ---- HOME vocabulary (blended.html) — aliases, do not hardcode ---- */
  --color-bg:                var(--c-bg);
  --color-surface:           var(--c-surface);
  --color-surface-elevated:  var(--c-surface-elev);
  --color-surface-2:         var(--c-surface-2);
  --color-surface-tertiary:  var(--c-surface-3);
  --color-canvas:            var(--c-bg);   /* was referenced but never defined */

  --text-primary:    var(--c-ink);
  --text-secondary:  rgba(20,17,15,0.62);
  --text-tertiary:   rgba(20,17,15,0.36);
  --text-quaternary: rgba(20,17,15,0.20);

  --ink2: var(--c-ink2);
  --ink3: var(--c-ink3);
  --ink4: var(--c-ink4);

  --mint:       var(--c-accent);
  --mint2:      var(--c-accent2);
  --mint-deep:  var(--c-accent-deep);
  --mint-deep2: var(--c-accent-deep2);

  --lavender:      var(--c-lavender);
  --lavender-dark: var(--c-lavender-dark);
  --gold:          var(--c-gold);
  --error:         var(--c-error);

  --border:      var(--c-border);
  --border-soft: var(--c-rule);

  /* ---- INNER vocabulary (services.css) — aliases, do not hardcode ---- */
  --paper:    var(--c-bg);
  --paper-2:  var(--c-surface);
  --paper-3:  var(--c-surface-elev);
  --rule:     var(--c-rule);
  --ink:      var(--c-ink);
  --ink-2:    var(--c-ink2);
  --ink-3:    var(--c-ink3);
  --ink-4:    var(--c-ink4);
  --accent:   var(--c-accent);
  --accent-2: var(--c-accent2);
}
