/* ═══════════════════════════════════════════════════════════════════════════════
   jamcoder.blog — Design System
   Palette: warm paper, forest green, editorial serif + code-mono accents
   ═══════════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  --paper: #fafaf8;
  --ink: #17171b;
  --ink-2: #3d3d45;
  --ink-3: #6b7280;
  --ink-4: #9ca3af;
  --surface: #ffffff;
  --border: #e5e7eb;
  --border-2: #f0f0ee;
  --green: #2d6a4f;
  --green-hover: #1b4332;
  --green-subtle: #d8f3dc;
  --amber: #b45309;
  --amber-subtle: #fef3c7;
  --red: #b91c1c;
  --red-subtle: #fee2e2;
  --code-bg: #1e1e2a;
  --code-fg: #e2e8f0;
  --radius: 6px;
  --radius-sm: 3px;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --w-prose: 680px;
  --w-wide: 1200px;
  --nav-h: 56px;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }

/* ── Focus ────────────────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: var(--radius-sm); }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,0.85); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--w-wide); margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.125rem;
  letter-spacing: -0.02em; color: var(--ink);
}
.nav-logo span { color: var(--green); font-weight: 700; }
.nav-logo-dot { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a {
  font-size: 0.8125rem; font-weight: 500; color: var(--ink-3);
  transition: color 0.15s; letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-btn {
  padding: 0.375rem 0.875rem; border-radius: var(--radius);
  background: var(--green); color: #fff !important;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em;
  transition: background 0.15s;
}
.nav-btn:hover { background: var(--green-hover) !important; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.layout {
  max-width: var(--w-wide); margin: 0 auto;
  padding: 2rem 1.5rem; display: flex; gap: 2rem;
}
.main-content { flex: 1; min-width: 0; }

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.sidebar { width: 260px; flex-shrink: 0; }
.sidebar-sticky { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sidebar-section { margin-bottom: 1.75rem; }
.sidebar-section h3 {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-4);
  margin-bottom: 0.75rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-2);
}
.sidebar-bio {
  font-size: 0.8125rem; color: var(--ink-3); line-height: 1.5;
  margin-bottom: 0.75rem;
}
.sidebar-links { list-style: none; padding: 0; }
.sidebar-links li { margin-bottom: 0.25rem; }
.sidebar-links a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.5rem; border-radius: var(--radius-sm);
  font-size: 0.8125rem; color: var(--ink-2); transition: all 0.12s;
}
.sidebar-links a:hover { background: rgba(0,0,0,0.03); color: var(--ink); }

/* ── Tags ─────────────────────────────────────────────────────────────────── */
.tags-wrap { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tag {
  display: inline-block; padding: 0.25rem 0.625rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  color: var(--ink-3); cursor: pointer; transition: all 0.15s;
  letter-spacing: 0.02em; background: transparent;
}
.tag:hover, .tag.active {
  color: var(--green); border-color: var(--green);
  background: var(--green-subtle);
}
.tag-count { color: var(--ink-4); margin-left: 0.2rem; font-size: 0.625rem; }

/* ── Post Cards ───────────────────────────────────────────────────────────── */
.post-card {
  padding: 1.75rem 0; border-bottom: 1px solid var(--border-2);
  cursor: pointer; transition: padding 0.2s;
}
.post-card:first-child { padding-top: 0; }
.post-card:hover { padding-left: 0.75rem; }
.post-card-meta {
  display: flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--ink-4); margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.post-card-date { color: var(--ink-4); }
.post-card-tags { display: flex; gap: 0.375rem; }
.post-card-tags span {
  padding: 0.125rem 0.375rem;
  background: var(--border-2); border-radius: var(--radius-sm);
  font-size: 0.625rem; color: var(--ink-3);
}
.post-title {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
  line-height: 1.2; letter-spacing: -0.015em; color: var(--ink);
  margin-bottom: 0.375rem;
}
.post-card:hover .post-title { color: var(--green); }
.post-excerpt {
  font-size: 0.9375rem; line-height: 1.55; color: var(--ink-2);
  margin-bottom: 0.5rem;
}
.post-meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--ink-4);
}
.post-meta-sep { color: var(--ink-4); }

