/* =========================================================
   ScaleNexus — Landing Page
   Design system + components
   ========================================================= */

:root {
  /* Brand — purple */
  --purple-900: #2a0d57;
  --purple-800: #38127a;
  --purple-700: #4c1d95;   /* primary */
  --purple-600: #5b21b6;
  --purple-500: #6d28d9;
  --purple-400: #8b5cf6;
  --purple-300: #c4b5fd;
  --purple-100: #ede9fe;
  --purple-50:  #f6f4fd;

  /* Brand — gold */
  --gold-700: #9a6c12;
  --gold-600: #b8860b;
  --gold-500: #c8901e;     /* accent */
  --gold-400: #d9a730;
  --gold-100: #f9f0d8;

  /* Ink / neutral */
  --ink-900: #14132a;      /* headings */
  --ink-800: #1f1d3d;
  --ink-700: #34324f;
  --ink-500: #5e5c75;      /* body */
  --ink-400: #8a88a0;
  --ink-300: #b6b4c6;

  --bg:       #ffffff;
  --bg-soft:  #f7f6fb;
  --border:   #e9e6f2;
  --border-strong: #ddd9ec;

  --shadow-sm: 0 2px 8px rgba(40, 18, 90, .06);
  --shadow-md: 0 12px 32px -12px rgba(40, 18, 90, .18);
  --shadow-lg: 0 30px 70px -28px rgba(40, 18, 90, .35);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1160px;
  --radius: 18px;
  --radius-sm: 12px;

  --grad-purple: linear-gradient(120deg, var(--purple-700), var(--purple-500));
  --grad-gold:   linear-gradient(120deg, var(--gold-600), var(--gold-400));
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

/* Smarter line wrapping — balance headlines, avoid orphan words in body text */
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--purple-300); color: var(--purple-900); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--purple-600);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--gold-600); }
.eyebrow--onpurple { color: var(--gold-400); }

.text-grad {
  background: linear-gradient(115deg, var(--purple-600), var(--purple-400) 60%, var(--gold-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 13px; --btn-pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { --btn-pad-y: 9px; --btn-pad-x: 18px; font-size: .9rem; }
.btn--lg { --btn-pad-y: 16px; --btn-pad-x: 30px; font-size: 1.02rem; }

.btn--primary { background: var(--grad-purple); color: #fff; box-shadow: 0 10px 26px -10px rgba(76,29,149,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(76,29,149,.75); }

.btn--gold { background: var(--grad-gold); color: #2a1c00; box-shadow: 0 10px 26px -10px rgba(184,134,11,.7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(184,134,11,.8); }

.btn--ghost { background: rgba(255,255,255,.7); color: var(--purple-700); border-color: var(--border-strong); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; border-color: var(--purple-300); transform: translateY(-2px); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 30px; width: auto; display: block; transition: height .3s ease; }
.nav.scrolled .brand__logo { height: 27px; }
.footer .brand__logo { height: 34px; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 16px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
  padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font-size: .95rem; font-weight: 500; color: var(--ink-700);
  position: relative; transition: color .2s;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
  background: var(--grad-purple); border-radius: 2px; transition: right .25s ease;
}
.nav__links a:not(.btn):hover { color: var(--purple-700); }
.nav__links a:not(.btn):hover::after { right: 0; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: none; cursor: pointer;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--ink-800); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 150px 0 120px;
  background:
    radial-gradient(1100px 620px at 78% -8%, var(--purple-50), transparent 60%),
    radial-gradient(900px 520px at -5% 110%, #faf7ef, transparent 55%),
    #fff;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 600px at 50% 42%, rgba(255,255,255,.55), transparent 70%);
  pointer-events: none;
}
.hero__inner { max-width: 900px; }
.hero__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.4rem, 5.8vw, 4rem); line-height: 1.07;
  letter-spacing: -.015em; color: var(--ink-900); margin-bottom: 24px;
}
.hero__lead {
  font-size: clamp(1.08rem, 1.9vw, 1.32rem); color: var(--ink-500);
  max-width: 620px; margin-bottom: 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__verticals {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  max-width: var(--maxw); margin: 56px auto 0; padding-inline: 24px;
  font-size: .92rem; color: var(--ink-400);
}
.hero__verticals span { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; }
.hero__verticals em { font-style: normal; font-weight: 600; color: var(--ink-700); }
.hero__verticals i { color: var(--gold-500); font-style: normal; }

/* ============ SECTIONS ============ */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
/* anchor jumps clear the fixed nav — except #contact, which fills the window edge-to-edge */
.section, #position, #deliver, #capabilities, #fit, #model, #about { scroll-margin-top: 84px; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: linear-gradient(160deg, var(--purple-900), var(--purple-700) 70%, #3a1580); color: #fff; }
.section--mesh { overflow: hidden; }

.section__head { max-width: 820px; margin-bottom: 56px; }
.section__head.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.95rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.012em;
  color: var(--ink-900);
}
.section--dark .section__title { color: #fff; }
.section__sub { margin-top: 18px; font-size: 1.12rem; color: var(--ink-500); }
.section--dark .section__sub { color: var(--purple-100); }

/* ============ PROBLEM — two sides of the gap, bridged ============ */
.gapwall {
  display: grid;
  grid-template-columns: minmax(150px, 0.82fr) minmax(0, 2.5fr) minmax(150px, 0.82fr);
  align-items: center; gap: clamp(8px, 2.2vw, 28px);
}

.gside {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.gside:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--purple-100); }
.gside__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--purple-700); margin-bottom: 12px;
}
.gside__tag svg { color: var(--gold-600); flex: 0 0 auto; }
.gside__line { font-size: .98rem; color: var(--ink-500); }
.gside--make { text-align: right; }
.gside--make .gside__tag { color: var(--gold-700); }
.gside--make .gside__tag svg { color: var(--purple-600); }

/* bridge centerpiece */
.gapcol {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 0;
}
.bridge { width: 100%; height: auto; display: block; overflow: visible; }
.gapcol__label {
  text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-700);
}
.gapcol__sub { text-align: center; font-size: .78rem; font-style: italic; color: var(--ink-400); }

