/* ==========================================================================
   Synthronix design tokens
   Single source of truth for colour, type, spacing, radius, shadow, motion.
   Contrast ratios (WCAG 2.2) are recorded in docs/DESIGN.md.
   ========================================================================== */
/* Self-hosted variable fonts (SIL Open Font License, see fonts/OFL-Inter.txt).
   Inter Tight = headings (open-source stand-in for the licensed Graphik look), Inter = body. */
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Colour — brand */
  --c-accent: #9ed8e3;          /* pale teal: fills (with navy text) and text on navy only */
  --c-accent-hover: #bde6ee;
  --c-accent-active: #86cbd9;
  --c-accent-text: #0c5282;     /* corporate blue for text on white (8.1:1) */
  --c-teal: #00788a;            /* from the logo; gradients and glows only */
  --c-teal-text: #00788a;       /* teal for text on white (5.6:1) */
  --grad-brand: linear-gradient(135deg, #0c5282 0%, #00788a 100%);     /* lime-family text on light surfaces (5.1:1 on white) */

  /* Colour — neutrals */
  --c-dark: #0b2a3a;            /* hero, approach, contact, footer */
  --c-dark-2: #0f3346;          /* cards on dark */
  --c-dark-3: #143d52;          /* raised elements on dark */
  --c-dark-line: #2a5064;
  --c-ink: #2e3440;             /* headings + body on light */
  --c-text: #4a5260;
  --c-muted: #646c79;           /* 5.2:1 on paper */
  --c-on-dark: #ffffff;
  --c-on-dark-muted: #c3d0d8;   /* 9.4:1 on dark */
  --c-on-dark-subtle: #a9bcc7;  /* 7.0:1 on dark, small labels */
  --c-paper: #ffffff;           /* page background */
  --c-mist: #e9ebf0;            /* alternate section */
  --c-card: #ffffff;
  --c-line: #e3e5ea;

  /* Colour — functional */
  --c-success: #1a7f45;
  --c-whatsapp: #1a7f45;        /* darker than brand #25D366 so white label passes AA (5.0:1) */
  --c-call-icon: #c62828;
  --c-error: #b42318;
  --c-focus: #00788a;
  --focus-ring: 0 0 0 3px var(--c-dark), 0 0 0 5px var(--c-focus);

  /* Typography */
  --font-head: "Inter Tight", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, system-ui, sans-serif;
  --fs-display: clamp(30px, 2vw + 19px, 48px);  /* hero display line */
  --fs-h1: clamp(30px, 2vw + 19px, 48px);
  --fs-h2: clamp(26px, .8vw + 20px, 32px);
  --fs-h3: clamp(16.5px, .2vw + 15.5px, 18.5px);
  --fs-h4: .9562rem;
  --fs-lead: clamp(15px, .25vw + 14px, 17px);
  --fs-body: .88rem;               /* 14.08px body; form inputs stay 16px to avoid iOS zoom */              /* ~14.9px body (reduced 7% on request); form inputs stay 16px to avoid iOS zoom */
  --fs-small: .8138rem;
  --fs-xs: .6975rem;
  --fs-label: .6394rem;         /* eyebrows, kickers (uppercase, tracked) */
  --lh-tight: 1.2;
  --lh-head: 1.25;
  --lh-body: 1.6;
  --ls-display: -.01em;
  --ls-head: -.01em;
  --ls-label: .18em;

  /* Spacing (4/8 scale) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 2.5rem; --s-8: 3rem; --s-9: 4rem; --s-10: 5rem; --s-11: 6rem; --s-12: 8rem;
  --section-y: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Radius, borders, shadows */
  --r-xs: 0; --r-sm: 0; --r-md: 0; --r-lg: 0; --r-xl: 0; --r-pill: 999px;
  --bw: 1px;
  --sh-1: 0 1px 2px rgba(6, 18, 21, .06);
  --sh-2: 0 10px 30px rgba(6, 18, 21, .08);
  --sh-3: 0 30px 80px rgba(0, 0, 0, .28);

  /* Z-index */
  --z-header: 50; --z-dropdown: 60; --z-float: 70; --z-bottom-bar: 80;
  --z-cookie: 90; --z-drawer: 100; --z-modal: 110;

  /* Motion */
  --t-fast: 150ms; --t-base: 200ms; --t-slow: 300ms;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Layout heights */
  --announce-h: 0px;
  --header-h: 80px;
  --bottom-bar-h: 0px;   /* mobile action bar removed */
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0ms; --t-base: 0ms; --t-slow: 0ms; }
}
