/* ============================================================
   Decisionware landing · PROPOSED Register additions · prototype only
   EPQ-WEB-BRIEF-004 · 2026-11-15
   Everything here is prefixed regx- so it reads as "not yet in the
   Register". Each block names the Register gap it fills (brief §10).
   Tokens only: no literal colour, no radius, no blur, no easing.
   ============================================================ */

/* ---------- PAGE: one flow sheet carrying a landing page ----------
   Gap: the Register has a five-screen stack and a long-form flow sheet,
   but no landing page. Proposal: the flow sheet's furniture (frame, zone
   numbers top and bottom, corner marks, one title block at the foot),
   with each landing section a band ruled off by the 2px structural rule. */
.regx-page { grid-template-columns: minmax(0, 1fr); }
.regx-page .reg-frame { grid-template-rows: auto auto auto; grid-template-columns: minmax(0, 1fr); }
.regx-main { min-width: 0; }
.regx-band { padding: var(--reg-pad); border-top: var(--reg-rule) solid var(--reg-pencil); min-width: 0; scroll-margin-top: 12px; }
.regx-band > header { display: grid; gap: 18px; margin-bottom: 40px; max-width: 30ch; }
.regx-band > header.regx-wide { max-width: 40ch; }
.regx-band h2 { margin: 0; }
.regx-band h3 { margin: 0; font: var(--reg-w-strong) var(--reg-t-body)/1.3 var(--reg-font-body); }
.regx-band p { margin: 0 0 1em; max-width: var(--reg-measure); line-height: 1.6; }
.regx-band p:last-child { margin-bottom: 0; }
.regx-muted { color: var(--reg-pencil-70); }

/* ---------- NAV ----------
   Gap: the Register's nav band centres the wordmark between two keys.
   A product page needs the conventional order: wordmark left, three
   links, status, one primary key right. Links are 48px targets. */
.regx-nav { grid-template-columns: auto 1fr auto; padding: 12px 40px; gap: 32px; }
.regx-nav .reg-wm { font-size: var(--reg-t-body); }
.regx-links { display: flex; gap: 8px; justify-self: center; margin: 0; padding: 0; list-style: none; }
.regx-links a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px;
  font: var(--reg-w-label) var(--reg-t-label)/1 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase;
  color: var(--reg-pencil); text-decoration: none;
}
.reg-ground .regx-links a:hover { text-decoration: underline; text-underline-offset: .4em; }
.regx-links a[aria-current="page"] { box-shadow: inset 0 calc(-1 * var(--reg-rule)) 0 0 var(--reg-pencil); }
.regx-navend { display: flex; align-items: center; gap: 20px; }
.regx-status { color: var(--reg-pencil-70); }

/* ---------- HERO ---------- */
.regx-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; border-top: 0; padding-top: 56px; padding-bottom: 56px; }
.regx-hero h1 { max-width: 25ch; }
.regx-hero-sub { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.regx-hero .regx-fig { max-width: 920px; justify-self: center; width: 100%; }
.regx-hero-copy { display: grid; gap: 28px; align-content: start; }
.regx-hero h1 { margin: 0; }
.regx-hero .reg-eyebrow--wide { margin: 0; }
.regx-for { margin: 0; color: var(--reg-pencil-70); max-width: 44ch; line-height: 1.5; }
.regx-actions { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.regx-key--lg { min-height: 64px; padding: 0 40px; }
.regx-textlink { display: inline-flex; align-items: center; min-height: 48px; font: var(--reg-w-label) var(--reg-t-label)/1 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; }

/* ---------- STEPS (how it works) ----------
   Gap: a three-up sequence. Hatch carries each step's identity; the
   balloon carries its order. */
.regx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: var(--reg-rule) solid var(--reg-pencil); }
.regx-steps > li { padding: 28px 32px 32px 0; display: grid; gap: 16px; align-content: start; }
.regx-steps > li + li { padding-left: 32px; border-left: var(--reg-hair) solid var(--reg-pencil-faint); }
.regx-step-head { display: flex; align-items: center; gap: 16px; }
.regx-step-head .reg-swatch { width: 56px; height: 40px; }
.regx-when { font: var(--reg-w-label) var(--reg-t-label)/1.4 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); margin: 0; }
.regx-steps p { font-size: var(--reg-t-body); line-height: 1.55; margin: 0; }
.regx-steps p.regx-when { font-size: var(--reg-t-label); line-height: 1.4; }
.regx-house { font: var(--reg-w-label) var(--reg-t-label)/1.4 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); }
.regx-receipt { margin-top: 40px; }
.regx-receipt .reg-detail > div { white-space: pre-wrap; word-break: break-word; }

