/* ===================================================================
   LPX Partners — Evolved Direction
   Anchor: the v5-3 Compass deck aesthetic, extended across the firm.
   - Editorial Fraunces serif headlines with italic blue accents
   - Generous whitespace, all-caps section labels
   - Light pages with blue gradient bands at section bases
   - Dark navy Compass section (mirrors the deck's brand identity)
=================================================================== */

:root {
  /* ---------- LPX Brand (preserved from current site & decks) ---------- */
  --lpx-blue:        #2046EE;   /* deck blue */
  --lpx-blue-bright: #2D6BFF;   /* hero CTA */
  --lpx-blue-soft:   #6E8AFF;
  --lpx-blue-pale:   #E1E7FF;   /* deck pale band */
  --lpx-navy:        #0A1740;   /* deck dark slide */
  --lpx-navy-deep:   #050C28;

  /* ---------- Surfaces ---------- */
  --bg:              #FFFFFF;
  --bg-alt:          #F7F8FB;
  --surface:         #FFFFFF;
  --border:          #E4E6EE;
  --border-strong:   #C4C8D6;

  /* ---------- Text ---------- */
  --text:            #0F1A36;   /* near-navy body */
  --text-soft:       #4D556B;
  --text-muted:      #8A8FA0;
  --text-on-dark:        #F4F6FF;
  --text-on-dark-soft:   #B8C2DD;

  /* ---------- Type ---------- */
  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  clamp(2.25rem, 4vw, 3.5rem);
  --text-hero: clamp(3rem, 7vw, 5.75rem);

  /* ---------- Space ---------- */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-6: 1.5rem;   --space-8: 2rem;
  --space-12: 3rem;    --space-16: 4rem;    --space-24: 6rem;
  --space-32: 8rem;    --space-40: 10rem;

  --container: 1240px;
  --radius:    14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* =================== Base =================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em {
  font-style: italic;
  color: var(--lpx-blue);
  font-family: var(--font-display);
  font-weight: 400;
}
strong { font-weight: 600; }
sup { font-size: 0.55em; vertical-align: super; line-height: 0; margin-left: 1px; color: var(--lpx-blue); font-family: var(--font-display); font-weight: 400; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* Eyebrow + section rule (Compass deck signature) */
.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lpx-blue);
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.eyebrow--light { color: var(--lpx-blue-soft); }

.section__rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--lpx-blue);
  margin-bottom: var(--space-8);
}
.section__rule--light { background: var(--lpx-blue-soft); }
.hero__rule { display: block; width: 48px; height: 2px; background: var(--lpx-blue); margin-bottom: var(--space-8); }

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-3xl);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--lpx-navy);
  margin-bottom: var(--space-8);
  max-width: 22ch;
}
.section__title--light { color: var(--text-on-dark); }
.section__title em { color: var(--lpx-blue); font-style: italic; }
.section__title--light em { color: var(--lpx-blue-soft); }

.section__lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 62ch;
  margin-bottom: var(--space-16);
}

/* =================== Mockup banner =================== */
.mockup-banner {
  background: linear-gradient(90deg, var(--lpx-navy-deep), var(--lpx-blue));
  color: var(--text-on-dark);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
}
.mockup-banner__inner {
  display: flex; align-items: center; gap: var(--space-4);
  padding: 10px clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}
.mockup-banner__chip {
  background: rgba(255,255,255,0.18);
  padding: 3px 10px; border-radius: 4px;
  font-weight: 600; letter-spacing: 0.12em;
}
.mockup-banner__text { color: rgba(255,255,255,0.85); }

/* =================== Header =================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) clamp(1.5rem, 4vw, 3rem);
}
.logo {
  display: flex; align-items: center; gap: var(--space-3);
  color: var(--lpx-navy);
  font-weight: 600; letter-spacing: 0.12em;
  font-size: var(--text-sm);
}
.logo__mark { width: 28px; height: 28px; color: var(--lpx-blue); }
.logo__divider { color: var(--lpx-blue); margin: 0 4px; font-weight: 300; }

.nav { display: flex; align-items: center; gap: var(--space-8); }
.nav a {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--lpx-blue); }
.nav__cta {
  border: 1px solid var(--lpx-navy);
  padding: 8px 18px; border-radius: 999px;
  color: var(--lpx-navy) !important;
  transition: all 0.2s var(--ease);
}
.nav__cta:hover { background: var(--lpx-navy); color: #fff !important; }
@media (max-width: 880px) { .nav { display: none; } }

/* =================== Hero (Compass cover-style) =================== */
.hero {
  position: relative;
  background: var(--bg);
  padding: clamp(5rem, 9vw, 8rem) 0 0;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 1; max-width: 1100px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-hero);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--lpx-navy);
  margin-bottom: var(--space-8);
}
.hero__title em {
  font-style: italic; font-weight: 400;
  color: var(--lpx-blue);
}
/* lede variant: longer narrative copy, sized between hero and section title */
.hero__title.hero__title--lede {
  font-size: clamp(1.65rem, 2.6vw, 2.55rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 32ch;
}
.hero__lede {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 68ch;
  margin-bottom: var(--space-6);
}
.hero__lede:last-of-type { margin-bottom: var(--space-12); }
.hero__lede strong { color: var(--lpx-navy); font-weight: 600; }
.hero__ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-16); }
/* Hero pills: LPX blue, not navy — four divisions */
.hero__ctas .btn--primary {
  background: var(--lpx-blue);
  color: #fff;
  padding: 12px 26px;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
}
.hero__ctas .btn--primary:hover {
  background: var(--lpx-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -10px rgba(32, 70, 238, 0.55);
}

.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500; letter-spacing: 0.02em;
  padding: 14px 28px; border-radius: 999px;
  transition: all 0.25s var(--ease);
  cursor: pointer; border: 1px solid transparent;
}
.btn--primary { background: var(--lpx-navy); color: #fff; }
.btn--primary:hover { background: var(--lpx-blue); transform: translateY(-1px); }
.btn--ghost { border-color: var(--lpx-navy); color: var(--lpx-navy); }
.btn--ghost:hover { background: var(--lpx-navy); color: #fff; }
.btn--lg { padding: 18px 36px; font-size: var(--text-base); }

/* Hero bottom band — Compass cover-style stacked blue waves */
.hero__bottomband {
  position: relative;
  margin-top: var(--space-16);
  height: 360px;
  overflow: hidden;
}
.hero__band-1 {
  position: absolute;
  inset: 18% -10% 0 -10%;
  background: var(--lpx-blue-pale);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero__band-2 {
  position: absolute;
  inset: 48% -5% 0 28%;
  background: var(--lpx-blue);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* =================== Stats strip =================== */
.stats {
  background: var(--bg-alt);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  align-items: end;
}
.stat { display: flex; align-items: baseline; gap: var(--space-4); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
  color: var(--lpx-navy);
  line-height: 1;
}
.stat__label { display: flex; flex-direction: column; gap: 2px; }
.stat__caps {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lpx-navy);
}
.stat__sub { font-size: var(--text-sm); color: var(--text-soft); }
@media (max-width: 720px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }

/* =================== About =================== */
.about { padding: var(--space-32) 0; }
.practices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-16);
}
@media (max-width: 880px) { .practices { grid-template-columns: 1fr; } }

.practice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-12) var(--space-8);
  position: relative;
  transition: all 0.3s var(--ease);
}
.practice:hover { border-color: var(--lpx-blue); box-shadow: 0 20px 40px -25px rgba(32,70,238,0.2); }
.practice__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--lpx-blue);
  margin-bottom: var(--space-4);
}
.practice__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  color: var(--lpx-navy);
  margin-bottom: var(--space-4);
}
.practice__body { color: var(--text-soft); margin-bottom: var(--space-6); line-height: 1.6; }
.practice__list { list-style: none; margin-bottom: var(--space-8); border-top: 1px solid var(--border); }
.practice__list li {
  font-size: var(--text-sm);
  color: var(--text);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: var(--space-3);
}
.practice__list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lpx-blue); flex: 0 0 auto;
}
.practice__link {
  font-size: var(--text-sm); font-weight: 500;
  color: var(--lpx-blue);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.practice__link:hover { border-bottom-color: currentColor; }

.compass-pointer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8) var(--space-12);
  background: var(--lpx-blue-pale);
  border-radius: var(--radius);
}
.compass-pointer__label {
  font-size: var(--text-xs); letter-spacing: 0.18em; font-weight: 700;
  color: var(--lpx-blue); padding-right: var(--space-8);
  border-right: 1px solid rgba(32,70,238,0.2);
}
.compass-pointer__text { color: var(--lpx-navy); font-size: var(--text-base); line-height: 1.55; }
.compass-pointer__link {
  font-size: var(--text-sm); font-weight: 500; color: var(--lpx-blue);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.compass-pointer__link:hover { border-bottom-color: currentColor; }
@media (max-width: 720px) {
  .compass-pointer { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-6); }
  .compass-pointer__label { border-right: none; padding-right: 0; }
}

