/* ==========================================================================
   Memora — Colour tokens
   Warm, nostalgic, boutique. Deep wine burgundy leads; ivory & blush linen
   carry the ground; antique gold is the accent; charcoal is the ink.
   ========================================================================== */
:root {
  /* ---- Brand palette (base) ---- */
  --burgundy:        #800020;   /* primary — deep wine red */
  --burgundy-deep:   #5E0017;   /* pressed / shadow tone   */
  --burgundy-tint:   #9A2D43;   /* hover lift on burgundy  */
  --ivory:           #F5F0E8;   /* warm ivory ground       */
  --ivory-deep:      #EDE6DA;   /* sunken ivory / hairlines on ivory */
  --blush:           #E8D9CC;   /* blush linen — soft fills */
  --gold:            #C4A882;   /* antique gold accent     */
  --gold-deep:       #9C7D4E;   /* gold for text on ivory  */
  --charcoal:        #2C2825;   /* deep charcoal ink       */
  --charcoal-soft:   #574F49;   /* secondary ink           */

  /* ---- Semantic: surfaces ---- */
  --surface-page:        var(--ivory);
  --surface-raised:      #FBF8F2;   /* cards on ivory */
  --surface-sunken:      var(--ivory-deep);
  --surface-linen:       var(--blush);
  --surface-invert:      var(--burgundy);
  --surface-invert-deep: var(--burgundy-deep);

  /* ---- Semantic: text ---- */
  --text-strong:    var(--charcoal);
  --text-body:      var(--charcoal-soft);
  --text-muted:     #8A7F76;
  --text-accent:    var(--gold-deep);
  --text-on-dark:   var(--ivory);
  --text-on-dark-muted: #D9C3BD;   /* blush-tinted on burgundy */
  --text-on-dark-accent: var(--gold);

  /* ---- Semantic: lines & borders ---- */
  --line-soft:      rgba(44, 40, 37, 0.12);  /* hairline on ivory */
  --line-gold:      var(--gold);
  --line-on-dark:   rgba(245, 240, 232, 0.28);
  --line-on-dark-gold: var(--gold);

  /* ---- Semantic: brand anchors ---- */
  --brand-primary:  var(--burgundy);
  --brand-accent:   var(--gold);
  --brand-ground:   var(--ivory);

  /* ---- Focus ---- */
  --focus-ring:     rgba(196, 168, 130, 0.55);
}
