/* MYCO design tokens.
   Each custom property maps 1:1 to an Elementor Atomic global variable of the same
   name (see design/tokens.md). Component CSS must use these, never raw values. */

@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* ---- Colour: brand (sampled from the MYCO banner) ---- */
  --color-navy-950: #071A47;   /* deepest band / footer */
  --color-navy-900: #0A2463;   /* headline navy, logo navy */
  --color-navy-800: #0D2F6E;   /* banner bottom bar, primary surface */
  --color-blue-700: #00368A;   /* icon blue */
  --color-blue-600: #1366D2;   /* royal blue accent (phone-circle blue) */
  --color-blue-100: #DCE8F8;
  --color-navy-200: #C9D4E8;   /* muted text on dark bands */
  --color-steel-600: #4E545A;  /* "DELIVERING VALUE" grey: secondary text */
  --color-steel-400: #8A8A92;  /* logo grey: decoration only, not text */
  --color-slate-200: #E2E8F0;
  --color-slate-100: #F1F5F9;
  --color-white: #FFFFFF;

  /* ---- Colour: action ---- */
  --color-amber-500: #F59E0B;  /* Request a Quote + RFQ submit ONLY */
  --color-amber-600: #D97706;  /* hover */
  --color-whatsapp: #25D366;   /* WhatsApp actions; use dark text on it */
  --color-whatsapp-ink: #06281A;

  /* ---- Colour: semantic ---- */
  --color-text: var(--color-navy-900);
  --color-text-muted: var(--color-steel-600);
  --color-surface: var(--color-white);
  --color-surface-alt: var(--color-slate-100);
  --color-surface-dark: var(--color-navy-800);
  --color-border: var(--color-slate-200);
  --color-link: var(--color-blue-600);
  --color-focus: var(--color-amber-500);
  --color-success: #15803D;
  --color-error: #B91C1C;
  --color-input-border: #8290A3;  /* 3:1 against white (WCAG 1.4.11) */
  --color-border-strong: #C7D2E3;
  --color-divider: #CBD5E1;
  --color-text-disabled: #9AA3B2;
  --color-notice-bg: #FEF3C7;
  --color-notice-text: #78350F;
  --color-rubber: #1B1E24;      /* tyre placeholder only */
  --color-rubber-rim: #2A2F38;

  /* ---- Typography ---- */
  --font-heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-display: clamp(2.75rem, 1.6rem + 4.6vw, 5rem);   /* hero H1 */
  --text-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --text-h2: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  --text-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --text-h4: 1.25rem;
  --text-eyebrow: 0.875rem;
  --text-lg: 1.125rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-body: 1.6;
  --tracking-heading: 0.01em;
  --tracking-eyebrow: 0.14em;

  /* ---- Spacing (4px base) ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-padding: clamp(3.5rem, 2rem + 5vw, 6.5rem);

  /* ---- Layout ---- */
  --container-max: 1240px;
  --container-gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --grid-gap: clamp(1rem, 0.6rem + 1.2vw, 1.75rem);
  --header-height: 76px;

  /* ---- Shape ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --slash-angle: -12deg;            /* logo stripe angle used for diagonal cuts */

  /* ---- Elevation ---- */
  --shadow-sm: 0 1px 2px rgb(10 36 99 / 0.08);
  --shadow-md: 0 6px 18px rgb(10 36 99 / 0.10);
  --shadow-lg: 0 18px 44px rgb(10 36 99 / 0.16);

  /* ---- Motion ---- */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --duration: 180ms;
}
