/* Penmarrow Legal (clean-firm). Generated by factory/b-build.mjs from factory/b-configs/clean-firm.json: edit the config,
   factory/factory.css or factory/b-factory.css and rebuild. To rebrand by hand, change only this first block: --accent /
   --accent-strong for light, --accent-dk / --accent-strong-dk for dark. Keep text on the accent at 4.5:1 or more. */
:root { --accent: #1E40AF; --accent-strong: #1E3A8A; --accent-dk: #93C5FD; --accent-strong-dk: #BFDBFE; }


/* Inazda template factory: section styles layered on ../clean-base.css. Tokens only (--iz-*); no hex, no new radius,
   no new easing. The build prepends the brand's accent block and writes the result to templates/<id>/site.css.
   Edit this file, not the copies, then rebuild: node factory/build.mjs --all */

/* ---------- Hero ---------- */
.fx-hero h1 { max-width: 17ch; }
@media (max-width: 400px) { .fx-hero h1 { font-size: 32px; } }
@media (max-width: 359px) { .fx-hero h1 { font-size: 28px; } }
.fx-hero .frame img { width: 100%; }
.fx-hero .frame-shell { margin-inline: calc(var(--iz-gutter) * -0.5); }
@media (min-width: 1280px) { .fx-hero:not(.is-split) .frame-shell { margin-inline: -24px; } }
/* On phones a full desktop screen is too small to read: show a square crop at the config's focus point instead. */
@media (max-width: 639px) {
  .fx-hero-media:not(.has-phone) .frame img { aspect-ratio: 1 / 1; object-fit: cover; object-position: var(--fx-focus, 0 0); }
  .fx-hero-media.has-phone .frame img { aspect-ratio: auto; height: auto; }
  .fx-hero.is-split .has-phone .frame img { aspect-ratio: auto; }
}
.fx-hero.is-split .hero-grid { grid-template-columns: minmax(0, 1fr); }
.fx-hero.is-split .hero-shot { margin-top: 0; }
.fx-hero.is-split .frame-shell { margin-inline: 0; }
.fx-hero.is-split .frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; }
/* Split: the words get half the width, and the H1 steps down to 48 px (on the Clean scale) so it stays at two lines. */
@media (min-width: 1024px) {
  .fx-hero.is-split .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .fx-hero.is-split h1 { max-width: none; font-size: 40px; }
}
@media (min-width: 1200px) { .fx-hero.is-split h1 { font-size: 48px; } }

/* ---------- Problem: heading left, numbered statements right ---------- */
@media (min-width: 1024px) {
  .fx-problem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
  .fx-problem .sec-head { margin-bottom: 0; }
}
.fx-reasons { display: grid; }
.fx-reasons li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 24px 0; border-top: 1px solid var(--iz-border); }
.fx-reasons li:last-child { border-bottom: 1px solid var(--iz-border); }
.fx-reasons .index { padding-top: 5px; }
.fx-reasons p { color: var(--iz-muted-fg); margin-top: 6px; max-width: 58ch; }

/* ---------- Steps: a crop of the real screen above each step ---------- */
.fx-crop { background: var(--iz-ui-canvas); }
.fx-crop img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; }
@media (min-width: 900px) { .steps.fx-steps-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; } }
.step-head p { max-width: 52ch; }

/* ---------- Features as a table ---------- */
.fx-ftable { min-width: 640px; }
.fx-ftable tbody th { width: 26%; }
.fx-ftable td:last-child { width: 18%; color: var(--iz-muted-fg); white-space: nowrap; }
.fx-ftable td { color: var(--iz-muted-fg); }

/* ---------- Tables: the scroller is the containing block, so screen-reader-only text in cells can't widen the page ---------- */
.table-scroll { position: relative; }

/* ---------- Compare ---------- */
.fx-compare { min-width: 760px; }
.fx-compare tbody th { width: 22%; }
.fx-compare td, .fx-compare thead th:not(:first-child) { width: 26%; }

/* ---------- Pricing ---------- */
@media (min-width: 1024px) {
  .plans.fx-plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 840px; }
}
.fx-fine { margin-top: 20px; }

/* ---------- FAQ ---------- */
@media (min-width: 1024px) {
  .fx-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .fx-faq .sec-head { margin-bottom: 0; }
}

/* ---------- Closing call: one quiet bordered band ---------- */
.fx-cta { display: grid; gap: 28px; padding: 32px 24px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-bg-subtle); }
.fx-cta .h2 { max-width: 20ch; }
.fx-cta .lede { margin-top: 12px; }
@media (min-width: 1024px) {
  .fx-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; padding: 48px; }
}


/* ==========================================================================================================
   Batch B sections (factory/sections/b-*.mjs): multi-page templates with photos, phone screens, forms and articles.
   Tokens only (--iz-* from clean-base.css): no hex, no new radius, no new easing. Edit here, then rebuild:
   node factory/b-build.mjs --all
   ========================================================================================================== */

[hidden] { display: none !important; }