/* ---------- TENSE ----------
   Gap: the claims ledger's three tenses need a visible mark. Proposal:
   borrow the drawing's line types. A firm line is an edge you can see
   (works today); a dashed hidden line is there but not yet visible
   (in development); a dotted line is a construction line (direction). */
.regx-tense { display: inline-block; padding: 5px 12px; font: var(--reg-w-label) var(--reg-t-label)/1.2 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; white-space: nowrap; }
.regx-tense--now { border: var(--reg-rule) solid var(--reg-pencil); color: var(--reg-pencil); }
.regx-tense--dev { border: var(--reg-hair) dashed var(--reg-pencil); color: var(--reg-pencil); }
.regx-tense--dir { border: var(--reg-hair) dotted var(--reg-pencil-70); color: var(--reg-pencil-70); }
.regx-tensekey { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 24px; padding: 0; list-style: none; align-items: center; }
.regx-tensekey li { display: flex; gap: 12px; align-items: center; font: var(--reg-w-label) var(--reg-t-label)/1.3 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); }

/* ---------- SURFACE LIST ----------
   Gap: a parts list that reflows to stacked rows on a phone instead of
   scrolling sideways. */
.regx-surfaces { margin: 0; padding: 0; list-style: none; border: var(--reg-rule) solid var(--reg-pencil); }
.regx-surfaces > li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) 180px; gap: 24px; padding: 18px 20px; align-items: start; }
.regx-surfaces > li + li { border-top: var(--reg-hair) solid var(--reg-pencil-faint); }
.regx-surfaces > li.regx-surfaces-head { padding: 12px 20px; border-bottom: var(--reg-hair) solid var(--reg-pencil); font: var(--reg-w-label) var(--reg-t-label)/1.3 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); }
.regx-surfaces > li.regx-surfaces-head + li { border-top: 0; }
.regx-surfaces b { font: var(--reg-w-strong) var(--reg-t-body)/1.3 var(--reg-font-body); }
.regx-surfaces span { line-height: 1.5; }
.regx-surfaces .regx-tense { justify-self: start; }
.regx-role { font: var(--reg-w-label) var(--reg-t-label)/1.5 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); }
.regx-surfaces code, .regx-band code, .regx-faq code { font: var(--reg-w-body) .86em var(--reg-font-mono); letter-spacing: .02em; border-bottom: var(--reg-hair) dashed var(--reg-pencil-faint); }

/* ---------- TWO-UP and FOUR-UP ---------- */
.regx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.regx-split--form { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.regx-grid4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: var(--reg-rule) solid var(--reg-pencil); }
.regx-grid4 > div { padding: 24px 32px 28px 0; border-bottom: var(--reg-hair) solid var(--reg-pencil-faint); }
.regx-grid4 > div:nth-child(2n) { padding-left: 32px; border-left: var(--reg-hair) solid var(--reg-pencil-faint); }
.regx-grid4 h3 { margin-bottom: 10px; }
.regx-grid4 p { margin: 0; }

/* ---------- CATALOGUE CARD ----------
   A drawn box: code and audience on top, the project in the middle, the
   action at the foot. Services carry no prices (ruled 2026-11-17); the
   .regx-price rows are kept only for a card that has to show one. */
.regx-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.regx-card { border: var(--reg-rule) solid var(--reg-pencil); display: grid; grid-template-rows: auto 1fr auto auto; min-width: 0; }
.regx-card > header { display: flex; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: var(--reg-hair) solid var(--reg-pencil); font: var(--reg-w-label) var(--reg-t-label)/1.3 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); }
.regx-card-body { padding: 24px 20px; display: grid; gap: 16px; align-content: start; }
.regx-card-body h3 { font: var(--reg-w-strong) var(--reg-t-body)/1.3 var(--reg-font-body); margin: 0; }
.regx-card-body p { margin: 0; line-height: 1.55; }
.regx-price { width: 100%; border-collapse: collapse; border-top: var(--reg-rule) solid var(--reg-pencil); font: var(--reg-w-label) var(--reg-t-label)/1.35 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.regx-price th { text-align: left; font-weight: var(--reg-w-label); color: var(--reg-pencil-70); padding: 12px 20px; width: 40%; }
.regx-price td { padding: 12px 20px; font-size: var(--reg-t-body); font-weight: var(--reg-w-strong); }
.regx-price tr + tr th, .regx-price tr + tr td { border-top: var(--reg-hair) solid var(--reg-pencil-faint); }
.regx-card > footer { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 20px; border-top: var(--reg-hair) solid var(--reg-pencil); }
/* card copy, read in three steps: the problem (white), what we do (pale pencil),
   then what you get as a drawing's parts list, each line ticked in lime ink */
.regx-card-body h3 { font: var(--reg-w-strong) var(--reg-t-body)/1.2 var(--reg-font-display); text-transform: uppercase; letter-spacing: .02em; }
.regx-card-body .regx-hook { font-weight: var(--reg-w-strong); line-height: 1.35; }
.regx-card-body .regx-what { color: var(--reg-pencil-70); }
.regx-gets { margin-top: 8px; }
.regx-gets ul { list-style: none; margin: 8px 0 0; padding: 0; border-top: var(--reg-hair) solid var(--reg-pencil); }
.regx-gets li { position: relative; padding: 9px 0 9px 22px; border-bottom: var(--reg-hair) solid var(--reg-pencil-faint);
  font: var(--reg-w-label) var(--reg-t-label)/1.45 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; }
.regx-gets li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 10px; background: var(--reg-mk-lime); transform: rotate(-6deg); border-radius: 2px 4px 2px 3px; }
.regx-card > header > :first-child { white-space: nowrap; }
.regx-card > header > :last-child { text-align: right; }
.regx-card > footer > :only-child { margin-left: auto; }
.regx-card--wide { grid-column: 1 / -1; }

