/* ============================================================
   PITCH DECK — OBSIDIAN / GOLD / SILVER
   Capital Consortium · Master Pro Solutions · Connected Capital
   ============================================================ */

:root {
  /* Palette — Black/Gold Manhattan */
  --obsidian:      #07080a;
  --graphite:      #101114;
  --ink:           #1a1c20;
  --hairline:      #2a2c30;
  --bone:          #efe7d4;
  --silk:          #e8e2d2;
  --silver:        #b8b5ad;
  --silver-dim:    #6e6c66;
  --gold:          #c9a35a;
  --gold-bright:   #e6c068;
  --gold-dim:      #8a7340;
  --crimson:       #7a1f1f;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Tiempos Headline', 'Apple Garamond', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --slide-pad-x: clamp(48px, 7vw, 120px);
  --slide-pad-y: clamp(56px, 8vh, 96px);
  --max-content: 1280px;
  --hairline-width: 1px;
}

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

html, body {
  height: 100%;
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  scroll-snap-type: y proximity;
  overflow-y: scroll;
}

/* ---------- Subtle textured background (film grain + radial vignette) ---------- */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at top,    rgba(201,163,90,0.06), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(184,181,173,0.03), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none; opacity: 0.55; mix-blend-mode: overlay;
  z-index: 0;
}

/* ---------- Slide ---------- */
.slide {
  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: var(--slide-pad-y) var(--slide-pad-x);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-bottom: var(--hairline-width) solid var(--hairline);
}
.slide.cover { overflow: hidden; }  /* clip skyline only on cover */

.slide-inner {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---------- Slide chrome: section number + brand strip ---------- */
.slide-chrome {
  position: absolute;
  top: 28px; left: var(--slide-pad-x); right: var(--slide-pad-x);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--silver-dim);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.slide-chrome .section-num { color: var(--gold); }
.slide-chrome .brand-mark::before {
  content: ''; display: inline-block; width: 14px; height: 1px;
  background: var(--gold); vertical-align: middle; margin-right: 10px;
}

/* ---------- Slide footer: page number ---------- */
.slide-footer {
  position: absolute;
  bottom: 28px;
  left: var(--slide-pad-x); right: var(--slide-pad-x);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--silver-dim);
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.slide-footer .confidential { color: var(--gold-dim); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
h1.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--bone);
}
h1.display em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}
h2.headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--bone);
}
h3.subhead {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.005em;
  color: var(--silk);
}
.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: var(--silver);
  max-width: 780px;
}
p { color: var(--silk); max-width: 68ch; }
p + p { margin-top: 14px; }
strong { color: var(--bone); font-weight: 500; }
em.gold { font-style: normal; color: var(--gold); }

/* ---------- Hairline rule ---------- */
.rule {
  height: var(--hairline-width); width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  opacity: 0.55;
  margin: 36px 0;
}
.rule.short { width: 80px; background: var(--gold); opacity: 1; margin: 24px 0; }

/* ---------- Cover slide ---------- */
.slide.cover {
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 96px;
  padding-bottom: 260px;  /* reserve space for skyline */
  background:
    linear-gradient(135deg, rgba(201,163,90,0.08) 0%, transparent 50%),
    var(--obsidian);
}
.slide.cover .slide-inner { z-index: 1; }
.slide.cover .signoff { margin-bottom: 24px; }
.cover .crest {
  width: 56px; height: 56px;
  border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; color: var(--gold);
  margin-bottom: 40px;
  letter-spacing: -0.04em;
}
.cover .for-attention {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--silver);
  margin-top: 56px;
}
.cover .for-attention .target {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
  margin-top: 8px;
}
.cover .signoff {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--silver-dim);
  display: flex; justify-content: space-between; padding-top: 48px;
  border-top: 1px solid var(--hairline);
}
.cover .signoff .firm { color: var(--silk); }

/* ---------- Stat blocks ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--hairline);
  margin: 40px 0;
}
.stat {
  background: var(--graphite);
  padding: 32px 28px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.01em;
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat .num .unit { font-size: 0.5em; color: var(--silver); margin-left: 4px; }
.stat .label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--silver);
  margin-top: 14px;
}
.stat .sub {
  font-family: var(--font-sans);
  font-size: 13px; color: var(--silver-dim);
  margin-top: 6px;
}

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  margin-top: 48px;
}
.two-col.tight { gap: 40px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Bullet list (custom, gold dash) ---------- */
ul.dash { list-style: none; padding: 0; margin: 16px 0; }
ul.dash li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--silk);
}
ul.dash li::before {
  content: '';
  position: absolute; left: 0; top: 0.7em;
  width: 16px; height: 1px;
  background: var(--gold);
}

/* ---------- Term card (used in fund structure slide) ---------- */
.term-card {
  background: var(--graphite);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--gold);
  padding: 24px 28px;
}
.term-card .term { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); }
.term-card .value { font-family: var(--font-display); font-size: 28px; color: var(--bone); margin-top: 8px; line-height: 1.1; font-feature-settings: "lnum" 1, "tnum" 1; font-variant-numeric: lining-nums tabular-nums; }
.term-card .detail { font-size: 13px; color: var(--silver-dim); margin-top: 6px; }

/* ---------- Team card ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  margin-top: 40px;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-card {
  background: var(--graphite);
  padding: 36px 32px;
  display: flex; flex-direction: column;
}
.team-card .role-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.team-card .name {
  font-family: var(--font-display);
  font-size: 26px;
  margin-top: 12px;
  color: var(--bone);
  line-height: 1.15;
}
.team-card .blurb {
  font-size: 14px;
  color: var(--silver);
  margin-top: 16px;
  line-height: 1.55;
}
.team-card .domain {
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--silver-dim);
}

/* ---------- Track record table ---------- */
.tr-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 14px;
}
.tr-table thead th {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gold-dim);
  font-weight: 500;
}
.tr-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  color: var(--silk);
}
.tr-table tbody td.num { font-family: var(--font-mono); color: var(--bone); text-align: right; }
.tr-table tbody tr:hover td { background: rgba(201,163,90,0.04); }

/* ---------- TOC strip (slide 2) ---------- */
.toc-list {
  list-style: none;
  border-top: 1px solid var(--hairline);
  margin-top: 40px;
}
.toc-list li {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}
.toc-list .toc-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; color: var(--gold); }
.toc-list .toc-title { font-family: var(--font-display); font-size: 22px; color: var(--bone); }
.toc-list .toc-page { font-family: var(--font-mono); font-size: 11px; color: var(--silver-dim); letter-spacing: 0.15em; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.6;
  color: var(--silver-dim);
  letter-spacing: 0.01em;
  max-width: 820px;
}
.disclaimer strong { color: var(--silver); }

/* ---------- Print / export ---------- */
@media print {
  body { scroll-snap-type: none; }
  .slide { page-break-after: always; min-height: 0; height: 100vh; }
  body::before, body::after { display: none; }
}
