/* =========================================================
   TOTAL MOVEMENTS — GLOBAL DESIGN SYSTEM
   Editorial heavy-industry premium · light theme
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Palette — warm off-white editorial with industrial amber accent */
  --ink: #0A0F1E;            /* primary text / deep blue-black */
  --ink-soft: #1F2533;
  --ink-muted: #4B5364;
  --ink-faint: #8A8F9A;
  --line: #E6E2D8;           /* warm hairline */
  --line-soft: #EFEBE1;
  --bg: #F7F4EC;             /* warm off-white page bg */
  --bg-alt: #FBF9F3;
  --surface: #FFFFFF;
  --surface-2: #F2EEE4;
  --amber: #B82548;          /* industrial accent — cargo / construction */
  --amber-soft: #FED7AA;
  --amber-ink: #7C2D12;
  --green: #1B5E3A;          /* trust / certification */

  /* Type scale */
  --font-sans: 'Be Vietnam Pro', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-11: 12rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10, 15, 30, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 15, 30, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 15, 30, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 15, 30, 0.12);
  --shadow-xl: 0 40px 80px rgba(10, 15, 30, 0.16);

  /* Layout */
  --container: 1280px;
  --container-wide: 1440px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 200ms;
  --t-base: 400ms;
  --t-slow: 700ms;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--bg); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--amber);
}

.eyebrow--center { justify-content: center; }
.eyebrow--center::before { background: var(--ink-muted); }

.display-xl {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.75rem, 7.5vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
}
.display-lg {
  font-weight: 600;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}
.display-md {
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
}
.display-sm {
  font-weight: 600;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 0;
}

.italic-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

.text-body { color: var(--ink-soft); }
.text-muted { color: var(--ink-muted); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--wide {
  max-width: var(--container-wide);
}
.section {
  padding-block: clamp(4rem, 9vw, 8rem);
}
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--hero { padding-block: clamp(5rem, 10vw, 9rem); }

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-8);
}

.divider {
  height: 1px;
  background: var(--line);
  margin-block: var(--s-7);
}

.grid {
  display: grid;
  gap: var(--s-5);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Utility ---------- */
.tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }
.amber { color: var(--amber); }
.center { text-align: center; }
.muted-bg { background: var(--bg-alt); }
.surface-bg { background: var(--surface); }
.dark-bg { background: var(--ink); color: var(--bg); }
.dark-bg .text-muted { color: rgba(255,255,255,0.55); }
.dark-bg .text-body { color: rgba(255,255,255,0.78); }
.dark-bg .eyebrow { color: rgba(255,255,255,0.65); }
.dark-bg .eyebrow::before { background: var(--amber-soft); }
.dark-bg .display-xl,
.dark-bg .display-lg,
.dark-bg .display-md,
.dark-bg .display-sm { color: #fff; }
.dark-bg .divider { background: rgba(255,255,255,0.12); }

.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: var(--s-2); }
.gap-4 { gap: var(--s-4); }
.gap-6 { gap: var(--s-6); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ── Brand name translation protection ─────────────────────────────────────
   Google Translate respects class="notranslate" natively.
   These rules ensure no visual side-effects from the protection wrapper.   */
.notranslate {
  unicode-bidi: plaintext; /* prevent bidi reorder on RTL languages */
}
/* Ensure inline spans from notranslate wrappers don't break layout */
span.notranslate {
  display: inline;
  white-space: inherit;
  font: inherit;
  color: inherit;
}

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Hide Google Translate toolbar — we use our own language switcher UI */
.goog-te-banner-frame, .goog-te-gadget, #goog-gt-tt, .goog-tooltip, .goog-tooltip:hover, .goog-text-highlight { display: none !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }
