/* ============================================================
   KH HOLDINGS — institutional system layer (extends styles.css)
   Loaded AFTER styles.css on every page.
   ============================================================ */

:root {
  /* refined accent system — slate-blue kept, silver + metallics added */
  --accent: #6f9bd6;
  --accent-bright: #93b6e8;
  --accent-deep: #2c4e86;
  --accent-soft: #c2d3ec;
  --silver: #aebed6;          /* hairline / label silver on dark */
  --silver-mute: #7c8aa3;
  --navy-line: #18335c;
  --gold-metal: #c7a76a;      /* whisper of metallic for premium marks */

  --ease: cubic-bezier(.4, 0, .1, 1);
}

/* hero range line + roadmap mini-strip (homepage) */
.hero__range {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  color: var(--accent-soft); margin: 0 auto 36px; opacity: .9;
}
.hero__range strong { color: #fff; font-weight: 600; }
.roadmapMini {
  display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px;
  margin-top: 8px;
}
.rmini {
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 11px 16px; border-radius: 8px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); color: var(--accent-soft);
  white-space: nowrap;
}
.rmini--exit { background: var(--accent); border-color: var(--accent); color: var(--navy-deep); font-weight: 600; }
.rmini__arr { color: var(--accent); opacity: .6; font-size: 14px; }
@media (max-width: 720px) { .rmini__arr { display: none; } }

/* ---------- shared niceties ---------- */
.kh-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kh-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
.kh-eyebrow--light { color: var(--accent-soft); }
.kh-eyebrow--center { justify-content: center; }

/* ============================================================
   NAV — flat top-level navigation
   ============================================================ */
/* Navbar breathes wider than the body content so the full wordmark + links + CTA
   fit without crowding, and large monitors get generous left padding. */
.nav__inner { max-width: min(1500px, 100%); gap: clamp(12px, 1.3vw, 22px); }
.nav__links { gap: clamp(9px, 0.85vw, 18px); align-items: center; flex-wrap: nowrap; justify-content: flex-end; }
.nav__links > a { font-size: clamp(12px, 0.9vw, 13px); white-space: nowrap; letter-spacing: -0.005em; }
.nav__cta .btn--sm { white-space: nowrap; }
.nav__item--has { position: relative; }
.nav__trigger {
  background: none; border: 0; padding: 6px 0;
  font: 500 14.5px/1 var(--sans);
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 7px;
  cursor: pointer;
  position: relative;
}
.nav__trigger:hover { color: var(--navy); }
.nav__caret {
  width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px); transition: transform .25s var(--ease);
  opacity: .7;
}
.nav__item--has:hover .nav__caret { transform: rotate(225deg) translateY(-2px); }
.nav__trigger::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .25s var(--ease);
}
.nav__item--has:hover .nav__trigger::after { right: 18px; }

.nav__menu {
  position: absolute; top: calc(100% + 14px); left: -28px;
  width: 420px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 60;
}
.nav__item--has:hover .nav__menu,
.nav__item--has:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
/* invisible hover bridge so the menu does not close while crossing the gap */
.nav__menu::before {
  content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px;
}
.nav__menu .nav__menuItem {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; align-items: start;
  padding: 15px 40px 15px 16px; border-radius: 12px;
  transition: background .18s var(--ease);
}
.nav__menu .nav__menuItem + .nav__menuItem { margin-top: 4px; }
.nav__menu .nav__menuItem:hover { background: var(--bg-soft); }
/* subtle directional cue on hover */
.nav__menu .nav__menuItem::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 7px; height: 7px; border-right: 1.5px solid var(--accent-deep); border-bottom: 1.5px solid var(--accent-deep);
  transform: translateY(-50%) rotate(-45deg) translateX(-3px);
  opacity: 0; transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.nav__menu .nav__menuItem:hover::after { opacity: .85; transform: translateY(-50%) rotate(-45deg) translateX(0); }
.nav__menuText { display: flex; flex-direction: column; gap: 5px; padding-top: 1px; min-width: 0; }
.nav__menuIco {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--navy); color: var(--accent-soft);
  display: grid; place-items: center; flex-shrink: 0;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav__menu .nav__menuItem:hover .nav__menuIco { background: var(--accent-deep); color: #fff; }
.nav__menuIco svg { width: 20px; height: 20px; }
.nav__menuTtl { display: block; font-size: 15px; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; line-height: 1.3; }
.nav__menuSub { display: block; font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; letter-spacing: .002em; }

.nav__links > a.is-active,
.nav__trigger.is-active { color: var(--navy); }
.nav__links > a.is-active::after { right: 0; }

/* mobile nav additions */
.nav__mobileGroup { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); padding: 16px 0 4px; }

/* ============================================================
   PAGE HERO (interior pages) — compact dark band
   ============================================================ */
.phero {
  position: relative;
  background: radial-gradient(ellipse 90% 120% at 70% -10%, #122a52 0%, #0a1a36 55%, #06122a 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(111,155,214,.14);
}
.phero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 80% at 75% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 75% 0%, #000 20%, transparent 75%);
  pointer-events: none; z-index: 0;
}
.phero__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) var(--pad) clamp(52px, 7vw, 88px);
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--silver-mute); margin-bottom: 30px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--silver); transition: color .15s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span.sep { opacity: .5; }
.phero__eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
}
.phero__eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--accent); }
.phero__title {
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.018em;
  margin: 0; color: #fff; max-width: 18ch; text-wrap: balance;
}
.phero__title em { color: var(--accent); font-weight: 500; font-style: normal; }
.phero__lede {
  font-size: clamp(16px, 1.4vw, 19px); color: rgba(200,212,232,.78);
  max-width: 60ch; margin: 26px 0 0; line-height: 1.62;
}
.phero__meta {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 26px;
}
.phero__metaItem {
  padding-right: 40px; margin-right: 40px; border-right: 1px solid rgba(255,255,255,.1);
}
.phero__metaItem:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.phero__metaNum { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -0.01em; line-height: 1; }
.phero__metaNum span { color: var(--accent); }
.phero__metaLbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver-mute); margin-top: 8px; }

/* ============================================================
   PROOF BAR (homepage)
   ============================================================ */
.proofbar {
  background: var(--navy-deep); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.proofbar__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 30px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.proofbar__label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver-mute); }
.proofbar__items { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.proofbar__item { display: flex; flex-direction: column; gap: 4px; }
.proofbar__num { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.proofbar__num span { color: var(--accent); }
.proofbar__lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--silver-mute); }

/* ============================================================
   SECTION HELPERS — dark variant
   ============================================================ */
