/* ==========================================================================
   Blog (30 Oct 2026): the list page (blog.html) and the post pages (blog/<slug>.html).
   Design = the approved artifact "Blog Post Page" (layout A, no search, no comments). Same font and colours as the rest of the site.
   Posts are generated by E:\Framenox.in\blog-src\build.cjs from posts.json. blog.js builds "On this page", the reading bar and the active marker.
   ========================================================================== */
.bp { --bpv: #0b0b0c; color: #000; font-family: var(--font-main, 'Outfit', sans-serif); }
.bp a { color: inherit; text-decoration: none; }
.bp-prog { position: fixed; left: 0; right: 0; top: 0; height: 3px; background: rgba(0, 0, 0, .08); z-index: 70; pointer-events: none; }
.bp-prog i { display: block; height: 100%; width: 0; background: var(--bpv); }
.bp-crumb { max-width: 2560px; margin: 0 auto; padding: 26px clamp(24px, 4.5vw, 70px) 0; font-size: 13px; color: #777; display: flex; gap: 8px; flex-wrap: wrap; }
.bp-crumb a:hover { color: var(--bpv); }
.bp-crumb b { font-weight: 400; color: #000; }
.bp-top { max-width: 900px; margin: 0 auto; padding: 38px 28px 32px; text-align: center; }
.bp-chips { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.bp-chips span { font-size: 12.5px; padding: 5px 12px; border-radius: 99px; background: #f1f0f5; }
.bp-chips span:first-child { background: #0b0b0c; color: #fff; }
.bp-top h1 { margin: 0; font-size: clamp(32px, 5.2vw, 62px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.bp-meta { margin-top: 18px; font-size: 13.5px; color: #66666c; display: flex; justify-content: center; gap: 6px 14px; flex-wrap: wrap; }
.bp-cover { margin: 0 auto; max-width: 1240px; padding: 0 clamp(24px, 4.5vw, 70px); }
.bp-cover img { width: 100%; height: auto; display: block; border-radius: 26px; aspect-ratio: 16 / 8; object-fit: cover; }
.bp-cover figcaption { font-size: 12.5px; color: #777; margin-top: 8px; }
.bp-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 320px; gap: clamp(28px, 3.5vw, 64px); max-width: 2560px; margin: 0 auto; padding: 46px clamp(24px, 4.5vw, 70px) 20px; align-items: start; }
.bp-grid > .bp-art { width: 100%; max-width: 800px; justify-self: center; }
.bp-toc, .bp-side { position: sticky; top: calc(var(--nav-h, 72px) + 24px); }
/* sticky needs a page that is not a scroll box itself: the subpage rule in style.css sets overflow on html/body, so blog posts use clip */
html.subpage-html:has(.bp-grid), body.subpage-body:has(.bp-grid) { overflow: visible !important; overflow-x: clip !important; }
.bp-toc h2, .bp-side h2 { margin: 0 0 14px; font-size: 14px; font-weight: 500; }
.bp-nav { position: relative; }
.bp-nav::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(0, 0, 0, .14); }
.bp-nav ul { list-style: none; margin: 0; padding: 0; }
.bp-nav a { display: block; padding: 7px 0 7px 18px; font-size: 14px; line-height: 1.35; color: #8a8a90; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.bp-nav a:hover { color: #000; }
.bp-nav a.on { color: #000; font-weight: 600; }
.bp-nav a:focus-visible { outline: 2px solid var(--bpv); outline-offset: 2px; border-radius: 3px; }
.bp-mk { position: absolute; left: -5px; top: 0; width: 12px; height: 26px; background: #fff; opacity: 0; transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .2s; display: flex; align-items: center; }
.bp-mk::after { content: ""; border-left: 9px solid var(--bpv); border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; margin-left: 2px; }
.bp-tg { display: none; }
.bp-art { min-width: 0; font-size: 18px; line-height: 1.75; color: #1d1d1f; }
.bp-art > * + * { margin-top: 1.1em; }
.bp-art h2 { font-size: 30px; line-height: 1.15; font-weight: 500; letter-spacing: -.02em; margin-top: 1.8em; scroll-margin-top: 28px; color: #000; }
.bp-art h2:first-of-type { margin-top: .4em; }
.bp-art h2 .an { opacity: 0; margin-left: 8px; color: var(--bpv); font-weight: 300; }
.bp-art h2:hover .an, .bp-art h2 .an:focus-visible { opacity: 1; }
.bp-art h3 { font-size: 22px; font-weight: 500; margin-top: 1.5em; }
.bp-art a { color: var(--bpv); text-decoration: underline; text-underline-offset: 3px; }
.bp-art img { width: 100%; height: auto; border-radius: 20px; display: block; }
.bp-art ul, .bp-art ol { padding-left: 1.3em; }
.bp-art li + li { margin-top: .3em; }
.bp-art .tldr { background: #f4f3f8; border-radius: 20px; padding: 20px 24px; font-size: 16px; line-height: 1.6; }
.bp-art .tldr b { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--bpv); margin-bottom: 6px; }
.bp-art .tldr ul { margin: 0; }
.bp-art blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--bpv); font-size: 24px; line-height: 1.35; letter-spacing: -.01em; color: #000; }
.bp-art .nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bp-art .nums div { border: 1px solid #e5e5e8; border-radius: 18px; padding: 16px 18px; }
.bp-art .nums b { display: block; font-size: 34px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.bp-art .nums span { font-size: 14px; color: #6a6a70; }
.bp-art .cta { background: #0b0b0c; color: #fff; border-radius: 24px; padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.bp-art .cta p { font-size: 20px; line-height: 1.3; max-width: 22ch; margin: 0; }
.bp-pill, .bp-art .cta a.bp-pill { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; height: 44px; padding: 0 24px; border-radius: 99px; background: #fff; color: #000; font-size: 15px; font-weight: 500; text-decoration: none; transition: color .35s; }
.bp-pill::before { content: ""; position: absolute; left: -25%; top: 100%; width: 150%; aspect-ratio: 1; border-radius: 42%; background: var(--bpv); z-index: -1; transition: top .7s cubic-bezier(.22, 1, .36, 1); }
.bp-pill:hover, .bp-pill:focus-visible, .bp-art .cta a.bp-pill:hover { color: #fff; }
.bp-pill:hover::before, .bp-pill:focus-visible::before { top: -35%; animation: fxWave 3.2s linear infinite; }
.bp-side section { margin-bottom: 34px; }
.bp-rp { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.bp-rp img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; display: block; }
.bp-rp small { display: block; font-size: 12px; color: #888; }
.bp-rp b { font-weight: 500; font-size: 14.5px; line-height: 1.3; }
.bp-rp:hover b { color: var(--bpv); }
.bp-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-cats a { font-size: 13px; padding: 6px 13px; border-radius: 99px; background: #f1f0f5; }
.bp-cats a:hover { background: #0b0b0c; color: #fff; }
.bp-sidecta { background: #0b0b0c; color: #fff; border-radius: 22px; padding: 20px; }
.bp-sidecta p { font-size: 18px; line-height: 1.3; margin: 0 0 14px; }
.bp-soc { display: flex; gap: 10px; }
.bp-soc a, .bp-shr a, .bp-shr button { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid #dcdce0; background: #fff; color: #000; font: inherit; font-size: 12px; cursor: pointer; }
.bp-soc a:hover, .bp-shr a:hover, .bp-shr button:hover { background: #0b0b0c; color: #fff; }
.bp-soc svg, .bp-shr svg { width: 17px; height: 17px; fill: currentColor; }
.bp-shr button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.bp-after { max-width: 780px; margin: 0 auto; padding: 8px 28px 10px; }
.bp-shr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid #e8e8ea; }
.bp-shr > span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #777; margin-right: 6px; }
.bp-auth { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-top: 1px solid #e8e8ea; border-bottom: 1px solid #e8e8ea; }
.bp-auth img { width: 64px; height: 64px; border-radius: 50%; background: #f1f0f5; object-fit: contain; padding: 10px; }
.bp-auth b { font-weight: 500; font-size: 17px; }
.bp-auth p { margin: 0; font-size: 14.5px; color: #55555a; line-height: 1.5; }
.bp-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px 0; }
.bp-pn a { border: 1px solid #e5e5e8; border-radius: 18px; padding: 14px 16px; font-size: 15px; line-height: 1.3; }
.bp-pn a:hover { border-color: #000; }
.bp-pn small { display: block; font-size: 12px; color: #888; margin-bottom: 4px; }
.bp-pn a:last-child { text-align: right; }
.bp-rel { max-width: 2560px; margin: 0 auto; padding: 18px clamp(24px, 4.5vw, 70px) 70px; }
.bp-rel h2 { font-size: 24px; font-weight: 500; margin: 0 0 18px; }
.bp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bp-card { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3.2; background: #222; color: #fff !important; }
.bp-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22, 1, .36, 1); }
.bp-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0) 64%); pointer-events: none; }
.bp-card div { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; font-size: 18px; line-height: 1.25; font-weight: 500; }
.bp-card small { display: block; font-size: 12px; opacity: .8; margin-bottom: 4px; }
.bp-card em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .2); }
a.bp-card:hover img { transform: scale(1.05); }
/* list page */
.bp-list-top { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) 28px 36px; display: grid; gap: 14px; }
.bp-list-top h1 { margin: 0; font-size: clamp(42px, 7vw, 104px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.bp-list-top p { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.4vw, 20px); color: #55555a; line-height: 1.45; }
.bp-list { max-width: 1180px; margin: 0 auto; padding: 8px 28px 90px; }
.bp-list .bp-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .bp-list .bp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1600px) { .bp-grid { grid-template-columns: 230px minmax(0, 1fr) 290px; gap: 36px; } }
@media (max-width: 1280px) { .bp-grid { grid-template-columns: 200px minmax(0, 1fr) 250px; gap: 28px; } }
@media (max-width: 900px) {
  .bp-crumb { padding: 16px 16px 0; } .bp-top { padding: 22px 16px 22px; } .bp-cover { padding: 0 16px; } .bp-cover img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .bp-grid { grid-template-columns: 1fr; gap: 22px; padding: 26px 16px 10px; }
  .bp-toc { position: static; border: 1px solid #e5e5e8; border-radius: 16px; padding: 0 16px; }
  .bp-toc h2 { display: none; }
  .bp-tg { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; font: inherit; font-size: 15px; font-weight: 500; padding: 14px 0; cursor: pointer; }
  .bp-nav { display: none; padding-bottom: 12px; } .bp-toc.open .bp-nav { display: block; }
  .bp-side { position: static; }
  .bp-art { font-size: 17px; } .bp-art h2 { font-size: 25px; } .bp-art blockquote { font-size: 20px; } .bp-art .nums b { font-size: 28px; }
  .bp-after { padding: 8px 16px 10px; } .bp-rel { padding: 18px 16px 50px; }
  .bp-cards { grid-template-columns: 1fr; }
  .bp-list-top { padding: 34px 16px 24px; } .bp-list { padding: 8px 16px 60px; } .bp-list .bp-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .bp-mk, .bp-pill::before, .bp-card img { transition: none; animation: none !important; } html { scroll-behavior: auto; } }
.bp a.bp-pill { color: #000; text-decoration: none; }
.bp a.bp-pill:hover, .bp a.bp-pill:focus-visible { color: #fff; }

/* neutral hover (30 Oct 2026): the white pills sit on black cards, so a thin white ring keeps them visible while the black wave rises */
.bp-pill, .bp-art .cta a.bp-pill { border: 1px solid #fff; --fxw-fill: #000; --fxw-ink: #fff; }
.bp-pill::before { background: #000; }

/* Content pack (30 Oct 2026): the table of post 07, the solo "Book a free discovery call" button, and a longer excerpt on the home cards */
.bp-art .tw { overflow-x: auto; border: 1px solid #e5e5e8; border-radius: 18px; }
.bp-art table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.bp-art th, .bp-art td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #ececef; }
.bp-art th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #6a6a70; font-weight: 500; background: #f7f7f9; }
.bp-art tr:last-child td { border-bottom: 0; }
.bp-art .cta.cta-solo { justify-content: flex-start; }
.bp-art strong { font-weight: 600; color: #000; }