/* =================== Investments =================== */
.investments {
  padding: var(--space-32) 0;
  background: var(--bg-alt);
}
.invest__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 960px) { .invest__layout { grid-template-columns: 1fr; } }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.focus-grid--three { grid-template-columns: 1fr; gap: var(--space-5); }
@media (max-width: 560px) { .focus-grid { grid-template-columns: 1fr; } }

.focus__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--lpx-blue);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

.focus {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-6);
  transition: all 0.25s var(--ease);
}
.focus:hover { border-color: var(--lpx-blue); transform: translateY(-2px); }
.focus h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  color: var(--lpx-navy);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}
.focus p { font-size: var(--text-sm); color: var(--text-soft); line-height: 1.5; }
.focus--accent {
  background: var(--lpx-navy);
  border-color: var(--lpx-navy);
}
.focus--accent h4 { color: var(--text-on-dark); }
.focus--accent p { color: var(--text-on-dark-soft); }
.focus--accent:hover { background: var(--lpx-blue); border-color: var(--lpx-blue); }

.criteria {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8);
  position: sticky;
  top: 100px;
}
.criteria__label {
  font-size: var(--text-xs); letter-spacing: 0.18em; font-weight: 700;
  color: var(--lpx-blue); margin-bottom: var(--space-6);
}
.criteria__row {
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}
.criteria__row:first-of-type { border-top: none; padding-top: 0; }
.criteria__key { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 2px; letter-spacing: 0.04em; }
.criteria__val {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  color: var(--lpx-navy);
}
.criteria__val span { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-soft); }

/* =================== Consulting =================== */
.consulting { padding: var(--space-32) 0; }

.gap {
  background: var(--lpx-navy);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: var(--space-12);
  margin-bottom: var(--space-24);
}
.gap__label {
  font-size: var(--text-xs); letter-spacing: 0.18em; font-weight: 700;
  color: var(--lpx-blue-soft); margin-bottom: var(--space-8);
}
.gap__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-12);
}
@media (max-width: 720px) { .gap__row { grid-template-columns: 1fr; gap: var(--space-8); } }
.gap__stat { display: flex; flex-direction: column; gap: var(--space-2); }
.gap__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  line-height: 1;
}
.gap__num small { font-size: 0.55em; vertical-align: top; color: var(--lpx-blue-soft); }
.gap__sub { font-size: var(--text-sm); color: var(--text-on-dark-soft); line-height: 1.5; max-width: 36ch; }

.model { margin-bottom: var(--space-24); }
.model__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  color: var(--lpx-navy);
  margin-bottom: var(--space-8);
}
.model__title em { display: inline; }

.model__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (max-width: 880px) { .model__grid { grid-template-columns: 1fr; } }

.model__col { padding: var(--space-4); }
.model__col--right { text-align: right; }
.model__heading {
  font-size: var(--text-xs); letter-spacing: 0.16em; font-weight: 700;
  color: var(--lpx-blue); margin-bottom: var(--space-2);
}
.model__sub { font-size: var(--text-sm); color: var(--text-soft); margin-bottom: var(--space-6); line-height: 1.5; }
.model__col ul { list-style: none; }
.model__col li {
  font-size: var(--text-sm);
  padding: var(--space-2) 0;
  color: var(--text);
  border-top: 1px solid var(--border);
}
.model__col li:first-child { border-top: none; }
.model__col--right li { padding-right: 0; padding-left: var(--space-3); }

.model__center {
  background: var(--lpx-navy);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: var(--space-8);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.model__center-label {
  font-size: var(--text-xs); letter-spacing: 0.18em; font-weight: 700;
  color: var(--lpx-blue-soft); margin-bottom: var(--space-4);
}
.model__center-quote {
  font-family: var(--font-display);
  font-weight: 400; font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.2;
  color: #ffffff;
}
.model__center-quote em { color: #ffffff; }

.verticals {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
@media (max-width: 960px) { .verticals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .verticals { grid-template-columns: 1fr; } }
.vertical {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--lpx-blue);
  border-radius: var(--radius-sm);
  padding: var(--space-6);
}
.vertical__name {
  font-family: var(--font-display);
  font-weight: 500; font-size: var(--text-base);
  color: var(--lpx-navy); margin-bottom: var(--space-2);
}
.vertical p { font-size: var(--text-sm); color: var(--text-soft); line-height: 1.5; }

/* Process */
.process { margin-bottom: var(--space-24); }
.process__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 880px) { .process__grid { grid-template-columns: 1fr; } }

.process__step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8);
}
.process__step--accent {
  background: var(--lpx-blue);
  border-color: var(--lpx-blue);
  color: var(--text-on-dark);
}

.process__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--lpx-blue);
  margin-bottom: var(--space-4);
}
.process__step h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--lpx-navy);
  margin-bottom: var(--space-2);
}
.process__step h4 span { font-style: italic; font-weight: 400; color: var(--text-muted); font-size: var(--text-base); }
.process__time {
  font-size: var(--text-sm); font-weight: 600;
  color: var(--lpx-blue); letter-spacing: 0.04em;
  margin-bottom: var(--space-4);
}
.process__step > p { color: var(--text-soft); line-height: 1.55; margin-bottom: var(--space-6); }

/* Accent step text overrides — must come AFTER the generic .process__step rules to win on source order */
.process__step--accent .process__num { color: rgba(255,255,255,0.85) !important; }
.process__step--accent h4 { color: #ffffff !important; }
.process__step--accent .process__time { color: #ffffff !important; }
.process__step--accent .process__deliverable { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.25); }
.process__step--accent > p { color: rgba(255,255,255,0.95); }
.process__deliverable {
  font-size: var(--text-sm);
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}

/* Cases */
.cases__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 880px) { .cases__grid { grid-template-columns: 1fr; } }

.case {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8);
}
.case--accent {
  background: var(--lpx-navy);
  color: var(--text-on-dark);
  border-color: var(--lpx-navy);
}
.case--accent .case__sector { color: var(--lpx-blue-soft); }
.case--accent .case__num { color: var(--text-on-dark); }
.case--accent .case__sub { color: var(--text-on-dark); }
.case--accent .case__detail { color: var(--text-on-dark-soft); border-color: rgba(255,255,255,0.15); }

.case__sector {
  font-size: var(--text-xs); letter-spacing: 0.18em; font-weight: 700;
  color: var(--lpx-blue); margin-bottom: var(--space-4);
}
.case__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  letter-spacing: -0.02em;
  color: var(--lpx-navy);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.case__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--lpx-navy);
  margin-bottom: var(--space-6);
  line-height: 1.4;
}
.case__detail {
  font-size: var(--text-sm); line-height: 1.55;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}

/* =================== Compass (dark, full-bleed) =================== */
.compass {
  position: relative;
  padding: var(--space-32) 0;
  background: var(--lpx-navy-deep);
  color: var(--text-on-dark);
  overflow: hidden;
}
.compass__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 15% 0%, rgba(32,70,238,0.4), transparent 60%),
    radial-gradient(ellipse 800px 500px at 100% 100%, rgba(110,138,255,0.18), transparent 60%);
  pointer-events: none;
}
.compass__inner { position: relative; z-index: 1; }

.compass__title {
  font-size: clamp(4rem, 9vw, 8rem) !important;
  margin-bottom: var(--space-8) !important;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.compass__lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-on-dark);
  margin-bottom: var(--space-8);
  max-width: 32ch;
}
.compass__lede em { color: var(--lpx-blue-soft); font-weight: 400; }

.compass__sub {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text-on-dark-soft);
  max-width: 56ch;
  margin-bottom: var(--space-16);
}

.compass__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  padding: var(--space-12) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-24);
}
@media (max-width: 880px) { .compass__pillars { grid-template-columns: 1fr; } }
.cp__num {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--text-lg); color: var(--lpx-blue-soft);
  margin-bottom: var(--space-3);
}
.cp h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin-bottom: var(--space-3);
}
.cp p { color: var(--text-on-dark-soft); font-size: var(--text-base); line-height: 1.55; }

