:root {
  color-scheme: only light;
  --paper: #FFFFFF;
  --tint: #FAF7F1;
  --tint-2: #F4EEE3;
  --ink: #1D1710;
  --body: #3D362C;
  --muted: #756C5D;
  --gold: #A97E35;
  --gold-soft: #DBA95C;
  --espresso: #1C0F04;
  --hairline: #E7E0D2;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img { max-width: 100%; }

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  height: 78px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  transition: height .25s ease, box-shadow .25s ease;
}
nav.scrolled {
  height: 60px;
  box-shadow: 0 6px 24px rgba(28, 15, 4, 0.08);
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 40px; width: auto; transition: height .25s ease; }
nav.scrolled .nav-brand img { height: 32px; }
.nav-brand span {
  font-family: var(--serif); font-size: 21px; font-weight: 600;
  color: var(--ink); letter-spacing: 0.03em; white-space: nowrap;
}
.nav-links { display: flex; gap: clamp(14px, 2.2vw, 34px); align-items: center; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 12.5px;
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1.5px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--espresso); color: #F5EBDC !important;
  padding: 11px 22px !important; border-radius: 2px;
  border-bottom: none !important; font-weight: 600 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: #3A2410; color: #fff !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 26px; cursor: pointer; }

/* ---------- PAGE HEADER ---------- */
.page-head {
  text-align: center;
  padding: clamp(64px, 9vw, 110px) 24px clamp(40px, 6vw, 70px);
  max-width: 880px; margin: 0 auto;
}
.kicker {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 18px;
}
h1.display, h2.display {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(38px, 5.5vw, 64px); line-height: 1.08;
}
.hero-head { padding-top: clamp(36px, 4.5vw, 56px); padding-bottom: clamp(24px, 3vw, 40px); }
h1.hero-title { font-size: clamp(52px, 7.7vw, 90px); }
.lede {
  margin: 24px auto 0; max-width: 640px;
  font-size: clamp(15.5px, 1.5vw, 18px); font-weight: 300; color: var(--muted);
}

/* ---------- STRUCTURE ---------- */
section { padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 60px); }
.wrap { max-width: 1140px; margin: 0 auto; }
.center { text-align: center; }
.rule {
  width: 56px; height: 2px; background: var(--gold-soft);
  margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 16px 36px;
  border-radius: 2px; transition: all .2s;
}
.btn-dark { background: var(--espresso); color: #F5EBDC; }
.btn-dark:hover { background: #3A2410; color: #fff; }
.btn-line { border: 1px solid var(--gold); color: var(--gold); }
.btn-line:hover { background: var(--gold); color: #fff; }

/* ---------- STATS (open, no boxes) ---------- */
.stats-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0; max-width: 1100px; margin: 0 auto;
}
.stat {
  flex: 1 1 180px; text-align: center; padding: 10px 28px;
  border-left: 1px solid var(--hairline);
}
.stat:first-child { border-left: none; }
.stat .num {
  font-family: var(--serif); font-size: clamp(42px, 4.5vw, 60px);
  font-weight: 600; color: var(--ink); line-height: 1;
}
.stat .num em { font-style: normal; color: var(--gold); }
.stat .lbl {
  margin-top: 10px; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}

/* ---------- LOGO MARQUEE ---------- */
.marquee-section { padding-top: 0; padding-bottom: clamp(80px, 10vw, 130px); }
.marquee-label {
  text-align: center; font-size: 11.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  margin-bottom: 38px;
}
.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: clamp(48px, 6vw, 90px);
  width: max-content;
  animation: scroll 36s linear infinite;
  padding-right: clamp(48px, 6vw, 90px);
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 30px; width: auto; flex: none;
  filter: grayscale(1); opacity: 0.72;
  transition: filter .25s, opacity .25s;
}
.marquee-track img:hover { filter: grayscale(0); opacity: 1; }
/* optical size balancing: wider wordmarks get shorter heights */
.marquee-track img.h-xs { height: 22px; }
.marquee-track img.h-sm { height: 26px; }
.marquee-track img.h-md { height: 30px; }
.marquee-track img.h-lg { height: 36px; }
.marquee-track img.h-xl { height: 44px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------- LOGO GRID (placements) ---------- */
.logo-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px; margin-top: 54px;
}
.logo-cell {
  flex: 0 0 226px;
  display: flex; align-items: center; justify-content: center;
  min-height: 142px; padding: 26px;
  border: 1px solid var(--hairline); border-radius: 3px; background: #fff;
  transition: box-shadow .25s, border-color .25s;
}
html.js .logo-cell { opacity: 0; transform: translateY(14px); }
.logo-cell.reveal { animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards; }
.logo-cell:hover { border-color: var(--gold-soft); box-shadow: 0 10px 30px rgba(28, 15, 4, 0.07); }
.logo-cell img {
  max-height: 52px; max-width: 84%; object-fit: contain;
  filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s;
}
.logo-cell:hover img { filter: grayscale(0); opacity: 1; }
.logo-cell img.h-xs { max-height: 32px; }
.logo-cell img.h-sm { max-height: 40px; }
.logo-cell img.h-md { max-height: 48px; }
.logo-cell img.h-lg { max-height: 58px; }
.logo-cell img.h-xl { max-height: 72px; }
.logo-cell img.citi-fix { max-height: 50px; transform: translate(0, -10%); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- CARDS / PEOPLE ---------- */
.section-title {
  font-family: var(--serif); font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600; color: var(--ink); line-height: 1.15;
}
.team-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 0 0 34px; }
.team-head .tag {
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 2px;
  padding: 4px 11px; font-weight: 600;
}
.people {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 26px 22px;
}
.person { text-align: left; }
.person .photo {
  aspect-ratio: 1 / 1.05; border-radius: 3px; overflow: hidden;
  background: radial-gradient(ellipse 90% 75% at 50% 30%, #F1E9DA, #E4DBC8);
  display: flex; align-items: flex-end; justify-content: center;
  margin-bottom: 16px;
  position: relative;
}
.person .photo .overlay {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.96);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 20px; text-align: center;
  opacity: 0; transition: opacity .28s ease;
}
@media (hover: hover) {
  .person .photo:hover .overlay,
  .person .photo:focus-within .overlay { opacity: 1; }
}
.person .photo .overlay.show { opacity: 1; }
.person .overlay img {
  max-width: 72%; max-height: 44px; object-fit: contain;
  filter: grayscale(1);
}
.person .overlay .ov-firm {
  font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink);
}
.person .overlay .yr {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.person .photo > img {
  width: 92%; height: 96%; object-fit: cover; object-position: top center;
  display: block;
}
.person h4 { font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.person .role {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 6px 0 8px;
}
.person .firm { font-size: 14px; font-weight: 600; color: var(--body); }
.person .det { font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* text-only cards (advisors, founders) */
.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid var(--hairline); border-radius: 3px; background: #fff;
  padding: 26px 24px; transition: border-color .2s, box-shadow .25s;
}
.card:hover { border-color: var(--gold-soft); box-shadow: 0 10px 30px rgba(28,15,4,0.06); }
.card h4 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--ink); }
.card .role { font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 5px 0 10px; }
.card .firm { font-size: 14px; font-weight: 600; color: var(--body); }
.card .det { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- MISC ---------- */
.tint-band { background: var(--tint); }
.prose { max-width: 700px; }
.prose p { margin-bottom: 18px; font-size: 16.5px; font-weight: 300; color: var(--body); }
.prose p strong { font-weight: 600; color: var(--ink); }
.sig { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--gold); }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pillar { border-top: 2px solid var(--gold-soft); padding-top: 22px; }
.pillar h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pillar p { font-size: 14.5px; color: var(--muted); font-weight: 300; }

