:root {
  --bg: #0d0d0d;
  --bg-warm: rgba(60,80,70,0.18);
  --bg-cool: rgba(40,40,50,0.20);
  --fg: #e8e6df;
  --dim: rgba(232,230,223,0.72);
  --soft: rgba(232,230,223,0.15);
  --accent: #7a9888;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --pad-x: clamp(24px, 5vw, 80px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ================================================================
   Ambient background layers (mirrors the home page background)
   - .ambient : warm + cool radial gradient wash
   - .bg-mesh : faint dot lattice with vignette mask + cursor parallax
   Cursor parallax is set up by /assets/cursor-bg.js (no-op without .bg-mesh
   or with prefers-reduced-motion).
   ================================================================ */
.ambient {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 1200px 700px at 30% 10%, var(--bg-warm), transparent 60%),
    radial-gradient(ellipse 900px 600px at 85% 90%, var(--bg-cool), transparent 65%);
  opacity: 0.6;
}
.bg-mesh {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(232,230,223,0.14) 1.2px, transparent 1.8px);
  background-size: 28px 28px;
  transform: translate3d(var(--mtx, 0px), var(--mty, 0px), 0);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 45%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 45%, transparent 92%);
}
@media (prefers-reduced-motion: reduce) {
  .bg-mesh { transition: none; transform: none; }
}

/* Lift in-flow layout above the z-index 0 fixed background layers. The nav
   and sub-nav already have their own sticky z-index; this covers the rest. */
.svc-header,
.svc-section,
.svc-footer,
section[id="contact"],
.legal-nav,
.legal-wrap,
.legal-footer {
  position: relative;
  z-index: 1;
}

.legal-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--pad-x);
  border-bottom: 1px solid var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.legal-nav a { color: var(--dim); text-decoration: none; transition: color .2s; }
.legal-nav a:hover { color: var(--fg); }
.legal-nav .brand { color: var(--fg); display: inline-flex; align-items: center; gap: 10px; }
.legal-nav .brand img { height: 18px; opacity: 0.95; }

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px var(--pad-x) 120px;
}

.legal-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 24px;
}

.legal-wrap h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.legal-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--dim);
  margin: 0 0 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--soft);
}

.legal-wrap h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  color: var(--fg);
}

.legal-wrap h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  margin: 28px 0 8px;
  color: var(--fg);
}

.legal-wrap p {
  color: var(--dim);
  margin: 0 0 16px;
  text-wrap: pretty;
}

.legal-wrap p strong, .legal-wrap li strong { color: var(--fg); font-weight: 500; }

.legal-wrap a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--soft);
  transition: border-color .2s, color .2s;
}
.legal-wrap a:hover { border-bottom-color: var(--accent); color: var(--accent); }

.legal-wrap ul, .legal-wrap ol {
  color: var(--dim);
  padding-left: 22px;
  margin: 0 0 16px;
}
.legal-wrap li { margin: 0 0 8px; }

.legal-wrap table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
.legal-wrap th, .legal-wrap td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--soft);
  vertical-align: top;
  color: var(--dim);
}
.legal-wrap th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 500;
}

.legal-wrap .callout {
  border-left: 2px solid var(--accent);
  padding: 14px 20px;
  margin: 24px 0;
  background: rgba(122, 152, 136, 0.06);
  font-size: 15px;
}

.legal-footer {
  border-top: 1px solid var(--soft);
  padding: 32px var(--pad-x);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim);
}
.legal-footer a { color: var(--dim); text-decoration: none; }
.legal-footer a:hover { color: var(--fg); }
.legal-footer-links { display: flex; gap: 24px; }

@media (max-width: 720px) {
  .legal-wrap { padding: 56px var(--pad-x) 80px; }
  .legal-meta { margin-bottom: 40px; }
  .legal-wrap h2 { margin-top: 40px; }
  .legal-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ==========================================================================
   Services-page chrome – used by /assetmanagement and /busdev
   ========================================================================== */

/* Top nav for services pages – adapted from index.html .nav, with dropdown */
.svc-nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--pad-x);
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.svc-nav .brand { color: var(--fg); display: inline-flex; align-items: center; text-decoration: none; }
.svc-nav .brand img { height: 38px; width: auto; opacity: 0.95; display: block; }
.svc-nav-links { display: flex; gap: clamp(16px, 3vw, 36px); align-items: center; }
.svc-nav-links a { color: var(--dim); text-decoration: none; transition: color .2s; }
.svc-nav-links a:hover, .svc-nav-links a.is-current { color: var(--fg); }

