/* ============================================================
   Archivum — Color Tokens
   A museum / classical-library palette built around the cobalt
   blue of a historic book cover, set against warm archival paper.
   ============================================================ */

:root {
  /* ---- Primary: Cobalt (the "book-cover blue", brightened) ---- */
  --cobalt-900: #13296a;   /* deepest, near-ink navy */
  --cobalt-800: #1e3f99;   /* deep — pressed/hover on solid blue */
  --cobalt-700: #2a54bb;   /* PRIMARY — the brand cobalt (brighter) */
  --cobalt-600: #3f6cdb;   /* bright — emphasis / links on dark */
  --cobalt-500: #5e85ea;   /* lifted accent */
  --cobalt-100: #dfe5f6;   /* faint cobalt wash on paper */
  --cobalt-050: #eff2fc;   /* hairline tint */

  /* ---- Ink: cool near-black for type on paper ---- */
  --ink-900: #0a1330;      /* primary heading ink */
  --ink-700: #11214d;      /* secondary ink (ink-2) */
  --ink-500: #2c2c2c;      /* dense body copy */

  /* ---- Paper: warm archival neutrals ---- */
  --bone: #faf7f0;         /* lightest surface — cards, raised areas */
  --paper: #f4f1ea;        /* page background — warm archival paper */
  --paper-2: #ebe6da;      /* sunken / inset paper */
  --paper-3: #e2dccb;      /* deepest paper, dividers on paper */

  /* ---- Lines & rules ---- */
  --line: #d9d3c4;             /* hairline on paper */
  --line-strong: #c4bda9;      /* stronger divider on paper */
  --line-on-dark: rgba(255,255,255,0.18); /* hairline on cobalt/ink */

  /* ---- Gold: ceremonial accent (seals, dots, markers) ---- */
  --gold-600: #9c7a3e;
  --gold-500: #b89352;     /* GOLD accent */
  --gold-300: #d8bd8a;

  /* ---- Muted text ---- */
  --muted: #6b6557;        /* captions, meta, on paper */
  --muted-2: #8a8475;      /* faintest meta on paper */

  /* ---- Pure ---- */
  --white: #ffffff;

  /* ============================================================
     Semantic aliases — reference these in components
     ============================================================ */

  /* Surfaces */
  --surface-page:      var(--paper);
  --surface-card:      var(--white);
  --surface-raised:    var(--bone);
  --surface-sunken:    var(--paper-2);
  --surface-invert:    var(--cobalt-700);  /* cobalt hero / dark sections */
  --surface-ink:       var(--ink-900);     /* footer / deepest sections */

  /* Text on paper */
  --text-strong:   var(--ink-900);
  --text-body:     var(--ink-500);
  --text-muted:    var(--muted);
  --text-faint:    var(--muted-2);
  --text-accent:   var(--cobalt-700);

  /* Text on cobalt / ink */
  --text-on-dark:        rgba(255,255,255,0.92);
  --text-on-dark-muted:  rgba(255,255,255,0.72);
  --text-on-dark-faint:  rgba(255,255,255,0.55);

  /* Brand & interaction */
  --brand:         var(--cobalt-700);
  --brand-deep:    var(--cobalt-800);
  --brand-bright:  var(--cobalt-600);
  --accent-gold:   var(--gold-500);

  /* Borders */
  --border:        var(--line);
  --border-strong: var(--line-strong);
  --border-invert: var(--line-on-dark);
}
