:root {
  --logo-navy-mark: url('assets/img/logo-mark.webp');
  --logo-white-mark: url('assets/img/logo-mark-white.webp');
}

:root {
  --navy-900: #0a1f4d;
  --navy-800: #122a5c;
  --navy-700: #1e3670;
  --navy-500: #3a5490;
  --navy-300: #6a82b0;
  --silver-100: #f5f7fb;
  --silver-200: #e7ecf4;
  --silver-300: #ced6e4;
  --silver-400: #9ba7c0;
  --silver-500: #6c7994;
  --accent: #b89968;
  --ink: #0d1a3a;
  --paper: #fcfcfd;
  --paper-warm: #f7f5ef;
  --ff: "Nunito Sans", "Nunito", system-ui, sans-serif;
  --max: 1000px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: 0.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ========== HEADER ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 252, 253, 0.85);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--silver-200);
  /* Gutter padding lives on the outer full-width element so the inner
     constrained container aligns exactly with .hero-grid */
  padding: 0 var(--gutter);
}
.nav-container {
  max-width: var(--max); margin: 0 auto;
  padding: 1rem 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  /* Compensate for the transparent margin inside the mark image so the
     mandala's visible body sits flush with "Opportunity" below it. */
  margin-left: -4px;
}
.brand-mark-img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.brand-wordmark {
  font-family: var(--ff);
  font-weight: 500;
  /* 28px — a whole pixel; avoids sub-pixel rasterization blur */
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin-top: 2px;
  white-space: nowrap;
  /* Explicit antialiasing so nested rendering matches the hero */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Header spacing: give the brand vertical room */
.nav-container { padding-top: 1.15rem; padding-bottom: 1.15rem; }
.brand-mark-img { height: 46px; }
@media (max-width: 720px) {
  .brand-mark-img { height: 38px; }
}
@media (max-width: 480px) {
  .brand-wordmark { font-size: 24px; }
}
/* Very narrow phones: hide the wordmark, keep the mark */
@media (max-width: 380px) {
  .brand-wordmark { display: none; }
}

.site-nav { display: flex; align-items: center; gap: 2.2rem; }
.site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-800);
  font-weight: 600;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
  cursor: pointer;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--navy-800);
  transition: width 0.3s var(--ease);
}
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }
.site-nav .nav-portal {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--navy-800);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.site-nav .nav-portal::after { display: none; }
.site-nav .nav-portal:hover,
.site-nav .nav-portal.active {
  background: var(--navy-900); color: var(--paper);
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5rem;
}
.nav-toggle span { width: 24px; height: 1px; background: var(--navy-900); }

/* ========== Typography primitives ========== */
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--silver-500);
  margin-bottom: 2rem;
  font-weight: 700;
}
.eyebrow.centered { text-align: center; margin-bottom: 1.2rem; }
.eyebrow-light { color: var(--silver-400); }
.eyebrow-accent { color: var(--accent); }

/* Display typography: weight + size does the work, not italics */
.display {
  font-family: var(--ff);
  font-weight: 300;
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy-900);
  margin-bottom: 1.8rem;
}
.display strong {
  font-weight: 800;
  letter-spacing: -0.03em;
}
/* "light" second line — was italic, now thin weight */
.display .soft {
  font-weight: 200;
  color: var(--navy-500);
}

.display-2 {
  font-family: var(--ff);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--navy-900);
}
.display-2 .soft {
  font-weight: 200;
  color: var(--navy-500);
}
.display-2 .soft-accent {
  font-weight: 300;
  color: var(--accent);
}
.display-2.centered { text-align: center; margin: 0 auto 3rem; }

.lede {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--navy-700);
  max-width: 48ch;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 2px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary { background: var(--navy-900); color: var(--paper); }
.btn-primary:hover {
  background: var(--navy-700); transform: translateY(-1px);
  box-shadow: 0 10px 30px -10px rgba(10,31,77,0.35);
}
.btn-ghost {
  color: var(--navy-900); border-color: var(--silver-300); background: transparent;
}
.btn-ghost:hover { border-color: var(--navy-900); }
.btn-block { width: 100%; justify-content: center; }
.btn .btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) 0;
  background:
    /* Halo around the globe — silver-to-navy tint that makes the sphere read against the page */
    radial-gradient(ellipse 42% 55% at 72% 48%, rgba(45,84,144,0.11), rgba(206,214,228,0.14) 45%, transparent 75%),
    /* Warm gold accent in the far corner for depth */
    radial-gradient(ellipse 50% 40% at 15% 12%, rgba(184,153,104,0.05), transparent 70%),
    var(--paper);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--silver-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--silver-200) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.25;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent 85%);
  pointer-events: none;
}
.hero-grid {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem;
  align-items: center; padding-bottom: 4rem;
}
.hero-copy { animation: fadeUp 0.9s var(--ease) both; }

