/* Spuutr blog · loaded only by /blog/ pages. Uses the same tokens + site.css as / and /founder/.
   Orange as text only on charcoal; on light surfaces it is decoration (underlines, rules, dots). */
nav.site a[aria-current]{color:var(--on-dark);text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:.45em}
.blog-hero{padding:5.5rem 0 4.5rem}
.subscribe-row{margin:1.75rem 0 0}
.subscribe{font-weight:600;white-space:nowrap}
.subscribe::before{content:"";display:inline-block;width:.6rem;height:.6rem;border-radius:50%;background:var(--accent);margin-right:.55rem;vertical-align:.08em;box-shadow:0 0 0 3px rgba(255,106,0,.2)}

/* list */
.post-list{list-style:none;margin:0;padding:0}
.post-item{padding:2.25rem 0;border-top:1px solid var(--line)}
.post-item:first-child{border-top:0;padding-top:0}
.post-meta{margin:0 0 .35rem;font-size:.9rem;color:var(--fg-2);font-weight:500;font-variant-numeric:tabular-nums}
.dark .post-meta{color:var(--on-dark-2)}
.post-item-title{font-size:clamp(1.4rem,2.6vw,var(--sp-text-xl));line-height:1.2;letter-spacing:var(--sp-tracking-snug);margin:0 0 .6rem;font-weight:600;overflow-wrap:anywhere}
.post-item-title a{text-decoration:none}
.post-item-title a:hover{text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px}
.post-summary{margin:0 0 .9rem}
.badges,.tags,.sources{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.badge,.tags li{font-size:var(--sp-text-xs);font-weight:600;letter-spacing:.06em;text-transform:uppercase;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:.2rem .7rem;color:var(--fg)}
.badge::before{content:"";display:inline-block;width:.4rem;height:.4rem;border-radius:50%;background:var(--accent);margin-right:.45rem;vertical-align:.12em}
.badge-x::before{background:var(--fg)}
.badge-other::before{background:var(--sp-grey-400)}
.pill-draft{display:inline-block;margin-left:.5rem;font-size:var(--sp-text-xs);font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:var(--accent);color:var(--sp-charcoal);border-radius:999px;padding:.05rem .55rem;vertical-align:.1em}

/* empty state */
.empty-state{border:1px dashed var(--sp-grey-300);border-radius:var(--sp-radius-lg);padding:2.75rem 2.5rem;background:var(--surface)}
.empty-state h2{margin:.9rem 0 .6rem}
.empty-state p{margin:.4rem 0 0}
.empty-mark{display:block;width:2.4rem;height:.45rem;border-radius:999px;background:var(--accent)}

/* post */
.post-head{padding:3.5rem 0 3.25rem;position:relative;overflow:hidden}
.post-head::after{content:"";position:absolute;right:-14rem;top:-12rem;width:32rem;height:32rem;border-radius:50%;background:radial-gradient(circle,var(--sp-orange-glow) 0%,rgba(255,106,0,0) 65%);pointer-events:none}
.post-head .wrap{position:relative;z-index:1}
.post-head h1{font-size:clamp(2rem,4.6vw,3.25rem);margin:.6rem 0 1.1rem;overflow-wrap:anywhere}
.post-head .lead{margin:0 0 1.5rem}
.post-back{margin:0 0 1.75rem;font-size:.95rem}
.post-back a{color:var(--on-dark-2);text-decoration:none}
.post-back a:hover{color:var(--on-dark)}
.updated{white-space:nowrap}
.source-link{display:inline-block;font-weight:600;font-size:.95rem;padding:.45rem .95rem;border-radius:var(--sp-radius-sm);border:1px solid var(--line);text-decoration:none;background:var(--bg)}
.source-link:hover{border-color:var(--accent)}
.post-head .source-link{border-color:var(--dark-line);background:var(--dark-2);color:var(--on-dark)}
.post-head .source-link:hover{border-color:var(--accent)}
.post-body-wrap{padding:3.5rem 0 4.5rem}
.post-media-list{margin:0 0 2.5rem}
.post-media{margin:0 0 2rem}
.post-media img,.post-media video{width:100%;height:auto;border-radius:var(--sp-radius-md);box-shadow:0 0 0 1px var(--line);background:var(--surface)}
.post-media img[height]{max-height:80vh;width:auto;margin:0 auto;object-fit:contain}
.post-media figcaption{font-size:.9rem;color:var(--fg-2);margin-top:.6rem}
.post-body{font-size:1.125rem;line-height:1.75}
.post-body>*{margin:0 0 1.25rem}
.post-body h2{font-size:var(--sp-text-xl);margin:2.75rem 0 1rem}
.post-body h3{font-size:1.3rem;margin:2.25rem 0 .75rem}
.post-body ul,.post-body ol{padding-left:1.3rem}
.post-body li{margin:.35rem 0}
.post-body li::marker{color:var(--fg)}
.post-body code{font-family:var(--sp-font-mono);font-size:.9em;background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:.05rem .35rem}
.post-body blockquote{margin:0 0 1.5rem}
.post-body blockquote p{margin:0}
.post-body p{overflow-wrap:break-word}
/* Sources (optional "references" field): sits between the body and the tags */
.post-refs{margin:2.75rem 0 0;padding-top:2rem;border-top:1px solid var(--line)}
.post-refs h2{font-size:var(--sp-text-xl);margin:0 0 1rem}
.post-refs ul{list-style:none;margin:0;padding:0}
.post-refs li{position:relative;padding:.55rem 0 .55rem 1.4rem;border-top:1px solid var(--line);line-height:1.5}
.post-refs li:first-child{border-top:0}
.post-refs li::before{content:"";position:absolute;left:0;top:1.15rem;width:.45rem;height:.45rem;border-radius:50%;background:var(--accent)}
.post-refs a{font-weight:500;overflow-wrap:anywhere}
.post-refs a span{color:var(--fg-2);font-weight:400}
.tags{margin-top:2rem}
.post-foot{margin-top:2.5rem;padding-top:2rem;border-top:1px solid var(--line)}
.post-foot .sources{margin-bottom:1.5rem}
.post-foot-links{display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;margin:0}
@media (max-width:600px){
  .blog-hero{padding:4rem 0 3.25rem}
  .post-head{padding:2.5rem 0 2.5rem}
  .empty-state{padding:2rem 1.5rem}
  .post-body{font-size:1.0625rem}
}
