/* Two copper tokens, intentional: --copper matches the printed business-card
   terracotta on paper surfaces; --copper-bright is the on-dark variant for
   labels and CTAs over --bg. Do not consolidate. */

:root {
  /* ── Earth + document tones ─────────────────────────────────────── */
  --ink:           #1a1612;
  --ink-soft:      #3d342c;
  --ink-faint:     #6b5d4f;
  --paper:         #f4efe6;
  --paper-pure:    #faf7f1;
  --bone:          #e8e1d3;
  --rule:          #2a221b;
  --rule-soft:     rgba(42, 34, 27, 0.18);

  /* ── Brand accents ─────────────────────────────────────────────── */
  --gold:          #b8862a;
  --gold-deep:     #8a611a;
  --copper:        #a8472b;
  --copper-deep:   #7a2f1a;
  --copper-bright: #c25535;   /* lifted copper for legibility on --bg surfaces — same hue family, brighter L* */
  --silver:        #8a8680;

  /* ── Dark surfaces ─────────────────────────────────────────────── */
  --bg:            #14110d;
  --bg-elev:       #1f1a14;
  --bg-rule:       rgba(244, 239, 230, 0.14);
  --on-bg:         #ece4d2;
  --on-bg-soft:    #b9ad97;

  --accent:        var(--copper);

  /* ── Type families ─────────────────────────────────────────────── */
  --font-serif:    "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-sans:     "Inter", "Söhne", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:     "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* ── Type scale — 1.25 ratio (major third) ─────────────────────── */
  --fs-xs:    0.75rem;     /* 12 */
  --fs-sm:    0.875rem;    /* 14 */
  --fs-base:  1rem;        /* 16 */
  --fs-md:    1.125rem;    /* 18 */
  --fs-lg:    1.25rem;     /* 20 */
  --fs-xl:    1.563rem;    /* 25 */
  --fs-2xl:   1.953rem;    /* 31 */
  --fs-3xl:   2.441rem;    /* 39 */
  --fs-4xl:   3.052rem;    /* 49 */
  --fs-h1:    clamp(2.5rem, 5vw, 4.5rem);
  --fs-display: clamp(3rem, 7vw, 6rem);

  /* ── Line height ───────────────────────────────────────────────── */
  --lh-tight:  1.1;
  --lh-snug:   1.25;
  --lh-data:   1.55;   /* dense data blocks: data cards, quick-facts strips, default body */
  --lh-body:   1.55;   /* default body — long-form prose overrides via .prose */
  --lh-prose:  1.65;   /* long-form articles: /nevada-mining/, /due-diligence/, property article column */

  /* ── Tracking ──────────────────────────────────────────────────── */
  --tr-smallcaps: 0.08em;
  --tr-label:     0.04em;

  /* ── Spacing (8pt) ─────────────────────────────────────────────── */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --s-10: 128px;

  /* ── Layout ────────────────────────────────────────────────────── */
  --measure:        68ch;       /* default text measure */
  --prose-measure:  68ch;       /* long-form reading width — tune here to widen/narrow articles */
  --gutter:         clamp(16px, 4vw, 48px);
  --maxw:           1280px;
  --maxw-narrow:    880px;

  /* ── Radii (deliberately small / varied) ───────────────────────── */
  --r-0: 0;
  --r-1: 2px;
  --r-2: 4px;

  /* ── Borders ───────────────────────────────────────────────────── */
  --hairline:      1px solid var(--rule);
  --hairline-soft: 1px solid var(--rule-soft);
  --hairline-on-bg: 1px solid var(--bg-rule);

  /* ── Motion ────────────────────────────────────────────────────── */
  --ease:     cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-fast: 120ms;
  --dur:      220ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur:      0ms;
  }
}
