/* Hallmark · shape: the stages, the tests, the controls, the checklist · genre: editorial · theme: custom · redesign: full · job: enquire · idea: "the same house as the homepage: the four stages an order is inspected at on one ruled line, the six things tested beside their head, the four controls a buyer signs off, then the checklist with when each inspection happens and what it hands over" · vibe: "warm paper, bottle green, an inspection sheet"
 * paper: oklch(97.3% 0.009 84), the owner's warm white · accent: oklch(41% 0.085 158), bottle green, on the page actions, the stage numbers and the footer field · display: Gloock · body: Hanken Grotesk, Chinese system faces behind both · hero: banner, the H1 across the container and its sentence under it over a rule, the four stages on the first screen · nav: logo, six links and one action, shared in chrome.css, none marked current since the page is not among them · footer: the homepage footer on the green field, shared in chrome.css · imagery: none until the owner's photograph of the QC bench exists (docs/PHOTO-SHOTLIST.md) · signature: the four inspection stages as stations on one line, drawn once, on the first screen
 * axes: light/high-contrast-serif/chromatic-green · posture: restrained, with the green field declared on the footer · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H4 E4 S3 R4 V3 · weakest: S, the copy is general QC language and the bench has no photograph yet; the checklist's timings and outputs are the page's own facts and get the full width */
/* Hallmark · dropped the qc-station frame · the owner chose on 2026-11-16 to show no frame until a photograph exists, since its Chinese brief showed on the English page; the head takes the left column, as in the controls below */
/* Hallmark · dropped stitch-new-page-08.jpg · a generated picture of a QC bench and a technician's hands, shown as a photograph, which the owner's rules forbid; docs/PHOTO-SHOTLIST.md asks for the real one */
/* Hallmark · dropped "Quality Control Protocol" · an eyebrow over the H1 (54) */
/* Hallmark · dropped /products · the shared nav links the same page as products, relative like its other links */
/* Hallmark · dropped tuzh-logo.svg · the shared nav carries the ink logo, tuzh-logo-ink.svg, as on every redesigned page */
/* Hallmark · dropped 2024 · the old footer's copyright year; the shared footer every redesigned page carries reads © 2026 */
/* Hallmark · dropped the old nav's current mark on Factory · it marked Factory as the page a visitor was on, here on Quality Control */
/* Hallmark · dismissed 19 · the legal line is the owner's copyright notice and is kept as found */
/* Hallmark · finish-review: subagent · 4 findings · 4 resolved · gap: the shared footer reaches this page only as Compliance & Certs, which promises certificates the page does not show, and the nav does not list it; both the owner's call, as are the heads, the owner's general QC copy */
/* Hallmark · linked at the owner's word, 2026-11-13 (SEO P1): the fabrics, ribs and shafts to engineering and bulk manufacturing to factory */

/* The masthead */
.head { padding-top: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-ink); }
.head__in { padding-bottom: var(--space-lg); }
.head h1 { max-width: none; }
.head .lead { margin-top: var(--space-md); max-width: 60ch; color: var(--color-ink-2); }

/* The four stages an order is inspected at: one line drawn once, the stage numbers sitting on it like stations */
.lifecycle { padding-block: var(--space-3xl) var(--section-gap); }
.lifecycle h2 { margin-bottom: var(--space-2xl); }
.stages { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: stage; }
.stages::before { content: ""; position: absolute; inset-inline: 0; top: calc(var(--text-2xl) / 2 - var(--rule-bar) / 2); border-top: var(--rule-bar) solid var(--color-ink); }
.stages li { position: relative; counter-increment: stage; padding-right: var(--gap-columns); }
.stages li::before { content: counter(stage, decimal-leading-zero); position: relative; display: block; width: fit-content; margin-bottom: var(--space-lg); padding-right: var(--space-md); background: var(--color-paper); font: 400 var(--text-2xl)/1 var(--font-display); font-variant-numeric: lining-nums tabular-nums; color: var(--color-accent); }
.stages li + li::before { margin-left: calc(-1 * var(--space-md)); padding-left: var(--space-md); }
.stages p { margin-top: var(--space-xs); max-width: 32ch; color: var(--color-ink-2); }

/* What is tested: the head on the left, the six areas on the right */
.testing { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.testing__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.areas li { padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.areas p { margin-top: var(--space-xs); max-width: 40ch; color: var(--color-ink-2); }

/* The controls a buyer signs off */
.risk { padding-block: var(--section-gap); }
.risk__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.risk .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.points { border-bottom: var(--rule-hair) solid var(--color-rule); }
.points li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); column-gap: var(--gap-columns); align-items: baseline; padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.points p { color: var(--color-ink-2); }

/* The checklist: what is inspected, when, why and what the buyer gets */
.checklist { padding-block: var(--space-2xl) var(--section-gap); border-top: var(--rule-hair) solid var(--color-ink); }
.checklist__table { width: 100%; margin-top: var(--space-2xl); border-collapse: collapse; }
.checklist__table th, .checklist__table td { padding: var(--space-md) var(--space-lg) var(--space-md) 0; text-align: left; vertical-align: top; border-bottom: var(--rule-hair) solid var(--color-rule); }
.checklist__table thead th { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); border-bottom-color: var(--color-ink); }
.checklist__table tbody th { font: 400 var(--text-lg)/1.3 var(--font-display); }
.checklist__table td { color: var(--color-ink-2); font-variant-numeric: lining-nums tabular-nums; }
.checklist__table .c-item { width: 28%; }
.checklist__table .c-timing { width: 16%; }
.checklist__table .c-purpose { width: 32%; }
.checklist__table .c-output { width: 24%; }
.checklist__table td:last-child { color: var(--color-ink); }   /* what the buyer is handed */

/* The close */
.close { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.close__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: start; }
.close h2 { max-width: 14ch; }
.close__act { display: grid; gap: var(--space-lg); }
.close .lead { color: var(--color-ink-2); }

@media (max-width: 60rem) {
  .lifecycle { padding-top: var(--space-2xl); }
  /* The line turns and runs down the left; each stage number sits on it */
  .stages { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); padding-left: var(--space-2xl); }
  .stages::before { inset-inline: auto; left: var(--space-lg); top: 0; bottom: 0; border-top: 0; border-left: var(--rule-bar) solid var(--color-ink); }
  .stages li { padding-right: 0; }
  .stages li::before, .stages li + li::before { position: absolute; left: calc(var(--space-lg) - var(--space-2xl)); top: calc(-1 * var(--space-xs)); translate: -50% 0; margin: 0; padding: var(--space-xs) 0; }
  .testing__in, .risk__in, .close__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .points li { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
}
@media (max-width: 40rem) {
  :root { --text-hero: clamp(2.25rem, calc((100vw - 2 * var(--gutter)) / 7.4), 2.75rem); }
  .close .actions .btn { flex: 1 1 auto; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .checklist__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .checklist__table tr { display: block; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .checklist__table th, .checklist__table td { display: block; padding: 0; border: 0; }
  .checklist__table td::before { content: attr(data-label); display: block; margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-muted); }
}
