/* ============================================================
   MISCH Implant Institute — Color tokens
   Editorial medical-science palette. MISCH red is the spine.
   Bright primary (#DB0032) is an ACCENT; the deep oxblood
   shades carry entire backgrounds. White is one option, not
   the default — favor dark grounds.
   ============================================================ */

:root {
  /* ---- Brand red ramp ------------------------------------ */
  --misch-red:        #DB0032;  /* PRIMARY — Pantone 199c. Accent use. */
  --red-100:          #FFB3AD;  /* tint  */
  --red-200:          #FF595F;  /* tint  */
  --red-300:          #FB3848;  /* tint  */
  --red-500:          #DB0032;  /* = primary */
  --red-600:          #9A0105;  /* shade */
  --red-700:          #7A0000;  /* deep — bg-capable */
  --red-900:          #3C0003;  /* oxblood — bg-capable */

  /* ---- Neutrals (charcoal / grey / white) ---------------- */
  --ink-black:        #0B0B0C;  /* near-black */
  --charcoal-900:     #121214;  /* primary dark ground */
  --charcoal-800:     #18181B;
  --charcoal-700:     #1A1A1A;  /* dark ground alt */
  --charcoal-600:     #232327;
  --grey-500:         #3A3A3F;
  --grey-400:         #6B6B72;
  --grey-300:         #9A9AA2;
  --grey-200:         #C8C8CE;
  --grey-100:         #E6E6E6;  /* brand secondary grey */
  --grey-50:          #F4F4F5;
  --white:            #FFFFFF;

  /* ---- Secondary (rare — blue/navy) ---------------------- */
  --navy:             #19216D;  /* rare */
  --blue:             #0C34D9;  /* rare */

  /* ============================================================
     SEMANTIC ALIASES
     ============================================================ */

  /* Brand */
  --accent:                 var(--misch-red);
  --accent-hover:           var(--red-300);
  --accent-press:           var(--red-600);

  /* Surfaces — dark-first */
  --surface-base:           var(--charcoal-900);   /* default ground */
  --surface-raised:         var(--charcoal-700);
  --surface-card:           var(--charcoal-600);
  --surface-oxblood:        var(--red-900);         /* dramatic divider ground */
  --surface-blood:          var(--red-700);         /* dramatic ground */
  --surface-light:          var(--white);           /* light-mode ground */
  --surface-light-card:     var(--grey-50);

  /* Text on dark */
  --text-primary:           var(--white);
  --text-secondary:         var(--grey-300);
  --text-muted:             var(--grey-400);
  --text-accent:            var(--misch-red);
  --text-accent-tint:       var(--red-200);

  /* Text on light */
  --text-on-light:          var(--charcoal-900);
  --text-on-light-muted:    var(--grey-400);

  /* Lines & borders */
  --border-subtle:          rgba(255,255,255,0.12);
  --border-strong:          rgba(255,255,255,0.24);
  --border-accent:          var(--misch-red);
  --border-on-light:        rgba(11,11,12,0.12);
  --rule-accent-width:      4px;   /* red left-border card spine */

  /* Ghost / texture (oversized numerals, knocked-out letters) */
  --ghost-on-dark:          rgba(255,255,255,0.045);
  --ghost-red-on-dark:      rgba(219,0,50,0.10);
  --ghost-on-light:         rgba(11,11,12,0.04);

  /* Focus ring */
  --focus-ring:             var(--red-200);
}
