/* Hallmark · genre: terminal · macrostructure: Narrative Workflow
 * theme: Terminal · enrichment: framed photographic evidence (2 tiles)
 * nav: N8 Terminal command · footer: Ft4 Dense typographic
 * display: JetBrains Mono · body: JetBrains Mono · mono-only page
 * paper: oklch(14% 0.010 145) · accent: oklch(65% 0.20 145) (phosphor green)
 * tone: terminal · anchor hue: 145 (phosphor green) · studied: no
 * pre-emit critique: P5 H5 E4 S5 R5 V5
 */

:root {
  /* Paper - dark canvas, cool green-black tint */
  --color-paper:    oklch(14% 0.010 145);
  --color-paper-2:  oklch(19% 0.012 145);
  --color-paper-3:  oklch(24% 0.015 145);

  /* Ink - phosphor off-white */
  --color-ink:      oklch(91% 0.007 145);
  --color-ink-dim:  oklch(68% 0.007 145);

  /* Neutrals - cool green-grey */
  --color-rule:     oklch(32% 0.008 145);
  --color-neutral:  oklch(48% 0.008 145);
  --color-muted:    oklch(58% 0.005 145);

  /* Accent - phosphor green */
  --color-accent:   oklch(65% 0.20 145);
  --color-accent-2: oklch(54% 0.18 145);
  --color-focus:    oklch(72% 0.22 148);

  /* Shadows */
  --color-shadow:      oklch(0% 0 0 / 0.55);
  --color-shadow-soft: oklch(0% 0 0 / 0.30);

  /* Composited surfaces */
  --color-glass:         oklch(14% 0.010 145 / 0.82);
  --color-evidence-bg:   oklch(10% 0.008 145 / 0.88);

  /* Gradients */
  --gradient-scrim: linear-gradient(
    to bottom,
    oklch(14% 0.014 145) 0%,
    oklch(14% 0.010 145) 45%,
    oklch(14% 0.008 145) 100%
  );
  --gradient-evidence: linear-gradient(
    to right,
    oklch(10% 0.010 145 / 0.92) 0%,
    oklch(10% 0.008 145 / 0.80) 100%
  );

  /* Fonts - mono-only (terminal aesthetic) */
  --font-display:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-body:     "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-wordmark: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Scale - major third, 16px base, tightened for mono */
  --text-xs:   0.64rem;
  --text-sm:   0.8rem;
  --text-base: 1rem;
  --text-md:   1.125rem;
  --text-lg:   1.40625rem;
  --text-xl:   1.75rem;
  --text-2xl:  2.207rem;
  --text-3xl:  2.759rem;
  --text-4xl:  3.448rem;
  --text-display: clamp(2.2rem, 5.5vw, 4.2rem);

  /* Spacing - 4pt scale */
  --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;

  /* Page gutter */
  --page-gutter: clamp(1rem, 4vw, 2rem);

  /* Easings */
  --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);

  /* Durations */
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long:  420ms;

  /* Mono-specific tracking */
  --track-tight: -0.03em;
  --track-normal: 0em;
  --track-wide:   0.14em;
  --track-wider:  0.22em;

  /* Radius - terminal is sharp */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-pill: 999px;

  /* Rules */
  --rule-hair:  1px;
  --rule-thick: 1px;

  /* Z-index */
  --z-base:     1;
  --z-raised:   10;
  --z-sticky:   200;
  --z-modal:    400;
  --z-toast:    500;

  /* Cursor blink */
  --cursor-blink: 1.05s;
}
