/* All In Capital Partners — brand v2 tokens */
:root {
  --navy-900: #0A1F3D;
  --paper-50: #FAFAF7;
  --ink-900: #0E0E10;
  --gold-500: #C9A961;
  --gold-700: #9A7E3F;
  --stone-100: #EFEDE7;
  --stone-300: #C9C5BB;
  --stone-500: #7A766C;
  --stone-700: #3E3C36;
  --serif: "GT Sectra", "Tiempos Headline", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-900);
  background: var(--paper-50);
  font-feature-settings: "tnum";
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 720px; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.5vw, 40px); line-height: 1.2; }
h3 { font-size: 24px; line-height: 1.33; }

.eyebrow {
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 500;
  display: block;
  margin-bottom: 24px;
}

.lede { font-size: 18px; line-height: 28px; color: var(--stone-500); max-width: 62ch; }

p { max-width: 68ch; }

a { color: inherit; }

.body-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}
.body-link:hover { border-color: var(--gold-700); }

/* Header */
header {
  background: var(--navy-900);
  color: var(--paper-50);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper-50);
}
.brand-word { line-height: 1.1; }
.brand-word .allin {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 17px;
  display: block;
}
.brand-word .cp {
  font-weight: 400;
  letter-spacing: 0.2em;
  font-size: 10px;
  text-transform: uppercase;
  display: block;
  color: var(--stone-300);
}
nav.links { display: flex; gap: 32px; }
nav.links a {
  color: var(--paper-50);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
nav.links a:hover, nav.links a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--gold-500);
}

/* Hero */
.hero { background: var(--navy-900); color: var(--paper-50); padding: 128px 0; }
.hero h1 { max-width: 18ch; }
.hero .lede { color: var(--stone-300); margin-top: 24px; }
.hero .eyebrow { margin-bottom: 32px; }

/* Sections */
section { padding: 96px 0; }
section.navy { background: var(--navy-900); color: var(--paper-50); }
section.navy .lede { color: var(--stone-300); }
section.stone { background: var(--stone-100); }
.rule { border: 0; border-top: 1px solid var(--stone-300); }
section.navy .rule { border-top-color: rgba(201, 169, 97, 0.35); }

/* CTA */
.cta {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 32px;
  background: var(--gold-500);
  color: var(--navy-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 2px;
  transition: background 0.2s;
}
.cta:hover { background: var(--gold-700); color: var(--paper-50); }
.cta.ghost {
  background: transparent;
  color: var(--paper-50);
  border: 1px solid var(--gold-500);
}
.cta.ghost:hover { background: var(--gold-500); color: var(--navy-900); }

/* Grid cards */
.grid { display: grid; gap: 48px; margin-top: 64px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card .num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-700);
  display: block;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 16px; }
.card p { color: var(--stone-500); font-size: 15px; line-height: 24px; }
section.navy .card p { color: var(--stone-300); }

/* Dash lists */
ul.dash { list-style: none; margin-top: 24px; }
ul.dash li { padding-left: 28px; position: relative; margin-bottom: 12px; color: var(--stone-700); }
section.navy ul.dash li { color: var(--stone-300); }
ul.dash li::before { content: "—"; position: absolute; left: 0; color: var(--gold-500); }

/* Mandate rows */
.mandates { margin-top: 64px; }
.mandate {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--stone-300);
}
section.navy .mandate { border-top-color: rgba(201, 169, 97, 0.25); }
.mandate:last-child { border-bottom: 1px solid var(--stone-300); }
section.navy .mandate:last-child { border-bottom-color: rgba(201, 169, 97, 0.25); }
.mandate .sector { font-family: var(--serif); font-size: 20px; }
.mandate .type { color: var(--stone-500); font-size: 14px; }
section.navy .mandate .type { color: var(--stone-300); }
.mandate .size {
  text-align: right;
  font-weight: 500;
  color: var(--gold-700);
  font-feature-settings: "tnum";
}
section.navy .mandate .size { color: var(--gold-500); }

/* Process steps */
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--stone-300);
}
.step .phase {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold-700);
}
.step .dur { font-size: 13px; color: var(--stone-500); display: block; margin-top: 8px; }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--stone-700); }

/* Footer */
footer {
  background: var(--navy-900);
  color: var(--stone-300);
  padding: 64px 0 48px;
  font-size: 13px;
  line-height: 20px;
}
footer .cols {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 0.8fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}
footer h4 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 500;
  margin-bottom: 16px;
}
footer a { color: var(--stone-300); text-decoration: none; border-bottom: 1px solid transparent; }
footer a:hover { border-bottom-color: var(--gold-500); }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
.legal {
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  padding-top: 32px;
  color: var(--stone-500);
  font-size: 12px;
  line-height: 19px;
}
.legal p { max-width: none; margin-bottom: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .mandate { grid-template-columns: 1fr; gap: 4px; }
  .mandate .size { text-align: left; }
  section { padding: 48px 0; }
  .hero { padding: 72px 0; }
  nav.links { gap: 18px; flex-wrap: wrap; }
  .nav { flex-direction: column; gap: 20px; align-items: flex-start; }
}