/* ---------- Header: long brand names shrink before the page can scroll sideways ---------- */
.nav .brand { min-width: 0; }
.b-brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 400px) { .nav { gap: 12px; } }

/* ---------- Shared bits ---------- */
.b-photo { display: block; width: 100%; height: auto; border-radius: var(--iz-r-md); background: var(--iz-sunken); }
.b-meta { display: flex; flex-wrap: wrap; gap: 4px 0; font: 400 13px/1.5 var(--iz-mono); color: var(--iz-muted-fg); }
.b-meta span + span::before { content: "·"; margin: 0 8px; }
.b-ticks { display: grid; gap: 10px; }
.b-ticks li { display: flex; gap: 10px; color: var(--iz-muted-fg); }
.b-ticks svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--iz-accent); }
.b-ticks.is-small { gap: 6px; font-size: 14px; }
.b-ticks.is-small svg { margin-top: 3px; }
.b-more { margin-top: 32px; }
.b-contact { display: grid; gap: 14px; }
.b-contact > div { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 10px; }
.b-contact svg { width: 16px; height: 16px; margin-top: 3px; color: var(--iz-muted-fg); grid-row: span 2; }
.b-contact dt { font-size: 14px; font-weight: 500; }
.b-contact dd { color: var(--iz-muted-fg); font-size: 14px; overflow-wrap: anywhere; }
.b-contact a { color: var(--iz-link); }

/* ---------- Hero ---------- */
.b-hero { padding-bottom: 56px; }
.b-hero h1 { max-width: 17ch; }
@media (max-width: 400px) { .b-hero h1, .b-pagehead h1, .b-article h1 { font-size: 32px; } }
@media (max-width: 359px) { .b-hero h1, .b-pagehead h1, .b-article h1 { font-size: 28px; } }
.b-hero-grid { display: grid; gap: 40px; }
.b-hero.is-text:not(.is-split) .lede { max-width: 56ch; }
.b-hero-facts { display: grid; gap: 0; border-top: 1px solid var(--iz-border); align-self: end; }
.b-hero-facts > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--iz-border); }
.b-hero-facts dt { font-size: 13px; color: var(--iz-muted-fg); }
.b-hero-facts dd { font-weight: 500; }
.b-hero-card { display: grid; gap: 10px; align-self: end; padding: 24px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-bg-subtle); }
.b-hero-card-k { font-size: 13px; color: var(--iz-muted-fg); }
.b-hero-card a { color: inherit; text-decoration: none; }
.b-hero-card a:hover { text-decoration: underline; }
.b-hero-card > p:not(.b-hero-card-k):not(.b-meta) { color: var(--iz-muted-fg); }
.b-hero-media { margin: 0; }
.b-hero.is-photo.is-split .b-photo { aspect-ratio: 1 / 1; object-fit: cover; }
.b-hero.is-photo:not(.is-split) .b-hero-media { margin-top: 48px; }
.b-hero.is-photo:not(.is-split) .b-photo { aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 639px) { .b-hero.is-photo:not(.is-split) .b-photo { aspect-ratio: 4 / 3; } .b-hero.is-photo.is-split .b-photo { aspect-ratio: 4 / 3; } }
.b-hero-media .caption, .b-mosaic .caption, .b-hero-phones .caption { margin-top: 12px; }
.b-hero-form { margin-top: 32px; max-width: 520px; }
@media (min-width: 1024px) {
  .b-hero { padding-bottom: var(--iz-section); }
  .b-hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
  .b-hero.is-split h1 { font-size: 40px; max-width: none; }
  .b-hero.is-phones .b-hero-grid, .b-hero.is-photo.is-split .b-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .b-hero.is-text.is-split .b-hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; }
  .b-hero.is-text.is-split h1 { font-size: 56px; max-width: 17ch; }
}
@media (min-width: 1200px) { .b-hero.is-split h1 { font-size: 48px; } }

