/* ============================================
   FINSOL GLOBAL — Editorial Navy
   Inspired by McKinsey, Bain, BCG
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400;1,9..144,500&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Editorial whites */
  --white: #ffffff;
  --paper: #fafaf8;
  --off-white: #f5f5f3;
  --cream: #f0efea;

  /* Navy (from business card) */
  --navy-deepest: #051c2c;    /* McKinsey-style darkest */
  --navy-deep: #0a1628;       /* business card dark */
  --navy: #102a43;            /* primary brand navy */
  --navy-mid: #1a3555;        /* business card mid */
  --navy-light: #2d4a6b;      /* accents */
  --navy-pale: #e6ebf1;       /* lightest navy wash */

  /* Text */
  --text-primary: #051c2c;    /* main body text */
  --text-secondary: #354a5f;
  --text-muted: #6b7988;
  --text-light: #9aa5b4;

  /* Silver / metallic (from logo) */
  --silver: #8896a8;
  --silver-light: #b0bac8;

  /* Lines & borders */
  --line: #e2e5ea;
  --line-dark: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ---------- Container ---------- */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container--narrow {
  max-width: 980px;
}

/* ---------- Blue Line Pattern (McKinsey signature) ---------- */
.blue-lines {
  display: flex;
  gap: 4px;
}

.blue-lines span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
}

.blue-lines span:nth-child(2) { width: 16px; }
.blue-lines span:nth-child(3) { width: 8px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  height: 88px;
  display: flex;
  align-items: center;
  background: var(--white);
  transition: all 0.4s var(--ease);
}

.nav--scrolled {
  height: 72px;
  box-shadow: 0 1px 0 var(--line);
}

.nav--dark {
  background: var(--navy-deepest);
}

.nav--dark .nav__logo-text,
.nav--dark .nav__link {
  color: var(--white);
}

.nav--dark .nav__link {
  color: rgba(255, 255, 255, 0.7);
}

.nav--dark .nav__link:hover,
.nav--dark .nav__link--active {
  color: var(--white);
}

.nav--dark .nav__toggle span {
  background: var(--white);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__logo img {
  width: 38px;
  height: 38px;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--navy-deepest);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav__link:hover {
  color: var(--navy-deepest);
}

.nav__link--active {
  color: var(--navy-deepest);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--navy);
}

.nav__cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  background: var(--navy-deepest);
  padding: 12px 24px;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav__cta:hover {
  background: var(--navy);
  transform: translateX(-2px);
}

.nav__cta::after {
  content: '\2192';
  transition: transform 0.3s var(--ease);
}

.nav__cta:hover::after {
  transform: translateX(4px);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-deepest);
  transition: all 0.3s var(--ease);
}

.nav__toggle.active span:first-child { transform: rotate(45deg) translate(6px, 6px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:last-child { transform: rotate(-45deg) translate(6px, -6px); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 88px 0 0 0;
  background: var(--white);
  z-index: 99;
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
  flex-direction: column;
  gap: 0;
}

.nav__mobile.active { display: flex; }

.nav__mobile a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--navy-deepest);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s;
}

.nav__mobile a:hover {
  color: var(--navy);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  padding-top: 88px;
  background: var(--white);
}

.hero__content {
  padding: 5rem clamp(2rem, 5vw, 5rem) 5rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 2rem;
}

.hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--navy);
  border-radius: 50%;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy-deepest);
  margin-bottom: 2rem;
  font-variation-settings: "opsz" 144;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line-inner {
  display: block;
  transform: translateY(110%);
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 3rem;
  opacity: 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  opacity: 0;
}

.hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  background: var(--navy-deepest);
  padding: 18px 36px;
  transition: all 0.3s var(--ease);
}

.hero__btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(5, 28, 44, 0.15);
}

.hero__btn-primary::after {
  content: '\2192';
  transition: transform 0.3s var(--ease);
}

.hero__btn-primary:hover::after {
  transform: translateX(4px);
}

.hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-deepest);
  padding: 14px 0;
  border-bottom: 1.5px solid var(--navy-deepest);
  transition: all 0.3s var(--ease);
}

.hero__btn-secondary:hover {
  gap: 14px;
}

/* Blue line pattern at bottom of hero content */
.hero__lines {
  margin-top: auto;
  opacity: 0;
}

.hero__lines .blue-lines span {
  width: 60px;
  height: 3px;
}

/* Hero visual — large editorial image */
.hero__visual {
  position: relative;
  overflow: hidden;
  background: var(--navy-pale);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0%) brightness(0.95);
}

.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 22, 40, 0.1) 0%, transparent 30%);
  pointer-events: none;
}

/* Image caption overlay */
.hero__caption {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 2;
  padding: 1.5rem;
  background: rgba(5, 28, 44, 0.85);
  backdrop-filter: blur(16px);
  color: var(--white);
  opacity: 0;
}

.hero__caption-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-light);
  margin-bottom: 0.5rem;
}

.hero__caption-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
}

/* Inner page hero */
.hero--inner {
  min-height: 60vh;
  grid-template-columns: 1fr;
  padding: 200px 0 6rem;
  background: var(--paper);
}

.hero--inner .hero__content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  text-align: left;
}

.hero--inner .hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
}

.hero--inner .hero__subtitle {
  max-width: 720px;
}

/* ============================================
   IPO MARKETS TICKER (home page signature)
   ============================================ */
.ipo-markets {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ipo-markets__inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ipo-markets__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.ipo-markets__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--navy);
}

.ipo-markets__list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  flex-wrap: wrap;
  flex: 1;
}

.ipo-markets__item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy-deepest);
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s;
}

.ipo-markets__item:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -1.25rem;
  color: var(--text-light);
  font-weight: 300;
}

/* ============================================
   MARKETS WE SERVE GRID
   ============================================ */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.market {
  padding: 2.5rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  transition: background 0.3s;
  position: relative;
}

.market:hover {
  background: var(--paper);
}

.market__number {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.market__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy-deepest);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.market__flag {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

/* Single office variant */
.office--solo {
  max-width: 580px;
  margin: 0 auto;
}

/* ============================================
   STATS BANNER
   ============================================ */
.stats {
  padding: 5rem 0;
  background: var(--navy-deepest);
  color: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
}

.stats__item {
  padding: 0 1rem;
  position: relative;
}

.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stats__number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144;
}

.stats__label {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section--paper { background: var(--paper); }
.section--dark { background: var(--navy-deepest); color: var(--white); }
.section--mid-navy { background: var(--navy); color: var(--white); }

.section-header {
  max-width: 780px;
  margin-bottom: 4rem;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.section--dark .section-eyebrow,
.section--mid-navy .section-eyebrow {
  color: var(--silver-light);
}

.section-header--center .section-eyebrow {
  justify-content: center;
}

.section-eyebrow-line {
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-deepest);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144;
}

.section--dark .section-title,
.section--mid-navy .section-title {
  color: var(--white);
}

.section-title em {
  font-style: italic;
  font-weight: 400;
}

.section-lead {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
}

.section--dark .section-lead,
.section--mid-navy .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   SERVICES — Editorial Cards
   ============================================ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.service-card {
  grid-column: span 4;
  padding-top: 3rem;
  border-top: 1px solid var(--navy-deepest);
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.service-card:hover {
  border-top-color: var(--navy);
}

.service-card:hover .service-card__title {
  transform: translateX(8px);
}

.service-card__number {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy-deepest);
  margin-bottom: 1rem;
  transition: transform 0.4s var(--ease);
}

.service-card__desc {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-card__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-deepest);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--navy-deepest);
  transition: gap 0.3s var(--ease);
}

.service-card__link:hover {
  gap: 14px;
}

/* ============================================
   FEATURED QUOTE / INSIGHT SECTION
   ============================================ */
