/* ==========================================================================
   Nelson Advisors — staging site
   Structure, rhythm and motion modelled on realizehealthventures.com (Framer),
   re-skinned in Nelson's navy (#070945) and sand (#d9c0ae).

   Two-accent system, as on Realize:
     sand  = primary accent (Realize's orange): outcomes, highlights, CTAs
     azure = secondary accent (Realize's blue): structure, inputs, labels
   Retheme by editing the tokens in :root.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #070945;          /* Nelson navy, sampled from the logo */
  --navy-2: #0b0e55;        /* raised navy */
  --navy-deep: #04062e;
  --sand: #d9c0ae;          /* Nelson sand: primary accent on dark */
  --sand-hi: #ecd6c0;
  --bronze: #a2643a;        /* sand deepened for contrast on white */
  --azure: #3a8dff;         /* secondary accent: diagram inputs, markers */
  --azure-soft: #6fa9ff;
  --blue: #2f5fe0;          /* secondary label colour on light panels */

  /* Neutrals */
  --ink: #10132f;
  --ink-2: #565a73;
  --ink-3: #b9bac6;
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --cream: #f3efe9;
  --cream-2: rgba(243, 239, 233, 0.72);
  --cream-3: rgba(243, 239, 233, 0.42);
  --line: rgba(16, 19, 47, 0.10);
  --line-d: rgba(255, 255, 255, 0.10);

  /* Type */
  --f-head: "Manrope", "Inter", system-ui, sans-serif;
  --f-body: "DM Sans", "Inter", system-ui, sans-serif;
  --track: -0.055em;        /* Realize uses very tight headline tracking */

  /* Layout */
  --max: 1320px;
  --gut: clamp(16px, 2.6vw, 40px);
  --pad: clamp(20px, 2.3vw, 34px);
  --nav-h: 72px;
}

/* ---- Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--navy); color: var(--ink);
  font-family: var(--f-body); font-weight: 300; font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); }
ul, ol { margin: 0; padding: 0; list-style: none; }
.accent { color: var(--sand); }
.panel--light .accent { color: var(--bronze); }
.muted { color: var(--cream-3); }
.arrow { display: inline-block; margin-left: .55em; transition: transform .25s ease; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }

/* ---- Type ------------------------------------------------------------- */
.eyebrow {
  font-family: var(--f-body); font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--bronze);
}
.eyebrow--dark { color: var(--sand); }
.h2 {
  font-weight: 700; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04;
  letter-spacing: var(--track); color: var(--ink);
}
.h2--light { color: var(--cream); }
.h2--md { font-size: clamp(30px, 3vw, 44px); line-height: 1.06; }
.h3 {
  font-weight: 600; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2;
  letter-spacing: -0.02em; color: var(--ink);
}
.h3--light { color: var(--cream); }
.h-giant {
  font-family: var(--f-head); font-weight: 700; color: var(--cream);
  font-size: clamp(46px, 6.4vw, 92px); line-height: .98; letter-spacing: -0.06em;
}

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 600; font-size: 13px; letter-spacing: -0.01em;
  padding: 13px 20px; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn--accent { background: var(--sand); color: var(--navy); }