/* Phones: a plain bordered frame (no device outline), two side by side on wide screens, one on phones */
.b-phone { width: 100%; max-width: 280px; }
.b-phone .frame img { width: 100%; }
.b-hero-phones { margin: 0; }
.b-phones { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.b-phones .is-second { display: none; }
@media (min-width: 640px) {
  .b-phones .is-second { display: block; margin-top: 64px; }
  .b-phones .b-phone { max-width: 300px; }
}
@media (min-width: 1024px) { .b-phones { justify-content: flex-end; } }

/* Mosaic: one large photo and two small ones */
.b-mosaic { margin: 48px 0 0; }
.b-mosaic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.b-mosaic-grid > div { min-width: 0; }
.b-mosaic-0 { grid-column: 1 / -1; }
.b-mosaic-grid .b-photo { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.b-mosaic-0 .b-photo { aspect-ratio: 16 / 10; }
@media (min-width: 1024px) {
  .b-mosaic { margin-top: 64px; }
  .b-mosaic-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .b-mosaic-0 { grid-column: 1; grid-row: 1 / span 2; }
  .b-mosaic-0 .b-photo { aspect-ratio: auto; }
  .b-mosaic-grid .b-photo { aspect-ratio: auto; }
  .b-mosaic-grid > div { aspect-ratio: auto; }
  .b-mosaic-grid { height: 600px; }
}

/* ---------- Inner page head ---------- */
.b-pagehead { padding: 40px 0 48px; border-bottom: 1px solid var(--iz-border); }
.b-pagehead h1 { max-width: 20ch; margin-top: 20px; }
.b-pagehead .lede { margin-top: 16px; }
.b-pagehead .actions { margin-top: 28px; }
@media (min-width: 1024px) { .b-pagehead { padding: 56px 0 72px; } .b-pagehead h1 { font-size: 48px; } }
.b-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; color: var(--iz-muted-fg); }
.b-crumbs li + li::before { content: "/"; margin: 0 10px; color: var(--iz-faint-fg); }
.b-crumbs a { color: var(--iz-muted-fg); text-decoration: none; }
.b-crumbs a:hover { color: var(--iz-fg); text-decoration: underline; }
.b-crumbs [aria-current] { color: var(--iz-fg); }
.b-facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--iz-border); }
.b-facts dt { font-size: 13px; color: var(--iz-muted-fg); }
.b-facts dd { font-weight: 500; font-size: 15px; }

/* ---------- Prose block ---------- */
.b-prose-grid { display: grid; gap: 40px; }
.b-prose-grid .sec-head { margin-bottom: 24px; }
.b-prose-body { display: grid; gap: 16px; max-width: 62ch; color: var(--iz-muted-fg); }
.b-prose-body > p { font-size: 16px; }
.b-prose-media { margin: 0; }
.b-prose-media .b-photo { aspect-ratio: 4 / 3; object-fit: cover; }
.b-prose-media .caption { margin-top: 12px; }
@media (min-width: 1024px) {
  .b-prose-grid.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .b-prose-grid.has-media.is-left > figure { order: -1; }
  .b-prose-grid:not(.has-media) > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
  .b-prose-grid:not(.has-media) .sec-head { margin-bottom: 0; }
  .b-prose-body > p { font-size: 17px; }
}

/* ---------- Cards ---------- */
.b-cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .b-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .b-cards.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .b-cards.is-2 { gap: 32px; } }
.b-card { position: relative; display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-surface); overflow: hidden; transition: border-color var(--iz-dur) var(--iz-ease); }
.b-card:has(.b-card-link):hover { border-color: var(--iz-border-strong); }
.b-card-media .b-photo { border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; }
.b-cards.is-2 .b-card-media .b-photo { aspect-ratio: 16 / 10; }
.b-card-body { display: grid; gap: 10px; align-content: start; padding: 20px 20px 22px; }
.b-card-text { color: var(--iz-muted-fg); }
.b-card-link { color: inherit; text-decoration: none; }
.b-card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--iz-r-lg); }
.b-card-link:focus-visible { outline: none; }
.b-card-link:focus-visible::after { outline: 2px solid var(--iz-accent); outline-offset: 2px; }
.b-card:has(.b-card-link):hover .b-card-link { text-decoration: underline; }
.b-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 500; font-size: 14px; }
.b-card-more .arr { width: 16px; height: 16px; transition: transform var(--iz-dur) var(--iz-ease); }
.b-card:hover .b-card-more .arr { transform: translateX(2px); }

/* ---------- Rows ---------- */
.b-rows { border-top: 1px solid var(--iz-border); }
.b-row { display: grid; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--iz-border); }
.b-row-main { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; }
.b-row-main .index { padding-top: 5px; }
.b-row-main p { color: var(--iz-muted-fg); margin-top: 6px; max-width: 54ch; }
.b-row-main .b-meta { margin-top: 10px; }
.b-row-label { font-size: 13px; color: var(--iz-muted-fg); margin-bottom: 8px; }
.b-row-covers, .b-row-link { padding-left: 48px; }
@media (min-width: 1024px) {
  .b-row { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 2fr); gap: 32px; align-items: start; }
  .b-row-covers, .b-row-link { padding-left: 0; }
  .b-row-link { justify-self: end; padding-top: 2px; }
}

