/*
 * Leader Dots: design tokens
 * A storybook frontispiece on speckled oat paper. Ornate Art Nouveau capitals, small-cap labels,
 * a warm book serif for reading, near-black ink and almost nothing else. Contents run on dotted
 * leaders to roman numerals. One faded oxblood, used like a rubber stamp, once or twice a page.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Federant&family=Almendra+SC&family=Crimson+Pro:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
 */
:root {
  /* Paper */
  --ld-paper: #e6e0d6;       /* the page, everywhere */
  --ld-paper-2: #dcd4c6;     /* a deeper leaf: quiet sections, input wells */
  --ld-card: #eee9e0;        /* a lighter leaf: cards, the featured plate */
  --ld-speck: rgba(60, 50, 38, .13);  /* paper flecks, drawn with gradients */

  /* Ink */
  --ld-ink: #17140f;
  --ld-soft: #574f43;
  --ld-faint: #938a7c;
  --ld-line: #b9af9f;        /* hairlines and dotted leaders */

  /* The stamp: one faded oxblood, at most twice a screen */
  --ld-stamp: #8a3a24;
  --ld-stamp-soft: #e8d3c8;

  /* Type */
  --ld-display: "Federant", "Cochin", Georgia, serif;
  --ld-label: "Almendra SC", "Palatino", Georgia, serif;
  --ld-body: "Crimson Pro", "Iowan Old Style", Georgia, serif;

  --ld-text-hero: clamp(56px, 9vw, 120px);
  --ld-text-h2: clamp(36px, 5vw, 60px);
  --ld-text-h3: 28px;
  --ld-text-lead: 23px;
  --ld-text-body: 19px;
  --ld-text-label: 17px;
  --ld-text-small: 15px;

  --ld-tracking-hero: .01em;
  --ld-tracking-label: .06em;

  /* Shape: square corners, hairlines and double rules, never a shadow */
  --ld-radius: 2px;
  --ld-rule: 1px solid var(--ld-ink);
  --ld-hair: 1px solid var(--ld-line);
  --ld-double: 3px double var(--ld-ink);
  --ld-leader-dot: 2px;      /* dot size in a leader */
  --ld-leader-gap: 9px;      /* distance between leader dots */

  /* Space */
  --ld-space-1: 8px;
  --ld-space-2: 16px;
  --ld-space-3: 24px;
  --ld-space-4: 40px;
  --ld-space-5: 64px;
  --ld-section: clamp(64px, 9vw, 112px);
  --ld-page: 1080px;         /* widest container */
  --ld-column: 640px;        /* reading column and contents width */
}