/* Hero visualisation — rotating globe (replaces the old framed emblem) */
.hero-viz-wrap {
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp 1.1s var(--ease) 0.15s both;
}
.hero-viz { width: 100%; max-width: 500px; }
.hero-viz svg { width: 100%; height: auto; display: block; }
@media (max-width: 1024px) {
  .hero-viz-wrap { order: -1; }
}

.hero-emblem-wrap { animation: fadeUp 1.1s var(--ease) 0.15s both; display: flex; justify-content: center; }

.hero-emblem {
  position: relative;
  width: clamp(280px, 36vw, 440px);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-emblem::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--silver-300);
}
.hero-emblem::after {
  content: ""; position: absolute; inset: 12%;
  border: 1px solid rgba(184,153,104,0.25);
  transform: rotate(45deg);
  pointer-events: none;
}
.hero-emblem .corner {
  position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--accent);
  background: var(--paper);
}
.hero-emblem .corner.tl { top: -7px; left: -7px; }
.hero-emblem .corner.tr { top: -7px; right: -7px; }
.hero-emblem .corner.bl { bottom: -7px; left: -7px; }
.hero-emblem .corner.br { bottom: -7px; right: -7px; }
.hero-emblem img {
  width: 78%; height: auto; position: relative; z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(10,31,77,0.15));
}
.hero-emblem-caption {
  margin-top: 1.5rem; display: flex; align-items: center;
  justify-content: center; gap: 0.8rem;
  font-size: 0.66rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--silver-500); font-weight: 700;
}
.hero-emblem-caption .line {
  display: inline-block; width: 40px; height: 1px; background: var(--silver-300);
}

/* Ticker — all sans, weight-differentiated */
.hero-ticker {
  position: relative; border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200); overflow: hidden;
  padding: 1.1rem 0; background: rgba(255,255,255,0.5);
  max-width: var(--max); margin: 0 auto;
}
.ticker-track {
  display: flex; gap: 2.5rem; white-space: nowrap; width: max-content;
  animation: ticker 60s linear infinite;
}
.ticker-track span {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--navy-500);
  font-weight: 600;
}
.ticker-track span.dot {
  color: var(--silver-400);
  font-weight: 400;
}

/* ========== Sections ========== */
.section { padding: clamp(4rem, 9vw, 7rem) var(--gutter); position: relative; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-title {
  font-family: var(--ff); font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15;
  letter-spacing: -0.02em; color: var(--navy-900);
}
.rule { display: block; width: 48px; height: 1px; background: var(--accent); margin-bottom: 1.5rem; }

/* ---------- Proposition ---------- */
.proposition { background: var(--paper); }
.proposition .section-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start;
}
.prop-intro { position: sticky; top: 110px; }
.prop-body p {
  font-size: 1.05rem;
  color: var(--navy-700);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.prop-lead {
  font-size: 1.35rem !important;
  line-height: 1.5 !important;
  color: var(--navy-800) !important;
  margin-bottom: 1.8rem !important;
  font-weight: 300;
  letter-spacing: -0.005em;
}

/* ---------- Pillars ---------- */
.pillars {
  background: linear-gradient(180deg, var(--paper) 0%, var(--silver-100) 100%);
  position: relative;
}
.pillars::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--silver-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--silver-200) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.25;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  pointer-events: none;
}
.pillars .section-inner { position: relative; }
.pillars-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem;
  margin-top: 2.5rem;
}
.pillar {
  background: var(--paper); padding: 2.5rem 2rem 2rem;
  border: 1px solid var(--silver-200); border-radius: 4px;
  position: relative; transition: all 0.35s var(--ease);
  display: flex; flex-direction: column;
}
.pillar:hover {
  transform: translateY(-4px); border-color: var(--silver-300);
  box-shadow: 0 30px 60px -30px rgba(10,31,77,0.18);
}
.pillar-lead {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--paper); border-color: var(--navy-900);
  overflow: hidden;
}
.pillar-lead::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.pillar-lead::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  background-image: var(--logo-white-mark);
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.06; pointer-events: none;
}
.pillar-lead > * { position: relative; z-index: 1; }
/* Higher-specificity overrides to beat later-source .pillar h3/p rules */
.pillar.pillar-lead h3 { color: var(--paper); }
.pillar.pillar-lead p { color: rgba(255,255,255,0.85); }
.pillar.pillar-lead .pillar-num { color: var(--accent); }
.pillar.pillar-lead .pillar-link { color: var(--paper); border-color: rgba(255,255,255,0.35); }
.pillar.pillar-lead .pillar-link:hover { border-color: var(--accent); color: var(--accent); }