/* Services dropdown trigger + menu */
.svc-dd { position: relative; }
.svc-dd-trigger {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  color: var(--dim); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.svc-dd-trigger:hover, .svc-dd[aria-expanded="true"] .svc-dd-trigger,
.svc-dd-trigger.is-current { color: var(--fg); }
.svc-dd-trigger::after {
  content: ""; display: inline-block; width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.svc-dd[aria-expanded="true"] .svc-dd-trigger::after { transform: rotate(-135deg) translateY(-1px); }
.svc-dd-menu {
  position: absolute; top: calc(100% + 14px); right: 0;
  display: none; flex-direction: column; min-width: 240px;
  padding: 10px;
  background: rgba(20,20,20,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--soft);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.svc-dd[aria-expanded="true"] .svc-dd-menu { display: flex; }
.svc-dd-menu a {
  padding: 10px 14px; color: var(--dim); text-decoration: none;
  border-radius: 3px; transition: color .2s, background-color .2s;
}
.svc-dd-menu a:hover, .svc-dd-menu a:focus-visible { color: var(--fg); background: rgba(232,230,223,0.05); outline: none; }
.svc-dd-menu a.is-current { color: var(--fg); }

/* Compact services-page header (NOT a hero) */
.svc-header {
  max-width: 980px; margin: 0 auto;
  padding: 64px var(--pad-x) 48px;
}
.svc-eyebrow {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 16px;
}
.svc-header h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 20px; max-width: 760px; text-wrap: pretty;
}
.svc-header h1 em { font-style: italic; color: var(--accent); }
.svc-header .svc-lede {
  font-family: var(--sans); font-size: 18px; line-height: 1.55;
  color: var(--dim); margin: 0 0 32px; max-width: 680px;
}
.svc-header-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons (lifted from index.html) */
.btn {
  padding: 13px 24px; border: 1px solid var(--fg);
  background: var(--fg); color: var(--bg);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  white-space: nowrap;
  transition: opacity .2s, border-color .2s, color .2s;
}
.btn:hover { opacity: 0.85; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--soft); }
.btn-ghost:hover { border-color: var(--fg); opacity: 1; }

/* Sticky in-page sub-nav */
/* Anchor-link offset: sub-nav pages have sticky top-nav (82px) + sticky
   sub-nav (~46px); offset section titles so they clear both when jumped to. */
.svc-section[id],
section[id="contact"] {
  scroll-margin-top: 140px;
}

.svc-subnav {
  position: sticky; top: 82px; z-index: 40;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--soft);
}
.svc-subnav-inner {
  max-width: 980px; margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex; justify-content: center; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.svc-subnav-inner a {
  color: var(--dim); text-decoration: none; padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.svc-subnav-inner a:hover { color: var(--fg); }
.svc-subnav-inner a.is-active { color: var(--fg); border-bottom-color: var(--accent); }

/* Two-column section grid for service pages: tighter than .section-grid */
.svc-section {
  max-width: 980px; margin: 0 auto;
  padding: 56px var(--pad-x);
  border-top: 1px solid var(--soft);
}
.svc-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 36px;
}
.svc-grid > .svc-side {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim); padding-top: 6px;
}
.svc-grid > .svc-body { min-width: 0; }
.svc-grid > .svc-body > h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px); line-height: 1.18;
  letter-spacing: -0.01em; margin: 0 0 18px; color: var(--fg);
}
.svc-grid > .svc-body > p {
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  color: var(--dim); margin: 0 0 16px; max-width: 720px;
}
.svc-grid > .svc-body > p strong { color: var(--fg); font-weight: 500; }
.svc-grid > .svc-body a {
  color: var(--fg); text-decoration: none;
  border-bottom: 1px solid var(--soft);
  transition: border-color .2s, color .2s;
}
.svc-grid > .svc-body a:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* Stats strip – used on /assetmanagement for headline metrics */
.svc-stats {
  max-width: 980px; margin: 0 auto;
  padding: 28px var(--pad-x) 36px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--soft);
  border-bottom: 1px solid var(--soft);
  text-align: center;
}
.svc-stats .stat { display: flex; flex-direction: column; align-items: center; }
.svc-stats .stat .stat-num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--fg); margin: 0 0 8px;
}
.svc-stats .stat .stat-num em {
  font-style: italic; color: var(--accent);
}
.svc-stats .stat .stat-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); margin: 0;
}

