/* ============================================================
   Kate's Quest — Color System
   ------------------------------------------------------------
   Drawn straight from the quest cards: sun-faded parchment, ink
   pressed from an old fountain pen, terracotta sunsets, the teal of
   tropical water, jungle greens, and the gold of a compass needle.
   Everything is warm — there is no pure white and no pure black.
   ============================================================ */

:root {
  /* ---- Parchment / paper (the substrate of every card) ---- */
  --paper-50:  #FBF5E6;   /* brightest highlight on aged paper */
  --paper-100: #F7EFDC;   /* default card field */
  --paper-200: #F0E4C8;   /* panel / inset paper */
  --paper-300: #E7D7B2;   /* aged edge, hover fill */
  --paper-400: #D9C39A;   /* deep paper shadow / worn corner */
  --paper-500: #C7AC7C;   /* darkest tea-stain */

  /* ---- Ink (text + line art, warm near-black to sepia) ---- */
  --ink-900: #211B12;     /* primary ink — headlines, borders */
  --ink-800: #2E2619;
  --ink-700: #3F3422;     /* body ink */
  --ink-600: #5A4B33;     /* secondary ink */
  --ink-500: #79663F;     /* muted ink / captions */
  --ink-400: #9A8763;     /* faint ink / disabled */

  /* ---- Terracotta (the sunset / passion accent) ---- */
  --terracotta-700: #9E4621;
  --terracotta-600: #B8552B;
  --terracotta-500: #C8612F;   /* primary warm accent */
  --terracotta-400: #D97B43;
  --coral-300:      #E89A6B;   /* soft sunset wash */

  /* ---- Teal (tropical water, the cool counterweight) ---- */
  --teal-700: #245E55;
  --teal-600: #2E7D6F;     /* primary cool accent */
  --teal-500: #3F9B8B;
  --teal-400: #6BB4A8;
  --teal-300: #9BD0C6;     /* shallow-water tint */

  /* ---- Jungle / foliage greens ---- */
  --forest-700: #283B2E;
  --forest-600: #324A39;   /* deep border green */
  --moss-500:   #5C7A4C;   /* leaf fill */
  --moss-400:   #7E9A66;

  /* ---- Gold (compass needle, wax seal, stamp ink) ---- */
  --gold-700: #9A7619;
  --gold-600: #B8902A;
  --gold-500: #C9A227;     /* primary metallic */
  --gold-400: #D8B44A;
  --gold-300: #E6CF86;     /* gilt highlight */

  /* ---- Postmark / stamp reds & blues (faded official inks) ---- */
  --stamp-red:  #A6402E;
  --stamp-blue: #3A5A78;

  /* ============================================================
     SEMANTIC ALIASES — reach for these in components
     ============================================================ */

  /* Surfaces */
  --surface-page:   var(--paper-300);   /* the desk the card sits on */
  --surface-card:   var(--paper-100);   /* a quest card field */
  --surface-panel:  var(--paper-200);   /* inset detail panel */
  --surface-raised: var(--paper-50);    /* tooltips, popovers */
  --surface-ink:    var(--ink-900);     /* dark / inverted surface */

  /* Text */
  --text-strong:  var(--ink-900);
  --text-body:    var(--ink-700);
  --text-muted:   var(--ink-500);
  --text-faint:   var(--ink-400);
  --text-on-dark: var(--paper-100);
  --text-accent:  var(--terracotta-600);

  /* Lines & frames */
  --border-frame:   var(--ink-900);     /* the heavy outer keyline */
  --border-rule:    var(--ink-600);     /* hairline dividers */
  --border-soft:    var(--paper-400);   /* quiet separators on paper */
  --border-cool:    var(--teal-600);    /* decorative inner frame */
  --border-warm:    var(--terracotta-500);

  /* Roles */
  --accent:        var(--terracotta-500);   /* primary brand accent */
  --accent-cool:   var(--teal-600);         /* secondary accent */
  --accent-gold:   var(--gold-500);         /* metallic / seal */
  --seal:          var(--terracotta-600);   /* wax seal */

  /* Status (kept within the period palette) */
  --status-found:   var(--teal-600);        /* quest complete */
  --status-active:  var(--gold-500);        /* quest in progress */
  --status-locked:  var(--ink-400);         /* quest not started */
  --status-danger:  var(--stamp-red);
}