/* assembly: hide the solid paths while dots converge, then fade them in */
.bridge .b-cable, .bridge .b-tower, .bridge .b-susp, .bridge .b-deck, .bridge .b-base { transition: opacity .6s ease; }
.bridge.assembling .b-cable,
.bridge.assembling .b-tower,
.bridge.assembling .b-susp,
.bridge.assembling .b-deck,
.bridge.assembling .b-base { opacity: 0; }

.gapkick {
  margin-top: 26px; font-size: 1.05rem; color: var(--ink-500); max-width: 780px;
}
.gapkick strong { color: var(--purple-700); }

/* ============ SOLUTION / COMPARE ============ */
.compare { display: flex; flex-direction: column; gap: 22px; }
.compare__row {
  display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: center;
  border-radius: var(--radius); padding: 30px 34px;
}
.compare__row--hard { background: var(--bg-soft); border: 1px solid var(--border); color: var(--ink-400); }
.compare__row--sn { background: #fff; border: 1.5px solid var(--purple-100); box-shadow: var(--shadow-md); }
.compare__label .compare__tag {
  font-weight: 700; font-size: 1.18rem; color: var(--ink-700);
  display: inline-block; padding-bottom: 8px; border-bottom: 3px solid var(--border-strong);
}
.compare__label .compare__tag--sn { color: var(--purple-700); border-color: var(--gold-500); }
.compare__label p { margin-top: 12px; font-size: .92rem; }

.compare__track { display: flex; align-items: center; gap: 10px; }
.tangle { position: relative; flex: 1; height: 116px; min-width: 0; }
.tangle__path { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink-300); transition: color .35s ease; }
.compare__row--hard:hover .tangle__path { color: var(--ink-400); }
.tangle__node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border-strong);
  box-shadow: 0 4px 12px rgba(40, 18, 90, .1);
  display: grid; place-items: center; color: var(--ink-400);
  transition: transform .35s ease, box-shadow .35s ease;
}
.compare__row--hard:hover .tangle__node {
  transform: translate(-50%, -50%) scale(1.07);
  box-shadow: 0 7px 18px rgba(40, 18, 90, .18);
}
.dot {
  font-weight: 600; font-size: .92rem; color: var(--ink-700);
  display: inline-flex; align-items: center; padding: 8px 14px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: 999px; white-space: nowrap;
}
.dot--muted { color: var(--ink-400); }

