/* ═══════════════════════════════════════════════
   CyberShapers — Site Stylesheet
   Matches DFIR Intel Dashboard theme exactly
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Rajdhani:wght@300;400;500;600;700&family=Exo+2:wght@300;400;500;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --font-mono: 'Share Tech Mono', monospace;
  --font-head: 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', sans-serif;

  --bg-base:       #080c12;
  --bg-surface:    #0d1520;
  --bg-card:       #111b2b;
  --bg-card-hover: #162236;
  --bg-panel:      #0a1219;
  --bg-input:      #0d1825;
  --border:        rgba(0, 200, 255, 0.12);
  --border-strong: rgba(0, 200, 255, 0.3);
  --text-primary:  #e4eef8;
  --text-secondary:#7a9ab8;
  --text-muted:    #3d5a72;
  --accent:        #00c8ff;
  --accent-dim:    rgba(0, 200, 255, 0.15);
  --accent-glow:   rgba(0, 200, 255, 0.4);
  --green:         #00ff9d;
  --green-dim:     rgba(0, 255, 157, 0.12);
  --red:           #ff3b5c;
  --red-dim:       rgba(255, 59, 92, 0.15);
  --orange:        #ff8c42;
  --orange-dim:    rgba(255, 140, 66, 0.15);
  --yellow:        #ffd166;
  --yellow-dim:    rgba(255, 209, 102, 0.15);

  --nav-h:      60px;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --transition: 0.2s ease;
  --max-w:      1200px;
}

[data-theme="light"] {
  --bg-base:       #f0f4f8;
  --bg-surface:    #e4ecf4;
  --bg-card:       #ffffff;
  --bg-card-hover: #f5f9ff;
  --bg-panel:      #eaf0f8;
  --bg-input:      #f8fbff;
  --border:        rgba(0, 100, 180, 0.12);
  --border-strong: rgba(0, 100, 180, 0.3);
  --text-primary:  #0d1e30;
  --text-secondary:#3a5a78;
  --text-muted:    #8aaccb;
  --accent:        #0072cc;
  --accent-dim:    rgba(0, 114, 204, 0.1);
  --accent-glow:   rgba(0, 114, 204, 0.3);
  --green:         #00875a;
  --green-dim:     rgba(0, 135, 90, 0.1);
  --red:           #c0143c;
  --red-dim:       rgba(192, 20, 60, 0.1);
  --orange:        #c05800;
  --orange-dim:    rgba(192, 88, 0, 0.1);
  --yellow:        #8a6800;
  --yellow-dim:    rgba(138, 104, 0, 0.1);
  --shadow:        0 4px 24px rgba(0,0,0,0.12);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}
a { color: var(--accent); text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
img, svg { max-width: 100%; }

/* ── SCROLLBARS ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

/* ── SCANLINE BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 200, 255, 0.012) 2px,
    rgba(0, 200, 255, 0.012) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-transform: uppercase;
}
.nav-brand .accent { color: var(--accent); }
.nav-brand-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}
.nav-brand-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-dim);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  border-color: var(--border);
  background: var(--accent-dim);
}
.nav-links a.active { border-color: var(--border-strong); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.status-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,157,0.4); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 4px transparent; }
}

/* Theme toggle */
.theme-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 5px 8px;
  border-radius: var(--radius);
  font-size: 0.75rem;
  transition: all var(--transition);
}
.theme-btn:hover { border-color: var(--border-strong); color: var(--accent); }

/* Mobile menu */
.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all var(--transition);
}
.menu-btn:hover { border-color: var(--border-strong); color: var(--accent); }

/* ── PAGE WRAPPER ── */
.page {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ── SECTION BASE ── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px);
}

/* ── SECTION LABEL ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.section-label-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.section-label-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-label-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ── HERO ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0,200,255,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,255,157,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 40%, transparent 80%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title .accent { color: var(--accent); }
.hero-title .outline {
  -webkit-text-stroke: 1px var(--text-muted);
  color: transparent;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-base);
  font-weight: 700;
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ── STAT STRIP ── */
.stat-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.stat-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: stretch;
}
.stat-item {
  flex: 1;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ── REPO GRID ── */
.repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}
.repo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.repo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.repo-card:hover { border-color: var(--border-strong); background: var(--bg-card-hover); }
.repo-card:hover::before { opacity: 1; }

