/* Hallmark · theme: Minimal Mono · macrostructure: Gallery-First
 * paper: white / ink: near-black — no chromatic accent, hairline rules only
 * display: Space Grotesk · body: Inter (SIL OFL) — exactly two fonts
 * axes: paper=light / display=grotesk-sans / accent=neutral
 * dark band: homepage masthead + hero only — night/night-2 ground, inverted ink
 */
:root {
  /* colour */
  --color-paper: #fff;
  --color-paper-2: oklch(97.3% 0.002 90);
  /* soft surface — cards, placeholders */
  --color-ink: oklch(18% 0.005 270);
  --color-ink-2: oklch(45% 0.005 270);
  --color-ink-3: oklch(65% 0.005 270);
  --color-line: oklch(18% 0.005 270 / 0.12);
  --color-line-soft: oklch(18% 0.005 270 / 0.07);
  --color-accent: var(--color-ink);
  --color-focus: oklch(45% 0.11 250);
  /* visible blue ring — a11y only, not decoration */

  /* dark band — homepage masthead + hero; never below the hero, never on
     project-detail / contact, which stay paper-white */
  --color-night: #110906;
  --color-night-2: oklch(23% 0.005 270);
  --color-ink-inv: oklch(98% 0.002 90);
  --color-ink-inv-2: oklch(76% 0.004 270);
  --color-ink-inv-3: oklch(62% 0.004 270);

  /* type */
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Inter", sans-serif;
  /* one body face carries labels too */
  --text-display: clamp(2.25rem, 5vw, 3.5rem);
  --text-display-s: clamp(1.75rem, 3.5vw, 2.5rem);
  --text-2xl: clamp(1.35rem, 2.6vw, 1.75rem);
  --text-xl: 1.25rem;
  --text-lg: 1.0625rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  /* space (4-pt, generous for whitespace) */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* rules & radius */
  --rule-hair: 1px;
  --rule-thick: 1px;
  /* one visual line-weight only */
  --rule-progress: 3px;
  /* scroll-progress bar — control chrome, not a rule line */
  --ring-dot: 2px;
  /* indicator rings only (page-dots) — not a rule line */
  --radius-none: 0;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
}