.steps { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.step { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; flex: 0 0 auto; }
.step__icon {
  position: relative;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; color: var(--purple-700);
  background: var(--purple-50); border: 1.5px solid var(--purple-100);
  transition: transform .25s ease, background .25s, color .25s;
}
.step:hover .step__icon { transform: translateY(-4px); background: var(--purple-700); color: #fff; }
.step--goal .step__icon { background: var(--grad-purple); color: #fff; border-color: transparent; }
.step__name { font-size: .9rem; font-weight: 600; color: var(--ink-700); }
/* --- the ScaleNexus way flows: constant sheen + a pulse travelling
       Lab -> Industry, igniting each station as it passes (6.5s cycle) --- */
.step__link {
  flex: 1 1 16px; height: 3px; min-width: 16px; border-radius: 3px; position: relative;
  background:
    linear-gradient(90deg, rgba(237,233,254,0) 0%, rgba(237,233,254,.5) 50%, rgba(237,233,254,0) 100%),
    linear-gradient(90deg, var(--purple-300), var(--purple-500));
  background-size: 200% 100%, 100% 100%;
  background-repeat: no-repeat;
  animation: sn-sheen 2.4s linear infinite;
}
.compare__row--sn:hover .step__link { animation-duration: 1.1s; } /* faster results */
.step__link::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 7px; height: 7px;
  border-top: 2px solid var(--purple-500); border-right: 2px solid var(--purple-500);
  transform: translateY(-50%) rotate(45deg);
}
.step__link::before {
  content: ""; position: absolute; top: 50%; left: -12%;
  width: 30%; min-width: 14px; max-width: 30px; height: 7px; border-radius: 999px;
  transform: translateY(-50%); opacity: 0;
  background: linear-gradient(90deg, rgba(139,92,246,0), #a78bfa 35%, #ede9fe 55%, rgba(139,92,246,0));
  filter: drop-shadow(0 0 5px rgba(139,92,246,.7));
  animation: sn-drop 6.5s linear infinite;
  animation-delay: var(--dropd, .3s);
}
.steps .step__link:nth-child(2) { --dropd: .3s; }
.steps .step__link:nth-child(4) { --dropd: 1.6s; }
.steps .step__link:nth-child(6) { --dropd: 2.9s; }
.steps .step__link:nth-child(8) { --dropd: 4.2s; }

.step__icon::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--purple-400); opacity: 0; transform: scale(.55);
  animation: sn-ring 6.5s cubic-bezier(.2, .6, .3, 1) infinite;
  animation-delay: var(--ringd, 0s);
  pointer-events: none;
}
.steps .step:nth-child(1) .step__icon::after { --ringd: 0s; }
.steps .step:nth-child(3) .step__icon::after { --ringd: 1.3s; }
.steps .step:nth-child(5) .step__icon::after { --ringd: 2.6s; }
.steps .step:nth-child(7) .step__icon::after { --ringd: 3.9s; }
.steps .step:nth-child(9) .step__icon::after { --ringd: 5.2s; border-color: var(--gold-400); }

@keyframes sn-sheen {
  from { background-position: 100% 0, 0 0; }
  to   { background-position: 0% 0, 0 0; }
}
@keyframes sn-drop {
  0%    { left: -12%; opacity: 0; }
  1.5%  { opacity: 1; }
  14%   { left: 92%; opacity: 1; }
  16%   { left: 100%; opacity: 0; }
  100%  { left: 100%; opacity: 0; }
}
@keyframes sn-ring {
  0%   { opacity: .75; transform: scale(.55); }
  10%  { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* ============ POSITIONING / PIPELINE ============ */
.pipeline { display: grid; grid-template-columns: 1fr auto 1.25fr auto 1fr; align-items: stretch; gap: 14px; }
.pnode {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow-sm);
}
.pnode__tag {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--purple-600); margin-bottom: 6px;
}
.pnode__tag--gold { color: var(--gold-400); }
.pnode h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink-900); }
.pnode p { font-size: .98rem; color: var(--ink-500); }
.pnode__ex { font-size: .86rem !important; color: var(--ink-400) !important; }
.pnode--hero {
  background: linear-gradient(165deg, var(--purple-700), var(--purple-500));
  border: 1.5px solid var(--gold-400);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.pnode--hero h4 { color: #fff; }
.pnode--hero p { color: var(--purple-100); }
.pnode--hero .pnode__ex { color: rgba(196,181,253,.85) !important; }
.pnode__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); color: #fff; margin-bottom: 6px;
}
.pipeline__arrow { display: flex; align-items: center; justify-content: center; color: var(--gold-500); }