.repo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.repo-name {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
}
.repo-name a { color: inherit; }
.repo-name a:hover { text-decoration: underline; }
.repo-visibility {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--green);
  border: 1px solid var(--green);
  background: var(--green-dim);
  padding: 2px 7px;
  border-radius: 3px;
  white-space: nowrap;
}
.repo-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}
.repo-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.repo-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.lang-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.repo-stat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.repo-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.topic-pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 3px;
}

/* loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── BLOG GRID ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: var(--border-strong); background: var(--bg-card-hover); transform: translateY(-2px); box-shadow: var(--shadow); }
.blog-card-tag {
  padding: 16px 20px 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blog-card-title {
  padding: 8px 20px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.blog-card-excerpt {
  padding: 0 20px 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.blog-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.blog-card-date {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
}
.blog-card-read {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent);
}
.blog-card-read:hover { text-decoration: underline; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.about-avatar-wrap {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.about-avatar {
  width: 100%;
  aspect-ratio: 1;
  max-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-surface);
}
.about-meta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}
.about-meta-icon { color: var(--accent); width: 14px; }
.about-social-links {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.social-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }

.about-name {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.about-title-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 24px;
}
.about-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}
.about-bio p + p { margin-top: 16px; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.skill-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.skill-item-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.skill-bar-wrap {
  height: 3px;
  background: var(--bg-surface);
  border-radius: 2px;
  overflow: hidden;
}
.skill-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.4,0,0.2,1);
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.section-title .accent { color: var(--accent); }
.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
}

/* ── TERMINAL BOX ── */
.terminal {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 8px; height: 8px; border-radius: 50%; }
.td-red  { background: #ff5f57; }
.td-yellow { background: #febc2e; }
.td-green { background: #28c840; }
.terminal-title { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-muted); margin-left: 8px; }
.terminal-body { padding: 20px; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.8; }
.terminal-body .prompt { color: var(--accent); }
.terminal-body .cmd { color: var(--text-primary); }
.terminal-body .comment { color: var(--text-muted); }
.terminal-body .output { color: var(--green); }
.terminal-body .cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--accent);
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-panel);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
}
.footer-brand .accent { color: var(--accent); }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

/* ── BLOG POST PAGE ── */
.blog-post-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
  margin-bottom: 40px;
}
.blog-post-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.blog-post-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
}
.blog-post-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}
.blog-post-content {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 720px;
}
.blog-post-content h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.blog-post-content h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}
.blog-post-content p { margin-bottom: 20px; }
.blog-post-content code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--accent);
}
.blog-post-content pre {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}
.blog-post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--green);
  font-size: 0.82rem;
}
.blog-post-content ul, .blog-post-content ol {
  margin: 0 0 20px 24px;
  color: var(--text-secondary);
}
.blog-post-content li { margin-bottom: 8px; }
.blog-post-content a { color: var(--accent); text-decoration: underline; }
.blog-post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  background: var(--bg-card);
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-primary);
  font-style: italic;
}

/* ── TAG FILTER ── */
.tag-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tag-btn {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 5px 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all var(--transition);
}
.tag-btn:hover, .tag-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ── MISC ── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 2px 8px;
  border-radius: 3px;
  border: 1px solid currentColor;
}
.badge-accent  { color: var(--accent); background: var(--accent-dim); }
.badge-green   { color: var(--green); background: var(--green-dim); }
.badge-orange  { color: var(--orange); background: var(--orange-dim); }
.badge-red     { color: var(--red); background: var(--red-dim); }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-base);
  z-index: 200;
  flex-direction: column;
  padding: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 1rem;
  margin-bottom: 32px;
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-links a {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition);
}
.mobile-nav-links a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }

/* ── RESPONSIVE ── */
@media (max-width: 899px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-avatar-wrap { position: static; }
  .about-avatar { max-width: 160px; }
}
@media (max-width: 599px) {
  .stat-strip-inner { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .repos-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* ── SPLIT GRID (homepage who-am-i section) ── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 767px) {
  .split-grid {
    grid-template-columns: 1fr;
  }
}

/* ── LOGO / NAV BRAND IMAGE ── */
.nav-brand-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
  /* Remove black background from logo PNG */
  mix-blend-mode: screen;
}

/* Light mode: logo needs different blend to stay visible */
[data-theme="light"] .nav-brand-img {
  mix-blend-mode: normal;
  filter: drop-shadow(0 0 2px rgba(0,100,180,0.3));
}

/* ── LOGO SVG (replaces mix-blend-mode hack for PNG) ── */
.nav-brand-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
