/* ==========================================================================
   POST/HUMAN — Newspaper Publication Layout
   Dark cinematic system with Flux Pro imagery
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --bg: #0A0E1A;
  --surface: #141B2D;
  --card: #111827;
  --near-black: #060810;

  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.12);

  --text: #ffffff;
  --text-80: rgba(255,255,255,0.8);
  --text-60: rgba(255,255,255,0.6);
  --text-50: rgba(255,255,255,0.5);
  --text-40: rgba(255,255,255,0.4);
  --text-30: rgba(255,255,255,0.3);
  --text-25: rgba(255,255,255,0.25);
  --text-15: rgba(255,255,255,0.15);
  --text-10: rgba(255,255,255,0.1);
  --text-05: rgba(255,255,255,0.05);

  --accent: #10B981;
  --accent-light: #34D399;
  --accent-bg: rgba(16, 185, 129, 0.1);
  --accent-border: rgba(16, 185, 129, 0.2);

  --emerald: #10B981;
  --blue: #3B82F6;
  --amber: #F59E0B;
  --violet: #8B5CF6;

  --max-w: 1024px;
  --content-w: 672px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.7;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(16, 185, 129, 0.3); color: white; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(16, 185, 129, 0.4); }

/* ==========================================================================
   HEADER — Row 1: Top Bar + Row 2: Nav Tabs
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); }

/* Row 1 — Top Bar */
.topbar { border-bottom: 1px solid var(--border); }
.topbar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; height: 52px;
  position: relative;
}
.topbar-monogram {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: transparent; border: none;
  flex-shrink: 0; overflow: hidden;
}
.topbar-icon { width: 100%; height: 100%; object-fit: cover; }
.topbar-name {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.topbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.topbar-subscribe {
  display: inline-flex; padding: 6px 16px;
  background: var(--accent); color: var(--bg);
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  border-radius: 4px; transition: background 0.2s;
}
.topbar-subscribe:hover { background: var(--accent-light); }
.topbar-search {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: none; border: none;
  color: var(--text-40); cursor: pointer; transition: color 0.2s;
}
.topbar-search:hover { color: var(--accent); }

/* Row 2 — Desktop Nav Tabs */
.navtabs { border-bottom: 1px solid var(--border); }
.navtabs-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: center; gap: 32px; height: 44px;
}
.navtab {
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: var(--text-50); padding: 12px 0;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all 0.2s;
}
.navtab:hover { color: var(--text-80); }
.navtab.active { color: var(--text); border-bottom-color: var(--accent); }

/* Mobile nav — horizontal scroll */
.mobile-nav { display: none; border-bottom: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; padding: 0 12px; scrollbar-width: none; }
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav a {
  display: inline-block; padding: 10px 14px; border-bottom: 2px solid transparent;
  font-size: 13px; color: var(--text-50); transition: all 0.2s; white-space: nowrap;
}
.mobile-nav a:hover { color: var(--text); }
.mobile-nav a.active { color: var(--text); border-bottom-color: var(--accent); }

/* ==========================================================================
   HERO CARD — gradient card with text left, cover right
   ========================================================================== */