/* Per-stat explainer ("i" hover tooltip) */
.svc-stats .stat-info {
  position: relative;
  margin-top: 10px;
  display: inline-flex;
  outline: none;
}
.svc-stats .stat-info-i {
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--soft);
  border-radius: 50%;
  font-family: var(--serif); font-size: 10px; font-style: italic;
  color: var(--dim);
  cursor: help;
  transition: color .2s, border-color .2s;
}
.svc-stats .stat-info:hover .stat-info-i,
.svc-stats .stat-info:focus-visible .stat-info-i {
  color: var(--fg); border-color: var(--fg);
}
.svc-stats .stat-info-tip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: max-content; max-width: 240px;
  padding: 10px 12px;
  /* Fully opaque so the disclaimer/foot text never bleeds through on desktop */
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.4);
  font-family: var(--sans); font-size: 11px; line-height: 1.45;
  color: #f4f4f4;
  text-align: center;
  text-transform: none; letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 20;
}
.svc-stats .stat-info:hover .stat-info-tip,
.svc-stats .stat-info:focus-visible .stat-info-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.svc-stats-foot {
  max-width: 980px; margin: 0 auto;
  padding: 16px var(--pad-x);
  font-size: 12px; color: var(--dim);
  text-align: center;
  border-bottom: 1px solid var(--soft);
}
.svc-stats-foot a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 152, 136, 0.4);
  transition: border-color .2s, color .2s;
}
.svc-stats-foot a:hover { border-bottom-color: var(--accent); color: var(--fg); }

/* Pillar list – used for "the edge" / strategy pillars / practice areas */
.pillar-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.pillar-list li { padding: 20px; border: 1px solid var(--soft); }
.pillar-list .p-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 10px;
}
.pillar-list .p-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 20px; line-height: 1.2;
  margin: 0 0 8px; color: var(--fg);
}
.pillar-list .p-body { font-size: 15px; color: var(--dim); margin: 0; }

/* Document list — used on /investors */
.doc-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--soft);
}
.doc-list li {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--soft);
}
.doc-list .doc-meta { min-width: 0; }
.doc-list .doc-kind {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 6px;
}
.doc-list .doc-title {
  font-family: var(--serif); font-weight: 400;
  font-size: 19px; line-height: 1.25;
  color: var(--fg); margin: 0 0 4px;
}
.doc-list .doc-desc {
  font-size: 14px; color: var(--dim); margin: 0;
}

/* Factsheet table */
.factsheet {
  width: 100%; border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 15px;
}
.factsheet td {
  padding: 12px 0; border-bottom: 1px solid var(--soft);
  vertical-align: top; color: var(--dim);
}
.factsheet td:first-child {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg); font-weight: 500;
  width: 40%; padding-right: 24px;
}

/* Eligibility / who-it-for callout – extends .legal-wrap .callout pattern */
.svc-callout {
  border-left: 2px solid var(--accent);
  padding: 16px 22px;
  margin: 24px 0;
  background: rgba(122, 152, 136, 0.06);
  font-size: 15px;
  color: var(--dim);
}
.svc-callout strong { color: var(--fg); font-weight: 500; }

/* Disclosures block – small print, divided columns on desktop */
.svc-disclosures {
  font-size: 13px; line-height: 1.55;
  color: var(--dim);
}
.svc-disclosures .disc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px;
  margin: 12px 0 0;
}
.svc-disclosures .disc-item .disc-num {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 6px;
}
.svc-disclosures .disc-item h3 {
  font-family: var(--sans); font-weight: 500; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0 0 8px; color: var(--fg);
}
.svc-disclosures .disc-item p { margin: 0 0 8px; }
.svc-disclosures .disc-item strong { color: var(--fg); font-weight: 500; }
.svc-disclosures .disc-foot {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--soft);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim);
}