.featured-insight {
  padding: clamp(5rem, 10vw, 10rem) 0;
  background: var(--navy-deepest);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.featured-insight__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.featured-insight__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
}

.featured-insight__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--silver-light);
}

.featured-insight__quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 2.5rem;
  font-variation-settings: "opsz" 144;
}

.featured-insight__quote em {
  font-style: italic;
}

.featured-insight__attribution {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.featured-insight__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.featured-insight__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-insight__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white);
}

.featured-insight__role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

/* Image side */
.featured-insight__visual {
  position: relative;
  aspect-ratio: 4/5;
}

.featured-insight__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-insight__visual-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1rem;
  background: rgba(5, 28, 44, 0.9);
  backdrop-filter: blur(12px);
}

.featured-insight__visual-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-light);
  margin-bottom: 0.4rem;
}

.featured-insight__visual-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.3;
}

/* ============================================
   ABOUT / SPLIT SECTION
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--navy-pale);
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(5, 28, 44, 0.9) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 300;
}

.split__content {
  max-width: 540px;
}

.split__text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.split__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--navy-deepest);
  padding: 2rem 0;
  margin: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-variation-settings: "opsz" 144;
}

/* ============================================
   INSIGHTS PREVIEW CARDS
   ============================================ */
.insights-preview {
  background: var(--paper);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.insight-card {
  background: var(--white);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  border: 1px solid var(--line);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(5, 28, 44, 0.08);
  border-color: transparent;
}

.insight-card__image {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--navy);
}

.insight-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.insight-card:hover .insight-card__image img {
  transform: scale(1.05);
}

.insight-card__body {
  padding: 2rem;
}

.insight-card__category {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.insight-card__category::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--navy);
}

.insight-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy-deepest);
  margin-bottom: 1rem;
}

.insight-card__excerpt {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
}

.insight-card__meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.team-member__photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--navy-pale);
}

.team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--ease);
}

.team-member:hover .team-member__photo img {
  transform: scale(1.03);
}

.team-member__content {
  padding-top: 1rem;
}

.team-member__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy-deepest);
  margin-bottom: 0.25rem;
}

.team-member__name-cn {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.team-member__title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.team-member__bio {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   OFFICES
   ============================================ */
.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.office {
  padding: 3rem 2.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  transition: all 0.4s var(--ease);
}

.office:hover {
  border-color: var(--navy);
  box-shadow: 0 24px 60px rgba(5, 28, 44, 0.08);
}

.office__number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.office__number::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--navy);
}

.office__city {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--navy-deepest);
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144;
}

.office__tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.office__address {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.office__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.office__contact a {
  font-size: 0.9rem;
  color: var(--navy-deepest);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
}

.office__contact a:hover { color: var(--navy); }

.office__contact svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: clamp(5rem, 10vw, 10rem) 0;
  background: var(--navy-deepest);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__lines {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.cta__lines .blue-lines span {
  background: var(--silver);
  width: 60px;
  height: 2px;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 1.5rem;
  font-variation-settings: "opsz" 144;
}

.cta__title em {
  font-style: italic;
  font-weight: 400;
}

.cta__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  margin: 0 auto 3rem;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-deepest);
  background: var(--white);
  padding: 20px 44px;
  transition: all 0.3s var(--ease);
}

.cta__btn:hover {
  background: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1);
}

.cta__btn::after {
  content: '\2192';
  transition: transform 0.3s var(--ease);
}

.cta__btn:hover::after {
  transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 5rem 0 2rem;
  background: var(--navy-deepest);
  color: rgba(255, 255, 255, 0.65);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 320px;
}

.footer__heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.footer__social a:hover { color: var(--white); }

/* ============================================
   WHATSAPP FLOAT — with label & pulse
   ============================================ */
.whatsapp {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 16px;
  background: #25D366;
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5);
  transition: all 0.3s var(--ease);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp:hover {
  transform: translateY(-2px);
  background: #1ebd5a;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.45);
}

.whatsapp svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
  flex-shrink: 0;
}