.hero-card {
  max-width: var(--max-w); margin: 0 auto; padding: 16px 16px 12px;
}
.hero-card-inner {
  display: flex; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 50%, rgba(16,185,129,0.04) 100%);
  border: 1px solid var(--border); height: 280px; max-height: 280px;
  transition: border-color 0.2s;
}
.hero-card-inner:hover { border-color: var(--accent-border); }
.hero-card-text {
  flex: 1; min-width: 0; padding: 28px 32px; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-card-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px;
}
.hero-card-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 6px;
}
.hero-card-desc {
  font-size: 13px; color: var(--text-50); line-height: 1.5; margin-bottom: 14px;
}
.hero-card-btn {
  display: inline-block; align-self: flex-start;
  padding: 6px 16px; background: var(--accent); color: var(--bg);
  font-weight: 700; font-size: 12px; border-radius: 4px;
  transition: background 0.2s;
}
.hero-card-btn:hover { background: var(--accent-light); }
.hero-card-cover {
  flex-shrink: 0; width: 40%; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--surface), rgba(16,185,129,0.03));
}
.hero-card-cover img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-height: 240px; max-width: 85%; object-fit: contain;
}
.hero-cover-placeholder {
  width: 180px; height: 240px; border-radius: 8px;
  background: linear-gradient(180deg, var(--accent-bg), rgba(16,185,129,0.03));
  border: 1px solid var(--accent-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
}
.hero-cover-placeholder .initials {
  font-family: var(--font-display); font-size: 36px; color: rgba(16,185,129,0.5); margin-bottom: 8px;
}
.hero-cover-placeholder .tagline { font-size: 12px; color: var(--text-40); }
.hero-cover-placeholder .divider { width: 48px; height: 1px; background: var(--accent-border); margin: 16px 0; }
.hero-cover-placeholder .year { font-family: var(--font-mono); font-size: 11px; color: var(--text-25); }

/* ==========================================================================
   POPULAR ROW — 4-column grid of featured posts
   ========================================================================== */
.popular-section {
  max-width: var(--max-w); margin: 0 auto; padding: 0 16px 32px;
  border-bottom: 1px solid var(--border);
}
.popular-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.popular-header h2 { font-family: var(--font-body); font-weight: 700; font-size: 16px; }
.popular-header a {
  font-family: var(--font-mono); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.2s;
}
.popular-header a:hover { color: var(--accent-light); }
.popular-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.popular-card {
  display: grid; grid-template-columns: 1fr 72px; grid-template-rows: 1fr auto;
  gap: 0 12px; align-items: start;
}
.popular-card:hover .popular-card-title { color: var(--accent); }
.popular-card-image {
  grid-column: 2; grid-row: 1 / -1; align-self: start;
  width: 72px; height: 48px; border-radius: 4px; overflow: hidden;
  background: linear-gradient(135deg, var(--surface), var(--card));
}
.popular-card-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.popular-card:hover .popular-card-image img { opacity: 0.8; }
.popular-card-title {
  grid-column: 1; grid-row: 1;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  line-height: 1.4; transition: color 0.2s;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.popular-card-meta {
  grid-column: 1; grid-row: 2;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-30); margin-top: 6px;
}

/* ==========================================================================
   TWO-COLUMN LAYOUT — Feed Left + Sidebar Right
   ========================================================================== */
.content-layout {
  max-width: var(--max-w); margin: 0 auto; padding: 32px 16px 64px;
  display: flex; gap: 40px;
}
.content-main { flex: 1; min-width: 0; }
.content-sidebar { width: 300px; flex-shrink: 0; }
.content-sidebar-inner { position: sticky; top: 112px; }

/* Tab filter bar */
.tab-bar {
  display: flex; align-items: center; gap: 24px;
  border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.tab-filter {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 12px 0; color: var(--text-50);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all 0.2s; cursor: pointer;
}
.tab-filter:hover { color: var(--text-80); }
.tab-filter.active { color: var(--text); border-bottom-color: var(--accent); }

/* ==========================================================================
   POST LIST ITEM — text left, thumbnail right
   ========================================================================== */
.post-item { display: block; }
.post-item-inner {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.post-item:last-child .post-item-inner { border-bottom: none; }
.post-item:hover .post-item-title { color: var(--accent); }

.post-item-text { flex-grow: 1; min-width: 0; }
.post-item-author {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-40); margin-bottom: 4px;
}
.post-item-title {
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  line-height: 1.4; transition: color 0.2s; margin-bottom: 4px;
}
.post-item-excerpt {
  font-size: 14px; color: var(--text-40); line-height: 1.5; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-item-date {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-30);
}
.post-item-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; margin-right: 8px;
}
.post-item-tag.biohacking { color: var(--emerald); }
.post-item-tag.cognitive-enhancement { color: var(--blue); }
.post-item-tag.futurism { color: var(--amber); }
.post-item-tag.transhumanism { color: var(--violet); }

.post-item-thumb {
  flex-shrink: 0; width: 120px; height: 80px; border-radius: 4px; overflow: hidden;
  background: linear-gradient(135deg, var(--surface), var(--card));
}
.post-item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.post-item:hover .post-item-thumb img { opacity: 0.8; }

/* See all button */
.see-all-btn {
  display: block; width: 100%; text-align: center; padding: 12px;
  font-family: var(--font-body); font-size: 13px; color: var(--accent);
  border: 1px solid var(--text-10); border-radius: 4px;
  margin-top: 24px; transition: all 0.2s;
}
.see-all-btn:hover { border-color: var(--accent-border); }

/* Pagination */
.pagination {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; font-family: var(--font-mono); font-size: 13px;
}
.pagination a { color: var(--accent); transition: color 0.2s; }
.pagination a:hover { color: var(--accent-light); }
.pagination .page-info { color: var(--text-30); }
.pagination .disabled { color: var(--text-25); cursor: default; }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.sidebar-brand {
  border: 1px solid var(--border); border-radius: 8px; padding: 24px; margin-bottom: 24px;
}
.sidebar-brand-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sidebar-brand-logo {
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: none;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.sidebar-brand-icon { width: 100%; height: 100%; object-fit: cover; }
.sidebar-brand-name { font-family: var(--font-body); font-weight: 700; font-size: 16px; }
.sidebar-brand-desc { font-size: 13px; color: var(--text-50); line-height: 1.5; margin-bottom: 16px; }
.sidebar-subscribe {
  display: block; width: 100%; text-align: center; padding: 10px;
  background: var(--accent); color: var(--bg); font-weight: 700; font-size: 13px;
  border-radius: 4px; transition: background 0.2s;
}
.sidebar-subscribe:hover { background: var(--accent-light); }
.sidebar-author { font-family: var(--font-mono); font-size: 11px; color: var(--text-30); margin-top: 12px; }

.sidebar-section h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 13px; margin-bottom: 16px;
}
.sidebar-partner {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-partner:last-child { border-bottom: none; }
.sidebar-partner:hover .sidebar-partner-name { color: var(--accent); }
.sidebar-partner-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--text-10);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-40); flex-shrink: 0;
}
.sidebar-partner-name { font-size: 13px; font-weight: 500; transition: color 0.2s; }
.sidebar-partner-desc { font-size: 12px; color: var(--text-30); }

