/* ============================================================
   Tiedrich Global — Design Tokens (Palette A)
   Values are taken verbatim from handoff/source/tokens/*.css.
   ============================================================ */

:root {
  /* ── Core brand ─────────────────────────────────────────── */
  --color-navy:            #173061;
  --color-blue:            #1A62A8;
  --color-teal:            #258AA0;
  --color-teal-ink:        #1B6070;  /* teal for small text on light grounds */

  /* ── Navy scale ─────────────────────────────────────────── */
  --color-navy-50:         #E6EBF0;
  --color-navy-100:        #CED7E2;
  --color-navy-200:        #54759A;
  --color-navy-400:        #0B3B6F;
  --color-navy-600:        #082F58;
  --color-navy-800:        #04172C;
  --color-navy-900:        #031121;

  /* ── Neutrals ───────────────────────────────────────────── */
  --color-white:           #FFFFFF;
  --color-surface:         #F7F9FC;
  --color-gray-100:        #F2F2F2;
  --color-gray-200:        #D8D9D9;
  --color-gray-300:        #B2B3B4;
  --color-gray-400:        #808182;
  --color-gray-600:        #4D4E50;
  --color-gray-800:        #1A1C1E;
  --color-gray-900:        #010306;

  /* ── Text ───────────────────────────────────────────────── */
  --color-text:            #00264D;
  --color-text-secondary:  #6B7177;
  --color-text-on-dark:    #FFFFFF;
  --color-text-muted-dark: rgba(255, 255, 255, 0.65);
  --color-sky:             #7FC9D8;  /* eyebrow / label on dark */

  /* ── Borders ────────────────────────────────────────────── */
  --color-border:          #E4E9F1;
  --color-border-dark:     rgba(1, 3, 6, 0.15);
  --color-border-light:    rgba(255, 255, 255, 0.18);
  --color-accent-rule:     var(--color-teal);

  /* ── Type families ──────────────────────────────────────────
     Geometos Soft is the brand display face. The licensed webfont
     was not supplied with this handoff, so Montserrat — the
     documented fallback, and what the approved reference render
     itself displays — carries the headlines for now. Dropping
     Geometos Soft woff2 files into assets/fonts/ and adding the
     @font-face block is the only change needed to swap it in;
     no markup or class changes.
     ───────────────────────────────────────────────────────── */
  --font-display: 'Geometos Soft', 'Montserrat', Georgia, serif;
  --font-heading: 'Geometos Soft', 'Montserrat', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* ── Type scale (desktop) ───────────────────────────────── */
  --type-h1:        5.25rem;
  --type-h2:        3.75rem;
  --type-h3:        3rem;
  --type-h4:        2.5rem;
  --type-h5:        2rem;
  --type-h6:        1.625rem;
  --type-xl:        1.625rem;
  --type-lg:        1.25rem;
  --type-base:      1.125rem;
  --type-sm:        1rem;
  --type-xs:        0.75rem;

  /* ── Line heights ───────────────────────────────────────── */
  --leading-display: 1.05;
  --leading-heading: 1.15;
  --leading-tight:   1.25;
  --leading-snug:    1.35;
  --leading-body:    1.6;
  --leading-relaxed: 1.75;

  /* ── Tracking ───────────────────────────────────────────── */
  --tracking-tight:  -0.02em;
  --tracking-wide:    0.04em;
  --tracking-caps:    0.08em;

  /* ── Weights ────────────────────────────────────────────── */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* ── Spacing ────────────────────────────────────────────── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;

  --section-py-sm: 4rem;
  --section-py-md: 6rem;
  --section-py-lg: 7rem;
  --section-px:    5%;

  --container:     80rem;   /* 1280px — the standard content width */
  --container-lg:  48rem;
  --container-xl:  64rem;

  /* ── Radii ──────────────────────────────────────────────── */
  --radius-sm:     2px;
  --radius-tag:    2px;
  --radius-button: 4px;
  --radius-input:  4px;
  --radius-card:   10px;
  --radius-image:  10px;
  --radius-band:   1.75rem;  /* inset feature bands */
  --radius-cta:    2rem;
  --radius-full:   9999px;

  --border-thin:   1px;
  --accent-rule-h: 3px;
  --accent-rule-w: 44px;

  /* ── Shadows (navy-tinted, never black) ─────────────────── */
  --shadow-xs:       0 1px 2px rgba(0, 38, 77, 0.05);
  --shadow-sm:       0 1px 3px rgba(0, 38, 77, 0.06), 0 1px 2px rgba(0, 38, 77, 0.04);
  --shadow-md:       0 4px 12px rgba(0, 38, 77, 0.08), 0 1px 3px rgba(0, 38, 77, 0.04);
  --shadow-lg:       0 8px 24px rgba(0, 38, 77, 0.10), 0 2px 6px rgba(0, 38, 77, 0.06);
  --shadow-xl:       0 16px 40px rgba(0, 38, 77, 0.12), 0 4px 8px rgba(0, 38, 77, 0.08);
  --shadow-card:     0 1px 3px rgba(0, 38, 77, 0.07), 0 0 0 1px var(--color-border);
  --shadow-elevated: 0 8px 24px rgba(0, 38, 77, 0.11), 0 2px 6px rgba(0, 38, 77, 0.05);
  --focus-ring:      0 0 0 3px rgba(37, 138, 160, 0.30);

  --navbar-height: 4.5rem;
}

/* Mobile type scale */
@media (max-width: 991px) {
  :root {
    --type-h1: 3rem;
    --type-h2: 2.75rem;
    --type-h3: 2rem;
    --type-h4: 1.5rem;
    --type-h5: 1.25rem;
    --type-h6: 1.125rem;
  }
}
