/* The block library (/system/blocks/, 3 Nov 2026): every section of the website, rebuilt on the N system and numbered
   B01 onwards, each with its own DialKit panel (blocks.js). Each block reads its own variables with the system's values
   as fallbacks, so a dial changes that block only. Swiss grid (4, 8, 12 columns); running text capped at 30em. */

.b-blk { --pad: var(--section); --gap: var(--s5); padding-block: var(--pad); position: relative; }
.b-tag { position: absolute; top: var(--s3); left: var(--margin); right: var(--margin); display: flex; align-items: center; justify-content: flex-start; gap: var(--s2); z-index: 3; pointer-events: none; }
.b-tag > * { pointer-events: auto; }
.b-tag .x-id { margin: 0; }
.b-tag span.b-name { font-size: var(--t-s); color: var(--grey); }   /* Tune sits right after the name, on the left, so the dials in the corner never cover it */
.b-tune svg { width: calc(18 * var(--pt)); height: calc(18 * var(--pt)); }
.b-blk.is-tuning { outline: 2px solid oklch(0.62 0.15 25 / .55); outline-offset: -2px; }
.b-read { max-width: 30em; }
.b-in { display: grid; gap: var(--gap); }

/* entrance: children rise once into view (global dials: --rise, --rise-ms, --rise-stagger) */
/* quick, like a real product (4 Nov, Owen: "a lot of the animations are lagging"): sections start before they arrive, take 380ms, stagger 30ms */
.b-rise > * { opacity: 0; transform: translateY(var(--rise, calc(8 * var(--pt)))); transition: opacity var(--rise-ms, 380ms) var(--ease-arrive), transform var(--rise-ms, 380ms) var(--ease-arrive); transition-delay: calc(min(var(--i, 0), 4) * var(--rise-stagger, 30ms)); }
.b-rise.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .b-rise > * { opacity: 1; transform: none; transition: none; } }

/* B02 hero */
/* on a phone or an upright iPad the name is the page's top line: the first block starts below it, with room to breathe */
@media (width < 900px) { main > .b-blk:first-child { padding-top: calc(var(--head-y, var(--s4)) + var(--c-reg) + var(--hero-gap, var(--s8))); } }
.b-hero h1 { grid-column: 1 / -1; max-width: var(--h1w, 15em); }
.b-hero .c1 { grid-column: 1 / -1; } .b-hero .c2 { grid-column: 1 / -1; }
@media (width >= 600px) { .b-hero .c1 { grid-column: 1 / 5; } .b-hero .c2 { grid-column: 5 / 9; } }
@media (width >= 1200px) { .b-hero h1 { grid-column: 1 / 9; } .b-hero .c1 { grid-column: 1 / 5; } .b-hero .c2 { grid-column: 5 / 9; } }
.b-hero .c1, .b-hero .c2 { display: grid; gap: var(--s4); align-content: start; }

/* B03 work strip */
.b-strip { display: flex; gap: var(--tile-gap, calc(8 * var(--pt))); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); padding: 0 var(--margin); scrollbar-width: none; }
.b-strip::-webkit-scrollbar { display: none; }
.b-tile { flex: 0 0 var(--tile-w, min(78vw, calc(900 * var(--pt)))); scroll-snap-align: start; display: grid; gap: var(--s3); color: inherit; text-decoration: none; }
.b-tile .x-plate { aspect-ratio: 16 / 10; border-radius: var(--tile-r, var(--r-plate)); }
.b-tile .x-plate video, .b-tile .x-plate img { object-position: top; }
.b-tile p { font-size: var(--t-s); line-height: var(--l-s); }
.b-strip-foot { display: flex; justify-content: space-between; align-items: center; padding: var(--s4) var(--margin) 0; }

/* B04 price */
.b-price h2 { grid-column: 1 / -1; }
.b-price .p1, .b-price .p2, .b-price .p3 { grid-column: 1 / -1; display: grid; gap: var(--s4); align-content: start; }
@media (width >= 1200px) { .b-price .p1 { grid-column: 1 / 5; grid-row: 2 / span 2; } .b-price .p2 { grid-column: 6 / -1; } .b-price .p3 { grid-column: 6 / -1; } }
.b-cmp { width: 100%; border-collapse: collapse; font-size: var(--t-s); line-height: var(--l-s); }
.b-cmp th, .b-cmp td { text-align: left; padding: var(--s3) var(--s3) var(--s3) 0; font-weight: 400; vertical-align: top; text-wrap: balance; }
.b-cmp thead th { color: var(--grey); } .b-cmp td:first-child { color: var(--grey); } .b-cmp .me { color: var(--ink); font-weight: 500; }
@media (width < 600px) { .b-cmp thead { display: none; } .b-cmp, .b-cmp tbody, .b-cmp tr, .b-cmp td { display: block; } .b-cmp { display: grid; gap: var(--s1); } .b-cmp tbody { display: grid; gap: var(--s1); } .b-cmp tr { padding: var(--s4); border-radius: var(--r-item); background: var(--fill-0); } .b-cmp td { padding: var(--s1) 0; } .b-cmp td:first-child { color: var(--ink); font-weight: 500; } .b-cmp td[data-l]::before { content: attr(data-l) ": "; color: var(--grey); } }

/* B05 proof */
.b-proof .b-side { grid-column: 1 / -1; display: grid; gap: var(--s2); align-content: start; }
.b-proof .b-main { grid-column: 1 / -1; display: grid; gap: var(--s6); }
@media (width >= 1200px) { .b-proof .b-side { grid-column: 1 / 4; position: sticky; top: var(--s9); align-self: start; } .b-proof .b-main { grid-column: 4 / -1; } }
.b-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--gutter); }
@media (width >= 600px) { .b-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.b-num { display: grid; gap: var(--s1); }
.b-num .b-v { font-size: var(--num-size, var(--t-d)); line-height: 1; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* B06 lines that brighten */
.b-lines { grid-column: 1 / -1; display: grid; gap: var(--s5); }
@media (width >= 1200px) { .b-lines { grid-column: 3 / 11; } }
.b-lines p { font-size: var(--t-t); line-height: var(--l-t); letter-spacing: -0.012em; max-width: 26em; text-wrap: balance; color: var(--grey); transition: color var(--lit-ms, 280ms) var(--ease-respond); }   /* unlit lines are the readable grey (4.5:1), not faded ink */
.b-lines p.on { color: var(--ink); }

/* B07 closing band */
.b-close .b-t { grid-column: 1 / -1; display: grid; gap: var(--s3); }
.b-close .b-a { grid-column: 1 / -1; display: grid; gap: var(--s3); justify-items: start; align-content: end; }
@media (width >= 1200px) { .b-close .b-t { grid-column: 1 / 8; } .b-close .b-a { grid-column: 9 / -1; justify-items: end; } }

/* B08 footer */
.b-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3) var(--s5); font-size: var(--t-s); color: var(--grey); }
.b-foot nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.b-foot a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--ink) 25%, transparent); text-underline-offset: 3px; }