/* Pillar numerals — big, thin, tracked */
.pillar-num {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--silver-400);
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}
.pillar-tag {
  display: inline-block; font-size: 0.6rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); padding: 0.3rem 0.7rem;
  border: 1px solid rgba(184,153,104,0.4); border-radius: 2px;
  margin-bottom: 1.2rem; font-weight: 700; width: fit-content;
}
.pillar h3 {
  font-weight: 300;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--navy-900);
  line-height: 1.2;
}
.pillar p {
  font-size: 0.95rem;
  color: var(--navy-700);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-weight: 400;
  line-height: 1.65;
}
.pillar-link {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy-900);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--silver-300);
  width: fit-content;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.pillar-link:hover { border-color: var(--navy-900); transform: translateX(2px); }

/* ---------- Track Record ---------- */
.track {
  background: var(--navy-900); color: var(--paper);
  position: relative; overflow: hidden;
}
.track::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(184,153,104,0.1), transparent 60%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(106,130,176,0.15), transparent 60%);
  pointer-events: none;
}
.track::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  pointer-events: none;
}
.track-watermark {
  position: absolute;
  right: -8%; top: 50%; transform: translateY(-50%);
  width: 500px; height: 500px;
  background-image: var(--logo-white-mark);
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.05; pointer-events: none;
}
.track-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center;
}
.track-left .display-2 { color: var(--paper); }
.track-left .display-2 .soft { color: var(--accent); }
.track-note {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
  max-width: 44ch;
  margin-top: 1.8rem;
  font-weight: 400;
}
.track-right {
  display: flex; flex-direction: column; gap: 2.2rem;
  border-left: 1px solid rgba(255,255,255,0.12); padding-left: 3rem;
}
.stat { display: flex; align-items: flex-start; gap: 2rem; }
.stat-num {
  font-weight: 200;
  font-size: clamp(3.5rem, 5.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
  min-width: 120px;
  font-feature-settings: "lnum" 1;
}
.stat-num sup {
  font-size: 0.4em;
  color: var(--accent);
  font-weight: 400;
  margin-left: 0.1em;
  vertical-align: super;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  max-width: 28ch;
  font-weight: 400;
}

/* ---------- Closing / pull-quote ---------- */
.closing { background: var(--paper-warm); position: relative; }
.closing-inner {
  max-width: 820px; margin: 0 auto; text-align: center; position: relative;
}
.closing-inner::before {
  content: ""; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 420px; height: 420px;
  background-image: var(--logo-navy-mark);
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.05; pointer-events: none; z-index: 0;
}
.closing-inner > * { position: relative; z-index: 1; }
/* Small ornament replaces the pilcrow */
.closing-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}
.closing-mark::before,
.closing-mark::after {
  content: ""; display: block; width: 28px; height: 1px; background: var(--accent);
}
.closing-mark span {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 700;
}
.closing-text {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.45;
  color: var(--navy-900);
  margin-bottom: 1.8rem;
  font-weight: 300;
  letter-spacing: -0.015em;
}
.closing-attr {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver-500);
  font-weight: 700;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  background: var(--paper); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--silver-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--silver-200) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.22;
  mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, black, transparent 80%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.page-hero-lede {
  font-size: 1.15rem;
  color: var(--navy-700);
  max-width: 60ch;
  margin-top: 1rem;
  line-height: 1.65;
  font-weight: 400;
}

