/* ═══════════════════════════════════════════════
   CofounderGPT Ghost Theme — screen.css
   Terminal aesthetic: #080808 bg, #39FF14 green
   ═══════════════════════════════════════════════ */

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

/* ── Variables ── */
:root {
  --bg: #080808;
  --bg-alt: #0c0c0c;
  --bg-card: #0d0d0d;
  --green: #39FF14;
  --green-dim: rgba(57, 255, 20, 0.15);
  --green-glow: rgba(57, 255, 20, 0.08);
  --white: #FFFFFF;
  --gray: #888888;
  --gray-dim: #555555;
  --gray-light: #b0b0b0;
  --red: #EF4444;
  --blue: #3B82F6;
  --amber: #EAB308;
}

html { scroll-behavior: smooth; }

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #080808 !important;
  background-color: #080808 !important;
  color: #FFFFFF !important;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.article-header h1 {
  color: #FFFFFF;
}
.article-tag.tag-field-note { background: rgba(59,130,246,0.08); color: #3b82f6; }
.article-tag.tag-experiment { background: rgba(57,255,20,0.08); color: #39FF14; }
.article-tag.tag-graveyard { background: rgba(239,68,68,0.08); color: #ef4444; }
.article-tag.tag-update { background: rgba(234,179,8,0.08); color: #eab308; }

::selection { background: rgba(57, 255, 20, 0.3); color: var(--white); }
a { color: var(--green); text-decoration: none; transition: all 0.2s; }
a:hover { opacity: 0.85; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════
   NAV
   ══════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(57, 255, 20, 0.08);
  transition: padding 0.3s;
}
nav .wrap { display: flex; justify-content: space-between; align-items: center; }

.logo {
  display: flex; align-items: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.72rem; font-weight: 700;
  text-decoration: none; color: var(--white);
}
.logo-co { color: var(--white); }
.logo-gpt { color: var(--green); }
.logo-cur {
  color: var(--green);
  animation: cursorBlink 1s step-end infinite;
}
@keyframes cursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--gray); font-size: 0.88rem; font-weight: 500;
  transition: color 0.2s; text-decoration: none;
}
.nav-links a:hover { color: var(--white); opacity: 1; }
.nav-links a.active { color: var(--green); }

.mob-btn {
  display: none; background: none; border: none;
  color: var(--white); font-size: 1.4rem; cursor: pointer;
}

/* ══════════════════════
   BUTTONS
   ══════════════════════ */
.btn {
  display: inline-block; padding: 14px 32px;
  border-radius: 980px; font-size: 0.95rem; font-weight: 700;
  font-family: 'Inter', sans-serif; cursor: pointer;
  transition: all 0.3s; border: none; text-decoration: none;
}
.btn-g {
  background: var(--green); color: var(--bg);
  box-shadow: 0 2px 12px rgba(57,255,20,0.25);
}
.btn-g:hover {
  transform: translateY(-2px); color: var(--bg); opacity: 1;
  box-shadow: 0 4px 24px rgba(57,255,20,0.35);
}
.btn-o {
  background: transparent; color: var(--green);
  border: 1px solid rgba(57,255,20,0.4);
}
.btn-o:hover {
  background: rgba(57,255,20,0.08); opacity: 1;
  box-shadow: 0 0 20px rgba(57,255,20,0.15);
}

/* ══════════════════════
   HERO (homepage)
   ══════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 24px 100px;
  overflow: hidden;
}

.terminal-code-bg {
  position: absolute; inset: 0;
  padding: 60px 20px 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px; line-height: 1.7;
  color: var(--green); white-space: pre;
  overflow: hidden; opacity: 0.2;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 70%, transparent 100%);
}

.mouse-glow {
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.hero canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

.hero-inner {
  position: relative; z-index: 2; max-width: 860px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -2px;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green), #ffffff 55%, var(--green));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift { 0%,100%{background-position:0% center} 50%{background-position:100% center} }

.hero .sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--gray); max-width: 580px;
  margin: 0 auto 44px; line-height: 1.75; font-weight: 400;
}

.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════
   SECTIONS (homepage)
   ══════════════════════ */
section { padding: 110px 0; position: relative; z-index: 1; }
.bg-alt { background: var(--bg-alt); }

.sec-tag {
  font-family: 'Courier New', monospace; font-size: 0.75rem;
  color: var(--green); text-transform: uppercase;
  letter-spacing: 3px; margin-bottom: 14px;
}
.sec-h {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px;
  line-height: 1.1;
}
.sec-sub {
  color: var(--gray); font-size: 1.05rem; line-height: 1.75;
  max-width: 600px;
}
.sec-top { margin-bottom: 64px; }

/* ══════════════════════
   CARDS (shared)
   ══════════════════════ */
.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid var(--green-dim);
  border-radius: 20px; padding: 32px;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px var(--green-glow);
  border-color: rgba(57,255,20,0.3);
}

/* ── About section ── */
.about-body {
  color: var(--gray); font-size: 1.08rem; line-height: 1.85;
  max-width: 720px; margin-bottom: 20px;
}
.about-body strong { color: var(--white); font-weight: 600; }

/* ── Stats ── */
.stat { text-align: center; padding: 36px 24px; }
.stat-n {
  font-family: 'Courier New', monospace; font-size: 2.8rem;
  font-weight: 700; color: var(--green); line-height: 1;
}
.stat-l { color: var(--gray); font-size: 0.85rem; margin-top: 10px; font-weight: 500; }

/* ── Experiment cards ── */
.card-ico { font-size: 2rem; margin-bottom: 14px; }
.card-t { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.card-d { color: var(--gray); font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px; }
.card-link { font-size: 0.88rem; font-weight: 600; }

.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 980px; margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.b-active { background: rgba(57,255,20,0.1); color: var(--green); }
.b-build { background: rgba(59,130,246,0.1); color: var(--blue); }
.b-soon { background: rgba(136,136,136,0.1); color: var(--gray); }
.b-dead { background: rgba(239,68,68,0.1); color: var(--red); }

/* ── Graveyard ── */
.grave { opacity: 0.6; border-color: rgba(255,255,255,0.06); }
.grave:hover { opacity: 0.85; border-color: rgba(255,255,255,0.12); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.postmortem {
  color: var(--gray); font-size: 0.85rem; font-style: italic;
  border-left: 2px solid rgba(255,255,255,0.08); padding-left: 14px;
  margin-top: 14px; line-height: 1.7;
}
.lesson {
  color: var(--white); font-size: 0.82rem; font-weight: 600;
  margin-top: 10px; font-style: normal;
}

/* ── Blog preview cards (homepage) ── */
.blog-date {
  font-family: 'Courier New', monospace; font-size: 0.78rem;
  color: var(--gray-dim); margin-bottom: 12px;
}
.blog-title { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-ex {
  color: var(--gray); font-size: 0.88rem; line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ── Team ── */
.team { text-align: center; padding: 44px 32px; }
.team-avi {
  width: 120px; height: 120px; border-radius: 50%;
  margin: 0 auto 16px; overflow: hidden;
  border: 2px solid var(--green-dim);
  background: var(--bg);
}
.team-avi img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-role {
  font-family: 'Courier New', monospace; font-size: 0.75rem;
  color: var(--green); text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 14px;
}
.team-bio { color: var(--gray); font-size: 0.88rem; line-height: 1.65; font-style: italic; }

/* ══════════════════════
   FOOTER
   ══════════════════════ */
footer {
  padding: 60px 0 40px; text-align: center;
  border-top: 1px solid rgba(57,255,20,0.06);
  position: relative; z-index: 1;
}
footer.post-footer { margin-top: 80px; }
.foot-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 20px; }
.foot-links a { color: var(--gray); font-size: 0.88rem; }
.foot-links a:hover { color: var(--white); }
.foot-copy { color: var(--gray-dim); font-size: 0.82rem; margin-bottom: 10px; line-height: 1.7; }
.foot-note { color: rgba(136,136,136,0.4); font-size: 0.72rem; font-style: italic; }

/* ══════════════════════
   PAGE HEADER (blog listing)
   ══════════════════════ */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px;
  line-height: 1.1;
}
.page-header .desc {
  color: var(--gray); font-size: 1.05rem; line-height: 1.75;
  max-width: 560px; margin: 0 auto;
}

/* ── Tag Filter ── */
.tag-filter {
  display: flex; justify-content: center; gap: 10px;
  margin-bottom: 56px; flex-wrap: wrap;
}
.tag-pill {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  padding: 6px 18px; border-radius: 980px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray); cursor: pointer;
  transition: all 0.2s; text-decoration: none;
  font-family: 'Inter', sans-serif;
  background: transparent;
}
.tag-pill:hover { border-color: rgba(57,255,20,0.3); color: var(--white); opacity: 1; }
.tag-pill.active {
  border-color: var(--green); color: var(--green);
  background: rgba(57,255,20,0.06);
}

/* ── Featured Post ── */
.featured-post {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--green-dim);
  border-radius: 20px; overflow: hidden;
  margin-bottom: 56px;
  transition: transform 0.35s, box-shadow 0.35s;
}
.featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--green-glow);
}
.featured-img {
  width: 100%; height: 100%; min-height: 320px;
  object-fit: cover;
}
.featured-img-placeholder {
  width: 100%; min-height: 320px;
  background: linear-gradient(135deg, rgba(57,255,20,0.06) 0%, rgba(57,255,20,0.02) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; opacity: 0.3;
}
.featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px; border-radius: 980px;
  background: rgba(57,255,20,0.1); color: var(--green);
  margin-bottom: 16px; width: fit-content;
  letter-spacing: 0.3px;
}
.featured-body h2 {
  font-size: 1.5rem; font-weight: 800;
  line-height: 1.25; margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.featured-body h2 a { color: var(--white); text-decoration: none; }
.featured-body h2 a:hover { color: var(--green); opacity: 1; }
.featured-excerpt {
  color: var(--gray); font-size: 0.95rem; line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.featured-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.8rem; color: var(--gray-dim);
}
.featured-meta time { font-family: 'Courier New', monospace; }

/* ── Post List ── */
.post-list { display: flex; flex-direction: column; gap: 0; }

.post-item {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
}
.post-item:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.post-item:hover { padding-left: 8px; }

.post-content { min-width: 0; }

/* Tag badges */
.post-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 2px 10px; border-radius: 980px;
  margin-bottom: 10px; letter-spacing: 0.3px;
  text-transform: uppercase;
}
.post-tag.t-experiment,
.tag-experiment { background: rgba(57,255,20,0.08); color: var(--green); }
.post-tag.t-graveyard,
.tag-graveyard { background: rgba(239,68,68,0.08); color: var(--red); }
.post-tag.t-field-note,
.tag-field-note { background: rgba(59,130,246,0.08); color: var(--blue); }
.post-tag.t-update,
.tag-update { background: rgba(234,179,8,0.08); color: var(--amber); }