/* Compass — How */
.compass__how { margin-bottom: var(--space-24); }
.compass__how-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin-bottom: var(--space-12);
  max-width: 28ch;
}
.compass__how-title em { color: var(--lpx-blue-soft); }

.compass__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}
.compass__steps::before {
  content: ""; position: absolute;
  top: 32px; left: 5%; right: 5%;
  height: 1px; background: rgba(255,255,255,0.15);
  z-index: 0;
}
.compass__steps li {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; z-index: 1;
}
.compass__step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--lpx-navy);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
}
.compass__step-label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
  max-width: 18ch;
  line-height: 1.25;
}
@media (max-width: 880px) {
  .compass__steps { grid-template-columns: repeat(2, 1fr); }
  .compass__steps::before { display: none; }
}

/* Compass — Ways */
.compass__ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12) var(--space-16);
  margin-bottom: var(--space-24);
  padding-top: var(--space-16);
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 720px) { .compass__ways { grid-template-columns: 1fr; gap: var(--space-8); } }

.way { display: grid; grid-template-columns: 60px 1fr; column-gap: var(--space-6); row-gap: 0; align-items: start; }
.way__num {
  grid-column: 1; grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-2xl);
  color: var(--lpx-blue-soft);
  font-weight: 400;
  line-height: 1;
  padding-top: 4px;
}
.way h4 {
  grid-column: 2; grid-row: 1;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin-bottom: var(--space-3);
}
.way > p:not(.way__num) {
  grid-column: 2; grid-row: 2;
  color: var(--text-on-dark-soft);
  line-height: 1.6;
  font-size: var(--text-base);
}

/* Compass — Pipeline table */
.compass__pipeline {
  margin-bottom: var(--space-24);
  padding-top: var(--space-16);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.pipeline__legend {
  display: flex; gap: var(--space-8);
  font-size: var(--text-sm);
  color: var(--text-on-dark-soft);
  margin-bottom: var(--space-6);
}
.pipeline__legend span { display: inline-flex; align-items: center; gap: var(--space-2); }
.dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot--green { background: #5BD375; }
.dot--amber { background: #F4B53F; }

.pipeline {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.pipeline th, .pipeline td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pipeline th {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpx-blue-soft);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.pipeline td:first-child { width: 24px; padding-right: 0; }
.pipeline tbody td:nth-child(2) { color: var(--text-on-dark); font-weight: 600; }
.pipeline tbody td { color: var(--text-on-dark-soft); }

/* Compass — Profiles */
.compass__profiles {
  margin-bottom: var(--space-24);
  padding-top: var(--space-16);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.profiles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12) var(--space-8);
}
@media (max-width: 720px) { .profiles__grid { grid-template-columns: 1fr; gap: var(--space-8); } }
.profiles__grid > div { padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,0.15); }
.profiles__grid h5 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin-bottom: var(--space-3);
}
.profiles__grid p { color: var(--text-on-dark-soft); font-size: var(--text-base); line-height: 1.55; }

/* Compass — CTA */
.compass__cta {
  text-align: center;
  padding-top: var(--space-12);
}
.compass__cta p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--lpx-blue-soft);
  margin-bottom: var(--space-6);
  letter-spacing: 0.04em;
}
.compass__cta .btn--primary { background: var(--lpx-blue); }
.compass__cta .btn--primary:hover { background: #fff; color: var(--lpx-navy); }

/* =================== Team =================== */
.team { padding: var(--space-32) 0; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}
@media (max-width: 1100px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }

.member { text-align: center; }
.member__photo {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lpx-blue-pale), #C9D3FF);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  color: var(--lpx-blue);
  letter-spacing: 0.02em;
  position: relative; overflow: hidden;
}
.member__photo::before { content: attr(data-initial); }
.member__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(32,70,238,0.12));
}
.member h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  color: var(--lpx-navy);
  margin-bottom: 2px;
}
.member__role { font-size: var(--text-sm); color: var(--text); margin-bottom: 2px; }
.member__bio { font-size: var(--text-xs); color: var(--text-muted); }

/* =================== CTA =================== */
.cta {
  padding: var(--space-32) 0;
  background: var(--lpx-navy-deep);
  color: var(--text-on-dark);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(32,70,238,0.35), transparent 60%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; }
.cta__inner .section__rule { margin-left: auto; margin-right: auto; }
.cta__inner .eyebrow { text-align: center; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-3xl);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin-bottom: var(--space-6);
}
.cta__title em { color: var(--lpx-blue-soft); }
.cta__lede {
  font-size: var(--text-lg);
  color: var(--text-on-dark-soft);
  max-width: 56ch;
  margin: 0 auto var(--space-12);
}
.cta__sub {
  font-size: var(--text-lg);
  color: var(--text-on-dark-soft);
  max-width: 64ch;
  margin: 0 auto var(--space-12);
  line-height: 1.55;
  text-align: center;
}
.cta__contact { margin-bottom: var(--space-12); }
.cta__contact p {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--text-on-dark);
  font-weight: 500;
  margin-bottom: 2px;
}
.cta__contact a { color: var(--lpx-blue-soft); font-size: var(--text-sm); }
.cta .btn--primary { background: var(--lpx-blue); }
.cta .btn--primary:hover { background: #fff; color: var(--lpx-navy); }

/* =================== Footer =================== */
.footer {
  background: #02061A;
  color: var(--text-on-dark-soft);
  padding: var(--space-16) 0 var(--space-8);
  font-size: var(--text-sm);
}
.footer__inner { display: grid; gap: var(--space-12); }
.footer__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer__brand {
  display: flex; align-items: center; gap: var(--space-3);
  color: var(--text-on-dark);
  font-weight: 600; letter-spacing: 0.12em;
  font-size: var(--text-sm);
}
.footer__brand .logo__mark { color: var(--lpx-blue-soft); }
.footer__brand .logo__divider { color: var(--lpx-blue-soft); }
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lpx-blue-soft);
  font-size: var(--text-base);
}
.footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
}
@media (max-width: 720px) { .footer__cols { grid-template-columns: 1fr; gap: var(--space-8); } }
.footer__cols a {
  display: block; padding: 4px 0;
  color: var(--text-on-dark-soft);
  transition: color 0.2s var(--ease);
}
.footer__cols a:hover { color: var(--lpx-blue-soft); }
.footer__office {
  display: block; padding: 4px 0;
  color: var(--text-on-dark-soft);
  cursor: default;
}
.footer__label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 100ch;
}

/* =================== Anchor offset =================== */
section[id] { scroll-margin-top: 96px; }