/* ---------- Team ---------- */
.b-team { display: grid; gap: 32px; }
@media (min-width: 640px) { .b-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (min-width: 1024px) { .b-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.b-person { display: flex; gap: 16px; align-items: flex-start; padding-top: 24px; border-top: 1px solid var(--iz-border); }
.b-role { font-size: 14px; color: var(--iz-muted-fg); margin-top: 2px; }
.b-bio { margin-top: 10px; color: var(--iz-muted-fg); font-size: 15px; }
.b-person .b-meta { margin-top: 10px; }

/* ---------- Forms ---------- */
.b-form-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .b-form-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } }
.b-form-side { display: grid; gap: 32px; align-content: start; }
.b-form-side .sec-head { margin-bottom: 0; }
.b-form-card { padding: 24px 20px; }
@media (min-width: 640px) { .b-form-card { padding: 32px; } }
.b-fields { display: grid; gap: 20px; }
@media (min-width: 640px) { .b-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-fields > * { grid-column: 1 / -1; } .b-fields > .is-half { grid-column: auto; } }
.b-form .field > label, .b-form fieldset > legend { font-size: 14px; font-weight: 500; }
.b-form fieldset > legend { padding: 0; margin-bottom: 2px; }
.b-opt { font-weight: 400; color: var(--iz-muted-fg); }
.b-form .err:empty { display: none; }
.b-form .err { margin-top: 2px; }
.b-form fieldset .hint { margin-top: 2px; }
.b-checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--iz-muted-fg); cursor: pointer; }
.b-checkline input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--iz-accent); }
.b-checkline a { color: var(--iz-link); }
.b-submit { display: grid; gap: 12px; margin-top: 24px; justify-items: start; }
.b-status { margin-top: 20px; }
.b-status svg { color: var(--iz-info); }
.b-points { display: grid; }
.b-points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; padding: 16px 0; border-top: 1px solid var(--iz-border); }
.b-points .index { padding-top: 4px; }
.b-point-t { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.b-points p { color: var(--iz-muted-fg); font-size: 15px; margin-top: 4px; }
/* Inline (one field and a button), for subscribe and "send me the link" */
.b-form.is-inline .b-inline-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.b-form.is-inline .field { flex: 1 1 220px; }
.b-form.is-inline .btn { flex: none; }
.b-inline-note { margin-top: 10px; }
.b-subscribe { display: grid; gap: 28px; padding: 32px 24px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-surface); }
.b-subscribe .lede { margin-top: 12px; font-size: 16px; }
@media (min-width: 1024px) { .b-subscribe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 48px; } .b-subscribe .lede { font-size: 18px; } }

/* ---------- Post list ---------- */
.b-posts { border-top: 1px solid var(--iz-border); }
.b-post { border-bottom: 1px solid var(--iz-border); }
.b-post > article { position: relative; display: grid; gap: 16px; padding: 24px 0; }
.b-post-body { display: grid; gap: 6px; }
.b-post-meta { display: flex; flex-wrap: wrap; font: 400 13px/1.5 var(--iz-mono); color: var(--iz-muted-fg); }
.b-post-meta > * + *::before { content: "·"; margin: 0 8px; }
.b-post-link { color: inherit; text-decoration: none; }
.b-post-link::after { content: ""; position: absolute; inset: 0; }
.b-post-link:focus-visible { outline: none; }
.b-post-link:focus-visible::after { outline: 2px solid var(--iz-accent); outline-offset: 2px; border-radius: var(--iz-r-md); }
.b-post:hover .b-post-link { text-decoration: underline; }
.b-post-desc { color: var(--iz-muted-fg); max-width: 64ch; }
.b-post-media .b-photo { aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 900px) {
  .b-post:not(.is-featured) .b-post-body { grid-template-columns: 220px minmax(0, 1fr); column-gap: 32px; }
  .b-post:not(.is-featured) .b-post-meta { grid-row: span 2; padding-top: 3px; flex-direction: column; }
  .b-post:not(.is-featured) .b-post-meta > * + *::before { content: none; }
  .b-post.is-featured > article { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center; padding: 32px 0; }
}
.b-year + .b-year { margin-top: 48px; }
.b-year-h { font: 500 13px/1 var(--iz-mono); color: var(--iz-muted-fg); margin-bottom: 16px; }

/* ---------- Article ---------- */
.b-article-head, .b-article-foot, .b-article-grid { max-width: calc(760px + 2 * var(--iz-gutter)); }
.b-article-head { padding-top: 40px; }
@media (min-width: 1100px) {
  .b-article.has-toc .b-article-head, .b-article.has-toc .b-article-foot { max-width: calc(var(--iz-max) + 2 * var(--iz-gutter)); padding-left: calc(var(--iz-gutter) + 292px); }
  .b-article.has-toc .b-article-head > *, .b-article.has-toc .b-article-foot > * { max-width: 720px; }
}
@media (min-width: 1024px) { .b-article-head { padding-top: 64px; } .b-article h1 { font-size: 48px; } }
.b-back a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--iz-muted-fg); text-decoration: none; }
.b-back a:hover { color: var(--iz-fg); text-decoration: underline; }
.b-back svg { width: 16px; height: 16px; }
.b-topic { margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--iz-link); }
.b-back + h1, .b-topic + h1 { margin-top: 12px; }
.b-back + .b-topic + h1 { margin-top: 10px; }
.b-article-head .lede { margin-top: 16px; }
.b-byline { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.b-by-name { font-weight: 500; }
.b-by-meta { display: flex; flex-wrap: wrap; font-size: 14px; color: var(--iz-muted-fg); }
.b-by-meta > * + *::before { content: "·"; margin: 0 8px; }
.b-article-head > .b-by-meta { margin-top: 20px; }
.b-lead { margin-top: 40px; }
.b-lead .b-photo { aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--iz-r-lg); }
@media (max-width: 639px) { .b-lead .b-photo { aspect-ratio: 4 / 3; } }
.b-lead .caption { margin-top: 12px; }
.b-article-grid { margin-top: 40px; padding-bottom: var(--iz-section); }
@media (min-width: 1100px) {
  .b-article-grid.has-toc { max-width: calc(var(--iz-max) + 2 * var(--iz-gutter)); display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 72px; justify-content: start; }
}
.b-toc { display: none; }
@media (min-width: 1100px) {
  .b-toc { display: block; position: sticky; top: calc(var(--iz-head-h) + 32px); align-self: start; }
}
.b-toc-h { font-size: 13px; font-weight: 500; color: var(--iz-muted-fg); margin-bottom: 12px; }
.b-toc ol { display: grid; gap: 2px; border-left: 1px solid var(--iz-border); }
.b-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--iz-muted-fg); text-decoration: none; }
.b-toc a:hover { color: var(--iz-fg); border-left-color: var(--iz-border-strong); }

