/* Case studies (/work/, /work/brokerage-publishing/, /work/healthcare-platform/) and the use-case page (/use-cases/one-record/)
   on the new design system:
   loaded on top of site.css (build.mjs, newDesign). The pages keep their section markup; this file sets it on the
   shared grid: text in columns 1 to 9, facts and notes in 10 to 12, no cards except the clickable "next case study". */

/* ---------- /work/ (redesign, 13 Nov 2026): the client case at full weight, the method, the demo, one line about this site ----------
   The client case is the case study's bench (the .showcase rules below): the screenshot in columns 1 to 9 with its three
   leader notes in the margin, then its title and summary. The venture is text-led, its status in the margin. */
.card-title { font-size: var(--t-h3); font-weight: 600; line-height: 1.2; }
.work-case > .card-title { margin-top: var(--s4); }
.work-case > .prose { margin-top: var(--s2); }
.site-row .links { margin-top: var(--s1); }
@media (min-width: 900px) {
  /* the venture's status sits in the margin beside its title, not on a row of its own */
  .case > .status { grid-row: 1; align-self: start; padding-top: 8px; }
  .case > .status + .card-title { grid-row: 1; margin-top: 0; }
}
@media (max-width: 899px) {
  .case > .status + .card-title { margin-top: var(--s1); }
}

/* ---------- "Try it": the made-up enquiry demo (app.js drives the steps; restyled only) ---------- */
.demo-intro { max-width: 40em; }
.demo-intro h2 { font-size: var(--t-h2); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.demo-intro p { margin-top: var(--s2); font-size: var(--t-lead); }
.workflow-demo { margin-top: var(--s4); max-width: calc((100% - 11 * var(--gap)) / 12 * 9 + 8 * var(--gap)); border: 1px solid var(--rule); border-radius: 2px; }
.demo-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); padding: var(--s2) var(--s3); border-bottom: 1px solid var(--rule); }
.demo-toolbar span { font-size: var(--t-small); color: var(--muted); }
.demo-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.demo-tabs { display: flex; flex-direction: column; gap: 4px; padding: var(--s2); border-right: 1px solid var(--rule); }
.demo-tab { display: flex; gap: var(--s2); align-items: flex-start; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid transparent; border-radius: 6px; background: none; text-align: left; cursor: pointer; }
.demo-tab[aria-selected="true"] { border-color: var(--ink); }
.demo-tab .tab-index { color: var(--muted); }
.demo-tab strong { display: block; }
.demo-tab small { display: block; font-size: var(--t-small); color: var(--muted); }
.demo-side-note { margin-top: auto; padding: var(--s2) 12px 0; font-size: var(--t-small); color: var(--muted); }
.demo-panel { padding: var(--s3); }
.demo-panel > * + * { margin-top: var(--s2); }
.demo-panel h3 { font-size: var(--t-lead); font-weight: 600; line-height: 1.3; }
.panel-copy { color: var(--muted); }
.email-example { padding: var(--s2); border: 1px solid var(--rule); border-radius: 2px; }
.email-meta { padding-bottom: var(--s1); margin-bottom: var(--s1); border-bottom: 1px solid var(--rule); font-size: var(--t-small); color: var(--muted); }
.email-meta strong { color: var(--ink); }
.draft-highlight { background: var(--mark); }
.extracted { margin: 0; display: grid; gap: 4px; }
.extracted > div { display: grid; grid-template-columns: 8em minmax(0, 1fr) auto; gap: var(--s1); padding-block: 6px; border-bottom: 1px solid var(--rule); }
.extracted dt { color: var(--muted); }
.extracted dd { margin: 0; }
.extracted .source { font-size: var(--t-small); color: var(--muted); }
.extracted .uncertain { color: var(--ink); font-weight: 600; }
.example-annotation { padding-left: 15px; border-left: 1px solid var(--rule); }
.orig summary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.review-controls { display: flex; flex-wrap: wrap; gap: var(--s1); }
.state-message { font-weight: 600; }
.demo-navigation { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: var(--s2) var(--s3); border-top: 1px solid var(--rule); }
#demo-next { white-space: nowrap; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 6px; background: var(--paper); font-weight: 600; cursor: pointer; }
.example-note { margin-top: var(--s2); max-width: 40em; font-size: var(--t-small); color: var(--muted); }

