/* 2C Capital Management — site styles */

:root {
  --ink: #0e0e0e;
  --ink-2: #161615;
  --ivory: #f5f4ef;
  --white: #ffffff;
  --text: #161614;
  --text-2: #3d3c38;
  --muted: #5b5a55;
  --line: #e2e0d8;
  --line-soft: #ecebe3;
  --gold: #c9a768;          /* accent on dark */
  --gold-text: #7a5f2a;     /* gold for text on light (AA) */
  --dark-text: #f5f4ef;
  --dark-muted: #b5b3ab;
  --dark-soft: #a3a19a;
  --dark-line: #2e2d2a;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 16px;
  --wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
p, h1, h2, h3, dl, dd, ol { margin: 0; }
address { font-style: normal; }
a { color: var(--gold-text); }
a:hover { color: #4f3d18; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--gold); color: var(--ink); border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 40px; }
.section { padding-block: 120px; }

/* Dark surfaces */
.dark { background: var(--ink); color: var(--dark-text); }
.dark a { color: var(--dark-text); }
.dark .muted { color: var(--dark-muted); }
.dark .eyebrow, .dark .tag, .dark .num { color: var(--gold); }
.dark .intro, .dark .lead { color: #c8c6be; }
.dark .note { color: #8c8a83; }

.band--white { background: var(--white); border-block: 1px solid var(--line); }

/* Type */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 16px;
}
.eyebrow--spaced { margin-top: 88px; margin-bottom: 24px; }
.display {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.03em;
  font-size: clamp(44px, 7vw, 96px); line-height: 1.02; max-width: 900px;
}
.display--md { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; }
.h2 {
  font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em;
  font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; max-width: 780px;
}
.h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px; }
.h3--lg { font-size: 28px; }
.h3--sm { font-size: 22px; }
.h3--xs { font-size: 19px; margin-bottom: 6px; }
.lead { margin-top: 28px; max-width: 640px; font-size: 19px; }
.intro { margin-top: 24px; max-width: 760px; font-size: 18px; color: var(--text-2); }
.muted { color: var(--muted); }
.note { margin-top: 24px; font-size: 13px; color: var(--muted); max-width: 900px; }
.fine { margin-top: 40px; font-size: 12px; color: #8c8a83; }
.fine a { color: #c8c6be; }
.num { font-family: var(--font-display); font-size: 14px; color: var(--gold-text); }
.tag { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.tag--muted { color: var(--dark-soft) !important; margin-bottom: 12px; }
.big { font-family: var(--font-display); font-size: 64px; line-height: 1; letter-spacing: -0.02em; }
.is-accent { color: var(--gold) !important; }
.prose > div > p + p { margin-top: 20px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.dark .btn--solid, .btn--solid { background: var(--gold); color: var(--ink); }
.btn--solid:hover { background: #dbbf87; color: var(--ink); }
.btn--ghost { border: 1px solid #4a4944; font-weight: 500; }
.btn--ghost:hover { border-color: var(--gold); }
.dark .btn--outline, .btn--outline { min-height: 44px; padding: 0 20px; border: 1px solid var(--gold); color: var(--gold); font-weight: 500; }
.btn--outline:hover { background: var(--gold); color: var(--ink) !important; }
.btn--link { padding: 0 8px; text-decoration: underline; font-weight: 500; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__mark { position: absolute; right: -120px; top: 60px; width: 900px; height: 450px; color: var(--gold); opacity: .18; pointer-events: none; }
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(14, 14, 14, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--dark-line); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; }
.nav__logo img { height: 44px; width: auto; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3935; background: transparent; color: var(--dark-text); align-items: center; justify-content: center; cursor: pointer; }
.nav__icon-close { display: none; }
.nav-open .nav__icon-open { display: none; }
.nav-open .nav__icon-close { display: block; }
section[id], footer[id] { scroll-margin-top: 80px; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: 14px; }
.dark .nav__link { color: #d9d7cf; text-decoration: none; }
.dark .nav__link:hover { color: var(--gold); }
.hero__body { position: relative; padding-top: 120px; padding-bottom: 72px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 112px; padding-top: 36px; border-top: 1px solid var(--dark-line); }
.stats__value { font-family: var(--font-display); font-size: 44px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.stats dd { margin-top: 6px; font-size: 14px; color: var(--dark-soft); }

/* Layout helpers */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; margin-top: 40px; font-size: 17px; color: var(--text-2); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid--spaced { margin-top: 56px; }
.grid--loose { column-gap: 48px; row-gap: 40px; }
.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.split .h2 { max-width: 640px; }
.split__aside { max-width: 440px; color: var(--text-2); }
.ruled { border-top: 2px solid var(--ink); padding-top: 24px; }
.ruled .h3 { margin-top: 12px; }
.ruled--dark { border-top: 1px solid #3a3935; }
.ruled--dark .h3 { margin: 0 0 4px; font-size: 26px; }
.ruled--dark .tag { margin-bottom: 16px; }
.ruled--dark .muted { font-size: 15px; }

/* Thesis */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.panel { background: var(--ivory); border-radius: var(--radius); padding: 36px; }
.panel .h3 { font-size: 22px; margin-bottom: 24px; }
.lens { display: flex; flex-direction: column; gap: 20px; }
.lens dt { font-weight: 600; }
.lens dd { margin-top: 4px; }
.callout { margin-top: 24px; padding: 28px 36px; background: var(--ink); color: var(--dark-text); border-radius: var(--radius); font-size: 17px; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__head .h3 { margin: 0; }
.card__body { flex-grow: 1; font-size: 15px; }
.card__foot { padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--text-2); }
.card__foot .tag { display: block; }
.card > .h3 { margin: 0; }
.pill { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--ivory); }

/* Process */
.steps { list-style: none; padding: 0; margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.steps li { border-top: 1px solid #3a3935; padding-top: 24px; }
.steps .h3 { margin: 18px 0 4px; }
.steps .tag { margin-bottom: 12px; }
.steps .muted { font-size: 15px; }
.steps__dot { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 15px; background: var(--ivory); color: var(--ink); }
.steps__dot.is-accent { background: var(--gold); color: var(--ink) !important; }
.tests { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.tests li { background: var(--ink-2); padding: 28px 32px; display: flex; gap: 20px; }
.tests .num { font-size: 15px; min-width: 20px; }
.tests .muted { font-size: 15px; }

/* Track record */
.exit { border-radius: var(--radius); padding: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.exit .tag { margin-bottom: 12px; }
.exit .h3 { font-size: 26px; margin: 0; }
.exit__note { margin-top: 4px; font-size: 14px; color: var(--dark-soft); }
.exit__multiple { align-self: flex-end; text-align: right; }
.exit__label { margin-top: 8px; font-size: 13px; color: var(--dark-soft); }
.timeline { display: grid; grid-template-columns: 56px auto; row-gap: 4px; margin-top: 20px; font-size: 14px; color: #d9d7cf; }
.timeline dt { color: #8c8a83; }
.timeline--light { margin-top: 0; color: var(--text-2); grid-template-columns: 48px auto; }
.timeline--light dt { color: var(--muted); }
.holding { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.holding__multiple { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -0.02em; }

/* Co-invest */
.how { margin-top: 80px; border-radius: 20px; padding: 48px; }
.how .eyebrow { margin-bottom: 32px; }
.how__steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.how__steps .big { font-size: 40px; }
.how__steps .h3 { margin-top: 16px; }
.how__steps .muted { font-size: 15px; }
.how__who { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; }
.how__who .tag { font-size: 12px; letter-spacing: .18em; }
.how__who p { flex: 1 1 420px; color: #d9d7cf; }

/* Contact & footer */
.partner { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: center; }
.partner__logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 160px; height: 56px; border-radius: 8px; background: var(--ivory); color: var(--ink); font-family: var(--font-display); font-size: 14px; font-weight: 600; }
.partner .muted { font-size: 15px; }
.legal { border-top: 1px solid var(--dark-line); }
.legal__inner { padding-block: 56px; display: flex; flex-wrap: wrap; gap: 40px; }
.legal__inner > div { flex: 1 1 560px; min-width: 0; }
.legal__logo { height: 40px; width: auto; flex-shrink: 0; }
.legal__text { font-size: 13px; line-height: 1.65; color: #8c8a83; }
.legal__text + .legal__text { margin-top: 24px; }

/* Small screens */
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px; background: var(--ink); border-bottom: 1px solid var(--dark-line);
    font-size: 17px; max-height: calc(100vh - 77px); overflow-y: auto;
  }
  .nav-open .nav__links { display: flex; }
  .dark .nav__link { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--dark-line); }
  .nav__links .btn--outline { margin-top: 20px; min-height: 52px; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 20px; }
  .section { padding-block: 80px; }
  .hero__body { padding-top: 56px; }
  .nav__logo img { height: 36px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 64px; gap: 28px 20px; }
  .stats__value { font-size: 32px; }
  .eyebrow--spaced { margin-top: 64px; }
  .grid--2, .grid--3, .grid--4, .cols { grid-template-columns: 1fr; }
  .how, .exit, .panel, .pillar { padding: 28px 24px; }
  .big { font-size: 48px; }
  .partner { flex-direction: column; align-items: flex-start; }
  .actions .btn--solid, .actions .btn--ghost { flex: 1 1 100%; }
}

/* A single exit card shouldn't stretch across the full width */
.exits { grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