/* Reading type: 18 px body, 1.7 line height, 68 characters */
.b-prose { max-width: 68ch; font-size: 18px; line-height: 1.7; color: var(--iz-fg); }
.b-prose > * + * { margin-top: 1.1em; }
.b-prose > h2 { margin-top: 2.2em; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.b-prose > h3 { margin-top: 1.8em; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.b-prose > h2 + *, .b-prose > h3 + * { margin-top: 0.6em; }
.b-prose > h2:first-child { margin-top: 0; }
.b-prose ul, .b-prose ol { padding-left: 1.3em; list-style: revert; }
.b-prose li + li { margin-top: 0.4em; }
.b-prose li::marker { color: var(--iz-muted-fg); }
.b-prose a { color: var(--iz-link); text-decoration: underline; }
.b-prose blockquote { padding-left: 20px; border-left: 2px solid var(--iz-accent); font-size: 20px; line-height: 1.55; color: var(--iz-fg); }
.b-prose blockquote footer { margin-top: 8px; font-size: 14px; color: var(--iz-muted-fg); }
.b-prose code:not(pre code) { font-size: .85em; }
.b-fig { margin-block: 2em; }
.b-fig figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--iz-muted-fg); }
.b-note { display: flex; gap: 12px; padding: 16px 18px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-md); background: var(--iz-bg-subtle); font-size: 16px; line-height: 1.6; color: var(--iz-muted-fg); }
.b-note svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--iz-info); }
.b-note-t { font-weight: 600; color: var(--iz-fg); margin-bottom: 2px; }
.b-casefacts { display: grid; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-surface); font-size: 15px; line-height: 1.55; }
.b-casefacts > div { display: grid; gap: 2px; padding: 14px 18px; border-bottom: 1px solid var(--iz-border); }
.b-casefacts > div:last-child { border-bottom: 0; }
.b-casefacts dt { font-size: 13px; color: var(--iz-muted-fg); }
@media (min-width: 640px) { .b-casefacts > div { grid-template-columns: 160px minmax(0, 1fr); gap: 16px; } .b-casefacts dt { font-size: 14px; } }
.b-article-foot { padding-bottom: var(--iz-section); display: grid; gap: 32px; }
.b-article-foot > * { max-width: 68ch; }
.b-article-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--iz-border); }
.b-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.b-author { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-bg-subtle); }
.b-author p:last-child { color: var(--iz-muted-fg); font-size: 15px; margin-top: 4px; }
.b-prevnext { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 640px) { .b-prevnext { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.b-pn { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); text-decoration: none; color: var(--iz-fg); transition: border-color var(--iz-dur) var(--iz-ease), background-color var(--iz-dur) var(--iz-ease); }
.b-pn:hover { border-color: var(--iz-border-strong); background: var(--iz-bg-subtle); }
.b-pn-k { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--iz-muted-fg); }
.b-pn-k svg { width: 14px; height: 14px; }
.b-pn-t { font-weight: 500; }
.b-pn.is-next { text-align: right; }
.b-pn.is-next .b-pn-k { justify-content: flex-end; flex-direction: row-reverse; }
.b-projectsec .b-prevnext { margin-top: 56px; }

