/* Shared blog styles — inherits from portfolio aesthetic */
:root {
  --ink: #0d0d10;
  --paper: #f2efe8;
  --paper-deep: #e8e4d8;
  --muted: #6b6860;
  --faint: #a8a49a;
  --accent: oklch(0.62 0.22 145);
  --hi: oklch(0.88 0.14 95);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; }
.serif, h1, h2, h3, h4 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.025em; line-height: 1.1; }
.mono { font-family: 'JetBrains Mono', monospace; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }

nav.top {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(242,239,232,0.8);
  border-bottom: 1px solid rgba(13,13,16,0.08);
}
nav.top .inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; max-width: 1400px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.logo-mark { width: 34px; height: 34px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: 'Instrument Serif'; font-size: 20px; border-radius: 50%; }
.logo-name { font-family: 'Instrument Serif'; font-size: 17px; }
.logo-name em { color: var(--muted); }
.back-link { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; transition: background .2s; }
.back-link:hover { background: rgba(13,13,16,0.06); color: var(--ink); }

article { padding: 60px 0 80px; }
.meta { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.meta .tag { padding: 4px 10px; background: var(--ink); color: var(--paper); border-radius: 100px; letter-spacing: 0.08em; }
h1.title { font-size: clamp(44px, 6.5vw, 72px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 28px; }
h1.title em { color: var(--muted); font-weight: 300; }
.lede { font-family: 'Instrument Serif'; font-style: italic; font-size: 26px; line-height: 1.4; color: var(--muted); margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(13,13,16,0.15); }

article h2 { font-size: 36px; margin: 56px 0 20px; font-weight: 400; }
article h2 em { color: var(--muted); font-weight: 300; }
article h3 { font-size: 24px; margin: 40px 0 14px; font-family: 'Inter'; font-weight: 600; letter-spacing: -0.01em; }
article p { margin-bottom: 22px; }
article p strong { background: var(--hi); padding: 0 4px; font-weight: 600; }
article ul, article ol { margin: 0 0 22px 0; padding-left: 24px; }
article li { margin-bottom: 10px; }
article blockquote {
  font-family: 'Instrument Serif'; font-style: italic; font-size: 24px; line-height: 1.4;
  margin: 40px 0; padding: 24px 0 24px 28px; border-left: 3px solid var(--accent);
  color: var(--ink);
}
article code { font-family: 'JetBrains Mono'; font-size: 14px; background: var(--paper-deep); padding: 2px 6px; border-radius: 4px; }
article pre { background: var(--ink); color: var(--paper); padding: 24px; border-radius: 12px; overflow-x: auto; margin: 24px 0; font-family: 'JetBrains Mono'; font-size: 13px; line-height: 1.6; }
article hr { border: 0; border-top: 1px solid rgba(13,13,16,0.15); margin: 48px 0; }

.callout {
  padding: 24px 28px; background: var(--paper-deep); border-radius: 12px;
  margin: 32px 0; font-size: 15px; line-height: 1.6;
}
.callout .t { font-family: 'JetBrains Mono'; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 10px; }

.author-card {
  margin-top: 80px; padding: 32px; background: var(--ink); color: var(--paper); border-radius: 20px;
  display: flex; gap: 20px; align-items: center;
}
.author-card .av { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-family: 'Instrument Serif'; font-size: 24px; flex-shrink: 0; }
.author-card .name { font-family: 'Instrument Serif'; font-size: 22px; }
.author-card .role { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--faint); margin-top: 2px; }
.author-card a { color: var(--accent); text-decoration: none; font-family: 'JetBrains Mono'; font-size: 12px; }

.more-posts { margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(13,13,16,0.15); }
.more-posts .label { font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; }
.more-posts .items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .more-posts .items { grid-template-columns: 1fr; } }
.more-posts a { display: block; padding: 24px; background: var(--paper-deep); border-radius: 12px; text-decoration: none; color: inherit; transition: background .2s; }
.more-posts a:hover { background: #ddd8c8; }
.more-posts .t { font-family: 'Instrument Serif'; font-size: 20px; line-height: 1.2; margin-bottom: 6px; }
.more-posts .d { font-size: 13px; color: var(--muted); }

footer { padding: 40px 0; border-top: 1px solid rgba(13,13,16,0.15); }
footer .inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: 'JetBrains Mono'; font-size: 12px; color: var(--muted); }