.btn--accent:hover { background: var(--sand-hi); }
.btn--ghost { border-color: rgba(243,239,233,.35); color: var(--cream); background: rgba(4,6,46,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--line { border-color: var(--line-d); color: var(--cream); }
.btn--line:hover { border-color: var(--sand); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

/* ---- Nav -------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled, .nav.is-open { background: rgba(7, 9, 69, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-d); }
.nav__inner { max-width: var(--max); margin: 0 auto; height: var(--nav-h); padding: 0 var(--gut); display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-weight: 400; font-size: 14px; color: var(--cream-2); transition: color .2s; white-space: nowrap; }
.nav__links a:hover { color: #fff; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; right: 8px; height: 2px; background: var(--cream); transition: transform .3s, width .3s, top .3s; }
.nav__burger span:nth-child(1) { top: 17px; width: 24px; }
.nav__burger span:nth-child(2) { top: 25px; width: 16px; }
.nav__burger[aria-expanded="true"] span { top: 21px; width: 22px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--navy);
  padding: calc(var(--nav-h) + 16px) var(--gut) 28px; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  border-left: 1px solid var(--line-d); border-right: 1px solid var(--line-d);
}
.menu[hidden] { display: none; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--line-d); color: var(--cream);
  font-family: var(--f-head); font-weight: 600; font-size: 26px; letter-spacing: -0.04em;
}
.menu__links em { font-style: normal; font-family: var(--f-body); font-size: 11px; letter-spacing: .1em; color: var(--sand); }
.menu__foot { display: grid; gap: 14px; }
.menu__foot p { font-size: 13px; color: var(--cream-3); }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--navy-deep); }
.hero__media { position: absolute; inset: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,6,46,.55) 0%, rgba(4,6,46,.05) 28%, rgba(4,6,46,.4) 60%, rgba(4,6,46,.94) 100%),
    linear-gradient(90deg, rgba(7,9,69,.75) 0%, rgba(7,9,69,.3) 55%, rgba(7,9,69,0) 80%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 150px var(--gut) 52px; }
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); }
.hero__eyebrow i { width: 4px; height: 4px; background: var(--sand); }
.hero__title { margin: 18px 0 28px; color: var(--cream); font-weight: 500; font-size: clamp(42px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.065em; }
.hero__title > span { display: block; }
.hero__copy { max-width: 520px; }
.hero__lede { font-size: 17px; line-height: 1.5; color: var(--cream); }
.hero__sub { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--cream-2); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.marquee { position: relative; z-index: 1; border-top: 1px solid var(--line-d); overflow: hidden; background: rgba(4,6,46,.6); }
.marquee__track { display: flex; align-items: center; width: max-content; gap: 26px; padding: 14px 0; animation: marquee 50s linear infinite; }
.marquee span { font-family: var(--f-head); font-weight: 600; font-size: 14px; letter-spacing: -0.01em; color: var(--cream); white-space: nowrap; }
.marquee b { width: 5px; height: 5px; background: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Panels & hairline grid ------------------------------------------ */
.panel { padding: 0 var(--gut); }
.panel--light { background: var(--paper); }
.panel--dark { background: var(--navy); color: var(--cream); }
.grid { max-width: var(--max); margin: 0 auto; display: grid; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.grid--dark { border-color: var(--line-d); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: 1fr 1fr; }
.cell { padding: var(--pad); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.grid--dark .cell { border-color: var(--line-d); }
.grid--4 > .cell:nth-child(4n), .grid--3 > .cell:nth-child(3n), .grid--2 > .cell:nth-child(2n) { border-right: 0; }
.cell--span2 { grid-column: span 2; }
.cell--span3 { grid-column: span 3; }
.grid--4 > .cell--span3, .grid--3 > .cell--span3 { border-right: 0; }

/* about */
.cell--label { padding-top: 64px; }
.cell--headline { padding-top: 56px; padding-bottom: 72px; }
.cell--headline .h2 { max-width: 14ch; }
.about__copy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; max-width: 760px; }
.about__copy p { font-size: 15px; color: var(--ink-2); }
.cell--feature { min-height: 210px; }
.kicker { margin-bottom: 14px; font-family: var(--f-head); font-weight: 600; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -0.03em; color: var(--ink); }
.kicker--hot { color: var(--bronze); }
.cell--feature p:not(.kicker) { font-size: 15px; color: var(--ink-2); max-width: 30ch; }

/* what we do */
.grid--flush > .cell { border-bottom: 0; }
.cell--whatwedo { display: flex; align-items: center; min-height: 320px; }
.step { display: block; padding-top: 56px; padding-bottom: 56px; transition: background .25s; }
.step:hover { background: var(--paper-2); }
.step__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.step .h3 { margin-bottom: 16px; font-size: clamp(21px, 1.8vw, 26px); }
.step p { font-size: 15px; color: var(--ink-2); }
.badge { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--bronze); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 11px; }
.badge--blue { background: var(--azure); }
.tag { font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.tag--blue { color: var(--azure-soft); }

/* ---- Section seams (Realize keeps one unbroken column grid down the page) */
.lines { position: relative; isolation: isolate; }
.lines::before {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: -1; pointer-events: none;
  left: max(var(--gut), calc((100% - var(--max)) / 2)); right: max(var(--gut), calc((100% - var(--max)) / 2));
  border-left: 1px solid var(--line-d); border-right: 1px solid var(--line-d);
}
.rail > .cell { min-height: 72px; padding: 0; }
.sectors-foot--row { display: none !important; }
.sectors-foot--r { text-align: right; }

/* ---- Diagram boards (Realize-style) ----------------------------------- */
.board {
  position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(18px, 3vw, 40px);
  border: 1px solid rgba(243,239,233,.14);
  background-image:
    linear-gradient(rgba(243,239,233,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243,239,233,.05) 1px, transparent 1px);
  background-size: 44px 44px; background-position: -1px -1px;
}
.corner { position: absolute; width: 16px; height: 16px; border: 0 solid var(--sand); }
.corner.tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }

.dg__stage { position: relative; width: 100%; aspect-ratio: var(--ar); }
.dg__stage--tall { display: none; }
.dg__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* curves draw themselves in (pathLength=1 normalises the dash) */
.dg__ln { fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dg__ln--in { stroke: var(--azure); }
.dg__ln--out { stroke: var(--sand); opacity: .92; }
.dg__ln--net { stroke: var(--azure-soft); stroke-opacity: .6; }
.dg__spine { fill: none; stroke: rgba(243,239,233,.16); stroke-width: 1; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.dg__p--in { fill: var(--azure); }
.dg__p--out { fill: var(--sand); }

/* labels */
.dg__region { position: absolute; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); }
.dg__region--r { text-align: right; }
.dg__card {
  position: absolute; transform: translateY(-50%); display: flex; align-items: center; gap: 10px;
  padding: .9em 1.05em; white-space: nowrap;
  font-family: var(--f-head); font-weight: 600; font-size: clamp(10px, 1.05vw, 14.5px); letter-spacing: -0.01em;
}
.dg__card::before, .dg__card::after { content: ""; flex: none; width: 6px; height: 6px; }
.dg__card--in { background: rgba(58,141,255,.10); border: 1px solid rgba(58,141,255,.34); color: var(--cream); }
.dg__card--in::before { background: var(--azure); }
.dg__card--in::after { display: none; }
.dg__card--out { justify-content: space-between; background: rgba(217,192,174,.07); border: 1px solid rgba(217,192,174,.34); color: var(--sand); }
.dg__card--out::before { display: none; }
.dg__card--out::after { background: var(--sand); }
.dg__card--sm { transform: none; justify-content: center; min-height: 46px; padding: 8px 6px; font-size: 12.5px; white-space: normal; text-align: center; line-height: 1.2; }
.dg__card--sm::before, .dg__card--sm::after { display: none !important; }

.dg__hub { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; width: 17.7%; }
.dg__hub img { width: 100%; height: auto; }
.dg__hub span { font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--navy); background: var(--sand); padding: 4px 9px 3px; }
.dg__stage--tall .dg__hub { width: 52%; }
.dg__hub--box { width: auto; padding: 12px 16px; border: 1px solid var(--sand); background: var(--navy); }
.dg__hub--box img { width: clamp(100px, 10vw, 136px); }
.dg__hub--tl { transform: none; }
.dg__stage--tall .dg__hub--box { width: auto; }
.dg__stage--tall .dg__hub--box img { width: 112px; }

.dg__node {
  position: absolute; transform: translate(-3px, -50%); padding-left: 15px; white-space: nowrap;
  font-family: var(--f-head); font-weight: 700; font-size: clamp(11px, 1.25vw, 16px); line-height: 1.2; letter-spacing: -0.01em; color: var(--cream);
}
.dg__node::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--azure-soft); }
.dg__node--down::before { background: var(--sand); }
.dg__stage--tall .dg__node { font-size: 14px; }

/* entrance choreography: board fades, lines draw, then labels, hub glow and pulses */
.js .dg__ln { stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s cubic-bezier(.45,0,.2,1) calc(var(--d, 0) * 110ms + 150ms); }
.js .dg.in .dg__ln { stroke-dashoffset: 0; }
.js .dg__card, .js .dg__node, .js .dg__region { opacity: 0; transition: opacity .6s ease .5s; }
.js .dg.in .dg__card, .js .dg.in .dg__node, .js .dg.in .dg__region { opacity: 1; }
.js .dg__hub { opacity: 0; transition: opacity .7s ease .9s, transform .7s cubic-bezier(.2,.7,.2,1) .9s; }
.js .dg__hub:not(.dg__hub--tl) { transform: translate(-50%, -50%) scale(.85); }
.js .dg.in .dg__hub { opacity: 1; }
.js .dg.in .dg__hub:not(.dg__hub--tl) { transform: translate(-50%, -50%) scale(1); }
.js .dg__halo, .js .dg__pulses { opacity: 0; transition: opacity 1s ease 1.4s; }
.js .dg.in .dg__halo, .js .dg.in .dg__pulses { opacity: 1; }
.dg__halo { animation: halo 4.5s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes halo { 50% { transform: scale(1.08); } }

/* ---- Transatlantic bridge (dark) -------------------------------------- */
.bridge { padding-top: 96px; padding-bottom: 72px; }
.bridge__head { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.bridge__head .h2 { margin-top: 18px; font-size: clamp(34px, 4.2vw, 58px); }
.bridge__sub { margin: 22px auto 0; max-width: 560px; font-family: var(--f-head); font-weight: 500; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.45; color: #b8bfe6; }
.bridge__flows { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-d); border-top: 0; }
.flow { padding: 28px var(--pad) 32px; }
.flow + .flow { border-left: 1px solid var(--line-d); }
.flow__route { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 12px; font-family: var(--f-head); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: var(--cream); }
.flow__sq { width: 6px; height: 6px; }
.flow__sq--in { background: var(--azure); }
.flow__sq--out { background: var(--sand); }
.flow__arrow { color: var(--sand); }
.flow p:not(.flow__route) { font-size: 15px; color: var(--cream-2); max-width: 52ch; }
.bridge__foot { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; padding: 16px var(--pad) 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }

/* ---- Growth ----------------------------------------------------------- */
.cell--statement { grid-column: 1 / -1; padding-top: 100px; padding-bottom: 80px; border-right: 0; }
.growth__title { margin: 22px 0 0; max-width: 16ch; }
.statement {
  margin: 40px 0 0 clamp(0px, 25%, 340px); max-width: 24ch;
  font-family: var(--f-head); font-weight: 600; font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12; letter-spacing: -0.045em; color: var(--ink);
}
.js .statement .w { color: var(--ink-3); transition: color .35s ease; }
.js .statement .w.on { color: var(--ink); }
.statement__note { margin: 32px 0 0 clamp(0px, 25%, 340px); max-width: 44ch; font-size: 15px; color: var(--ink-2); }
.svc { padding-top: 44px; padding-bottom: 48px; }
.svc .h3 { margin-bottom: 24px; font-size: clamp(20px, 1.7vw, 24px); }
.ticks li { position: relative; padding: 11px 0 11px 18px; border-top: 1px solid var(--line); font-weight: 400; font-size: 15px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 20px; width: 6px; height: 6px; background: var(--azure); }

.alts { background: var(--navy); color: var(--cream); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); }
.alts__inner { position: relative; max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 64px; border-left: 1px solid var(--line-d); border-right: 1px solid var(--line-d); }
.alts__inner > p { margin: 14px 0 44px; max-width: 64ch; font-size: 15px; color: var(--cream-2); }
.alts__inner .btn { margin-top: 48px; }
.notches { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 10px; }
.alts__row { --n: 5; }
.notches li { position: relative; padding-top: 16px; border-top: 1px solid rgba(243,239,233,.45); font-family: var(--f-head); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.notches li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--cream); }
.notches li.is-hot { border-top-color: var(--sand); color: var(--sand); }
.notches li.is-hot::before { background: var(--sand); }

/* ---- Heritage (photo) ------------------------------------------------- */
.heritage { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--cream); }
.heritage__media { position: absolute; inset: 0 0 auto; height: 70%; }
.heritage__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.75); }
.heritage__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,6,46,.25) 0%, rgba(4,6,46,.65) 55%, var(--navy-deep) 100%); }
.heritage__inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 280px var(--gut) 36px; }
.heritage .h2 { margin: 14px 0 26px; max-width: 16ch; }
.heritage__copy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 900px; }
.heritage__copy p { font-size: 15px; color: var(--cream-2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 72px; }
.stat { padding-top: 18px; border-top: 1px solid rgba(243,239,233,.45); position: relative; }
.stat::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--cream); }
.stat__n { font-family: var(--f-head); font-weight: 600; font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -0.06em; color: var(--cream); }
.stat__n span { color: var(--cream-3); }
.stat p:not(.stat__n) { margin-top: 12px; max-width: 26ch; font-size: 14px; color: var(--cream-2); }
.stat--hot { border-top-color: var(--sand); }
.stat--hot::before { background: var(--sand); }
.stat--hot .stat__n { color: var(--sand); }
.heritage__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--line-d); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.heritage__people { display: flex; align-items: center; gap: 12px; }
.faces { display: flex; }
.faces img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--navy-deep); }
.faces img + img { margin-left: -8px; }