/* B09 plans */
.b-plans .b-plan { grid-column: 1 / -1; display: grid; gap: var(--s5); align-content: start; }
@media (width >= 600px) { .b-plans .b-plan { grid-column: span 4; } }
@media (width >= 1200px) { .b-plans .b-plan { grid-column: span 6; } }
@media (width >= 1200px) { .b-plans .b-in:has(> .b-plan ~ .b-plan ~ .b-plan) > .b-plan { grid-column: span 4; } }   /* three plans share the row in thirds, so one promise reads in three sizes (16 Nov) */
.b-plans .x-card { min-height: var(--card-h, calc(320 * var(--pt))); align-content: space-between; border-radius: var(--card-r, var(--r-plate)); padding: var(--card-pad, var(--s5)); }
.b-plans .x-card > div:first-child { display: grid; gap: var(--s2); }   /* a plan's head: its name, its line and its price, close together (16 Nov: a rule for what was an inline style). A card with no button of its own puts its price at the foot, where the button would be */
@media (width < 600px) { .b-plans .x-card:not(:has(.x-btn)) { min-height: 0; } }   /* on a phone a card with no button of its own is as tall as its words, so three plans don't fill three screens (16 Nov) */
.b-plans .b-audit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; padding: var(--s5); border-radius: var(--r-plate); background: color-mix(in oklab, var(--ink) 4%, transparent); }

/* B10 questions */
.b-faq .b-k { grid-column: 1 / -1; } .b-faq .b-v { grid-column: 1 / -1; }
@media (width >= 1200px) { .b-faq .b-k { grid-column: 1 / 5; } .b-faq .b-v { grid-column: 5 / -1; } }

/* B11, B12 the case study */
.b-case-top > * { grid-column: 1 / -1; }
.b-case-top h1 { margin-top: var(--s2); }
.b-tags { display: flex; flex-wrap: wrap; gap: var(--s2); }
.b-tags span { padding: var(--s1) var(--s3); border-radius: var(--r-pill); background: color-mix(in oklab, var(--ink) 6%, transparent); font-size: var(--t-s); }
.b-case .b-side { grid-column: 1 / -1; display: grid; gap: var(--s4); align-content: start; }
.b-case .b-body { grid-column: 1 / -1; display: grid; gap: var(--s7); }
@media (width >= 1200px) { .b-case .b-side { grid-column: 1 / 4; position: sticky; top: var(--s9); align-self: start; } .b-case .b-body { grid-column: 4 / -1; } }
.b-facts { display: grid; gap: var(--s3); }
.b-facts div { display: grid; gap: calc(2 * var(--pt)); }
.b-facts dt { font-size: var(--t-s); color: var(--grey); } .b-facts dd { margin: 0; }
.b-ch { display: grid; gap: var(--s3); }
.b-ch .h { font-size: var(--t-s); color: var(--grey); }
.b-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.b-phone { aspect-ratio: 4 / 5; border-radius: var(--r-plate); background: color-mix(in oklab, var(--ink) 5%, transparent); display: grid; justify-items: center; overflow: hidden; }
.b-phone img { width: 58%; margin-top: 14%; border-radius: var(--r-field); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .3); }
.b-quote { padding: var(--s6); border-radius: var(--r-plate); background: color-mix(in oklab, var(--ink) 4%, transparent); display: grid; gap: var(--s3); }

/* B13 more work */
.b-more .b-k { grid-column: 1 / -1; }
.b-more a { grid-column: 1 / -1; display: grid; gap: var(--s3); color: inherit; text-decoration: none; }
@media (width >= 600px) { .b-more a { grid-column: span 4; } }
@media (width >= 1200px) { .b-more a { grid-column: span 6; } }
.b-more .x-plate { aspect-ratio: 16 / 10; }

/* B14 letter */
.b-letter .b-photo { grid-column: 1 / -1; }
.b-letter .b-photo img { width: calc(160 * var(--pt)); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-plate); }
.b-letter .b-text { grid-column: 1 / -1; display: grid; gap: var(--s4); }
@media (width >= 1200px) { .b-letter .b-photo { grid-column: 1 / 4; } .b-letter .b-text { grid-column: 4 / 10; } }

