/* The blog (go-live plan 15.3, John, 6 November 2026; internal-ai-hub Research Lab/Blog site 2026-11). Loaded only on /blog/ and
   its posts. bp- is a post and its components, bl- the listing. White page, no pink ground, cards sparingly: the comparison
   table is the one panel. Colours only from the tokens in theme.css.

   A post's type is F1 (John, 7 November 2026; internal-ai-hub Research Lab/Blog site 2026-11, Blog type options): five sizes and no others.
   Title 40/50, section heading 28/36, subheading 20/28, body 17/28, small 14/21; on a phone title 32/40 and section heading 24/32. The site's
   eyebrow pill is the only other size. Poppins 600 for headings, Inter 400 and 600 for text. One grey, muted-foreground. Gaps 8, 16, 24, 32, 48.
   Before adding a size, weight or grey here, use one of these. Never a duotone icon in black (John, 7 November 2026). */

.bp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The dot fade on the right, level with the title, as the site's heroes (the AI agents page's dots, #c9aef2 18px apart) */
.bp-hero, .bl-hero { position: relative; }
.bp-bg { position: absolute; top: -130px; right: 0; width: max(170px, calc(50vw - 312px)); height: 480px; overflow: hidden; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, #c9aef2 1.2px, transparent 1.4px) 0 0 / 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 100% 62% at 100% 45%, #000 0%, rgba(0,0,0,.5) 42%, transparent 100%);
          mask-image: radial-gradient(ellipse 100% 62% at 100% 45%, #000 0%, rgba(0,0,0,.5) 42%, transparent 100%); }
.bp-hero > .wrap, .bl-hero > .wrap { position: relative; z-index: 1; }

/* A post's opening: left-aligned, on the same line as its text */
html[data-frame="a"] .bp-hero.wf.hero { padding-top: 56px; padding-bottom: 0; }
html[data-frame="a"] .bp-hero.wf.hero .wf-copy { max-width: 720px; margin: 0 auto; text-align: left; }
.bp-hero .display, .bp-hero .display:has(.kx-key) { font-size: 40px; line-height: 50px; }
main[data-blog] .lede { line-height: 28px; }
.bp-hero .lede { margin-top: 12px; }
.bp-draft { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: var(--radius-full); font: 600 11px/18px var(--font-sans); background: var(--surface-sunken); color: var(--muted-foreground); vertical-align: middle; }
.bp-by { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.bp-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--border); }
.bp-by p { font-size: 14px; line-height: 21px; color: var(--muted-foreground); }
.bp-by a { color: var(--foreground); font-weight: 600; text-decoration: none; }
.bp-by a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* A post's words: one reading column */
html[data-frame="a"] .bp-body.wf { padding-top: 32px; }
.bp-post, .bp-after { max-width: 720px; margin: 0 auto; }
.bp-post > p, .bp-post > ul, .bp-post > ol, .bp-post > h2, .bp-post > h3 { color: var(--foreground); }
.bp-post p, .bp-post li { font-size: 17px; line-height: 28px; }
.bp-post > :is(p, ul, ol, div, aside, figure) + p { margin-top: 16px; }
.bp-post > :is(.bp-compare, .bp-figures, .bp-picture, .bp-block, .bp-callout, .bp-source, .bp-features) + p { margin-top: 24px; }
.bp-post h2 { font-size: 28px; line-height: 36px; letter-spacing: -0.02em; margin: 48px 0 16px; scroll-margin-top: 96px; text-wrap: balance; }
.bp-post > h2:first-child { margin-top: 0; }
.bp-post h3 { font-size: 20px; line-height: 28px; margin: 32px 0 8px; scroll-margin-top: 96px; }
.bp-post a { color: var(--link); text-underline-offset: 3px; }
.bp-post strong { font-weight: 600; }
.bp-post > ul, .bp-post > ol { padding-left: 22px; margin: 16px 0 0; display: grid; gap: 8px; }

/* Icon tiles */
.bp-tile { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--secondary); color: var(--primary); flex: none; }
.bp-post h3.bp-ih { display: flex; align-items: center; gap: 12px; margin-top: 32px; }