/* ---- M&A and shareholder advisory -------------------------------------- */
.cell--ib-head { padding-top: 64px; padding-bottom: 64px; }
.cell--ib-head .h2 { margin-top: 18px; max-width: 16ch; }
.cell--ib-note { padding-top: 64px; display: grid; gap: 16px; align-content: start; }
.cell--ib-note p { font-size: 15px; color: var(--ink-2); }
.ib { padding-top: 40px; padding-bottom: 40px; }
.ib__label { margin-bottom: 18px; font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.ib__list { display: flex; flex-direction: column; gap: 2px; }
.ib__list li { align-self: flex-start; font-weight: 300; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.45; letter-spacing: -0.02em; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(16,19,47,.3); }
.ib-foot { padding-top: 24px; padding-bottom: 64px; border-bottom: 0; }
.focus { max-width: 60ch; font-size: 15px; color: var(--ink-2); }
.focus span { display: block; margin-bottom: 6px; font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }

/* ---- Experience ------------------------------------------------------- */
.exp-head { padding-top: 64px; display: flex; flex-direction: column; gap: 22px; }
.exp-head p { font-size: 15px; color: var(--cream-2); }
.exp-head .btn { align-self: flex-start; }
.exp { padding: 64px 0; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 0; }
.exp__item { padding: var(--pad); min-height: 180px; border-top: 1px solid var(--line-d); border-right: 1px solid var(--line-d); }
.exp__item:nth-child(2n) { border-right: 0; }
.exp__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-d); }
.exp__item .step__head { margin-bottom: 34px; }
.exp__item .h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; }