/* =================== Reveal animation =================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   Investment thesis orbit (round, Cerberus-style with center statement)
========================================================= */
.thesis {
  margin: var(--space-16) 0 var(--space-20);
  display: flex;
  justify-content: center;
}
.thesis__orbit {
  position: relative;
  width: min(880px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.thesis__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(32, 70, 238, 0.28);
  pointer-events: none;
}
.thesis__ring--outer {
  inset: 0;
}
.thesis__ring--inner {
  inset: 18%;
  border-style: solid;
  border-color: rgba(32, 70, 238, 0.12);
}
.thesis__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46%;
  text-align: center;
  z-index: 2;
}
.thesis__statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.45;
  color: var(--lpx-navy);
  letter-spacing: -0.005em;
  margin: 0;
}
.thesis__statement em {
  font-style: italic;
  color: var(--lpx-blue);
  font-weight: 400;
}
.thesis__node {
  position: absolute;
  width: 220px;
  text-align: center;
  z-index: 1;
}
.thesis__node--n { top: 0;    left: 50%; transform: translate(-50%, -10%); }
.thesis__node--e { top: 50%; right: 0;   transform: translate(8%, -50%); }
.thesis__node--s { bottom: 0; left: 50%; transform: translate(-50%, 10%); }
.thesis__node--w { top: 50%; left: 0;    transform: translate(-8%, -50%); }
.thesis__dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lpx-blue);
  margin: 0 auto var(--space-3);
  box-shadow: 0 0 0 4px rgba(32, 70, 238, 0.12);
}
.thesis__num {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--lpx-blue);
  font-feature-settings: "tnum" 1;
  margin-bottom: var(--space-1);
}
.thesis__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--lpx-navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: var(--space-2);
}
.thesis__body {
  font-size: var(--text-sm);
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .thesis { margin: var(--space-10) 0 var(--space-12); }
  .thesis__orbit {
    aspect-ratio: auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .thesis__ring { display: none; }
  .thesis__center {
    position: static;
    transform: none;
    width: 100%;
    padding: var(--space-8) var(--space-4);
    text-align: center;
    order: -1;
  }
  .thesis__node {
    position: static;
    transform: none;
    width: 100%;
    text-align: left;
    padding-left: var(--space-4);
    border-left: 2px solid var(--lpx-blue);
  }
  .thesis__dot { margin: 0 0 var(--space-2); }
}

/* =========================================================
   Stage focus (Seed / Series A / Beyond)
========================================================= */
.stages,
.themes {
  margin: var(--space-24) 0 var(--space-24);
  border-top: 1px solid var(--border);
  padding-top: var(--space-16);
}
.themes { margin-bottom: var(--space-8); }
.stages .eyebrow,
.themes .eyebrow { margin-bottom: var(--space-3); }
.stages__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--lpx-navy);
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
}
.stages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.stage {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s var(--ease);
  will-change: transform;
}
.stage:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 38px -22px rgba(10, 23, 64, 0.28),
    0 6px 14px -10px rgba(32, 70, 238, 0.18);
  border-color: var(--lpx-blue-soft);
}
.stage--active {
  background: linear-gradient(180deg, var(--lpx-blue-pale) 0%, #FFFFFF 65%);
  border-color: var(--lpx-blue-soft);
}
.stage--active:hover {
  border-color: var(--lpx-blue);
  box-shadow:
    0 22px 44px -22px rgba(32, 70, 238, 0.45),
    0 6px 14px -10px rgba(32, 70, 238, 0.22);
}
.stage__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.stage__head h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--lpx-navy);
  letter-spacing: -0.01em;
}
.stage__chip {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--lpx-blue);
  background: rgba(32, 70, 238, 0.1);
  padding: 4px 8px;
  border-radius: 999px;
}
.stage__chip--quiet {
  color: var(--text-muted);
  background: var(--bg-alt);
}
.stage__rail {
  position: relative;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin: var(--space-2) 0;
}
.stage__dot {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--border-strong);
}
.stage__dot--active {
  background: var(--lpx-blue);
  border-color: var(--lpx-blue);
  box-shadow: 0 0 0 4px rgba(32, 70, 238, 0.18);
}
.stage--active .stage__rail {
  background: linear-gradient(90deg, var(--lpx-blue) 0%, var(--lpx-blue-soft) 60%, var(--border) 100%);
}
.stage p {
  color: var(--text-soft);
  font-size: var(--text-sm);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .stages__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Team-sport CTA strip (Cerberus-inspired)
========================================================= */
.teamband {
  position: relative;
  background: var(--lpx-navy);
  color: var(--text-on-dark);
  padding: var(--space-16) 0;
  overflow: hidden;
}
.teamband__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 0% 100%, rgba(32, 70, 238, 0.45) 0%, transparent 55%),
    radial-gradient(80% 80% at 100% 0%, rgba(110, 138, 255, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.teamband__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-12);
}
.teamband__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  max-width: 32ch;
}
.teamband__quote em {
  color: var(--lpx-blue-soft);
  font-family: var(--font-display);
  font-weight: 400;
}
.teamband__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--text-on-dark);
  border: 1px solid rgba(255,255,255,0.45);
  padding: 14px 22px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.teamband__cta span {
  font-family: var(--font-body);
  font-weight: 400;
}
.teamband__cta:hover {
  background: var(--lpx-blue);
  border-color: var(--lpx-blue);
  color: #ffffff;
}
@media (max-width: 760px) {
  .teamband__inner { grid-template-columns: 1fr; gap: var(--space-6); }
}

/* ==================================================================
   v2 ADDITIONS — sidebar burger nav, advisor/team tiles (Compass v5),
   compass-hero, fade-in animations, logo image.
   Tokens remapped from Compass v5 scale to Keertan's scale.
   ================================================================== */

/* Variables that Compass v5 CSS expects */
:root {
  --lpx-blue-mist: #F2F5FF;
  --border-faint:  #EFF1F6;
}

/* ============ Logo image (replaces SVG + text placeholder) ============ */
.logo--img,
.footer__brand--img {
  display: inline-flex;
  align-items: center;
}
.logo--img img,
.footer__brand--img img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .logo--img img,
  .footer__brand--img img { height: 38px; max-width: 300px; }
}
@media (max-width: 720px) {
  .logo--img img,
  .footer__brand--img img { height: 32px; max-width: 240px; }
}
.footer__brand--img img {
  height: 28px;
  /* Bring on dark footer: image is on white bg so invert filter is incorrect.
     Instead the white-on-dark version uses a CSS overlay below.            */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ============ Menu trigger (burger) ============ */
.menu-trigger {
  background: transparent;
  border: none;
  padding: 0.5rem 0.4rem 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  cursor: pointer;
  font-size: var(--text-xs);
  letter-spacing: 0.20em;
  font-weight: 500;
  transition: color 180ms;
}
.menu-trigger:hover { color: var(--lpx-blue); }
.menu-trigger__bars {
  width: 18px; height: 12px; position: relative; display: inline-block;
}
.menu-trigger__bars span {
  position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 220ms, top 240ms ease;
}
.menu-trigger__bars span:nth-child(1) { top: 0; }
.menu-trigger__bars span:nth-child(2) { top: 5px; }
.menu-trigger__bars span:nth-child(3) { top: 10px; }
.menu-trigger[aria-expanded="true"] .menu-trigger__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-trigger[aria-expanded="true"] .menu-trigger__bars span:nth-child(2) { opacity: 0; }
.menu-trigger[aria-expanded="true"] .menu-trigger__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }
.menu-trigger__label { display: inline-block; }
@media (max-width: 720px) {
  .menu-trigger__label { display: none; }
}

/* Hide the old horizontal nav once burger is present */
.nav { display: none !important; }

/* Re-layout header to: [Burger]  [Logo center]  [Spacer] */
.header__inner {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
@media (max-width: 1024px) {
  .header__inner { min-height: 64px; }
}
@media (max-width: 720px) {
  .header__inner { min-height: 56px; }
}
.header__inner > .logo--img { justify-self: center; }
.header__inner > .menu-trigger { justify-self: start; }

/* ============ Sidebar (a16z-style) ============ */
.sidebar-scrim {
  position: fixed; inset: 0;
  background: rgba(10, 23, 64, 0.30);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 280ms ease;
  z-index: 90;
}
.sidebar-scrim:not([hidden]) { opacity: 1; }

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(360px, 92vw);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  color: var(--text);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  box-shadow: 16px 0 48px rgba(10, 23, 64, 0.10);
  overflow: hidden;
}
.sidebar[aria-hidden="false"] { transform: translateX(0); }
.sidebar__inner {
  display: flex; flex-direction: column;
  height: 100%;
  padding: 1rem 2rem 1.25rem;
  gap: 1rem;
  position: relative;
}
.sidebar__inner::before {
  content: "";
  position: absolute;
  right: -180px; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  background-image: radial-gradient(circle at center,
    rgba(45, 107, 255, 0.06) 0,
    rgba(45, 107, 255, 0.025) 30%,
    transparent 60%);
  pointer-events: none;
}
.sidebar__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0 1.1rem;
  border-bottom: 1px solid var(--border);
}
.sidebar__logo { display: inline-flex; align-items: center; }
.sidebar__logo img {
  display: block; height: 22px; width: auto; max-width: 200px; object-fit: contain;
}
.sidebar__close {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 180ms, border-color 180ms, color 180ms;
}
.sidebar__close:hover {
  background: var(--lpx-blue-mist);
  border-color: var(--lpx-blue);
  color: var(--lpx-blue);
}
.sidebar__nav {
  display: flex; flex-direction: column;
  padding-top: 0.5rem;
  flex: 1;
  overflow-y: auto;
  position: relative;
}
.sidebar__link {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border-faint);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--lpx-navy);
  letter-spacing: -0.005em;
  position: relative;
  transition: color 220ms, padding-left 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
  text-decoration: none;
}
.sidebar__link:last-child { border-bottom: none; }
.sidebar__sub {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  transition: color 220ms;
}
.sidebar__link:hover { color: var(--lpx-blue); padding-left: 0.4rem; }
.sidebar__link:hover .sidebar__sub { color: var(--lpx-blue); opacity: 0.85; }
.sidebar__link--active { color: var(--lpx-blue); }
.sidebar__link--active::before {
  content: ""; position: absolute; left: -2rem; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 26px;
  background: var(--lpx-blue);
}
.sidebar__foot {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.sidebar__foot-link {
  font-size: 0.95rem;
  color: var(--lpx-navy);
  letter-spacing: 0.02em;
  transition: color 180ms;
  text-decoration: none;
}
.sidebar__foot-link:hover { color: var(--lpx-blue); }
.sidebar__socials { display: inline-flex; gap: 0.75rem; }
.sidebar__socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  color: var(--text-soft);
  transition: color 180ms, border-color 180ms, background 180ms;
  flex: 0 0 auto;
}
.sidebar__socials a svg {
  width: 16px;
  height: 16px;
  display: block;
}
.sidebar__socials a:hover {
  color: var(--lpx-blue);
  border-color: var(--lpx-blue);
  background: var(--lpx-blue-mist);
}
.sidebar__copy {
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0;
}
body.is-locked { overflow: hidden; }

