/* ============================================================
 * Alcedo Trading — design tokens
 *
 * The private-desk cut of the Alcedo system. Two things are locked
 * to the family: the kingfisher mark and the refined purple accent
 * (#9880CE / #B49FE0 / #71589F). Everything else is this site's own.
 *
 * The base is deliberately NOT the mother's blue-black #0B0D11. Every
 * neutral here carries a faint violet cast so the accent reads as the
 * native colour of the paper rather than a swapped-in tint. Purple is
 * used the way gilding is used on an engraved certificate: a few
 * precious touches, never a flood.
 * ============================================================ */
:root {
  /* --- Stage & surfaces (violet ink) --- */
  --ink:        #0C0A12;   /* the page */
  --ink-deep:   #08070C;   /* wells, the darkest rest */
  --paper:      #12101B;   /* the one raised surface */

  /* --- Rules (hairlines only; no filled boxes) --- */
  --line:       #241F30;   /* structural rule */
  --line-soft:  #191527;   /* whisper rule */
  --line-hair:  rgba(242, 238, 227, 0.08);

  /* the mat: how far the hairline frame — and the stage inside it — sit in */
  --mat:        clamp(8px, 1vw, 16px);

  /* --- Ink on paper --- */
  --cream:      #F2EEE3;   /* primary — never pure white */
  --dim:        #9A96A6;   /* secondary prose */
  --mute:       #857F92;   /* small-caps labels, captions */
  --faint:      #4A4557;   /* punctuation, dividers, disabled */

  /* --- Purple: the identity, used as gilding --- */
  --purple:      #9880CE;
  --purple-soft: #B49FE0;
  --purple-deep: #71589F;
  --purple-wash: rgba(152, 128, 206, 0.06);
  --purple-wash-strong: rgba(152, 128, 206, 0.12);

  /* --- Semantics kept from the family (unused unless needed) --- */
  --green: #7CC97A;
  --red:   #D45050;

  /* --- Type --- */
  --font-display: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --font-text:    'Spectral', Georgia, 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Display sizes. Bodoni is only ever set large — below ~28px its
   * hairlines thin out on a dark stage, so small type is Spectral. */
  --fs-wordmark: clamp(2.75rem, 6vw, 4.75rem);
  --fs-display:  clamp(1.375rem, 2.3vw, 1.875rem);
  --fs-lede:     clamp(1.0625rem, 1.5vw, 1.1875rem);
  --fs-body:     clamp(1rem, 1.2vw, 1.0625rem);
  --fs-small:    0.9375rem;
  --fs-micro:    0.6875rem;
  --fs-mono:     0.75rem;

  --track-caps:  0.24em;   /* wide-tracked small caps — the luxury toolkit */
  --track-mono:  0.16em;

  /* --- Measure & rhythm --- */
  --measure:     1120px;   /* content column */
  --prose:       60ch;     /* reading measure */
  --gutter:      clamp(1.5rem, 5vw, 4.5rem);
  --standing:    clamp(9rem, 15vw, 12.5rem);  /* standing-head column */
  --section:     clamp(4.5rem, 9vw, 8rem);    /* between sections */

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
