/* hvck labs landing v14: the B2C builder's additions (v14/DIRECTION.md items 3, 6, 9). Loaded after css/hero.css.
   - .hnum: the hero's two proof numbers (CQURE's own figures), beside the CTA in composition B's headline cell, under
     the CTA on tablets and phones and in A and C.
   - #check: "Are you ready?", the three-question self-check (js/check.js).
   - #experts: Paula's official bio and the research list (both sites).
   Square corners, Archivo for words, mono for machine data, the type scale tokens from css/v12.css. */

/* ============================================================================================ the hero numbers
   Kacper (2026-11-18, the console cell): "lots of chaos going on in this card". So the cell has one left edge and few
   pieces: the line; the sub-line and the one-line description; then one bottom row on the same edge: the CTA, and
   beside it the number row, its cells' bottoms on the CTA's bottom edge. Each cell is a numeral over its caption, the
   cells equal, each opened by the same hairline; the source closes the row as its own cell. kali01 keeps the cell's
   bottom-right corner. Narrow desktops (901-1199): one number. Tablets and phones: the row sits under the CTA. */
.hnum { margin-top: 28px; }
.hnum-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 0; }
.hnum ul { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: max-content; }
.hnum li { display: flex; flex-direction: column; gap: 4px; padding: 0 20px; border-left: 1px solid var(--line-2); white-space: nowrap; }
.hnum li:first-child { padding-left: 0; border-left: 0; }
.hnum b { font-size: 22px; font-weight: 600; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hnum span { font-size: var(--t-mono); line-height: 1.3; color: var(--dim); }
.hnum .mono { padding: 0 0 0 20px; border-left: 1px solid var(--line-2); color: var(--faint); line-height: 1.3; white-space: nowrap; }
@media (max-width: 600px) { .hnum .mono { flex-basis: 100%; padding-left: 0; border-left: 0; } }
@media (min-width: 901px) {
  [data-for="you"][data-hero="b"] .hero-bot { grid-template-columns: auto minmax(0, 1fr); column-gap: 28px; row-gap: 0; }
  [data-for="you"][data-hero="b"] .hero-bot .lede-h { grid-column: 1 / -1; grid-row: 1; max-width: none; }
  [data-for="you"][data-hero="b"] .hero-bot .lede { grid-column: 1 / -1; grid-row: 2; margin-top: 8px; }
  [data-for="you"][data-hero="b"] .hero-bot .acts { grid-column: 1; grid-row: 3; align-self: end; margin: 24px 0 0; }
  [data-for="you"][data-hero="b"] .hero-bot .hnum { grid-column: 2; grid-row: 3; align-self: end; justify-self: start; margin: 0; width: max-content; }
  /* the row's cells: the first opens with the hairline too, set against the CTA */
  [data-for="you"][data-hero="b"] .hnum li:first-child { padding-left: 20px; border-left: 1px solid var(--line-2); }
  /* the cells' bottoms on the CTA's bottom edge: the captions' line box ends where the button ends */
  [data-for="you"][data-hero="b"] .hnum-in { height: 48px; flex-wrap: nowrap; }
  [data-for="you"][data-hero="b"] .hnum li { height: 48px; justify-content: flex-end; }
  [data-for="you"][data-hero="b"] .hnum .mono { height: 48px; display: flex; align-items: flex-end; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  [data-for="you"][data-hero="b"] .hnum li:nth-child(n+2) { display: none; }
}

/* ============================================================================================ #check: "Are you ready?"
   The heading left (5 of 12 columns), the check right (7 to 12) as one panel: the B2C widget screen (a step darker
   than the ground, the fine dot, one hairline). Inside: "1/3" in mono top right; the log in a hairline frame; the
   question; two square answers side by side; then the teaching line and Next. The picked answer turns solid (that is
   all; no right or wrong colour). */
.check-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.check-txt { grid-column: 1 / span 5; }
.check-txt .body { margin-top: 24px; }
.ck { grid-column: 7 / -1; position: relative; min-height: 420px; padding: 28px; background-color: #121212;
  background-image: radial-gradient(circle, rgb(244 242 238 / 6%) 1px, transparent 1.4px); background-size: 6px 6px; background-position: 3px 3px;
  box-shadow: inset 0 0 0 1px var(--tile-line); }
.ck-top { position: absolute; top: 38px; right: 28px; line-height: 1.7; }   /* level with the log's first line */
.ck-n[hidden] { display: none; }
.ck-n { color: var(--faint); }
.ck-body { display: flex; flex-direction: column; align-items: flex-start; }
.ck-log { margin: 0; max-width: 100%; overflow-x: auto; padding: 14px 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--tile-line);
  color: var(--dim); white-space: pre; font-size: var(--t-mono); line-height: 1.7; }
.ck-q { margin-top: 28px; max-width: 26ch; font-size: var(--t-h4); font-weight: 580; font-stretch: 106%; letter-spacing: -0.015em; line-height: 1.22; text-wrap: balance; }
.ck-q:focus, .ck-end:focus { outline: none; }
.ck-q:focus-visible, .ck-end:focus-visible { outline: 2px solid var(--o); outline-offset: 6px; }
.ck-a { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 24px; }
.ck-b { height: 52px; padding: 0 16px; border: 0; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--sans); font-size: var(--t-small); font-weight: 600; text-align: left; cursor: pointer;
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.ck-b:hover { box-shadow: inset 0 0 0 1px var(--o); }
.ck-b:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; }
.ck-a.done .ck-b { cursor: default; color: var(--faint); box-shadow: inset 0 0 0 1px var(--line); }
.ck-a.done .ck-b.on { background: var(--ink); color: var(--paper); box-shadow: none; }
.ck-r { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 24px; }
.ck-r:empty { display: none; }
.ck-line { display: flex; gap: 10px; max-width: 46ch; font-size: var(--t-body); line-height: 1.5; color: var(--ink); animation: ck-in .3s var(--ease) both; }
.ck-k { flex: none; color: var(--o); line-height: inherit; font-size: var(--t-body); }
.ck-end { max-width: 30ch; font-size: var(--t-h4); font-weight: 580; font-stretch: 106%; letter-spacing: -0.015em; line-height: 1.25; text-wrap: pretty; padding-top: 4px; }
.ck-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.ck-again { color: var(--dim); }
@keyframes ck-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ck-line { animation: none; } .ck-b { transition: none; } }
@media (max-width: 900px) {
  .check-txt, .ck { grid-column: 1 / -1; }
  .ck { margin-top: 40px; }
}
@media (max-width: 600px) {
  .ck { padding: 22px 20px; min-height: 0; }
  .ck-top { position: static; margin-bottom: 10px; text-align: right; line-height: 1.5; }
  .ck-log { padding: 12px 10px; align-self: stretch; }
  .ck-q { margin-top: 24px; }
  .ck-acts .btn { width: 100%; }
}

