/* Blog overview */
.blog-hero{padding-bottom:40px}
.blog-hero .lead{margin:20px 0 32px;max-width:52ch}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1px solid var(--silver);background:#fff;border-radius:999px;padding:8px 14px;font:500 14px/1 var(--sans);color:var(--ink);cursor:pointer}
.chip:hover{border-color:var(--ink)}
.chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--gap)}
/* blog card = .tile (site.css); only the featured variant and the hidden state live here */
.post[hidden]{display:none}
.post-t{font:600 12px/1.4 var(--sans);letter-spacing:.083em;text-transform:uppercase;color:var(--accent)}
.post.big{grid-column:1/-1;background:var(--navy-mist);border-color:transparent;padding:40px}
.post.big .ico{background:#fff}
.post.big .st-top{justify-content:flex-start;gap:16px}
.post.big .sub{font-size:clamp(28px,3.4vw,40px);line-height:1.05;max-width:22ch;margin-bottom:12px}
.post.big p{font-size:17px;max-width:60ch}
@media (max-width:900px){.posts{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.posts{grid-template-columns:1fr}.post.big{padding:24px}}

/* Post page */
.post-page{padding-top:48px}
.post-page .crumb{font-size:14px;color:var(--muted);margin:0 0 24px}
.post-page .crumb a{color:inherit}
.post-head{max-width:820px;margin-bottom:48px}
.post-head .display{font-size:clamp(34px,4.2vw,52px);margin:10px 0 18px}
.post-head .lead{font-size:19px;line-height:1.5;color:var(--muted);margin:0 0 16px}
.post-meta{font-size:14px;color:var(--muted);margin:0}
.post-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:64px;align-items:start}
.post-toc{position:sticky;top:96px;font-size:14px}
.post-toc ol{position:relative;list-style:none;margin:8px 0 0;padding:0;border-left:2px solid var(--silver)}
.post-toc ol::before{content:"";position:absolute;left:-2px;top:0;width:2px;height:calc(var(--p,0) * 100%);background:var(--navy);transition:height .15s linear}
.post-toc li a{display:block;padding:6px 0 6px 14px;color:var(--muted);text-decoration:none;line-height:1.35;transition:color .2s}
.post-toc li a:hover,.post-toc li a.done{color:var(--ink)}
.post-toc li a.on{color:var(--navy);font-weight:600}
.prose{max-width:68ch;font-size:18px;line-height:1.7}
.prose h2{font-family:var(--display);font-weight:500;font-size:28px;line-height:1.15;margin:48px 0 16px;scroll-margin-top:96px}
.prose h3{font-family:var(--display);font-weight:500;font-size:21px;margin:32px 0 10px}
.prose p,.prose ul,.prose ol{margin:0 0 18px}
.prose li{margin:6px 0}
.prose a{color:var(--navy);text-underline-offset:3px}
.prose strong{font-weight:650}
@media (max-width:900px){.post-grid{grid-template-columns:minmax(0,1fr);gap:24px}.post-toc{position:static}}
.more-wrap{display:flex;justify-content:center;margin-top:40px}
.more-wrap [hidden]{display:none}

/* Post page extras: author line, reading bar, share, author box */
.post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.post-meta img{width:28px;height:28px;border-radius:50%;object-fit:cover;margin-right:4px}
.readbar{position:fixed;left:0;right:0;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--silver);transform:translateY(-100%);transition:transform .3s var(--ease)}
.readbar.show{transform:none}
.readbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:73px}
.rb-t{font-family:var(--display);font-weight:500;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.readbar .btn{padding:8px 16px;font-size:14px;flex:none}
.readbar i{position:absolute;left:0;bottom:-1px;height:2px;width:calc(var(--r,0) * 100%);background:var(--navy)}
.post-share{display:flex;align-items:center;gap:16px;margin:40px 0 0;padding-top:20px;border-top:1px solid var(--silver);font-size:14px}
.post-share span{color:var(--muted)}
.post-share a,.post-share button{color:var(--navy);font:600 14px/1 var(--sans);text-decoration:none;background:none;border:0;padding:0;cursor:pointer}
.author{display:flex;gap:16px;align-items:center;margin-top:28px;padding:20px;border-radius:var(--r-card);background:var(--navy-mist)}
.author img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none}
.author b{display:block;font-size:16px}
.author span{font-size:14px;line-height:1.5;color:var(--muted)}
@media (max-width:600px){.rb-t{font-size:15px}}
/* note box: one style for "In short" (posts) and the company card (legal) */
.in-short,.legal-card{margin:0 0 40px;padding:24px;border-left:3px solid var(--navy);border-radius:0 var(--r-card) var(--r-card) 0;background:var(--navy-mist)}
.in-short .eyebrow{margin:0 0 6px;color:var(--navy)}
.in-short p:last-child{margin:0;font-size:17px;line-height:1.6}

/* v5 */
.head-top{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.head-top .post-t{margin:0}
.post-head .display{margin-top:4px}
.post-meta time{font-variant-numeric:tabular-nums}
.prose h2,.prose h3{text-wrap:balance}
@media (max-width:600px){.post-share a,.post-share button{padding:12px 6px}}