/* ---------- Case study pages ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: 0; padding-top: var(--s2); border-top: 1px solid var(--rule); }
.facts dt { font-size: var(--t-small); color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.numbers-src { margin-top: var(--s2); font-size: var(--t-small); color: var(--muted); }
.showcase { margin-top: var(--s4); }
.showcase-more { margin-top: var(--s3); }
.showcase .numbers-src { margin-top: var(--s1); }
.client-quote blockquote p { font-size: var(--t-h3); line-height: 1.35; max-width: 30em; text-indent: -0.4em; }
.client-quote figcaption { margin-top: var(--s2); }
/* The technical tour keeps its old markup inside the disclosure rows: rows of rules, lists, diagrams and status notes */
.extension-grid { margin-top: var(--s3); max-width: calc((100% - 11 * var(--gap)) / 12 * 9 + 8 * var(--gap)); }
.extension-grid > div > p { max-width: 40em; }
.extension-grid > div > p + p { margin-top: var(--s2); }
.extension-grid > ol { margin-top: var(--s3); display: grid; }
.extension-grid > ol li { padding-block: var(--s2); border-top: 1px solid var(--rule); }
.extension-grid > ol li strong { display: block; font-size: var(--t-lead); line-height: 1.3; }
#pipeline .extension-grid > ol { counter-reset: step; }
#pipeline .extension-grid > ol li { counter-increment: step; padding-left: var(--s4); position: relative; }
#pipeline .extension-grid > ol li::before { content: counter(step); position: absolute; left: 0; font-size: var(--t-lead); font-weight: 600; line-height: 1.3; }
.status-note { margin-top: var(--s3); padding-left: 15px; border-left: 1px solid var(--rule); }
.status-note strong { display: block; }
.broker-diagram { margin-top: var(--s4); padding: var(--s3); max-width: calc((100% - 11 * var(--gap)) / 12 * 9 + 8 * var(--gap)); border: 1px solid var(--rule); border-radius: 2px; }
.broker-diagram > * + * { margin-top: var(--s1); }
.broker-diagram h4 { font-size: var(--t-lead); font-weight: 600; line-height: 1.3; }
.branch-label { color: var(--muted); }
.flowmap { margin-top: var(--s4); display: grid; grid-template-columns: minmax(0, 4fr) 48px minmax(0, 5fr); align-items: center; gap: 0; max-width: calc((100% - 11 * var(--gap)) / 12 * 9 + 8 * var(--gap)); }
.fm-src, .fm-out { padding: var(--s3); border: 1px solid var(--rule); border-radius: 2px; }
.fm-head { display: block; font-size: var(--t-small); color: var(--muted); }
.fm-src b { display: block; margin-top: 4px; font-size: var(--t-lead); }
.fm-src ul { margin-top: var(--s1); display: grid; gap: 4px; }
.fm-arrow { border-top: 1.25px solid var(--ink); }
.fm-grid { margin-top: var(--s1); display: grid; gap: var(--s1); }
.fm-grid b { display: block; }
.fm-grid span, .fm-private { font-size: var(--t-small); color: var(--muted); }
.fm-private { margin-top: var(--s2); }
.fm-private span { color: var(--ink); font-weight: 600; }
.fm-label { grid-column: 1 / -1; margin-top: var(--s1); font-size: var(--t-small); color: var(--muted); }
.case-next { margin-top: var(--s5); }
.next { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3); border: 1px solid var(--rule); border-radius: 2px; text-decoration: none; }
.next:hover { border-color: var(--ink); }
.next strong { font-size: var(--t-lead); line-height: 1.3; max-width: 32em; }
.next .btn { flex: none; }

