/* EXMAC web tokens — proposal draft (02 CIS, 2026-10-26). Not client-approved. */

@font-face { font-family: "Archivo Expanded"; src: url("../fonts/ArchivoExpanded-SemiBold-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("../fonts/ArchivoExpanded-Bold-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Regular-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Medium-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-SemiBold-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Base neutrals: logo black/white + machine castings */
  --ex-black: #0b0c0e;      /* logo badge */
  --ex-ink: #15191e;        /* primary text */
  --ex-cast: #26313c;       /* machine base / stand */
  --ex-slate-700: #3a4652;
  --ex-steel-600: #59636e;  /* secondary text on light (>=5.4:1) */
  --ex-steel-500: #6b7682;  /* meta text on white only (4.63:1) */
  --ex-steel-300: #96a2ae;  /* cast headstock; text on dark only */
  --ex-steel-100: #d6dce2;  /* hairlines, disabled fills */
  --ex-mist: #eef1f4;
  --ex-paper: #f7f8f9;
  --ex-white: #ffffff;

  /* Accent: guard red sampled from blade guards and 2026-10 promo artwork */
  --ex-red-600: #b3140f;    /* buttons, links on light (6.95:1 with white) */
  --ex-red-500: #d01828;    /* promo badges, large text only on light */
  --ex-red-300: #ff6b5e;    /* accent text on dark (7.0:1 on black) */
  --ex-orange-legacy: #f15a24; /* current live site; decoration only, fails as text */

  /* Brand graphic: dimension lines from client technical drawings */
  --ex-dim-500: #241c9e;    /* drawing line core #100890, lifted for screens; on white 12.1:1 */
  --ex-dim-300: #9ea3f0;    /* lines + labels on dark (8.3:1) */

  /* Status */
  --ex-ok: #1e7a4c;
  --ex-warn: #8a5a00;
  --ex-error: #b3140f;

  /* Typography */
  --ex-font-display: "Archivo Expanded", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ex-font-head: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ex-font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ex-fs-hero: clamp(2.125rem, 1.4rem + 4.4vw, 5rem); /* expanded face: 34px min keeps 10-letter words inside 280px */
  --ex-fs-h2: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem);
  --ex-fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --ex-fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --ex-fs-body: 1.0625rem;
  --ex-fs-small: 0.875rem;
  --ex-fs-eyebrow: 0.8125rem;
  --ex-lh-tight: 1.08;
  --ex-lh-head: 1.2;
  --ex-lh-body: 1.6;
  --ex-track-eyebrow: 0.14em;

  /* Spacing scale */
  --ex-sp-1: 4px;  --ex-sp-2: 8px;  --ex-sp-3: 12px; --ex-sp-4: 16px;
  --ex-sp-5: 24px; --ex-sp-6: 32px; --ex-sp-7: 48px; --ex-sp-8: 64px;
  --ex-sp-9: 96px; --ex-sp-10: 128px; --ex-sp-11: 160px;
  --ex-section-y: clamp(64px, 8vw, 128px);

  /* Layout */
  --ex-container: 1240px;
  --ex-container-wide: 1440px;
  --ex-gutter: 20px;

  /* Shape */
  --ex-radius-sm: 4px;
  --ex-radius-md: 8px;
  --ex-radius-lg: 14px;   /* echoes the logo badge corner */
  --ex-border: 1px solid var(--ex-steel-100);
  --ex-shadow-1: 0 1px 2px rgb(11 12 14 / 0.08);
  --ex-shadow-2: 0 12px 32px rgb(11 12 14 / 0.12);
  --ex-shadow-3: 0 24px 64px rgb(11 12 14 / 0.18);

  /* Motion */
  --ex-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ex-dur-fast: 200ms;
  --ex-dur-base: 600ms;
  --ex-dur-slow: 900ms;
  --ex-shift: 24px;

  /* Touch */
  --ex-tap: 44px;
}

@media (min-width: 768px) { :root { --ex-gutter: 32px; } }
@media (min-width: 1025px) { :root { --ex-gutter: 48px; } }
