/* Future Hives — Investor Pitch */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter+Tight:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Core palette */
  --ink: #0B1220;          /* deep navy — primary dark bg */
  --ink-2: #131C30;        /* card / elevated surface on dark */
  --ink-3: #1E2942;        /* subtle border on dark */
  --cream: #F2EBDD;        /* warm off-white — light bg */
  --cream-2: #E8E0CF;      /* secondary cream */
  --paper: #FAF6EE;        /* lightest — paper */
  --indigo: #5B6CFF;       /* electric accent */
  --indigo-deep: #3344E5;
  /* ContractHive brand gradient */
  --ch-blue: #2BB8FF;
  --ch-purple: #6F2BFF;
  --ch-gradient: linear-gradient(160deg, #2BB8FF 0%, #5A7BFF 50%, #6F2BFF 100%);
  --gold: #C8A45C;         /* honey gold for big numbers */
  --gold-soft: #E8D4A0;
  --rust: #C2532D;         /* one warm signal */
  --line: rgba(255,255,255,0.10);
  --line-dark: rgba(11,18,32,0.10);
  --muted-on-dark: rgba(242,235,221,0.62);
  --muted-on-light: rgba(11,18,32,0.58);
}

/* deck-stage handles scaling — slides are absolute-positioned children */
html, body {
  margin: 0;
  padding: 0;
  background: #000;
  font-family: 'Inter Tight', -apple-system, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  letter-spacing: -0.01em;
}

/* ============ SLIDE BASE ============ */
.slide {
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: 'Inter Tight', sans-serif;
}

.slide.dark {
  background: var(--ink);
  color: var(--cream);
}

.slide.light {
  background: var(--cream);
  color: var(--ink);
}

.slide.paper {
  background: var(--paper);
  color: var(--ink);
}

/* Subtle grain on dark slides — adds material warmth */
.slide.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(91,108,255,0.10), transparent 50%),
    radial-gradient(circle at 85% 90%, rgba(200,164,92,0.06), transparent 55%);
  z-index: 0;
}

.slide > * { position: relative; z-index: 1; }

/* ============ CHROME ============ */
.chrome {
  position: absolute;
  left: 100px;
  right: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
  z-index: 10;
}
.chrome.top { top: 60px; }
.chrome.bottom { bottom: 56px; }
.chrome > div { white-space: nowrap; }

.dark .chrome { color: var(--muted-on-dark); }
.light .chrome, .paper .chrome { color: var(--muted-on-light); }

.chrome .num { color: var(--indigo); }
.dark .chrome .num { color: #8FA0FF; }

.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--indigo);
  margin: 0 14px;
  vertical-align: middle;
}
.dark .dot { background: var(--gold); }

/* ============ EYEBROW ============ */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.dark .eyebrow { color: var(--gold-soft); }
.light .eyebrow, .paper .eyebrow { color: var(--indigo-deep); }

/* ============ HEADLINE STYLES ============ */
.h-display {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 200px;
  line-height: 0.92;
  letter-spacing: -0.025em;
}

.h-title {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 132px;
  line-height: 0.96;
  letter-spacing: -0.022em;
}

.h-section {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 96px;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.h-card {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.italic-mark {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
}

.body-lg {
  font-size: 36px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.body {
  font-size: 28px;
  line-height: 1.45;
  font-weight: 400;
}

.body-sm {
  font-size: 24px;
  line-height: 1.45;
  font-weight: 400;
}

.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.dark .muted { color: var(--muted-on-dark); }
.light .muted, .paper .muted { color: var(--muted-on-light); }

/* Override: muted text inside a dark surface (e.g. inline ink card on a light slide) */
.on-dark .muted, .on-dark.muted { color: var(--muted-on-dark) !important; }

/* ============ BODY GRID ============ */
.stage {
  flex: 1;
  padding: 160px 100px 160px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* ============ PILLS ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.pill-gold {
  background: rgba(200,164,92,0.16);
  color: var(--gold);
  border: 1px solid rgba(200,164,92,0.30);
}
.pill-indigo {
  background: rgba(91,108,255,0.14);
  color: var(--indigo);
  border: 1px solid rgba(91,108,255,0.32);
}

/* ContractHive gradient utilities */
.ch-text {
  background: var(--ch-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ch-dot {
  display: inline-block;
  width: 0.6em; height: 0.6em;
  border-radius: 50%;
  background: var(--ch-gradient);
  vertical-align: 0.05em;
}
.pill-ch {
  background: rgba(111, 43, 255, 0.10);
  color: #B89BFF;
  border: 1px solid rgba(111, 43, 255, 0.32);
}
.ch-bar {
  width: 4px;
  align-self: stretch;
  border-radius: 2px;
  background: var(--ch-gradient);
}
.pill-cream {
  background: rgba(11,18,32,0.06);
  color: var(--ink);
  border: 1px solid rgba(11,18,32,0.10);
}
.pill-rust {
  background: rgba(194,83,45,0.14);
  color: var(--rust);
  border: 1px solid rgba(194,83,45,0.30);
}
.pill-status-live {
  background: rgba(91,108,255,0.16);
  color: #B8C2FF;
  border: 1px solid rgba(91,108,255,0.32);
}
.pill-status-dev {
  background: rgba(242,235,221,0.10);
  color: var(--muted-on-dark);
  border: 1px solid rgba(242,235,221,0.18);
}
.pill .live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ============ DIVIDER ============ */
.hr {
  height: 1px;
  background: var(--line);
  width: 100%;
}
.light .hr, .paper .hr { background: var(--line-dark); }

/* ============ COLUMN HELPERS ============ */
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-l { gap: 64px; }
.gap-m { gap: 36px; }
.gap-s { gap: 20px; }
.gap-xs { gap: 12px; }