.section--dark { background: var(--navy-deep); color: #fff; max-width: none; }
.section--dark .section__title { color: #fff; }
.section--dark .section__lede { color: rgba(200,212,232,.7); }
.section--dark .section__label { color: var(--accent); }
.section--tint { background: var(--bg-soft); max-width: none; }
.section__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section--pad { padding: clamp(72px, 9vw, 120px) 0; }

/* ============================================================
   FRAMEWORKS — Gate System vs 3-Phase System
   ============================================================ */
.frameworks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: clamp(40px,5vw,60px); }
.fw {
  border-radius: var(--radius-lg); padding: 36px clamp(24px,3vw,38px) 38px;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.fw--gate { background: var(--paper); border: 1px solid var(--line); }
.fw--phase { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.fw__kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px;
}
.fw--gate .fw__kicker { color: var(--accent-deep); }
.fw--phase .fw__kicker { color: var(--accent); }
.fw__name { font-size: clamp(26px,3vw,34px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.05; }
.fw--gate .fw__name { color: var(--navy); }
.fw--phase .fw__name { color: #fff; }
.fw__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: inherit; opacity: .7;
  margin: 0 0 22px;
}
.fw__desc { font-size: 14.5px; line-height: 1.6; margin: 0 0 26px; }
.fw--gate .fw__desc { color: var(--ink-mute); }
.fw--phase .fw__desc { color: rgba(200,212,232,.78); }
.fw__forLabel { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; opacity: .85; }
.fw--gate .fw__forLabel { color: var(--ink-mute); }
.fw--phase .fw__forLabel { color: var(--accent); }
.fw__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.fw__chip {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; font-weight: 500;
}
.fw--gate .fw__chip { background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy); }
.fw--phase .fw__chip { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #fff; }

/* Gate steps — modular checkpoint feel */
.gateSteps { display: grid; gap: 12px; margin-top: auto; }
.gateStep {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  background: #fff; transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.gateStep:hover { border-color: var(--accent); transform: translateX(3px); }
.gateStep__node {
  width: 46px; height: 46px; border-radius: 9px; display: grid; place-items: center;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent-deep);
}
.gateStep__ttl { font-size: 15px; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.gateStep__sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin-top: 3px; }

/* Phase flow — linear connected feel */
.phaseFlow { display: grid; gap: 0; margin-top: auto; }
.phaseRow {
  display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 16px 0;
  position: relative;
}
.phaseRow:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 44px; bottom: -4px; width: 2px;
  background: linear-gradient(var(--accent), rgba(111,155,214,.2));
}
.phaseRow__node {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--navy-deep);
  font-family: var(--sans); font-weight: 700; font-size: 15px; z-index: 1;
}
.phaseRow__ttl { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.phaseRow__sub { font-size: 13px; color: rgba(200,212,232,.7); margin-top: 4px; line-height: 1.5; }

.fw__relation {
  margin-top: 30px; grid-column: 1 / -1;
  background: var(--navy-deep); color: #fff; border-radius: var(--radius-lg);
  padding: 28px clamp(24px,3vw,40px);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center;
}
.fw__relationCol { }
.fw__relationCol h4 { margin: 0 0 6px; font-size: 15px; color: var(--accent); font-family: var(--mono); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.fw__relationCol p { margin: 0; font-size: 14.5px; color: rgba(200,212,232,.82); line-height: 1.5; }
.fw__relationDivider { width: 1px; height: 56px; background: rgba(255,255,255,.16); }

@media (max-width: 980px) {
  .frameworks { grid-template-columns: 1fr; }
  .fw__relation { grid-template-columns: 1fr; gap: 18px; }
  .fw__relationDivider { width: 100%; height: 1px; }
}

/* ============================================================
   BROKER vs KH — comparison table
   ============================================================ */
.versus { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); margin-top: clamp(40px,5vw,56px); }
.versus__head { display: grid; grid-template-columns: 1fr 1fr; }
.versus__headCell {
  padding: 26px 32px; display: flex; align-items: center; gap: 14px;
}
.versus__headCell--broker { background: var(--bg-soft); border-right: 1px solid var(--line); }
.versus__headCell--kh { background: var(--navy); color: #fff; }
.versus__headTtl { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.versus__headCell--broker .versus__headTtl { color: var(--ink-mute); }
.versus__headBadge {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; font-weight: 600;
}
.versus__headCell--broker .versus__headBadge { background: #d4dae6; color: var(--ink-mute); }
.versus__headCell--kh .versus__headBadge { background: var(--accent); color: var(--navy-deep); }
.versus__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.versus__cell { padding: 20px 32px; display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.5; }
.versus__cell--broker { color: var(--ink-mute); border-right: 1px solid var(--line); background: rgba(0,0,0,.012); }
.versus__cell--kh { color: var(--ink); font-weight: 500; }
.versus__mark { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.versus__mark--x { color: #b0b8c6; }
.versus__mark--check { color: var(--accent-deep); }
@media (max-width: 720px) {
  .versus__head, .versus__row { grid-template-columns: 1fr; }
  .versus__headCell--broker, .versus__cell--broker { border-right: 0; border-bottom: 1px solid var(--line); }
  .versus__cell { padding: 16px 22px; }
  .versus__headCell { padding: 20px 22px; }
}

/* ============================================================
   FUNDING ROADMAP ARCHITECTURE — flagship vertical diagram
   ============================================================ */
.roadmap { position: relative; margin-top: clamp(48px,6vw,72px); }
.roadmap__spine { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--accent), var(--accent-deep)); opacity: .25; }
.rstage {
  position: relative; display: grid; grid-template-columns: 1fr 132px 1fr; align-items: center;
  margin-bottom: 26px;
}
.rstage__card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.rstage__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.rstage__stageLbl { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; margin-bottom: 8px; }
.rstage__name { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 16px; line-height: 1.1; }
.rstage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.rstage__field { }
.rstage__fieldLbl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.rstage__fieldVal { font-size: 13.5px; color: var(--ink-2); line-height: 1.4; font-weight: 500; }
.rstage__miles { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.rstage__mile {
  font-family: var(--mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 4px; background: var(--bg-soft); color: var(--navy); border: 1px solid var(--line);
}
.rstage__node {
  grid-column: 2; justify-self: center; position: relative; z-index: 2;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; flex-direction: column;
  border: 6px solid var(--bg); box-shadow: 0 0 0 1px var(--line);
  text-align: center;
}
.rstage__nodeNum { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--accent); }
.rstage__nodeVal { font-size: 15px; font-weight: 700; line-height: 1; margin-top: 2px; }
.rstage__valTag { font-family: var(--mono); font-size: 9px; color: var(--silver); margin-top: 3px; letter-spacing: .06em; }
.rstage:nth-child(odd) .rstage__card { grid-column: 1; }
.rstage:nth-child(even) .rstage__card { grid-column: 3; }
.rstage:nth-child(odd) .rstage__spacer { grid-column: 3; }
.rstage:nth-child(even) .rstage__spacer { grid-column: 1; }

@media (max-width: 880px) {
  .roadmap__spine { left: 40px; }
  .rstage { grid-template-columns: 80px 1fr; gap: 18px; }
  .rstage__node { grid-column: 1; width: 64px; height: 64px; border-width: 5px; }
  .rstage:nth-child(odd) .rstage__card,
  .rstage:nth-child(even) .rstage__card { grid-column: 2; }
  .rstage__spacer { display: none; }
}
@media (max-width: 520px) {
  .rstage__grid { grid-template-columns: 1fr; }
}

/* roadmap principles strip */
.principles { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; margin-top: clamp(40px,5vw,56px); }
.principle { padding: 30px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.principle:last-child { border-right: 0; }
.principle__num { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; }
.principle__ttl { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 8px; letter-spacing: -0.01em; }
.principle p { margin: 0; font-size: 13.5px; color: rgba(200,212,232,.66); line-height: 1.55; }
@media (max-width: 980px) { .principles { grid-template-columns: 1fr 1fr; } .principle:nth-child(2) { border-right: 0; } .principle:nth-child(1), .principle:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } .principle { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); } .principle:last-child { border-bottom: 0; } }

/* valuation curve caption */
.valcurve { margin-top: clamp(48px,6vw,64px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: clamp(28px,4vw,44px); }
.valcurve__svg { width: 100%; height: auto; display: block; }

/* ============================================================
   CAPITAL STACK (M&A / capital strategy)
   ============================================================ */
.capstack { display: grid; gap: 8px; margin-top: 8px; }
.capLayer {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px;
  padding: 18px 24px; border-radius: 10px; color: #fff; position: relative; overflow: hidden;
}
.capLayer__ttl { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.capLayer__sub { font-size: 12.5px; opacity: .82; margin-top: 2px; }
.capLayer__tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; background: rgba(255,255,255,.16); }

/* ============================================================
   PROCESS / DILIGENCE WORKFLOW (horizontal stepper)
   ============================================================ */
.workflow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin-top: clamp(40px,5vw,56px); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.wstep { padding: 28px 24px; border-right: 1px solid var(--line); position: relative; }
.wstep:last-child { border-right: 0; }
.wstep__num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.wstep__ttl { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; letter-spacing: -0.01em; }
.wstep p { margin: 0; font-size: 13px; color: var(--ink-mute); line-height: 1.5; }
.wstep__arrow { position: absolute; right: -9px; top: 42px; width: 18px; height: 18px; background: var(--paper); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); z-index: 2; }
.wstep:last-child .wstep__arrow { display: none; }
@media (max-width: 900px) { .workflow { grid-auto-flow: row; } .wstep { border-right: 0; border-bottom: 1px solid var(--line); } .wstep:last-child { border-bottom: 0; } .wstep__arrow { display: none; } }

/* ============================================================
   SERVICE TILES (expanded services grid)
   ============================================================ */
.svcTiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(40px,5vw,56px); }
.svcTile {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 12px; min-height: 240px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.svcTile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.svcTile__ico { width: 46px; height: 46px; border-radius: 10px; background: var(--navy); color: var(--accent-soft); display: grid; place-items: center; }
.svcTile__ico svg { width: 22px; height: 22px; }
.svcTile__num { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--ink-mute); }
.svcTile__ttl { font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; margin: 0; line-height: 1.2; }
.svcTile p { margin: 0; font-size: 13.5px; color: var(--ink-mute); line-height: 1.55; }
.svcTile__more { margin-top: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
@media (max-width: 980px) { .svcTiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svcTiles { grid-template-columns: 1fr; } }

/* ============================================================
   SECTOR INTELLIGENCE (expertise page)
   ============================================================ */
.sectorIntel { display: grid; gap: 20px; margin-top: clamp(40px,5vw,56px); }
.sint {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px clamp(24px,3vw,38px); display: grid; grid-template-columns: 280px 1fr; gap: 36px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.sint:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.sint__head { display: flex; flex-direction: column; gap: 14px; }
.sint__ico { width: 54px; height: 54px; border-radius: 12px; background: var(--navy); color: var(--accent-soft); display: grid; place-items: center; }
.sint__ico svg { width: 28px; height: 28px; }
.sint__name { font-size: 24px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
.sint__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sint__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy); }
.sint__body { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; align-self: center; }
.sint__field { }
.sint__fieldLbl { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; margin-bottom: 7px; display: flex; align-items: center; gap: 8px; }
.sint__fieldLbl::before { content: ""; width: 14px; height: 1px; background: var(--accent); }
.sint__field p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 880px) { .sint { grid-template-columns: 1fr; gap: 24px; } .sint__body { grid-template-columns: 1fr; } }

/* ============================================================
   INSIGHTS INDEX
   ============================================================ */
.insFilter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; margin-bottom: 44px; }
.insFilter__btn {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  color: var(--navy); cursor: pointer; transition: all .18s var(--ease); font-weight: 500;
}
.insFilter__btn:hover { border-color: var(--accent); }
.insFilter__btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.insHero {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; background: var(--paper);
}
.insHero__cover { background-size: cover; background-position: center; background-color: var(--navy-deep); min-height: 360px; position: relative; }
.insHero__pill { position: absolute; top: 20px; left: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(15,39,72,.82); padding: 7px 13px; border-radius: 999px; backdrop-filter: blur(8px); }
.insHero__body { padding: clamp(32px,4vw,52px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.insHero__cat { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
.insHero__ttl { font-size: clamp(26px,3.2vw,38px); font-weight: 700; color: var(--navy); letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
.insHero__ex { font-size: 16px; color: var(--ink-mute); line-height: 1.6; margin: 0; }
@media (max-width: 820px) { .insHero { grid-template-columns: 1fr; } .insHero__cover { min-height: 220px; } }

/* ============================================================
   CTA BANDS
   ============================================================ */
.ctaBand { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.ctaBand::before { content: ""; position: absolute; top: -40%; right: -8%; width: 50%; height: 180%; background: radial-gradient(circle, rgba(111,155,214,.14), transparent 60%); pointer-events: none; }
.ctaBand__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px,7vw,88px) var(--pad); position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.ctaBand__title { font-size: clamp(30px,3.6vw,46px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 18px; color: #fff; text-wrap: balance; }
.ctaBand__title em { color: var(--accent); font-style: normal; }
.ctaBand__copy { font-size: 17px; color: rgba(200,212,232,.78); line-height: 1.6; margin: 0; max-width: 52ch; }
.ctaBand__actions { display: flex; flex-direction: column; gap: 12px; }
.ctaBand__actions .btn { justify-content: space-between; }
.ctaBand__tertiary { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--silver); text-align: center; margin-top: 4px; }
.ctaBand__tertiary a { color: var(--accent); border-bottom: 1px solid transparent; }
.ctaBand__tertiary a:hover { border-color: var(--accent); }
@media (max-width: 880px) { .ctaBand__inner { grid-template-columns: 1fr; } }

/* ============================================================
   MEGA FOOTER
   ============================================================ */
.mfooter { background: var(--navy-deep); color: var(--on-dark); border-top: 1px solid rgba(255,255,255,.06); }
.mfooter__top { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px,7vw,84px) var(--pad) 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(28px,4vw,56px); }
.mfooter__brand img { height: 26px; margin-bottom: 20px; }
.mfooter__brand p { color: var(--on-dark-mute); font-size: 14px; max-width: 36ch; line-height: 1.6; margin: 0 0 22px; }
.mfooter__addr { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--silver-mute); line-height: 1.8; }
.mfooter__col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 18px; }
.mfooter__col { display: flex; flex-direction: column; gap: 11px; }
.mfooter__col a { font-size: 14px; color: var(--on-dark); transition: color .15s; }
.mfooter__col a:hover { color: var(--accent); }
.mfooter__legal { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--pad); border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--on-dark-mute); }
.mfooter__legalLinks { display: flex; gap: 24px; }
.mfooter__legalLinks a:hover { color: var(--accent); }
@media (max-width: 880px) { .mfooter__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mfooter__top { grid-template-columns: 1fr; } .mfooter__legal { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   PROSE (insight detail / generic)
   ============================================================ */
.lead-quote { font-size: clamp(20px,2.2vw,26px); font-weight: 600; line-height: 1.4; color: var(--navy); border-left: 2px solid var(--accent); padding-left: 24px; margin: 8px 0; letter-spacing: -0.01em; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   GLOBAL TYPOGRAPHIC POLISH — consistent rhythm & clean breaks
   ============================================================ */
/* Prevent typographic orphans / ragged breaks across body prose */
.thesis__body p,
.section__lede,
.phero__lede,
.svcTile p,
.sint__field p,
.principle p,
.rstage__fieldVal,
.case__row p,
.wstep p,
.insightCard__body p,
.insHero__ex,
.fw__desc,
.member p,
.leader__body p,
.contact__lede,
.mfooter__brand p { text-wrap: pretty; }

/* Balance multi-line headings and short labels for symmetry */
.fw__name,
.rstage__name,
.sint__name,
.svcTile__ttl,
.insHero__ttl,
.principle__ttl,
.ctaBand__title,
.phero__title { text-wrap: balance; }

/* Refined focus-visible state for keyboard users (institutional accessibility) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Flat nav collapses to the mobile menu before 8 links + CTA can crowd.
   Raised so the horizontal nav only shows when the full wordmark + links + CTA
   genuinely fit on one line — no squished logo, no overflow. */
@media (max-width: 1300px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__inner { grid-template-columns: auto 1fr auto auto; }
}