/* ==========================================================================
   FOOTER — centered, subscribe form, links
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0; }
.site-footer-inner { max-width: 400px; margin: 0 auto; padding: 0 16px; text-align: center; }
.site-footer-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.site-footer-desc { font-size: 13px; color: var(--text-40); margin-bottom: 32px; }

.footer-subscribe { display: flex; gap: 8px; max-width: 360px; margin: 0 auto 32px; }
.footer-subscribe input {
  flex: 1; padding: 10px 14px; border-radius: 4px;
  border: 1px solid var(--text-10); background: var(--surface);
  color: var(--text); font-size: 13px; font-family: var(--font-body); outline: none;
  transition: border-color 0.2s;
}
.footer-subscribe input:focus { border-color: rgba(16,185,129,0.4); }
.footer-subscribe input::placeholder { color: var(--text-30); }
.footer-subscribe button {
  padding: 10px 20px; border-radius: 4px; font-size: 13px; font-weight: 700;
  background: var(--accent); color: var(--bg); border: none; cursor: pointer;
  font-family: var(--font-body); white-space: nowrap; transition: background 0.2s;
}
.footer-subscribe button:hover { background: var(--accent-light); }

.footer-nav {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 16px; font-family: var(--font-mono); font-size: 11px;
}
.footer-nav a { color: var(--text-25); transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-15); margin-top: 32px;
}

/* ==========================================================================
   SINGLE POST PAGE
   ========================================================================== */
.post-page { max-width: var(--content-w); margin: 0 auto; padding: 48px 16px 0; }

.post-page-header { margin-bottom: 40px; }
.post-page-byline {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-40); margin-bottom: 24px;
}
.post-page-byline .author-name { color: var(--text-60); }
.post-page-byline .sep { color: var(--text-10); }
.post-page-title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(26px, 5vw, 34px); line-height: 1.25; margin-bottom: 12px;
}
.post-page-excerpt { font-size: 17px; color: var(--text-50); line-height: 1.6; }

.post-page-feature { margin: 0 -16px 40px; max-height: 420px; overflow: hidden; border-radius: 2px; }
.post-page-feature img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: 2px; }
.post-page-feature-placeholder {
  width: 100%; aspect-ratio: 16/9; border-radius: 2px;
  background: linear-gradient(135deg, var(--surface), var(--card));
}