.post-title {
  font-size: 1.15rem; font-weight: 700; line-height: 1.35;
  margin-bottom: 8px; letter-spacing: -0.3px;
}
.post-title a { color: var(--white); text-decoration: none; }
.post-title a:hover { color: var(--green); opacity: 1; }

.post-excerpt {
  color: var(--gray); font-size: 0.88rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

.post-meta {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 6px; white-space: nowrap;
}
.post-date {
  font-family: 'Courier New', monospace; font-size: 0.78rem;
  color: var(--gray-dim);
}
.post-reading { font-size: 0.75rem; color: var(--gray-dim); }

/* ── Pagination ── */
.pagination {
  display: flex; justify-content: space-between; align-items: center;
  padding: 48px 0; margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.pagination .page-number:only-child { display: none; }
.pagination .page-number { color: rgba(255,255,255,0.3); font-size: 0.85rem; }
.pagination:has(.page-number:only-child) { display: none; }
.pag-link {
  font-size: 0.88rem; font-weight: 600;
  color: var(--green); text-decoration: none;
  padding: 10px 20px; border-radius: 980px;
  border: 1px solid rgba(57,255,20,0.3);
  transition: all 0.2s;
}
.pag-link:hover {
  background: rgba(57,255,20,0.08);
  box-shadow: 0 0 16px rgba(57,255,20,0.12); opacity: 1;
}
.pag-link.disabled { opacity: 0.2; pointer-events: none; }
.pag-info {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem; color: var(--gray-dim);
}

/* ══════════════════════
   ARTICLE (single post)
   ══════════════════════ */

/* Progress Bar */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 1001;
  background: var(--green);
  box-shadow: 0 0 8px rgba(57,255,20,0.5);
  width: 0%; transition: width 0.1s linear;
}

/* Article Header */
.article-header {
  padding: 160px 24px 48px;
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.article-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 980px;
  margin-bottom: 20px; letter-spacing: 0.3px;
  text-transform: uppercase; text-decoration: none;
}
.article-tag.t-experiment { background: rgba(57,255,20,0.08); color: var(--green); }
.article-tag.t-graveyard { background: rgba(239,68,68,0.08); color: var(--red); }
.article-tag.t-field-note { background: rgba(59,130,246,0.08); color: var(--blue); }
.article-tag.t-update { background: rgba(234,179,8,0.08); color: var(--amber); }

.article-header h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -1.5px; margin-bottom: 24px;
}
.article-meta {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  font-size: 0.85rem; color: var(--gray);
}
.article-meta time { font-family: 'Courier New', monospace; color: var(--gray-dim); }
.article-meta .dot { color: var(--gray-dim); }

