/* ---------- Tokens ---------- */
:root {
  --bg: #0f0e0c;
  --panel: #16140f;
  --paper: #f7f2e8;
  --paper-2: #efe7d5;
  --ink: #1a1712;
  --ink-2: #4a4438;
  --muted: #8a8172;
  --line: #d8ceb8;
  --line-dark: #2a251c;
  --accent: #ff5b3a;      /* jelly coral */
  --accent-2: #ffd166;    /* warm gold */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--pad);
  background: rgba(247,242,232,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo { font-size: 20px; }
.brand-name { font-family: var(--serif); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand-x { color: var(--muted); }
.brand-loeb { font-weight: 600; color: var(--ink-2); }
.meta { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.meta-item { text-transform: uppercase; }
.meta-dot { opacity: 0.5; }

/* ---------- Slides ---------- */
#deck { display: block; }
.slide {
  min-height: 100vh;
  padding: 96px var(--pad) 120px;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  scroll-snap-align: start;
}
.slide-inner { width: 100%; max-width: 1180px; margin: 0 auto; }
.slide-header {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 28px;
}
.kicker { color: var(--accent); font-weight: 600; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(44px, 7.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.display.sm { font-size: clamp(34px, 5.4vw, 72px); }
.display em {
  font-style: italic;
  color: var(--accent);
  font-weight: 800;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--ink-2);
  max-width: 720px;
  margin-top: 18px;
  font-style: italic;
  font-weight: 400;
}
h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
}
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }

/* ---------- Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-2.tight, .grid-3.tight { gap: 16px; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 2px;
  box-shadow: 4px 4px 0 rgba(26,23,18,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translate(-1px,-1px); box-shadow: 6px 6px 0 rgba(26,23,18,0.1); }
.card.outline { background: transparent; border: 1px solid var(--ink); box-shadow: none; }
.card.outline:hover { background: #fff; }
.card.mini { padding: 18px; }
.card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  font-weight: 600;
}
.card p { color: var(--ink-2); font-size: 14.5px; }
.card.mini p { font-size: 13.5px; }

/* ---------- Bullets ---------- */
.bullets { list-style: none; margin-top: 8px; }
.bullets li {
  position: relative;
  padding-left: 22px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-top: 1px dashed var(--line);
}
.bullets li:first-child { border-top: none; padding-top: 4px; }
.bullets li::before {
  content: "→";
  position: absolute;
  left: 0; top: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 600;
}
.bullets li b { color: var(--ink); font-weight: 700; }

/* ---------- Quote ---------- */
.quote {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--paper-2);
  border-left: 4px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--ink);
  position: relative;
}
.q-mark {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 0;
  color: var(--accent);
  vertical-align: -18px;
  margin-right: 8px;
}
.q-attr {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Founders ---------- */
.founder {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.founder-avatar {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.02em;
}
.founder-avatar.alt { background: var(--ink); }
.founder-role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
  margin-bottom: 10px;
}

/* ---------- Strip ---------- */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.strip-item {
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.strip-item:last-child { border-right: none; }
.strip-item b {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--accent);
  letter-spacing: -0.02em;
}
.strip-item span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Round ---------- */
.round-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
}
.round-stat {
  padding: 32px 24px;
  border-right: 1px solid var(--ink);
  background: #fff;
}
.round-stat:last-child { border-right: none; }
.round-stat.accent { background: var(--accent); color: #fff; }
.round-stat.accent .stat-label { color: rgba(255,255,255,0.85); }
.stat-num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(44px, 6vw, 78px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.committed { }
.committed-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.committed-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  background: #fff;
}
.chip.dim { color: var(--muted); border-style: dashed; background: transparent; }

.footnote {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 780px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}

/* ---------- Funnel ---------- */
.funnel {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  gap: 12px;
  align-items: stretch;
}
.funnel-step {
  background: #fff;
  border: 1px solid var(--ink);
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.funnel-step.mid { background: var(--paper-2); }
.funnel-step.big { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.funnel-step.big .funnel-tag { color: var(--accent-2); }
.funnel-step.big .funnel-sub { color: rgba(247,242,232,0.7); }
.funnel-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.funnel-num {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.funnel-step.mid .funnel-num { color: var(--ink); }
.funnel-step.big .funnel-num { color: var(--accent-2); }
.funnel-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.funnel-sub.small { font-size: 12px; color: var(--muted); }
.funnel-arrow {
  align-self: center;
  font-family: var(--serif);
  font-size: 34px;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: var(--ink);
  color: var(--paper);
  flex-wrap: wrap;
}
.cta-text { display: flex; flex-direction: column; gap: 4px; }
.cta-text b { font-family: var(--serif); font-size: 20px; }
.cta-text span { font-family: var(--mono); font-size: 12px; color: rgba(247,242,232,0.7); }
.cta-badge {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 40;
  box-shadow: 0 8px 32px rgba(26,23,18,0.25);
}
.nav button {
  background: transparent;
  color: var(--paper);
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
  min-width: 44px; min-height: 36px;
}
.nav button:hover { background: rgba(255,255,255,0.1); }
.dots { display: flex; gap: 8px; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(247,242,232,0.3);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.2s ease;
}
.dot.active { background: var(--accent); transform: scale(1.3); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .strip, .round-grid { grid-template-columns: 1fr; }
  .strip-item, .round-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .strip-item:last-child, .round-stat:last-child { border-bottom: none; }
  .funnel { grid-template-columns: 1fr; }
  .funnel-arrow { transform: rotate(90deg); justify-self: center; }
  .founder { flex-direction: column; }
  .founder-avatar { width: 54px; height: 54px; font-size: 20px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta-badge { align-self: stretch; text-align: center; }
}
@media (max-width: 560px) {
  .topbar { padding: 12px 16px; font-size: 10.5px; }
  .brand-name { font-size: 16px; }
  .slide { padding: 76px 18px 100px; }
  .slide-header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .kicker-right { font-size: 10px; }
}
