/* Good Measure design tokens, edition 05 (17 Oct 2026).
   Source of truth: None Other Studios Working Brand Pack 04 (16 Oct 2026), plus Mark's settled overrides
   (TAY Birdie stands in for Wingman; tagline MEASURE. QUOTE. MAKE.; ruler 0-10 cm).
   Surface tints and shadows are sampled from the pack's own pages, not invented.
   Font files: ../assets/fonts/. Paper texture: ../assets/texture/paper.jpg */
:root{
  /* Core palette (pack p04). Use only these six for meaning. */
  --gm-cobalt:#3C2BF5;      /* brand ink: logo, headings, labels, rules, primary action */
  --gm-cream:#F7E7D3;       /* page ground */
  --gm-off-black:#252421;   /* body text and values only; never page furniture or rules */
  --gm-stamp-red:#C94939;   /* key moments: job numbers, status stamps, cut lines */
  --gm-tape-yellow:#F4C548; /* money highlight: price stamp, to-invoice */
  --gm-paper:#FFFCF4;       /* raised surface */

  /* Surface tints used by the pack's layouts. Fills only, never text. */
  --gm-surface-card:#FFF8E9;        /* job record card (p06) */
  --gm-surface-note:#FFF9F0;        /* note cards (p06) */
  --gm-surface-peach:#FFE6CC;       /* highlighted note (p06) */
  --gm-surface-why:#FFEED6;         /* hero idea card (p02) */
  --gm-surface-quiet:#F6F0E7;       /* secondary card (p02) */
  --gm-surface-step-a:#F0E3C9;      /* journey tile, odd (p02) */
  --gm-surface-step-b:#FFF9ED;      /* journey tile, even (p02) */
  --gm-surface-status:#FFECDD;      /* status stamp fill (p06) */
  --gm-app-sidebar:#F0DFC5;         /* app sidebar (p07) */
  --gm-app-main:#FFFBF4;            /* app canvas (p07) */
  --gm-app-kpi-1:#F5EBDD;           /* KPI card (p07) */
  --gm-app-kpi-2:#FFF8EB;           /* KPI card (p07) */
  --gm-app-stripe:#F9F1E4;          /* table zebra row (p07) */

  /* Lines */
  --gm-rule:#E2D5BF;        /* hairline dividers */
  --gm-rule-row:#D9CCB9;    /* form/table row dividers */
  --gm-border-card:#E2D3BD; /* card outline */
  --gm-border-table:#EADFCC;

  /* Secondary text */
  --gm-text-muted:#5C5650;      /* captions, help text: 5.97:1 on cream */
  --gm-text-furniture:#7A7068;  /* running footers only (pack) */

  /* Type */
  --gm-font-display:"TAY Birdie","Birdie","Lato",sans-serif; /* replace with "Wingman" once licensed */
  --gm-font-sans:"Lato",system-ui,sans-serif;
  --gm-font-mono:"Liberation Mono","Courier New",monospace;

  /* Lifted paper: a slightly darker sheet peeking out bottom-right, warm tan, barely blurred. Never black. */
  --gm-lift:7px 7px 1px rgba(150,110,70,.18),12px 12px 3px rgba(150,110,70,.08);
  --gm-lift-sm:5px 5px 1px rgba(150,110,70,.14),9px 9px 2px rgba(150,110,70,.06);

  /* Shape */
  --gm-radius-stamp:4px;
  --gm-radius-control:6px;
  --gm-radius-table:8px;
  --gm-radius-tile:10px;
  --gm-radius-card:12px;

  /* Spacing (8px base) */
  --gm-space-1:4px; --gm-space-2:8px; --gm-space-3:12px; --gm-space-4:16px;
  --gm-space-5:24px; --gm-space-6:32px; --gm-space-7:48px; --gm-space-8:64px; --gm-space-9:104px;
}

/* Measurement-tool details (Brand Pack 04, measured at 288 dpi). Weights and ticks are the pack's;
   frame, folio and stamp specs are a proposal for None Other Studios. See DESIGN.md section 7. */
:root{
  --gm-line-structure:1px solid #3C2BF5;   /* 1 pt cobalt: under running headers, titles, card heads */
  --gm-line-measure:.5px solid #3C2BF5;    /* 0.5 pt cobalt: rulers, ticks, dimension lines */
  --gm-line-row:.5px solid #D9CCB9;        /* 0.5 pt tan: rows in forms and tables */
  --gm-line-cut:1px dashed #C94939;        /* cut lines only */
  --gm-tick-mm:3.8pt; --gm-tick-5mm:7.8pt; --gm-tick-cm:12.8pt;
  --gm-grid-line:#BBD0D5;                  /* quiet working grid (pack p05) */
  --gm-frame-header-gap:10px;              /* running header text to its rule */
  --gm-stamp-rotate:-4deg;
}