/* ── Post Detail ──────────────────────────────────────────────────────────── */
.post-full { max-width: var(--w-prose); margin: 0 auto; padding: 3rem 0 4rem; }
.post-back {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-4);
  margin-bottom: 1.5rem; transition: color 0.15s;
  letter-spacing: 0.02em;
}
.post-back:hover { color: var(--ink); }
.post-full-header { margin-bottom: 2.5rem; }
.post-full-tags {
  display: flex; gap: 0.375rem; margin-bottom: 0.75rem; flex-wrap: wrap;
}
.post-full-tags .tag { font-size: 0.6875rem; }
.post-full h1 {
  font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 0.75rem;
}
.post-full-meta {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-4);
  letter-spacing: 0.02em;
}
.post-full-meta .author { font-weight: 500; color: var(--ink-2); font-family: var(--font-sans); }
.post-full-meta .sep { color: var(--border); }
.post-reading-time {
  color: var(--ink-4);
}
.post-reading-time::before { content: "// "; color: var(--ink-4); }

/* ── Content (Editor.js rendered) ─────────────────────────────────────────── */
.content {
  font-family: var(--font-serif); font-size: 1.1875rem;
  line-height: 1.78; color: var(--ink-2);
}
.content > * + * { margin-top: 1.5rem; }
.content h2 {
  font-family: var(--font-sans); font-size: 1.5rem; font-weight: 700;
  color: var(--ink); margin-top: 3rem; margin-bottom: 0.5rem;
  letter-spacing: -0.01em; line-height: 1.25;
}
.content h3 {
  font-family: var(--font-sans); font-size: 1.2rem; font-weight: 600;
  color: var(--ink); margin-top: 2.25rem; margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}
.content h4 {
  font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600;
  color: var(--ink-2); margin-top: 1.75rem;
}
.content p { margin-bottom: 0; }
.content p + p { margin-top: 1rem; }
.content a {
  color: var(--green); text-decoration: underline;
  text-decoration-color: var(--green-subtle);
  text-underline-offset: 3px; transition: text-decoration-color 0.15s;
}
.content a:hover { text-decoration-color: var(--green); }
.content strong { color: var(--ink); font-weight: 600; }
.content em { font-style: italic; }

/* Code */
.content code {
  font-family: var(--font-mono); font-size: 0.85em;
  background: var(--border-2); color: var(--amber);
  padding: 0.15em 0.4em; border-radius: var(--radius-sm);
  font-weight: 500;
}
.content pre {
  background: var(--code-bg); color: var(--code-fg);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  overflow-x: auto; margin: 1.75rem 0;
  font-size: 0.875rem; line-height: 1.65;
  border: 1px solid #2a2a36;
}
.content pre code {
  background: none; color: inherit; padding: 0;
  font-size: inherit; font-weight: 400;
}

