/* Portfolio design tokens — direction "Redline Wire"
   C1 colors on black · C2 contour ASCII · C3 thin meter · C2 motion with C3's soft spring */
@import url("https://fonts.googleapis.com/css2?family=Doto:wght@400..900&family=Geist+Mono:wght@400..700&family=Space+Mono:wght@400;700&display=swap");

:root{
  /* color: surfaces */
  --c-bg:#050506;
  --c-surface:#0c0c0d;
  --c-focus:#141416;        /* opaque: focused cards must hide what's behind */
  --c-line:#2a2a2e;
  --c-line-strong:#44444a;   /* red borders only on hover/focus */

  /* color: text */
  --c-fg:#eeeeee;
  --c-dim:#8b8b92;

  /* color: signal (one job each) */
  --c-red:#ff4646;          /* interactive: parts, labels, links */
  --c-cyan:#5ef2e6;         /* readouts: secondary text, values */
  --c-yellow:#f5c542;       /* meters + the heart */

  /* type */
  --f-display:"Doto",ui-monospace,monospace;   /* dot-matrix, echoes the figure's lit tiles. Big text only (20px+), 800–900, uppercase */
  --f-mono:"Geist Mono",ui-monospace,monospace;   /* all other UI text */
  --f-ascii:"Space Mono",ui-monospace,monospace;   /* canvas ASCII grids only: glyph shapes + cell widths are tuned to it */
  --t-xs:10px; --t-sm:11px; --t-base:13px; --t-lg:20px; --t-xl:34px; --t-2xl:56px;
  --track-label:.08em;

  /* space */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px;

  /* shape */
  --cut:12px;               /* clipped corner size */
  --meter-h:6px;

  /* motion: soft spring, slow settle (read by JS) */
  --motion-speed:.25;       /* global multiplier for JS motion (springs, ping, trail) */
  --spring-k:.012;          /* pull back to rest per frame */
  --spring-damp:.96;        /* velocity kept per frame; higher = longer settle */
  --spring-push:.03;        /* how much cursor speed kicks an element */
  --ease-out:cubic-bezier(.16,1,.3,1);   /* long tail, no overshoot */
  --dur-fast:.25s; --dur:.6s; --dur-slow:1.1s;
  --dur-ping:2.6s;          /* indicator pulse */

  /* ascii */
  --ascii-size:11px; --ascii-line:13px;
  --ascii-band:13px;        /* contour spacing on screen; same at any figure size */
  --ping-speed:1.6;         /* sonar ring speed (x motion-speed) */
  --trail-ms:1600;          /* cursor glow trail lifetime (/ motion-speed) */
}
