/* Blog pages: loaded after styles.css, which supplies the tokens and nav. */
.blog { padding-block: clamp(32px, 6vw, 80px) 0; }
.blog > h1 { max-width: 14em; margin-bottom: 20px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 40px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card h2 { font: 400 1.4rem/1.2 var(--serif); letter-spacing: -0.01em; }
.post-card p { color: var(--muted); font-size: 15px; }
.post-card time, .post-meta { color: var(--muted); font-size: 13px; margin-top: auto; }
.post-kind { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

.post { max-width: 720px; margin-inline: auto; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.post h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 12px 0 16px; }
.post-meta { margin: 0 0 40px; }

.prose { font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 400 1.75rem/1.2 var(--serif); letter-spacing: -0.01em; margin-top: 2em; }
.prose h3 { font: 500 1.2rem/1.3 var(--sans); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.prose blockquote { border-left: 3px solid var(--line); padding-left: 1em; color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-md); }

.post-cta { margin-top: 56px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(155deg, var(--stage-a), var(--stage-b) 55%, var(--stage-c)); }
.post-cta h2 { font: 400 1.75rem/1.2 var(--serif); letter-spacing: -0.01em; }
.post-cta p { color: var(--muted); margin: 8px 0 20px; }
.more { margin-top: 72px; }
.more > h2 { font: 400 1.5rem/1.2 var(--serif); }
.prose figure { margin-block: 1.6em; }
.prose figure img { display: block; }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.prose figure.logo img { width: 96px; height: 96px; }