/* Blockquote */
.content blockquote {
  border-left: 2px solid var(--green);
  padding: 0.75rem 0 0.75rem 1.5rem; margin: 1.75rem 0;
  font-style: italic; color: var(--ink-3);
  background: rgba(45,106,79,0.03); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.content blockquote p + p { margin-top: 0.75rem; }

/* Lists */
.content ul, .content ol { margin: 1rem 0; }
.content li + li { margin-top: 0.375rem; }
.content li::marker { color: var(--ink-4); }

/* Horizontal rule */
.content hr {
  border: none; border-top: 1px solid var(--border-2);
  margin: 2.5rem 0;
}

/* Images in content */
.content img {
  border-radius: var(--radius); margin: 1.75rem auto;
  border: 1px solid var(--border);
}

/* ── Post Footer ──────────────────────────────────────────────────────────── */
.post-foot {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  margin-top: 3rem; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
}
.post-foot-tags { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.post-share { display: flex; gap: 0.5rem; align-items: center; }
.post-share a {
  font-family: var(--font-mono); font-size: 0.6875rem; color: var(--ink-4);
  padding: 0.25rem 0.625rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: all 0.15s;
  letter-spacing: 0.02em;
}
.post-share a:hover { color: var(--green); border-color: var(--green); }

/* ── Static Pages ─────────────────────────────────────────────────────────── */
.static-page { max-width: var(--w-prose); margin: 0 auto; padding: 3rem 0 4rem; }
.static-page h1 {
  font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2rem;
  line-height: 1.2;
}
.static-page h2 {
  font-family: var(--font-sans); font-size: 1.25rem; font-weight: 600;
  margin-top: 2rem; margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.static-page p { margin-bottom: 1rem; line-height: 1.7; color: var(--ink-2); }
.static-page a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.static-page ul { margin-bottom: 1rem; color: var(--ink-2); }
.static-page li { margin-bottom: 0.375rem; }

/* ── Contact Form ─────────────────────────────────────────────────────────── */
.contact-form { margin-top: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-family: var(--font-mono); font-size: 0.6875rem;
  font-weight: 500; color: var(--ink-3); margin-bottom: 0.375rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 0.625rem 0.75rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.9375rem; color: var(--ink);
  background: var(--surface); transition: border-color 0.15s;
  outline: none; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px var(--green-subtle);
}
.form-group textarea { min-height: 140px; }
.form-submit {
  padding: 0.625rem 1.5rem; background: var(--green);
  color: #fff; border: none; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: background 0.15s; letter-spacing: 0.01em;
}
.form-submit:hover { background: var(--green-hover); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status {
  margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
}
.form-status.success { color: var(--green); background: var(--green-subtle); }
.form-status.error { color: var(--red); background: var(--red-subtle); }

/* ── Empty State ──────────────────────────────────────────────────────────── */
.empty {
  text-align: center; padding: 4rem 1rem; color: var(--ink-4);
}
.empty-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.empty p { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.02em; }

/* ── Subscribe ────────────────────────────────────────────────────────────── */
.subscribe-widget {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem;
}
.subscribe-widget p {
  font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 0.75rem; line-height: 1.45;
}
.subscribe-form { display: flex; gap: 0.375rem; }
.subscribe-form input {
  flex: 1; padding: 0.4375rem 0.625rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 0.8125rem; outline: none;
  color: var(--ink); background: var(--paper);
}
.subscribe-form input:focus { border-color: var(--green); }
.subscribe-form button {
  padding: 0.4375rem 0.75rem; background: var(--green);
  color: #fff; border: none; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background 0.15s;
}
.subscribe-form button:hover { background: var(--green-hover); }
.subscribe-msg { font-size: 0.75rem; margin-top: 0.5rem; }
.subscribe-msg.success { color: var(--green); }
.subscribe-msg.error { color: var(--red); }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  max-width: var(--w-wide); margin: 0 auto;
  padding: 1.5rem; border-top: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
}
.footer-left { font-size: 0.75rem; color: var(--ink-4); font-family: var(--font-mono); letter-spacing: 0.02em; }
.footer-links { display: flex; gap: 1rem; align-items: center; }
.footer-links a { font-size: 0.75rem; color: var(--ink-3); transition: color 0.15s; }
.footer-links a:hover { color: var(--ink); }
.footer-rss {
  font-family: var(--font-mono); font-size: 0.6875rem; color: var(--amber);
  padding: 0.2rem 0.5rem; border: 1px solid var(--amber-subtle);
  border-radius: var(--radius-sm); letter-spacing: 0.02em;
}
.footer-rss:hover { background: var(--amber-subtle); }

/* ── 404 ──────────────────────────────────────────────────────────────────── */
.not-found { text-align: center; padding: 6rem 1rem; }
.not-found-code {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-4);
  letter-spacing: 0.06em; margin-bottom: 0.75rem;
}
.not-found h1 {
  font-family: var(--font-serif); font-size: 3rem; font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 0.5rem;
}
.not-found p { color: var(--ink-3); margin-bottom: 1.5rem; }
.not-found .btn-back {
  display: inline-block; padding: 0.5rem 1.25rem;
  background: var(--green); color: #fff; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.875rem; font-weight: 600;
  transition: background 0.15s;
}
.not-found .btn-back:hover { background: var(--green-hover); }

/* ── Search ───────────────────────────────────────────────────────────────── */
.search-wrap { margin-bottom: 1.5rem; position: relative; }
.search-input {
  width: 100%; padding: 0.625rem 0.75rem 0.625rem 2.25rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.875rem; color: var(--ink);
  background: var(--surface); outline: none; transition: border-color 0.15s;
}
.search-input:focus { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-subtle); }
.search-icon {
  position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%);
  font-size: 0.875rem; color: var(--ink-4); pointer-events: none;
  font-family: var(--font-mono);
}

/* ── Reading Progress Bar ─────────────────────────────────────────────────── */
.progress-bar {
  position: fixed; top: var(--nav-h); left: 0; z-index: 99;
  height: 3px; background: var(--green);
  width: 0%; transition: width 0.1s linear;
}