/* ============ DELIVER CARDS ============ */
.dcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.dcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--purple-100); }
.dcard__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--purple-50); color: var(--purple-700); margin-bottom: 20px;
}
.dcard:hover .dcard__icon { background: var(--grad-purple); color: #fff; }
.dcard h3 { font-size: 1.16rem; font-weight: 700; color: var(--ink-900); margin-bottom: 10px; }
.dcard p { font-size: .96rem; color: var(--ink-500); }

/* ============ WHO WE WORK WITH ============ */
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.fcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--purple-100); }
.fcard__check {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-700); margin-bottom: 18px;
}
.fcard h4 { font-size: 1.14rem; font-weight: 700; color: var(--ink-900); margin-bottom: 10px; }
.fcard p { font-size: .96rem; color: var(--ink-500); }

/* ============ TRACTION ============ */
.section--mesh::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 0);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(900px 500px at 85% 10%, #000, transparent 70%);
  mask-image: radial-gradient(900px 500px at 85% 10%, #000, transparent 70%);
}
.traction { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; position: relative; }
.traction__headline {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 38px; backdrop-filter: blur(4px);
}
.thero__label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; }
.thero__value {
  font-family: var(--serif); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(3.5rem, 9vw, 5.6rem); line-height: 1; color: #fff; margin: 8px 0 16px;
}
.thero p { color: var(--purple-100); max-width: 380px; }
.thero__sub { display: grid; gap: 16px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16); }
.tstat { display: flex; flex-direction: column; }
.tstat strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--gold-400); }
.tstat > span { font-size: .96rem; color: var(--purple-100); }

.traction__props {
  background: #fff; border-radius: var(--radius); padding: 38px; color: var(--ink-700);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.traction__props-title { font-weight: 700; color: var(--ink-900); font-size: 1.05rem; }
.prop__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.prop__row > span { font-weight: 500; color: var(--ink-700); }
.prop__row b { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--purple-700); }
.prop__bar { height: 10px; border-radius: 999px; background: var(--purple-50); overflow: hidden; }
.prop__bar i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: var(--grad-purple); transition: width 1.2s cubic-bezier(.22,1,.36,1);
}
.prop__bar.fill i { width: var(--w); }
.traction__props-note { font-size: .94rem; color: var(--ink-400); font-style: italic; }

/* ============ ENGAGEMENT MODEL ============ */
/* staircase: cards step up in height, bottom-aligned, labels at the base */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; position: relative; }
.phase {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.phase:nth-child(1) { min-height: 128px; }
.phase:nth-child(2) { min-height: 166px; }
.phase:nth-child(3) { min-height: 204px; }
.phase:nth-child(4) { min-height: 242px; }
.phase:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); z-index: 3; }
.phase__num { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--purple-700); display: block; margin-bottom: 10px; }
.phase__desc { font-size: .96rem; color: var(--ink-500); }
.phase--final { background: linear-gradient(165deg, var(--purple-100), #fff); border-color: var(--purple-100); }
.phase--final .phase__num { color: var(--gold-600); }

/* ============ TEAM ============ */
.avatar {
  flex: 0 0 auto; display: block;
  width: 104px; height: 104px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  background: var(--grad-purple);
  box-shadow: 0 8px 20px -8px rgba(76,29,149,.6);
  border: 2px solid #fff; outline: 2px solid var(--purple-100);
}
.team-lead {
  display: flex; align-items: center; gap: 26px;
  background: linear-gradient(120deg, var(--purple-50), #fff);
  border: 1px solid var(--purple-100); border-left: 4px solid var(--gold-500);
  border-radius: var(--radius); padding: 30px 34px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.avatar--lead { width: 140px; height: 140px; }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }
.badge--gold { background: var(--gold-500); color: #2a1c00; }
.team-lead__body h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--ink-900); }
.team-lead__body p { color: var(--ink-500); margin-top: 4px; }

.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.member {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 18px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.member .avatar { margin-bottom: 14px; }
.member__role { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--purple-600); }
.member h4 { font-size: 1.04rem; font-weight: 700; color: var(--ink-900); margin-top: 4px; }
.member p { font-size: .86rem; color: var(--ink-400); }

.advisors {
  margin-top: 30px; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 36px;
}
.section--soft .advisors { background: #fff; }
.advisors__head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.advisors__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--purple-700); color: #fff; }
.advisors__head h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--ink-900); }
.advisors__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 30px; }
.advisors__list li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--purple-100); }
.advisors__list strong { color: var(--ink-900); font-weight: 600; }
.advisors__list span { font-size: .9rem; color: var(--ink-400); }

