/* Aegis Global Grants — design tokens
   Theme: Studio (Hallmark catalog) — cool-grey paper, near-black ink,
   forest-green accent. Fraunces display · Geist body · Geist Mono labels. */

:root {
  /* Colour */
  --color-paper:     oklch(96.5% 0.005 200);
  --color-paper-2:   oklch(93.5% 0.007 200);
  --color-paper-3:   oklch(89%   0.010 200);
  --color-rule:      oklch(82%   0.008 200);
  --color-rule-2:    oklch(68%   0.010 200);
  --color-muted:     oklch(48%   0.012 205);
  --color-neutral:   oklch(34%   0.016 205);
  --color-ink-2:     oklch(22%   0.020 205);
  --color-ink:       oklch(13%   0.024 205);
  --color-accent:    oklch(46%   0.140 145);
  --color-accent-2:  oklch(38%   0.120 145);
  --color-on-accent: oklch(97%   0.005 200);
  --color-focus:     oklch(46%   0.140 145);

  /* Type */
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-label:   "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --display-weight: 420;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.375rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.25rem;
  --text-display:   clamp(2.75rem, 5vw + 1rem, 5.5rem);
  --text-display-s: clamp(1.9rem, 3vw + 0.75rem, 3.25rem);
  --text-stage-num: clamp(3rem, 6vw + 1rem, 6rem);

  --lh-tight:   1.04;
  --lh-snug:    1.2;
  --lh-normal:  1.5;
  --lh-relaxed: 1.65;

  --tracking-display: -0.022em;
  --tracking-tight:   -0.01em;
  --tracking-label:   0.08em;

  /* Space — 4pt scale */
  --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: 6.5rem;
  --space-4xl: 9rem;

  --section-gap: 6.5rem;

  /* Layout */
  --page-max:    72rem;
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --measure:     62ch;
  --rule-hair:   1px;
  --rule-heavy:  2px;

  /* Shape */
  --radius-card: 6px;
  --radius-pill: 4px;
  --shadow-card: 0 1px 2px oklch(20% 0.014 205 / 0.05);

  /* Motion */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long:  420ms;

  /* Z */
  --z-base:   1;
  --z-raised: 10;
  --z-nav:    100;
}