/* Feature Image */
.feature-image {
  max-width: 960px; margin: 40px auto 0; padding: 0 24px;
}
.feature-image img {
  width: 100%; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
}
.feature-image figcaption {
  text-align: center; font-size: 0.78rem;
  color: var(--gray-dim); margin-top: 12px;
  font-style: italic;
}

/* Article Content — styles the HTML Ghost outputs via {{content}} */
.article-content {
  max-width: 680px; margin: 56px auto 0; padding: 0 24px;
  font-size: 1.08rem; line-height: 1.85;
  color: var(--gray-light);
}
.article-content > * + * { margin-top: 1.5em; }

.article-content h2 {
  color: var(--white);
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.5px; line-height: 1.25;
  margin-top: 2.5em; margin-bottom: 0.5em;
}
.article-content h3 {
  color: var(--white);
  font-size: 1.25rem; font-weight: 700;
  line-height: 1.35; margin-top: 2em; margin-bottom: 0.4em;
}
.article-content p { }
.article-content strong { color: var(--white); font-weight: 600; }
.article-content em { font-style: italic; }
.article-content a { border-bottom: 1px solid rgba(57,255,20,0.3); }
.article-content a:hover { border-bottom-color: var(--green); }

.article-content blockquote {
  border-left: 3px solid var(--green);
  padding: 4px 0 4px 24px; margin: 2em 0;
  color: var(--gray); font-style: italic;
  font-size: 1.1rem;
}

