/* ──────────────────────────────────────────────────────────────
   Grained: design tokens (v2)
   Palette from the banner logo: warm paper, near-black ink, the logo's
   orange as the one warm accent, and its green used sparingly.
   Type: Manrope (display and text), JetBrains Mono (labels),
   Poppins 600 for the wordmark only (it is the logo's typeface).
   ────────────────────────────────────────────────────────────── */
:root {
  /* paper */
  --paper:      #F5F3EE;
  --paper-2:    #EEEBE3;
  --paper-3:    #E4DED2;

  /* ink */
  --ink:        #16150F;   /* display type, rules, marks */
  --ink-2:      #47443C;   /* body text */
  --ink-3:      #6B675D;   /* secondary text (AA on paper) */
  --ink-mute:   #8A857A;   /* large display type only (the quiet half of a headline) */
  --ink-4:      #B9B3A7;   /* faint marks, disabled */

  /* brand */
  --grain:      #F39200;   /* logo orange: fills and marks, never small text */
  --grain-2:    #F7B25A;   /* light orange */
  --grain-deep: #A0500A;   /* orange that can sit on paper as text (5.2:1) */
  --sprout:     #3F7D27;   /* logo green: verified, the dot in Grained.AI */
  --husk:       #D9C9AA;   /* raw grain */
  --tile:       #E6DFD1;   /* resting grain tile */
  --tile-hover: #DCD3C2;
  --tile-o1:    #F2C489;   /* pale orange tile */
  --tile-o3:    #E2A35A;   /* amber tile */
  --stone:      #A8A397;   /* neutral grain */

  /* lines */
  --line:       rgba(22, 21, 15, 0.10);
  --line-2:     rgba(22, 21, 15, 0.18);
  --hair:       rgba(22, 21, 15, 0.30);

  /* type */
  --f-sans: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-logo: "Poppins", "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1320px;
  --header-h: 72px;
  --radius: 14px;
  --radius-s: 8px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io:  cubic-bezier(.65, 0, .35, 1);

  /* legacy names, kept so the archived animation modules still render in dev/harness.html */
  --f-display: var(--f-sans);
  --f-body: var(--f-sans);
  --grid: rgba(22, 21, 15, 0.05);
  --grid-strong: rgba(22, 21, 15, 0.12);
  --rule: var(--ink);
  --ink-deep: var(--ink);
  --night: #16150F;
  --night-2: #24221B;
  --maize: #F7B25A;
  --cell: 24px;
}
