/* =====================================================================
   Wisdom Ehirim — Shared
   Variables, reset, body texture, navigation, shared keyframes.
   Imported by every page before the page-specific stylesheet.
   ===================================================================== */

:root {
  --ink: #0a0a0a;
  --paper: #fbfaf6;
  --rule: #0a0a0a;
  --muted: #5a5a55;
  --border: 3px;

  --a1: #ff3d8b;
  --a2: #2b6bff;
  --a3: #ffd43a;
  --a4: #b8e986;

  --shadow:    6px  6px 0 var(--ink);
  --shadow-sm: 4px  4px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);

  --display: 'Bricolage Grotesque', ui-serif, Georgia, serif;
  --mono:    'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

/* ===================== RESET ===================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle dot-grid texture behind everything */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 0;
}

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 20px; z-index: 50;
  margin: 20px auto 0;
  max-width: 1200px;
  padding: 0 40px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--paper);
  border: var(--border) solid var(--ink);
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  box-shadow: var(--shadow);
}
.brand {
  font-family: var(--display);
  font-weight: 800; font-size: 20px; letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.brand .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--a1);
  border: 2px solid var(--ink);
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink); text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: all 0.15s ease;
}
.nav-links a:hover  { border-color: var(--ink); background: var(--a3); }
.nav-links a.active { background: var(--ink); color: var(--paper); }

/* ===================== SHARED KEYFRAME ===================== */
/* Used by skeleton loaders on both pages */
@keyframes shimmer {
  0%   { background-position:  200% 0; }
  100% { background-position: -200% 0; }
}

/* ===================== RESPONSIVE — NAV ===================== */
@media (max-width: 960px) {
  .nav { padding: 0 16px; }
  .nav-inner { padding: 8px 8px 8px 14px; }
  .brand { font-size: 16px; }
  .nav-links a { padding: 8px 10px; font-size: 10.5px; letter-spacing: 0.05em; }
}

@media (max-width: 520px) {
  .nav-links a { padding: 8px; font-size: 10px; }
}
