/* Track Phi Track — Color tokens
   Palette derived from the Elite Track Club emblem: crimson, black, bone, silver. */
:root {
  /* Base ramp — crimson */
  --tpt-red-900: #4A0400;
  --tpt-red-800: #6E0500;
  --tpt-red-700: #8A0600;
  --tpt-red-600: #A80800; /* signature "Track Red", sampled from the mark */
  --tpt-red-500: #C21A12;
  --tpt-red-400: #D64A3F;
  --tpt-red-300: #E88379;

  /* Base ramp — ink / neutral */
  --tpt-ink-900: #0A0A0A; /* near-black outline ink */
  --tpt-ink-800: #16161A;
  --tpt-ink-700: #26262B;
  --tpt-ink-500: #55565C;
  --tpt-silver-400: #9AA0A6; /* wing / trophy silver */
  --tpt-silver-300: #C7C9CC;
  --tpt-silver-200: #E4E5E7;

  /* Base ramp — bone / light */
  --tpt-bone-100: #F7F4EF; /* warm off-white, poster ground */
  --tpt-bone-50:  #FCFBF8;
  --tpt-white:    #FFFFFF;

  /* Accent — championship gold, used only for winner/PR moments */
  --tpt-gold:     #C8A24A;

  /* ---- Semantic aliases ---- */
  --color-accent:        var(--tpt-red-600);
  --color-accent-deep:   var(--tpt-red-800);
  --color-accent-bright: var(--tpt-red-500);
  --color-ink:           var(--tpt-ink-900);
  --color-ground-dark:   var(--tpt-ink-900);
  --color-ground-light:  var(--tpt-bone-100);
  --color-silver:        var(--tpt-silver-300);
  --color-gold:          var(--tpt-gold);

  --text-on-dark:        var(--tpt-bone-100);
  --text-on-light:       var(--tpt-ink-900);
  --text-muted-on-dark:  var(--tpt-silver-400);
  --text-muted-on-light: var(--tpt-ink-500);

  --surface-poster:      var(--tpt-ink-900);
  --surface-card:        var(--tpt-bone-50);
  --surface-footer:      var(--tpt-red-600);

  /* Tag intents */
  --tag-spotlight-bg: var(--tpt-red-600);
  --tag-spotlight-fg: var(--tpt-bone-100);
  --tag-feature-bg:   var(--tpt-bone-100);
  --tag-feature-fg:   var(--tpt-ink-900);
  --tag-alert-bg:     var(--tpt-ink-900);
  --tag-alert-fg:     var(--tpt-red-500);
  --tag-result-bg:    var(--tpt-gold);
  --tag-result-fg:    var(--tpt-ink-900);
}
