/* ==========================================================================
   Adapt Intelligence: visual layer (v5)
   Hand-written CSS, no framework or build step. Design tokens at :root.
   ========================================================================== */

:root {
  --bg:          #05090f;
  --bg-alt:      #070d16;
  --surface:     #0c1524;
  --surface-2:   #0f1d31;
  --border:      rgba(120, 160, 205, 0.14);
  --border-strong: rgba(120, 160, 205, 0.30);
  --text:        #e9f1fa;
  --text-dim:    #9fb2c8;
  --text-faint:  #7e92ac;
  --brand:       #58a6e8;
  --brand-bright:#7cc0fb;
  --brand-deep:  #2c6cb0;
  --platinum:    #c6d2e2;
  /* Third colour. Saffron (2026-11-07, replaced the v5 dusk amber #f4a259): warm, the opposite
     side of the wheel from the logo blue, and the colour of saffron and karak. Used only where
     something gets done: the Act pulse in "How it thinks", the go
     live timings and the Instant reply. Kept out of the buttons and the background animation:
     the user found it odd there (2026-11-07).
     Contrast: 11.9:1 on --bg, 11.75:1 on the alt sections, 10.1:1 on --surface-2; the dark
     button label #061020 on it is 11.35:1. Never put it under white or pale text (1.68:1). */
  --saffron:     #f2c14e;
  --accent:      var(--saffron);

  /* Headings and body share one family. Sora read as too wide and too soft at hero size;
     Inter tight-tracked is the more precise of the two and needs no extra download. */
  --font-display: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-sans:    "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "Cascadia Code", monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Page fades in once fonts/first paint settle (prevents FOUC before CDN CSS) */
body { opacity: 0; transition: opacity 0.5s var(--ease); }
body.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1 !important; transition: none; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

::selection { background: rgba(88, 166, 232, 0.30); color: #fff; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { position: relative; padding-block: clamp(84px, 12vw, 168px); }
/* translucent so #bg-core shows through. 0.72 hid the background almost completely in
   these sections, which is most of why the animation read as too subtle. */
.section--alt { background: rgba(7, 13, 22, 0.55); }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   Typography atoms
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;   /* was 0.28em: spaced that wide the labels shouted */
  text-transform: uppercase;
  color: var(--text-dim);   /* was brand blue on every label, which made each section open the same way */
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* No rule before the label. A 26px hairline sitting in front of every section label
   read as an em dash on the page, which is exactly the tic we are trying to lose. The
   hero kicker keeps its aperture ring, which reads as a mark, not punctuation. */
.eyebrow { gap: 0; }
.hero__kicker { gap: 13px; }

/* hero kicker — quieter, with an aperture-ring marker instead of the dash */
.hero__kicker {
  color: var(--text-faint);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  gap: 13px;
}
.hero__kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--brand);
}

.h-display {
  /* was clamp(2.25rem, 6.4vw, 4.6rem): 74px on a laptop, which overpowered the page */
  font-size: clamp(1.9rem, 4.4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.h-section { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.035em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-dim); max-width: 46ch; }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.accent-text { color: var(--brand-bright); }

/* thin gradient rule used above section headings */
.kicker-rule { width: 1px; height: 46px; background: linear-gradient(var(--brand), transparent); margin-bottom: 22px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --_pad: 15px 26px;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--_pad);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
  min-height: 48px;
}
.btn svg { width: 17px; height: 17px; }
.btn:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; }
.btn:active { transform: scale(0.97); }

/* A solid near-white pill on navy: the highest contrast on the page and the quietest
   treatment. Replaces a glossy blue gradient with a coloured glow, which read as the one
   un-premium thing on the site. Nothing on it moves on its own. */
/* Pale and quiet at rest, with a little vertical depth rather than flat white. On hover
   the brand colour floods in from the exact point the cursor crossed the edge (main.js
   writes --mx / --my), the label flips to white and the arrow advances. Nothing moves
   until the pointer arrives, and on a touch screen the same flood plays from the centre
   on press. */