/* CTA card at bottom */
.svc-cta-card {
  max-width: 980px; margin: 24px auto 0;
  padding: 36px var(--pad-x);
  border: 1px solid var(--soft);
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.svc-cta-card .cta-text {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2; color: var(--fg); margin: 0; max-width: 560px;
}
.svc-cta-card .cta-text em { font-style: italic; color: var(--accent); }
.svc-cta-card .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Services page-level footer (reuses social block from home; markup mirrored) */
.svc-footer {
  border-top: 1px solid var(--soft);
  padding: 32px var(--pad-x);
  margin-top: 64px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim);
}
.svc-footer a { color: var(--dim); text-decoration: none; transition: color .2s; }
.svc-footer a:hover { color: var(--fg); }
.svc-footer-social { display: flex; gap: 18px; align-items: center; }
.svc-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
}
.svc-footer-social a:hover { color: var(--accent); }
.svc-footer-social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.svc-footer-links { display: flex; gap: 24px; }

/* Tablet */
@media (max-width: 960px) {
  .svc-section { padding: 44px var(--pad-x); }
  .svc-grid { grid-template-columns: 110px 1fr; gap: 24px; }
  .svc-disclosures .disc-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* Mobile */
@media (max-width: 720px) {
  .svc-nav { padding: 16px var(--pad-x); }
  .svc-nav-links { gap: 16px; }
  .svc-nav-links a, .svc-dd-trigger { font-size: 10px; }

  /* Mobile services dropdown – fixed to viewport so it never clips off-screen */
  .svc-dd-menu {
    position: fixed;
    top: 60px;
    left: 16px;
    right: 16px;
    min-width: auto; max-width: none;
    padding: 8px;
  }
  .svc-dd-menu a { padding: 12px 14px; font-size: 11px; }

  .svc-header { padding: 44px var(--pad-x) 32px; }
  .svc-header h1 { font-size: clamp(28px, 7vw, 36px); }
  .svc-header .svc-lede { font-size: 16px; }
  .svc-header-cta { flex-direction: column; align-items: stretch; }
  .svc-header-cta .btn { width: 100%; text-align: center; padding: 15px 18px; }

  .svc-subnav { display: none; }

  .svc-section { padding: 40px var(--pad-x); }
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc-grid > .svc-side { padding-top: 0; }
  .svc-grid > .svc-body > p { font-size: 16px; }

  .svc-stats { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 24px var(--pad-x) 28px; }
  .svc-stats .stat { position: relative; }
  .svc-stats .stat .stat-num { font-size: 28px; }
  .svc-stats .stat-info-tip {
    /* Cap the tip so it never exceeds the available stat tile width on mobile.
       Falls back to 160px on very narrow screens. */
    max-width: min(170px, calc(50vw - 28px));
    padding: 9px 10px;
    font-size: 10.5px;
    line-height: 1.4;
  }
  /* Keep right-column tooltips from spilling off the viewport edge */
  .svc-stats .stat:nth-child(2n) .stat-info-tip {
    left: auto;
    right: 0;
    transform: translateY(-4px);
  }
  .svc-stats .stat:nth-child(2n) .stat-info:hover .stat-info-tip,
  .svc-stats .stat:nth-child(2n) .stat-info:focus-visible .stat-info-tip {
    transform: translateY(0);
  }
  .svc-stats .stat:nth-child(2n+1) .stat-info-tip {
    left: 0;
    transform: translateY(-4px);
  }
  .svc-stats .stat:nth-child(2n+1) .stat-info:hover .stat-info-tip,
  .svc-stats .stat:nth-child(2n+1) .stat-info:focus-visible .stat-info-tip {
    transform: translateY(0);
  }

  .svc-cta-card { grid-template-columns: 1fr; padding: 28px var(--pad-x); gap: 18px; }
  .svc-cta-card .cta-actions { flex-direction: column; }
  .svc-cta-card .cta-actions .btn { width: 100%; text-align: center; padding: 15px 18px; }

  .doc-list li { grid-template-columns: 1fr; gap: 14px; }
  .doc-list .btn { width: 100%; text-align: center; padding: 13px 16px; }

  .svc-footer { flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px var(--pad-x); margin-top: 48px; font-size: 10px; }
  .svc-footer-links { gap: 20px; }

  .factsheet td:first-child { width: 45%; }
}

/* ================================================================
   Eligibility gate (NCAF qualified-investor attestation)
   ================================================================ */

[data-gate-mount][data-gate-locked] {
  position: relative;
  opacity: 0;
  animation: gate-locked-fade-in 0.35s ease 0.45s forwards;
}
[data-gate-mount][data-gate-mounted] {
  animation: gate-mounted-fade-in 0.4s ease both;
}
/* The opacity animations above create implicit stacking contexts on both the
   stats strip and its foot. Without explicit z-indices, the foot (a later
   sibling) paints on top of the tooltip — which then visually appears
   semi-transparent. Force the stats strip to win the stacking battle so the
   tooltip's z-index:20 actually escapes upward. */
.svc-stats[data-gate-mount] { position: relative; z-index: 5; }
.svc-stats-foot[data-gate-mount] { position: relative; z-index: 1; }
@keyframes gate-locked-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}
@keyframes gate-mounted-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.svc-stats[data-gate-locked] {
  display: block;
  grid-template-columns: none;
  padding: 32px var(--pad-x);
  border: none;
}
.svc-stats-foot[data-gate-locked] { font-style: italic; color: var(--dim); }
.gate-locked-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--soft);
  border-radius: 4px;
  background: rgba(232,230,223,0.03);
}
.gate-locked-card .gate-locked-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.gate-locked-card p:not(.gate-locked-eyebrow) {
  margin: 0;
  font-family: var(--sans);
  color: var(--dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 520px;
}
.gate-locked-card .btn { margin-top: 4px; }

body.gate-locked { overflow: hidden; }

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
}
.gate-card {
  width: 100%;
  max-width: 640px;
  background: #131313;
  border: 1px solid var(--soft);
  border-radius: 6px;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  margin: auto;
}
.gate-card .gate-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.gate-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--fg);
}
.gate-card .gate-lede {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--dim);
  margin: 0 0 24px;
}