/* B15 approach figure and three columns */
.b-fig { grid-column: 1 / -1; display: grid; justify-items: center; gap: var(--s3); }
.b-fig svg { width: min(100%, calc(640 * var(--pt))); height: auto; color: var(--ink); overflow: visible; }
.b-fig svg .ring { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--ring-ms, 1400ms) var(--ease-travel); transition-delay: calc(var(--k) * var(--ring-stagger, 160ms)); }
.b-fig.in svg .ring { stroke-dashoffset: 0; }
.b-fig svg text { font-family: var(--sans); font-size: 13px; fill: currentColor; }
.b-fig svg .g { fill: var(--grey); }
.b-three { grid-column: 1 / -1; display: grid; gap: var(--s5); }
@media (width >= 600px) { .b-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.b-three > div { display: grid; gap: var(--s2); align-content: start; }

/* phone fixes (3 Nov): the strip's arrows stay in a row; the figure keeps its five names readable and drops the grey lines, which the three columns below say */
.b-strip-foot .x-stage-row { flex-wrap: nowrap; }
.b-strip-foot { gap: var(--s4); }
@media (width < 600px) { .b-fig svg text { font-size: 24px; } .b-fig svg text.g { display: none; } }

/* B16 a closer look (after Apple's product pages): pills that grow into cards in place, the rest of the list making
   room, the picture beside them changing to match. One surface per item, so the pill IS the card; its words are laid
   out at the card's final width from the start, so nothing reflows while it grows. Dials: --look-ms, --text-delay,
   --text-ms, --text-rise, --media-ms. */
.b-look-blk { --look-ms: 480ms; --text-delay: 180ms; --text-ms: 420ms; --text-rise: 20px; --media-ms: 500ms; --look-ease: cubic-bezier(0.4, 0, 0.2, 1); }
.b-look { display: grid; gap: var(--s6); }
.b-look-side { position: relative; display: grid; grid-template-columns: calc(44 * var(--pt)) minmax(0, 1fr); column-gap: var(--s3); align-content: start; }
.b-look-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; order: -1; }
.b-look-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity var(--media-ms) var(--look-ease); }
.b-look-media img.on { opacity: 1; }
@media (width >= 900px) { .b-look { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } .b-look-media { order: 0; } }
.b-look-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); justify-items: start; }
.b-look-item { --surface: var(--x-tint); position: relative; background: var(--surface); border-radius: calc(var(--c-lg) / 2); overflow: hidden; max-width: 100%; }
.b-look-pill { display: inline-flex; align-items: center; gap: var(--s3); height: var(--c-lg); padding: 0 var(--s5) 0 var(--s3); border: 0; background: none; color: inherit; font: inherit; font-size: var(--t-b); font-weight: 500; cursor: pointer; white-space: nowrap; }
.b-look-plus { display: inline-grid; place-items: center; width: calc(26 * var(--pt)); height: calc(26 * var(--pt)); border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.b-look-plus svg { width: calc(16 * var(--pt)); height: calc(16 * var(--pt)); }
.b-look-card { display: none; padding: var(--s5); cursor: pointer; outline: none; }
.b-look-text { width: var(--look-text-w, auto); margin: 0; font-size: var(--t-b); line-height: var(--l-b); color: var(--ink); }
.b-look-item.is-open { width: 100%; }
.b-look-item.is-open .b-look-pill { display: none; }
.b-look-item.is-open .b-look-card { display: block; }
.b-look-card:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); border-radius: inherit; }
.b-look-pill:hover, .b-look-card:hover { background: color-mix(in oklab, var(--ink) 4%, transparent); }
/* the two steps sit level with the open card and only appear while one is open */
.b-look-steps { grid-column: 1; grid-row: 1; display: grid; gap: var(--s2); align-self: start; opacity: 0; pointer-events: none; translate: 0 var(--steps-y, 0px);
  transition: opacity 200ms var(--look-ease), translate var(--look-ms) var(--look-ease); }
.b-look-blk .b-look.is-open .b-look-steps { opacity: 1; pointer-events: auto; }
.b-look-list { grid-column: 2; grid-row: 1; }
@media (prefers-reduced-motion: reduce) { .b-look-media img, .b-look-steps { transition: none; } }