@media (max-width: 899px) {
  /* one column on phones: the nine-column measure does not apply */
  .workflow-demo, .extension-grid, .broker-diagram, .flowmap { max-width: none; }
  .work-case > .card-title { margin-top: var(--s3); }
  .demo-body { grid-template-columns: minmax(0, 1fr); }
  .demo-tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
  .demo-tab { flex: 0 0 auto; width: auto; }
  .demo-tab small, .demo-side-note { display: none; }
  .demo-panel { padding: var(--s2); }
  .extracted > div { grid-template-columns: minmax(0, 1fr) auto; }
  .extracted dt { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s3); }
  .flowmap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fm-arrow { width: 0; height: 24px; margin-left: var(--s3); border-top: 0; border-left: 1.25px solid var(--ink); }
  .next { flex-direction: column; align-items: flex-start; }
  .client-quote blockquote p { font-size: var(--t-lead); }
}
@media (prefers-reduced-motion: reduce) {
}

/* ---------- The brokerage case study (redesign, 13 Nov 2026): the owner's story in two screens, the technical tour closed ----------
   First screen: three summary rows and the booking button in columns 1 to 9, the counts in the margin beside the rows. */
.cs-head { padding-top: var(--s3); row-gap: 0; }
.cs-head .back { justify-self: start; }
.cs-head h1 { margin-top: 4px; }
.sum { grid-column: 1 / 10; margin: var(--s4) 0 0; border-top: 1px solid var(--ink); }
.sum-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap); padding-block: 14px; border-bottom: 1px solid var(--rule); }
.sum-row dt { grid-column: 1 / 3; font-weight: 600; }
.sum-row dd { grid-column: 3 / 10; margin: 0; max-width: 40em; }
.sum-cta { grid-column: 1 / 10; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); margin-top: var(--s3); }
.sum-note { flex-basis: 100%; font-size: var(--t-small); color: var(--muted); }
.cs-facts { grid-column: 10 / 13; grid-row: 4 / span 2; align-self: start; margin: var(--s4) 0 0 -16px; padding-left: 15px; border-left: 1px solid var(--rule); }
.cs-facts h2 { font-size: var(--t-body); font-weight: 600; line-height: 1.4; }
.cs-facts dl { margin: var(--s1) 0 0; display: grid; gap: var(--s1); }
.cs-facts dt { font-size: var(--t-small); color: var(--muted); }
.cs-facts dd { margin: 2px 0 0; font-size: var(--t-lead); font-weight: 600; line-height: 1.3; }
.cs-fact { margin-top: var(--s2); font-weight: 600; }
.cs-facts .src { margin-top: var(--s1); font-size: var(--t-small); color: var(--muted); }
/* One listing: a real sequence, so it is numbered */
.listing-steps { grid-column: 1 / 10; margin-top: var(--s3); counter-reset: ls; border-top: 1px solid var(--rule); }
.listing-steps li { counter-increment: ls; display: grid; grid-template-columns: 2.5em minmax(0, 1fr); padding-block: 12px; border-bottom: 1px solid var(--rule); max-width: 46em; }
.listing-steps li::before { content: counter(ls); font-weight: 600; }
.listing-note { grid-row: 3; align-self: start; margin-top: var(--s3); }
/* Is this your problem too? Three illustrative rows under their status label */
.bridge { grid-column: 1 / 10; margin-top: var(--s3); border-top: 1px solid var(--rule); }
.bridge li { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap); padding-block: var(--s2); border-bottom: 1px solid var(--rule); }
.bridge b { grid-column: 1 / 4; }
.bridge span { grid-column: 4 / 10; }
.bridge-label { margin-top: var(--s1); }
.bridge-more { margin-top: var(--s3); max-width: 40em; }
.bridge-more + .links { margin-top: var(--s1); }
/* How it was built: seven closed disclosure rows. Every word stays in the page; the heading of each part is in its summary. */
.tour-intro { margin-top: var(--s2); color: var(--muted); }
.tour-rows { grid-column: 1 / 10; margin-top: var(--s3); border-top: 1px solid var(--rule); }
.tour-rows > details { border-bottom: 1px solid var(--rule); }
.tour-rows summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s2); min-height: 64px; padding-block: 12px; cursor: pointer; list-style: none; }
.tour-rows summary::-webkit-details-marker { display: none; }
.tour-rows summary::after { content: "+"; grid-column: 2; grid-row: 1 / span 2; font-size: 22px; line-height: 1; color: var(--muted); }
.tour-rows details[open] > summary::after { content: "\2212"; }
.tour-rows summary h3 { grid-column: 1; font-size: var(--t-lead); font-weight: 600; line-height: 1.3; }
.tour-rows summary:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tour-sub { grid-column: 1; margin-top: 2px; font-size: var(--t-small); color: var(--muted); }
.tour-body { padding-bottom: var(--s4); }
.tour-body > * + * { margin-top: var(--s3); }
.tour-body > p { max-width: 40em; }
.tour-body .facts { padding-top: var(--s2); }
.tour-body .rules { margin-top: var(--s3); }
.tour-body .rule { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.tour-body .rule > h4 { grid-column: 1 / 4; font-size: var(--t-body); font-weight: 600; line-height: 1.4; }
.tour-body .rule > div { grid-column: 4 / 10; }
.tour-body .extension-grid, .tour-body .broker-diagram, .tour-body .flowmap { max-width: none; }
.tour-body .extension-grid, .tour-body .flowmap, .tour-body .broker-diagram { margin-top: var(--s3); }
@media (max-width: 899px) {
  .sum, .sum-cta, .cs-facts, .listing-steps, .bridge, .tour-rows { grid-column: 1 / -1; }
  .cs-head { padding-top: var(--s2); }
  .cs-head h1 { font-size: clamp(30px, 8.4vw, 34px); line-height: 1.1; }
  .sum { margin-top: var(--s2); }
  .sum-row { display: block; padding-block: 8px; }
  .sum-row dd { margin-top: 2px; }
  .sum-cta { margin-top: var(--s2); }
  .cs-facts { grid-row: auto; margin: var(--s3) 0 0; padding-left: var(--s2); }
  .cs-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s2); }
  .listing-note { grid-row: auto; margin-top: var(--s2); }
  .bridge li { display: block; }
  .bridge span { display: block; margin-top: 4px; }
  .tour-body .rule > div { margin-top: 4px; }
}