/* ============ CTA / CONTACT ============ */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(80px, 10vw, 130px) 0;
  background: linear-gradient(150deg, var(--purple-800), var(--purple-600) 55%, #3c1684);
  color: #fff;
}
.cta__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.cta__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  position: relative;
}
.cta__title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; color: #fff; margin-bottom: 18px;
}
.cta__lead { font-size: 1.12rem; color: var(--purple-100); margin-bottom: 26px; }
.cta__alt { font-size: 1rem; color: var(--purple-100); margin-top: 8px; }
.cta__alt a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); transition: border-color .2s, color .2s; }
.cta__alt a:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* Contact form */
.form-card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-lg); color: var(--ink-700);
}
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .96rem; color: var(--ink-800);
  background: #fff; border: 1.5px solid var(--border-strong); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 104px; max-height: 220px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-300); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--purple-400); box-shadow: 0 0 0 3px var(--purple-100);
}
.form-submit { width: 100%; margin-top: 4px; }
.form-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.form-status { display: none; margin-top: 12px; font-size: .94rem; }
.form-status.ok { display: block; color: #15803d; }
.form-status.err { display: block; color: #b91c1c; }
.form-status a { color: var(--purple-700); font-weight: 600; text-decoration: underline; }
.hp { position: absolute; left: -5000px; width: 0; height: 0; opacity: 0; pointer-events: none; }

/* ============ FOOTER ============ */
.footer { background: var(--ink-900); color: #c9c7da; padding: 70px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__tag { margin-top: 18px; font-size: .96rem; color: #9b99b4; max-width: 380px; }
.footer__nav h4, .footer__contact h4 {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600;
}
.footer__nav { display: flex; flex-direction: column; gap: 11px; }
.footer__nav a, .footer__contact a { color: #b3b1c8; font-size: .96rem; transition: color .2s; width: fit-content; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--purple-300); }
.footer__contact a { font-size: 1.06rem; color: #fff; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.footer__contact .footer__social { margin-top: 12px; font-size: .96rem; color: #b3b1c8; }
.footer__location { margin-top: 14px; font-size: .9rem; color: #b3b1c8; }
.footer__verticals { margin-top: 10px; font-size: .9rem; color: #807e98; }
.footer__bottom a, .footer__bottom .linklike { color: #b3b1c8; transition: color .2s; }
.footer__bottom a:hover, .footer__bottom .linklike:hover { color: var(--purple-300); }
.footer__bottom {
  margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .9rem; color: #807e98;
}
.footer__motto { font-weight: 500; color: #b3b1c8; }
.footer__motto em { font-style: normal; color: var(--gold-400); }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .pipeline { grid-template-columns: 1fr; gap: 16px; }
  .pipeline__arrow { transform: rotate(90deg); margin: -2px 0; }
  .pnode--hero { transform: none; }
  .phases { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .phase { min-height: 0; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
    background: #fff; padding: 100px 30px 40px; box-shadow: -20px 0 60px -20px rgba(0,0,0,.3);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .nav__links.open { transform: none; }
  .nav__links a:not(.btn) { font-size: 1.08rem; padding: 10px 0; width: 100%; }
  .nav__links .btn { margin-top: 14px; width: 100%; }
  .nav__toggle { display: flex; z-index: 110; }

  .gapwall { grid-template-columns: 1fr; gap: 22px; }
  .gside--make { text-align: left; }
  .gapcol { padding: 6px 0; }
  .compare__row { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .fit-grid { grid-template-columns: 1fr; }
  .traction { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .steps { gap: 10px 4px; }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .advisors__list { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .team-lead { flex-direction: column; text-align: center; align-items: center; }
  .traction__headline, .traction__props { padding: 26px; }
  .step__name { font-size: .78rem; }
  .step__icon { width: 50px; height: 50px; }
  .tangle { height: 96px; }
  .tangle__node { width: 38px; height: 38px; }
}


/* ============ CASE STORY + PROJECT GRID (dark section) ============ */
.case-story {
  margin-top: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 28px 32px;
}
.case-story .eyebrow { margin-bottom: 10px; }
.case-story p:not(.eyebrow) { color: var(--purple-100); max-width: 920px; font-size: 1.05rem; }
.projects { margin-top: 28px; }
.projects__title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; margin-bottom: 16px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pjcard {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.pjcard__chip {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-400); border: 1px solid rgba(217,167,48,.5);
  padding: 4px 10px; border-radius: 999px;
}
.pjcard h4 { color: #fff; font-size: 1.05rem; font-weight: 600; }
.pjcard p { color: var(--purple-100); font-size: .92rem; }
.pjcard--cta { border-style: dashed; justify-content: center; }
.pjcard--cta a { color: var(--gold-400); font-weight: 600; }
.pjcard--cta a:hover { text-decoration: underline; }

/* ============ PARTNERS BAND ============ */
.partners { padding: 34px 0; background: var(--bg-soft); border-block: 1px solid var(--border); }
.partners__inner { display: flex; align-items: center; gap: 20px 30px; flex-wrap: wrap; }
.partners__label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-400); }
.plogo {
  width: 150px; height: 52px; border-radius: 10px;
  border: 1.5px dashed var(--border-strong); background: #fff;
  display: grid; place-items: center;
  color: var(--ink-300); font-size: .82rem; font-weight: 600;
}

/* ============ ABOUT ============ */
.about-facts {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; display: grid; gap: 16px;
}
.about-facts > div { display: flex; flex-direction: column; gap: 2px; }
.about-facts span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-400); font-weight: 600; }
.about-facts strong { color: var(--ink-900); font-size: 1rem; font-weight: 600; }

/* ============ TEAM LINKEDIN ============ */
.lnk { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; color: var(--purple-700); font-size: .95rem; }
.lnk:hover { text-decoration: underline; }

/* ============ FAQ ============ */
/* FAQ 2-column: heading on the left, questions on the right (components/style unchanged) */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.faq-layout .section__head { margin-bottom: 0; }
.faq-layout .faq { max-width: none; margin-top: 36px; }  /* drop the questions to line up with the title */
@media (max-width: 820px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout .faq { margin-top: 0; }
}

.faq { max-width: 860px; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  font-weight: 600; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: color .2s;
}
.faq summary:hover { color: var(--purple-700); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--purple-500);
  line-height: 1; flex: 0 0 auto; transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details.is-closing summary::after { transform: rotate(0deg); }   /* flip icon back as it collapses */
.faq details p { padding: 0 22px 20px; color: var(--ink-500); }
/* JS wraps each answer in .faq__ans and animates its height (single-open accordion) */
.faq__ans { height: 0; overflow: hidden; transition: height .34s cubic-bezier(.22, 1, .36, 1); }

/* ============ LEGAL PAGE ============ */
.legal { max-width: 760px; margin-inline: auto; padding: 150px 24px 70px; }
.legal h1 { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.legal-date { font-size: .9rem; color: var(--ink-400); margin-bottom: 34px; }
.legal h2 { font-size: 1.18rem; font-weight: 700; color: var(--ink-900); margin: 32px 0 10px; }
.legal p { color: var(--ink-500); margin-bottom: 12px; }
.legal a { color: var(--purple-700); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal-foot {
  border-top: 1px solid var(--border); margin-top: 50px; padding-top: 20px;
  font-size: .9rem; color: var(--ink-400);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ============ PRIVACY MODAL ============ */
.linklike {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; line-height: inherit; vertical-align: baseline;
  color: inherit; text-decoration: none; cursor: pointer;
}

.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(20, 19, 42, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s ease;
}
.modal__dialog {
  position: relative;
  width: 100%; max-width: 640px; max-height: 86vh;
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(12px) scale(.985);
  transition: opacity .25s ease, transform .25s ease;
}
.modal.in .modal__overlay { opacity: 1; }
.modal.in .modal__dialog { opacity: 1; transform: none; }
.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 26px 28px 16px; border-bottom: 1px solid var(--border);
}
.modal__title {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  color: var(--ink-900); margin: 0;
}
.modal__close {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink-500); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--purple-700); color: #fff; }
.modal__scroll { overflow-y: auto; padding: 20px 28px 28px; }
.modal .legal { max-width: none; margin: 0; padding: 0; }
.modal .legal .legal-date { margin-bottom: 22px; }
.modal .legal .legal-date + h2 { margin-top: 4px; }
.modal__legalfoot {
  border-top: 1px solid var(--border); margin-top: 30px; padding-top: 18px;
  font-size: .85rem; color: var(--ink-400);
}
body.modal-open { overflow: hidden; }

/* ============ BENTO GRIDS ============ */
.bento { display: grid; gap: 26px; }
.bento--a, .bento--b { grid-template-columns: repeat(12, 1fr); }

/* Module A: dark hero banner (span 12), then deliverables 2×2 (left) + capabilities column (right) */
.bento--a > .btile--feature { grid-column: span 12; margin-bottom: 16px; }
.bento--a > .bento__col--deliver { grid-column: span 6; }
.bento--a > .bento__col--cap { grid-column: span 6; }
.bento__col { display: flex; flex-direction: column; }
.bento__cells { display: grid; gap: 16px; margin-top: 12px; flex: 1; }
.bento__cells--2x2 { grid-template-columns: 1fr 1fr; }
.bento__cells--col { grid-template-columns: 1fr; }
.bento__cells .dcard { margin: 0; }
/* capabilities column: horizontal cards — icon to the side, title + text beside it */
.bento__cells--col .dcard {
  display: grid; grid-template-columns: auto 1fr;
  align-items: center; column-gap: 18px; padding: 20px 24px;
}
.bento__cells--col .dcard__icon { grid-column: 1; grid-row: 1 / 3; margin-bottom: 0; }
.bento__cells--col .dcard h3 { grid-column: 2; align-self: end; margin-bottom: 3px; }
.bento__cells--col .dcard p { grid-column: 2; align-self: start; }

/* Module B: two feature tiles (span 8) + two companion tiles (span 4) */
.bento--b > .btile { grid-column: span 4; }
.bento--b > .btile--feature { grid-column: span 8; }

/* Tile shell */
.btile {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.btile--feature {
  background: linear-gradient(158deg, #fff 40%, var(--purple-50));
  border-color: var(--border-strong); box-shadow: var(--shadow-md);
}
.btile__kicker {
  font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px;
}
.btile__title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.14;
  letter-spacing: -.01em; color: var(--ink-900);
}
.btile__text { margin-top: 10px; color: var(--ink-500); }

/* Module A: make the pipeline feature a bold dark hero, clearly above the cells */
.bento--a > .btile--feature {
  background: linear-gradient(158deg, var(--purple-900), var(--purple-700) 72%, #3a1580);
  border: 0; color: #fff; box-shadow: var(--shadow-lg);
}
.bento--a > .btile--feature .btile__title { color: #fff; }
.bento--a > .btile--feature .btile__text { color: var(--purple-100); }

/* globe tile ("Where it ships") — dark, with a cropped rotating dotted globe */
.btile--globe {
  position: relative; overflow: hidden;
  background: linear-gradient(158deg, var(--purple-900), var(--purple-700) 72%, #3a1580);
  border: 0; color: #fff; box-shadow: var(--shadow-lg);
  min-height: 360px;
}
.btile--globe .btile__kicker { color: var(--gold-400); }
.btile--globe .btile__title { color: #fff; }
.btile--globe > :not(.globe-canvas) { position: relative; z-index: 1; }
.globe-canvas {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  z-index: 0; touch-action: pan-y; cursor: grab;
}
.globe-canvas:active { cursor: grabbing; }
/* industry labels are drawn on the canvas (they ride along with the globe);
   the list stays in the DOM, visually hidden, for a11y + SEO */
.globe-legend {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  list-style: none;
}
@media (max-width: 1000px) { .btile--globe { min-height: 400px; } }

/* group labels that separate & name the deliverables vs capabilities rows */
.bento__label {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600); margin: 0;
}

/* nested content spacing inside tiles */
.btile--feature .pipeline,
.btile--feature .fit-grid { margin-top: 24px; }
.btile--feature .phases { margin-top: auto; padding-top: 24px; }
.btile .about-facts { margin-top: 18px; }

/* responsive */
@media (max-width: 1000px) {
  .bento--a > .bento__col--deliver,
  .bento--a > .bento__col--cap { grid-column: span 12; }
  .bento--b > .btile,
  .bento--b > .btile--feature { grid-column: span 12; }
}
@media (max-width: 600px) {
  .bento { gap: 12px; }
  .bento__cells--2x2 { grid-template-columns: 1fr; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .prop__bar i { transition: none; }
  .step__link, .step__link::before, .step__icon::after { animation: none !important; }
  .step__link::before { display: none; }
  * { animation-duration: .001ms !important; transition-duration: .12s !important; }
}
