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

/* Base — Dark Theme */
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background-color: #141418;
  color: #E0E0E0;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid #C8C8C8;
  outline-offset: 3px;
  border-radius: 2px;
}
img { max-width: 100%; height: auto; display: block; }

/* Nav */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 80px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 20, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #2A2A2E;
}
.site-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #F0F0F0;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; gap: 36px; }
.nav-link {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #6B6B6B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: #E0E0E0;
  font-weight: 500;
}

/* Posts Section (about.md contact area) */
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6B6B6B;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}
.section-rule {
  width: 100%;
  height: 1px;
  background-color: #2A2A2E;
  margin-top: 16px;
}

/* Post Full */
.post-full {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 80px;
  width: 100%;
}
.post-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}
.post-full-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #F0F0F0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.post-hero-img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 48px;
  filter: saturate(0.8);
}
.post-body {
  font-size: 17px;
  line-height: 1.8;
  color: #B0B0B0;
}
.post-body p { margin-bottom: 1.5em; }
.post-body img {
  border-radius: 4px;
  margin: 2em 0;
  filter: saturate(0.8);
}
.post-body .transparency-footer {
  margin-top: 4em;
  padding-top: 1.5em;
  border-top: 1px solid #2A2A2E;
  font-size: 14px;
  color: #6B6B6B;
}
.post-body .transparency-label em {
  color: #6B6B6B;
}
.post-body .transparency-prompt {
  font-family: inherit;
  font-size: 14px;
  color: #6B6B6B;
  background: none;
  border: none;
  padding: 0;
  margin: 0.5em 0 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-style: italic;
}

/* Page Content */
.page-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  width: 100%;
}

/* About Page */
.about-split {
  display: flex;
  gap: 80px;
  padding: 80px 0;
  align-items: flex-start;
}
.about-photo {
  width: 400px;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.8);
  flex-shrink: 0;
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 20px;
}
.about-text h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #F0F0F0;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.about-text p {
  font-size: 17px;
  color: #B0B0B0;
  line-height: 1.8;
}
.contact-section {
  padding: 64px 0 80px;
}
.contact-section .section-rule { margin-bottom: 20px; }
.contact-section .section-label { padding-top: 12px; }
.contact-section p {
  font-size: 17px;
  color: #B0B0B0;
  line-height: 1.8;
  margin-top: 20px;
}