/* Post body — prose styles */
.post-body { margin-bottom: 48px; }
.post-body h2 {
  font-family: var(--font-body); font-weight: 700; font-size: 22px;
  margin: 48px 0 16px; color: var(--text);
}
.post-body h3 {
  font-family: var(--font-body); font-weight: 700; font-size: 19px;
  margin: 40px 0 12px; color: var(--text);
}
.post-body p {
  font-size: 17px; line-height: 1.8; color: var(--text-80); margin-bottom: 20px;
}
.post-body strong { color: var(--text); }
.post-body em { font-style: italic; }
.post-body a { color: var(--accent); text-decoration: none; }
.post-body a:hover { text-decoration: underline; }
.post-body ul, .post-body ol { margin-bottom: 20px; padding-left: 24px; color: var(--text-80); }
.post-body li { margin-bottom: 8px; line-height: 1.7; }
.post-body blockquote {
  border-left: 2px solid rgba(16,185,129,0.4); padding: 8px 20px; margin: 32px 0;
}
.post-body blockquote p { color: var(--text-60); font-style: normal; margin-bottom: 0; }
.post-body code {
  font-family: var(--font-mono); font-size: 0.875em; color: var(--accent);
}
.post-body hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* Subscribe CTA in article */
.subscribe-cta {
  margin: 48px 0; padding: 32px 0; border-top: 1px solid var(--accent-border);
  border-bottom: 1px solid var(--accent-border); text-align: center;
}
.subscribe-cta p { font-size: 17px; color: var(--text-60); margin-bottom: 16px; }
.subscribe-cta a {
  display: inline-block; padding: 10px 24px;
  background: var(--accent); color: var(--bg); font-weight: 700; font-size: 13px;
  border-radius: 4px; transition: background 0.2s;
}
.subscribe-cta a:hover { background: var(--accent-light); }

/* Tags */
.post-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-30);
  transition: color 0.2s;
}
.post-tags a:hover { color: var(--accent); }

/* Prev / Next nav */
.post-nav {
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--text-10);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.post-nav-label {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-30);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.post-nav-title {
  font-size: 14px; color: var(--text-60); margin-top: 4px; transition: color 0.2s;
}
.post-nav a:hover .post-nav-title { color: var(--accent); }
.post-nav-next { text-align: right; }

/* Comments placeholder */
.comments-section {
  margin-top: 64px; padding-top: 32px; padding-bottom: 64px;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   ABOUT / CONTACT / NEWSLETTER PAGES
   ========================================================================== */
.page-single { max-width: var(--content-w); margin: 0 auto; padding: 48px 16px 80px; }
.page-single-header { margin-bottom: 40px; }
.page-single-title {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(26px, 5vw, 34px); line-height: 1.25; margin-bottom: 12px;
}
.page-single-subtitle { font-size: 16px; color: var(--text-50); line-height: 1.6; }
.page-single-subtitle a { color: var(--accent); }

.page-body h2 {
  font-family: var(--font-body); font-weight: 700; font-size: 22px;
  margin: 48px 0 16px;
}
.page-body p { font-size: 16px; line-height: 1.75; color: var(--text-80); margin-bottom: 16px; }
.page-body strong { color: var(--text); }
.page-body a { color: var(--accent); }
.page-divider { border: none; height: 1px; background: var(--border); margin: 40px 0; }

/* Origin card */
.origin-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 32px;
}
.origin-label {
  display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-40); margin-bottom: 16px;
}
.origin-card p { color: var(--text-80); font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.origin-card p:last-of-type { margin-bottom: 0; }
.origin-card a { color: var(--accent); }
.origin-sig {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-30);
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border);
}

/* Domain list */
.domain-list { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; }
.domain-item {
  padding: 16px 20px; background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; border-left: 3px solid var(--border);
}
.domain-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.domain-item p { font-size: 13px; color: var(--text-40); margin: 0; line-height: 1.5; }

/* Principles */
.principle-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.principle-item { padding: 16px 20px; background: var(--card); border: 1px solid var(--border); border-radius: 6px; }
.principle-num {
  display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.08em; margin-bottom: 6px;
}
.principle-item h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.principle-item p { font-size: 13px; color: var(--text-40); margin: 0; line-height: 1.5; }

