/* Echonomy Ventures — design tokens
 * Carried verbatim from the Echonomy Design System bundle (Drive, 2026-08-07):
 * tokens/colors.css, tokens/typography.css, tokens/spacing.css.
 * Additions for this site are marked ADDED and explained in brand/design-system.md.
 * Nothing here was changed from the source system. */

:root {
  /* base — ink (dark blacks) */
  --ink-0: #050607;
  --ink-1: #0B0C0E;
  --ink-2: #14161A;
  --ink-3: #1D2026;
  --ink-4: #2E333B;

  /* base — paper (bright whites) */
  --paper-0: #FFFFFF;
  --paper-1: #F6F7F8;
  --paper-2: #EEF0F2;

  /* base — neutrals (cool gray) */
  --gray-1: #E2E4E8;
  --gray-2: #C7CBD2;
  --gray-3: #9AA1AB;
  --gray-4: #5A616C;
  --gray-5: #3A404A;

  /* base — signal (the one primary) */
  --signal: #FF4B1F;
  --signal-bright: #FF6A43;
  --signal-dim: #C93A16;
  --signal-tint: #FFEAE3;
  --signal-ghost: rgba(255, 75, 31, .12);

  /* base — semantic data colors (directional data only, never decoration) */
  --up: #0E9F6E;
  --up-tint: #E3F5EE;
  --down: #D92D20;
  --down-tint: #FBEAE9;
  --warn: #B98900;

  /* semantic aliases — light context */
  --surface-page: var(--paper-0);
  --surface-sunken: var(--paper-1);
  --surface-card: var(--paper-0);
  --text-body: var(--ink-2);
  --text-strong: var(--ink-1);
  --text-muted: var(--gray-4);
  --text-faint: var(--gray-3);
  --border-strong: var(--ink-1);
  --border-subtle: var(--gray-1);
  --border-mid: var(--gray-2);
  --accent: var(--signal);
  --accent-hover: var(--signal-dim);
  --accent-text-on: var(--paper-0);
  --focus-ring: 0 0 0 2px var(--paper-0), 0 0 0 4px var(--signal);

  /* semantic aliases — dark (inverse / Echo console) */
  --inv-surface: var(--ink-1);
  --inv-surface-raised: var(--ink-2);
  --inv-text: var(--paper-0);
  --inv-text-muted: var(--gray-3);
  --inv-border: var(--ink-4);

  /* sonar grid */
  --grid-line-dark: #1B1E23;
  --grid-line-light: #EDEFF1;
  --grid-size: 40px;

  /* type */
  --font-sans: 'Instrument Sans', -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, 'SF Mono', monospace;
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 21px;
  --text-xl: 28px;
  --text-2xl: 38px;
  --text-3xl: 52px;
  --text-4xl: 72px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --leading-tight: 1.05;
  --leading-snug: 1.2;
  --leading-normal: 1.55;
  --tracking-tight: -0.02em;
  --tracking-wide: 0.08em;
  --tracking-caps: 0.14em;
  --tracking-wordmark: 0.18em;
  --type-display: var(--weight-semibold) var(--text-3xl)/var(--leading-tight) var(--font-sans);
  --type-title: var(--weight-semibold) var(--text-xl)/var(--leading-snug) var(--font-sans);
  --type-body: var(--weight-regular) var(--text-base)/var(--leading-normal) var(--font-sans);
  --type-label: var(--weight-medium) var(--text-xs)/1.2 var(--font-sans);
  --type-data: var(--weight-regular) var(--text-sm)/1.5 var(--font-mono);
  --type-caps: var(--weight-medium) var(--text-xs)/1.2 var(--font-sans);

  /* spacing — 4px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* radii — sharp system; pill only for tags */
  --radius-0: 0;
  --radius-1: 2px;
  --radius-pill: 999px;

  /* borders */
  --border-hairline: 1px;
  --border-rule: 1.5px;

  /* shadows — used sparingly; crisp borders carry structure */
  --shadow-overlay: 0 12px 32px rgba(5, 6, 7, .18);

  /* motion */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-pulse: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 400ms;

  /* ADDED — the drafting sheet.
   * --sheet is sampled from the hero photograph's own ground (#111214 avg at the
   * corners) so the image dissolves into the page instead of sitting on it.
   * The drafting hairlines are the sonar grid drawn in signal instead of gray:
   * the page becomes the dimension sheet the hero is drawn on. */
  --sheet: #121316;
  --sheet-deep: #0D0E10;
  --draft-line: rgba(255, 75, 31, .16);
  --draft-line-faint: rgba(255, 75, 31, .07);
  --draft-rule: rgba(255, 75, 31, .34);
  --measure: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
}