/* ============ Network grid (Compass v5 advisor tiles) ============ */
.network {
  padding: var(--space-12) 0 var(--space-24);
}
.network__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.005em;
  color: var(--lpx-navy);
  margin: 0 0 var(--space-8);
}
.advisors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: var(--space-6) 1.5rem;
}
@media (max-width: 1100px) { .advisors { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 880px)  { .advisors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .advisors { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) 1rem; } }

.advisor {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: inherit;
  transition: transform 280ms ease;
  text-decoration: none;
}
.advisor:focus { outline: none; }
.advisor:focus-visible .advisor__photo { outline: 2px solid var(--lpx-blue); outline-offset: 4px; }

.advisor__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  background: var(--bg-alt);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--lpx-blue);
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1), border-color 220ms, box-shadow 220ms;
}
.advisor__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 23, 64, 0.32) 100%);
  opacity: 0;
  transition: opacity 280ms;
}
.advisor:hover .advisor__photo {
  border-color: var(--lpx-blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(10, 23, 64, 0.10);
}
.advisor:hover .advisor__photo::after { opacity: 1; }

.advisor__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
  transition: filter 320ms ease, transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.advisor:hover .advisor__photo img {
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.03);
}

.advisor__info { padding: 0 0.1rem; text-align: center; }
.advisor__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0;
  color: var(--lpx-navy);
  line-height: 1.2;
  letter-spacing: 0.005em;
}
.advisor__role {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  margin: 0.3rem 0 0;
  font-weight: 400;
  line-height: 1.4;
}
.advisor__geo {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0.4rem 0 0;
}

/* ============ Compass hero (replaces dark Compass section) ============ */
.compass-hero {
  padding: var(--space-16) 0 var(--space-8);
}
.compass-hero__inner { max-width: 980px; margin: 0 auto; }
.compass-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-3xl);
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--lpx-navy);
  margin: var(--space-3) 0 var(--space-6);
}
.compass-hero__title em {
  color: var(--lpx-blue);
  font-style: italic;
  font-weight: 300;
}
.compass-hero__lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 880px;
  margin: 0;
}

/* ============ Subtle fade-in on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms;   }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms;  }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 560ms; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 640ms; }
.reveal-stagger.is-visible > *:nth-child(10){ transition-delay: 720ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   PHASE 4 ADDITIONS — section lockups, filters, profile pages
   ============================================================ */

/* Local aliases for tokens we don't already define */
:root {
  --lpx-blue-mist: #EEF2FF;
  --border-faint: #EEF0F6;
  --on-dark: var(--text-on-dark);
  --on-dark-soft: var(--text-on-dark-soft);
}

/* Section lockup images replacing eyebrows */
.section-lockup {
  display: block;
  height: auto;
  width: auto;
  max-width: 320px;
  max-height: 40px;
  margin-bottom: var(--space-12);
}
@media (max-width: 720px) {
  .section-lockup { max-width: 240px; max-height: 32px; margin-bottom: var(--space-8); }
}
/* Down arrow inside immersive primary button */
.btn__arrow-down {
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
  transform: translateY(1px);
  transition: transform .2s ease;
}
.btn--immersive-primary:hover .btn__arrow-down { transform: translateY(3px); }
/* Compass-variant of teamband (image-2-2 style, leading to /compass) */
.teamband--compass { }
.section-lockup--light { filter: brightness(0) invert(1); }

/* ============ Filter bar ============ */
.filterbar {
  padding: var(--space-3) 0 var(--space-4);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  margin-bottom: var(--space-6);
}
.filterbar--inline { background: transparent; border: none; padding: 0 0 var(--space-4); margin-bottom: var(--space-4); }
.filterbar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr auto;
  gap: var(--space-4);
  align-items: end;
}
@media (max-width: 980px) {
  .filterbar__inner { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
}
@media (max-width: 600px) {
  .filterbar__inner { grid-template-columns: 1fr; }
}

.filter-field { position: relative; }
.filter-field__label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.filter-field__control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.55rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms;
}
.filter-field__control:hover,
.filter-field__control:focus,
.filter-field--open .filter-field__control {
  border-bottom-color: var(--lpx-navy);
  outline: none;
}
.filter-field__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--lpx-navy);
}
.filter-field__chev {
  width: 12px; height: 8px; flex: 0 0 12px;
  color: var(--text-soft);
  transition: transform 180ms;
}
.filter-field--open .filter-field__chev { transform: rotate(180deg); }

.filter-field__control--search { cursor: text; padding: 0.4rem 0; }
.filter-field__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  padding: 0.25rem 0;
}
.filter-field__input::placeholder { color: var(--text-muted); }
.filter-field__icon {
  width: 18px; height: 18px; flex: 0 0 18px;
  color: var(--text-soft);
}

/* Filter dropdown menu */
.filter-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0; right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem;
  z-index: 30;
  max-height: 360px;
  overflow-y: auto;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 24px 60px rgba(10, 23, 64, 0.12),
    0 4px 14px rgba(10, 23, 64, 0.06);
}
.filter-menu__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  border-radius: 4px;
  font-size: var(--text-sm);
  color: var(--text);
  transition: background 120ms;
}
.filter-menu__item:hover { background: var(--lpx-blue-mist); }
.filter-menu__item--active { background: var(--lpx-blue-pale); color: var(--lpx-navy); }
.filter-menu__check {
  width: 16px; height: 16px;
  flex: 0 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: #fff;
}
.filter-menu__item--active .filter-menu__check {
  background: var(--lpx-blue);
  border-color: var(--lpx-blue);
}
.filter-menu__item--active .filter-menu__check::after {
  content: "";
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.filter-menu__divider {
  height: 1px;
  background: var(--border-faint);
  margin: 0.4rem 0.2rem;
}

.filterbar__meta {
  display: flex;
  align-items: end;
  gap: var(--space-3);
  padding-bottom: 0.55rem;
  white-space: nowrap;
}
.filterbar__count {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-soft);
}
.filterbar__count span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--lpx-navy);
  margin-right: 0.3rem;
}
.filterbar__clear {
  background: none;
  border: none;
  color: var(--lpx-blue);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: color 150ms, border-color 150ms;
}
.filterbar__clear:hover {
  color: var(--lpx-navy);
  border-bottom-color: var(--lpx-navy);
}
@media (max-width: 980px) {
  .filterbar__meta { grid-column: 1 / -1; justify-content: space-between; }
}

.advisors__empty {
  text-align: center;
  padding: var(--space-12) var(--space-2);
  color: var(--text-soft);
  font-size: var(--text-lg);
}
.link {
  background: none; border: none;
  color: var(--lpx-blue);
  text-decoration: underline;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

/* Tile simplification — only name + role + geo on face */
.advisor__cred { display: none; }

/* Ghost button (for profile pages) */
.btn--ghost {
  background: transparent;
  color: var(--lpx-navy);
  border-color: var(--lpx-navy);
}
.btn--ghost:hover {
  background: var(--lpx-navy);
  color: #fff;
}

/* ============ Profile page ============ */
.profile-hero {
  background: var(--lpx-navy);
  color: var(--text-on-dark);
  /* Bottom padding leaves >= 100px clearance below role text before the photo
     starts overlapping. Photo is pulled up by margin-top: -100px (see below). */
  padding: var(--space-12) 0 calc(var(--space-12) + 80px);
  position: relative;
  overflow: hidden;
}
@media (max-width: 880px) {
  .profile-hero { padding-bottom: calc(var(--space-12) + 60px); }
}
.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(60% 80% at 90% 0%, rgba(45, 107, 255, 0.18), transparent 60%),
    radial-gradient(45% 65% at 0% 100%, rgba(110, 138, 255, 0.10), transparent 70%);
  opacity: 0.7;
}
.profile-hero__inner { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 3rem); }

