/* ==========================================================================
   Golog Synchrotech Design System: tokens
   Source: 06_GOLOG_Synchrotech_Brand_Guidelines.pdf (Website Brand Guidelines 2026)
   Every colour here traces to the guideline, or is a derived step marked "derived".
   ========================================================================== */

:root {
  /* ---- Brand colour (guideline HEX values; never sample from the metallic logo) ---- */
  --sy-gold: #F2B705;          /* Automation Gold. Primary, 60%: main identity colour */
  --sy-orange: #F07B18;        /* Process Orange. Secondary, 30%: CTA and process highlights */
  --sy-graphite: #4B4E52;      /* Industrial Graphite. Tertiary, 10%: dark backgrounds, icons, dividers */
  --sy-ink: #1F2124;           /* Text */
  --sy-white: #FFFFFF;         /* Background */

  /* ---- Derived steps (for states, surfaces and AA-safe small text) ---- */
  --sy-graphite-deep: #2B2D30; /* derived: deepest surface, footer, media backdrop */
  --sy-orange-text: #B35A0C;   /* derived: orange for text on light (4.8:1); gold and orange fail on white */
  --sy-gold-100: #FEF7E1;      /* derived: warm tint surface */
  --sy-paper: #F5F5F3;         /* derived: off-white section alternate */
  --sy-ink-muted: #5E6166;     /* derived: secondary text on light (6.2:1) */
  --sy-on-dark: #F4F4F2;       /* derived: primary text on graphite */
  --sy-on-dark-muted: #C4C6C9; /* derived: secondary text on graphite (4.9:1) and graphite-deep (8:1) */
  --sy-line: rgba(75, 78, 82, 0.18);       /* hairlines on light */
  --sy-line-dark: rgba(255, 255, 255, 0.16); /* hairlines on dark */
  --sy-scrim: 31, 33, 36;      /* ink as RGB, for photo and video overlays */

  /* ---- Semantic roles ---- */
  --color-bg: var(--sy-white);
  --color-bg-alt: var(--sy-paper);
  --color-text: var(--sy-ink);
  --color-text-muted: var(--sy-ink-muted);
  --color-accent: var(--sy-orange-text);
  --color-divider: var(--sy-graphite);   /* guideline: divider 1px #4B4E52 */
  --color-focus: var(--sy-orange);

  /* ---- Typography ---- */
  /* Manrope only (team decision, same as the other Golog sites) in place of the guideline's
     Urbanist / Arimo / Jost pairing. Manrope has no italic, so accent words are carried by colour. */
  --font-body: "Manrope", Arial, system-ui, sans-serif;  /* body 400, UI 600 */
  --font-display: var(--font-body);                      /* headings, company name: 600 */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --tracking-ui: 0.15em;       /* guideline: menus, buttons */
  --tracking-tagline: 0.06em;  /* guideline: taglines */
  --tracking-details: 0.28em;  /* guideline: company details, wide */
  --tracking-display: -0.01em;

  /* Fluid type scale (min at 360px, max at 1440px viewport) */
  --text-xs: 0.75rem;                                   /* 12 */
  --text-sm: 0.875rem;                                  /* 14 */
  --text-base: 1rem;                                    /* 16: guideline body */
  --text-md: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); /* 17–19 */
  --text-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);    /* 20–24 */
  --text-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem);  /* 24–34 */
  --text-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);     /* 32–52 */
  --text-3xl: clamp(2.375rem, 1.6rem + 3.6vw, 4.75rem); /* 38–76 */
  --text-hero: clamp(2.375rem, 1.4rem + 5vw, 6.25rem); /* 38–100 */

  --leading-body: 1.7;   /* guideline */
  --leading-display: 1.04;

  /* ---- Space (4px base) ---- */
  --space-2: 0.5rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-section: clamp(4.5rem, 3rem + 7vw, 10rem);

  /* ---- Layout ---- */
  --container: 1360px;
  --container-narrow: 880px;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem); /* 16px at phone width */
  --header-h: 84px;  /* 10px offset + 64px floating bar + breathing room */

  /* ---- Shape ---- */
  /* The guideline sets 3px buttons; the media-led design uses pill buttons and 14px media corners
     (same as the other Golog sites). Set both to var(--radius) to go back to the guideline. */
  --radius: 3px;
  --radius-pill: 999px;
  --radius-btn: 999px;
  --radius-lg: 14px;
  --divider: 1px solid var(--color-divider);

  /* ---- Elevation ---- */
  --shadow-1: 0 1px 2px rgba(31, 33, 36, 0.06), 0 4px 16px rgba(31, 33, 36, 0.06);
  --shadow-2: 0 2px 6px rgba(31, 33, 36, 0.08), 0 24px 60px rgba(31, 33, 36, 0.14);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-base: 420ms;
  --dur-reveal: 1200ms;

  /* ---- Z ---- */
  --z-header: 50;
  --z-menu: 60;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 1ms; --dur-base: 1ms; --dur-reveal: 1ms; }
}
