/* ==========================================================================
   Pacific Paralegal Group — design tokens
   Single source of truth for color, type, spacing, and effects.
   ========================================================================== */

:root {
  /* --- Color ------------------------------------------------------------ */
  --navy:      #1B2A44;  /* primary dark: headers, footer, dark bands */
  --navy-raised: #24365A; /* panels/surfaces resting on navy */
  --charcoal:  #2E3138;  /* body text on light backgrounds */
  --cream:     #F7F3EA;  /* page + light-section background */
  --brass:     #B08D57;  /* accent: buttons, rules, icons (large elements) */
  --brass-ink: #7A5C33;  /* darkened brass for text-sized uses (links) — WCAG AA on cream/white */
  --border:    #D8D2C4;  /* card borders, dividers */
  --white:     #FFFFFF;  /* card/panel surface on cream */
  --error:     #A33A2E;  /* form validation text — AA on cream/white */

  /* Translucent helpers */
  --brass-tint: rgba(176, 141, 87, 0.14);   /* icon-tile backgrounds on white */
  --cream-line: rgba(247, 243, 234, 0.22);  /* hairlines on navy */
  --navy-shadow: rgba(27, 42, 68, 0.07);

  /* --- Typography -------------------------------------------------------- */
  /* System-safe stacks (no webfont downloads; fast, private).
     Swap for self-hosted Source Serif 4 / Source Sans 3 later if desired —
     this file is the only place that needs to change. */
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --text-h1: clamp(2.25rem, 4.5vw + 1rem, 3.25rem);
  --text-h2: clamp(1.65rem, 2vw + 1rem, 2.1rem);
  --text-h3: 1.3rem;
  --text-lede: clamp(1.1rem, 0.4vw + 1rem, 1.2rem);
  --text-body: 1.0625rem;   /* 17px */
  --text-small: 0.875rem;   /* 14px */
  --text-eyebrow: 0.8125rem;

  --leading-body: 1.65;
  --leading-tight: 1.15;
  --measure: 68ch;

  /* --- Spacing (4px base) ------------------------------------------------ */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;

  --section-pad: clamp(3.75rem, 9vw, 6.25rem);
  --container: 71.25rem; /* 1140px */
  --side-pad: clamp(1.25rem, 5vw, 2.5rem);

  /* --- Effects ----------------------------------------------------------- */
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 2px var(--navy-shadow), 0 1px 3px var(--navy-shadow);
  --shadow-2: 0 4px 14px rgba(27, 42, 68, 0.10);
  --transition: 160ms ease;
}