/* Project detail page */
.project-category {
  font-size: 12px;
  font-weight: 500;
  color: #6B6B6B;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-tags { display: flex; gap: 8px; padding-top: 8px; flex-wrap: wrap; }
.project-tag {
  font-size: 12px;
  color: #6B6B6B;
  padding: 4px 10px;
  border: 1px solid #2A2A2E;
  border-radius: 20px;
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 80px 40px;
  border-top: 1px solid #2A2A2E;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.social-icons { display: flex; gap: 28px; align-items: center; }
.social-icons a {
  color: #6B6B6B;
  transition: color 0.2s;
  display: flex;
}
.social-icons a:hover { color: #E0E0E0; }
.copyright {
  font-size: 12px;
  color: #4A4A4A;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1024px) {
  .site-nav { padding: 24px 40px; }
  .page-content { padding: 0 40px; }
  .about-split { gap: 48px; }
  .about-photo { width: 320px; height: 420px; }
  .site-footer { padding: 40px; }
}

@media (max-width: 768px) {
  .site-nav { padding: 20px 24px; }
  .nav-links { gap: 24px; }
  .nav-link { font-size: 13px; }
  .page-content { padding: 0 24px; }
  .about-split { flex-direction: column; gap: 40px; padding: 40px 0; }
  .about-photo { width: 100%; height: 320px; }
  .about-text h1 { font-size: 36px; }
  .post-full { padding: 40px 24px; }
  .post-full-title { font-size: 32px; }
  .site-footer { padding: 32px 24px; }
}

/* ============================================================================
   LANDING PAGE — new single-page layout
   ============================================================================ */

.landing-section {
  width: 100%;
  padding: 100px 80px;
  border-top: 1px solid #2A2A2E;
  scroll-margin-top: 80px;
}
.landing-section:first-of-type { border-top: 0; }

/* Shared section header */
.section-head {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 48px;
}
.section-head-wide { align-items: flex-end; }
.section-head-compact { margin-bottom: 40px; }
.section-head-title { display: flex; flex-direction: column; gap: 10px; }
.section-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6B6B6B;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #F0F0F0;
  line-height: 1.05;
}
.section-title-sm { font-size: 32px; letter-spacing: -0.015em; }
.section-link {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #C8C8C8;
  border-bottom: 1px solid #6B6B6B;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.section-link:hover { color: #F0F0F0; border-color: #F0F0F0; }
.section-intro {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #8A8A8A;
  max-width: 460px;
  text-align: right;
}
.section-intro-sm { font-size: 13px; max-width: 360px; font-style: italic; }

/* ---------- Hero ---------- */
.landing-section--hero {
  padding: 120px 80px 100px 80px;
  border-top: 0;
}
.hero-split {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
}
.hero-photo {
  position: relative;
  width: 440px;
  height: 560px;
  flex-shrink: 0;
  border: 1px solid #2A2A2E;
  background: linear-gradient(135deg, #2A2A2E, #1A1A1E);
  overflow: hidden;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.85);
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 12px;
  flex: 1;
  min-width: 0;
}
.hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6B6B6B;
}
.hero-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 84px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: #F0F0F0;
}
.hero-name-zh {
  display: block;
  font-size: 44px;
  font-weight: 300;
  color: #6B6B6B;
  letter-spacing: 0;
  margin-top: 8px;
}
.hero-bio {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: #C8C8C8;
  max-width: 560px;
}

.credential-pills {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pill {
  padding: 8px 16px;
  border: 1px solid #2A2A2E;
  background: #1A1A1E;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C8C8C8;
}

.hero-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding-top: 28px;
  border-top: 1px solid #2A2A2E;
  max-width: 520px;
}
.hero-contact .social-icons { gap: 20px; }
.hero-contact .social-icons a { color: #8A8A8A; }
.hero-contact .social-icons a:hover { color: #F0F0F0; }
.hero-email {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #6B6B6B;
  margin-left: auto;
  transition: color 0.2s;
}
.hero-email:hover { color: #F0F0F0; }

/* ---------- Recent writing (post cards) ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #17171B;
  border: 1px solid #222226;
  transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: #3A3A3E; transform: translateY(-2px); }
.post-card-thumb {
  width: 100%;
  height: 220px;
  background-color: #2A2A2E;
  background-size: cover;
  background-position: center;
  filter: saturate(0.72) brightness(0.82);
}
.post-card-thumb-empty {
  background: linear-gradient(180deg, #2A2520, #141210);
}
.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 28px 32px 28px;
}
.post-card-meta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B6B6B;
}
.post-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #F0F0F0;
}
.post-card-excerpt {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #8A8A8A;
}

/* ---------- Projects / repositories ---------- */
.repo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.repo-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: #17171B;
  border: 1px solid #222226;
  transition: border-color 0.2s, transform 0.2s;
}
.repo-card:hover { border-color: #3A3A3E; transform: translateY(-2px); }
.repo-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.repo-icon { flex-shrink: 0; }
.repo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #F0F0F0;
}
.repo-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #8A8A8A;
  min-height: 66px;
}
.repo-meta {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #222226;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  color: #6B6B6B;
}
.repo-language {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  color: #8A8A8A;
}
.language-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* ---------- Experience timeline ---------- */
.timeline { display: flex; flex-direction: column; }
.timeline-entry {
  display: flex;
  flex-direction: row;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid #222226;
  margin-bottom: 56px;
}
.timeline-entry:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.timeline-date {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 200px;
  flex-shrink: 0;
  padding-top: 6px;
}
.timeline-date-main {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C8C8C8;
}
.timeline-location {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #6B6B6B;
  margin-top: 10px;
}
.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  border-left: 1px solid #2A2A2E;
  padding-left: 56px;
  min-width: 0;
}
.timeline-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #F0F0F0;
}
.timeline-role-small { font-size: 22px; }
.timeline-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: #8A8A8A;
  margin-top: -12px;
}
.timeline-summary {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: #C8C8C8;
  max-width: 640px;
}
.timeline-summary-small { font-size: 14px; color: #8A8A8A; }
.timeline-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.timeline-highlight {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}
.timeline-highlight dt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A8A8A;
  width: 160px;
  flex-shrink: 0;
  padding-top: 3px;
}
.timeline-highlight dd {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #C8C8C8;
  flex: 1;
}

