/* BCVR blog: index + post pages. Uses the brand tokens and the same
   hardcoded values as site.css so the blog matches the home page exactly. */

main{display:block;padding-top:120px}
.page-post main{padding-top:112px}

/* ---------- index head ---------- */
.blog-head{padding:40px 48px 36px;max-width:1320px;margin:0 auto}
.blog-h1{font-size:clamp(34px,5.6cqw,88px);line-height:.96;letter-spacing:-.015em;margin:0 0 24px;max-width:14ch;text-wrap:balance}
.blog-intro{font-size:18px;line-height:1.55;color:#9B9BAE;max-width:56ch;margin:0;text-wrap:pretty}
.blog-filters{display:flex;flex-wrap:wrap;gap:4px;margin-top:40px;padding-top:28px;border-top:1px solid #2A2A38}
.filter-btn{background:transparent;border:1px solid #2A2A38;color:#9B9BAE;font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.15em;text-transform:uppercase;padding:8px 12px;cursor:pointer;transition:border-color .2s,color .2s,background .2s}
.filter-btn.is-active{background:#F742C5;border-color:#F742C5;color:#000}

/* ---------- card grid ---------- */
.blog-list{padding:0 48px 120px;max-width:1320px;margin:0 auto}
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.post-card{display:flex;flex-direction:column;background:#050508;color:#ECECF2}
.post-card[hidden]{display:none}
.post-card-featured{grid-column:span 2}
.post-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#0A0A0F;border-bottom:1px solid #2A2A38}
.post-card-featured .post-media{aspect-ratio:2/1}
.post-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform 1.2s cubic-bezier(.16,1,.3,1)}
.post-card:hover .post-media img{transform:scale(1.03)}
.post-body{display:flex;flex-direction:column;gap:12px;padding:20px 20px 24px;flex:1}
.post-meta{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#6B6B7E}
.post-title{font-size:20px;line-height:1.08;letter-spacing:-.005em;margin:0;text-wrap:balance}
.post-card-featured .post-title{font-size:clamp(24px,2.6cqw,36px)}
.post-dek{font-size:14px;line-height:1.5;color:#9B9BAE;margin:0;text-wrap:pretty}
.post-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:8px}
.post-tags .tile-tag{font-size:9px;padding:3px 7px;background:transparent;color:#9B9BAE}
.post-card:hover .post-tags .tile-tag{border-color:#F742C5;color:#F742C5}
.blog-more{display:flex;justify-content:center;margin-top:32px}
.blog-more[hidden]{display:none}
.blog-none{font-size:11px;letter-spacing:.15em;text-transform:uppercase;color:#6B6B7E;padding:48px 0;text-align:center}
.blog-none[hidden]{display:none}
.blog-empty{border:1px solid #2A2A38;padding:64px 40px;max-width:720px}

/* ---------- post ---------- */
.post-head{padding:40px 48px 0;max-width:1320px;margin:0 auto}
.post-back{display:inline-block;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#6B6B7E;margin-bottom:40px}
.post-back:hover{color:#F742C5}
.post-eyebrow{margin-bottom:24px}
.post-h1{font-size:clamp(30px,4.8cqw,76px);line-height:.98;letter-spacing:-.015em;margin:0 0 28px;max-width:18ch;text-wrap:balance}
.post-standfirst{font-size:clamp(18px,1.5cqw,24px);line-height:1.45;color:#C9C9D6;max-width:52ch;margin:0 0 32px;text-wrap:pretty}
.post-byline{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#6B6B7E;padding-bottom:40px}
.post-hero{margin:0;padding:0 48px;max-width:1320px;margin:0 auto}
.post-hero img{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;border:1px solid #2A2A38;background:#0A0A0F}
.post-wrap{max-width:1320px;margin:0 auto;padding:40px 48px 0}
.post-content{max-width:720px;margin:0 auto;background:transparent}

/* share bar: the .lb-btn look from the lightbox */
.share-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:720px;margin:0 auto}
.share-top{padding-bottom:40px;border-bottom:1px solid #2A2A38;margin-bottom:48px}
.share-bottom{padding-top:40px;border-top:1px solid #2A2A38;margin-top:56px}
.share-label{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#6B6B7E;margin-right:10px}
.share-btn{color:#ECECF2}
.share-btn.is-done{border-color:#25E0A1;color:#25E0A1}

/* article body */
.post-content p{font-size:18px;line-height:1.65;color:#C9C9D6;max-width:none;margin:0 0 24px;text-wrap:pretty}
.post-content a{color:#ECECF2;text-decoration:underline;text-decoration-color:#F742C5;text-underline-offset:3px}
.post-content a:hover{color:#F742C5}
.post-content h2{font-family:Audiowide,sans-serif;text-transform:uppercase;font-weight:400;font-size:clamp(22px,2.2cqw,30px);line-height:1.1;letter-spacing:-.005em;margin:56px 0 20px;text-wrap:balance}
.post-content h3{font-family:'Space Grotesk',system-ui,sans-serif;font-weight:600;font-size:21px;line-height:1.25;margin:40px 0 14px;text-transform:none}
.post-content h4{font-size:16px;margin:32px 0 10px}
.post-content h2 + p,.post-content h3 + p{margin-top:0}
.post-content ul,.post-content ol{font-size:18px;line-height:1.6;color:#C9C9D6;padding-left:22px;margin:0 0 24px}
.post-content li{margin:0 0 8px}
.post-content li::marker{color:#F742C5}
.post-content strong{color:#ECECF2;font-weight:600}
.post-content hr{border:0;border-top:1px solid #2A2A38;margin:48px 0}
.post-content code{font-size:.85em;background:#14141C;color:#FF63A5;padding:1px 6px;border:1px solid #2A2A38;border-radius:4px;font-family:'JetBrains Mono',monospace}
.post-content pre{background:#0A0A0F;border:1px solid #2A2A38;padding:20px;overflow:auto;margin:0 0 24px;font-size:13px;line-height:1.6}
.post-content pre code{background:none;border:0;padding:0;color:#C9C9D6;font-size:inherit}
.post-content table{width:100%;border-collapse:collapse;margin:0 0 24px;font-size:15px}
.post-content th,.post-content td{text-align:left;padding:10px 12px;border-bottom:1px solid #2A2A38;color:#C9C9D6;vertical-align:top}
.post-content th{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#6B6B7E}

/* pull quotes */
.post-content blockquote.pull{margin:44px 0;padding:8px 0 8px 28px;border-left:2px solid #F742C5}
.post-content blockquote.pull p{font-weight:300;font-size:clamp(22px,2.2cqw,30px);line-height:1.25;letter-spacing:-.015em;color:#ECECF2;margin:0 0 12px}
.post-content blockquote.pull p:last-child{margin-bottom:0}
.post-content blockquote.pull cite,.post-content blockquote.pull em{font-style:normal;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#6B6B7E;font-weight:400}

/* inline images with captions */
.post-figure{margin:40px 0}
.post-figure img{display:block;width:100%;height:auto;border:1px solid #2A2A38;background:#0A0A0F}
.post-figure figcaption{font-family:'JetBrains Mono',monospace;font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#6B6B7E;line-height:1.6;margin-top:12px}

/* LinkedIn draft panel (shown with ?share in the URL) */
.li-draft{max-width:720px;margin:48px auto 0;border:1px solid #F742C5;box-shadow:0 0 36px rgba(247,66,197,.2);padding:28px;background:#050508}
.li-draft[hidden]{display:none}
.li-note{font-size:14px;color:#9B9BAE;margin:0 0 16px}
.li-text{width:100%;resize:vertical;background:#0A0A0F;color:#ECECF2;border:1px solid #2A2A38;padding:16px;font:inherit;font-size:16px;line-height:1.55}
.li-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.li-url{font-size:11px;color:#6B6B7E;margin-top:14px;word-break:break-all}

/* related strip */
.related{max-width:1320px;margin:0 auto;padding:96px 48px 120px}
.related-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px;padding-top:40px;border-top:1px solid #2A2A38}
.related-all{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#6B6B7E}
.related-all:hover{color:#F742C5}
.related-grid{grid-template-columns:repeat(3,1fr)}
.related-grid .post-card-featured{grid-column:auto}

/* keyboard focus */
.post-card:focus-visible,.filter-btn:focus-visible,.lb-btn:focus-visible,.post-back:focus-visible{outline:2px solid #F742C5;outline-offset:2px}

/* ---------- phone / narrow ---------- */
@container site (max-width:760px){
  main{padding-top:84px}
  .page-post main{padding-top:84px}
  .blog-head{padding:24px 20px 24px}
  .blog-filters{margin-top:28px;padding-top:20px}
  .blog-list{padding:0 20px 80px}
  .blog-grid{grid-template-columns:1fr}
  .post-card-featured{grid-column:auto}
  .post-card-featured .post-media{aspect-ratio:16/9}
  .post-card-featured .post-title{font-size:22px}
  .post-head{padding:16px 20px 0}
  .post-back{margin-bottom:28px}
  .post-byline{padding-bottom:28px}
  .post-hero{padding:0 20px}
  .post-wrap{padding:28px 20px 0}
  .post-content p,.post-content ul,.post-content ol{font-size:17px}
  .share-top{padding-bottom:28px;margin-bottom:36px}
  .share-bottom{padding-top:28px;margin-top:40px}
  .related{padding:64px 20px 80px}
  .related-grid{grid-template-columns:1fr}
  .li-draft{padding:20px}
  .blog-empty{padding:40px 20px}
}
@media (prefers-reduced-motion:reduce){
  .post-media img{transition:none}
}