.btn--primary {
  isolation: isolate;
  background: #eef4fb;
  color: #061020;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: transform 0.4s var(--ease), color 0.35s var(--ease), box-shadow 0.45s var(--ease);
}
.btn--primary::before {
  content: "";
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  /* sized off the button, so it still covers the far end when the cursor enters at an edge */
  width: 240%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.55s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.btn--primary svg { color: var(--brand-deep); transition: transform 0.4s var(--ease), color 0.35s var(--ease); }
/* the label stays dark: #061020 on the brand blue flood is 7.3:1 (white would be 2.6:1) */
/* The button itself does not move: no lift, and the magnetic pull that dragged it toward
   the cursor is gone. What happens instead is the colour flood, plus one ring of light
   leaving the edge, which is a box-shadow so it escapes the pill without the pill moving. */
.btn--primary:hover::before, .btn--primary:focus-visible::before, .btn--primary:active::before { transform: translate(-50%, -50%) scale(1); }
.btn--primary:hover svg, .btn--primary:focus-visible svg { color: #061020; transform: translateX(4px); }
.btn--primary:active { transform: scale(0.97); }
/* no hover on a touch screen: the press does it, from the middle */
@media (hover: none) {
  .btn--primary:active svg { color: #061020; }
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--text-dim); }
.btn--ghost:active { transform: scale(0.97); }

.btn--block { width: 100%; }

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--brand-bright); gap: 12px; }
/* underline reveal, left → right — same language as the nav links */
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active, .link-arrow:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--bg);
  border-bottom-color: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img {
  height: 46px;
  width: auto;
}
.nav__links {
  display: none;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: 0.9rem;
  color: var(--text-dim);
  position: relative;
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 10px; }

/* visible at every width now — compact on mobile, full-size on desktop — but
   always stays hidden until the hero's own CTA has scrolled up past the header */
.nav__cta {
  display: inline-flex;
  --_pad: 9px 15px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav__cta svg { display: none; }
.nav__cta.is-shown { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
}
.nav__toggle svg { width: 20px; height: 20px; }

@media (min-width: 1024px) {
  /* Three columns, so the links sit on the true centre of the page. With
     space-between they centred in the gap between a 54px logo and a 223px button
     (reserved even while that button is hidden), which put them 84px left of centre. */
  /* .site-header raises specificity: the critical CSS inlined in <head> sets
     .nav { display: flex } and loads after this file, so plain .nav loses to it */
  .site-header .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav__logo { justify-self: start; }
  .nav__right { justify-self: end; }
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__cta { --_pad: 15px 26px; font-size: 0.92rem; }
  .nav__cta svg { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__cta { transition: opacity 0.2s linear, visibility 0.2s; transform: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 300;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-faint); }
.mobile-menu .btn { margin-top: 26px; font-size: 0.95rem; font-family: var(--font-sans); justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 138px 76px;
  overflow: hidden;
  isolation: isolate;
}

.hero__inner { position: relative; z-index: 2; max-width: 62rem; }

.hero__title { margin-top: 26px; }
.hero__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero__title .word > span { display: inline-block; will-change: transform; }

/* the caption sits between the headline and the subline: the company name is in the
   kicker above, so the page says who this is before anything else */
.hero__caption {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  letter-spacing: -0.01em;
  color: var(--platinum);
}
.hero__caption + .hero__sub { margin-top: 16px; }
.hero__sub { margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-dim); max-width: 40ch; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
/* stack the two hero buttons full-width and equal-sized below ~460px — a long
   primary + a short ghost button side by side read as mismatched at that width */
@media (max-width: 460px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* v5: the aurora blobs, the drifting light rays, the cursor spotlight, the scan line,
   the blinking "SYSTEM ONLINE" coordinates and the SCROLL cue are gone. The WebGL sphere
   behind the page is the hero's one moving thing. */
@media (prefers-reduced-motion: reduce) {
  .btn--primary svg, .btn--primary::before { transition: none; }
}

/* --------------------------------------------------------------------------
   Section header block
   -------------------------------------------------------------------------- */
.sec-head { max-width: 40rem; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head h2 { margin-top: 18px; }
.sec-head p { margin-top: 18px; }
/* Capabilities: its one-sentence intro runs the full width so it sits on a single line
   on laptops and up. The headline keeps the usual measure. It wraps on narrower screens,
   where a 123-character line cannot fit at a readable size. */
.sec-head--wide { max-width: none; }
.sec-head--wide h2 { max-width: 40rem; }

/* --------------------------------------------------------------------------
   Solutions — asymmetric feature layout (2 flagship blocks + list)
   -------------------------------------------------------------------------- */
/* two flowing columns, no card boxes — a single hairline rule separates them */
.sol-feat { display: grid; gap: 44px 0; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) {
  .sol-feat { grid-template-columns: 1fr 1fr; }
  .sol-feat .sol-feature:first-child { padding-right: 44px; border-right: 1px solid var(--border); }
  .sol-feat .sol-feature:last-child { padding-left: 44px; }
}

.sol-feature { position: relative; }

.sol-feature h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; }
.sol-feature p { margin-top: 12px; font-size: 0.96rem; color: var(--text-dim); }

.sol-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.sol-tags span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 11px;
}

.sol-list { margin-top: 18px; }
.sol-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 30px;
  padding: 22px 6px;
  border-top: 1px solid var(--border);
}
.sol-row:last-child { border-bottom: 1px solid var(--border); }
.sol-row:hover .sol-row__name { color: var(--brand-bright); }
.sol-row__name { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; color: var(--text); transition: color 0.3s var(--ease); }
.sol-row__sum { color: var(--text-dim); font-size: 0.92rem; }
@media (min-width: 820px) { .sol-row { grid-template-columns: 30% 1fr; align-items: baseline; } }

/* ---- mini chat demo (inside the Conversational AI feature block) ---- */
.chat {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(4, 8, 14, 0.55);
  overflow: hidden;
}
.chat__head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
}
.chat__head b { color: var(--text-dim); font-weight: 500; }
.chat__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #43d17f;
}
.chat__status { margin-left: auto; }
/* the second half of the demo is in Arabic: the customer switches language mid chat and
   the assistant follows, which is the thing the firm actually sells */