.gate-form { display: flex; flex-direction: column; gap: 18px; }
.gate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gate-field { display: flex; flex-direction: column; gap: 6px; }
.gate-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.gate-field select,
.gate-field input[type="text"],
.gate-field input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  background: rgba(232,230,223,0.04);
  border: 1px solid var(--soft);
  border-radius: 3px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
}
.gate-field select:focus,
.gate-field input[type="text"]:focus,
.gate-field input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}
@media (max-width: 720px) {
  .gate-row { grid-template-columns: 1fr; gap: 18px; }
}

.gate-notice[data-empty="true"] { display: none; }
.gate-notice {
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  background: rgba(122,152,136,0.08);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--dim);
}
.gate-notice strong { color: var(--fg); font-weight: 500; }

.gate-decls {
  border: 1px solid var(--soft);
  border-radius: 3px;
  padding: 14px 16px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gate-decls legend {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 0 6px;
}
.gate-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--dim);
  cursor: pointer;
}
.gate-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent);
  width: 14px;
  height: 14px;
}

.gate-declbox {
  border: 1px solid var(--soft);
  border-radius: 3px;
  padding: 0;
}
.gate-declbox > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.gate-declbox > summary::-webkit-details-marker { display: none; }
.gate-declbox > summary:hover { color: var(--fg); }
.gate-declbox[open] > summary { border-bottom: 1px solid var(--soft); }
.gate-decltext {
  margin: 0;
  padding: 16px;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.6;
  color: var(--dim);
  white-space: pre-wrap;
  max-height: 240px;
  overflow-y: auto;
}

.gate-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.gate-actions .btn { padding: 12px 20px; font-size: 11px; }
.gate-actions .btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.gate-status {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  min-height: 1em;
}
.gate-status.err { color: #d98a8a; }

@media (max-width: 720px) {
  .gate-card { padding: 24px; }
  .gate-actions { flex-direction: column; }
  .gate-actions .btn { width: 100%; text-align: center; }
}

/* Cookie notice — styles self-injected by /assets/cookie-notice.js (prefixed
   .ncaf-cookie-notice class) so the home page (no legal.css) gets them too. */