/* ---------- Education ---------- */
.education-list { display: flex; flex-direction: column; }
.education-row {
  display: flex;
  flex-direction: row;
  gap: 56px;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid #222226;
}
.education-row:last-child { border-bottom: 1px solid #222226; }
.education-date {
  width: 200px;
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A8A8A;
}
.education-main { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.education-institution {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #F0F0F0;
}
.education-degree {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #C8C8C8;
}
.education-note {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: #8A8A8A;
  margin-top: 8px;
  max-width: 640px;
}
.education-location {
  width: 180px;
  flex-shrink: 0;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #6B6B6B;
  text-align: right;
  padding-top: 4px;
}

/* ---------- Publications ---------- */
.publications-list { display: flex; flex-direction: column; }
.publication-row {
  display: flex;
  flex-direction: row;
  gap: 56px;
  align-items: flex-start;
  padding: 28px 0;
  border-top: 1px solid #222226;
  transition: background 0.2s;
}
.publication-row:last-child { border-bottom: 1px solid #222226; }
.publication-row:hover { background: #17171B; padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
.publication-year {
  width: 80px;
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #C8C8C8;
}
.publication-main { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.publication-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: #F0F0F0;
  max-width: 820px;
}
.publication-meta {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #8A8A8A;
}
.publication-type {
  width: 80px;
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B6B6B;
  text-align: right;
  padding-top: 4px;
}

/* ---------- Community ---------- */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.community-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: #17171B;
  border: 1px solid #222226;
}
.community-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B6B6B;
}
.community-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #F0F0F0;
}
.community-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: #8A8A8A;
}