/* Credentials */
.cred-list { list-style: none; padding: 0; margin: 20px 0; }
.cred-list li {
  padding: 12px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text-80); line-height: 1.5;
}
.cred-list li:last-child { border-bottom: none; }
.cred-list strong { color: var(--text); }
.cred-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px;
  display: inline-block;
}

/* Page CTA */
.page-cta {
  text-align: center; padding: 32px; background: var(--card);
  border: 1px solid var(--border); border-radius: 8px; margin-top: 40px;
}
.page-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.page-cta p { font-size: 14px; color: var(--text-40); margin-bottom: 16px; }
.page-cta a {
  display: inline-block; padding: 10px 24px; border-radius: 4px;
  font-weight: 700; font-size: 13px; background: var(--accent); color: var(--bg);
  transition: background 0.2s;
}
.page-cta a:hover { background: var(--accent-light); }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; margin-top: 24px; }
.contact-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.contact-info > p { font-size: 14px; color: var(--text-50); margin-bottom: 20px; line-height: 1.6; }
.contact-types { display: flex; flex-direction: column; gap: 14px; }
.contact-type { display: flex; gap: 10px; align-items: flex-start; }
.contact-type-icon {
  width: 32px; height: 32px; border-radius: 6px; background: var(--card);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-type strong { font-size: 13px; font-weight: 600; display: block; margin-bottom: 2px; }
.contact-type p { font-size: 12px; color: var(--text-30); margin: 0; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 500; color: var(--text-50); margin-bottom: 4px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 12px; border-radius: 4px;
  border: 1px solid var(--text-10); background: var(--bg);
  color: var(--text); font-size: 14px; font-family: var(--font-body); outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(16,185,129,0.4); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-30); }
.form-note { font-size: 11px; color: var(--text-30); margin-top: 10px; text-align: center; }

/* Newsletter page */
.nl-page { max-width: 480px; margin: 0 auto; padding: 64px 16px 80px; text-align: center; }
.nl-page h1 {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(26px, 5vw, 34px); line-height: 1.25; margin-bottom: 12px;
}
.nl-page .lead { font-size: 15px; color: var(--text-50); margin-bottom: 28px; line-height: 1.65; }
.nl-trust { font-size: 12px; color: var(--text-30); margin-top: 12px; }
.nl-values { text-align: left; margin: 36px 0; display: flex; flex-direction: column; gap: 14px; }
.nl-value {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--text-50); line-height: 1.5;
}
.nl-value-icon { width: 24px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.nl-divider { border: none; height: 1px; background: var(--border); margin: 36px 0; }
.nl-recent-label {
  display: block; text-align: left;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-30); margin-bottom: 12px;
}
.nl-recent-list { text-align: left; display: flex; flex-direction: column; gap: 6px; }
.nl-recent-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; background: var(--card); border: 1px solid var(--border);
  border-radius: 4px; transition: border-color 0.2s;
}
.nl-recent-item:hover { border-color: var(--border-hover); }
.nl-recent-item h3 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.nl-recent-meta { font-size: 11px; color: var(--text-30); }
.nl-recent-arrow { color: var(--text-30); font-size: 14px; }

/* Tag / category page header */
.tag-page-header {
  margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.tag-page-header h1 { font-family: var(--font-body); font-weight: 700; font-size: 24px; margin-bottom: 8px; }
.tag-page-header p { color: var(--text-50); font-size: 15px; line-height: 1.5; }
.tag-page-header .tag-count { font-family: var(--font-mono); font-size: 11px; color: var(--text-25); margin-top: 8px; }

/* ==========================================================================
   MANIFESTO / BOOK PAGE
   ========================================================================== */
.manifesto-toc { margin: 32px 0 48px; padding: 24px 32px; border: 1px solid var(--accent-border); border-radius: 8px; background: var(--card); }
.manifesto-toc .toc-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; font-weight: 600; }
.manifesto-toc ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
.manifesto-toc li { font-family: var(--font-body); font-size: 14px; color: var(--text-50); }
.diagram-figure { margin: 40px -16px; }
.diagram-figure svg { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--border); }
.diagram-figure figcaption { font-family: var(--font-mono); font-size: 11px; color: var(--text-25); text-align: center; margin-top: 12px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .popular-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
}