.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
  font-weight: 500;
  margin-bottom: var(--space-6);
  transition: color 180ms, gap 200ms;
  text-decoration: none;
}
.profile-back:hover { color: var(--text-on-dark); gap: 0.8rem; }
.profile-back svg { color: currentColor; }

.profile-hero .eyebrow--light { color: var(--lpx-blue-soft); margin-bottom: var(--space-2); }
.profile-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin: 0 0 var(--space-2);
  max-width: 920px;
}
@media (min-width: 881px) {
  .profile-hero__inner .profile-name,
  .profile-hero__inner .profile-role,
  .profile-hero__inner .eyebrow,
  .profile-hero__inner .profile-back { max-width: 720px; }
}
.profile-role {
  font-size: var(--text-lg);
  color: var(--text-on-dark-soft);
  margin: 0;
  max-width: 720px;
  line-height: 1.5;
}

.profile-body {
  background: var(--bg);
  padding: 0 0 var(--space-16);
  position: relative;
}
.profile-body__grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: var(--space-12);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 880px) {
  .profile-body__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* Photo column: sits below the navy band, slightly overlapping it for a clean
   layered look. The negative margin must always be LESS than the navy band's
   bottom padding so role text stays clear. */
.profile-photo-col { position: relative; margin-top: -100px; padding-top: var(--space-4); }
@media (max-width: 880px) { .profile-photo-col { margin-top: -50px; max-width: 220px; margin-left: auto; margin-right: auto; } }

.profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--lpx-blue-mist);
  border: 6px solid #fff;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--lpx-blue);
  box-shadow: 0 20px 50px rgba(10, 23, 64, 0.18);
}
.profile-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.profile-side { padding-top: var(--space-3); }
.profile-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: var(--space-3);
}
.profile-meta {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.profile-meta__row { padding: 0.95rem 0; border-bottom: 1px solid var(--border-faint); }
.profile-meta__key {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0 0 0.25rem;
}
.profile-meta__val {
  font-size: var(--text-sm);
  color: var(--lpx-navy);
  margin: 0;
  line-height: 1.5;
}

.profile-text-col { padding-top: var(--space-4); }
@media (max-width: 880px) { .profile-text-col { padding-top: 0; } }
.profile-cred {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.4;
  font-weight: 400;
  color: var(--lpx-navy);
  margin: 0 0 var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  font-style: italic;
}
.profile-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--lpx-navy);
  margin: var(--space-6) 0 var(--space-3);
  letter-spacing: -0.005em;
}
.profile-section-title:first-of-type { margin-top: 0; }
.profile-bio,
.profile-engaged {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0 0 var(--space-4);
}
.profile-bio em,
.profile-engaged em { color: var(--lpx-blue); }

.profile-footer-cta {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.profile-back--inline { margin-bottom: 0; color: var(--text-soft); }
.profile-back--inline:hover { color: var(--lpx-blue); }

/* ============ Motion motif (top of page) — Flow Lines ============ */
/* Concept: drifting horizontal trade lanes with traveling pulses of light.
   Restrained, intentional, no rotation. Reads as 'structured flow'. */
.motif {
  background: #020514;
  position: relative;
  overflow: hidden;
  padding: 0;
}
.motif__wrap {
  position: relative;
  width: 100%;
  height: clamp(340px, 48vh, 520px);
}
.motif__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Overlaid caption */
.motif__caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 var(--space-5);
  pointer-events: none;
  z-index: 2;
}
.motif__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: #FFFFFF;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.22;
  letter-spacing: -0.005em;
  max-width: 24ch;
  margin: 0;
  text-shadow: 0 1px 24px rgba(0,0,0,0.55), 0 0 60px rgba(5,11,34,0.6);
  /* Subtle fade-in on load so the text doesn't pop in jarringly */
  animation: motifLedeFade 1.6s ease-out both;
}
@keyframes motifLedeFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Subtle fade into the white hero below */
.motif::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Honour reduced-motion: freeze drift + pulses, keep static composition */
@media (prefers-reduced-motion: reduce) {
  .motif__svg animate { display: none; }
  .motif__lede { animation: none; }
}

/* Tighter motif on small screens */
@media (max-width: 768px) {
  .motif__wrap { height: clamp(260px, 42vh, 380px); }
  .motif__lede { font-size: clamp(1.4rem, 5.5vw, 2rem); max-width: 18ch; }
}

/* =================================================================
   Team listing page (team.html) — dedicated /team route
   ================================================================= */
.team-page-hero {
  padding: clamp(80px, 11vw, 130px) 0 clamp(28px, 4vw, 40px);
  background: #f8f6f0;
}
.team-page-hero .section__rule { margin-bottom: 18px; }
.team-page-hero .eyebrow { margin-bottom: 14px; }
.section__title--page {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.team-page-hero__lede {
  max-width: 62ch;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.65;
  color: #3b4250;
  margin-bottom: 0;
}
.page-team-grid .team {
  padding-top: clamp(20px, 3vw, 32px);
  padding-bottom: clamp(80px, 10vw, 120px);
  background: #f8f6f0;
}

/* Active nav state — subtle underline on the current page */
.nav a.nav__active,
.nav__active {
  position: relative;
  color: #0a1628;
}
.nav a.nav__active::after,
.nav__active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
}

/* =================================================================
   Immersive hero (full-bleed, 90vh, motif + headline merged)
   ================================================================= */
.hero-immersive {
  position: relative;
  width: 100%;
  min-height: 88vh;
  background: #02061A;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero-immersive__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-immersive__bg .motif__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-immersive__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(80px, 14vh, 140px) 0 clamp(80px, 12vh, 120px);
}
.hero-immersive__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 1280px;
}
.hero-immersive__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(180, 205, 255, 0.65);
  margin: 0 0 28px;
  text-transform: uppercase;
}
.hero-immersive__title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 7.4vw, 7rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 36px;
  max-width: 18ch;
  text-shadow: 0 2px 32px rgba(0,0,10,0.45);
}
.hero-immersive__title em {
  font-style: italic;
  color: #9DCBFF;
  font-weight: 300;
}
.hero-immersive__sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.4rem);
  line-height: 1.55;
  color: rgba(225, 232, 248, 0.85);
  margin: 0 0 44px;
  max-width: 52ch;
}
.hero-immersive__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.btn--immersive-primary {
  background: #ffffff;
  color: #02061A;
  border: 1px solid #ffffff;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn--immersive-primary:hover {
  background: #d6e3ff;
  transform: translateY(-1px);
}
.btn--immersive-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease;
}
.btn--immersive-ghost:hover {
  background: var(--lpx-blue);
  border-color: var(--lpx-blue);
  color: #ffffff;
}