/* ---------- Services ---------- */
.service { background: var(--paper); border-top: 1px solid var(--silver-200); }
.service.service-lead {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
  position: relative;
}
.service.service-lead::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.service-grid {
  display: grid; grid-template-columns: 1fr 3fr; gap: 4rem; align-items: start;
}
.service-meta { position: sticky; top: 100px; }
.service-num {
  font-size: 3.5rem;
  font-weight: 200;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.service-tag {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver-500);
  font-weight: 700;
}
.service-title .service-sub {
  display: block;
  font-size: 0.5em;
  color: var(--silver-500);
  font-weight: 300;
  margin-top: 0.5rem;
  letter-spacing: -0.01em;
}
.service-lead-para {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--navy-800);
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 52ch;
  letter-spacing: -0.005em;
}
.capabilities {
  margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--silver-200);
}
.cap-heading {
  font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--silver-500); margin-bottom: 1.5rem; font-weight: 700;
}
.cap-list { list-style: none; display: grid; gap: 1.3rem; }
.cap-list li {
  position: relative; padding-left: 1.8rem;
  font-size: 1rem; color: var(--navy-700); line-height: 1.7;
  font-weight: 400;
}
.cap-list li::before {
  content: ""; position: absolute; left: 0; top: 0.7rem;
  width: 14px; height: 1px; background: var(--accent);
}
.cap-list strong { color: var(--navy-900); font-weight: 700; }

.engagement-note {
  margin-top: 2.5rem;
  padding: 1.6rem 1.8rem;
  border: 1px dashed var(--silver-300);
  border-radius: 4px;
  background: rgba(255,255,255,0.6);
  position: relative;
}
.engagement-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.engagement-placeholder {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--silver-500);
  font-style: italic;
}

.fintech-note {
  margin-top: 2.5rem; padding: 1.8rem 2rem;
  background: var(--navy-900); color: var(--paper);
  border-radius: 4px; position: relative; overflow: hidden;
}
.fintech-note::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.fintech-note::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 140px; height: 140px;
  background-image: var(--logo-white-mark);
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.08; pointer-events: none;
}
.fintech-note > * { position: relative; z-index: 1; }
.fintech-kicker {
  font-size: 0.62rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.6rem; font-weight: 700;
}
.fintech-note p:last-child {
  font-size: 0.98rem; line-height: 1.7; color: rgba(255,255,255,0.88);
  font-weight: 400;
}

/* ---------- About ---------- */
.story-grid {
  display: grid; grid-template-columns: 220px 1fr; gap: 4rem; align-items: start;
}
.story-aside { position: sticky; top: 110px; }
.story-lead {
  font-size: 1.4rem !important;
  line-height: 1.5 !important;
  color: var(--navy-800);
  margin-bottom: 2rem !important;
  font-weight: 300;
  letter-spacing: -0.005em;
}
.story-body p {
  font-size: 1.02rem; color: var(--navy-700);
  margin-bottom: 1.4rem; line-height: 1.8;
  font-weight: 400;
}

.principles {
  background: var(--paper-warm); position: relative;
}
.principles::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--silver-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--silver-200) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.3;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
  pointer-events: none;
}
.principles .section-inner { position: relative; }
.principles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--silver-300); border-left: 1px solid var(--silver-300);
}
.principle {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--silver-300); border-bottom: 1px solid var(--silver-300);
  background: rgba(255,255,255,0.5);
  transition: background 0.3s var(--ease);
}
.principle:hover { background: rgba(255,255,255,0.9); }
.principle-num {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
}
.principle h3 {
  font-weight: 300;
  font-size: 1.65rem; color: var(--navy-900);
  margin-bottom: 1rem; line-height: 1.2;
  letter-spacing: -0.02em;
}
.principle p {
  font-size: 0.97rem; color: var(--navy-700); line-height: 1.75;
  font-weight: 400;
}

.geography {
  background: var(--navy-900); color: var(--paper);
  position: relative; overflow: hidden;
}
.geography::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(184,153,104,0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 85%, rgba(106,130,176,0.1), transparent 60%);
  pointer-events: none;
}
.geography::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  pointer-events: none;
}
.geo-watermark {
  position: absolute; left: -10%; bottom: -20%;
  width: 600px; height: 600px;
  background-image: var(--logo-white-mark);
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.04; pointer-events: none;
}
.geography .section-inner { position: relative; z-index: 1; }
.geo-head { margin-bottom: 3rem; max-width: 600px; }
.geo-head .display-2 { color: var(--paper); }
.geo-head .display-2 .soft { color: var(--accent); }
.geo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.geo-region {
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15);
  position: relative;
}
.geo-region::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 40px; height: 1px; background: var(--accent);
}
.geo-region h4 {
  font-weight: 300;
  font-size: 1.35rem;
  color: var(--paper);
  margin-bottom: 0.6rem;
  letter-spacing: -0.015em;
}
.geo-markets {
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.geo-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  font-weight: 400;
}