.chat__msg[lang="ar"] {
  font-family: "IBM Plex Sans Arabic", var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
}
.chat__log {
  padding: 15px 14px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-height: 232px;              /* reserve space so revealing messages don't shift layout */
}
.chat__msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 13px;
  font-size: 0.85rem;
  line-height: 1.42;
}
.chat__msg--user {
  align-self: flex-end;
  background: var(--brand);
  color: #04121f;
  border-bottom-right-radius: 4px;
}
.chat__msg--ai {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-bottom-left-radius: 4px;
}
.chat__typing {
  align-self: flex-start;
  display: inline-flex; gap: 4px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 13px; border-bottom-left-radius: 4px;
}
.chat__typing i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--text-faint);
  animation: chatdot 1.2s ease-in-out infinite;
}
.chat__typing i:nth-child(2) { animation-delay: 0.15s; }
.chat__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatdot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
@keyframes chatblink { 50% { opacity: 0.3; } }
@keyframes chatin {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

/* static fallback: no JS / reduced motion → show messages, hide typing bubbles */
.chat:not(.is-scripted) .chat__typing { display: none; }
/* scripted: hide everything, reveal step by step */
.chat.is-scripted .chat__msg,
.chat.is-scripted .chat__typing { display: none; }
.chat.is-scripted .chat__msg.is-in { display: block; animation: chatin 0.4s var(--ease) both; }
.chat.is-scripted .chat__typing.is-in { display: inline-flex; animation: chatin 0.3s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  .chat__dot, .chat__typing i { animation: none; }
}

/* ---- automation flow demo (inside the Workflow Automation feature block) ---- */
.flow {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(4, 8, 14, 0.55);
  overflow: hidden;
}
.flow__head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint);
}
.flow__head b { color: var(--text-dim); font-weight: 500; }
.flow__status { margin-left: auto; }
.flow__spin {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  border-top-color: var(--brand);
  animation: flowspin 0.9s linear infinite;
}
@keyframes flowspin { to { transform: rotate(360deg); } }