/* A list with icon tiles */
.bp-post ul.bp-features { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.bp-features li { display: flex; gap: 14px; align-items: flex-start; }
.bp-features li > div { min-width: 0; }

/* Figures: a small callout, N10 (John, 7 November 2026). Small rings on white between two hairlines, no card, in the type's small text. One column on a phone, by the grid's own fit */
.bp-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px 16px; margin-top: 24px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bp-figure { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--primary); }
.bp-figure.on { color: var(--state-on); }
.bp-figure.near { color: var(--state-near); }
.bp-figure.below { color: var(--state-below); }
.bp-ring { position: relative; flex: none; width: 60px; height: 60px; }
.bp-ring svg { display: block; width: 100%; height: 100%; }
.bp-ring-t { stroke: var(--border); }
.bp-post .bp-ring strong { position: absolute; inset: 0; display: grid; place-items: center; font: 600 14px/21px var(--font-sans); color: var(--foreground); }
.bp-post .bp-figure > strong { flex: none; font: 600 20px/28px var(--font-display); color: var(--foreground); }   /* a number that isn't a percentage: no ring */
.bp-figure-w { font-size: 14px; line-height: 21px; color: var(--muted-foreground); }
.bp-post .bp-source { font-size: 14px; line-height: 21px; color: var(--muted-foreground); margin-top: 8px; }

/* The comparison table: the one panel, wider than the words, and stacked on a phone. On a computer no line wraps, C3 (John, 7 November 2026): keep a table's words short enough, and row names give way first only on a narrow screen */
.bp-compare { width: min(980px, calc(100vw - 2 * var(--gutter))); margin: 24px 0 0 calc(50% - min(490px, 50vw - var(--gutter))); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.bp-compare table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 21px; color: var(--muted-foreground); }
.bp-compare td, .bp-compare thead th { white-space: nowrap; }
.bp-compare td { width: 1%; }
.bp-compare th, .bp-compare td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--hairline); font-weight: 400; color: var(--muted-foreground); }
.bp-compare thead th { background: var(--surface-sunken); color: var(--foreground); font-weight: 600; }
.bp-compare tbody th[role="rowheader"] { color: var(--foreground); font-weight: 400; }
.bp-compare tr:last-child > * { border-bottom: 0; }
.bp-compare .band th { padding-top: 16px; font-weight: 600; color: var(--foreground); }
.bp-compare td.hi { background: var(--surface-sunken); color: var(--foreground); }
.bp-compare thead th.hi { color: var(--primary); }
.bp-compare thead th.hi .ph { vertical-align: -5px; margin-right: 6px; }
.bp-v { display: inline-flex; align-items: flex-start; gap: 6px; }
.bp-v .ph { flex: none; }
.bp-v.yes { color: var(--state-on-text); } .bp-v.yes .ph { color: var(--state-on); }
.bp-v.no { color: var(--state-below-text); } .bp-v.no .ph { color: var(--state-below); }
@media (max-width: 1000px) {   /* (the width it needs to stay on one line, C3) */
  .bp-compare { width: auto; margin-left: 0; }
  .bp-compare table, .bp-compare tbody, .bp-compare tr, .bp-compare th, .bp-compare td { display: block; }
  .bp-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .bp-compare tbody tr { padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
  .bp-compare tbody tr:last-child { border-bottom: 0; }
  .bp-compare tbody th[role="rowheader"] { padding: 0 0 6px; border: 0; font-weight: 600; }
  .bp-compare .band { background: var(--surface-sunken); }
  .bp-compare .band th { padding: 0; border: 0; }
  .bp-compare td { display: flex; justify-content: space-between; gap: 16px; width: auto; white-space: normal; padding: 3px 0; border: 0; text-align: right; }
  .bp-compare td::before { content: attr(data-label); color: var(--muted-foreground); text-align: left; flex: none; white-space: nowrap; font-weight: 400; }
  .bp-compare td.hi { background: none; }
  .bp-compare td.hi::before { color: var(--primary); font-weight: 600; }
  .bp-v { justify-content: flex-end; text-align: left; }
}

/* A note, a picture, a block */
.bp-post .bp-callout { margin: 24px 0 0; padding: 16px; border-radius: var(--radius-lg); background: var(--surface-sunken); color: var(--foreground); }
.bp-picture { margin: 24px 0 0; }
.bp-picture img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
/* A drawing in a post's words (Drawing.astro): inline, so its shadow and fades run on behind the words below and never stop at an edge
   (John, 8 November 2026). Up to 1000px, as the comparison table. It builds up once on screen (public/js/drawing.js); until then, and
   for good without JavaScript, its last frame shows. One drawing for a computer, another for a phone */
main[data-blog] .bp-post > figure.bp-drawing { max-width: 1000px; margin: 32px 0 0; }
.bp-drawing svg { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-sans); }
.bp-drawing .f-display { font-family: var(--font-display); }
.bp-drawing .d-phone { display: none; }
@media (max-width: 640px) { .bp-drawing .d-wide { display: none; } .bp-drawing .d-phone { display: block; } }
.bp-drawing .pop, .bp-drawing .grow { transform-box: fill-box; }
.bp-drawing .pop { transform-origin: center; }
.bp-drawing .grow { transform-origin: left center; }
.bp-drawing.armed [data-t] { opacity: 0; transition: opacity .45s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
.bp-drawing.armed .pop[data-t] { transform: translateY(8px) scale(.96); }
.bp-drawing.armed .grow[data-t] { transform: scaleX(0); }
.bp-drawing.armed [data-t].on { opacity: 1; transform: none; }
.bp-drawing.armed [data-type][data-t] { transition: none; }
/* A voice level that pulses while it listens: ambient, so it keeps going; still with reduced motion */
.bp-drawing .lvl { transform-box: fill-box; transform-origin: center; animation: bp-lvl 1.1s ease-in-out infinite alternate; }
@keyframes bp-lvl { from { transform: scaleY(.5); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .bp-drawing .lvl { animation: none; } }
.bp-block { margin: 24px 0 0; }
.bp-block iframe { display: block; width: 100%; border: 0; }

/* Who wrote it, and where it leads */
.bp-after { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: grid; gap: 32px; }
.bp-author { display: flex; gap: 16px; align-items: flex-start; }
.bp-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--border); }
.bp-author p { font-size: 14px; line-height: 21px; color: var(--muted-foreground); }
.bp-author b { color: var(--foreground); font-weight: 600; }
.bp-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.bp-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--link); text-underline-offset: 3px; }
.bp-related h2 { font-size: 20px; line-height: 28px; letter-spacing: 0; }
.bp-related .wf-textlink { font-size: 17px; line-height: 28px; }
.bp-related ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }

