/* wagnersza.tech brand tokens: the single source of truth.
   Brand: "Signal" (decided 2026-10-15). True black and white, one signal-amber accent,
   the orbit logo, and one amber line that connects everything. Documented in ../docs/design.md.
   Import or copy these variables; never hard-code brand values elsewhere.
   Fonts: <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700;800&family=Inter:wght@400;500;600&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> */

:root,
[data-theme="dark"] {
  /* surfaces */
  --bg: #000000;          /* page, true black */
  --panel: #111113;       /* graphite: cards, grouped blocks */
  --raised: #1c1c1f;      /* inputs, nested blocks */
  --edge: #2c2c2f;        /* input and card borders */
  --line: rgba(245, 245, 247, 0.10);   /* hairlines, dividers */
  --track: rgba(245, 245, 247, 0.16);  /* the unlit part of the signal line */

  /* ink */
  --ink: #f5f5f7;         /* primary text, logo strokes */
  --ink-2: #a1a1a6;       /* secondary text */
  --ink-3: #86868b;       /* captions, meta (5.8:1 on black) */

  /* signal amber: the logo node, the signal line, one accent word; the only colour */
  --amber: #f5a524;       /* fills: node, line, primary button */
  --amber-hover: #ffb83d;
  --amber-text: #f5a524;  /* amber used as text */
  --on-amber: #000000;    /* text on amber fills */
  --logo-node: var(--amber);

  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #ffffff;
  --panel: #f2f2f4;
  --raised: #ffffff;
  --edge: #d2d2d7;
  --line: rgba(11, 11, 12, 0.10);
  --track: rgba(11, 11, 12, 0.14);

  --ink: #0b0b0c;
  --ink-2: #48484d;
  --ink-3: #6e6e73;       /* 4.8:1 on white */

  --amber: #f5a524;       /* same fill in both themes */
  --amber-hover: #e8960f;
  --amber-text: #b45f00;  /* darker amber for text on white (4.6:1) */
  --on-amber: #000000;

  color-scheme: light;
}

:root {
  /* type */
  --display: "Inter Tight", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; /* headlines: 800, tracking -0.045em, leading 1.0 */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;            /* body: 400 to 600 */
  --serif: "Instrument Serif", Georgia, serif;          /* the voice: italic, one accent word per headline, quotes */
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; /* section labels, timecodes, data */

  /* type scale (desktop) */
  --t-display: clamp(48px, 7.4vw, 112px);
  --t-h2: clamp(40px, 5.6vw, 80px);
  --t-h3: 26px;
  --t-body: 18px;           /* leading 1.55, tracking -0.01em */
  --t-small: 15px;
  --t-label: 12px;          /* mono, tracking 0.18em, uppercase allowed only here */
  --t-number: clamp(64px, 10vw, 160px);  /* proof numbers: display 800, tracking -0.05em */

  /* shape */
  --r-pill: 999px;          /* buttons, inputs */
  --r-panel: 24px;          /* grouped panels */
  --r-card: 16px;

  /* the signal */
  --signal-width: 2px;      /* the amber line */
  --node-size: 14px;        /* section node on the line */

  /* space (4px base) and layout */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
  --s-7: 48px; --s-8: 72px; --s-9: 96px; --s-10: 160px;   /* --s-10 = section rhythm */
  --content: 1360px;        /* max width */
  --edge-x: max(40px, calc((100vw - 1360px) / 2 + 40px));  /* outer margin, where the signal runs */

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 200ms;
  --dur-reveal: 900ms;
}