.flow__steps {
  list-style: none; margin: 0;
  padding: 16px 16px 16px 15px;
  min-height: 232px;                 /* matches the chat panel so the two blocks line up */
  display: flex; flex-direction: column;
}
.flow__step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 7px 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
}
.flow__node {
  position: relative; flex: none;
  width: 9px; height: 9px; margin-top: 3px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.flow__step:not(:last-child) .flow__node::after {
  content: "";
  position: absolute; left: 50%; top: 100%;
  width: 1px; height: 22px;
  transform: translateX(-50%);
  background: var(--border);
}
.flow__label { line-height: 1.35; transition: color 0.4s var(--ease); }
.flow__label i { font-style: normal; color: var(--text-faint); opacity: 0.65; }

/* static fallback: everything shown, nodes read as complete */
.flow:not(.is-scripted) .flow__node { border-color: var(--brand-deep); background: var(--brand-deep); }
/* scripted: reveal + walk the pipeline */
.flow.is-scripted .flow__step {
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.flow.is-scripted .flow__step.is-in { opacity: 1; transform: none; }
.flow__step.is-active .flow__node {
  border-color: var(--brand); background: var(--brand);
}
.flow__step.is-active .flow__label { color: var(--text-dim); }
.flow__step.is-done .flow__node { border-color: var(--brand-deep); background: var(--brand-deep); box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .flow__spin { animation: none; border-top-color: var(--border-strong); }
}

/* --------------------------------------------------------------------------
   Approach: the four movements as a conversation that plays on scroll
   -------------------------------------------------------------------------- */
/* Approach: the section holds still and the four movements travel sideways as you
   scroll down, one screen each, with a four-segment progress bar (main.js moves the
   rail from a speed-limited follower, the same one the hero story uses, so the travel
   reads the same at any scroll speed). Without JS or under reduced motion this is a
   plain list of four: .is-on is what turns on the pin and the sideways travel. */
.track { position: relative; }
.track__panel { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 34px; }
.track__panel:first-child { margin-top: 0; }
.track__panel > .wrap { padding: 0; }
.track__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--brand-bright); }
.track__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0.3em 0 0;
}
.track__title + p { margin-top: 16px; color: var(--text-dim); font-size: clamp(0.94rem, 1.3vw, 1.04rem); line-height: 1.62; max-width: 44ch; }
.track__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
}
.track__tags .tag { font-size: 0.6rem; letter-spacing: 0.04em; padding: 4px 8px; }
.track__note { margin-top: 30px; font-size: 0.86rem; color: var(--text-faint); max-width: 54ch; }
.track__note .accent-text { color: var(--accent); }
.track__progress, .track__runway { display: none; }

/* ---- live ---- */
.track.is-on .track__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* the rail is as wide as all the panels together, so a percentage transform on it
   moves by whole panels. --n is set from the panel count in main.js. */
.track.is-on .track__rail { display: flex; width: calc(100% * var(--n, 4)); will-change: transform; }
.track.is-on .track__panel {
  flex: 0 0 calc(100% / var(--n, 4));
  display: flex;
  align-items: center;
  border-top: 0;
  padding-top: 0;
  margin: 0;
}
.track.is-on .track__panel > .wrap { width: 100%; padding: 0 clamp(20px, 5vw, 56px); }
.track.is-on .track__progress {
  display: block;
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(34px, 7vh, 72px);
}
.track.is-on .track__progress .wrap { display: flex; gap: 8px; }
.track.is-on .track__seg { flex: 1; height: 2px; background: var(--border); overflow: hidden; }
.track.is-on .track__seg i {
  display: block;
  height: 100%;
  background: var(--brand);
  transform-origin: left;
  transform: scaleX(var(--s, 0));
}
.track.is-on .track__runway { display: block; height: 300svh; }
@media (max-width: 719px) {
  .track.is-on .track__runway { height: 280svh; }
  .track__title + p { max-width: none; }
}

/* --------------------------------------------------------------------------
   How it thinks — one screen: the four moves in a row, under a live signal that
   is noise over Ingest and resolves into one clean pulse over Act. The signal
   draws left to right as the section scrolls through, and each move lights as it
   is reached (main.js). It used to be a pinned orbit with four badges drifting
   past over 2,742px of scroll, about three quarters of it empty.
   -------------------------------------------------------------------------- */
.think__head { text-align: center; margin-inline: auto; }
.think__head .eyebrow { justify-content: center; }
.think__body { margin-top: clamp(8px, 2vw, 20px); }

