/* ═══════════════════════════════════════════════════════
   JEREMIAH WINDLE — main.css
   Dark engineering aesthetic · Space Mono + Syne
   ═══════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg:        #070b0f;
  --surface:   #0d1318;
  --surface2:  #111920;
  --surface3:  #162028;
  --border:    #1a2a36;
  --border2:   #223344;

  --cyan:      #00d4ff;
  --cyan-dim:  rgba(0, 212, 255, 0.12);
  --cyan-glow: rgba(0, 212, 255, 0.06);
  --green:     #00e87a;
  --green-dim: rgba(0, 232, 122, 0.1);
  --amber:     #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.1);
  --red:       #ff4a6e;

  --text:      #c4d4e4;
  --text-dim:  #7a9ab4;
  --muted:     #3d5668;
  --white:     #eef6ff;

  --font-sans: 'Syne', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --radius:    6px;
  --radius-lg: 10px;
  --max-w:     1120px;
  --nav-h:     64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--white); }

img { max-width: 100%; display: block; }

.mono { font-family: var(--font-mono); }

/* ══ NAV ══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 11, 15, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--cyan); }

.logo-globe {
  width: 32px;
  height: 32px;
  color: var(--cyan);
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover .logo-globe { opacity: 0.8; }

.logo-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  transition: all 0.18s;
  letter-spacing: 0.3px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--surface);
}

.nav-yt {
  background: rgba(255, 0, 0, 0.08) !important;
  border: 1px solid rgba(255, 0, 0, 0.15) !important;
  color: #ff4444 !important;
}
.nav-yt:hover {
  background: rgba(255, 0, 0, 0.15) !important;
  color: #ff6666 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ══ HERO ══════════════════════════════════════════════ */
.hero {
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 50% at 70% 50%, rgba(0,212,255,0.04) 0%, transparent 70%);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-name {
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.hero-role {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-bio {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats grid */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: border-color 0.2s;
}
.stat-card:hover { border-color: var(--border2); }

.stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-mono);
  letter-spacing: -1px;
  margin-bottom: 6px;
}
.stat-num span {
  font-size: 20px;
  color: var(--cyan);
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.stat-card-accent {
  border-color: rgba(0, 212, 255, 0.25);
  background: linear-gradient(135deg, var(--surface), rgba(0,212,255,0.05));
}
.stat-card-accent .stat-label {
  font-size: 20px;
  font-weight: 800;
  color: var(--cyan);
}
.stat-sublabel {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}
.stat-target {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  margin-top: 8px;
}

/* Cert strip */
.cert-strip {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 0;
  overflow: hidden;
}
.cert-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cert-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.cert-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cert-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.cert-done {
  background: rgba(0, 232, 122, 0.1);
  border: 1px solid rgba(0, 232, 122, 0.25);
  color: var(--green);
}
.cert-active {
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cert-next {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
}
.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* ══ BUTTONS ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--cyan);
  color: var(--bg);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: #29ddff;
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border2);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ══ SECTIONS ══════════════════════════════════════════ */
.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.section:last-child { border-bottom: none; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}

.section-eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.section-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color 0.15s;
}
.section-link:hover { color: var(--cyan); }

/* ══ POST CARDS ════════════════════════════════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.post-filter-item { display: contents; }
.post-filter-item.hidden { display: none; }

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-date {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.post-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.2);
  letter-spacing: 0.3px;
}

.post-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  flex: 1;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--cyan); }

.post-card-excerpt {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.post-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--surface2);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.post-read {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

/* ══ VIDEO CARDS ════════════════════════════════════════ */
.videos-section { background: var(--surface); }

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.video-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-2px);
  color: inherit;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface2);
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.video-card:hover .video-thumb img { transform: scale(1.03); }

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.2s;
  color: white;
}
.video-card:hover .video-play { opacity: 1; }

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}

.video-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.video-category {
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.video-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
.video-date {
  font-size: 11px;
  color: var(--muted);
  margin-top: auto;
}

/* ══ STACK GRID ════════════════════════════════════════ */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.stack-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.stack-group-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}
.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stack-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.stack-tag:hover { border-color: var(--border2); }

/* ══ TOOLS GRID ════════════════════════════════════════ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.tools-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.18s, transform 0.18s;
  color: inherit;
}
.tool-card:hover {
  border-color: rgba(0,232,122,0.3);
  transform: translateY(-2px);
  color: inherit;
}

.tool-icon {
  font-size: 22px;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 4px;
}
.tool-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.tool-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  flex: 1;
}
.tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.tool-lang {
  font-size: 11px;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(245,166,35,0.2);
  padding: 2px 8px;
  border-radius: 3px;
}
.tool-gh {
  font-size: 11px;
  color: var(--text-dim);
}

/* ══ LAB SECTION ═══════════════════════════════════════ */
.lab-section { background: var(--surface); }

