/* Next Finish Carpentry — design tokens.
   Black geometric mark, gold accent, cream paper.
   Use these variables only. Do not hard-code brand colors in screens. */

:root {
  /* color */
  --ink: #141311;
  --ink-soft: #3c3934;
  --muted: #6f6a62;
  --faint: #8d877d;
  --cream: #f4f0e8;
  --paper: #f6f3ec;
  --paper-2: #efeae1;
  --surface: #fbf8f3;
  --line: rgba(20, 19, 17, 0.1);
  --line-strong: rgba(20, 19, 17, 0.18);
  --gold: #b8954a;
  --gold-deep: #8c7134;
  --gold-soft: rgba(184, 149, 74, 0.16);
  --danger: #8f4638;
  --danger-soft: rgba(143, 70, 56, 0.08);
  --ok: #141311;
  --on-ink: #f6f3ec;
  --backdrop: rgba(20, 19, 17, 0.32);

  /* spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;

  /* radius — 10 / 14 / 18 / 24 / sheets 28+ */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-sheet: 28px;

  /* type */
  --font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --text-xs: 0.75rem;
  --text-sm: 0.86rem;
  --text-md: 1rem;
  --text-lg: 1.15rem;
  --text-xl: 1.55rem;
  --text-2xl: 2.05rem;
  --leading: 1.55;
  --tracking: -0.02em;

  /* shadow — almost invisible */
  --shadow: 0 1px 1px rgba(20, 19, 17, 0.03);
  --shadow-lift: 0 10px 28px rgba(20, 19, 17, 0.05);
  --shadow-sheet: 0 16px 40px rgba(20, 19, 17, 0.08);

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-normal: 320ms;
  --dur-slow: 520ms;

  /* breakpoints (documented; media queries use the same widths) */
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 980px;
  --bp-xl: 1200px;

  --nav: 76px;
  --sidebar: 228px;
  --measure: 1080px;

  /* aliases used by older screens and document themes */
  --pine: var(--ink);
  --pine-2: var(--ink-soft);
  --brass: var(--gold);
  --card: var(--surface);
  --radius: var(--radius-lg);
  --serif: var(--font);
}

/* Dark tokens are prepared and unused. No screen sets data-theme. */
html[data-theme="dark"] {
  --ink: #f3efe6;
  --ink-soft: #d8d2c6;
  --muted: #b0a89c;
  --faint: #8f877c;
  --cream: #1a1916;
  --paper: #121110;
  --paper-2: #1c1b18;
  --surface: #1a1916;
  --line: rgba(243, 239, 230, 0.1);
  --line-strong: rgba(243, 239, 230, 0.2);
  --gold: #c6a25a;
  --gold-deep: #e0c27a;
  --gold-soft: rgba(198, 162, 90, 0.18);
  --danger: #d08a7a;
  --danger-soft: rgba(208, 138, 122, 0.12);
  --ok: #f3efe6;
  --on-ink: #141311;
  --backdrop: rgba(0, 0, 0, 0.5);
  --shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  --shadow-lift: 0 10px 28px rgba(0, 0, 0, 0.28);
  --shadow-sheet: 0 16px 40px rgba(0, 0, 0, 0.32);
}