.article-content ul, .article-content ol { padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content li::marker { color: var(--green); }

.article-content hr {
  border: none; height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 3em 0;
}

.article-content code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.88em; padding: 2px 8px;
  background: rgba(57,255,20,0.06);
  border: 1px solid rgba(57,255,20,0.1);
  border-radius: 6px; color: var(--green);
}
.article-content pre {
  background: #0c0c0c;
  border: 1px solid rgba(57,255,20,0.1);
  border-radius: 12px; padding: 24px;
  overflow-x: auto; margin: 2em 0;
}
.article-content pre code {
  background: none; border: none;
  padding: 0; font-size: 0.85rem;
  line-height: 1.7; color: var(--gray-light);
}
.article-content img {
  max-width: 100%; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  margin: 0.5em 0;
}
.article-content figure { margin: 2em 0; }
.article-content figcaption {
  text-align: center; font-size: 0.78rem;
  color: var(--gray-dim); margin-top: 10px;
  font-style: italic;
}

/* Ghost-specific content cards */
.article-content .kg-card { margin: 2em 0; }
.article-content .kg-image-card img { max-width: 100%; }
.article-content .kg-width-wide { max-width: 960px; margin-left: auto; margin-right: auto; }
.article-content .kg-width-full { max-width: none; margin-left: -24px; margin-right: -24px; }
.article-content .kg-bookmark-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; overflow: hidden;
}
.article-content .kg-bookmark-container {
  display: flex; text-decoration: none; color: var(--white);
}
.article-content .kg-bookmark-content { padding: 20px; flex: 1; }
.article-content .kg-bookmark-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.article-content .kg-bookmark-description { color: var(--gray); font-size: 0.85rem; line-height: 1.5; }