/* ---------- CTA ---------- */
.cta-band { background: var(--paper-warm); border-top: 1px solid var(--silver-200); }
.cta-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.cta-title { margin-bottom: 0; }
.cta-note {
  font-size: 1rem; color: var(--navy-700);
  margin-bottom: 1.5rem; max-width: 40ch; line-height: 1.65;
  font-weight: 400;
}
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }

/* ========== PORTAL ========== */
.body-portal { background: var(--paper); display: flex; flex-direction: column; min-height: 100vh; }
.portal-main {
  flex: 1; display: flex; align-items: stretch;
  position: relative; background: var(--paper); overflow: hidden;
}
.portal-shell {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr;
  max-width: 1400px; margin: 0 auto; width: 100%;
  min-height: calc(100vh - 170px);
}
.portal-left {
  position: relative; background: var(--navy-900); color: var(--paper);
  overflow: hidden; padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  display: flex; align-items: center;
}
.portal-left::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(184,153,104,0.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(106,130,176,0.12), transparent 60%);
  pointer-events: none;
}
.portal-left::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent 90%);
  pointer-events: none;
}
.portal-watermark {
  position: absolute; right: -15%; top: 50%; transform: translateY(-50%);
  width: 600px; height: 600px;
  background-image: var(--logo-white-mark);
  background-size: contain; background-repeat: no-repeat;
  opacity: 0.06; pointer-events: none;
}
.portal-left-inner { position: relative; max-width: 500px; z-index: 1; }
.portal-emblem { width: 56px; height: auto; margin-bottom: 2rem; }
.portal-emblem img { width: 100%; display: block; }
.portal-display {
  color: var(--paper);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
}
.portal-display .soft { color: var(--accent); }
.portal-lede {
  font-size: 1rem; color: rgba(255,255,255,0.8);
  line-height: 1.75; max-width: 44ch; margin-bottom: 2.5rem;
  font-weight: 400;
}
.portal-lede a {
  color: var(--accent);
  border-bottom: 1px solid rgba(184,153,104,0.4);
  font-weight: 600;
}
.portal-features {
  list-style: none; display: flex; flex-direction: column; gap: 1.2rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.portal-features li {
  display: flex; gap: 1rem; align-items: flex-start;
  font-size: 0.9rem; color: rgba(255,255,255,0.78); line-height: 1.6;
  font-weight: 400;
}
.feat-dot {
  flex-shrink: 0; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
  margin-top: 0.5rem; box-shadow: 0 0 0 3px rgba(184,153,104,0.2);
}
.portal-features strong {
  color: var(--paper); font-weight: 700; display: block; margin-bottom: 0.15rem;
}

.portal-right {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--paper); position: relative;
}
.portal-right::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--silver-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--silver-200) 1px, transparent 1px);
  background-size: 80px 80px; opacity: 0.22;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 90%);
  pointer-events: none;
}
.portal-card { width: 100%; max-width: 480px; margin: 0 auto; position: relative; }
.card-inset {
  background: var(--paper); border: 1px solid var(--silver-200);
  border-radius: 4px; padding: clamp(2rem, 4vw, 3rem);
  box-shadow: 0 40px 80px -40px rgba(10,31,77,0.18); position: relative;
}
.card-inset::before {
  content: ""; position: absolute; top: 0; left: 2rem; right: 2rem;
  height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.card-head { margin-bottom: 2rem; }
.card-title {
  font-weight: 300;
  font-size: 1.9rem;
  color: var(--navy-900);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.card-sub { font-size: 0.92rem; color: var(--silver-500); line-height: 1.6; font-weight: 400; }
.card-sub strong { color: var(--navy-900); font-weight: 700; }
.card-inset .btn-primary { margin-top: 0.5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.portal-handoff-note {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--silver-500);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.portal-handoff-note strong { color: var(--navy-800); font-weight: 700; }
.portal-contact-line {
  text-align: center; margin-top: 1.8rem;
  font-size: 0.85rem; color: var(--silver-500);
  font-weight: 500;
}
.portal-contact-line a {
  color: var(--navy-900); font-weight: 700;
  border-bottom: 1px solid var(--silver-300);
  transition: border 0.2s; padding-bottom: 1px;
}
.portal-contact-line a:hover { border-color: var(--navy-900); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--paper); border-top: 1px solid var(--silver-200);
  padding: 3rem var(--gutter) 2rem;
}
.footer-top {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr; gap: 3rem;
  padding-bottom: 2rem;
}
.footer-brand { display: flex; gap: 1.2rem; align-items: center; }
.footer-mark-img { width: 56px; height: auto; flex-shrink: 0; }
.footer-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  letter-spacing: -0.005em;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.footer-addr { font-size: 0.82rem; color: var(--silver-500); line-height: 1.5; font-weight: 400; }
.footer-mail {
  display: inline-block; margin-top: 0.25rem;
  font-size: 0.82rem; color: var(--navy-800);
  border-bottom: 1px solid var(--silver-300); transition: border 0.2s;
  font-weight: 600;
}
.footer-mail:hover { border-color: var(--navy-800); }
.footer-nav {
  display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end;
}
.footer-nav a {
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--navy-800); transition: color 0.2s; cursor: pointer;
  font-weight: 600;
}
.footer-nav a:hover { color: var(--accent); }
.footer-rule { max-width: var(--max); margin: 0 auto; height: 1px; background: var(--silver-200); }
.footer-legal {
  max-width: var(--max); margin: 0 auto;
  padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem;
}
.footer-legal p {
  font-size: 0.76rem; color: var(--silver-500); line-height: 1.7; max-width: 90ch;
  font-weight: 400;
}
.footer-copy {
  font-size: 0.72rem !important; letter-spacing: 0.1em; color: var(--silver-400) !important;
  font-weight: 500;
}

/* Animations */
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-emblem-wrap { order: -1; }
  .hero-emblem { width: min(360px, 70vw); }
  .proposition .section-inner { grid-template-columns: 1fr; gap: 2rem; }
  .prop-intro { position: static; }
  .pillars-grid { grid-template-columns: 1fr; }
  .track-inner { grid-template-columns: 1fr; gap: 3rem; }
  .track-right { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 2rem; }
  .service-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-meta { position: static; display: flex; align-items: baseline; gap: 1rem; }
  .service-num { margin-bottom: 0; font-size: 3rem; }
  .story-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .story-aside { position: static; }
  .principles-grid { grid-template-columns: 1fr; }
  .geo-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-actions { justify-content: flex-start; }
  .portal-shell { grid-template-columns: 1fr; min-height: auto; }
  .portal-left { padding: 3rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 1.5rem; }
}
@media (max-width: 720px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--silver-200);
    padding: 1rem var(--gutter); align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.8rem 0; width: 100%; border-bottom: 1px solid var(--silver-200); }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav .nav-portal { margin-top: 0.5rem; }
  .nav-toggle { display: flex; }
  .geo-grid { grid-template-columns: 1fr; }
  .stat { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .stat-num { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
  /* Reset any elements that relied on animation to reveal themselves */
  .hero-copy, .hero-emblem-wrap, .hero-bg-emblem,
  .pillar, .principle, .geo-region, .stat, .service-body {
    opacity: 1 !important;
    transform: none !important;
  }
}


@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Brief highlight on a section when it's navigated to via "Read more" */
.section.is-target { animation: targetFlash 2s var(--ease); }
@keyframes targetFlash {
  0% { background-color: rgba(184, 153, 104, 0); }
  15% { background-color: rgba(184, 153, 104, 0.08); }
  100% { background-color: rgba(184, 153, 104, 0); }
}
/* For the dark service-lead card, use a lighter flash */
.section.service-lead.is-target { animation: targetFlashLead 2s var(--ease); }
@keyframes targetFlashLead {
  0% { filter: brightness(1); }
  15% { filter: brightness(1.08); }
  100% { filter: brightness(1); }
}



/* Target flash for multi-page anchor navigation (e.g. services.html#capital) */
.section:target {
  animation: targetFlash 2s var(--ease);
}
.section.service-lead:target {
  animation: targetFlashLead 2s var(--ease);
}

/* "How we work" — network section on About */
.section.network { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.network-inner { max-width: var(--max); margin: 0 auto; }
.network-grid { display: grid; grid-template-columns: 220px 1fr; gap: 4rem; }
.network-body h2 { margin: 0 0 1.25rem; }
.network-body p { font-size: 1.02rem; line-height: 1.7; color: var(--ink, #1a2440); margin: 0 0 1rem; max-width: 62ch; }
.network-body p:last-child { margin-bottom: 0; color: rgba(26,36,64,0.7); font-size: 0.92rem; padding-top: 1rem; border-top: 1px solid var(--silver-200); margin-top: 1.5rem; }
@media (max-width: 720px) {
  .network-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
