/* Hallmark · genre: editorial · macrostructure: Index-First · theme: custom "Slide Glass"
 * vibe: histology bench notebook, cool glass-slide paper, eosin pink accent, specimen labels
 * paper oklch(96.5% 0.012 235) · accent oklch(50% 0.20 12) eosin · display Barlow Condensed · body Source Serif 4 · outlier Space Mono
 * axes: light / display-condensed / warm eosin pink on cool paper
 * nav: N2 floating chip + index sheet · footer: Ft2 inline rule · enrichment: Tier B hand-built SVG (stained tissue section)
 */
:root {
  --color-paper:   oklch(96.5% 0.012 235);
  --color-paper-2: oklch(93% 0.016 235);
  --color-paper-3: oklch(89% 0.020 235);
  --color-rule:    oklch(82% 0.020 235);
  --color-rule-2:  oklch(62% 0.030 245);
  --color-muted:   oklch(40% 0.030 250);
  --color-ink:     oklch(20% 0.030 255);
  --color-ink-dim: oklch(28% 0.030 255);

  --color-accent:     oklch(50% 0.200 12);
  --color-accent-ink: oklch(97% 0.010 12);
  --color-focus:      oklch(55% 0.200 12);

  /* stain tokens, used only inside the tissue drawing */
  --stain-eosin-1: oklch(88% 0.050 8);
  --stain-eosin-2: oklch(78% 0.110 8);
  --stain-eosin-3: oklch(66% 0.150 6);
  --stain-hema-1:  oklch(60% 0.100 300);
  --stain-hema-2:  oklch(44% 0.120 300);
  --stain-hema-3:  oklch(30% 0.100 295);

  --font-display: "Barlow Condensed", ui-sans-serif, "Arial Narrow", sans-serif;
  --font-body:    "Source Serif 4", ui-serif, Georgia, serif;
  --font-mono:    "Space Mono", ui-monospace, "Cascadia Mono", monospace;
  --weight-body: 400;

  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: 1.1875rem;
  --text-md:   1.375rem;
  --text-lg:   1.75rem;
  --text-xl:   2.375rem;
  --text-2xl:  clamp(2.75rem, 1.4rem + 5vw, 5rem);
  --text-display: clamp(3rem, 1.4rem + 7vw, 6.5rem);

  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  --rule-hair:  1px;
  --rule-thick: 3px;
  --radius-s: 4px;
  --radius-m: 12px;
  --radius-pill: 999px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-short: 140ms;
  --dur-base:  240ms;
  --dur-long:  600ms;

  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 200;
  --z-modal: 400;

  --measure: 62ch;
  --wrap: 70rem;
}