.whatsapp__label {
  white-space: nowrap;
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.35), 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 600px) {
  .whatsapp__label { display: none; }
  .whatsapp { padding: 14px; }
}

/* ============================================
   GSAP REVEAL CLASSES
   ============================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-fade {
  opacity: 0;
}

/* ============================================
   SERVICES PAGE — DETAIL BLOCKS
   ============================================ */
.service-detail {
  padding: clamp(4rem, 7vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child { border-bottom: none; }

.service-detail--dark {
  background: var(--navy-deepest);
  color: var(--white);
  border-bottom: none;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.service-detail__number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem;
}

.service-detail--dark .service-detail__number {
  color: var(--silver-light);
}

.service-detail__number::before {
  content: '';
  width: 40px;
  height: 1px;
  background: currentColor;
}

.service-detail__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy-deepest);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144;
}

.service-detail--dark .service-detail__title {
  color: var(--white);
}

.service-detail__desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
}

.service-detail--dark .service-detail__desc {
  color: rgba(255, 255, 255, 0.7);
}

.service-detail__features {
  padding-top: 1rem;
}

.service-detail__features li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-detail--dark .service-detail__features li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.service-detail__features li::before {
  content: counter(feature);
  counter-increment: feature;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--navy);
  min-width: 28px;
  opacity: 0.7;
}

.service-detail--dark .service-detail__features li::before {
  color: var(--silver-light);
}

.service-detail__features {
  counter-reset: feature;
}

/* ============================================
   VALUES — About Page
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.value:hover {
  background: var(--paper);
}

.value__number {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.value__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy-deepest);
  margin-bottom: 0.75rem;
}

.value__desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--navy-deepest);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--navy-deepest);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23051c2c' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  background: var(--navy-deepest);
  padding: 20px 44px;
  transition: all 0.3s var(--ease);
  margin-top: 1rem;
  cursor: pointer;
  border: none;
}

.form-submit:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.form-submit::after {
  content: '\2192';
}

/* Contact info side */
.contact-info {
  padding-top: 1rem;
}

.contact-info__heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info__heading::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--navy);
}

.contact-info__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-info__label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.contact-info__value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy-deepest);
  font-weight: 400;
}

.contact-info__value a:hover { color: var(--navy); }

/* ============================================
   SERVICE NAV PILLS
   ============================================ */
.service-nav {
  padding: 2rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 88px;
  z-index: 50;
}

.service-nav__inner {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.service-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  padding-bottom: 6px;
  border-bottom: 1.5px solid transparent;
}

.service-nav a:hover,
.service-nav a.active {
  color: var(--navy-deepest);
  border-bottom-color: var(--navy);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .markets-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ipo-markets__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .ipo-markets__list {
    gap: 1.5rem;
  }

  .ipo-markets__item {
    font-size: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    padding: 6rem 2rem 4rem;
  }

  .hero__visual {
    aspect-ratio: 16/10;
    min-height: 400px;
  }

  .hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }

  .services-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .service-card {
    grid-column: span 6;
  }

  .featured-insight__grid {
    grid-template-columns: 1fr;
  }

  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split__image { max-width: 500px; margin: 0 auto; }

  .insights-grid { grid-template-columns: repeat(2, 1fr); }

  .team-grid { grid-template-columns: 1fr; }

  .service-detail__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .offices-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer__grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .markets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ipo-markets {
    padding: 2rem 0;
  }

  .ipo-markets__list {
    gap: 1.25rem 1.75rem;
  }

  .ipo-markets__item {
    font-size: 0.95rem;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stats__item:nth-child(2)::after { display: none; }

  .service-card {
    grid-column: span 12;
  }

  .insights-grid { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr; }

  .team-member {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero__actions { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .service-nav__inner { gap: 1rem; justify-content: flex-start; overflow-x: auto; }
  .service-nav { padding: 1rem 0; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats__item::after { display: none !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up, .reveal-fade { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
