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

/* =============================================
   TOKENS
   ============================================= */
:root {
  --bg:       #080a0f;
  --surface:  #0d1117;
  --card:     #111620;
  --border:   rgba(201,209,217,0.08);
  --border-hi:rgba(201,209,217,0.15);
  --text:     #c9d1d9;
  --muted:    #6e7680;
  --faint:    #3d4450;
  --accent:   #e2e8f0;
  --void:     #94a3b8;
  --mono:     'JetBrains Mono', monospace;
  --display:  'Syne', sans-serif;
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--void); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* =============================================
   NAV
   ============================================= */
#site-nav { position: relative; z-index: 100; }
.nav {
  height: 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
}
.logo {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.logo::after {
  content: '_';
  animation: blink 1.2s step-start infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.nav-active {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--void);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.hamburger:hover { color: var(--accent); }

/* =============================================
   FOOTER
   ============================================= */
#site-footer { margin-top: auto; }
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.75rem;
  color: var(--faint);
  border-top: 1px solid var(--border);
  letter-spacing: 0.02em;
}
footer a { color: var(--faint); }
footer a:hover { color: var(--muted); }

/* =============================================
   UTILITIES
   ============================================= */
.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  color: var(--muted);
  letter-spacing: 0.06em;
}