/* ---------- Now section (reading/watching/listening) ---------- */
.landing-section--now {
  background: #101014;
  padding: 72px 80px;
}
.now-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.now-card {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 24px;
  background: #17171B;
  border: 1px solid #222226;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}
.now-card:hover { border-color: #3A3A3E; transform: translateY(-2px); }
.now-media {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  filter: saturate(0.7) brightness(0.85);
  border: 1px solid #2A2A2E;
}
.now-media-portrait { width: 96px; height: 144px; }
.now-media-square { width: 96px; height: 96px; align-items: center; justify-content: center; }
.now-media-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #D4C4A8;
  line-height: 1.2;
}
.now-play-glyph {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #B8A6D1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.now-play-glyph::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #B8A6D1;
}
.now-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.now-service {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A8A8A;
}
.now-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.now-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #F0F0F0;
}
.now-meta {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: #8A8A8A;
}
.now-meta-muted {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #8A8A8A;
}
.now-progress { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.now-progress-bar { width: 100%; height: 2px; background: #2A2A2E; }
.now-progress-bar span { display: block; height: 2px; }
.now-progress-labels {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #6B6B6B;
}
.now-rating {
  display: flex;
  flex-direction: row;
  gap: 3px;
  margin-top: 10px;
}
.now-rating .star {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: #E8C46A;
  letter-spacing: 0.08em;
}

/* ---------- Footer (new) ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 100px 80px 64px;
  border-top: 1px solid #2A2A2E;
  background: #0D0D11;
  max-width: none;
  margin: 0;
  width: 100%;
  align-items: stretch;
}
.footer-inner {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-cta { display: flex; flex-direction: column; gap: 20px; max-width: 460px; }
.footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #F0F0F0;
}
.footer-blurb {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: #8A8A8A;
}
.footer-email {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #F0F0F0;
  border-bottom: 1px solid #6B6B6B;
  padding-bottom: 3px;
  display: inline-block;
  width: fit-content;
  margin-top: 8px;
  transition: border-color 0.2s;
}
.footer-email:hover { border-color: #F0F0F0; }
.footer-columns { display: flex; flex-direction: row; gap: 80px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B6B6B;
}
.footer-col a {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #C8C8C8;
  transition: color 0.2s;
}
.footer-col a:hover { color: #F0F0F0; }
.footer-base {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid #222226;
}
.footer-base .copyright {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #6B6B6B;
  letter-spacing: 0;
}
.back-to-top {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8A8A8A;
  transition: color 0.2s;
}
.back-to-top:hover { color: #F0F0F0; }

/* ============================================================================
   BLOG ARCHIVE PAGE
   ============================================================================ */

.blog-archive {
  width: 100%;
  padding: 0 80px 80px 80px;
  box-sizing: border-box;
}

.blog-header {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 120px 0 80px 0;
}
.blog-breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.blog-breadcrumb a { color: #6B6B6B; transition: color 0.2s; }
.blog-breadcrumb a:hover { color: #F0F0F0; }
.blog-breadcrumb-sep { color: #3A3A3E; }
.blog-breadcrumb-current { color: #8A8A8A; }

.blog-header-body {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 80px;
}
.blog-header-text { display: flex; flex-direction: column; gap: 28px; flex: 1; max-width: 780px; }
.blog-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 84px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: #F0F0F0;
}
.blog-subtitle {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: #C8C8C8;
  max-width: 620px;
}
.blog-count { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; padding-bottom: 14px; }
.blog-count-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #F0F0F0;
  line-height: 1;
}
.blog-count-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B6B6B;
}

.blog-year-group { display: flex; flex-direction: column; }
.year-divider {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 32px 0 24px 0;
  border-top: 1px solid #2A2A2E;
}
.year-marker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 120px;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: #2A2A2E;
  line-height: 1;
}
.year-meta { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; }
.year-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B6B6B;
}
.year-range {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #8A8A8A;
}

.blog-posts { display: flex; flex-direction: column; }
.blog-post-row {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  padding: 40px 0;
  border-top: 1px solid #222226;
  transition: background 0.2s, padding 0.2s;
}
.blog-post-row:last-child { border-bottom: 1px solid #222226; }
.blog-post-row:hover { background: #17171B; padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
.blog-post-date {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 120px;
  flex-shrink: 0;
  padding-top: 6px;
}
.blog-post-date-main {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C8C8C8;
}
.blog-post-read {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #6B6B6B;
}
.blog-post-main { flex: 1; display: flex; flex-direction: column; gap: 14px; max-width: 680px; min-width: 0; }
.blog-post-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #F0F0F0;
}
.blog-post-excerpt {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #8A8A8A;
}
.blog-post-tags { display: flex; flex-direction: row; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.blog-tag {
  padding: 4px 10px;
  border: 1px solid #2A2A2E;
  background: #17171B;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8A8A;
}
.blog-post-thumb {
  width: 280px;
  height: 180px;
  flex-shrink: 0;
  background-color: #2A2A2E;
  background-size: cover;
  background-position: center;
  filter: saturate(0.75) brightness(0.82);
  border: 1px solid #2A2520;
}
.blog-post-thumb-empty { background: linear-gradient(135deg, #3C3328, #1A1611); }

.blog-end {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 0 80px 0;
}
.blog-end-rule { flex: 1; height: 1px; background: #2A2A2E; }
.blog-end-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6B6B6B;
}
.blog-end-label a { color: #C8C8C8; transition: color 0.2s; }
.blog-end-label a:hover { color: #F0F0F0; }

/* ============================================================================
   LANDING & BLOG RESPONSIVE
   ============================================================================ */

@media (max-width: 1024px) {
  .landing-section { padding: 72px 40px; }
  .landing-section--hero { padding: 80px 40px 72px 40px; }
  .landing-section--now { padding: 56px 40px; }
  .hero-split { gap: 48px; }
  .hero-photo { width: 320px; height: 440px; }
  .hero-name { font-size: 64px; }
  .hero-name-zh { font-size: 32px; }
  .hero-bio { font-size: 16px; }
  .section-title { font-size: 36px; }
  .section-title-sm { font-size: 26px; }
  .posts-grid, .repo-grid, .now-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .community-grid { grid-template-columns: 1fr 1fr; }
  .timeline-entry { gap: 40px; }
  .timeline-date { width: 160px; }
  .timeline-content { padding-left: 40px; }
  .timeline-role { font-size: 24px; }
  .publication-row, .education-row { gap: 32px; }
  .education-location { width: 140px; }
  .site-footer { padding: 72px 40px 48px; }
  .footer-inner { gap: 48px; flex-wrap: wrap; }
  .blog-archive { padding: 0 40px 64px 40px; }
  .blog-header { padding: 80px 0 64px 0; }
  .blog-title { font-size: 64px; }
  .blog-count-num { font-size: 44px; }
  .year-marker { font-size: 88px; }
  .blog-post-row { gap: 32px; }
  .blog-post-thumb { width: 220px; height: 140px; }
  .blog-post-title { font-size: 26px; }
}

@media (max-width: 768px) {
  .site-nav { padding: 16px 24px; }
  .nav-links { gap: 16px; overflow-x: auto; }
  .landing-section { padding: 56px 24px; }
  .landing-section--hero { padding: 64px 24px 56px 24px; }
  .landing-section--now { padding: 48px 24px; }
  .section-head { flex-direction: column; gap: 20px; align-items: flex-start; }
  .section-intro { text-align: left; max-width: 100%; }
  .section-title { font-size: 28px; }
  .hero-split { flex-direction: column; gap: 40px; }
  .hero-photo { width: 100%; height: 360px; }
  .hero-name { font-size: 48px; }
  .hero-name-zh { font-size: 24px; }
  .posts-grid, .repo-grid, .community-grid, .now-grid { grid-template-columns: 1fr; }
  .timeline-entry { flex-direction: column; gap: 24px; padding-bottom: 40px; margin-bottom: 40px; }
  .timeline-date { width: auto; flex-direction: row; gap: 8px; }
  .timeline-content { border-left: 0; padding-left: 0; border-top: 1px solid #2A2A2E; padding-top: 20px; }
  .timeline-highlight { flex-direction: column; gap: 6px; }
  .timeline-highlight dt { width: auto; }
  .education-row { flex-direction: column; gap: 12px; }
  .education-date, .education-location { width: auto; text-align: left; }
  .publication-row { flex-direction: column; gap: 8px; }
  .publication-year, .publication-type { width: auto; text-align: left; }
  .now-card { flex-direction: row; }
  .site-footer { padding: 56px 24px 40px; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-columns { gap: 48px; }
  .footer-base { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-heading { font-size: 26px; }
  .blog-archive { padding: 0 24px 48px 24px; }
  .blog-header { padding: 56px 0 48px 0; gap: 32px; }
  .blog-header-body { flex-direction: column; gap: 32px; align-items: flex-start; }
  .blog-title { font-size: 44px; }
  .blog-count-num { font-size: 36px; }
  .year-divider { gap: 16px; padding: 24px 0 16px 0; }
  .year-marker { font-size: 56px; }
  .blog-post-row { flex-direction: column; gap: 20px; padding: 32px 0; }
  .blog-post-row:hover { padding: 32px 0; margin: 0; background: transparent; }
  .blog-post-date { width: auto; flex-direction: row; gap: 12px; align-items: baseline; }
  .blog-post-thumb { width: 100%; height: 200px; }
  .blog-post-title { font-size: 24px; }
}