/* The listing: L1 with T6 and M1, locked by John, 7 November 2026 */
/* The heading's highlighted words: frames.css styles .kx-key page by page, so the blog has its own, in the same colours */
main[data-blog] .kx-key { color: #6a17b8; background: var(--secondary); box-shadow: inset 0 0 0 1.5px var(--brand-lilac); border-radius: .42em; padding: 0 .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bl-hero .display:has(.kx-key) { font-size: 40px; line-height: 50px; }
html[data-frame="a"] .bl-hero.wf.hero { padding-bottom: 8px; overflow: visible; }
html[data-frame="a"] .bl-hero.wf.hero .wf-copy { position: relative; margin: 0; max-width: 760px; text-align: left; }
/* The coloured circles behind the heading, the SaaS and Solutions pages' (wireframe.css, Circles; John, 7 November 2026): the cards' dots every 44px, fading out from a point
   near the top right, running on up behind the menu, whose white is thinner on this page while it sits at the top (--kx-top, site.js) */
main[data-page="blog"] > section.bl-hero { position: relative; isolation: isolate; }
main[data-page="blog"] > section.bl-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--kx-top, 109px)); height: calc(620px + var(--kx-top, 109px));
  z-index: -1; pointer-events: none;
  --kx-cx: calc(100% - max(0px, (100% - var(--page-max)) / 2) - var(--gutter) - 100px); --kx-cy: calc(var(--kx-top, 109px) + 34px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Ccircle cx='20.7' cy='16.6' r='3' fill='%233994ac'/%3E%3Ccircle cx='64.4' cy='16.7' r='2.5' fill='%233994ac'/%3E%3Ccircle cx='104.4' cy='21.2' r='3' fill='%238a2be2'/%3E%3Ccircle cx='149.1' cy='21.1' r='3' fill='%23f97316'/%3E%3Ccircle cx='203.4' cy='23.6' r='2.5' fill='%23fdca00'/%3E%3Ccircle cx='22.9' cy='64.8' r='2.5' fill='%23fdca00'/%3E%3Ccircle cx='66.7' cy='61.6' r='2.5' fill='%23fdca00'/%3E%3Ccircle cx='110.5' cy='66.9' r='3' fill='%23fdca00'/%3E%3Ccircle cx='150.2' cy='67.0' r='6' fill='%238a2be2'/%3E%3Ccircle cx='193.2' cy='68.5' r='3.5' fill='%238a2be2'/%3E%3Ccircle cx='23.4' cy='110.0' r='2.5' fill='%23ec4899'/%3E%3Ccircle cx='69.3' cy='109.6' r='4' fill='%23fdca00'/%3E%3Ccircle cx='107.6' cy='113.5' r='3.5' fill='%23ec4899'/%3E%3Ccircle cx='154.9' cy='110.3' r='2.5' fill='%23f97316'/%3E%3Ccircle cx='197.4' cy='111.3' r='6' fill='%23ec4899'/%3E%3Ccircle cx='22.1' cy='150.0' r='2.5' fill='%23fdca00'/%3E%3Ccircle cx='71.2' cy='153.1' r='3' fill='%23fdca00'/%3E%3Ccircle cx='110.9' cy='158.5' r='5' fill='%233994ac'/%3E%3Ccircle cx='156.3' cy='155.1' r='3.5' fill='%233994ac'/%3E%3Ccircle cx='192.8' cy='149.1' r='4' fill='%233994ac'/%3E%3Ccircle cx='24.4' cy='192.8' r='4' fill='%238a2be2'/%3E%3Ccircle cx='66.9' cy='200.2' r='6' fill='%23ec4899'/%3E%3Ccircle cx='112.6' cy='202.6' r='3.5' fill='%233994ac'/%3E%3Ccircle cx='159.3' cy='196.3' r='2.5' fill='%23f97316'/%3E%3Ccircle cx='197.9' cy='194.6' r='2.5' fill='%23f97316'/%3E%3C/svg%3E");
  background-position: calc(var(--kx-cx) - 110px) calc(var(--kx-cy) - 110px); opacity: .55;
  -webkit-mask-image: radial-gradient(circle 420px at var(--kx-cx) var(--kx-cy), #000, rgba(0,0,0,.35) 50%, transparent 100%);
          mask-image: radial-gradient(circle 420px at var(--kx-cx) var(--kx-cy), #000, rgba(0,0,0,.35) 50%, transparent 100%); }
body:has(main[data-page="blog"]) .site-header:not(.is-scrolled) { background: rgba(255,255,255,.5); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 900px) { main[data-page="blog"] > section.bl-hero::before {
  --kx-cx: calc(100% - var(--gutter)); --kx-cy: var(--kx-top, 100px);
  -webkit-mask-image: radial-gradient(circle 260px at var(--kx-cx) var(--kx-cy), #000, transparent 100%);
          mask-image: radial-gradient(circle 260px at var(--kx-cx) var(--kx-cy), #000, transparent 100%); } }
/* B8 (John, 7 November 2026): five of the pattern's big dots at full colour, one in each of the squiggle's colours, sitting exactly over dots in the pattern. In a background-position, 100% is
   the box less the image's width, so --w8 is the pattern's 100% (its image is 180px narrower), which keeps these on its grid. The pattern has no big orange dot, so one of its pinks takes the orange. On a
   phone the pattern is narrower and the words are in the way, so it has its own five, all above the heading */
main[data-page="blog"] > section.bl-hero::after {
  content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--kx-top, 109px)); height: calc(620px + var(--kx-top, 109px)); z-index: -1; pointer-events: none;
  --kx-cy: calc(var(--kx-top, 109px) + 34px); --w8: calc(100% + 180px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200'%3E%3Ccircle cx='360.2' cy='37.0' r='6' fill='%238a2be2'/%3E%3Ccircle cx='187.4' cy='81.3' r='6' fill='%23ec4899'/%3E%3Ccircle cx='59.3' cy='79.6' r='6' fill='%23fdca00'/%3E%3Ccircle cx='320.9' cy='128.5' r='6' fill='%233994ac'/%3E%3Ccircle cx='276.9' cy='170.2' r='6' fill='%23f97316'/%3E%3C/svg%3E") no-repeat;
  background-position: calc(var(--w8) - max(0px, (var(--w8) - var(--page-max)) / 2) - var(--gutter) - 100px - 100px) calc(var(--kx-cy) - 80px); }
@media (max-width: 900px) { main[data-page="blog"] > section.bl-hero::after { --kx-cy: var(--kx-top, 100px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200'%3E%3Ccircle cx='140.2' cy='37.0' r='6' fill='%238a2be2'/%3E%3Ccircle cx='187.4' cy='81.3' r='6' fill='%23ec4899'/%3E%3Ccircle cx='279.3' cy='79.6' r='6' fill='%23fdca00'/%3E%3Ccircle cx='100.9' cy='128.5' r='6' fill='%233994ac'/%3E%3Ccircle cx='182.8' cy='119.1' r='6' fill='%23f97316'/%3E%3C/svg%3E");
  background-position: calc(var(--w8) - var(--gutter) - 100px) calc(var(--kx-cy) - 80px); } }
/* S5 (John, 7 November 2026): the squiggle's line, with its dot replaced by five circles, in the background's colours, that hop in turn */
.bl-hop { position: relative; margin-top: 32px; height: 16px; width: 240px; }
.bl-hop svg { position: absolute; left: 0; top: 0; }
.bl-hop span { position: absolute; left: 152px; top: 1px; display: flex; gap: 5px; }
.bl-hop i { width: 13px; height: 13px; border-radius: 50%; animation: blHop 2.1s cubic-bezier(.3, .7, .3, 1) infinite; }
.bl-hop i:nth-child(1) { background: #8a2be2; } .bl-hop i:nth-child(2) { background: #fdca00; animation-delay: .16s; } .bl-hop i:nth-child(3) { background: #3994ac; animation-delay: .32s; }
.bl-hop i:nth-child(4) { background: #ec4899; animation-delay: .48s; } .bl-hop i:nth-child(5) { background: #f97316; animation-delay: .64s; }
@keyframes blHop { 0%, 44%, 100% { transform: translateY(0) scale(1, 1); } 8% { transform: translateY(1px) scale(1.14, .84); } 22% { transform: translateY(-13px) scale(.92, 1.08); } 36% { transform: translateY(1px) scale(1.12, .86); } }
@media (prefers-reduced-motion: reduce) { .bl-hop i { animation: none; } }
html[data-frame="a"] .bl-list.wf { padding: 32px 0 56px; }
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; line-height: 21px; color: var(--muted-foreground); }
.bl-topic { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c); }
.bl-topic::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
/* The big card: a grey border (John, 7 November 2026) on solid white, so the circles don't show through. The picture runs to the border, as on the smaller cards; only the words keep a margin from the edge */
.bl-feat { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px; align-items: center; color: inherit; text-decoration: none; margin-bottom: 36px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; padding: 0 28px 0 0; }
.bl-feat .bl-slice { border-radius: 0; }
.bl-feat .bl-slice .in::after { display: none; }
.bl-feat h2 { font-size: 28px; line-height: 36px; letter-spacing: -0.02em; margin: 8px 0; text-wrap: balance; text-align: left; }
.bl-feat p:not(.bl-meta) { font-size: 17px; line-height: 28px; color: var(--foreground-secondary); margin-bottom: 8px; }
.bl-filter { margin: 0 0 24px; justify-content: flex-start; }
.bl-filter button { box-shadow: inset 0 0 0 1px var(--border); }
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.bl-tile { display: block; color: inherit; text-decoration: none; }
.bl-tile[hidden] { display: none; }
.bl-tile .bl-meta { margin-top: 14px; }
.bl-tile h3 { font-size: 20px; line-height: 28px; margin: 8px 0; text-wrap: balance; text-align: left; }
.bl-tile p:not(.bl-meta) { font-size: 14px; line-height: 21px; color: var(--foreground-secondary); }
.bl-feat:hover h2, .bl-tile:hover h3 { color: var(--primary); }
/* M1: small, on the purple */
.bl-thw { position: relative; }
.bl-mk { position: absolute; left: 3.4%; bottom: 5%; display: inline-flex; align-items: center; gap: 5px; font: 600 12px/16px var(--font-sans); color: #6a17b8; background: #fff; border-radius: 999px; padding: 4px 10px 4px 7px; box-shadow: 0 4px 12px rgba(36,20,70,.25); }
.bl-thw:has(.s-still) .bl-mk { left: auto; right: 3.4%; }   /* a video's own thumbnail keeps its bottom right clear for this; its kixi.now sits bottom left */
.bl-mk .ph { width: 14px; height: 14px; color: #8a2be2; }

/* T6, the slice: V16 of the video start and end page, drawn at 1280 x 720 in cqw so it fits any size */
.bl-slice { container-type: inline-size; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #fff; }
/* The thumbnail's hairline is drawn over the picture, whose white would otherwise cover it, and under the purple */
.bl-slice .in::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--border); pointer-events: none; }
.s-wg, .s-k, .s-eb, .s-tx { z-index: 2; }
.bl-slice .in { --u: calc(100cqw / 1280); position: relative; width: 100%; height: 100%; }
.bl-slice .s-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.s-img { position: absolute; left: calc(490 * var(--u)); right: 0; top: 0; bottom: 0; background: #fff center/cover no-repeat; }
.s-img.s-fit { left: calc(650 * var(--u)); right: calc(24 * var(--u)); top: calc(24 * var(--u)); bottom: calc(24 * var(--u)); background-size: contain; }
.s-img.s-whole { top: auto; height: calc(420 * var(--u)); background-size: contain; background-position: right bottom; }
.s-img.s-free { left: calc(610 * var(--u)); right: calc(8 * var(--u)); top: calc(10 * var(--u)); bottom: calc(10 * var(--u)); background: none; }
.s-free .art { display: block; width: 100%; height: 100%; overflow: hidden; font-family: var(--font-display); }
.s-free .art text:not(.t-keep) { display: none; }
.s-wg { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 0, 50% 0, 38% 100%, 0 100%); background: radial-gradient(circle, rgba(255,255,255,.16) calc(2 * var(--u)), transparent calc(2.3 * var(--u))) 0 0 / calc(28 * var(--u)) calc(28 * var(--u)), #8a2be2; }
.s-wg i { position: absolute; left: calc(104 * var(--u)); top: calc(92 * var(--u)); border-radius: 50%; border: calc(2 * var(--u)) solid #fff; transform: translate(-50%, -50%); }
.s-wg i:nth-child(1) { width: calc(144 * var(--u)); height: calc(144 * var(--u)); opacity: .22; }
.s-wg i:nth-child(2) { width: calc(216 * var(--u)); height: calc(216 * var(--u)); opacity: .14; }
.s-wg i:nth-child(3) { width: calc(300 * var(--u)); height: calc(300 * var(--u)); opacity: .08; }
.s-k { position: absolute; left: calc(44 * var(--u)); top: calc(32 * var(--u)); }
.s-k svg { display: block; height: calc(120 * var(--u)); width: auto; }
.s-eb { position: absolute; left: calc(44 * var(--u)); top: calc(176 * var(--u)); display: inline-flex; align-items: center; gap: calc(11 * var(--u)); font: 600 calc(18 * var(--u))/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #fff; background: #8a2be2; border: calc(2 * var(--u)) solid #c9a4f1; border-radius: 999px; padding: calc(11 * var(--u)) calc(18 * var(--u)); }
.s-eb i { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: #fff; }
.s-tx { position: absolute; left: calc(44 * var(--u)); width: calc(520 * var(--u)); top: calc(232 * var(--u)); }
.s-tx b { display: block; color: #fff; font: 700 calc(var(--fs) * var(--u))/1.04 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.s-tx .hl { font-style: normal; color: #e3cdfd; }
/* The presenter, when a video's thumbnail has him (thumb.face): his smiling still in his start place, S3 (520, 560, 240 on the 1280 x 720 stage),
   on B7, the lilac glow, with C4's grey ring and shadow, as the video's own thumbnail draws him */
.s-face { position: absolute; z-index: 3; left: calc(400 * var(--u)); top: calc(440 * var(--u)); width: calc(240 * var(--u)); aspect-ratio: 1; border-radius: 50%;
  background: url('/videos/presenter-face.png') center/cover, radial-gradient(circle at 50% 40%, rgba(227,205,253,.62), rgba(227,205,253,0) 72%), #8a2be2;
  box-shadow: 0 0 0 calc(2 * var(--u)) #e4e2e9, 0 calc(18 * var(--u)) calc(40 * var(--u)) calc(-8 * var(--u)) rgba(36,20,70,.35); }
/* Why build's picture: a little of its table */
.lk-mini { position: absolute; left: 23%; right: 3%; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 1.4cqw; box-shadow: var(--shadow-card); border-top: .35cqw solid #8a2be2; padding: 2.4cqw 2.6cqw; }
.lk-mini p { font: 600 2.4cqw/1.3 var(--font-display); color: #2a2438; margin-bottom: 1.2cqw; white-space: nowrap; }
.lk-mini ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9cqw; }
.lk-mini li { display: flex; justify-content: space-between; gap: 1cqw; font-size: 1.95cqw; line-height: 1.35; color: #2a2438; white-space: nowrap; padding-top: .9cqw; border-top: 1px solid var(--hairline); }
.lk-mini li .ph { width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-right: .3em; }
.lk-mini .y { color: var(--state-on-text); } .lk-mini .y .ph { color: var(--state-on); }
.lk-mini .n { color: var(--state-below-text); } .lk-mini .n .ph { color: var(--state-below); }
@container (max-width: 300px) { .s-eb { display: none; } .s-tx { top: calc(190 * var(--u)); } }

/* P1, a post's opening: the picture beside the title, left-aligned. H3: the main illustration stays in its column */
html[data-frame="a"] .bp-p1.wf.hero { padding-bottom: 8px; overflow: visible; }
.bp-p1 > .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
html[data-frame="a"] .bp-p1.wf.hero .wf-copy { position: relative; z-index: 1; margin: 0; max-width: none; text-align: left; }
.bp-pic { position: relative; z-index: 0; min-width: 0; }
/* A drawing beside the title (H3): its trailing lines may flow out to the left, behind the words, so the svg doesn't clip them.
   On a phone, where the picture sits under the words, the hero clips them at the screen's edge instead (Talking to Claude, 8 November 2026) */
.bp-pic .art { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-display); }
.bp-hero-img { display: block; width: 100%; height: auto; }
/* Why build's picture beside the title */
.lk-win { background: #fff; border-radius: 18px; box-shadow: var(--shadow-card); padding: 18px; border-top: 3px solid var(--primary); }
.lk-win-h { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.lk-win-h b { font: 600 14px/21px var(--font-sans); color: var(--foreground); }
.lk-win ul { list-style: none; margin: 0; padding: 0; }
.lk-win li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14px; line-height: 21px; border-top: 1px solid var(--hairline); color: var(--foreground); }
.lk-win .bp-v { flex: none; }
/* A post's words, left-aligned with its heading */
html[data-frame="a"] main[data-blog] .bp-body .bp-post, html[data-frame="a"] main[data-blog] .bp-body .bp-after { margin-left: 0; margin-right: 0; }
html[data-frame="a"] main[data-blog] .bp-body .bp-post { max-width: none; }
main[data-blog] .bp-post > *:not(.bp-compare) { max-width: 720px; }
main[data-blog] .bp-compare { width: 100%; max-width: 1000px; margin-left: 0; }
html[data-frame="a"] .bp-nopic.wf.hero .wf-copy { margin: 0; }

/* W7 with G8b: the Watch button beside the byline, a purple play button with a soft ring from it, always looping. Never for a reader who has asked for less motion */
.bp-byrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.bp-byrow .bp-by { margin-top: 0; padding-bottom: 0; border-bottom: 0; }
.bp-watch { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/21px var(--font-sans); color: #6a17b8; background: #fff; box-shadow: inset 0 0 0 1.5px var(--brand-lilac); padding: 4px 15px 4px 4px; border-radius: 999px; text-decoration: none; cursor: pointer; }
.g-c { position: relative; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #8a2be2; }
.bp-watch .g-c .ph { color: #fff; }
.g-w { display: block; white-space: nowrap; }
.g-c::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; animation: gRing 2.4s ease-out .5s infinite both; }
@keyframes gRing { 0% { box-shadow: 0 0 0 0 rgba(138, 43, 226, .38); } 60%, 100% { box-shadow: 0 0 0 11px rgba(138, 43, 226, 0); } }
@media (max-width: 640px) { .bp-byrow { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .g-c::after { animation: none; } }

/* R1, the pop-out the Watch button opens, is in player.css since 9 November 2026: How it works uses it too */

/* VP2, a video's own page: the player first and large, always whole in the window, the words below */
html[data-frame="a"] .vp-hero.wf.hero { padding: 28px 0 8px; overflow: visible; }
html[data-frame="a"] .vp-hero.wf.hero .wf-copy { margin: 0; max-width: 760px; text-align: left; }
.vp-hero .display, .vp-hero .display:has(.kx-key) { font-size: 40px; line-height: 50px; }   /* :has(.kx-key) too, as a post's title, or the site's highlighted heading (56px on 60px) wins and the highlight touches the line above (John, 10 November 2026) */
.vp-player { width: 100%; max-width: min(100%, calc((100vh - 190px) * 16 / 9)); margin-top: 24px; }
html[data-frame="a"] .vp-hero.wf.hero .vp-under { margin-top: 28px; }
.vp-under .bp-by { margin-top: 16px; padding-bottom: 0; border-bottom: 0; }
html[data-frame="a"] .vp-body.wf { padding-top: 24px; }
.vp-more { font-size: 17px; line-height: 28px; color: var(--foreground); margin: 0 0 16px; }
.vp-next { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.vp-next h2 { font-size: 28px; line-height: 36px; letter-spacing: -0.02em; margin: 0 0 24px; text-align: left; }

@media (max-width: 900px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-p1 > .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  html[data-frame="a"] .bp-p1.wf.hero { overflow-x: clip; }
}
@media (max-width: 640px) {
  .bp-hero .display, .bp-hero .display:has(.kx-key) { font-size: 32px; line-height: 40px; }
  .bp-bg { height: 300px; }
  .bp-post h2 { font-size: 24px; line-height: 32px; margin-top: 40px; }
  .bl-hero .display:has(.kx-key), .vp-hero .display, .vp-hero .display:has(.kx-key) { font-size: 32px; line-height: 40px; }
  .bl-feat { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 0 20px; }
  .bl-feat > div:last-child { padding: 0 16px; }
  .bl-grid { grid-template-columns: minmax(0, 1fr); }
  .bl-mk { font-size: 11px; line-height: 14px; }
}

/* A post's moving pictures (Clip.astro, John, 20 November 2026) and its video at the top (videoTop, Talking to Claude): the clip as
   a picture, rounded, with Play again bottom right; the video in the site's player, the post's column wide, the post below it */
.bp-clip { margin: 24px 0 0; }
.bp-clip-w { position: relative; }
.bp-clip video { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); cursor: pointer; background: #fff; }
.bp-rep { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px 0 11px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--primary); font: 600 13px/1 var(--font-sans, inherit);
  box-shadow: 0 1px 2px rgba(42,36,56,.08), 0 6px 16px -6px rgba(42,36,56,.28); cursor: pointer; }
.bp-rep:hover { border-color: var(--primary); }
.bp-rep:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 560px) { .bp-clip-w[style] { width: 75% !important; } .bp-rep { height: 32px; padding: 0 11px 0 9px; font-size: 12px; } }
.bp-post > .bp-clip + p, .bp-post > .bp-clip + script + p { margin-top: 24px; }
main[data-blog] .bp-topvideo { max-width: 720px; margin: 0 0 36px; }
main[data-blog] .bp-topvideo .kx-player { max-width: none; }
