/* ============================================================
   Manchester AI — premium enterprise dark theme
   ============================================================ */

:root {
  --bg:            #07080C;
  --bg-soft:       #0A0B11;
  --surface:       #101117;
  --surface-2:     #14161E;
  --text:          #F5F6F8;
  --muted:         #9EA3AE;
  --line:          rgba(255, 255, 255, .075);
  --line-strong:   rgba(255, 255, 255, .14);

  --accent:        #7C5CFF;
  --accent-2:      #B58CFF;
  --accent-soft:   rgba(124, 92, 255, .14);
  --accent-glow:   rgba(124, 92, 255, .35);

  --node-ai:       #7C5CFF;
  --node-system:   #4CC2E0;
  --node-human:    #F0B45E;
  --node-auto:     #5BD6A6;

  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shell: 1200px;
  --radius: 16px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, ol, li, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.shell--narrow { max-width: 840px; }

.section {
  position: relative;
  padding-block: clamp(72px, 11vw, 140px);
}
.section--surface {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 12%, var(--bg-soft) 88%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 780px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section__head--tight { margin-bottom: clamp(32px, 4vw, 52px); }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.033em;
  text-wrap: balance;
}

.lede {
  margin-top: 22px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- buttons ---------- */
.btn {
  --btn-pad: 14px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--btn-pad);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .3s var(--ease), color .25s var(--ease);
}
.btn--sm { --btn-pad: 10px 18px; font-size: 14px; }
.btn--lg { --btn-pad: 17px 34px; font-size: 16px; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-2) -30%, var(--accent) 65%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 8px 26px -10px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset, 0 16px 38px -12px var(--accent-glow);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,.02);
}
.btn--ghost:hover {
  border-color: rgba(124,92,255,.5);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(7, 8, 12, .72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 26px; height: 26px; color: var(--accent-2); }
.logo__mark svg { width: 100%; height: 100%; }
.logo__word {
  font-size: 19.5px;
  font-weight: 650;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.logo__word--footer { font-size: 23px; }
.logo__word-ai { color: var(--accent-2); }

.nav__links {
  display: flex;
  gap: 34px;
  font-size: 14.5px;
  color: var(--muted);
}
.nav__links a {
  position: relative;
  padding-block: 6px;
  transition: color .22s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--accent);
  transition: width .28s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { width: 100%; background: var(--accent-2); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px clamp(20px, 5vw, 40px) 26px;
  background: rgba(7,8,12,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: 13px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.nav__mobile a[aria-current="page"] { color: var(--text); }
.nav__mobile a:last-child {
  border: 0;
  color: #fff;
  margin-top: 16px;
  justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__visual canvas { width: 100%; height: 100%; }
.hero__fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 4%, rgba(7,8,12,.86) 34%, rgba(7,8,12,.28) 58%, transparent 78%),
    linear-gradient(180deg, var(--bg) 0%, transparent 22%, transparent 72%, var(--bg) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }
.hero__copy { max-width: 700px; }

.hero__headline {
  font-size: clamp(42px, 6.6vw, 82px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #B9BDC8 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 28px;
  font-size: clamp(16.5px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 60ch;
}
.hero__ctas {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 1px; height: 54px;
  background: linear-gradient(180deg, transparent, var(--line-strong));
  overflow: hidden;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  inset-inline: 0;
  height: 18px;
  background: linear-gradient(180deg, transparent, var(--accent-2));
  animation: scrollHint 2.6s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(-20px); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(54px); opacity: 0; }
}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { text-align: center; }
.statement__headline {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.statement__headline em {
  display: block;
  margin-top: 14px;
  font-style: normal;
  color: var(--muted);
}
.statement__support {
  margin-top: 34px;
  color: var(--muted);
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  max-width: 66ch;
  margin-inline: auto;
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  padding: 32px 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,0) 60%),
    var(--surface);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,92,255,.3);
}
.card:hover::before { opacity: .9; }

.card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--accent-soft), rgba(124,92,255,.04));
  color: var(--accent-2);
  margin-bottom: 24px;
}
.card__icon svg { width: 22px; height: 22px; }

.card__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.card__body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.chip {
  font-size: 11.5px;
  font-weight: 550;
  letter-spacing: .02em;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}

/* ============================================================
   CLIENT BAND
   ============================================================ */
.clients {
  padding-block: clamp(34px, 5vw, 54px);
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}
.clients__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px);
}
.clients__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 20ch;
}
.clients__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 56px);
}
.clients__list li {
  font-size: clamp(19px, 2.3vw, 27px);
  font-weight: 650;
  letter-spacing: .05em;
  color: #C6CAD3;
  opacity: .68;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}
