/* Welwitschia design tokens. Black ground, white type, logo orange for actions and the workflow line only.
   Contrast (measured): text 18.3:1, text-2 9.7:1, text-3 6.2:1, orange on ground 6.7:1, ink on orange 6.5:1. */
:root {
  /* Ground and surfaces: true-black ground like the logo's, warm near-blacks for raised areas */
  --ground: #040303;
  --surface-1: #0d0b0a;
  --surface-2: #151210;
  --surface-3: #1e1a17;
  --line: #2a2522;
  --line-strong: #3d3631;

  /* Type colours */
  --text: #f4f1ec;
  --text-2: #b9b1a7;
  --text-3: #958b80;
  --white: #ffffff;

  /* Logo orange (sampled from welwitschia-logo.png) */
  --orange: #f86400;
  --orange-hover: #ff7a1f;
  --on-orange: #0a0806;
  --orange-wash: rgba(248, 100, 0, 0.12);

  /* Feedback */
  --ok: #7fd1a0;
  --error: #ff8a7a;

  /* Type */
  --font-display: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.6rem, 5.4vw + 0.4rem, 5.25rem);
  --fs-h2: clamp(2.1rem, 3.6vw + 0.5rem, 3.75rem);
  --fs-h3: clamp(1.55rem, 1.6vw + 0.7rem, 2.15rem);
  --fs-quote: clamp(1.75rem, 2.6vw + 0.6rem, 3rem);
  --fs-lede: clamp(1.08rem, 0.4vw + 0.98rem, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-tiny: 0.8125rem;

  /* Space */
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1240px;
  --section: clamp(96px, 12vw, 176px);
  --stack: clamp(28px, 3vw, 44px);

  /* The workflow line runs down a rail on the left of every section */
  --rail: clamp(36px, 6vw, 88px);
  --rail-x: clamp(12px, 2vw, 28px);
  --node: 18px;

  /* Shape */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 72px;
}
