/* ==========================================================================
   vinaypasricha.com — canonical palette
   The single source of truth for color across the site.
   Restraint is the brand. Do not invent new colors; derive by lightness only.
   ========================================================================== */

:root {
  /* Surfaces — warm ivory, never pure white */
  --paper:     #f6f1e4;   /* primary page background */
  --paper-2:   #ece4cf;   /* sectioned / cream accent panels */
  --paper-3:   #f9f5ea;   /* lifted card surfaces */

  /* Ink — deep charcoal, never pure black */
  --ink:       #1a1814;   /* primary text + dark sections */
  --ink-2:     #2c2820;   /* secondary text */
  --ink-3:     #6b665a;   /* tertiary text, meta, captions */
  --ink-4:     #9a9482;   /* muted on dark sections */

  /* Rules / hairlines */
  --rule:      #d9d1b9;   /* visible borders */
  --rule-soft: #e9e1c9;   /* gentle dividers */

  /* Accents — scarce by design */
  --accent:    #8a2510;   /* deep cinnabar — hover, key emphasis, single accent */
  --accent-2:  #c7a55a;   /* warm gold — ONLY on dark sections, even there sparingly */

  /* Derived text color for use inside dark (--ink) sections */
  --on-ink-text:   #f6f1e4;   /* = --paper */
  --on-ink-text-2: #c8c1a8;   /* slightly cooler than --ink-4, per palette doc */
  --on-ink-muted:  #9a9482;   /* = --ink-4 */
  --on-ink-rule:   rgba(255,255,255,0.08);
}

::selection { background: var(--accent); color: var(--paper); }