/* ── Table of Contents ────────────────────────────────────────────────────── */
.toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.toc-title {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-4);
  margin-bottom: 0.75rem;
}
.toc-list { list-style: none; padding: 0; }
.toc-list li { margin-bottom: 0.25rem; }
.toc-list a {
  font-size: 0.875rem; color: var(--ink-2); line-height: 1.5;
  text-decoration: none; transition: color 0.12s;
  display: block; padding: 0.15rem 0;
}
.toc-list a:hover, .toc-list a.active { color: var(--green); }
.toc-list .toc-h3 { padding-left: 1.25rem; font-size: 0.8125rem; }

/* ── Code Blocks (Prism.js) ───────────────────────────────────────────────── */
.content pre[class*="language-"] {
  background: var(--code-bg); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.75rem 0;
  overflow-x: auto; border: 1px solid #2a2a36;
  font-size: 0.875rem; line-height: 1.65;
}
.content pre[class*="language-"] code {
  font-family: var(--font-mono); font-size: inherit;
  background: none; color: var(--code-fg); padding: 0;
}
.content :not(pre) > code[class*="language-"] {
  background: var(--border-2); color: var(--amber);
  padding: 0.15em 0.4em; border-radius: var(--radius-sm);
  font-size: 0.85em;
}
/* Prism token colors — muted green theme */
.token.comment, .token.prolog, .token.doctype, .token.cdata { color: #6b7280; }
.token.punctuation { color: #9ca3af; }
.token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol, .token.deleted { color: #f0a979; }
.token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { color: #7ecb8a; }
.token.operator, .token.entity, .token.url { color: #94a3b8; }
.token.atrule, .token.attr-value, .token.keyword { color: #c4a0ff; }
.token.function, .token.class-name { color: #7dcfff; }
.token.regex, .token.important, .token.variable { color: #f0a979; }
.token.important, .token.bold { font-weight: 600; }
.token.italic { font-style: italic; }

/* ── Category Badges ──────────────────────────────────────────────────────── */
.category-badge {
  display: inline-block; padding: 0.2rem 0.6rem;
  background: var(--green); color: #fff;
  font-family: var(--font-mono); font-size: 0.625rem;
  font-weight: 600; letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

/* ── Related Posts ────────────────────────────────────────────────────────── */
.related-posts { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-posts h3 {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-4);
  margin-bottom: 1rem;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.related-card {
  padding: 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); transition: border-color 0.15s;
  cursor: pointer; background: var(--surface);
}
.related-card:hover { border-color: var(--green); }
.related-card-title {
  font-family: var(--font-serif); font-size: 0.9375rem;
  font-weight: 600; line-height: 1.3; margin-bottom: 0.375rem;
  color: var(--ink);
}
.related-card-meta {
  font-size: 0.75rem; color: var(--ink-4);
  font-family: var(--font-mono); letter-spacing: 0.02em;
}

/* ── Author Footer ────────────────────────────────────────────────────────── */
.author-footer {
  display: flex; gap: 1rem; align-items: center;
  margin-top: 2.5rem; padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.25rem;
  font-weight: 700; flex-shrink: 0;
}
.author-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.15rem; }
.author-info p { font-size: 0.8125rem; color: var(--ink-3); line-height: 1.5; margin: 0; }

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */
.breadcrumbs {
  display: flex; gap: 0.375rem; align-items: center;
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--ink-4); letter-spacing: 0.03em;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.breadcrumbs a { color: var(--ink-4); transition: color 0.12s; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { color: var(--border); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sidebar { display: none; }
}
@media (max-width: 768px) {
  .layout { padding: 1.25rem 1rem; }
  .post-title { font-size: 1.25rem; }
  .post-full { padding: 1.5rem 0 2.5rem; }
  .post-full h1 { font-size: 1.75rem; }
  .content { font-size: 1.0625rem; }
  .content pre { margin: 1.25rem -0.5rem; border-radius: 0; }
  .footer { flex-direction: column; text-align: center; }
  .nav-inner { padding: 0 1rem; }
  .static-page { padding: 1.5rem 0 2.5rem; }
  .static-page h1 { font-size: 1.75rem; }
}

/* ── Reduced Motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