/* the signal only exists once main.js is running it; without JS the four moves stand alone */
.think__signal, .think__labels { display: none; }
.think.is-on .think__signal { display: block; position: relative; height: clamp(96px, 11vw, 132px); }
.think__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.think__svg path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.think__ticks { stroke: var(--border-strong); stroke-width: 1; }
.think__ghost { stroke: rgba(124, 178, 232, 0.16); stroke-width: 1; }
.think__glow  { stroke: url(#think-glow); stroke-width: 7; }
.think__wave  { stroke: url(#think-ink); stroke-width: 1.6; }
.think-ink-blue  { stop-color: var(--brand-bright); }
.think-ink-accent { stop-color: var(--accent); }
.think-glow-blue  { stop-color: rgba(88, 166, 232, 0.18); }
.think-glow-accent { stop-color: var(--accent); stop-opacity: 0.3; }
.think__dot {
  position: absolute;
  left: 0; top: 0;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #eaf5ff;
  box-shadow: 0 0 0 4px rgba(124, 192, 251, 0.16);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  will-change: transform;
}

.think__steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
}
.think__step { border-top: 1px solid var(--border); padding-top: 18px; transition: border-color 0.45s var(--ease); }
.think__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  transition: color 0.45s var(--ease);
}
.think__step h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  transition: color 0.45s var(--ease);
}
.think__step p { margin-top: 8px; color: var(--text-dim); font-size: 0.9rem; line-height: 1.58; }
/* reached: the rule and the number light up. Unreached moves stay fully readable. */
.think.is-on .think__step h3 { color: var(--text-dim); }
.think__step.is-lit { border-top-color: var(--brand); }
.think__step.is-lit .think__no { color: var(--brand-bright); }
.think.is-on .think__step.is-lit h3 { color: var(--text); }
/* the last move is where the work gets done, so it lights in the third colour */
.think__step:last-child.is-lit { border-top-color: var(--accent); }
.think__step:last-child.is-lit .think__no { color: var(--accent); }
.think.is-on .think__labels span:last-child { color: var(--accent); }

@media (max-width: 859px) {
  /* two by two on phones; the numbered labels under the signal carry the mapping */
  .think__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; margin-top: 14px; }
  .think.is-on .think__labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    color: var(--text-dim);
    text-align: center;
  }
  .think__step p { font-size: 0.86rem; }
}

/* --------------------------------------------------------------------------
   Impact
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
/* a navy fill under the label: the background lanes run behind the pills on phones, and
   without it the small label dropped to 3.9:1 at the brightest frame (measured 2026-11-07) */
.chip { background: rgba(5, 9, 15, 0.88); }
/* Phones: an even three-by-two grid. Left to wrap naturally the six pills ran 135px to
   214px wide in a 342px row, so they fell 2, 1, 1, 1, 1 and read as scattered. Equal
   columns need the longest label ("Professional Services") to fit one line in half the
   row, hence the tighter type and padding here. */
@media (max-width: 719px) {
  .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .chip {
    justify-content: center;
    gap: 7px;
    padding: 12px 10px;
    font-size: 0.74rem;
    white-space: nowrap;
  }
}
/* The narrowest phones still in use (320px) leave 132px a column, and the longest
   label needs 133. Rather than shrink the type again or drop the icons there, they get
   one pill a row at a comfortable size. */
@media (max-width: 359px) {
  .chips { grid-template-columns: 1fr; }
  .chip { padding: 12px 16px; gap: 9px; font-size: 0.84rem; }
}

/* --------------------------------------------------------------------------
   Tech marquee
   -------------------------------------------------------------------------- */
.marquee { position: relative; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-display); font-size: 1.1rem; font-weight: 300; color: var(--text-faint); white-space: nowrap; letter-spacing: 0.01em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; gap: 28px 40px; }
  .marquee { -webkit-mask: none; mask: none; }
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-grid { display: grid; gap: 44px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; } }
/* vertical flowing list — no boxed cells, a hairline rail with a scroll-driven
   pulse ties the four points together, rotated vertical) */
/* the background behind the firm: hairline rule, no box */
.bio { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); max-width: 52ch; }
.bio__lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.35; color: var(--text); }
.bio .muted { margin-top: 14px; font-size: 0.92rem; line-height: 1.62; }

.about-points { position: relative; display: grid; gap: 0; }
.about-points__rail { position: absolute; left: 5px; top: 4px; bottom: 4px; width: 1px; background: var(--border); }
.about-points__pulse {
  position: absolute; top: 0; left: -2.5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-bright);
}
.about-point { position: relative; padding: 20px 0 20px 40px; }
.about-point:not(:last-child) { border-bottom: 1px solid var(--border); }
.about-point__num {
  position: absolute; left: 0; top: 22px;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.03em; color: var(--text-dim);   /* was --text-faint: 3.3:1 over the lanes at 11px */
}
.about-point h4 { font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--text); }
.about-point p { margin-top: 7px; font-size: 0.88rem; color: var(--text-dim); }
@media (prefers-reduced-motion: reduce) { .about-points__pulse { display: none; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--border); max-width: 60rem; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.9vw, 1.28rem);
  font-weight: 300;
  text-align: left;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
}
.faq__q:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 4px; }
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: var(--brand);
  transition: transform 0.35s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { overflow: hidden; height: 0; }