/* Author Card */
.author-card {
  max-width: 680px; margin: 72px auto 0; padding: 0 24px;
}
.author-inner {
  display: flex; align-items: center; gap: 20px;
  padding: 28px; background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
}
.author-avi {
  width: 64px; height: 64px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--green-dim);
}
.author-avi img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.author-bio { color: var(--gray); font-size: 0.85rem; line-height: 1.5; }

/* Prev / Next */
.post-nav {
  max-width: 680px; margin: 56px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.post-nav-item {
  padding: 24px; background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; text-decoration: none;
  transition: all 0.3s;
}
.post-nav-item:hover {
  border-color: rgba(57,255,20,0.2);
  box-shadow: 0 8px 24px var(--green-glow);
  transform: translateY(-2px); opacity: 1;
}
.post-nav-label {
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gray-dim); margin-bottom: 8px;
}
.post-nav-title {
  font-size: 0.95rem; font-weight: 700;
  color: var(--white); line-height: 1.35;
}
.post-nav-item.next { text-align: right; }

/* ══════════════════════
   CURSOR GLOW (global)
   ══════════════════════ */
#glow {
  position: fixed; width: 700px; height: 700px; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(57,255,20,0.04) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  transition: left 0.08s linear, top 0.08s linear;
  will-change: left, top;
}

/* ══════════════════════
   SCROLL REVEAL
   ══════════════════════ */
.sr { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.sr.v { opacity: 1; transform: translateY(0); }

/* ══════════════════════
   RESPONSIVE
   ══════════════════════ */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,8,8,0.97); backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px; gap: 18px;
    border-bottom: 1px solid var(--green-dim);
  }
  .nav-links.open { display: flex; }
  .mob-btn { display: block; }
  .logo { font-size: 1rem; white-space: nowrap; }
  .g3, .g2, .g4 { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .hero { padding: 120px 24px 80px; }
  .hero h1 { font-size: 2.4rem; letter-spacing: -1px; }
  .stat-n { font-size: 2.2rem; }
  .card { padding: 24px; }
  .team-avi { width: 100px; height: 100px; }
  .terminal-code-bg { font-size: 11px; opacity: 0.1; }
  .mouse-glow { width: 400px; height: 400px; }

  .featured-post { grid-template-columns: 1fr; }
  .featured-img, .featured-img-placeholder { min-height: 200px; }
  .featured-body { padding: 24px; }
  .featured-body h2 { font-size: 1.25rem; }
  .post-item { grid-template-columns: 1fr; gap: 8px; }
  .post-meta { flex-direction: row; align-items: center; }
  .page-header { padding: 120px 0 40px; }

  .article-header { padding: 120px 20px 32px; }
  .article-header h1 { font-size: 1.8rem; }
  .article-content { font-size: 1rem; padding: 0 20px; }
  .post-nav { grid-template-columns: 1fr; }
  .author-inner { flex-direction: column; text-align: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