/* ---------- Gallery and project sequence ---------- */
.b-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.b-chipbtn { height: 36px; padding: 0 14px; border: 1px solid var(--iz-border-strong); border-radius: var(--iz-r-md); background: var(--iz-surface); color: var(--iz-fg); font-size: 14px; font-weight: 500; transition: background-color var(--iz-dur) var(--iz-ease), color var(--iz-dur) var(--iz-ease), border-color var(--iz-dur) var(--iz-ease); }
.b-chipbtn:hover { background: var(--iz-sunken); }
.b-chipbtn[aria-pressed="true"] { background: var(--iz-fg); border-color: var(--iz-fg); color: var(--iz-bg); }
.b-gallery { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .b-gallery { columns: 2; } }
@media (min-width: 1024px) { .b-gallery { columns: 3; column-gap: 20px; } }
.b-gallery li { break-inside: avoid; margin-bottom: 16px; }
@media (min-width: 1024px) { .b-gallery li { margin-bottom: 20px; } }
.b-shot { display: block; border-radius: var(--iz-r-md); cursor: zoom-in; }
.b-shot .b-photo { transition: opacity var(--iz-dur) var(--iz-ease); }
.b-shot:hover .b-photo { opacity: .9; }
.b-project-intro { display: grid; gap: 24px; margin-bottom: 48px; }
@media (min-width: 1024px) {
  .b-project-intro { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 64px; margin-bottom: 64px; }
  .b-project-intro .b-casefacts { grid-column: 2; }
}
.b-sequence { display: grid; gap: 32px; }
@media (min-width: 900px) { .b-sequence { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; align-items: start; } .b-sequence .is-wide { grid-column: 1 / -1; } }
.b-sequence .caption { margin-top: 10px; }

/* Viewer (a native <dialog>; site.js builds it) */
html.b-lb-open { overflow: hidden; }
dialog.b-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 12px 16px 16px; border: 0; background: var(--iz-bg); color: var(--iz-fg); }
dialog.b-lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; animation: iz-fade var(--iz-dur) var(--iz-ease); }
dialog.b-lb::backdrop { background: var(--iz-bg); }
.b-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.b-lb-count { font: 400 13px/1 var(--iz-mono); color: var(--iz-muted-fg); }
.b-lb-fig { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 10px; min-height: 0; margin: 0; }
.b-lb-fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--iz-r-md); min-height: 0; }
.b-lb-cap { font-size: 14px; color: var(--iz-muted-fg); text-align: center; max-width: 70ch; }
.b-lb-nav { display: flex; justify-content: center; gap: 12px; }
.b-lb .icon-btn { width: 44px; height: 44px; }
.b-lb .icon-btn svg { width: 18px; height: 18px; }

/* ---------- Feature tour (tabs + phone) ---------- */
.b-tour { display: grid; gap: 24px; }
.b-tour-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.b-tour-tabs::-webkit-scrollbar { display: none; }
.b-tour-tab { display: flex; align-items: center; gap: 10px; flex: none; height: 40px; padding: 0 14px; border: 1px solid var(--iz-border-strong); border-radius: var(--iz-r-md); background: var(--iz-surface); color: var(--iz-muted-fg); text-align: left; transition: background-color var(--iz-dur) var(--iz-ease), color var(--iz-dur) var(--iz-ease), border-color var(--iz-dur) var(--iz-ease); }
.b-tour-tab:hover { color: var(--iz-fg); background: var(--iz-sunken); }
.b-tour-tab[aria-selected="true"] { color: var(--iz-fg); border-color: var(--iz-accent); box-shadow: inset 0 0 0 1px var(--iz-accent); background: var(--iz-surface); }
.b-tour-tab .index { display: none; }
.b-tour-title { font-size: 14px; font-weight: 500; white-space: nowrap; }
.b-tour-short { display: none; }
.b-tour-panel { display: grid; gap: 24px; }
.b-tour-panel:focus-visible { outline-offset: 4px; border-radius: var(--iz-r-lg); }
.b-tour-stage { display: grid; place-items: center; padding: 28px 16px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-sunken); }
.b-tour-stage .b-phone { max-width: 260px; }
@media (min-width: 1024px) {
  .b-tour { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
  .b-tour-tabs { flex-direction: column; gap: 0; overflow: visible; border-top: 1px solid var(--iz-border); padding: 0; margin: 0; }
  .b-tour-tab { height: auto; align-items: flex-start; gap: 14px; padding: 20px 16px 20px 14px; border: 0; border-bottom: 1px solid var(--iz-border); border-left: 2px solid transparent; border-radius: 0; background: none; box-shadow: none; }
  .b-tour-tab[aria-selected="true"] { border-left-color: var(--iz-accent); background: var(--iz-bg-subtle); box-shadow: none; }
  .b-tour-tab .index { display: block; padding-top: 4px; }
  .b-tour-tt { display: grid; gap: 4px; }
  .b-tour-title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--iz-fg); white-space: normal; }
  .b-tour-short { display: block; font-size: 15px; color: var(--iz-muted-fg); }
  .b-tour-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
  .b-tour-stage { padding: 40px 24px; }
}