.faq__a-inner { padding: 0 0 28px; color: var(--text-dim); max-width: 68ch; font-size: 0.96rem; }
@media (prefers-reduced-motion: reduce) {
  .faq__icon::before, .faq__icon::after { transition: none; }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Underline fields, not filled boxes. The boxes were the last piece of the page still
   drawn as a container, next to an aside that is nothing but hairline rules. The rule
   under each field lights from the left on focus, the same move as the nav links. */
.field { display: grid; gap: 6px; margin-bottom: 26px; position: relative; }
.field label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); transition: color 0.3s var(--ease); }
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 10px 2px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  min-height: 44px;
  transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 92px; resize: vertical; }
/* the lit rule rides on top of the hairline, so nothing shifts on focus */
.field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
  pointer-events: none;
}
.field:focus-within::after { transform: scaleX(1); transform-origin: left; }
.field:focus-within label { color: var(--brand-bright); }
.field input:hover, .field textarea:hover { border-bottom-color: var(--border-strong); }
.field input:focus, .field textarea:focus { outline: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 2px; }
.field--error input, .field--error textarea { border-bottom-color: #e0656a; }
.field__err { color: #e79aa0; font-size: 0.78rem; min-height: 1em; margin-top: 4px; }

.form-status { margin-top: 12px; font-size: 0.9rem; color: var(--brand-bright); font-family: var(--font-mono); }

.contact-aside { display: grid; gap: 26px; align-content: start; }
.contact-row { display: grid; gap: 4px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.contact-row span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }
.contact-row a, .contact-row p { font-size: 1.04rem; color: var(--text); }
.contact-row a:hover { color: var(--brand-bright); }
.contact-row .is-instant { color: var(--accent); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding-block: 48px 32px; background: rgba(7, 13, 22, 0.72); position: relative; }
.footer-logo { height: 76px; width: auto; margin-bottom: 4px; }
/* two link columns side by side on mobile instead of four stacked blocks —
   the single-column version ran to 1.5+ screens of scrolling */
.footer-grid { display: grid; gap: 28px 20px; grid-template-columns: repeat(2, 1fr); }
.footer-col:first-child { grid-column: 1 / -1; }
@media (min-width: 480px) { .footer-logo { height: 90px; } }
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
  .footer-col:first-child { grid-column: auto; }
  .footer-logo { height: 120px; }
}
.footer-col h5 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a {
  position: relative;
  display: block;
  width: fit-content;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--brand-bright); }
/* underline reveal, centre-out — distinct from the nav's left-to-right */
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 3px;
  width: 100%; height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}
.footer-col a:hover::after { transform: scaleX(1); }
.footer-col p { font-size: 0.88rem; color: var(--text-dim); max-width: 32ch; margin-top: 14px; }
.footer-bottom { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-faint); font-family: var(--font-mono); letter-spacing: 0.02em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 10px; color: var(--text-dim); transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.2s var(--ease); }
.socials a:hover { border-color: var(--brand); color: var(--brand-bright); }
.socials a:active { transform: scale(0.92); }
.socials svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   WhatsApp float
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  /* navy with a hairline, not a bright green bubble: still the WhatsApp mark, quieter */
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.wa-float:hover { border-color: var(--text-dim); color: #fff; }
.wa-float:active { transform: scale(0.94); }
.wa-float svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: reduce) {
}

/* --------------------------------------------------------------------------
   Site-wide particle core (fixed, behind everything) — see core.js
   -------------------------------------------------------------------------- */
#bg-core {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}
.bg-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 85% at 60% 30%, transparent 0%, rgba(4, 7, 12, 0.22) 60%, rgba(4, 7, 12, 0.6) 100%),
    linear-gradient(180deg, rgba(4, 7, 12, 0.12), transparent 20%, transparent 80%, rgba(4, 7, 12, 0.28));
}
@media (prefers-reduced-motion: reduce) {
  #bg-core { opacity: 0.4; }
}

/* --------------------------------------------------------------------------
   Grain overlay
   -------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Scroll reveal (only active when JS confirms motion is OK)
   -------------------------------------------------------------------------- */
.anim-ready .reveal { opacity: 0; transform: translateY(10px); }
.anim-ready .reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

/* hero word-reveal — pre-hidden only when JS will animate it */
.anim-ready .hero__title .word > span { transform: translateY(115%); }

/* Skip link */
.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--brand);
  color: #04121f;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; }