/* ============================================================================================ #experts (both sites)
   Under the proof line: two rows on a 12-column grid, each opened by a hairline, with a screen of air between them.
   Paula (her name and title left, the official bio and her four rankings right), then the research lab (its label
   left, four findings right, each led by a mono tag). Tokens only, so it reads on ink and on paper. */
.cq-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 24px; align-items: start;
  margin-top: clamp(72px, 9vw, 128px); padding-top: 32px; border-top: 1px solid var(--line); }
.cq-who { grid-column: 1 / span 5; }
.cq-bio, .cq-resw { grid-column: 7 / -1; }
.cq-name { font-size: var(--t-h4); font-weight: 580; font-stretch: 106%; letter-spacing: -0.015em; line-height: 1.2; }
.cq-role { margin-top: 8px; color: var(--dim); max-width: 32ch; }
.cq-bio .body { max-width: 52ch; color: var(--ink); }
.cq-ranks { margin-top: 28px; border-top: 1px solid var(--line); }
.cq-ranks li { padding: 13px 0 14px; border-bottom: 1px solid var(--line); font-size: var(--t-small); line-height: 1.45; color: var(--dim); }
/* the research block: a numbered list; each item a short title (Archivo) over its one-line detail (smaller, dim) */
.cq-lab .cq-name { max-width: 19ch; }
.cq-lab .cq-role { max-width: 40ch; margin-top: 16px; }
.cq-res li:first-child { padding-top: 0; }
.cq-res li { display: grid; grid-template-columns: 4ch minmax(0, 1fr); gap: 0 16px; padding: 18px 0 19px; border-bottom: 1px solid var(--line); }
.cq-res li[hidden] { display: none; }
.cq-res .mono { color: var(--o); line-height: 1.5; padding-top: 2px; }
[data-for="teams"] .cq-res .mono { color: var(--faint); }
.cq-res h4 { margin: 0; font-size: var(--t-body); font-weight: 600; line-height: 1.4; color: var(--ink); }
.cq-res p { margin-top: 4px; font-size: var(--t-small); line-height: 1.5; color: var(--dim); max-width: 60ch; text-wrap: pretty; }
.cq-res sup, .cq-foot sup { font-size: .8em; line-height: 0; vertical-align: .35em; }
.cq-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-top: 20px; }
.cq-foot .tlink { font-size: var(--t-small); padding: 10px 4px; margin: -10px -4px; }
@media (max-width: 900px) {
  .cq-who, .cq-bio, .cq-resw { grid-column: 1 / -1; }
  .cq-row { margin-top: 64px; }
}