/* Scroll cue at the bottom */
.hero-immersive__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  text-decoration: none;
  color: rgba(225, 232, 248, 0.55);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.hero-immersive__scroll:hover { color: #ffffff; }
.hero-immersive__scroll-line {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: scrollCueGlide 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollCueGlide {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Soft fade into the white About section below */
.hero-immersive::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(248,246,240,0) 0%, rgba(248,246,240,1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Long-form narrative on About */
.about__narrative {
  margin: 32px 0 56px;
  max-width: 72ch;
}
.about__narrative p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2a3142;
  margin: 0 0 22px;
}
.about__narrative p:last-child { margin-bottom: 0; }
.about__narrative strong { color: #0a1628; font-weight: 600; }
.about__narrative em { font-family: 'Fraunces', serif; font-style: italic; }

/* Honour reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-immersive__bg .motif__svg animate { display: none; }
  .hero-immersive__scroll-line { animation: none; }
}

/* Mobile: shorter hero, tighter type, scroll cue de-emphasised */
@media (max-width: 768px) {
  .hero-immersive { min-height: 78vh; }
  .hero-immersive__title { font-size: clamp(2.2rem, 11vw, 3.6rem); max-width: 16ch; }
  .hero-immersive__sub { font-size: 1rem; }
  .hero-immersive__sub br { display: none; }
  .hero-immersive__scroll { bottom: 18px; font-size: 0.65rem; }
  .hero-immersive__scroll-line { height: 28px; }
}

/* =========================================================
   Phase 9 — Tasteful motion (institutional)
   Honors prefers-reduced-motion AND .motion-off override.
========================================================= */

/* ---------- Motion-off escape hatch (user toggle or OS reduce) ---------- */
.motion-off [data-motion] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
.motion-off [data-motion] > * { opacity: 1 !important; transform: none !important; }
.motion-off .thesis__ring--outer,
.motion-off .thesis__ring--inner { animation: none !important; }
.motion-off .thesis__lines path { stroke-dashoffset: 0 !important; }
.motion-off .process__grid::before { transform: scaleX(1) !important; }

/* ---------- Mask reveal (used on headings) ---------- */
[data-motion="mask"] {
  display: block;
  overflow: hidden;
}
[data-motion="mask"] > .mask-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.95s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: transform;
}
[data-motion="mask"].is-visible > .mask-inner { transform: translateY(0); }

/* ---------- Fade-up (single block) ---------- */
[data-motion="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: opacity, transform;
}
[data-motion="fade-up"].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Stagger fade-up (children of container) ---------- */
[data-motion="stagger"] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: calc(var(--motion-i, 0) * 90ms);
  will-change: opacity, transform;
}
[data-motion="stagger"].is-visible > * { opacity: 1; transform: translateY(0); }

/* ---------- Manifesto (line-by-line, slower & deeper than stagger) ---------- */
[data-motion="manifesto"] > p {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.05s cubic-bezier(0.2, 0.6, 0.2, 1), transform 1.05s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: calc(var(--motion-i, 0) * 220ms);
  will-change: opacity, transform;
}
[data-motion="manifesto"].is-visible > p { opacity: 1; transform: translateY(0); }

/* ---------- Thesis orbit: counter-rotating rings ---------- */
/* Tighten the orbit so N/S nodes don't drift far from the inner ring */
.thesis__orbit {
  width: min(720px, 100%);
  max-width: 720px;
}

.thesis__ring--outer {
  animation: lpx-rotate 55s linear infinite;
  transform-origin: 50% 50%;
}
.thesis__ring--inner {
  animation: lpx-rotate 65s linear infinite reverse;
  transform-origin: 50% 50%;
}
@keyframes lpx-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Asymmetric tick markers so the rotation reads visually.            */
/* Each ring gets a single bright dash on its rim that sweeps around. */
.thesis__ring { overflow: visible; }
.thesis__ring--outer::before,
.thesis__ring--inner::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 28px;
  height: 5px;
  margin-left: -14px;
  border-radius: 3px;
  background: var(--lpx-blue);
  opacity: 0.55;
}
.thesis__ring--outer::after,
.thesis__ring--inner::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 14px;
  height: 4px;
  margin-left: -7px;
  border-radius: 2px;
  background: var(--lpx-blue);
  opacity: 0.35;
}
.thesis__ring--inner::before { top: -2.5px; width: 20px; height: 4px; margin-left: -10px; opacity: 0.42; }
.thesis__ring--inner::after  { bottom: -2.5px; width: 10px; height: 3px; margin-left: -5px; opacity: 0.28; }

/* ---------- Reposition nodes onto the inner ring perimeter (DESKTOP ONLY) ---------- */
/* Inner ring is inset 18%, so its perimeter sits 18% in from each edge.            */
/* Anchor the dot to that 18% line, then let the rest of the node flow inward/outward. */
/* Wrapped in min-width:901px so the mobile fallback at @media(max-width:900px)       */
/* (which stacks nodes vertically and hides the rings) still wins on phones.          */
@media (min-width: 901px) {
  .thesis__node { width: 200px; }
  .thesis__node--n {
    top: 18%; left: 50%; bottom: auto; right: auto;
    transform: translate(-50%, -75%);
  }
  .thesis__node--e {
    top: 50%; right: 18%; left: auto; bottom: auto;
    transform: translate(75%, -50%);
  }
  .thesis__node--s {
    bottom: 18%; left: 50%; top: auto; right: auto;
    transform: translate(-50%, 75%);
  }
  .thesis__node--w {
    top: 50%; left: 18%; right: auto; bottom: auto;
    transform: translate(-75%, -50%);
  }

  /* ---------- Settle-on-entry for nodes & center (desktop only) ---------- */
  [data-motion="orbit"] .thesis__node {
    opacity: 0;
    transition: opacity 0.95s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.95s cubic-bezier(0.2, 0.6, 0.2, 1);
    transition-delay: calc(0.25s + var(--motion-i, 0) * 140ms);
  }
  [data-motion="orbit"] .thesis__node--n { transform: translate(-50%, calc(-75% + 14px)); }
  [data-motion="orbit"] .thesis__node--e { transform: translate(calc(75% - 14px), -50%); }
  [data-motion="orbit"] .thesis__node--s { transform: translate(-50%, calc(75% - 14px)); }
  [data-motion="orbit"] .thesis__node--w { transform: translate(calc(-75% + 14px), -50%); }
  [data-motion="orbit"].is-visible .thesis__node { opacity: 1; }
  [data-motion="orbit"].is-visible .thesis__node--n { transform: translate(-50%, -75%); }
  [data-motion="orbit"].is-visible .thesis__node--e { transform: translate(75%, -50%); }
  [data-motion="orbit"].is-visible .thesis__node--s { transform: translate(-50%, 75%); }
  [data-motion="orbit"].is-visible .thesis__node--w { transform: translate(-75%, -50%); }
}

/* ---------- Mobile fallback (≤ 900px): ensure stacked layout wins ---------- */
@media (max-width: 900px) {
  .thesis__orbit { max-width: 100%; width: 100%; }
  .thesis__node { width: 100% !important; transform: none !important; position: static !important; opacity: 1 !important; }
  .thesis__ring--outer::before, .thesis__ring--outer::after,
  .thesis__ring--inner::before, .thesis__ring--inner::after { display: none; }
  /* Disable orbit-mode absolute positioning of the center manifesto */
  .thesis__center,
  [data-motion="orbit"] .thesis__center,
  [data-motion="orbit"].is-visible .thesis__center {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    width: 100% !important;
  }
}

[data-motion="orbit"] .thesis__center {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 1s cubic-bezier(0.2, 0.6, 0.2, 1) 0.15s,
              transform 1s cubic-bezier(0.2, 0.6, 0.2, 1) 0.15s;
}
[data-motion="orbit"].is-visible .thesis__center {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}

/* ---------- Thesis orbit: connection lines (SVG) ---------- */
/* Hidden after the orbit redesign — nodes now sit ON the inner ring,    */
/* so the short connector ticks no longer have a meaningful relationship. */
.thesis__lines {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.thesis__lines path {
  fill: none;
  stroke: rgba(32, 70, 238, 0.14);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.thesis__lines.is-drawn path { stroke-dashoffset: 0; }
.thesis__lines path:nth-child(1) { transition-delay: 0.50s; }
.thesis__lines path:nth-child(2) { transition-delay: 0.70s; }
.thesis__lines path:nth-child(3) { transition-delay: 0.90s; }
.thesis__lines path:nth-child(4) { transition-delay: 1.10s; }

/* Hide connection lines on small screens (orbit is stacked vertically there) */
@media (max-width: 880px) {
  .thesis__lines { display: none; }
}

/* ---------- Verticals: hover line-draw + lift ---------- */
.vertical {
  position: relative;
  transition: transform 320ms cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 320ms ease, border-color 220ms ease;
}
.vertical::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--lpx-blue);
  transition: width 480ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.vertical:hover::before { width: 100%; }
.vertical:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(10, 23, 64, 0.08);
}

/* ---------- Process timeline: progressive reveal + connecting line ---------- */
.process__grid {
  position: relative;
}
/* Connecting horizontal line that draws across the row */
.process__grid::before {
  content: "";
  position: absolute;
  top: calc(var(--space-12, 3rem) + 22px);
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--border, rgba(10, 23, 64, 0.12));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(0.2, 0.6, 0.2, 1) 0.2s;
  z-index: 0;
  pointer-events: none;
}
.process__grid.is-drawn::before { transform: scaleX(1); }
@media (max-width: 880px) {
  .process__grid::before { display: none; }
}
.process__step {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: calc(var(--motion-i, 0) * 280ms);
}
.process__grid.is-visible .process__step { opacity: 1; transform: translateY(0); }
/* Slight lift on the accent (Pilot) card to signal "this is the bet" */
.process__grid.is-visible .process__step--accent { transform: translateY(-6px); }