.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 26px; margin-top: 24px; }
.roster li {
  list-style: none; font-size: 14.5px; color: var(--body);
  padding: 8px 0; border-bottom: 1px solid var(--hairline);
}

/* partnership */
.partner-band { background: var(--espresso); color: #EDE4D7; }
.partner-grid {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(36px, 6vw, 80px);
  align-items: center; max-width: 1080px; margin: 0 auto;
}
.partner-logo-box {
  background: #fff; border-radius: 4px; padding: 34px 30px;
  display: flex; align-items: center; justify-content: center;
}
.partner-logo-box img { width: 100%; height: auto; }
.partner-copy .kicker { color: var(--gold-soft); }
.partner-copy h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; color: #FBF6EC; line-height: 1.12; margin-bottom: 16px; }
.partner-copy p { font-weight: 300; font-size: 15.5px; color: #C9BCA7; margin-bottom: 14px; }
.partner-copy p strong { color: #F0E6D2; font-weight: 600; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--espresso);
  padding: 54px clamp(20px, 5vw, 60px) 40px;
  color: #B7A88F;
}
.foot-grid {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 36px; flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { height: 40px; }
.foot-brand span { font-family: var(--serif); font-size: 20px; color: #F0E6D2; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a {
  color: #C9BCA7; text-decoration: none; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
}
.foot-links a:hover { color: var(--gold-soft); }
.foot-base {
  max-width: 1140px; margin: 36px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(219, 169, 92, 0.18);
  font-size: 12.5px; font-weight: 300;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- SCROLL REVEAL ---------- */
html.js .fx {
  opacity: 0; transform: translateY(16px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .3, 1);
}
html.js .fx.fx-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .fx { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
  .partner-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .partner-logo-box { max-width: 210px; padding: 22px 24px; margin: 0 auto; }
  .partner-copy .kicker { text-align: center; }
}
@media (max-width: 760px) {
  nav.scrolled .nav-links { top: 60px; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column; padding: 24px; gap: 18px;
    border-bottom: 1px solid var(--hairline);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .stat { border-left: none; flex-basis: 45%; }
}
