/* I Am Idaho · design tokens. The only place colour is declared.
   Deep forest green (the IAI mark), three paper stocks, one accent:
   alpenglow coral, two lightnesses (fill on any ground, text on paper). */
:root {
  /* the land */
  --night:       oklch(18% 0.035 258);   /* deep night navy, the no-WebGL panel */
  --forest:      oklch(31% 0.058 158);   /* the mark */
  --forest-deep: oklch(22% 0.042 160);
  --sage:        oklch(76% 0.05 148);

  /* paper stocks */
  --ledger:      oklch(95.5% 0.017 120); /* pale green ledger */
  --ledger-rule: oklch(78% 0.05 230 / 0.42);
  --ledger-margin: oklch(62% 0.13 25 / 0.42);
  --kraft:       oklch(76% 0.058 72);
  --kraft-deep:  oklch(66% 0.062 64);
  --news:        oklch(92% 0.009 95);
  --news-rule:   oklch(30% 0.02 95 / 0.55);

  /* ink */
  --ink:         oklch(23% 0.036 160);   /* forest black, on paper */
  --ink-soft:    oklch(36% 0.034 160);
  --bone:        oklch(96.5% 0.013 95);  /* on the land */
  --bone-soft:   oklch(87% 0.02 95);
  --dusk-ink:    oklch(17% 0.04 160);    /* the name, on the golden range */

  /* the one accent */
  --accent:      oklch(71% 0.155 40);    /* alpenglow coral: fills */
  --accent-hi:   oklch(76% 0.15 44);
  --accent-deep: oklch(49% 0.16 34);     /* text-weight accent on paper */
  --accent-ink:  oklch(20% 0.045 35);    /* text on the accent */
  --focus:       oklch(82% 0.15 75);

  /* type */
  --font-display: "Anybody", ui-sans-serif, system-ui, sans-serif;
  --font-text:    "Literata", ui-serif, Georgia, serif;

  /* scrollcraft engine tokens map onto the above */
  --sc-canvas:      var(--night);
  --sc-surface:     var(--forest-deep);
  --sc-ink:         var(--bone);
  --sc-ink-soft:    var(--bone-soft);
  --sc-accent:      var(--accent);
  --sc-accent-ink:  var(--accent-ink);
  --sc-font-display: var(--font-display);
  --sc-font-text:    var(--font-text);

  /* rhythm */
  --head-h: 48px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --shadow-paper: 0 1px 0 oklch(100% 0 0 / 0.5) inset, 0 18px 40px -18px oklch(14% 0.04 250 / 0.55), 0 4px 10px -4px oklch(14% 0.04 250 / 0.35);
}
@media (max-width: 720px) {
  :root { --head-h: 44px; }
}
