/**
 * FOMEX FERROALLOY — steel / molten design tokens
 * Visual world: metallurgical spec sheet, not wood-green Fomex Global.
 */
:root {
  --color-steel: #2A4B6B;
  --color-steel-dark: #1E3750;
  --color-steel-mid: #33597e;
  --color-steel-soft: #E6EDF4;
  --color-molten: #B5651D;
  --color-molten-dark: #95530F;
  --color-amber: #E29A4B;

  /* Legacy aliases — keep existing component hooks working. */
  --color-fomex-green: var(--color-steel);
  --color-fresh-green: var(--color-amber);
  --color-charcoal: #16201c;

  --color-orange-cta: var(--color-molten);
  --color-blue-technical: var(--color-steel);
  --color-gold: var(--color-amber);

  --color-white: #ffffff;
  --color-grey-100: #f5f7f5;
  --color-off-white: #F5F7F5;
  --color-mist: #ECF1ED;
  --color-text: #16201c;
  --color-text-muted: #4a5751;
  --color-border: #E2E7E3;

  --color-primary: var(--color-steel);
  --color-primary-hover: var(--color-steel-dark);
  --color-surface: var(--color-white);
  --color-surface-alt: var(--color-off-white);
  --color-surface-hover: var(--color-steel-soft);
  --color-text-dark: var(--color-charcoal);
  --color-text-secondary: var(--color-text-muted);
  --color-accent-cta: var(--color-molten);
  --color-accent-cta-hover: var(--color-molten-dark);
  --color-heading: var(--color-steel-dark);
  --color-technical: var(--color-steel);
  --color-technical-soft: rgba(42, 75, 107, 0.08);
  --color-footer: #10201a;

  --font-heading: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "Cascadia Code", monospace;
  --font-weight-heading: 700;
  --font-weight-display: 800;
  --line-height-heading: 1.14;
  --line-height-body: 1.6;

  --text-h1: 2.75rem;
  --text-h1-lg: 3.125rem;
  --text-h2: 2rem;
  --text-h2-lg: 2.125rem;
  --text-stat: 1.625rem;
  --text-h3: 1.5rem;
  --text-h3-lg: 1.75rem;
  --text-h4: 1.25rem;
  --text-h4-lg: 1.375rem;
  --text-h5: 1.125rem;
  --text-h5-lg: 1.25rem;
  --text-h6: 1rem;
  --text-h6-lg: 1.125rem;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;

  --leading-tight: 1.14;
  --leading-normal: 1.6;
  --leading-relaxed: 1.65;

  --container-max: 1200px;
  --container-pad: 1.875rem;
  --header-height: 4.75rem;

  --section-gap-y: clamp(4rem, 6vw, 4.5rem);

  --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;

  --radius-sm: 0.1875rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.375rem;
  --radius-card: 0.375rem;
  --radius-xl: 0.5rem;

  --shadow-sm: 0 1px 3px rgba(30, 55, 80, 0.08);
  --shadow-md: 0 18px 40px -22px rgba(20, 32, 28, 0.4);
  --shadow-lg: 0 18px 40px -22px rgba(20, 32, 28, 0.4);

  --transition-fast: 150ms ease;
  --transition-base: 220ms ease;

  --journey-awareness: var(--color-amber);
  --journey-consult: var(--color-molten);
  --journey-verify: var(--color-steel);
  --journey-transparency: var(--color-steel);

  --map-ocean: var(--color-off-white);
  --map-frame-border: rgba(226, 231, 227, 0.9);
  --map-grid-stroke: rgba(42, 75, 107, 0.2);
  --map-wood-base: #d7e0e8;
  --map-wood-a: #8aa0b4;
  --map-wood-b: #5b7a94;
  --map-wood-c: #2A4B6B;
  --map-wood-d: #1E3750;
  --map-route: #1E3750;
  --map-route-active: var(--color-molten);
  --map-marker-fill: var(--color-white);
  --map-marker-ring: #1E3750;
  --map-marker-hub-fill: var(--color-primary);
  --map-marker-hub-ring: var(--color-molten);
  --map-glow-gold: rgba(181, 101, 29, 0.45);
  --map-glow-gold-soft: rgba(226, 154, 75, 0.35);
}

@media (min-width: 768px) {
  :root {
    --container-pad: 1.875rem;
  }
}