@media (max-width: 768px) {
  .navtabs { display: none; }
  .mobile-nav { display: block; }

  .manifesto-toc ol { grid-template-columns: 1fr; }
  .diagram-figure { margin: 32px 0; }

  .hero-card-inner { flex-direction: column; height: auto; max-height: none; }
  .hero-card-cover { width: 100%; height: 180px; }
  .hero-card-cover img { position: static; transform: none; max-height: 160px; margin: 0 auto; }
  .hero-card-text { padding: 24px; }
  .hero-card-title { font-size: 20px; }

  .popular-grid { grid-template-columns: repeat(2, 1fr); }

  .content-layout { flex-direction: column; }
  .content-sidebar { width: 100%; }

  .post-item-thumb { width: 96px; height: 64px; }

  .footer-subscribe { flex-direction: column; }

  .contact-grid { grid-template-columns: 1fr; }

  .post-nav { grid-template-columns: 1fr; gap: 24px; }
  .post-nav-next { text-align: left; }
}

@media (max-width: 480px) {
  .popular-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-card-cover { height: 140px; }
  .topbar-name { font-size: 11px; letter-spacing: 0.1em; }
}

/* ==========================================================================
   START HERE PAGE
   ========================================================================== */
.start-here { max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }

.sh-hero { text-align: center; padding: 64px 0 48px; max-width: 640px; margin: 0 auto; }
.sh-label {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 12px;
}
.sh-hero-title {
  font-family: var(--font-display); font-size: clamp(28px, 5vw, 40px); font-weight: 700;
  line-height: 1.2; margin-bottom: 16px;
}
.sh-hero-desc { font-size: 17px; color: var(--text-60); line-height: 1.65; margin-bottom: 28px; }
.sh-hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.sh-btn-primary {
  display: inline-block; padding: 10px 24px; background: var(--accent); color: var(--bg);
  font-weight: 700; font-size: 13px; border-radius: 4px; transition: background 0.2s;
}
.sh-btn-primary:hover { background: var(--accent-light); }
.sh-btn-secondary {
  display: inline-block; padding: 10px 24px; border: 1px solid var(--text-10); color: var(--text-60);
  font-size: 13px; border-radius: 4px; transition: all 0.2s;
}
.sh-btn-secondary:hover { border-color: var(--accent-border); color: var(--text); }

/* Two Worlds */
.sh-worlds {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 48px 0; border-top: 1px solid var(--border);
}
.sh-world-card {
  border: 1px solid var(--border); border-radius: 8px; padding: 28px;
  transition: border-color 0.2s;
}
.sh-world-card:hover { border-color: var(--accent-border); }
.sh-world-label { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.sh-world-label.accent { color: var(--accent); }
.sh-world-label.dim { color: var(--text-30); }
.sh-world-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.sh-world-desc { font-size: 14px; color: var(--text-50); line-height: 1.6; margin-bottom: 14px; }
.sh-world-link { font-family: var(--font-mono); font-size: 13px; color: var(--accent); transition: color 0.2s; }
.sh-world-link:hover { color: var(--accent-light); }

/* Reading Path */
.sh-reading { padding: 48px 0; border-top: 1px solid var(--border); max-width: var(--content-w); margin: 0 auto; }
.sh-section-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 28px; }

.sh-manifesto-card {
  display: block; padding: 28px; border-radius: 8px; margin-bottom: 28px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 50%, rgba(16,185,129,0.04) 100%);
  border: 1px solid var(--border); transition: border-color 0.2s;
}
.sh-manifesto-card:hover { border-color: var(--accent-border); }
.sh-manifesto-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.sh-manifesto-title { font-family: var(--font-body); font-weight: 700; font-size: 22px; margin: 8px 0 10px; }
.sh-manifesto-desc { font-size: 14px; color: var(--text-50); line-height: 1.6; margin-bottom: 12px; }
.sh-manifesto-link { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }

