/* ============================================================
   Buen Corazón A.C. — Color Tokens
   Centro cultural · Valle de Bravo · tradición tibetana
   ------------------------------------------------------------
   Palette taken DIRECTLY from the live site (buencorazon.org):
   antique gold + temple wine + warm near-blacks + warm whites.
   A restrained, editorial "atardecer / templo" system.
   ============================================================ */

:root {
  /* ---- Site base palette (verbatim from the site :root) ---- */
  --gold:        #C9A84C;   /* antique gold — the single accent  */
  --gold-light:  #E2C97E;   /* italic emphasis / highlights      */
  --gold-dark:   #A88530;   /* gold button hover / deep gold     */
  --red:         #8B1A1A;   /* temple wine — feature sections    */
  --warm-white:  #FAFAFA;   /* light section background          */
  --warm-gray:   #F0EDE8;   /* alternate light section           */
  --dark:        #1A1A1A;   /* dark section bg / primary text     */
  --deep:        #0E0E0E;   /* deepest ground / page base        */
  --earth:       #6B4226;   /* warm brown — incidental           */

  /* ---- Brand mark colors (the multicolor heart logo) -------- */
  /* The logo itself stays full-color; these are for reference,  */
  /* NOT for site chrome (chrome = gold/wine/dark only).         */
  --mark-gold:     #F5B324;
  --mark-wine:     #993233;
  --mark-lavender: #C195E2;
  --mark-purple:   #860097;

  /* ---- Extended ramp (derived, for components) -------------- */
  --gold-soft:   rgba(201,168,76,0.14);   /* faint gold fill     */
  --gold-line:   rgba(201,168,76,0.30);   /* gold hairline       */
  --gold-line-soft: rgba(201,168,76,0.18);
  --wine-deep:   #6E1414;                  /* pressed wine        */
  --wine-tint:   #FBEDED;                  /* wine wash on light  */
  --hairline:    rgba(26,26,26,0.10);      /* line on light       */
  --hairline-on-dark: rgba(255,255,255,0.10);

  /* On-dark text ramp (warm whites) */
  --on-dark-1:   #FAFAFA;
  --on-dark-2:   rgba(250,250,250,0.78);
  --on-dark-3:   rgba(250,250,250,0.55);

  /* On-light text ramp */
  --on-light-1:  #1A1A1A;
  --on-light-2:  #4A4540;
  --on-light-3:  #837C72;

  /* Legal callout / cream highlight */
  --cream-hi:    #FFF9EE;

  /* ==========================================================
     SEMANTIC ALIASES  (use these in product code)
     ========================================================== */

  /* Backgrounds — the section rhythm */
  --surface-page:      var(--deep);        /* page base behind all */
  --surface-light:     var(--warm-white);  /* light section        */
  --surface-light-alt: var(--warm-gray);   /* alternate light      */
  --surface-dark:      var(--dark);        /* dark section / footer */
  --surface-deep:      var(--deep);        /* hero / deepest        */
  --surface-feature:   var(--red);         /* wine feature section  */
  --surface-card:      #FFFFFF;            /* card on light          */
  --surface-card-dark: rgba(255,255,255,0.04); /* card on dark      */

  /* Text */
  --text-heading:      var(--dark);        /* Playfair on light     */
  --text-body:         var(--on-light-2);
  --text-muted:        var(--on-light-3);
  --text-on-dark:      var(--warm-white);
  --text-on-dark-soft: var(--on-dark-2);
  --text-on-dark-muted:var(--on-dark-3);
  --text-gold:         var(--gold);
  --text-link:         var(--gold-dark);
  --text-link-hover:   var(--gold);

  /* Brand roles */
  --brand-accent:      var(--gold);        /* the one accent        */
  --brand-feature:     var(--red);         /* wine                  */
  --brand-ink:         var(--dark);

  /* Borders & focus */
  --border-on-light:   var(--hairline);
  --border-on-dark:    var(--hairline-on-dark);
  --border-gold:       var(--gold-line);
  --focus-ring:        var(--gold);

  /* Status (kept warm, restrained) */
  --success:   #4E7A4A;
  --error:     #8B1A1A;   /* reuse wine */
  --info:      #6B4226;
}