.clients__list li:hover { opacity: 1; color: var(--text); }

/* ============================================================
   SECTORS
   ============================================================ */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sector {
  display: block;
  background: var(--bg);
  padding: 34px 28px 36px;
  transition: background .35s var(--ease);
}
.sector:hover { background: var(--surface); }
.sector__icon {
  display: block;
  width: 26px; height: 26px;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.sector__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 11px;
}
.sector__body { font-size: 14.5px; color: var(--muted); line-height: 1.62; }
.sector__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--accent-2);
}
.sector__link::after {
  content: "";
  width: 6px; height: 6px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
a.sector:hover .sector__link::after { transform: rotate(45deg) translate(2px, -2px); }

/* ---------- cross-link banner ---------- */
.crosslink {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
  margin-top: 20px;
  padding: 26px clamp(24px, 3vw, 34px);
  border: 1px solid rgba(124,92,255,.28);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 160% at 0% 50%, rgba(124,92,255,.12), transparent 62%),
    var(--surface);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.crosslink:hover { transform: translateY(-3px); border-color: rgba(124,92,255,.5); }
.crosslink__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--accent-soft), rgba(124,92,255,.04));
  color: var(--accent-2);
}
.crosslink__icon svg { width: 22px; height: 22px; }
.crosslink__title {
  display: block;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 7px;
}
.crosslink__body { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.crosslink__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 550;
  color: var(--accent-2);
}
.crosslink__cta::after {
  content: "";
  width: 6px; height: 6px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.crosslink:hover .crosslink__cta::after { transform: rotate(45deg) translate(2px, -2px); }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(16px, 3vw, 40px);
}
.ba__col {
  padding: 30px clamp(22px, 3vw, 34px) 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.ba__col--after {
  border-color: rgba(124,92,255,.28);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(124,92,255,.10), transparent 62%),
    var(--surface);
  box-shadow: 0 24px 60px -40px var(--accent-glow);
}
.ba__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.ba__col--after .ba__label { color: var(--accent-2); }

.ba__list { counter-reset: ba; }
.ba__list li {
  counter-increment: ba;
  position: relative;
  padding: 11px 0 11px 40px;
  font-size: 15px;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.ba__list li::before {
  content: counter(ba, decimal-leading-zero);
  position: absolute;
  left: 0; top: 11px;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: rgba(255,255,255,.28);
}
.ba__col--after .ba__list li { color: #D4D7DE; }
.ba__col--after .ba__list li::before { color: var(--accent); }
.ba__col--after .ba__list li:last-child { color: var(--text); font-weight: 550; }

.ba__arrow {
  align-self: center;
  width: 44px; height: 44px;
  color: var(--accent-2);
  opacity: .7;
}
.ba__arrow svg { width: 100%; height: 100%; }

/* ============================================================
   METRICS
   ============================================================ */
.metrics__headline { max-width: 700px; margin-bottom: clamp(40px, 6vw, 64px); }
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.metric {
  background: var(--bg);
  padding: 38px 28px 40px;
  transition: background .35s var(--ease);
}
.metric:hover { background: var(--surface); }
.metric__value {
  display: block;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric__label {
  display: block;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 22ch;
}

/* ============================================================
   CONTENT (what we do)
   ============================================================ */
.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}
.content__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.content__body p {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 58ch;
}
.content__punch {
  color: var(--text) !important;
  font-weight: 550;
  font-size: clamp(20px, 2.2vw, 26px) !important;
  letter-spacing: -0.025em;
  margin-top: 34px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: 34px 26px 40px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; padding-right: 0; }
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .9s var(--ease) .1s;
}
.step.is-visible::before { width: 100%; }

.step__num {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin-bottom: 18px;
}
.step__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 12px;
}
.step__body { font-size: 14.5px; color: var(--muted); line-height: 1.62; }

/* ============================================================
   WORKFLOW EXAMPLE
   ============================================================ */
.flow__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 34px;
}
.node {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.node:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.node::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: var(--n, var(--accent));
  opacity: .85;
}
/* connector chevron */
.node::after {
  content: "";
  position: absolute;
  right: -22px; top: 50%;
  width: 8px; height: 8px;
  border-top: 1.5px solid var(--line-strong);
  border-right: 1.5px solid var(--line-strong);
  transform: translateY(-50%) rotate(45deg);
}
.node:nth-child(4n)::after, .node:last-child::after { content: none; }

