/* ------------------------------------------------------------------
   Base tokens & global elements
   Reference viewport: 1728 × 962 CSS px (the desktop recordings).
   --u is "one reference pixel": sizes measured on the recordings are
   written as calc(N * var(--u)) so they scale with viewport width.
   ------------------------------------------------------------------ */
:root {
  --u: calc(100vw / 1728);

  --white: #ffffff;
  --black: #000000;
  --lime: #6ed100;
  --nav-grey: #8a8a8a;
  --text-grey: #6b6b6b;
  --meta-grey: #b5b5b5;
  --rule-on-white: #333333;
  --rule-on-black: #444444;
  --card-bg: #fbfbfc;
  --card-border: #e6e6ea;

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --pad-container: calc(155 * var(--u)); /* stats + services container */
  --pad-edge: calc(64 * var(--u));       /* clients, footer, hero title */

  /* Pinned stage: scroll travel in viewport heights (see js/stage.js T.release) */
  --stage-travel: 4.14;
  /* Extra zoom of the sequence beyond cover-fit, measured on desktop */
  --seq-zoom: 1.16;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  background: var(--white);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-feature-settings: "cv11", "ss01"; /* Inter single-storey a off, alternate digits: matches Framer defaults closely */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
/* main paints above the pinned footer so the footer is revealed from behind */
main { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

/* Navigation: fixed, grey text, inverts over dark content via difference blend */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(22 * var(--u)) calc(26 * var(--u)) 0 calc(68 * var(--u));
  font-size: calc(17 * var(--u));
  font-weight: 400;
  line-height: 1;
  color: var(--nav-grey);
  mix-blend-mode: difference;
  pointer-events: none;
}
.nav a { pointer-events: auto; }
.nav__links { display: flex; gap: calc(26 * var(--u)); }

/* Section eyebrow ("● SERVICES") */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: calc(13 * var(--u));
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}
.eyebrow--light { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  .stage * { transition-duration: 0.01ms !important; }
}