/* ---------- PERSON CARD ----------
   A cutout portrait standing on a swipe of marker ink. To fill one in, replace
   the .regx-cutout-ph svg with <img class="regx-cutout" src="team/<name>.png"
   alt="<Name>"> (a transparent-background PNG, the figure cropped at the chest)
   and drop data-placeholder from the article. */
.regx-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.regx-person { border: var(--reg-rule) solid var(--reg-pencil); display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.regx-portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: var(--reg-hair) solid var(--reg-pencil); display: grid; place-items: end center; }
.regx-portrait::before { /* the marker swipe: uneven edges, colour past where a line would be */
  content: ""; position: absolute; left: 12%; right: 10%; top: 26%; bottom: 8%;
  background: var(--mk); opacity: .9; transform: rotate(-4deg);
  border-radius: 46% 54% 40% 60% / 18% 12% 22% 14%; filter: url(#mk-swipe); }
.regx-person:nth-child(2) .regx-portrait::before { transform: rotate(3deg); border-radius: 58% 42% 52% 48% / 14% 20% 12% 18%; }
.regx-person:nth-child(3) .regx-portrait::before { transform: rotate(-2deg); border-radius: 40% 60% 48% 52% / 20% 14% 18% 12%; }
.regx-cutout, .regx-cutout-ph { position: relative; width: 86%; height: auto; display: block; }
.regx-cutout-ph { stroke: var(--reg-pencil); stroke-width: 2.2; fill: var(--reg-ground); stroke-linejoin: round; stroke-linecap: round; filter: url(#reg-pencil); }
.regx-cutout-ph .hair { fill: var(--reg-ground-deep); }
.regx-cutout-ph .ln { fill: none; stroke-width: 1.6; }
.regx-person .regx-card-body { padding: 20px; gap: 6px; }
.regx-person .regx-role { font: var(--reg-w-label) var(--reg-t-label)/1.4 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); margin: 0; }
.regx-person .regx-card-body p:last-child { margin-top: 10px; }

/* ---------- FAQ ----------
   Gap: no disclosure component. Native details/summary, 56px rows,
   a drawn plus that becomes a minus. The state change cuts. */
.regx-faq { margin: 0; padding: 0; list-style: none; border-top: var(--reg-rule) solid var(--reg-pencil); max-width: calc(var(--reg-measure) + 288px); }
.regx-faq > li { border-bottom: var(--reg-hair) solid var(--reg-pencil-faint); }
.regx-faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 24px; align-items: center;
  min-height: 64px; padding: 12px 0; font: var(--reg-w-strong) var(--reg-t-body)/1.35 var(--reg-font-body);
}
.regx-faq summary::-webkit-details-marker { display: none; }
.regx-faq summary::after {
  content: ""; width: 20px; height: 20px; justify-self: end;
  background:
    linear-gradient(var(--reg-pencil), var(--reg-pencil)) center / 100% var(--reg-rule) no-repeat,
    linear-gradient(var(--reg-pencil), var(--reg-pencil)) center / var(--reg-rule) 100% no-repeat;
}
.regx-faq details[open] summary::after { background: linear-gradient(var(--reg-pencil), var(--reg-pencil)) center / 100% var(--reg-rule) no-repeat; }
.regx-faq details > div { padding: 0 0 24px; }
.regx-faq details > div p { margin: 0 0 1em; max-width: var(--reg-measure); line-height: 1.6; }

/* ---------- FORM additions ----------
   Gap: the Register has an input and a tag. A contact form also needs a
   textarea, a hint line, and a status line that is never a toast. */
.regx-form { display: grid; gap: 28px; max-width: calc(var(--reg-measure) + 96px); }
.regx-form .reg-label { color: var(--reg-pencil); }
.regx-textarea { min-height: 144px; padding: 16px 18px; line-height: 1.5; resize: vertical; font-family: var(--reg-font-body); letter-spacing: .006em; }
.regx-hint { font: var(--reg-w-label) var(--reg-t-label)/1.5 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); margin: 0; }
.regx-formstatus { border: var(--reg-rule) solid var(--reg-pencil); padding: 16px 18px; font: var(--reg-w-label) var(--reg-t-label)/1.5 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; }
.regx-formstatus[hidden] { display: none; }
.regx-enquiring { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- STATEMENT (closing) ---------- */
.regx-close { display: grid; gap: 32px; justify-items: start; }
.regx-close .reg-chalk { max-width: 22ch; }

/* ---------- FIGURE (iso kit) ----------
   Gap: A7, the site's iso kit. The figure sits in the hero, inside a
   drawn frame with a caption like a drawing detail. */
.regx-fig { margin: 0; min-width: 0; }
.regx-fig svg { display: block; width: 100%; height: auto; overflow: visible; }
.regx-fig figcaption { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: var(--reg-w-label) var(--reg-t-label)/1.4 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); }
.regx-fig .lbl { fill: var(--reg-pencil-70); stroke: none; font: var(--reg-w-label) var(--reg-t-label) var(--reg-font-mono); letter-spacing: .14em; text-transform: uppercase; }
.regx-fig .lbl-strong { fill: var(--reg-pencil); }
.regx-fig .bal { fill: var(--reg-ground); stroke: var(--reg-pencil); stroke-width: 1; }
.regx-fig .baltxt { fill: var(--reg-pencil); stroke: none; font: var(--reg-w-label) var(--reg-t-label) var(--reg-font-mono); }
.regx-fig .flow { fill: none; stroke: var(--reg-pencil); stroke-width: 1; stroke-dasharray: 6 5; color: var(--reg-pencil); }
.regx-fig .cand { stroke-dasharray: 5 4; }
.regx-fig .card-ground { fill: var(--reg-ground); }

/* ---------- SMALL SCREENS ---------- */
@media (max-width: 1100px) {
  .regx-hero-sub { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .regx-steps { grid-template-columns: minmax(0, 1fr); }
  .regx-steps > li, .regx-steps > li + li { padding: 24px 0; border-left: 0; }
  .regx-steps > li + li { border-top: var(--reg-hair) solid var(--reg-pencil-faint); }
  .regx-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .regx-nav { grid-template-columns: 1fr auto; padding: 10px 14px; gap: 12px; }
  .regx-nav > .reg-wm { grid-column: 1; grid-row: 1; justify-self: start; }
  .regx-navend { grid-column: 2; grid-row: 1; }
  .regx-nav > nav { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
  .regx-links { justify-content: space-between; border-top: var(--reg-hair) solid var(--reg-pencil-faint); padding-top: 4px; gap: 0; }
  .regx-links a { padding: 0 6px; }
  .regx-status { display: none; }
  .regx-band { padding: 40px 18px; }
  .regx-hero { padding-top: 32px; padding-bottom: 40px; }
  .regx-band > header { margin-bottom: 28px; }
  .regx-surfaces > li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px; }
  .regx-surfaces > li.regx-surfaces-head { display: none; }
  .regx-grid4 { grid-template-columns: minmax(0, 1fr); }
  .regx-grid4 > div, .regx-grid4 > div:nth-child(2n) { padding: 20px 0; border-left: 0; }
  .regx-cards { grid-template-columns: minmax(0, 1fr); }
  .regx-key--lg { min-height: 56px; padding: 0 28px; }
  .reg-eyebrow--wide { letter-spacing: .32em; }
  .regx-hero h1.reg-chalk { font-size: var(--reg-t-title); }
  .reg-chalk { hyphens: auto; overflow-wrap: anywhere; }
}
.regx-stack28 { display: grid; gap: 24px; }

/* nav key: on a phone the wordmark and a 21px "Get in touch" key need 374px and the
   band has 299px. The label shortens to "Contact" under 600px; the hero key below keeps
   the full label. Proposed, see proposal.md section 3.1. */
.regx-short { display: none; }
@media (max-width: 600px) {
  .regx-navkey { padding: 0 16px; }
  .regx-navkey .regx-long { display: none; }
  .regx-navkey .regx-short { display: inline; }
}
.regx-band a[href^="mailto:"] { overflow-wrap: anywhere; }

/* phone titles: chalk caps at 34px ran the home H1 to ten lines and pushed the lede and the
   action below the first screen. Under 600px the H1 and every sentence title are set as prose (Plex Sans 34/600,
   sentence case, no chalk filter), and the action moves ahead of the who-it-is-for line. */
@media (max-width: 600px) {
  .regx-hero h1.reg-chalk, .regx-band h2.reg-chalk { filter: none; text-transform: none; font-family: var(--reg-font-body); font-weight: var(--reg-w-strong); font-variation-settings: normal; letter-spacing: -.004em; line-height: 1.18; }
  .regx-hero-copy { gap: 20px; }
  .regx-hero-sub, .regx-hero-sub > .regx-stack28 { display: contents; }
  .regx-hero-sub .reg-lede { order: 1; }
  .regx-hero-sub .regx-actions { order: 2; }
  .regx-hero-sub .regx-for, .regx-hero-sub .reg-row { order: 3; }
  .regx-hero .reg-eyebrow--wide { font-size: var(--reg-t-label); }
}

/* section figures (Figs. 2-7): full width under the section header */
.regx-secfig { margin: 0 0 40px; max-width: 1100px; }


/* ============================================================
   MARKER RENDER · ruled 2026-11-17
   The blueprint stays: Prussian ground, white pencil, drawing-office
   furniture. Colour comes back as highlighter laid over it, in the four
   hues the placard system used. It is ink inside a pencil outline, a
   swipe behind a word, the fill of the one primary key. It is never a
   line and never the colour of text.
   Hierarchy, in order: lime ink, then white pencil, then pale pencil.
   ============================================================ */

/* ---- figures ---- */
.regx-fig .reg-svg { stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.regx-fig .fine { stroke-width: 1; stroke-opacity: .5; }
.regx-fig .plate { stroke-opacity: .28; }
.regx-fig .flow { stroke-width: 1.4; stroke-opacity: .8; stroke-linecap: butt; }
.regx-fig .cand { stroke-width: 1.4; stroke-linecap: butt; }

.ink-lime    { --mk: var(--reg-mk-lime); }
.ink-orange  { --mk: var(--reg-mk-orange); }
.ink-cyan    { --mk: var(--reg-mk-cyan); }
.ink-magenta { --mk: var(--reg-mk-magenta); }
.regx-fig .mk {
  stroke: none; filter: url(#mk-wobble);
  --mk-t: var(--mk);
  /* shade in the pen's own hue: mixing toward the ground turned orange to brown */
  --mk-l: color-mix(in oklab, var(--mk) 80%, black);
  --mk-r: color-mix(in oklab, var(--mk) 58%, black);
}
/* pale wash: everything that is not the subject. Still three tones, almost no chroma. */
.regx-fig .mk.ink-paper {
  --mk-t: color-mix(in srgb, var(--reg-pencil) 30%, var(--reg-ground));
  --mk-l: color-mix(in srgb, var(--reg-pencil) 17%, var(--reg-ground));
  --mk-r: color-mix(in srgb, var(--reg-pencil) 7%, var(--reg-ground));
}
.regx-fig .mk-t { fill: var(--mk-t); }
.regx-fig .mk-l { fill: var(--mk-l); }
.regx-fig .mk-r { fill: var(--mk-r); }
.regx-fig .mk-pass { fill: var(--reg-ground-deep); fill-opacity: .16; }
.regx-fig .mk-ghost { opacity: .42; }
.regx-fig .glint { stroke: var(--reg-pencil); stroke-width: 2.4; }
.regx-fig .bad { stroke: var(--reg-mk-magenta); stroke-width: 3.2; }
.regx-fig .tick { fill: none; stroke: var(--reg-mk-lime); stroke-width: 3.2; }

/* labels: one line, firm pencil, wide apart. The balloon carries the object's ink. */
.regx-fig .lbl { fill: var(--reg-pencil); font-weight: var(--reg-w-strong); letter-spacing: .12em; }
.regx-fig .lead { stroke: var(--reg-pencil); stroke-width: 1; stroke-opacity: .55; }
.regx-fig .dot { fill: var(--reg-pencil); stroke: none; }
.regx-fig .bal { fill: var(--mk, var(--reg-ground)); stroke: var(--reg-pencil); stroke-width: 1.4; }
.regx-fig .baltxt { font-weight: var(--reg-w-strong); }
.regx-fig .baltxt-ink { fill: var(--reg-on-mk); }
.regx-fig .ink-magenta + .baltxt-ink { fill: var(--reg-pencil); }
.regx-fig figcaption { margin-top: 20px; }

/* ---- type hierarchy ----
   One chalk line per sheet: the H1 (and the closing statement). Section titles lose the
   graphite tooth, which at 34px was eating the letterforms; they are plain firm pencil. */
.regx-band h2.reg-chalk--title { filter: none; letter-spacing: 0; }
.regx-band > header { gap: 22px; }

/* the highlighter swipe: lime behind a word, the word in the ground's own blue */
.regx-hl {
  color: var(--reg-on-mk); padding: 0 .14em; margin: 0 -.04em;
  background: linear-gradient(178deg, transparent 9%, var(--reg-mk-lime) 9% 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* clause number: the same pen, small */
.regx-band .reg-clause > i { color: var(--reg-on-mk); background: var(--reg-mk-lime); padding: 3px 7px; font-weight: var(--reg-w-strong); }
.regx-band .reg-clause { align-items: center; gap: 14px; }

/* the one primary key per view is inked; the nav key and the card keys stay pencil */
.reg-key.regx-key--lg { background: var(--reg-mk-lime); color: var(--reg-on-mk); font-weight: var(--reg-w-strong); }

/* ---- THE CHROMATIC PRESS, in marker ink (founder, 2026-11-17) ------------
   The plates are the page's own pens: cyan, magenta, lime. The inked key is
   lime already, so its third plate is orange. At full marker strength they read
   as the same ink that fills the figures, not as a separate effect.

   The press is louder than REV A's and holds at its peak. A 7px splay seen for
   one stepped frame is invisible in real motion (the old site's finding,
   epq-site.css "JS-fired variant"), so the plates jump straight to ~13px, hold
   there for about 120ms, then step back as the key seats. Still four stepped
   frames, no easing. register.js plays it to the end on every press. */
.regx-page {
  --reg-plate-c: var(--reg-mk-cyan);
  --reg-plate-m: var(--reg-mk-magenta);
  --reg-plate-y: var(--reg-mk-lime);
  --reg-plate-a: 88%;
}
.regx-page .reg-key.regx-key--lg { --reg-plate-y: var(--reg-mk-orange); }
/* The plates leave the key's own box-shadow (which keeps only the pencil ghost)
   and print on a layer behind it, so the marker filter (#mk-plate, injected by
   register.js) can wobble their edges and streak the ink without touching the
   key's face or its type. The layer is the key's size, and an outer shadow never
   paints inside its own box, so the face stays clean apart from the bleed. */
.regx-page .reg-key { position: relative; isolation: isolate; box-shadow: var(--sh) var(--sh) 0 0 var(--reg-pencil-faint); }
.regx-page .reg-key::before {
  content: ""; position: absolute; inset: calc(-1 * var(--reg-rule)); z-index: -1; pointer-events: none;
  filter: url(#mk-plate);
  box-shadow:
    var(--cx) var(--cy) 0 0 color-mix(in srgb, var(--reg-plate-c) var(--reg-plate-a), transparent),
    var(--mx) var(--my) 0 0 color-mix(in srgb, var(--reg-plate-m) var(--reg-plate-a), transparent),
    var(--yx) var(--yy) 0 0 color-mix(in srgb, var(--reg-plate-y) var(--reg-plate-a), transparent);
}
.regx-page .reg-key:active, .regx-page .reg-key.is-pressing { animation: regx-press var(--reg-press-ms) steps(1, end) forwards; }
@keyframes regx-press {
  0%   { --tr: 0px; --sh: 5px; --cx: 0px;   --cy: 0px; --mx: 0px;  --my: 0px;  --yx: 0px; --yy: 0px; }
  15%  { --tr: 3px; --sh: 2px; --cx: -13px; --cy: 9px; --mx: 13px; --my: -8px; --yx: 5px; --yy: 14px; }
  55%  { --tr: 4px; --sh: 1px; --cx: -6px;  --cy: 4px; --mx: 6px;  --my: -4px; --yx: 2px; --yy: 6px; }
  80%  { --tr: 5px; --sh: 0px; --cx: -2px;  --cy: 1px; --mx: 2px;  --my: -1px; --yx: 1px; --yy: 2px; }
  100% { --tr: 5px; --sh: 0px; --cx: 0px;   --cy: 0px; --mx: 0px;  --my: 0px;  --yx: 0px; --yy: 0px; }
}
/* a link is a word: no box moves, the letterforms split */
.regx-page a:not(.reg-key).is-firing, .regx-page a:not(.reg-key):active { animation: regx-press-word 300ms steps(1, end) both; filter: url(#mk-word); }
@keyframes regx-press-word {
  0%   { text-shadow: none; }
  15%  { text-shadow: -4px 3px 0 var(--reg-plate-c), 4px -2px 0 var(--reg-plate-m), 1px 4px 0 var(--reg-plate-y); }
  55%  { text-shadow: -2px 1px 0 var(--reg-plate-c), 2px -1px 0 var(--reg-plate-m), 1px 2px 0 var(--reg-plate-y); }
  80%  { text-shadow: -1px 1px 0 var(--reg-plate-c), 1px 0 0 var(--reg-plate-m), 0 1px 0 var(--reg-plate-y); }
  100% { text-shadow: none; }
}

/* step swatches: the pen that draws that stage in Fig. 1, in place of its hatch */
.regx-steps .reg-swatch { background-image: none; }
.regx-steps .reg-hatch-capture { background-color: var(--reg-mk-orange); }
.regx-steps .reg-hatch-ratify  { background-color: var(--reg-mk-magenta); }
.regx-steps .reg-hatch-recall  { background-color: var(--reg-mk-lime); }

.regx-band .reg-statement { border-left: 6px solid var(--reg-mk-lime); }

/* a hint is a sentence, so it is set as one: mono caps at 13px ran to four tracked lines */
p.regx-hint { font: var(--reg-w-body) var(--reg-t-body)/1.5 var(--reg-font-body); letter-spacing: .006em; text-transform: none; }

/* the phone key: chips, not rows. One word and one inked balloon each, wrapping. */
.regx-fig .fig-key { flex-wrap: wrap; gap: 12px 22px; margin-top: 20px; padding-top: 16px; border-top: var(--reg-hair) solid var(--reg-pencil-faint); }
.regx-fig .fig-key li { gap: 10px; padding: 0; border: 0; font-weight: var(--reg-w-strong); letter-spacing: .12em; }
.regx-fig .fig-key .reg-balloon { width: 28px; height: 28px; font-weight: var(--reg-w-strong); }
.regx-fig .fig-key .reg-balloon[class*="ink-"] { background: var(--mk); color: var(--reg-on-mk); }
.regx-fig .fig-key .reg-balloon.ink-magenta { color: var(--reg-pencil); }

/* ============================================================
   STRUCTURE PASS · 2026-11-17
   The words that were left lived in structures, so the structures change:
   the three steps become the hero figure's caption, the surfaces table becomes
   the figure's legend, the roles table and the four-up grid become strips,
   the FAQ folds into the sections it repeated.
   ============================================================ */

/* a section title runs the width of the sheet: one or two lines, not five */
.regx-band > header.regx-wide { max-width: none; }
.regx-band h2.reg-chalk--title { max-width: 30em; }
.regx-band > p { margin-top: 0; }

/* hero caption states: three lines stacked in one cell, one shown, cut on the figure's beats */
.regx-states { list-style: none; margin: 24px auto 0; padding: 0; max-width: 46ch; display: grid; gap: 12px; }
.regx-states li { display: flex; gap: 16px; align-items: center; min-width: 0; }
.regx-states p { margin: 0; line-height: 1.4; max-width: none; }
.regx-states b { display: block; font: var(--reg-w-label) var(--reg-t-label)/1.4 var(--reg-font-mono); letter-spacing: var(--reg-track-label); text-transform: uppercase; color: var(--reg-pencil-70); }
.regx-states.is-live { gap: 0; }
.regx-states.is-live li { grid-area: 1 / 1; opacity: 0; }
.regx-states.is-live li.on { opacity: 1; }
.reg-balloon[class*="ink-"] { background: var(--mk); color: var(--reg-on-mk); font-weight: var(--reg-w-strong); }
.reg-balloon.ink-magenta { color: var(--reg-pencil); }

/* figure legend: the figure's own numbers, one short line each */
.regx-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: var(--reg-rule) solid var(--reg-pencil); }
.regx-legend > li { padding: 22px 0 24px; border-bottom: var(--reg-hair) solid var(--reg-pencil-faint); }
.regx-legend h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.regx-legend .reg-balloon { width: 28px; height: 28px; }
.regx-legend p { margin: 0; line-height: 1.45; color: var(--reg-pencil-70); }
.regx-nokey .fig-key { display: none !important; }

/* strip: four cells on one rule. A term and at most two words, or a claim alone. */
.regx-strip { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--reg-rule) solid var(--reg-pencil); }
.regx-strip > * { margin: 0; padding: 18px 24px 4px 0; min-width: 0; }
.regx-strip > * + * { padding-left: 24px; border-left: var(--reg-hair) solid var(--reg-pencil-faint); }
.regx-strip dt, .regx-strip b { font: var(--reg-w-strong) var(--reg-t-body)/1.3 var(--reg-font-body); }
.regx-strip dd { margin: 4px 0 0; color: var(--reg-pencil-70); }
.regx-strip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.regx-close p { max-width: 52ch; }

@media (max-width: 1100px) {
  .regx-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .regx-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .regx-strip > *:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 700px) {
  .regx-legend { grid-template-columns: minmax(0, 1fr); }
  .regx-strip { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .regx-strip > * { padding: 14px 0; border-left: 0; }
  .regx-strip > * + * { padding-left: 0; border-top: var(--reg-hair) solid var(--reg-pencil-faint); }
  .regx-fig .plate { display: none; }
  .regx-states { max-width: none; }
}

/* =========================================================================
   FOUNDER PASS 2 (2026-11-17): the roundel returns; the zone numbers, their
   rules and the corner crosshairs go; the grid fades behind text and objects;
   the marker leaves its line. The ground's hue is not touched: every fade is
   the ground colour itself laid over the grid.
   ========================================================================= */
.regx-page.reg-sheet { border: 0; padding: 0; }

/* text: a soft halo of ground around every glyph knocks the grid back */
.regx-page {
  --halo: var(--reg-ground);
  text-shadow: 0 0 3px var(--halo), 0 0 9px var(--halo), 0 0 16px var(--halo), 0 0 24px var(--halo);
}
.regx-page :is(.reg-key, .reg-balloon, .regx-hl, .reg-clause > i, .reg-tb, .reg-detail, input, textarea, select, svg) { text-shadow: none; }
.regx-page .reg-detail { background: var(--reg-ground); }

/* figures: one filter on the drawing; filled things get a halo, hairlines almost none */
.regx-fig .reg-svg { filter: url(#fig-halo); }
.regx-fig .fig-labels .lbl { filter: url(#fig-halo-t); }
.halo-flood { flood-color: var(--reg-ground); }

/* the marker: a heavier pen, colour past the outline */
.regx-fig .mk :is(.mk-t, .mk-l, .mk-r) { stroke-width: 5; stroke-linejoin: round; }
.regx-fig .mk .mk-t { stroke: var(--mk-t); }
.regx-fig .mk .mk-l { stroke: var(--mk-l); }
.regx-fig .mk .mk-r { stroke: var(--mk-r); }
.regx-fig .mk-pass { fill-opacity: .22; }

/* the roundel: the certification mark, flat, its ring ticking 8 degrees a second */
.regx-hero-copy { grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; }
.regx-hero-copy > :not(.regx-roundel) { grid-column: 1; }
.regx-roundel { grid-column: 2; grid-row: 1 / span 3; width: 176px; height: 176px; align-self: start; overflow: visible;
  filter: drop-shadow(0 0 10px var(--reg-ground)) drop-shadow(0 0 18px var(--reg-ground)); }
.regx-roundel .rd-plate { fill: var(--reg-ground); stroke: var(--reg-pencil); }
.regx-roundel .rd-line { fill: none; stroke: var(--reg-pencil); }
.regx-roundel .rd-disc { fill: var(--reg-ground-deep); stroke: var(--reg-pencil); stroke-width: 1.2; }
.regx-roundel text { fill: var(--reg-pencil); font-family: var(--reg-font-mono); }
.regx-roundel .rd-epq { font-family: var(--reg-font-display); font-weight: 800; letter-spacing: .02em; }
.regx-roundel .rd-ring { transform-box: view-box; transform-origin: center; animation: regx-ratchet 45s steps(45) infinite; }
@keyframes regx-ratchet { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .regx-hero-copy { grid-template-columns: minmax(0, 1fr); }
  .regx-roundel { grid-column: 1; grid-row: auto; order: -1; width: 112px; height: 112px; }
}

/* the wordmark's rule is a pronunciation guide: EPI | SQUIRE, two hairlines with a
   clear break where the syllables part (founder, 2026-11-17) */
.reg-wm .regx-syl { position: relative; display: inline-block; padding-bottom: .26em; }
.reg-wm .regx-syl::after {
  content: ""; position: absolute; left: .04em; right: .04em; bottom: 0;
  height: max(1px, .07em); background: currentColor; opacity: .75;
}
.reg-wm .regx-syl:first-child::after { right: .09em; }
.reg-wm .regx-syl + .regx-syl::after { left: .09em; }