/* ---- Testimonials ----------------------------------------------------- */
.quotes .grid { border-top: 1px solid var(--line-d); }
.quote { margin: 0; padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.quote blockquote { margin: 0; font-family: var(--f-head); font-weight: 500; font-size: 17px; line-height: 1.45; letter-spacing: -0.015em; color: var(--cream); }
.quote figcaption { font-size: 14px; font-weight: 500; color: var(--cream); }
.quote figcaption span { display: block; font-weight: 300; font-size: 13px; color: var(--cream-3); }
.quote--lead { position: relative; padding-top: 72px; padding-bottom: 64px; }
.quote--lead blockquote { max-width: 28ch; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.035em; }
.quote__mark { font-family: var(--f-head); font-weight: 800; font-size: 80px; line-height: .6; color: var(--sand); }
.quote-stack { padding: 0; display: flex; flex-direction: column; }
.quote-stack .quote { padding: var(--pad); padding-top: 44px; padding-bottom: 44px; flex: 1; }
.quote-stack .quote + .quote { border-top: 1px solid var(--line-d); }

/* ---- Sectors ---------------------------------------------------------- */
.cell--label-tall { padding-top: 64px; padding-bottom: 64px; }
.cell--label-tall .h2 { margin-top: 20px; max-width: 12ch; }
.cell--note { padding-top: 64px; display: grid; gap: 16px; align-content: start; }
.cell--note p { max-width: 62ch; font-size: 15px; color: var(--ink-2); }
.sectors { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-top: 28px; padding-bottom: 28px; }
.sectors span { font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -0.03em; color: var(--ink); }
.sectors i { font-style: normal; color: var(--ink-3); }
.sectors-foot { display: flex; justify-content: space-between; padding-top: 18px; padding-bottom: 72px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.sectors-foot--r { justify-content: flex-end; }

/* ---- Network ---------------------------------------------------------- */
.network { padding-top: 96px; padding-bottom: 96px; }
.network__head { max-width: var(--max); margin: 0 auto 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.network__head .h2 { margin-top: 16px; max-width: 13ch; }
.network__copy { max-width: 48ch; justify-self: end; }
.network__lead { margin-bottom: 12px; font-family: var(--f-head); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--cream); }
.network__copy p:not(.network__lead) { font-size: 15px; color: var(--cream-2); }

/* ---- Founders --------------------------------------------------------- */
.exits-intro { padding-top: 64px; padding-bottom: 64px; }
.exits-intro .h2 { margin: 18px 0 28px; max-width: 12ch; }
.exits-intro__copy { max-width: 46ch; font-size: 15px; color: var(--ink-2); margin-bottom: 30px; }
.sig { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.sig__faces { display: flex; }
.sig__faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.sig__faces img + img { margin-left: -12px; }
.sig p { font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.sig p span { display: block; font-weight: 500; color: var(--ink); }
.sig strong { font-weight: 500; color: var(--ink); }
.exits { padding: 0; display: flex; flex-direction: column; }
.exits__label { font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.exits > .exits__label { padding: 64px var(--pad) 18px; }
.exits article { padding: 28px var(--pad); border-top: 1px solid var(--line); }
.exits .h3 { font-size: clamp(19px, 1.6vw, 23px); margin-bottom: 8px; }
.exits p { font-size: 15px; color: var(--ink-2); }
.exits b { font-weight: 600; color: var(--bronze); }
.partners { border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: 132px 1fr; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.person img { width: 132px; height: 132px; object-fit: cover; border-radius: 2px; }
.person .h3 { font-size: 24px; }
.person__role { margin: 6px 0 14px; font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.person p:not(.person__role) { font-size: 14px; color: var(--ink-2); }
.person p + p:not(.person__role) { margin-top: 10px; }
.partners__team { padding-top: 26px; padding-bottom: 64px; display: grid; gap: 10px; }
.partners__team p:not(.exits__label) { max-width: 90ch; font-size: 14px; color: var(--ink-2); }

/* ---- Insights --------------------------------------------------------- */
.card { padding: 0; display: block; transition: background .25s; }
.card:hover { background: var(--paper-2); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.75); transition: filter .3s; }
.card:hover img { filter: saturate(1); }
.card__body { padding: 24px var(--pad) 40px; }
.card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 500; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.card__meta i { width: 4px; height: 4px; background: var(--ink-3); }
.card__meta b { font-weight: 600; color: var(--ink); }
.card h3 { font-family: var(--f-head); font-weight: 500; font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.btn-cell { display: flex; align-items: center; justify-content: center; padding: 18px; background: var(--navy); color: var(--cream); font-family: var(--f-head); font-weight: 600; font-size: 14px; }
.btn-cell:hover { background: var(--navy-2); }
.cell--thin { padding: 0; min-height: 60px; }

/* ---- Contact ---------------------------------------------------------- */
.contact__intro { padding-top: 96px; padding-bottom: 64px; display: grid; gap: 16px; align-content: start; }
.contact__intro p:not(.eyebrow) { max-width: 34ch; font-size: 15px; color: var(--cream-2); }
.contact__intro .eyebrow { margin-bottom: 16px; }
.contact__title { padding-top: 96px; padding-bottom: 64px; display: flex; align-items: center; }
.contact__details { font-size: 15px; color: var(--cream); }
.contact__details .label { margin-bottom: 6px; font-size: 13px; color: var(--cream-3); }
.contact__details p + .label { margin-top: 26px; }
.contact__details a:hover { color: var(--sand); }
.sep { color: var(--sand); margin: 0 4px; }
.form { padding: 0; display: flex; flex-direction: column; }
.form__who { margin: 0; padding: 18px var(--pad) 20px; border: 0; border-bottom: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 8px; }
.form__who legend { float: left; width: 100%; margin-bottom: 12px; padding: 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
.form__who label { position: relative; cursor: pointer; }
.form__who input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.form__who span { display: inline-block; padding: 8px 12px; border: 1px solid rgba(243,239,233,.25); font-size: 13px; font-weight: 400; color: var(--cream-2); transition: all .2s; }
.form__who input:checked + span { border-color: var(--sand); color: var(--navy); background: var(--sand); }
.form__who input:focus-visible + span { outline: 2px solid var(--azure); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-d); }
.form__row label { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px var(--pad); border-right: 1px solid var(--line-d); color: var(--cream); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.form__row label:last-child { border-right: 0; }
.form__row label.wide { grid-column: span 2; }
.form__row label::after { content: ""; position: absolute; top: 0; right: 0; border: 5px solid transparent; border-top-color: var(--sand); border-right-color: var(--sand); }
.form input, .form textarea { padding: 0; border: 0; outline: 0; background: transparent; color: var(--cream); resize: vertical; font-family: var(--f-body); font-weight: 300; font-size: 16px; letter-spacing: 0; text-transform: none; }
.form input::placeholder, .form textarea::placeholder { color: var(--cream-3); }
.form__row--submit { align-items: center; border-bottom: 0; }
.form__row--submit .btn { margin: 24px var(--pad); width: auto; }
.form__note { padding: 0 var(--pad); font-size: 12px; color: var(--cream-3); }

/* ---- Footer ----------------------------------------------------------- */
.footer { background: var(--navy); color: var(--cream); padding: 0 var(--gut); overflow: hidden; }
.footer .grid { border-top: 1px solid var(--line-d); }
.footer .cell { padding-top: 56px; padding-bottom: 48px; }
.footer__brand img { height: 30px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; font-size: 16px; color: var(--cream); }
.footer__tag { margin-top: 10px; font-size: 14px !important; color: var(--cream-3) !important; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(243,239,233,.25); transition: border-color .2s, background .2s; }
.footer__social a:hover { border-color: var(--sand); background: rgba(217,192,174,.1); }
.footer__social svg { width: 15px; height: 15px; fill: var(--cream); }
.footer__col h4 { margin-bottom: 18px; font-family: var(--f-body); font-weight: 400; font-size: 18px; color: #8f97c9; }
.footer__col a { display: block; padding: 4px 0; font-size: 15px; color: var(--cream); }
.footer__col a:hover { color: var(--sand); }
.footer__col p { margin-top: 6px; font-size: 14px; color: var(--cream); }
.footer__legal { padding-top: 32px !important; padding-bottom: 32px !important; }
.footer__legal p { max-width: 70ch; font-size: 13px; color: var(--cream-3); }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px !important; padding-bottom: 20px !important; font-size: 14px; border-bottom: 0 !important; }
.footer__wordmark { max-width: var(--max); margin: 0 auto; padding-top: 8px; font-family: var(--f-head); font-weight: 800; font-size: clamp(110px, 21vw, 320px); line-height: .76; letter-spacing: -0.065em; color: var(--cream); transform: translateY(12%); }

.staging-pill { position: fixed; right: 12px; bottom: 12px; z-index: 30; padding: 5px 10px; border-radius: 999px; background: var(--sand); color: var(--navy); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

/* ---- Motion ----------------------------------------------------------- */
.js .split .wd { display: inline-block; opacity: 0; transform: translateY(.42em); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--wi, 0) * 42ms + var(--wd0, 0ms)); }
.js .split.in .wd { opacity: 1; transform: none; }
.js .hero__title.split { --wd0: 150ms; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .split .wd { opacity: 1; transform: none; transition: none; }
  .js .dg__ln { stroke-dashoffset: 0; transition: none; }
  .js .dg__card, .js .dg__node, .js .dg__region, .js .dg__hub, .js .dg__halo { opacity: 1; transition: none; }
  .marquee__track, .dg__halo { animation: none; }
  .dg__pulses { display: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================== Tablet (<=1100px) */
@media (max-width: 1100px) {
  .nav__inner { gap: 20px; }
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 13px; }
}
@media (max-width: 1024px) {
  .nav__links a[href="#insights"] { display: none; }
  .rail.grid--4 > .cell:nth-child(n+3) { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 > .cell { border-right: 1px solid var(--line); }
  .grid--4 > .cell:nth-child(2n) { border-right: 0; }
  .grid--4 > .cell--span3 { grid-column: span 2; }
  .cell--label { padding-bottom: 0; border-bottom: 0; }
  .cell--headline { padding-top: 24px; }
  .grid--flush > .cell { border-bottom: 1px solid var(--line); }
  .cell--whatwedo { min-height: 0; padding-top: 72px; }
  .network__head { grid-template-columns: 1fr; }
  .network__copy { justify-self: start; }
}

/* ===================================================== Phone (<=820px) */
@media (max-width: 820px) {
  :root { --nav-h: 64px; --pad: 20px; }
  body { font-size: 15px; }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  /* type, matched to Realize at 390px: h1 42/1.02, h2 36/1.08, h3 28/1.2 */
  .hero__title { font-size: 44px; letter-spacing: -0.07em; margin: 14px 0 22px; }
  .h2 { font-size: 34px; line-height: 1.08; letter-spacing: -0.06em; }
  .h2--md { font-size: 30px; }
  .h3 { font-size: 24px; }
  .h-giant { font-size: 48px; }

  .hero { min-height: 680px; height: 100svh; max-height: 900px; }
  .hero__inner { padding: 110px var(--gut) 30px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .14em; }
  .hero__lede { font-size: 16px; }
  .hero__sub { font-size: 14px; }
  .hero__ctas { margin-top: 22px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .marquee span { font-size: 13px; }

  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid > .cell { border-right: 0 !important; }
  .cell--span2, .cell--span3, .grid--4 > .cell--span3 { grid-column: auto; }
  .cell--blank { display: none; }

  .cell--label { padding-top: 56px; }
  .cell--headline { padding-top: 22px; padding-bottom: 48px; }
  .about__copy { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .cell--feature { min-height: 0; padding-top: 28px; padding-bottom: 40px; }
  .cell--feature p:not(.kicker) { max-width: none; }
  .kicker { font-size: 24px; margin-bottom: 10px; }

  .grid--flush > .cell { border-bottom: 0; }
  .cell--whatwedo { padding: 64px 20px 24px; }
  .step { margin: 0 20px; padding: 32px 0 40px; border-top: 1px solid var(--line); }
  .step:hover { background: none; }
  .step__head { margin-bottom: 20px; }
  .step .h3 { font-size: 21px; margin-bottom: 16px; }

  /* diagrams swap to their tall versions */
  .bridge { padding-top: 72px; padding-bottom: 56px; }
  .bridge__head { margin-bottom: 32px; }
  .bridge__head .h2 { font-size: 32px; }
  .bridge__sub { font-size: 16px; }
  .board { padding: 14px; background-size: 32px 32px; }
  .corner.tl, .corner.tr { top: 8px; } .corner.bl, .corner.br { bottom: 8px; }
  .corner.tl, .corner.bl { left: 8px; } .corner.tr, .corner.br { right: 8px; }
  .dg__stage--wide { display: none; }
  .dg__stage--tall { display: block; }
  .dg__region { font-size: 10px; }
  .bridge__flows { grid-template-columns: 1fr; }
  .flow + .flow { border-left: 0; border-top: 1px solid var(--line-d); }
  .flow__route { font-size: 16px; }
  .bridge__foot { flex-direction: column; gap: 6px; font-size: 10px; }

  .cell--statement { padding-top: 64px; padding-bottom: 48px; }
  .statement { margin: 28px 0 0; font-size: 26px; }
  .statement__note { margin: 24px 0 0; }
  .svc { padding-top: 40px; padding-bottom: 36px; }

  .notches { grid-template-columns: 1fr; gap: 0; }
  .notches li { padding: 18px 0 20px; text-align: center; border-top: 1px solid rgba(243,239,233,.4); }
  .notches li::before { top: -1px; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: var(--navy); border-right: 1px solid rgba(243,239,233,.4); border-bottom: 1px solid rgba(243,239,233,.4); transform: translateY(-50%) rotate(45deg); }
  .notches li.is-hot::before { background: var(--navy); border-color: var(--sand); }
  .alts__inner { padding: 48px 20px; }
  .alts__inner > p { margin-bottom: 30px; }
  .alts__inner .btn { margin-top: 20px; width: 100%; }

  .heritage__media { height: 320px; }
  .heritage__inner { padding: 220px var(--gut) 28px; }
  .heritage .h2 { font-size: 34px; }
  .heritage__copy { grid-template-columns: 1fr; gap: 14px; }
  .stats { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  .stat { padding: 18px 0 22px; text-align: center; border-top: 1px solid rgba(243,239,233,.4); }
  .stat::before { top: -1px; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: var(--navy-deep); border-right: 1px solid rgba(243,239,233,.4); border-bottom: 1px solid rgba(243,239,233,.4); transform: translateY(-50%) rotate(45deg); }
  .stat--hot { border-top-color: var(--sand); }
  .stat--hot::before { background: var(--navy-deep); border-color: var(--sand); }
  .stat__n { font-size: 56px; }
  .stat p:not(.stat__n) { margin: 8px auto 0; }
  .heritage__foot { flex-direction: column; align-items: flex-start; font-size: 10px; }

  .cell--ib-head { padding-top: 56px; padding-bottom: 16px; border-bottom: 0; }
  .cell--ib-note { padding-top: 8px; padding-bottom: 28px; border-bottom: 0; }
  .ib { padding-top: 24px; padding-bottom: 24px; border-bottom: 0; }
  .ib__list li { font-size: 22px; }
  .ib-foot { padding-top: 16px; padding-bottom: 0; }
  .ib-foot .btn { width: 100%; }
  .ib-foot + .ib-foot { padding-bottom: 56px; }

  .exp-head { padding-top: 64px; padding-bottom: 48px; }
  .exp-head .btn { width: 100%; }
  .exp { grid-template-columns: 1fr; padding: 0; }
  .exp__item { border-right: 0; min-height: 0; padding-bottom: 48px; border-bottom: 0 !important; }
  .exp__item:last-child { border-bottom: 1px solid var(--line-d) !important; margin-bottom: 64px; }
  .exp__item .step__head { margin-bottom: 36px; }
  .exp__item .h3 { font-size: 19px; }

  .quote--lead { padding-top: 56px; padding-bottom: 44px; }
  .quote--lead blockquote { font-size: 24px; }
  .quote-stack .quote { padding: 36px 20px; }
  .quote-stack .quote + .quote, .quote-stack { border-top: 1px solid var(--line-d); }

  .cell--label-tall { padding-top: 56px; padding-bottom: 16px; border-bottom: 0; }
  .cell--note { padding-top: 8px; padding-bottom: 36px; }
  .sectors span { font-size: 19px; }
  .sectors-foot { padding-bottom: 48px; font-size: 10px; }
  .sectors-foot--cell { display: none !important; }
  .sectors-foot--row { display: flex !important; }
  .rail > .cell { min-height: 44px; }
  .rail > .cell:nth-child(n+2) { display: none; }

  .network { padding-top: 64px; padding-bottom: 64px; }
  .network__head { gap: 22px; margin-bottom: 28px; }

  .exits-intro { padding-top: 56px; padding-bottom: 40px; }
  .exits-intro .btn { width: 100%; }
  .exits > .exits__label { padding-top: 36px; }
  .exits article:last-child { border-bottom: 1px solid var(--line); }
  .person { grid-template-columns: 1fr; gap: 18px; padding-top: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
  .person img { width: 96px; height: 96px; }
  .partners__team { padding-bottom: 56px; }

  .card__body { padding: 20px 16px 34px; }
  .btn-cell { margin: 16px 0 56px; border-bottom: 0 !important; }

  .contact__intro { padding-top: 72px; padding-bottom: 16px; border-bottom: 0; }
  .contact__title { padding-top: 24px; padding-bottom: 56px; }
  .form__row { grid-template-columns: 1fr; }
  .form__row label { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .form__row label:last-child { border-bottom: 0; }
  .form__row label.wide { grid-column: auto; }
  .form__row--submit .btn { margin: 28px 20px 12px; width: calc(100% - 40px); }
  .form__note { padding-bottom: 28px; }

  .footer .cell { padding-top: 40px; padding-bottom: 36px; }
  .footer__bar { flex-direction: column-reverse; }
  .footer__wordmark { font-size: 24vw; transform: translateY(13%); }
}
