/* =============================================================
   Producer Workspace — shared editorial system
   Loaded by every Producer brand surface: brands/pointer/, for/jambo-java/,
   for/architects-daughter/. Shared infrastructure governs behavior
   (these tokens); merchant-specific direction governs expression
   (each brand's own font-family / color assignments). See
   PointerRiskDirector/Docs/Product/campaign-composer/producer/RUNBOOK.md.

   This file does not assign any font-family or color. Each brand's
   own stylesheet (editorial.css/pointer.css, or ad.css/identity.css)
   keeps its own font and palette tokens and wires them to the roles
   below; only the *shape* of each role and the spacing *relationships*
   between roles are centralized here, so equivalent semantic elements
   render consistently without forcing one visual template on every
   brand.
   ============================================================= */

:root {
    /* ---------- Typography contract (shape only — no family/color) ----------
       A role's own stylesheet supplies font-family via its existing brand
       tokens (--ed-serif / --ed-mono for Pointer, --serif / --sans / --mono
       for Architect's Daughter and Jambo Java) and may keep its own
       font-size clamp range where that range is part of an already-accepted
       brand composition. These tokens exist so every role at least shares
       a documented line-height / letter-spacing contract, and so new work
       has one place to start from instead of re-deriving numbers. */
    --sys-display-leading: 0.98;
    --sys-display-tracking: -0.012em;

    --sys-h2-leading: 1.02;
    --sys-h2-tracking: -0.012em;

    --sys-h3-leading: 1.1;

    --sys-body-size: 1.04rem;
    --sys-body-leading: 1.65;
    --sys-body-measure: 36rem;

    /* "Support" = secondary editorial prose that interprets an instrument
       or visualization (finding / opportunity copy, evidence reads) —
       distinct from primary body copy, shared verbatim across brands. */
    --sys-support-size: clamp(1rem, 1.5vw, 1.2rem);
    --sys-support-leading: 1.7;
    --sys-support-measure: 54ch;

    --sys-label-size: 0.72rem;
    --sys-label-leading: 1.4;
    --sys-label-tracking: 0.14em;

    --sys-fineprint-size: 0.7rem;
    --sys-fineprint-leading: 1.6;

    /* ---------- Spacing (shared tokens — identical across brands) ---------- */
    --sys-space-heading-body: 20px;
    --sys-space-paragraph: 1.15em;

    /* finding -> opportunity (two-part editorial interpretation blocks) */
    --sys-space-finding-opportunity: clamp(2rem, 4vw, 3.5rem);

    /* visualization -> interpretation, interpretation -> disclosure,
       disclosure -> next instrument: one rhythm owns all three transitions
       between the stacked instruments inside a single section, so an
       instrument's own trailing/leading margins should not duplicate it. */
    --sys-space-instrument: clamp(36px, 6vw, 68px);

    /* section -> section (chapter-level page rhythm) */
    --sys-space-section: clamp(72px, 11vw, 156px);

    --sys-content-pad: clamp(20px, 5.5vw, 72px);
    --sys-measure: 1200px;
}