/* ---------- Download block ---------- */
.b-download { display: grid; gap: 32px; padding: 32px 24px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-bg-subtle); }
.b-download .lede { margin-top: 12px; }
.b-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.b-store { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px 8px 14px; border: 1px solid var(--iz-border-strong); border-radius: var(--iz-r-md); background: var(--iz-surface); color: var(--iz-fg); text-decoration: none; transition: background-color var(--iz-dur) var(--iz-ease), border-color var(--iz-dur) var(--iz-ease); }
.b-store:hover { background: var(--iz-sunken); }
.b-store.is-primary { background: var(--iz-fg); border-color: var(--iz-fg); color: var(--iz-bg); }
.b-store.is-primary:hover { background: color-mix(in srgb, var(--iz-fg) 88%, var(--iz-bg)); }
.b-store svg { width: 20px; height: 20px; flex: none; }
.b-store > span { display: grid; gap: 2px; }
.b-store-sub { font-size: 13px; line-height: 1.2; opacity: .85; }
.b-store-label { font-size: 16px; font-weight: 600; line-height: 1.2; }
.b-download .b-form { margin-top: 28px; max-width: 520px; }
.b-qr { margin: 0; display: grid; gap: 10px; justify-items: start; }
.b-qr-slot { width: 168px; height: 168px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 12px; border: 1px dashed var(--iz-border-strong); border-radius: var(--iz-r-lg); background: var(--iz-surface); color: var(--iz-muted-fg); font-size: 13px; text-align: center; }
.b-qr-slot svg { width: 24px; height: 24px; }
.b-qr .caption { max-width: 22ch; font-size: 13px; }
@media (min-width: 1024px) {
  .b-download { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; padding: 48px; align-items: center; }
  .b-qr { justify-items: center; text-align: center; }
}

/* ==========================================================================================================
   Launch round: signature pieces (light table, mini list, reading progress, practice chooser, cost slider),
   the editorial post list, the wide photo hero and the serif-heading option.
   ========================================================================================================== */

/* ---------- Hero: headline and lede side by side over a wide photo band ---------- */
@media (min-width: 1024px) {
  .b-hero.is-photo:not(.is-split) { padding-top: 72px; }
  .b-hero-words.is-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: end; }
  .b-hero-words.is-row h1 { max-width: 15ch; }
  .b-hero-words.is-row .lede { margin-top: 0; }
  .b-hero-words.is-row .actions { margin-top: 24px; }
  .b-hero.is-photo:not(.is-split) .b-hero-media { margin-top: 48px; }
}
.b-hero.is-photo:not(.is-split) .b-photo { border-radius: var(--iz-r-lg); }

/* ---------- Serif headings (a template opts in with bodyClass "b-serif-heads" and a --b-serif font token) ---------- */
.b-serif-heads .h1, .b-serif-heads .h2, .b-serif-heads .h3, .b-serif-heads .b-prose > h2, .b-serif-heads .b-compact .h4 {
  font-family: var(--b-serif, var(--iz-font)); font-weight: 400; letter-spacing: -0.01em; line-height: 1.1;
}
@media (min-width: 1024px) { .b-serif-heads .h1 { font-size: 64px; line-height: 1.02; } .b-serif-heads .b-hero.is-text.is-split h1 { font-size: 72px; } .b-serif-heads .h2 { font-size: 44px; } }
.b-serif-heads .b-compact .h4 { font-size: 22px; line-height: 1.2; }
.b-serif-heads .b-prose > h2 { font-size: 30px; }

/* ---------- Editorial post list: heading row, lead story, three compact items ---------- */
.b-listhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--iz-border-strong); }
.b-listhead .lede { margin-top: 8px; font-size: 16px; }
.b-leadgrid { display: grid; gap: 32px; }
.b-leadpost { position: relative; display: grid; gap: 10px; align-content: start; }
.b-leadpost .b-post-media { margin-bottom: 8px; }
.b-leadpost .b-post-media .b-photo { aspect-ratio: 3 / 2; object-fit: cover; }
.b-leadpost-t { max-width: 22ch; }
.b-leadpost:hover .b-post-link, .b-compact-item:hover .b-post-link { text-decoration: underline; }
.b-compact { display: grid; align-content: start; border-top: 1px solid var(--iz-border); }
.b-compact-item { position: relative; display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--iz-border); }
.b-compact li:first-child .b-compact-item { padding-top: 16px; }
@media (min-width: 1024px) {
  .b-leadgrid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .b-compact { border-top: 0; }
  .b-compact li:first-child .b-compact-item { padding-top: 0; }
}