/* ---------- Use-case page (/use-cases/one-record/): head, recognition lines, the record drawing (site.css), first step,
   proof and questions ---------- */
.uc-head .audience { font-size: var(--t-small); color: var(--muted); }
.uc-head h1 { margin-top: 4px; }
.uc-head .price-line { margin-top: var(--s2); font-size: var(--t-small); color: var(--muted); }
.uc-head .price-line mark { color: var(--ink); }
.recog { grid-column: 1 / 10; margin-top: var(--s3); border-top: 1px solid var(--rule); }
.recog li { padding-block: var(--s2); border-bottom: 1px solid var(--rule); font-size: var(--t-lead); line-height: 1.4; }
.uc-hold { grid-column: 1 / 10; margin-top: var(--s3); padding-left: 15px; border-left: 2px solid var(--ink); font-weight: 600; max-width: 40em; }
.uc-sub { margin-top: var(--s4); font-size: var(--t-lead); font-weight: 600; line-height: 1.3; }
.uc-sub + .bridge { margin-top: var(--s2); }
.uc-proof { grid-column: 1 / 10; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); margin-top: var(--s3); border-top: 1px solid var(--rule); }
.uc-proof li { padding-top: var(--s2); }
.uc-proof b { display: block; font-size: var(--t-h3); line-height: 1.1; }
.uc-proof-src { margin-top: var(--s2); font-size: var(--t-small); color: var(--muted); }
.uc-proof-src + .c-main { margin-top: var(--s1); }
.uc-not-ready { margin-top: var(--s1); }
#not-ready .links { margin-top: var(--s1); }
.uc-qa { grid-column: 1 / 10; margin: var(--s3) 0 0; border-top: 1px solid var(--rule); }
.uc-qa > div { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap); padding-block: var(--s3); border-bottom: 1px solid var(--rule); }
.uc-qa dt { grid-column: 1 / 4; font-weight: 600; }
.uc-qa dd { grid-column: 4 / 10; margin: 0; max-width: 36em; }
@media (max-width: 899px) {
  .recog, .uc-hold, .uc-proof, .uc-qa { grid-column: 1 / -1; }
  .recog li { font-size: var(--t-body); padding-block: 12px; }
  .uc-proof { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .uc-proof li { padding-block: 12px; border-bottom: 1px solid var(--rule); }
  .uc-qa > div { display: block; padding-block: var(--s2); }
  .uc-qa dd { margin-top: 4px; }
}

/* ---------- The showcase on the brokerage case study: the homepage's bench, notes and leader lines ----------
   The same rules as the .showcase section of home.css (the homepage's first proof section since 13 Nov 2026). Change both
   together: work-redesign.test.mjs checks that they match. */
.showcase .note-word { display: block; font-size: var(--t-small); color: var(--muted); }
.showcase .caption { grid-column: 1 / 10; grid-row: 2; margin-top: var(--s2); }
@media (min-width: 1180px) {
  .showcase .bench { margin-top: var(--s5); }
  .showcase .note-word { display: none; }
  .showcase .notes li::before { display: none; }
  .showcase .leaders-up { display: block; }
  .showcase .leaders-up path { stroke-linejoin: round; stroke-linecap: round; }
  .showcase .leaders-up .line path, .showcase .leaders-up .ink path { stroke-width: 1px; }
  .showcase .leaders-up .halo path { stroke-width: 2.5px; }
  .showcase .leaders-up .ink path { shape-rendering: crispEdges; }
  .showcase .note-fleet { --y: 6; }
  .showcase .note-sale { --y: 77; }
  .showcase .note-lang { --y: 186; }
  .showcase .caption { grid-column: 10 / 13; grid-row: 1; align-self: start; margin-top: 0; position: relative; top: calc(285 / 870 * 100%); }
}
@media (max-width: 1179px) {
  .showcase .leaders-mid { display: block; }
  .showcase .art { align-self: start; }
  .showcase .notes { grid-row: 1; margin-top: 0; }
  .showcase .notes li { position: static; top: auto; transform: none; }
  .showcase .notes .note-lang { transform: none; }
}
@media (max-width: 899px) {
  .showcase .leaders-mid { display: none; }
  .showcase .art { margin-right: var(--s1); }
  .showcase .caption { order: 2; align-self: stretch; margin-top: var(--s1); position: relative; }
  .showcase .notes { order: 3; display: grid; gap: var(--s1); margin-top: 4px; }
  .showcase .notes li { position: relative; }
  .showcase .notes .note-lang { order: -1; display: flex; align-items: flex-start; }
  .showcase .note-word { display: block; }
  .showcase .leaders-phone { display: block; }
  .showcase .leaders-phone path { stroke-linejoin: round; }
  .showcase .leaders-phone .line path { stroke-width: 1.25px; }
  .showcase .leaders-phone .halo path { stroke-width: 3px; stroke: rgb(31 51 41 / 0.75); }
  .showcase .art::after { content: ""; position: absolute; left: 100%; top: calc(79 / 650 * 100% - 0.625px); bottom: 0; width: 8px; border-top: 1.25px solid var(--ink); border-right: 1.25px solid var(--ink); }
  .showcase .caption::after { content: ""; position: absolute; top: -8px; bottom: -4px; left: calc(100% - 1.25px); border-left: 1.25px solid var(--ink); }
  .showcase .notes .note-lang::before { display: block; content: ""; position: absolute; top: 0; left: calc(100% - 1.25px); width: 0; height: 0.75em; border: 0; border-left: 1.25px solid var(--ink); }
  .showcase .notes .note-lang::after { content: ""; flex: 1 0 16px; margin: calc(0.75em - 0.625px) 0 0 var(--s1); border-top: 1.25px solid var(--ink); }
  .showcase .art img { aspect-ratio: 1440 / 650; object-fit: cover; object-position: top; }
  .showcase .leaders-phone { height: auto; aspect-ratio: 1440 / 870; }
}
@media (max-width: 700px) {
  .showcase .bench { margin-top: var(--s2); }
}
@media (max-width: 700px) and (max-height: 799px), (min-width: 701px) and (max-width: 899px) and (max-height: 929px) {
  body:has(> .consent-banner:not([hidden])) .showcase .leaders-phone, body:has(> .consent-banner:not([hidden])) .showcase .art::after, body:has(> .consent-banner:not([hidden])) .showcase .caption::after, body:has(> .consent-banner:not([hidden])) .showcase .notes .note-lang::before, body:has(> .consent-banner:not([hidden])) .showcase .notes .note-lang::after { display: none; }
}
@media (max-width: 374px) {
  .showcase .notes .note-lang { font-size: var(--t-small); }
}
@media (max-width: 374px) {
  body:has(> .consent-banner:not([hidden])) .showcase .bench { margin-top: var(--s1); }
  body:has(> .consent-banner:not([hidden])) .showcase .caption { margin-top: 4px; }
  body:has(> .consent-banner:not([hidden])) .showcase .notes { gap: 4px; }
}

/* ---------- The healthcare case study (/work/healthcare-platform/), short version (6 Nov 2026) ----------
   Key facts in the page head's margin, and the one build-process diagram. Scoped to .hc-* classes, which only that page uses. */
.hc-facts dt { font-size: var(--t-small); color: var(--muted); }
.hc-facts dd { margin: 2px 0 0; }
.head .hc-next { margin-top: var(--s1); font-size: var(--t-body); }

/* The build-process diagram (the designer's diagrams.css, merged here unchanged). */
.hc-figure {
  container-type: inline-size;
  margin: 0;
}
.hc-diagram {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  color: var(--ink, #1F3329);
  font-family: inherit;          /* Schibsted Grotesk from the page */
}
.hc-diagram text { font-family: inherit; }
.hc-diagram .hc-muted { fill: var(--muted, #55605A); }
.hc-diagram .hc-rule { stroke: var(--rule, #DADFD8); }
.hc-diagram .hc-mark { fill: var(--mark, #FFE45C); }
.hc-diagram .hc-node:not(.hc-filled) { fill: var(--paper, #FFFFFF); }

.hc-figure .hc-phone { display: none; max-width: 480px; }
@container (max-width: 719.98px) {
  .hc-figure .hc-desktop { display: none; }
  .hc-figure .hc-phone { display: block; }
}
.hc-figure figcaption {
  margin-top: var(--s2, 16px);
  font-size: var(--t-small, 14px);
  color: var(--muted, #55605A);
  text-wrap: pretty;
}

/* Draw-in, once, when the figure first comes into view (app.js adds .hc-armed, then .hc-in). Not scroll-linked.
   Without JavaScript, or with reduced motion, nothing is hidden: the finished diagram shows. */
@media (prefers-reduced-motion: no-preference) {
  .hc-armed .hc-draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
  .hc-armed .hc-fade { opacity: 0; }
  .hc-armed.hc-in .hc-draw {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset var(--dur, 600ms) cubic-bezier(0.33, 0, 0.2, 1) var(--t, 0ms);
  }
  .hc-armed.hc-in .hc-fade {
    opacity: 1;
    transition: opacity 400ms ease-out calc(var(--t, 0ms) + 150ms);
  }
}

/* Placement: columns 1 to 9 at 1180px and wider. Between 900 and 1179px the full row, so the desktop drawing keeps
   its text at 14px or more. Below 900px one column, where the phone drawing shows (capped at 480px). */
.block .hc-figure { margin-top: var(--s4); max-width: calc((100% - 11 * var(--gap)) / 12 * 9 + 8 * var(--gap)); }
@media (max-width: 1179px) {
  .block .hc-figure { max-width: none; }
}
@media (max-width: 899px) {
  .block .hc-figure { margin-top: var(--s3); }
}