/* a film's pause/play control: an icon with a tooltip, bottom right of its plate (WCAG 2.2.2: moving content can be paused) */
.x-plate { position: relative; }
.b-film-btn { position: absolute; right: var(--s3); bottom: var(--s3); z-index: 2; background: var(--btn-on-media) !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.b-film-btn svg { width: calc(16 * var(--pt)); height: calc(16 * var(--pt)); }
.b-film-btn .i-play { display: none; } .b-film-btn[aria-pressed="true"] .i-play { display: block; } .b-film-btn[aria-pressed="true"] .i-pause { display: none; }
.b-tile { position: relative; }
.b-tile-link { color: inherit; text-decoration: none; }
.b-tile-link::after { content: none; }   /* 4 Nov: the film opens the viewer; the name is the link */
.b-tile .b-open { position: relative; z-index: 2; }
.b-tile-link:focus-visible { outline: none; } .b-tile-link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- the blocks in D (3 Nov): their parts follow the same rules as everything else (N-SYSTEM.md 9e) ---------- */
/* plan cards and the Audit: the card's corner is its pill's half-height plus the padding (26 + 22 = 48) */
.b-plans .x-card { border-radius: var(--card-r, var(--r-card-lg)); padding: var(--card-pad, var(--i-card-lg)); }   /* radius and inset together; the lab tunes them as a pair */
.b-plans .b-audit { border-radius: var(--r-card-lg); padding: var(--i-card) var(--i-card-lg); background: var(--fill-1); }   /* a band: the corner sits at its ends, so the sides take the full inset */
@supports (corner-shape: superellipse(var(--sq, 1.8))) { .b-audit { corner-shape: superellipse(var(--sq, 1.8)); } }
/* the case study's chapters: a D section, the chapter you're on is the one with the fill */
.b-case .b-side .x-group .x-row[aria-current] { background: var(--fill-2); font-weight: 500; }
/* the closer look: the card keeps the pill's own corner, so the pill grows into it without the corner changing */
.b-look-item { border-radius: calc(var(--c-lg) / 2); background: var(--fill-1); }
.b-look-pill:hover { background: var(--fill-1); }
.b-look-card { padding: calc(16 * var(--pt)) calc(20 * var(--pt)); }
/* the work strip: its arrows are the system's icon buttons; the film button sits concentric in its plate's corner */
.b-film-btn { right: calc(var(--i-plate) + 12 * var(--pt)); bottom: calc(var(--i-plate) + 12 * var(--pt)); }   /* inside the picture, not on the mat */
/* the comparison: the "Working with me" column is a section, top to bottom */
.b-cmp { border-collapse: separate; border-spacing: 0; }
.b-cmp .me { background: var(--fill-1); }
.b-cmp thead .me { border-top-left-radius: var(--r-item); border-top-right-radius: var(--r-item); }
.b-cmp tbody tr:last-child .me { border-bottom-left-radius: var(--r-item); border-bottom-right-radius: var(--r-item); }
.b-cmp th, .b-cmp td { padding-left: calc(12 * var(--pt)); }
/* tags are filled capsules */
.b-tags span { background: var(--fill-1); padding: calc(5 * var(--pt)) calc(12 * var(--pt)); }

/* ---------- the site's own sections (3 Nov: the website rebuilt on the system, tools/build-site.py) ---------- */
.b-acts { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
@media (width < 900px) { .b-hero .b-acts { display: none; } }   /* the bar is the page's two options: the hero doesn't repeat them (Owen 5 Nov) */
.b-strip-foot .b-acts { flex-wrap: nowrap; }
.b-close .b-a .b-acts { justify-content: inherit; }
@media (width >= 1200px) { .b-close .b-a .b-acts { justify-content: flex-end; } }
.b-hero .x-cap-dot { margin-right: var(--s2); }
.b-go { color: var(--grey); white-space: nowrap; }
/* a page's top: its title, a grey second half, and a lead */
.b-top h1 { grid-column: 1 / -1; max-width: 17em; }
.b-top > .b-in > p { grid-column: 1 / -1; }
@media (width >= 1200px) { .b-top h1 { grid-column: 1 / 10; } .b-top > .b-in > p { grid-column: 1 / 7; } }
.b-top + .b-blk { padding-top: 0; }
/* a plan's list: short lines, close together */
.b-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.b-list li { font-size: var(--t-s); line-height: var(--l-s); }
/* what's in the Sprint, beside how it compares */
.b-detail .p2, .b-detail .p3 { grid-column: 1 / -1; display: grid; gap: var(--s4); align-content: start; }
@media (width >= 1200px) { .b-detail .p2 { grid-column: 1 / 6; } .b-detail .p3 { grid-column: 7 / -1; } }
/* work done this way: the line, then two pieces */
.b-bought .b-k { grid-column: 1 / -1; display: grid; gap: var(--s3); align-content: start; }
.b-bought .b-v { grid-column: 1 / -1; display: grid; gap: var(--gutter); }
@media (width >= 600px) { .b-bought .b-v { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width >= 1200px) { .b-bought .b-k { grid-column: 1 / 5; } .b-bought .b-v { grid-column: 5 / -1; } }
.b-mini { display: grid; gap: var(--s3); color: inherit; text-decoration: none; align-content: start; }
.b-mini .x-plate { aspect-ratio: 16 / 10; }
.b-mini .x-plate img { object-position: top; }
.b-mini:hover .x-strong { text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
.b-more .b-mini { grid-column: 1 / -1; }
@media (width >= 600px) { .b-more .b-mini { grid-column: span 4; } }
@media (width >= 1200px) { .b-more .b-mini { grid-column: span 6; } }
/* a figure: the plate, then its number and caption */
.b-figc { margin: 0; display: grid; gap: var(--s3); }
.b-figc .x-plate { aspect-ratio: 16 / 10; }
.b-figc .x-plate img { object-position: top; }
.b-figc figcaption { display: flex; gap: var(--s3); font-size: var(--t-s); line-height: var(--l-s); color: var(--grey); }
.b-figc figcaption span:first-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.b-metric { display: grid; gap: var(--s1); }
.b-lines-go { grid-column: 1 / -1; }
@media (width >= 1200px) { .b-lines-go { grid-column: 3 / 11; } }
/* the book page: the ways to start beside the form */
.b-book .b-l { grid-column: 1 / -1; display: grid; gap: var(--s6); align-content: start; }
.b-book .b-r { grid-column: 1 / -1; display: grid; gap: var(--s5); align-content: start; padding: var(--i-book); border-radius: var(--r-book); background: var(--raised); box-shadow: var(--rim-light), var(--lift-2); }
.b-book .b-st { display: grid; gap: var(--s2); }
@media (width >= 1200px) { .b-book .b-l { grid-column: 1 / 5; } .b-book .b-r { grid-column: 6 / -1; } }
@media (width >= 600px) and (width < 1200px) { .b-book .b-r { grid-column: 1 / -1; } }

/* About: the five parts as a plain list (4 Nov: the rainbow figure is gone) */
.b-parts-h { grid-column: 1 / -1; }
.b-parts-list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.b-parts-list .x-row { display: grid; grid-template-columns: calc(40 * var(--pt)) 1fr; align-items: baseline; gap: var(--s3); cursor: default; }
.b-pn { font-size: var(--t-s); color: var(--grey); font-variant-numeric: tabular-nums; }
@media (width >= 1200px) { .b-parts-h { grid-column: 1 / 5; } .b-parts-list { grid-column: 6 / -1; } }

/* the work strip: a film opens large (4 Nov) */
.b-open { cursor: zoom-in; }
.x-viewer-track video { max-width: 100%; max-height: calc(100dvh - 12rem); border-radius: var(--r-plate); box-shadow: 0 20px 60px -20px rgb(0 0 0 / .6); background: #000; }
.x-viewer-track figcaption { max-width: calc(560 * var(--pt)); text-align: center; text-wrap: balance; }
.x-viewer-track figcaption b { color: #f2f1ee; font-weight: 500; }
.x-viewer-track figcaption .x-link { color: #f2f1ee; white-space: nowrap; }

/* the case: three results under the headline (4 Nov) */
.b-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); padding-block: var(--s5); }
.b-results .b-num { display: grid; gap: var(--s2); align-content: start; }
.b-results .b-v { font-size: var(--t-d); line-height: var(--l-d); letter-spacing: -0.02em; }
@media (width < 600px) { .b-results { grid-template-columns: 1fr; gap: var(--s5); } }

/* the Sprint, taken apart (4 Nov): one card, four layers, a button lifts them apart */
.b-anat { position: relative; display: grid; gap: var(--s4); padding: var(--i-card); border-radius: var(--r-card); background: var(--fill-0); }
.b-anat-stage { overflow: clip; overflow-clip-margin: var(--i-card); }
.b-anat-stage { perspective: calc(1800 * var(--pt)); display: grid; place-items: center; height: calc(440 * var(--pt)); }
.b-anat-stack { position: relative; width: min(100%, calc(340 * var(--pt))); height: calc(300 * var(--pt)); transition: transform 480ms var(--ease-respond); }
.b-anat.apart .b-anat-stack, .b-anat.is-moving .b-anat-stack { transform-style: preserve-3d; }   /* 3D only while it's apart or moving: at rest it's a flat card, cheap to blur behind the menu (4 Nov) */
.b-anat.apart .b-anat-stack { transform: translateY(calc(96 * var(--pt))) rotateX(56deg) rotateZ(-32deg) scale(.6); }
.b-anat-l { position: absolute; inset: 0; border-radius: var(--r-card-lg); transition: transform 480ms var(--ease-respond), opacity 240ms var(--ease-respond); }
.b-anat-l:not([data-l="finish"]) { opacity: 0; visibility: hidden; }
.b-anat.apart .b-anat-l, .b-anat.is-moving .b-anat-l { visibility: visible; }
.b-anat.apart .b-anat-l { opacity: 1; transform: translateZ(calc(var(--k) * 78 * var(--pt))); transition-delay: calc(var(--k) * 24ms); }
.b-anat-card { position: absolute; inset: 0; min-height: 0 !important; padding: var(--i-card-lg); display: grid; align-content: space-between; box-shadow: var(--lift-2); }
.b-anat-card .x-title { font-size: var(--t-h); line-height: var(--l-h); }
.b-anat-grid { position: absolute; inset: 0; border-radius: inherit; background-color: var(--paper); background-image: linear-gradient(to right, rgb(236 72 153 / .22) 1px, transparent 1px), linear-gradient(to bottom, rgb(236 72 153 / .22) 1px, transparent 1px); background-size: calc(8 * var(--pt)) calc(8 * var(--pt)); outline: 1px dashed rgb(236 72 153 / .6); }
.b-anat-inset { position: absolute; inset: 0; border-radius: inherit; border: var(--i-card-lg) solid rgb(236 72 153 / .16); background: color-mix(in oklab, var(--paper) 70%, transparent); outline: 1px dashed rgb(236 72 153 / .7); }
.b-anat-inset span, .b-anat-box span { position: absolute; font: 500 calc(10 * var(--pt)) / 1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #fff; background: rgb(236 72 153); padding: 3px 5px; border-radius: 3px; white-space: nowrap; }
.b-anat-inset span { left: calc(-1 * var(--i-card-lg)); top: calc(-1 * var(--i-card-lg) - 18px); }
.b-anat-parts { position: absolute; inset: var(--i-card-lg); }
.b-anat-box { position: absolute; left: 0; top: calc(var(--t) * var(--pt) * .9); height: calc(var(--h) * var(--pt) * .9); width: calc(var(--w) * 1%); outline: 1.5px solid rgb(59 130 246 / .8); background: rgb(59 130 246 / .08); border-radius: 4px; }
.b-anat-box span { background: rgb(59 130 246); right: 0; top: -16px; }
.b-anat-key { position: absolute; left: var(--i-card); bottom: var(--i-card); list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s1); font-size: var(--t-s); line-height: var(--l-s); opacity: 0; pointer-events: none; transition: opacity 200ms; }
.b-anat.apart .b-anat-key { opacity: 1; transition-delay: 120ms; }
.b-anat-key b { font-weight: 500; }
.b-anat-btn { position: absolute; right: var(--s3); top: var(--s3); }
.b-anat-btn .i-together { display: none; } .b-anat-btn[aria-pressed="true"] .i-apart { display: none; } .b-anat-btn[aria-pressed="true"] .i-together { display: block; }
.b-price .p2 { display: grid; gap: var(--s5); align-content: start; }
@media (prefers-reduced-motion: reduce) { .b-anat *, .b-anat { transition: none !important; } }

/* the details wall (4 Nov, after Tiny UI): drag with a mouse, scroll natively anywhere else; tap a piece to open it */
.b-wall-blk { padding: 0; }
.b-wall { height: min(78vh, calc(760 * var(--pt))); overflow: auto; scrollbar-width: none; background: var(--canvas); cursor: grab; outline: none; overscroll-behavior: contain; }
.b-wall::-webkit-scrollbar { display: none; }
.b-wall.is-drag { cursor: grabbing; } .b-wall.is-drag * { pointer-events: none; }
.b-wall-in { width: max(160vw, calc(2000 * var(--pt))); columns: 6; column-gap: var(--s4); padding: var(--s6); }
.b-dt { break-inside: avoid; display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.b-dt-mat { display: grid; place-items: center; width: 100%; border: 0; padding: var(--i-card); border-radius: var(--r-card); background: var(--mat, var(--raised)); cursor: zoom-in; box-shadow: var(--lift-2); }
.b-dt-mat img { width: 100%; height: auto; display: block; border-radius: calc(var(--r-card) - var(--i-card) + 6 * var(--pt)); box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.b-dt.live .b-dt-mat { cursor: default; background: var(--raised); justify-items: start; }
.b-dt p { padding-inline: var(--s2); }
@media (width < 600px) { .b-wall-in { width: 340vw; columns: 5; padding: var(--s5); } }

/* the changelog (4 Nov) */
.b-changes .b-ch-v { grid-column: 1 / -1; display: grid; gap: var(--s3); max-width: calc(680 * var(--pt)); padding-block: var(--s5); }
.b-coins { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); width: 100%; } .b-coins img { width: 100%; height: auto; display: block; }
/* the proof is its numbers (4 Nov): set large, no screenshot of the site */
.b-nums-lg .b-v { font-size: var(--t-d); line-height: var(--l-d); letter-spacing: -0.02em; }

/* the hero (4 Nov, "just roll it out"). A: the Sprint as the product, in the empty third. B (?hero=b): the work drifting behind the line */
.b-hero .c3 { grid-column: 1 / -1; display: grid; gap: var(--s3); align-content: start; }
@media (width >= 1200px) { .b-hero .c3 { grid-column: 9 / -1; grid-row: 2; align-self: start; margin-top: calc(-1 * var(--s8)); } }
.b-anat-hero { background: var(--fill-0); }
.b-anat-hero .b-anat-stage { height: calc(470 * var(--pt)); }
.b-spec { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; }
.b-spec > span { display: inline-flex; align-items: center; height: calc(32 * var(--pt)); padding: 0 var(--s3); border-radius: var(--r-pill); background: var(--btn-quiet); font-size: var(--t-s); line-height: 1; white-space: nowrap; }
.b-spec .x-cap-dot { margin-right: var(--s2); }
.b-hero { position: relative; isolation: isolate; }
.b-hero-b { display: none; }
html[data-hero="b"] .b-hero-a { display: none; }
html[data-hero="b"] .b-hero-b { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s4); position: absolute; inset: calc(-1 * var(--s9)) 0 0 64%; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(to right, transparent, #000 22%), linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(to right, transparent, #000 22%) intersect, linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent); }
html[data-hero="b"] .b-hero-b { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-hw-col { display: grid; gap: var(--s4); align-content: start; animation: b-hw 90s linear infinite; animation-delay: calc(var(--c) * -17s); will-change: transform; }
.b-hw-col:nth-child(even) { animation-direction: reverse; }
.b-hw-col img { width: 100%; height: auto; border-radius: var(--r-field); box-shadow: var(--lift-2); }
@keyframes b-hw { to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { .b-hw-col { animation: none; } }
@media (width < 1200px) { html[data-hero="b"] .b-hero-b { position: relative; inset: auto; grid-column: 1 / -1; height: calc(260 * var(--pt)); z-index: 0; -webkit-mask: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent); mask: linear-gradient(to bottom, transparent, #000 20%, #000 75%, transparent); } }

/* hero options (6 Nov): the lab's Hero switch sets data-hv. Each is one thing on the first screen, sized to that screen, on any phone.
   The first screen fills what's left between the name and the bar; the longer words follow it. */
.b-hv-lead, .b-hv-acts, .b-hv-stage, .b-hero br { display: none; }
.b-hv-first { display: contents; }
html[data-hv]:not([data-hv="now"]) {
  --hero-gap: var(--s5); --hv-bar: calc(60 * var(--pt) + var(--s2) * 2 + var(--s6) + env(safe-area-inset-bottom, 0px));   /* the bar and the soft edge above it */
  & .b-hv-first { grid-column: 1 / -1; display: flex; flex-direction: column; gap: var(--s4); max-width: 100%;
    min-height: calc(100svh - var(--head-y, var(--s4)) - var(--c-reg) - var(--hero-gap) - var(--hv-bar)); }
  & .b-hv-first h1 { max-width: none; }
  & .c2 .b-acts { display: none; }
  & .c1 { margin-top: var(--s7); }
  & .b-hv-stage { flex: 1 1 0; min-height: calc(220 * var(--pt)); position: relative; }
}
html:is([data-hv="line"], [data-hv="film"]) { & .b-hv-lead { display: block; } & .c1 p:first-child { display: none; } }
html[data-hv="film"] { & .b-hv-film { display: block; order: -1; } & .b-hv-film .x-plate { position: absolute; inset: 0; } & .b-hv-film video { object-position: left top; } & .b-strip .b-tile:first-child { display: none; } }
html[data-hv="wall"] .b-hv-wall { display: block; }
html[data-hv="apart"] .b-hv-apart { display: block; }
html[data-hv="snap"] .b-hv-snap { display: block; }

/* Line: the sentence alone, as large as the screen lets it be, resting just above the thumb */
html[data-hv="line"] { & .b-hv-first { justify-content: flex-end; } & .b-hv-first h1 { font-size: min(14.6vw, 9svh); line-height: 1.04; letter-spacing: -0.03em; text-wrap: wrap; } & .b-br-n { display: inline; } }
@media (width >= 600px) { html[data-hv="line"] { & .b-hv-first h1 { font-size: min(9.6vw, 12svh); } & .b-br-n { display: none; } & .b-br-w { display: inline; } } }

/* Wall: the published work drifting under the line, off the edges and on under the bar */
html[data-hv="wall"]:not([data-hv="now"]) {
  & .b-hv-wall { margin-inline: calc(-1 * var(--margin)); margin-bottom: calc(-1 * var(--hv-bar)); overflow: hidden; }
  & .b-hero-b { display: grid; position: absolute; inset: 0; height: auto; z-index: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); padding-inline: var(--s3); overflow: hidden; pointer-events: none;
    -webkit-mask: linear-gradient(to bottom, transparent, #000 var(--s6)); mask: linear-gradient(to bottom, transparent, #000 var(--s6)); }
  & .b-hw-col { gap: var(--s3); }
  & .b-hw-col:nth-child(n + 4) { display: none; }
  & .c1 { margin-top: calc(var(--s7) + var(--hv-bar)); }
}

/* Apart: the Sprint card with its one button, sized to what's left */
html[data-hv="apart"] {
  & .b-hv-apart .b-anat { position: absolute; inset: 0; padding: var(--s4); grid-template-rows: minmax(0, 1fr); }
  & .b-anat-hero .b-anat-stage { height: 100%; overflow: visible; }
  & .b-anat-btn { position: absolute; right: var(--s3); top: auto; bottom: var(--s3); }
  & .b-anat-stack { width: min(100%, calc(300 * var(--pt))); height: min(100%, calc(230 * var(--pt))); }
  & .b-anat.apart .b-anat-stack { transform: translateY(calc(30 * var(--pt))) rotateX(56deg) rotateZ(-32deg) scale(.5); }
  & .b-anat.apart .b-anat-l { transform: translateZ(calc(var(--k) * 56 * var(--pt))); }
  & .b-anat-key { font-size: calc(12 * var(--pt)); line-height: calc(16 * var(--pt)); gap: 0; }
  & .b-anat-card { padding: var(--i-card); } & .b-anat-card .x-btn { display: none; }
  & .b-anat-key { left: var(--s4); bottom: var(--s4); }
}

/* Snap: a page gone off brand. One press and every part lands on the system */
.b-snap { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-card); background: var(--fill-0); color: var(--ink); font: inherit; cursor: pointer; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.b-snap-page { position: absolute; left: 50%; top: 50%; translate: -50% -50%; height: 76%; aspect-ratio: 4 / 5; max-width: 80%; container-type: size; }
.b-snap-page i { --ease-snap: cubic-bezier(.3, 1.45, .5, 1); position: absolute; display: block; font-style: normal; transition: transform 520ms var(--ease-snap), background-color 280ms var(--ease-respond), color 280ms var(--ease-respond), border-radius 360ms var(--ease-respond), box-shadow 280ms var(--ease-respond); transition-delay: calc(var(--k, 0) * 36ms); }
.b-snap .p-bg { inset: 0; border-radius: 3cqw; background: oklch(0.90 0.05 95); transform: rotate(-5deg) translate(-3cqw, 2cqh); }
.b-snap .p-pic { --k: 1; left: 8cqw; top: 8cqw; width: 84cqw; height: 44cqh; border-radius: 50cqw; background: oklch(0.70 0.15 160); transform: rotate(9deg) translate(10cqw, -5cqh) scale(.82); }
.b-snap .p-aa { --k: 2; left: 8cqw; top: 54cqh; font: italic 400 19cqh / 1 ui-serif, Georgia, serif; color: oklch(0.55 0.21 350); transform: rotate(-13deg) translate(16cqw, 5cqh); transition-property: transform, color; }
.b-snap .p-l1, .b-snap .p-l2 { left: 8cqw; height: 3.2cqh; border-radius: 0; }
.b-snap .p-l1 { --k: 3; top: 78cqh; width: 58cqw; background: oklch(0.72 0.15 250); transform: rotate(6deg) translate(26cqw, -8cqh); }
.b-snap .p-l2 { --k: 4; top: 85cqh; width: 40cqw; background: oklch(0.80 0.15 85); transform: rotate(-8deg) translate(-12cqw, 7cqh); }
.b-snap .p-pill { --k: 5; right: 8cqw; bottom: 6.4cqw; width: 30cqw; height: 15cqw; border-radius: 1cqw; background: oklch(0.60 0.20 28); transform: rotate(16deg) translate(-4cqw, 4cqh); }
.b-snap[aria-pressed="true"] { & i { transform: none; } & .p-bg { border-radius: 7cqw; background: var(--raised); box-shadow: var(--rim-light), var(--lift-3); }
  & .p-pic { border-radius: 4cqw; background: var(--fill-1); } & .p-aa { font: 500 19cqh / 1 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
  & .p-l1, & .p-l2 { background: var(--fill-2); border-radius: var(--r-pill); } & .p-pill { border-radius: var(--r-pill); background: var(--ink); } }
.b-snap-ic { position: absolute; right: var(--s3); bottom: var(--s3); background: var(--btn-float); box-shadow: var(--rim); }
.b-snap-ic svg { width: calc(20 * var(--pt)); height: calc(20 * var(--pt)); }
.b-snap-ic .i-apart, .b-snap[aria-pressed="true"] .i-together { display: none; } .b-snap[aria-pressed="true"] .i-apart { display: block; }
@media (prefers-reduced-motion: reduce) { .b-snap-page i { transition: none; } }

@media (width >= 600px) { html[data-hv="apart"] { & .b-anat-stack { width: min(100%, calc(420 * var(--pt))); height: min(100%, calc(320 * var(--pt))); } & .b-anat-card { padding: var(--i-card-lg); } & .b-anat-card .x-title { font-size: var(--t-t); line-height: var(--l-t); } } }
@media (width >= 600px) { html[data-hv]:not([data-hv="now"]) .c2 { margin-top: var(--s7); } html[data-hv="wall"]:not([data-hv="now"]) .c2 { margin-top: calc(var(--s7) + var(--hv-bar)); } }
@media (width >= 600px) { html:is([data-hv="wall"], [data-hv="apart"], [data-hv="snap"]) { & .b-hv-lead { display: block; } & .c1 p:first-child { display: none; } } }
@media (width >= 900px) {
  html[data-hv]:not([data-hv="now"]) {
    & .b-hv-first { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto auto; gap: var(--s4) var(--s7); min-height: calc(100svh - 2 * var(--pad)); }
    & .b-hv-first h1 { grid-column: 1; grid-row: 1; align-self: end; }
    & .b-hv-lead { grid-column: 1; grid-row: 2; } & .b-hv-acts { display: flex; grid-column: 1; grid-row: 3; }
    & .b-hv-stage { grid-column: 2; grid-row: 1 / -1; margin: 0; min-height: 0; }
  }
  html[data-hv="line"]:not([data-hv="now"]) { & .b-hv-first { grid-template-columns: minmax(0, 1fr); } & .b-hv-first h1 { font-size: min(8.6vw, 17svh); } & .b-hv-lead { max-width: 40em; } }
  html[data-hv="wall"]:not([data-hv="now"]) { & .b-hv-wall { margin-inline: 0 calc(-1 * var(--margin)); margin-block: calc(-1 * var(--pad)); } & .b-hero-b { grid-template-columns: repeat(3, minmax(0, 1fr)); -webkit-mask: linear-gradient(to right, transparent, #000 var(--s7)); mask: linear-gradient(to right, transparent, #000 var(--s7)); } & .c1, & .c2 { margin-top: calc(var(--pad) + var(--s7)); } }
}

/* ---------- one focus a frame (16 Nov, the studio line's frames: n-line-site/frames/) ---------- */
/* the hero: the loss is the headline's own second line, set as a title, so the first screen says one thing */
.b-hero .b-hero-sub { grid-column: 1 / -1; max-width: 22em; }
@media (width >= 1200px) { .b-hero .b-hero-sub { grid-column: 1 / 9; } .b-hero:has(.b-hero-sub) .c3 { grid-row: 2 / span 2; } .b-hero:has(.b-hero-sub) > .b-in { grid-template-rows: auto auto 1fr; } }   /* the object's height goes to the last row, so the words keep their own spacing */
/* trust: one client's words are the one thing; who they are above, why it matters and the case study below */
.b-trust-in { grid-column: 1 / -1; display: grid; gap: var(--s7); }
@media (width >= 1200px) { .b-trust-in { grid-column: 3 / 11; } }
.b-trust-in > div { display: grid; gap: var(--s3); align-content: start; }
.b-trust-in blockquote { margin: 0; }
.b-trust-in .x-rows { max-width: calc(360 * var(--pt)); }   /* a lone link row keeps a row's width, not the column's */
/* one promise in three sizes: a switch picks the size and one card shows it. The three cards share one place, so
   the page never moves (N-SYSTEM.md 9c); the card crossfades on the panel timing */
.b-sizes-in { grid-column: 1 / -1; display: grid; gap: var(--s5); justify-items: start; }
@media (width >= 1200px) { .b-sizes-in { grid-column: 3 / 11; } }
.b-sizes-box { display: grid; width: 100%; }
.b-sizes .b-sizes-box > .b-plan { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity var(--dur-panel-out) var(--ease-settle), visibility 0s linear var(--dur-panel-out); }
.b-sizes .b-sizes-box > .b-plan.on { opacity: 1; visibility: visible; transition: opacity var(--dur-panel) var(--ease-settle), visibility 0s; }
.b-sizes .x-card { grid-template-areas: "head" "price" "more"; align-content: start; }
.b-sizes .x-card > :first-child { grid-area: head; }
.b-sizes .x-card > .x-title { grid-area: price; }
.b-sizes-more { grid-area: more; display: grid; gap: var(--s4); align-content: start; }
@media (width >= 600px) { .b-sizes .x-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head more" "price more"; column-gap: var(--s7); align-content: space-between; } .b-sizes .x-card > .x-title { align-self: end; } }

/* ---------- the hero, again (17 Nov: "still dont like this hero section") ---------- */
/* the words in one column of five things; one thing beside them at most. html[data-take] picks the take */
.b-hero-n .b-hn-words { grid-column: 1 / -1; display: grid; gap: var(--s5); align-content: start; }
.b-hero-n .b-hn-words > * { grid-column: 1 / -1; }   /* the older hero rules place h1 and its line on the page grid; inside the words' own column they stay one column */
.b-hero-n .b-hn-words .b-hero-sub { max-width: 22em; }
.b-hero-n .b-hn-words .x-small { margin-top: calc(-1 * var(--s2)); }   /* the proof line belongs to the buttons above it */
.b-hero-n .b-hn-show { grid-column: 1 / -1; }
@media (width >= 1200px) { .b-hero-n .b-hn-words { grid-column: 1 / 7; } .b-hero-n .b-hn-show { grid-column: 7 / -1; align-self: center; } }
.b-hn-film .x-plate { aspect-ratio: 16 / 10; }
.b-hn-film .x-plate video { object-position: left top; }
html:not([data-take="film"]) .b-hn-film, html:not([data-take="object"]) .b-hn-object { display: none; }
html[data-take="film"] .b-strip .b-tile:first-child { display: none; }   /* the film already leads the page */
/* the take-picking switch: the Mac only, never in a live build */
.b-review { position: fixed; left: var(--margin); bottom: var(--margin); z-index: var(--z-controls); display: flex; align-items: center; gap: var(--s3); padding: var(--s1) var(--s1) var(--s1) var(--s4); border-radius: var(--r-pill); background: var(--raised); box-shadow: var(--rim-light), var(--lift-2); }
@media (width < 900px) { .b-review { bottom: auto; top: var(--s2); left: 50%; translate: -50% 0; } }
/* takes beside the words: one shows at a time (html[data-take]) */
.b-hn-show > [class^="b-hn-"] { display: none; }
html[data-take="snap"] .b-hn-snap, html[data-take="board"] .b-hn-board { display: block; }
.b-hn-snap { position: relative; aspect-ratio: 5 / 4; }
/* the board: what your team makes, as a split-flap departure board. One press and every row flips from DRIFTING to
   ON BRAND, letter by letter (blocks.js, [data-board]). Nothing moves until it's pressed */
.b-board { position: relative; display: grid; gap: var(--s5); padding: var(--i-card-lg); border-radius: var(--r-card-lg); }
@supports (corner-shape: superellipse(1.8)) { .b-board { corner-shape: superellipse(var(--sq, 1.8)); } }
.b-board-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.b-board-rows li { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: calc(44 * var(--pt)); }
.b-board-k { font-size: var(--t-b); line-height: var(--l-b); }
.b-board-v { display: inline-flex; align-items: center; gap: calc(3 * var(--pt)); }
.b-board-v .x-cap-dot { margin: 0 var(--s2) 0 0; opacity: 0; transition: opacity 240ms var(--ease-respond); }
.b-board-v.is-on .x-cap-dot { opacity: 1; }
.b-flap { display: inline-grid; place-items: center; width: calc(24 * var(--pt)); height: calc(36 * var(--pt)); border-radius: calc(5 * var(--pt));
  font-size: var(--t-b); line-height: 1; font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums;
  background: color-mix(in oklab, var(--paper) 9%, transparent); color: var(--paper);
  background-image: linear-gradient(to bottom, transparent calc(50% - 0.5px), rgb(0 0 0 / .45) calc(50% - 0.5px), rgb(0 0 0 / .45) calc(50% + 0.5px), transparent calc(50% + 0.5px));   /* the split in each flap: part of the drawing */
  transform-origin: 50% 50%; backface-visibility: hidden; }
.b-flap.is-blank { color: transparent; }
.b-board-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.b-board-btn { background: color-mix(in oklab, var(--paper) 12%, transparent) !important; color: var(--paper) !important; }
.b-board-btn .i-together { display: none; } .b-board-btn[aria-pressed="true"] .i-apart { display: none; } .b-board-btn[aria-pressed="true"] .i-together { display: block; }
@media (width < 600px) { .b-flap { width: calc(20 * var(--pt)); height: calc(30 * var(--pt)); font-size: var(--t-s); } .b-board { padding: var(--i-card); } }

/* ---------- the hero, minimal (17 Nov, Owen: "either show my real work or keep it minimal and classy like the studios") ----------
   The words and nothing else; his chosen work (the strip) starts in the first screen, as MOMENT, Halaska and OFF MENU do */
.b-hero-m { padding-bottom: var(--s7); }
.b-hero-m .b-hm { grid-column: 1 / -1; display: grid; gap: var(--s6) var(--gutter); align-content: start; }
.b-hero-m .b-hm > * { grid-column: 1 / -1; }
.b-hero-m .b-hm-lead, .b-hero-m .b-hm-act { display: grid; gap: var(--s3); align-content: start; }
.b-hero-m .b-hm-act { gap: var(--s4); }
.b-hero-m + .b-strip-blk { padding-top: 0; }   /* the work follows the promise, at the fold */
/* Work: the line across, then two short columns: what and who on the left, the two actions and the proof on the right */
@media (width >= 1200px) {
  html[data-take="work"] .b-hero-m .b-hm { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  html[data-take="work"] .b-hero-m h1 { grid-column: 1 / 10; max-width: none; }
  html[data-take="work"] .b-hero-m .b-hm-lead { grid-column: 1 / 5; }
  html[data-take="work"] .b-hero-m .b-hm-act { grid-column: 6 / 10; }
}
/* Centred: the line alone in the middle of the page */
html[data-take="centred"] .b-hero-m .b-hm { justify-items: center; text-align: center; }
html[data-take="centred"] .b-hero-m h1 { max-width: 14em; }
html[data-take="centred"] .b-hero-m .b-hm-lead { justify-items: center; }
html[data-take="centred"] .b-hero-m .b-hm-act { justify-items: center; }
html[data-take="centred"] .b-hero-m .b-acts { justify-content: center; }
