/* Five brand colors. Everything else is an alias or a value lifted from the logo files. */
:root{
  /* Base palette */
  --ink:#14181B;
  --paper:#FAF9F6;                 /* brand paper. Reversed text and logo fills only. */
  --paper-warm:#FAF8F5;            /* the page ground: paper, one step warmer. See --surface-page. */
  --graphite:#5C5853;              /* darkened 2% from #5E5A55 to hold 6:1 on the sunk band under the grain. */
  --rule:#DCD7CE;
  --eosin:#8F3F49;

  /* Reversed palette. --eosin-tint is the exact fill used in the reversed logo
     files (biodvance-mark-reversed.svg); the two neutrals are derived from ink+paper
     so that captions and hairlines survive on a dark ground. */
  --eosin-tint:#BF9397;
  --graphite-reversed:#9B958D;
  --rule-reversed:#3A3E40;

  /* Surface aliases */
  --surface-page:var(--paper-warm);
  --surface-sunk:#F2EFE9;          /* derived: paper-warm mixed toward rule. Bands and pull-outs only. */
  --surface-inverse:var(--ink);
  --surface-card:var(--paper-warm); /* cards are not filled; they are ruled. See VISUAL FOUNDATIONS. */

  /* Text aliases */
  --text-primary:var(--ink);
  --text-secondary:var(--graphite);
  --text-accent:var(--eosin);
  --text-inverse:var(--paper);
  --text-inverse-secondary:var(--graphite-reversed);

  /* Line aliases */
  --border-hairline:var(--rule);
  --border-hairline-inverse:var(--rule-reversed);
  --border-strong:var(--ink);
  --border-accent:var(--eosin);

  /* Interaction aliases */
  --link-text:var(--ink);
  --link-underline:var(--eosin);
  --link-hover:var(--eosin);
  --focus-ring:var(--eosin);
}
