/* Verge public site — custom styles layered on top of Tailwind CDN */

html { scroll-behavior: smooth; }
body { background-color: #fff; color: #0F0F11; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fff; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #753BBD; }

/* YouTube background video — scaled to cover the hero */
.yt-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0F0F11; }
.yt-bg iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;      /* 16:9 */
  min-height: 100vh; min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

/* Scroll reveal (replaces framer-motion whileInView) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Sticky nav scrolled state */
#site-nav.scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  padding-top: 1rem; padding-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border-color: #f3f4f6;
}
.nav-link { position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: #00B0B9; transition: width .3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Investment journey — active stage node */
.journey-node.journey-active .journey-dot,
.journey-node-m.journey-active .journey-dot {
  background: #00B0B9; color: #fff; transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,176,185,0.3);
}
.journey-node.journey-active .journey-label { color: #00B0B9; }
.journey-node-m.journey-active { border-color: #00B0B9; background: rgba(0,176,185,0.05); }

/* Portfolio filter chips */
.pf-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 9999px;
  background: #753BBD; color: #fff; font-size: 12px; font-weight: 600;
  border: none; cursor: pointer; transition: opacity .2s ease;
}
.pf-chip:hover { opacity: 0.85; }
.pf-chip .pf-chip-x { font-size: 14px; line-height: 1; }

/* Measurable Impact — toggle tabs */
.impact-tab { color: #9ca3af; }
.impact-tab:hover { color: #fff; }
.impact-tab-active { background: #00B0B9; color: #fff !important; box-shadow: 0 8px 20px rgba(0,176,185,0.3); }

/* Line clamp fallbacks (Tailwind CDN ships these, kept for safety) */
.line-clamp-1, .line-clamp-3, .line-clamp-4 {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.line-clamp-1 { -webkit-line-clamp: 1; }
.line-clamp-3 { -webkit-line-clamp: 3; }
.line-clamp-4 { -webkit-line-clamp: 4; }