.node--input      { --n: var(--muted); }
.node--ai         { --n: var(--node-ai); }
.node--system     { --n: var(--node-system); }
.node--human      { --n: var(--node-human); }
.node--automation { --n: var(--node-auto); }

.node__type {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--n, var(--accent));
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--n, var(--accent)) 35%, transparent);
  background: color-mix(in srgb, var(--n, var(--accent)) 10%, transparent);
  margin-bottom: 14px;
}
.node__label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}

.flow__footer {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 62ch;
}

/* ============================================================
   PRINCIPLES
   ============================================================ */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.principle {
  background: var(--bg-soft);
  padding: 36px 34px 40px;
  transition: background .35s var(--ease);
}
.principle:hover { background: var(--surface); }
.principle__title {
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.principle__title::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex: none;
}
.principle__body { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   SPLIT (about)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.split__figure { margin-top: 44px; color: #fff; max-width: 320px; }
.split__figure svg { width: 100%; height: auto; }
.split__body {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: #C6CAD3;
  margin-bottom: 24px;
}
.split__body--muted { color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta__glow {
  position: absolute;
  left: 50%; top: 50%;
  width: min(900px, 120vw); height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(124,92,255,.20), transparent 70%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; }
.cta .eyebrow { justify-content: center; }
.cta__headline {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.cta__body {
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--muted);
  max-width: 58ch;
  margin-inline: auto;
}
.cta__actions { margin-top: 40px; }
.cta__note { margin-top: 24px; font-size: 14px; color: rgba(158,163,174,.75); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 44px;
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  align-items: start;
}
.footer__tagline { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: rgba(158,163,174,.7);
  text-align: right;
}
.footer__legal a:hover { color: var(--text); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { padding-right: 26px; border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: 0; }
  .step:last-child { padding-right: 26px; border-bottom: 0; }
  .metrics__grid { grid-template-columns: repeat(2, 1fr); }
  .flow__track { grid-template-columns: repeat(2, 1fr); }
  .node:nth-child(4n)::after { content: ""; }
  .node:nth-child(2n)::after, .node:last-child::after { content: none; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions .btn { display: none; }
  .nav__mobile[data-open="true"] { display: flex; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 72px); padding-bottom: 100px; }
  .hero__fade {
    background:
      linear-gradient(180deg, var(--bg) 8%, rgba(7,8,12,.72) 42%, rgba(7,8,12,.55) 70%, var(--bg) 100%);
  }
  .hero__scroll { display: none; }

  .ba { grid-template-columns: 1fr; }
  .ba__arrow { justify-self: center; transform: rotate(90deg); }

  .content { grid-template-columns: 1fr; }
  .content__aside { position: static; }

  .split { grid-template-columns: 1fr; }
  .split__figure { margin-inline: auto; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__legal { text-align: left; }
}

@media (max-width: 620px) {
  .grid--features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; padding-right: 0; }
  .step:last-child { padding-right: 0; }
  .metrics__grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: 1fr; }
  .clients__inner { flex-direction: column; align-items: flex-start; }
  .crosslink { grid-template-columns: auto minmax(0, 1fr); text-align: left; }
  .crosslink__cta { grid-column: 1 / -1; }

  .flow__track { grid-template-columns: 1fr; gap: 30px; }
  .node::after,
  .node:nth-child(4n)::after,
  .node:nth-child(2n)::after {
    content: "";
    right: auto; left: 50%; top: auto; bottom: -21px;
    transform: translateX(-50%) rotate(135deg);
  }
  .node:last-child::after { content: none; }

  .hero__ctas .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .step::before { width: 100%; }
}

/* ---------- hero strapline + a11y helper ---------- */
.hero__strap {
  margin-top: 24px;
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  font-weight: 550;
  letter-spacing: .005em;
  color: var(--accent-2);
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   EVIDENCE STAT
   ============================================================ */
.stat {
  display: grid;
  grid-template-columns: minmax(160px, 230px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(26px, 3vw, 34px) clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(124,92,255,.07), transparent 55%),
    var(--surface);
  text-align: left;
  transition: border-color .35s var(--ease);
}
.stat:hover { border-color: var(--line-strong); border-left-color: var(--accent); }

.stat__value {
  font-size: clamp(42px, 5.4vw, 62px);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__second {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
  max-width: 24ch;
}
.stat__headline {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.25;
  margin-bottom: 12px;
  text-wrap: balance;
}
.stat__desc { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 74ch; }
.stat__insight {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: #C6CAD3;
  line-height: 1.6;
  max-width: 74ch;
}
.stat__source {
  margin-top: 16px;
  font-size: 12.5px;
  letter-spacing: .03em;
  color: rgba(158,163,174,.7);
}
.stat__source a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .25s var(--ease);
}
.stat__source a:hover { color: var(--accent-2); }

@media (max-width: 760px) {
  .stat { grid-template-columns: 1fr; gap: 20px; }
  .stat__second { max-width: none; }
}

/* ============================================================
   REMIT (category scope)
   ============================================================ */
.remit {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.remit__item {
  font-size: clamp(14px, 1.4vw, 15.5px);
  font-weight: 500;
  letter-spacing: -0.008em;
  color: #C6CAD3;
  padding: 11px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    var(--surface);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.remit__item:hover {
  border-color: rgba(124,92,255,.45);
  color: var(--text);
  transform: translateY(-2px);
}

.callout__link {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.callout__link:hover { color: var(--text); }

/* ============================================================
   AUDIT WORKSTREAMS
   ============================================================ */
.workstreams {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  counter-reset: ws;
}
.workstream {
  background: var(--bg);
  padding: 30px clamp(24px, 3vw, 32px) 34px;
  counter-increment: ws;
  transition: background .35s var(--ease);
}
.workstream:hover { background: var(--surface); }
/* an odd final workstream spans the row rather than leaving a hollow cell */
.workstream:last-child:nth-child(odd) { grid-column: 1 / -1; }
.workstream__num {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin-bottom: 16px;
}
.workstream__num::before { content: counter(ws, decimal-leading-zero); }
.workstream__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.workstream__body { font-size: 14.5px; color: var(--muted); line-height: 1.62; }

/* ============================================================
   SAVINGS TABLE
   ============================================================ */
.savings__scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.savings {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.savings th,
.savings td {
  text-align: left;
  padding: 16px clamp(16px, 2vw, 22px);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.savings th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.025);
}
.savings td { color: var(--muted); font-variant-numeric: tabular-nums; }
.savings td:first-child {
  white-space: normal;
  min-width: 250px;
  color: var(--text);
  font-weight: 500;
}
.savings tbody tr { transition: background .3s var(--ease); }
.savings tbody tr:hover { background: rgba(255,255,255,.018); }
.savings tbody tr:last-child td { border-bottom: 0; }
.savings__save { color: var(--node-auto); font-weight: 600; }

.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tg, var(--muted)) 38%, transparent);
  background: color-mix(in srgb, var(--tg, var(--muted)) 12%, transparent);
  color: var(--tg, var(--muted));
}
.tag--low  { --tg: var(--node-auto); }
.tag--med  { --tg: var(--node-human); }
.tag--high { --tg: #FF9A9A; }

.savings__note {
  margin-top: 26px;
  font-size: 14px;
  color: rgba(158,163,174,.8);
}

/* ============================================================
   CALLOUT
   ============================================================ */
.callout {
  margin-top: clamp(32px, 4vw, 52px);
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--accent);
  border-radius: 14px;
  background: rgba(124,92,255,.05);
}
.callout__quote {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.4;
  text-wrap: balance;
}
.callout__body {
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
  max-width: 72ch;
  line-height: 1.65;
}

/* ============================================================
   ENGAGEMENT LADDER
   ============================================================ */
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ladder__item {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,0) 60%),
    var(--surface);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.ladder__item:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.3); }
.ladder__item--feature {
  border-color: rgba(124,92,255,.32);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(124,92,255,.12), transparent 62%),
    var(--surface);
  box-shadow: 0 24px 60px -40px var(--accent-glow);
}
.ladder__stage {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.ladder__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.022em;
  margin-bottom: 12px;
}
.ladder__body { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.ladder__meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.ladder__meta strong { color: var(--text); font-weight: 600; }

/* ============================================================
   CHECK LIST (who we work with)
   ============================================================ */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px clamp(24px, 4vw, 56px); }
.checks li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(91,214,166,.45);
  background: rgba(91,214,166,.12);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6.5px; top: 7.5px;
  width: 4px; height: 8px;
  border-right: 1.5px solid var(--node-auto);
  border-bottom: 1.5px solid var(--node-auto);
  transform: rotate(45deg);
}

/* ---------- responsive for the above ---------- */
@media (max-width: 900px) {
  .ladder { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .workstreams { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
}