.lab-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lab-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 24px;
}

.lab-gear-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.gear-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.gear-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.gear-dot.cyan { background: var(--cyan); }
.gear-dot.green { background: var(--green); }
.gear-dot.amber { background: var(--amber); }

/* Terminal widget */
.lab-terminal {
  background: #050b10;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.terminal-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green-dot { background: #28c840; }
.terminal-title { margin-left: 8px; font-size: 11px; color: var(--muted); }

.terminal-body {
  padding: 20px;
  line-height: 1.8;
  color: #8ba8be;
}
.terminal-line { display: block; }
.t-prompt { color: var(--green); }
.t-cmd { color: var(--white); }
.t-out { color: #6a8a9e; padding-left: 0; }
.t-cursor {
  color: var(--cyan);
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ══ PAGE HEADER ═══════════════════════════════════════ */
.page-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 0 40px;
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.page-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin: 8px 0 12px;
}
.page-intro { font-size: 15px; color: var(--text-dim); max-width: 600px; line-height: 1.7; }
.page-intro-text { font-size: 15px; color: var(--text-dim); max-width: 600px; line-height: 1.7; }

/* ══ FILTER BAR ════════════════════════════════════════ */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.18s;
  letter-spacing: 0.5px;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

/* ══ POST FULL ══════════════════════════════════════════ */
.post-full-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 0;
}
.post-full-header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.post-full-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.post-full-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.post-full-desc {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
}

.post-full-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* ── Post content typography ── */
.post-content h2 { font-size: 24px; font-weight: 700; color: var(--white); margin: 40px 0 14px; letter-spacing: -0.3px; }
.post-content h3 { font-size: 19px; font-weight: 700; color: var(--white); margin: 32px 0 12px; }
.post-content h4 { font-size: 16px; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.post-content p { margin-bottom: 18px; color: var(--text); line-height: 1.8; }
.post-content ul, .post-content ol { margin: 0 0 18px 24px; color: var(--text); line-height: 1.8; }
.post-content li { margin-bottom: 6px; }
.post-content strong { color: var(--white); font-weight: 700; }
.post-content em { color: var(--text-dim); }
.post-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--cyan);
}
.post-content pre {
  background: #050b10;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  overflow-x: auto;
  margin: 24px 0;
}
.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
}
.post-content blockquote {
  border-left: 3px solid var(--cyan);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--cyan-glow);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-dim);
  font-style: italic;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.post-content th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 10px 14px;
  border-bottom: 1px solid var(--border2);
  text-align: left;
}
.post-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.post-content tr:last-child td { border-bottom: none; }
.post-content a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(0,212,255,0.3); }
.post-content a:hover { color: var(--white); }
.post-content img { border-radius: var(--radius); margin: 24px auto; }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

.post-tags-full { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }

.post-github-link { margin-top: 24px; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.18s;
  color: inherit;
}
.post-nav-link:hover { border-color: var(--border2); color: inherit; }
.post-nav-link span:first-child { font-size: 11px; color: var(--muted); }
.post-nav-title { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.4; }
.post-nav-next { text-align: right; }

/* ══ FOOTER ═════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-globe { width: 28px; height: 28px; color: var(--cyan); opacity: 0.7; }
.footer-name { font-weight: 700; color: var(--white); font-size: 14px; }
.footer-tagline { font-size: 11px; color: var(--muted); margin-top: 2px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--text-dim); transition: color 0.15s; }
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: var(--muted); transition: color 0.15s; }
.footer-social a:hover { color: var(--cyan); }
.footer-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.footer-copy a { color: var(--muted); }
.footer-copy a:hover { color: var(--cyan); }
.footer-dot { color: var(--border2); }

/* ══ PAGINATION ════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
}
.pagination a, .pagination .page-item {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  transition: all 0.15s;
}
.pagination a:hover { border-color: var(--cyan); color: var(--cyan); }
.pagination .active { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }

/* ══ RESPONSIVE ════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .lab-inner {
    grid-template-columns: 1fr;
  }
  .lab-terminal { display: none; }
}

@media (max-width: 680px) {
  .hero { padding: 0; }
  .hero-inner { padding: 48px 20px 36px; }
  .hero-name { font-size: 44px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .posts-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .videos-grid { grid-template-columns: 1fr; }
  .page-title { font-size: 32px; }
  .post-nav { grid-template-columns: 1fr; }
  .cert-badges { gap: 5px; }
}

/* ══ UTILITY ════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