/* ============================================================================================ the film tile in C (the rack)
   A 1U unit: the label centred on the left, the loop as a strip on the right half, the toggle at the right end; the
   length chip (top left in the bento) has no room in a 44px row, so the button's name carries it. */
[data-hero="c"] #domain > .pc-film .hv-film-tc { display: none; }
[data-hero="c"] #domain > .pc-film .hv-film-l { top: 50%; bottom: auto; transform: translateY(-50%); }
[data-hero="c"] #domain > .pc-film .hv-film-v { left: 46%; width: calc(54% - 1px); }
[data-hero="c"] #domain > .pc-film .hv-film-pp { top: 50%; transform: translateY(-50%); }
.cq-res h4:focus { outline: none; } .cq-res h4:focus-visible { outline: 2px solid var(--o); outline-offset: 4px; }
/* Content integration C-2 (CONTENT-INTEGRATION.md): the final CTA's triad, one sentence per line */
.start-tri span { display: block; }

/* ============================================================================================ fix round (CRITIC-v14)
   P2-1, the B2C headline cell, calm: the sub-line, then one bottom row (the CTA, then the two number cells, each
   opened by the same hairline); the source is a caption line under the number row, on the first numeral's left edge
   (no third column, no third divider). The one-line description left the cell (X-1). kali01's label is one line on
   the source caption's baseline, so the cell's bottom reads as one line. */
[data-for="you"] .hero-bot .lede { display: none; }
.hnum .hnum-src { color: var(--faint); }
@media (min-width: 901px) {
  [data-for="you"][data-hero="b"] .hero-bot .acts { grid-row: 2; margin: 28px 0 0; align-self: start; }
  [data-for="you"][data-hero="b"] .hero-bot .hnum { grid-row: 2; align-self: start; margin-top: 28px; }
  [data-for="you"][data-hero="b"] .hnum-in { height: auto; display: grid; grid-template-columns: max-content; row-gap: 10px; }
  [data-for="you"][data-hero="b"] .hnum li { height: 48px; }
  [data-for="you"][data-hero="b"] .hnum .hnum-src { height: auto; display: block; padding: 0 0 0 21px; border-left: 0; line-height: 1.3; }
  [data-for="you"][data-hero="b"] .k01-say { flex-direction: row; align-items: baseline; gap: 8px; bottom: calc(100% + 9px); }
}
@media (max-width: 900px) { .hnum .hnum-src { flex-basis: 100%; padding-left: 0; border-left: 0; } }

/* P3: the self-check card takes its content's height (the end state no longer keeps the tallest step's box) */
.ck { min-height: 0; }

/* P2-12 / cut list: #experts, shorter. Research titles only until "Show all seven"; Paula's bio is two sentences,
   "More about Paula" shows the rest. */
.cq-res:not(.open) li > div > p { display: none; }
.cq-res:not(.open) li { padding: 14px 0 15px; }
.cq-res:not(.open) li:first-child { padding-top: 0; }
.cq-bio-more { margin-top: 20px; }
.cq-bio-more[hidden] { display: none; }
.cq-bio-more .small { color: var(--dim); max-width: 52ch; }
.cq-bio-more .cq-ranks { margin-top: 20px; }
.cq-bio .cq-foot { justify-content: flex-start; margin-top: 16px; }
.cq-dt[hidden] { display: none; }
.cq-s { margin-top: 10px; color: var(--faint); }
/* kali01's label on the source caption's line: the cell's bottom padding (the same clamp as .hero-bot's), plus the
   node's offset under the cell edge (half the gutter, less half the 14px node) */
@media (min-width: 901px) {
  [data-for="you"][data-hero="b"] .k01-say { bottom: calc(100% + clamp(24px, 2.4vw, 34px) + var(--g) * .5 - 7px); }
}
/* P2-6: on a short dc01 tile (1280x720 and similar, under 166px) the arrow key was glued to the toggle (0px). The
   toggle is the tile's affordance there, so the key steps out and the name keeps the bottom. */
@container (max-height: 165px) { [data-for="you"] .p-dc .pc-hint .pc-a { display: none; } }
/* phones: the two number cells share the row evenly and their captions may wrap (390: "scenarios on real machines"
   ran past the cell) */
@media (max-width: 600px) {
  .hnum ul { width: 100%; grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
  .hnum li { white-space: normal; min-width: 0; }
  .hnum li + li { padding-right: 0; }
}