/* ---------- Case study big-number cards: count-up safe-styling ---------- */
.case__num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* ---------- Team & Compass portraits: B&W -> color on hover ---------- */
.advisor__photo img {
  filter: saturate(0) contrast(1.05) brightness(1.02);
  transition: filter 520ms ease, transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.advisor:hover .advisor__photo img,
.advisor:focus-visible .advisor__photo img {
  filter: saturate(1.05) contrast(1.04) brightness(1);
  transform: scale(1.03);
}

/* ---------- Motion toggle in footer ---------- */
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
  font: 500 0.72rem/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 220ms, color 220ms, background 220ms;
}
.motion-toggle:hover { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.motion-toggle__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lpx-blue);
  box-shadow: 0 0 0 0 rgba(32, 70, 238, 0.55);
  transition: background 220ms, box-shadow 220ms;
}
.motion-toggle[aria-pressed="false"] .motion-toggle__dot {
  background: rgba(255, 255, 255, 0.30);
  box-shadow: none;
}
@media (prefers-reduced-motion: no-preference) {
  .motion-toggle[aria-pressed="true"] .motion-toggle__dot {
    animation: lpx-toggle-pulse 2.4s ease-in-out infinite;
  }
}
@keyframes lpx-toggle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(32, 70, 238, 0.45); }
  50%      { box-shadow: 0 0 0 5px rgba(32, 70, 238, 0); }
}

/* Footer legal row holding the motion toggle */
.footer__legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}
.footer__legal-row .footer__legal { margin: 0; }
@media (max-width: 600px) {
  .footer__legal-row { justify-content: flex-start; }
}

/* ============================================================
   Round 2 — May 28 — Hero tile, Compass CTA box, spacing,
   teamband removal cleanup, footer offices.
   ============================================================ */

/* --- Hero Compass tile (below CTAs) --- */
.hero-immersive__tile {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-12);
  max-width: 520px;
  padding: var(--space-5) var(--space-6);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-on-dark);
  text-decoration: none;
  transition: border-color 0.28s var(--ease), background 0.28s var(--ease), transform 0.28s var(--ease);
}
.hero-immersive__tile:hover {
  border-color: rgba(125,168,255,0.55);
  background: rgba(125,168,255,0.10);
  transform: translateY(-2px);
}
.hero-immersive__tile-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero-immersive__tile-eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
  margin-bottom: 4px;
}
.hero-immersive__tile-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: #fff;
  line-height: 1.35;
}
.hero-immersive__tile-arrow {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.7);
  transition: transform 0.28s var(--ease), color 0.28s var(--ease);
}
.hero-immersive__tile:hover .hero-immersive__tile-arrow {
  transform: translateX(4px);
  color: #fff;
}
@media (max-width: 720px) {
  .hero-immersive__tile {
    margin-top: var(--space-8);
    padding: var(--space-4) var(--space-5);
    max-width: 100%;
  }
  .hero-immersive__tile-title { font-size: 0.95rem; }
}

/* --- Focus CTA box (Compass click-in, replaces compass-pointer) --- */
a.focus--cta {
  display: block;
  text-decoration: none;
  margin-top: var(--space-12);
  position: relative;
}
.focus--cta .focus__num { color: var(--lpx-blue-soft); }
.focus__cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
  transition: transform 0.28s var(--ease);
}
.focus--cta:hover .focus__cta-arrow { transform: translateX(4px); }
.focus--cta:hover {
  background: var(--lpx-blue);
  border-color: var(--lpx-blue);
}

/* --- Tighter / clearer section spacing between Investments & Consulting --- */
.investments { padding-bottom: var(--space-24); }
.consulting   { padding-top:    var(--space-24); border-top: 1px solid var(--border); }
@media (max-width: 720px) {
  .investments { padding-bottom: var(--space-16); }
  .consulting  { padding-top:    var(--space-16); }
}

/* Title Case applied — preserve existing fade-up motion */


/* ===================================================================
   Insights cards — Round 2
   =================================================================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}
@media (max-width: 1000px) {
  .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .insights-grid { grid-template-columns: 1fr; }
}

.insight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink, #0a1628);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  overflow: hidden;
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -24px rgba(10, 22, 40, 0.30);
  border-color: rgba(7, 102, 217, 0.30);
}
.insight-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0a1730, #02061A);
  overflow: hidden;
}
.insight-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.insight-card:hover .insight-card__img { transform: scale(1.04); }
.insight-card__img--placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1730, #02061A);
}
.insight-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
}

.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.55);
}
.insight-card__date { color: rgba(10, 22, 40, 0.65); }
.insight-card__source {
  position: relative;
  padding-left: 14px;
}
.insight-card__source::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.35);
}

.insight-card__title {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: #0a1628;
  margin: 0;
}
.insight-card__excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(10, 22, 40, 0.72);
  margin: 0;
}

.insight-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.insight-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.insight-card__chip {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.insight-card__chip--theme {
  background: rgba(7, 102, 217, 0.08);
  color: #0766D9;
}
.insight-card__chip--cat {
  background: rgba(10, 22, 40, 0.06);
  color: rgba(10, 22, 40, 0.7);
}
.insight-card__byline {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-style: italic;
  color: rgba(10, 22, 40, 0.55);
}

.insight-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #0766D9;
  text-transform: uppercase;
}
.insight-card__cta span { transition: transform 240ms ease; }
.insight-card:hover .insight-card__cta span { transform: translate(2px, -2px); }

/* Ensure /insights page reuses team-page-hero styling cleanly */
.page-insights .team-page-hero .eyebrow { color: rgba(10, 22, 40, 0.6); }

/* ===================================================================
   Liquid Glass Globe hero canvas
   =================================================================== */
.hero-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-globe .motif__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 800ms ease;
}
.hero-globe__canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  opacity: 0;
  animation: heroGlobeIn 1200ms ease 200ms forwards;
}
@keyframes heroGlobeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-globe--live .motif__svg {
  opacity: 0 !important;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-globe__canvas { animation: none; opacity: 1; }
}

/* ===================================================================
   Insight detail pages — Round 2
   =================================================================== */
.page-insight-detail { background: #fbfbfd; }

.insight-detail__crumbs {
  padding: 130px 0 0;
}
.insight-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 22, 40, 0.65);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.insight-detail__back:hover { color: var(--lpx-blue); transform: translateX(-2px); }

.insight-detail__head {
  padding: 32px 0 36px;
}
.insight-detail__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lpx-blue);
  margin: 0 0 18px;
}
.insight-detail__title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--lpx-navy);
  max-width: 26ch;
  margin: 0 0 18px;
}
.insight-detail__title em {
  color: var(--lpx-blue);
  font-style: italic;
}
.insight-detail__source {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(10, 22, 40, 0.6);
  margin: 0;
  letter-spacing: 0.02em;
}

.insight-detail__hero {
  margin: 0 auto 56px;
  max-width: 1180px;
  padding: 0 var(--container-gutter, 24px);
}
.insight-detail__hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 28px 60px -32px rgba(10, 22, 40, 0.35);
}

.insight-detail__body {
  max-width: 760px;
  padding-bottom: 80px;
}
.insight-detail__para {
  font-family: 'Inter', sans-serif;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(10, 22, 40, 0.85);
  margin: 0 0 1.4em;
}
.insight-detail__quotes {
  margin: 56px 0;
  padding: 36px 40px;
  background: #fff;
  border-left: 3px solid var(--lpx-blue);
  border-radius: 4px;
  box-shadow: 0 14px 30px -22px rgba(10, 22, 40, 0.18);
}
.insight-detail__quotes-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpx-blue);
  margin: 0 0 22px;
}
.insight-detail__quote {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.45;
  color: var(--lpx-navy);
  margin: 0 0 22px;
  padding: 0;
  border: none;
}
.insight-detail__quote:last-child { margin-bottom: 0; }

.insight-detail__source-cta {
  margin: 48px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
}
.insight-detail__source-btn {
  background: var(--lpx-navy);
  color: #fff;
  border: 1px solid var(--lpx-navy);
}
.insight-detail__source-btn:hover {
  background: var(--lpx-blue);
  border-color: var(--lpx-blue);
}
.insight-detail__source-note {
  margin: 14px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: rgba(10, 22, 40, 0.5);
}

.insight-detail__more {
  background: #f5f6f9;
  padding: 70px 0 80px;
  border-top: 1px solid rgba(10, 22, 40, 0.06);
}
.insight-detail__more-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: var(--lpx-navy);
  margin: 12px 0 18px;
}
.insight-detail__more-title em {
  color: var(--lpx-blue);
  font-style: italic;
}

@media (max-width: 720px) {
  .insight-detail__crumbs { padding-top: 110px; }
  .insight-detail__head { padding: 24px 0 24px; }
  .insight-detail__hero { margin-bottom: 36px; }
  .insight-detail__quotes { padding: 28px 24px; }
  .insight-detail__quote { font-size: 1.15rem; }
}
