/* v16: Substack post grid on writing.html (built by tools/build_writing_grid.py). */
.post-grid{list-style:none;margin:1.25rem 0 0;padding:0;display:grid;gap:1.25rem;grid-template-columns:1fr}
.post-card a{display:flex;flex-direction:column;height:100%;color:var(--ink);text-decoration:none;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:rgba(9,14,24,.72)}
.post-card a:hover{background:#121a2b}
.post-card a:hover .post-title{text-decoration:underline;text-underline-offset:.2em}
.post-card picture{display:block;background:#090e18}
.post-card img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;background:#090e18}
.post-noimg{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;background:linear-gradient(135deg,#141c2e,#0c1422)}
.post-noimg img{width:28%;height:auto;aspect-ratio:1;border-radius:50%;opacity:.85;background:none}
.post-body{display:flex;flex-direction:column;gap:.45rem;padding:1.1rem 1.2rem 1.3rem}
.post-title{font-family:var(--font-display);font-weight:600;font-size:1.15rem;line-height:1.25;letter-spacing:.03em;color:var(--ink)}
.post-date{font-family:var(--font-display);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2)}
.post-sub{font-size:.92rem;line-height:1.55;color:var(--ink-soft)}
@media (min-width:40rem){.post-grid{grid-template-columns:1fr 1fr}}
@media (min-width:62.5rem){.post-grid{grid-template-columns:repeat(3,1fr)}}
/* music.html release grid reuses the post cards; covers are square. */
.release-grid img{aspect-ratio:1}
.releases-also{margin:0 0 .25rem;color:var(--ink-soft)}
.releases-also a{display:inline-flex;align-items:center;min-height:28px;color:var(--gold-2)}