.sh-essays { display: flex; flex-direction: column; }
.sh-essay-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--border); transition: all 0.2s;
}
.sh-essay-item:last-child { border-bottom: none; }
.sh-essay-num { font-family: var(--font-mono); font-size: 13px; color: var(--text-25); padding-top: 2px; width: 20px; flex-shrink: 0; }
.sh-essay-title { font-family: var(--font-body); font-weight: 700; font-size: 16px; transition: color 0.2s; }
.sh-essay-item:hover .sh-essay-title { color: var(--accent); }
.sh-essay-excerpt { font-size: 13px; color: var(--text-40); line-height: 1.5; margin-top: 4px; }
.sh-all-link { display: inline-block; margin-top: 20px; font-family: var(--font-mono); font-size: 13px; color: var(--accent); transition: color 0.2s; }
.sh-all-link:hover { color: var(--accent-light); }

/* Subscribe section */
.sh-subscribe { text-align: center; padding: 48px 0 80px; border-top: 1px solid var(--border); max-width: 480px; margin: 0 auto; }
.sh-subscribe-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.sh-subscribe-desc { font-size: 15px; color: var(--text-50); line-height: 1.6; margin-bottom: 24px; }
.sh-subscribe-form { display: flex; gap: 8px; max-width: 380px; margin: 0 auto; }
.sh-subscribe-form input {
  flex: 1; padding: 10px 14px; border-radius: 4px;
  border: 1px solid var(--text-10); background: var(--surface);
  color: var(--text); font-size: 13px; font-family: var(--font-body); outline: none;
  transition: border-color 0.2s;
}
.sh-subscribe-form input:focus { border-color: rgba(16,185,129,0.4); }
.sh-subscribe-form input::placeholder { color: var(--text-30); }
.sh-subscribe-form button {
  padding: 10px 20px; border-radius: 4px; font-size: 13px; font-weight: 700;
  background: var(--accent); color: var(--bg); border: none; cursor: pointer;
  font-family: var(--font-body); white-space: nowrap; transition: background 0.2s;
}
.sh-subscribe-form button:hover { background: var(--accent-light); }

/* ==========================================================================
   ABOUT PAGE — Upgraded
   ========================================================================== */
.about-page { max-width: var(--max-w); margin: 0 auto; padding: 0 16px 80px; }
.about-hero { padding: 48px 0; }
.about-hero-inner { display: flex; align-items: flex-start; gap: 28px; max-width: var(--content-w); margin: 0 auto; }
.about-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-border); flex-shrink: 0; }
.about-avatar-placeholder {
  width: 120px; height: 120px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-bg); border: 2px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 28px; color: rgba(16,185,129,0.5);
}
.about-name { font-family: var(--font-display); font-size: clamp(26px, 5vw, 36px); font-weight: 700; margin: 4px 0 10px; }
.about-tagline { font-size: 16px; color: var(--text-50); line-height: 1.6; }
.about-tagline a { color: var(--accent); }
.about-tagline a:hover { text-decoration: underline; }

.about-origin { max-width: var(--content-w); margin: 0 auto; padding-bottom: 32px; }
.about-projects { padding: 32px 0; border-top: 1px solid var(--border); }
.about-section-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 20px; }

.about-connect { padding: 32px 0; border-top: 1px solid var(--border); max-width: var(--content-w); margin: 0 auto; }
.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.connect-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: 6px; transition: border-color 0.2s;
}
.connect-card:hover { border-color: var(--accent-border); }
.connect-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--text-05);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.connect-icon svg { width: 18px; height: 18px; color: var(--text-40); transition: color 0.2s; }
.connect-card:hover .connect-icon svg { color: var(--accent); }
.connect-name { display: block; font-size: 13px; font-weight: 600; transition: color 0.2s; }
.connect-card:hover .connect-name { color: var(--accent); }
.connect-handle { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-30); }

.press-box {
  padding: 20px 24px; border: 1px solid var(--border); border-radius: 8px; margin-top: 8px;
}
.press-title { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-40); margin-bottom: 10px; }
.press-desc { font-size: 13px; color: var(--text-40); line-height: 1.6; }
.press-desc a { color: var(--accent); }
.press-desc a:hover { text-decoration: underline; }

/* Responsive — Start Here + About */
@media (max-width: 768px) {
  .sh-worlds { grid-template-columns: 1fr; }
  .sh-subscribe-form { flex-direction: column; }
  .about-hero-inner { flex-direction: column; align-items: center; text-align: center; }
  .connect-grid { grid-template-columns: 1fr; }
}
