/* ============ CS VENTURES SHARED NAV BAR ============ */
/* Imported by every page on the site. Defines the shared top bar
   and the CSS custom properties used across all pages. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #e8e8df;
  --panel: rgba(246,246,239,0.74);
  --panel-strong: rgba(249,249,242,0.94);
  --ink: #151915;
  --muted: #596157;
  --line: rgba(35,48,39,0.18);
  --green: #2e6b3f;
  --green-soft: #dce8cd;
  --blue: #315c75;
  --blue-soft: #dce7ed;
  --gold: #9e7132;
  --gold-soft: #efe3c9;
  --rose: #9b4f4d;
  --rose-soft: #efd9d6;
  --shadow: 0 1px 3px rgba(31,38,31,.07);
  --radius: 16px;
}

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

.csv-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 52px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.csv-brand {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.csv-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--green);
  flex-shrink: 0;
}

.csv-nav {
  display: flex;
  gap: 2px;
}

.csv-nav a {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .14s, color .14s;
  white-space: nowrap;
}

.csv-nav a:hover { background: var(--panel); color: var(--ink); }
.csv-nav a.active { background: var(--green-soft); color: #294323; }

@media (max-width: 500px) {
  .csv-bar { padding: 0 14px; }
  .csv-nav a { padding: 6px 8px; font-size: 12px; }
}
