/* =====================================================================
 * abrn-vibe :: tokens.css
 *
 * Warm-advisory token layer ported from /lamp/www/abrnmx/src/styles/globals.css.
 *
 * SCOPE: only consumed inside .af-launcher-surface, .amarre-fiscal-surface,
 *        and .af-report-surface.  These are reference tokens — the live
 *        copy is appended to backoffice/assets/css/amarre-fiscal.css under
 *        the "ABRN-VIBE LAYER" section header (see plan §03).
 * ===================================================================== */

.af-launcher-surface,
.amarre-fiscal-surface,
.af-report-surface {
  /* warm-paper variant (opt-in via .af-surface-paper) */
  --af-paper:        #faf8f5;
  --af-paper-warm:   #f5f0eb;
  --af-paper-deep:   #f0e8e0;
  --af-paper-ink:    #3d4451;
  --af-paper-muted:  #6b7280;

  /* generous space ladder (mirror of ABRN, prefixed) */
  --af-space-1:  0.25rem;
  --af-space-2:  0.5rem;
  --af-space-3:  0.75rem;
  --af-space-4:  1rem;
  --af-space-6:  1.5rem;
  --af-space-8:  2rem;
  --af-space-12: 3rem;
  --af-space-16: 4rem;
  --af-space-20: 5rem;
  --af-space-24: 6rem;

  /* calm easings (verbatim from ABRN) */
  --af-ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.075);
  --af-ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --af-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* production brand accent (mirror of the live premium paso layer) */
  --af-brand:       #8a1538;
  --af-brand-ink:   #5f1027;
  --af-brand-soft:  rgba(138, 21, 56, 0.12);
  --af-brand-mist:  rgba(138, 21, 56, 0.07);

  /* subtle shadows (mirror of ABRN levels, slightly tuned for borgoña) */
  --af-shadow-xs: 0 1px 2px rgba(15, 20, 40, 0.04);
  --af-shadow-sm: 0 1px 3px rgba(15, 20, 40, 0.08), 0 1px 2px rgba(15, 20, 40, 0.04);
  --af-shadow-md: 0 4px 6px rgba(15, 20, 40, 0.05), 0 2px 4px rgba(15, 20, 40, 0.04);
  --af-shadow-lg: 0 10px 15px rgba(15, 20, 40, 0.08), 0 4px 6px rgba(15, 20, 40, 0.03);

  /* serif heading family — Libre Baskerville loaded via <link> in each PHP file */
  --af-serif: 'Libre Baskerville', 'Baskerville', 'Georgia', serif;

  /* tracking + line-height for serif heads */
  --af-serif-h1-size:    clamp(2.25rem, 4.5vw, 3.75rem);
  --af-serif-h1-weight:  700;
  --af-serif-h1-leading: 1.1;
  --af-serif-h1-tracking: -0.01em;

  /* legacy burgundy nod kept for older report references only. New paso
     surfaces should consume --af-brand instead. */
  --af-accent-burgundy: #7d4f50;
}