/* ---------- Light table (contact sheet + loupe) ---------- */
.b-lt { display: grid; gap: 24px; padding: 16px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-sunken); }
.b-lt-sheet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
@media (min-width: 640px) { .b-lt-sheet { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.b-lt-shot { position: relative; display: block; padding: 6px 6px 24px; border-radius: var(--iz-r-sm); background: var(--iz-surface); border: 1px solid var(--iz-border); transition: border-color var(--iz-dur) var(--iz-ease); }
.b-lt-shot .b-photo { aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; }
.b-lt-shot:hover { border-color: var(--iz-border-strong); }
.b-lt-shot.is-on { border-color: var(--iz-fg); box-shadow: inset 0 0 0 1px var(--iz-fg); }
.b-lt-n { position: absolute; left: 8px; bottom: 5px; font: 500 13px/1 var(--iz-mono); color: var(--iz-muted-fg); }
.b-loupe { display: none; margin: 0; }
@media (min-width: 1024px) {
  .b-lt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; padding: 24px; }
  .b-lt-sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .b-loupe { display: grid; gap: 14px; align-content: start; position: sticky; top: calc(var(--iz-head-h) + 24px); align-self: start; }
  .b-loupe-img { padding: 10px; background: var(--iz-surface); border: 1px solid var(--iz-border); border-radius: var(--iz-r-md); }
  .b-loupe-img .b-photo { border-radius: 0; max-height: 440px; object-fit: contain; }
}
.b-loupe-t { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.b-loupe-n { font: 500 13px/1 var(--iz-mono); color: var(--iz-muted-fg); }
.b-loupe-x { font: 400 13px/1.5 var(--iz-mono); color: var(--iz-fg); }
.b-loupe-s { font-size: 13px; color: var(--iz-muted-fg); }

/* ---------- Mini list (a working sample of the app) ---------- */
.b-mini-grid { display: grid; gap: 32px; }
.b-mini-grid .sec-head { margin-bottom: 0; }
.b-mini { display: grid; gap: 16px; padding: 16px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-sunken); }
@media (min-width: 640px) { .b-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; } }
@media (min-width: 1024px) { .b-mini-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; } }
.b-mini-col { display: grid; gap: 10px; align-content: start; padding: 14px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-surface); }
.b-mini-h { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; }
.b-mini-n { min-width: 24px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--iz-r-sm); background: var(--iz-sunken); font: 500 13px/1 var(--iz-mono); color: var(--iz-muted-fg); }
.b-mini-list { display: grid; gap: 6px; min-height: 48px; }
.b-mini-item { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-md); cursor: pointer; transition: border-color var(--iz-dur) var(--iz-ease), background-color var(--iz-dur) var(--iz-ease); }
.b-mini-item:hover { border-color: var(--iz-border-strong); }
.b-mini-item input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--iz-accent); }
.b-mini-txt { display: grid; gap: 1px; min-width: 0; }
.b-mini-name { font-weight: 500; }
.b-mini-sub { font-size: 13px; color: var(--iz-muted-fg); }
.is-got .b-mini-name { text-decoration: line-through; color: var(--iz-muted-fg); }
.is-got .b-mini-item { background: var(--iz-bg-subtle); }
.b-mini-list li.is-moved { animation: iz-in 200ms var(--iz-ease); }
.b-mini-empty { font-size: 14px; color: var(--iz-muted-fg); }

/* ---------- Reading progress ---------- */
.b-progress { position: fixed; z-index: 49; left: 0; right: 0; top: var(--iz-head-h); height: 2px; pointer-events: none; }
.b-progress span { display: block; height: 100%; background: var(--iz-accent); transform: scaleX(0); transform-origin: 0 50%; }
.b-toc-left { margin: -4px 0 14px; font: 400 13px/1.4 var(--iz-mono); color: var(--iz-muted-fg); }

/* ---------- "Which of these is you?" chooser ---------- */
.b-chooser { display: grid; gap: 12px; margin-bottom: 8px; }
.b-chooser-q { font-weight: 600; }
.b-chooser .b-filter { margin-bottom: 16px; }

/* ---------- Cost slider ---------- */
.b-calc { display: grid; gap: 24px; padding: 24px 20px; border: 1px solid var(--iz-border); border-radius: var(--iz-r-lg); background: var(--iz-surface); }
@media (min-width: 1024px) { .b-calc { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 56px; padding: 32px; align-items: start; } .b-calc-note { grid-column: 2; } }
.b-calc-input { display: grid; gap: 12px; }
.b-calc-range { display: flex; align-items: center; gap: 16px; }
.b-calc-range input { flex: 1; min-width: 0; height: 32px; accent-color: var(--iz-accent); }
.b-calc-days { flex: none; min-width: 7ch; font: 500 16px/1 var(--iz-mono); }
.b-calc-scale { display: flex; justify-content: space-between; font: 400 13px/1 var(--iz-mono); color: var(--iz-muted-fg); margin-top: -4px; }
.b-calc-list { display: grid; border-top: 1px solid var(--iz-border); }
.b-calc-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--iz-border); }
.b-calc-name { display: grid; gap: 2px; }
.b-calc-t { font-weight: 600; }
.b-calc-d { font-size: 14px; color: var(--iz-muted-fg); }
.b-calc-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--iz-sunken); overflow: hidden; }
.b-calc-bar span { display: block; height: 100%; width: var(--w); background: var(--iz-border-strong); border-radius: 3px; transition: width var(--iz-dur) var(--iz-ease); }
.b-calc-opt.is-low .b-calc-bar span { background: var(--iz-accent); }
.b-calc-cost { grid-row: 1; grid-column: 2; display: flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 4px 8px; text-align: right; }
.b-calc-cost .num { font: 600 22px/1 var(--iz-mono); letter-spacing: -0.02em; }
.b-calc-cost > span { font-size: 13px; color: var(--iz-muted-fg); }
.b-calc-cost .b-calc-low { order: -1; height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: var(--iz-r-sm); background: color-mix(in srgb, var(--iz-accent) 14%, var(--iz-surface)); color: var(--iz-fg); font-weight: 500; }
