/* ============================================================================
   Proceptio.AI - design system
   proceptio.ai only. Nothing here is shared with, or deployed to, any other site.

   DIRECTION, 2026-08-28: the proceptio.com "Rectilinear" system, in the STEEL
   palette the founder picked from the 26-specimen picker
   (design/palette-picker-2026-08-28.html, specimen 01). This REVERSES the
   2026-08-10 Retool-derived dark direction deliberately: capitalbridge.app and
   netsuitesync.com were restyled to Rectilinear on 2026-08-27, and one family
   language across proceptio.com and its product domains now outweighs the
   white-label argument the dark direction was accepted on. The picker file is
   the visual record of the decision and of every alternative considered (red,
   green, teal and purple were all considered and rejected, each for a stated
   reason).

   WHAT RECTILINEAR MEANS HERE, in one paragraph: white page ground, cool alt
   band, one steel-blue brand hue doing ALL accent duty, amber as text-sized
   micro-accents only, a deep blue field reserved for the footer, the heroes and
   the button wipe fill, hairline structure everywhere, flat and square (no
   radius, no shadow on site chrome), Sora 300-600 with hierarchy from SIZE, two
   1px page-line verticals through every band at >=1024px, and photographic
   full-screen heroes with the copy on the left.

   THE COLOUR LAW SURVIVES THE RESTYLE UNTOUCHED IN MEANING: --signal-no MEANS
   refused and --signal-yes MEANS permitted, and nothing else on the page may
   use those hues. The values are re-cut for AA on the new white ground (the
   old #E5806A / #86C8A3 were dark-ground values); the rules enforcing them
   still live at the END of this file at table-cell specificity, for the
   reasons recorded there. The measured-contrast discipline survives too: every
   muted ink step below is MEASURED against its ground, never eyeballed.

   THE JAVASCRIPT DECISION, and it went the other way. The restyle brief allowed
   one small script for the night nav and a CSP widened to `script-src 'self'`.
   Both were written, and both were REVERTED the same day, because this site
   publishes a claim that a reviewer checks in one keystroke: /legal/privacy says
   "this website sets no cookies, RUNS NO JAVASCRIPT, and loads nothing from
   anybody else - you can verify all three by viewing the source of this page",
   and /security/sub-processors leans on the same fact. Adding a scroll listener
   would have made a published, checkable claim false on the product whose entire
   argument is that it states only what it can prove; the alternative was
   rewriting three legal pages to fit an implementation detail, which is worse.

   So the site is still script-free and the CSP is still `default-src 'none'`
   with NO script-src. The night nav rides a scroll-driven view timeline (see the
   NAV block), the reveals ride their own, the phone switchboard is a checkbox,
   the audit-trail filter is a radio group and the hero exchange is keyframes.
   Where a browser cannot run any of it, the page is complete and still: a solid
   white bar and everything visible.

   THE SUPERSEDED DIRECTION, kept as history (2026-08-10 to 2026-08-28): ground
   #151515 warm near-black measured from retool.com, ink #E9EBDF warm off-white,
   display at weight 300 with tight negative tracking, fully-rounded pill
   buttons, colour living in artwork washes because the chrome was colourless.
   Its teardown is design/retool-direction/ and its lessons that were about
   MEASUREMENT rather than about the palette (the 0.55-alpha floor, the
   ground-moves-under-the-token trap, the specificity fights the signal colours
   lost) are carried forward in the comments below, because they will be true
   in any palette. What it cost to leave: the white-label argument that a
   partner-operated instance was never going to wear Proceptio red. Rectilinear
   is answered on that point rather than exempt from it - the STEEL palette is
   NOT proceptio.com's red, it is the same STRUCTURE in this product's own hue,
   which is what makes the family legible without making this site a copy.

   WHAT IS MEASURED, and by what (run these before believing anything here):
     python build.py                     31 pages, no orphan, no dead link
     node tools/audit/route-audit.mjs    hero = one screen, grid law, night nav,
                                         overflow, per-page chrome, chrome links
     node tools/audit/contrast.mjs       every ink/ground pair on every route,
                                         scored against the RENDERED ground
     node tools/audit/_wcag.mjs <dir>    hero frames' copy-zone luminance
   ========================================================================== */

/* ---- Faces. Self-hosted files, not data URIs (font-src 'self'). ---- */
@font-face {
  font-family: 'Sora';
  src: url(/assets/fonts/sora-latin.woff2) format('woff2');
  font-weight: 200 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  src: url(/assets/fonts/sora-latin-ext.woff2) format('woff2');
  font-weight: 200 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url(/assets/fonts/jetbrains-mono-latin.woff2) format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  /* ---- STEEL, the approved values (picker specimen 01; do not re-derive,
     and do not drift toward red, green, teal or purple). ---- */

  /* Surfaces: white page ground + the cool alt band. */
  --surface:     #ffffff;
  --surface-alt: #f5f7f9;
  /* Lifted chrome INSIDE depicted windows (title bars, filter strips). */
  --surface-2:   #eef1f4;

  /* Ink: a cool near-black family with a breath of the steel hue.
     MEASURED on white (the 0.55-alpha lesson from the dark era, applied in
     reverse): --ink 14.9:1, --ink-2 7.6:1, --ink-3 5.6:1. Anything quieter
     than --ink-3 on white fails the 4.5 floor; if a quieter step feels
     necessary the answer is size or weight, not a lighter grey. */
  --ink-heading: #111820;
  --ink:         #22303e;
  /* SOLID values, not alphas: on the dark ground alpha inks compounded with
     the dimming animations (opacity multiplies a token's own alpha - the
     recorded 2.26:1 failure); on white there is no translucency worth keeping. */
  /* THE SUPPORTING TIER, softened 2026-08-28 and made an ALPHA rather than a
     solid. This is the one token that carries every piece of second-rank prose
     on the site - .lead, .card p, .beat p, .story-panel p, .ledger li, table
     cells: 25 call sites - and at #435362 it measured 7.92:1 on white, which is
     nearly the full ink. A card's title and its explanation therefore landed at
     the same weight and the eye had nothing to sort by.

     Measured against proceptio.com over six pages each: it mutes 56% of its
     paragraphs (307/548) to our 13.5% (28/208), and its muted step is an alpha
     of the ink - rgba(29,29,31,0.62), 4.74:1 - not a second colour. An alpha is
     what makes it read as the SAME voice speaking more quietly, and it is what
     lets one value sit correctly on white, on the alt band and on the tinted
     surface without a variant per ground.

     rgba(17,24,32,0.62) measures 5.00:1 on white - the reference's softness
     with a little more headroom for the tinted grounds. On dark this token is
     already overridden to --on-dark-soft (72% white), which is exactly what
     proceptio.com uses there, so only the light side needed the change. */
  --ink-2:       rgba(17, 24, 32, 0.62);
  --ink-3:       #5d6c7d;

  /* Lines: cool quiet hairlines on white; the on-dark value for deep fields. */
  --line:             #e3e8ee;
  --line-2:           #ccd5de;
  --hairline-on-dark: rgba(255, 255, 255, 0.14);

  /* Brand: steel blue does ALL accent duty (links, buttons, kickers).
     8.0:1 on white, so one value serves text at every size. The lighter
     sibling exists for LARGE DISPLAY use only, never text-sized duty. */
  --brand:         #33526e;
  --brand-strong:  #2a4459;
  --brand-display: #3e6285;

  /* Micro-accent: amber, TEXT-SIZED ONLY, never a surface.
     THE ONE VALUE MOVED OFF THE APPROVED SPECIMEN, and only after measuring.
     The approved amber is #a2661f, which the picker rendered on WHITE, where
     it measures 4.71:1 and passes. On the alt band #f5f7f9 the same ink
     measures 4.39:1 and fails, across 34 elements - the site's own recorded
     trap ("the token had not changed; what was underneath it had"). Three
     units darker on the same hue clears both grounds (5.03:1 on white,
     4.68:1 on the alt band) and is indistinguishable beside the specimen. A
     micro-accent that is legal on one band and illegal on the next is worse
     than a hue shift nobody can see. */
  --accent:         #9c621d;
  --accent-on-dark: #e8a765;   /* 8.38:1 on the deep field, measured */

  /* Deep field: footer, hero grades, button wipe fill. Clearly BLUE - if it
     drifts toward teal-navy it collides with NetSuite Sync's field. */
  --brand-deep:   #0b1c28;
  --brand-deep-2: #122b3c;
  --brand-deep-3: #1a3a50;
  --on-dark:      #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.72);

  /* STATUS ONLY. Never decoration - the colour law, re-cut for white.
     MEASURED: #9d3a22 6.0:1, #1e6e41 5.3:1 on white. */
  --signal-no:  #9d3a22;
  --signal-yes: #1e6e41;

  /* The contact CTA panel is the ONLY place brand and amber blend. */
  --gradient-brand: linear-gradient(118deg, #0b1c28 -10%, #33526e 58%, #e8a765 215%);
  /* The statement band's own field, LIFTED off --gradient-brand on purpose.
     proceptio.com's red works because it is a hue AND tone step away from the
     near-black hero above it. --gradient-brand is one step from our own hero
     scrim, so measured in situ the band read as the hero getting taller. Same
     118deg, same three stops, same off-canvas sand; the two dark stops move up
     into the brand steel so the band lands as a colour field.

     The third stop is STEEL, not the sand --gradient-brand ends on, and it is
     held DARK. Judged side by side at 1440: the sand stop desaturated the right
     half to a smoky grey, and a lighter right end also cost the turn its tone
     break, because --soft-on-dark is 55% white and needs a dark ground to
     read as the same sentence continuing. */
  --gradient-statement: linear-gradient(118deg, #0b1f30 -10%, #244d6d 55%, #376a90 175%);

  /* The one sanctioned shadow: DEPICTED SOFTWARE (drawn windows), tinted with
     the deep field's hue. Site chrome never carries it. */
  --surface-shadow: 0 18px 50px rgba(11, 28, 40, 0.12), 0 3px 12px rgba(11, 28, 40, 0.06);

  --font-ui:   'Sora', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Type: the Rectilinear scale. Hierarchy from SIZE, weights 300-600 only,
     display at 600, no negative-tracking tricks. */
  --t-display: clamp(2.6rem, 5vw, 4rem);
  --t-h2:      clamp(1.85rem, 3.2vw, 2.5rem);
  --t-h3:      1.375rem;
  --t-lead:    clamp(1.0625rem, 1.2vw, 1.25rem);
  --t-body:    1rem;
  --t-fine:    0.875rem;
  --t-mono:    0.8125rem;
  --t-micro:   0.6875rem;

  --shell:     1280px;
  --gutter:    48px;
  --nav-h:     64px;
  --band-y:    clamp(5rem, 9vw, 8.5rem);
  --measure:   68ch;
  /* Round PILLS inside depicted windows only; site chrome is square. */
  --pill:      9999px;

  /* Easing: the token family the build gate enforces. Values are the
     proceptio.com motion set; the names are unchanged from the dark era so
     every rule that references them repaints without an edit. */
  --ease-soft-out:    cubic-bezier(0.24, 0.01, 0.36, 1);
  --ease-soft-in-out: cubic-bezier(0.72, 0, 0.36, 1);
  --ease-out:         cubic-bezier(0.22, 1, 0.36, 1);

  --motion-color:  0.16s;
  --motion-ui:     0.22s;
  --motion-wipe:   0.28s;
  --motion-enter:  0.6s;
  --wipe-cleared:  0.10s;

  /* ---- ARTWORK COLOUR: the depicted-window hues, re-cut one step deeper for
     the white ground (the old values were pastels tuned for near-black).
     Same law as before: an artwork hue may never equal a signal hue, no
     artwork colour lands on a WORD, and there is still no artwork green -
     --art-teal is kept clearly blue-teal so a reader who has learned that
     green means permitted is never shown a green bar to misread. ---- */
  /* NO PURPLE (founder, 2026-08-28: "i also do not like that purple"). The two
     purple-family hues are gone: --art-violet was #7a6cc0 and --art-rose was
     #b25e8a, and between them they painted the plot's second series, four
     category markers and two social-card fields.
     The replacements are separated by LIGHTNESS rather than by inventing two
     more warm hues, because the six appear together in one list on
     /platform/connected-systems and a second brown beside --art-peach would
     be a distinction nobody can make at 7px. The CLASS NAMES are unchanged
     (.m-violet, .dot-rose and kin) so no markup moves; only these two values
     do. Read the names as slots, not as colours. */
  --art-peach:  #c07f36;
  --art-rose:   #8fa6bb;   /* was rose: a pale steel */
  --art-blue:   #4a7fa8;
  --art-violet: #64798f;   /* was violet: a mid slate */
  --art-cyan:   #2f89ad;
  --art-teal:   #2f8b80;

  /* The client rail (unchanged geometry; re-derive --rail-secs on a roster change). */
  --rail-h:    57px;
  --rail-gap:  4.5rem;
  --rail-secs: 103s;
}

@media (max-width: 900px) { :root { --gutter: 24px; } }
@media (max-width: 768px) { :root { --rail-h: 52px; --rail-gap: 3rem; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--t-body);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* NO LINK FALLS THROUGH TO THE BROWSER'S OWN COLOURS. THIS IS WHERE THE PURPLE
   CAME FROM (founder, 2026-08-28: "i do not like that purple font. eliminate
   purple from the whole page").

   The stylesheet had no base `a` rule at all - every link colour was written on
   a component (.btn, .ft-col a, .story-door a, the inline-link `:where()` list).
   That is fine until a link is added somewhere the list does not cover, and then
   the UA stylesheet answers instead: #0000EE unvisited, #551A8B - the purple -
   once the reader has been to that page. It is not a hue anyone chose, it does
   not appear until a page has been visited, so it never shows up in a fresh
   browser or a screenshot of one, and it is invisible to the contrast audit,
   which reads computed colour (browsers deliberately report a visited link's
   UNVISITED colour to stop history sniffing).

   MEASURED before the fix, over all 30 routes: 25 anchors were painting UA
   blue - all 21 mega-panel links, on every page, plus the four inline links in
   the footer CTA lede, which sit on the deep field where UA blue is nearly
   unreadable and UA purple is worse.

   `color: inherit` at type specificity is the whole guard: every component rule
   in this file is more specific, so nothing that already had a colour moves,
   and an anchor nobody has styled takes the colour of the text around it rather
   than the browser's. Author origin beats the UA origin, so this covers
   :visited too and no separate :visited rule is wanted (one would be a second
   place to keep in sync). The two anchors this exposed are given real colours
   at .nav-panel a and .cta-lede a. */
a { color: inherit; }

::selection { background: rgba(51, 82, 110, 0.22); color: var(--ink-heading); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

/* The bar is FIXED now (the night nav slides the hero underneath it), so main
   pushes all ordinary content below it and the hero pulls itself back up with
   a negative margin to run under the transparent bar. No :has() involved in
   the GEOMETRY, so it cannot fail by browser support. */
main { padding-top: var(--nav-h); overflow-x: clip; }

/* ---- Shell ---- */
.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.band > .shell { padding-block: var(--band-y); }
.band-tight > .shell { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* ---- THE GRID: two page-line verticals through every band (>=1024 only, the
   phone ruling), one pseudo-element painting both lines so there is exactly
   ONE place to switch them off, z-index -1 inside the band's stacking context
   so text is never sliced. Switched back ON with the Rectilinear restyle
   (they were commented out in the dark era); the alternating band grounds
   stay, and the hairlines ride above them. ---- */
.band { position: relative; z-index: 0; }
@media (min-width: 1024px) {
  .band::before {
    content: "";
    position: absolute; z-index: -1;
    top: 0; bottom: 0;
    left:  calc(max((100% - var(--shell)) / 2, 0px) + var(--gutter));
    right: calc(max((100% - var(--shell)) / 2, 0px) + var(--gutter));
    pointer-events: none;
    background-image:
      linear-gradient(var(--line), var(--line)),
      linear-gradient(var(--line), var(--line));
    background-repeat: no-repeat;
    background-size: 1px 100%;
    background-position: 0 0, 100% 0;
  }
}

/* Alternating grounds: white and the cool alt band, automatic so the rhythm
   cannot be broken by a forgotten class. The hairlines paint above the band
   background (z -1 vs the background itself), so the frame runs unbroken. */
main > section.band:nth-of-type(even) { background: var(--surface-alt); }

/* ---- THE TWO-TONE RUN-ON STATEMENT.

   One sentence in full ink, the continuation in the SAME size at a reduced
   tone, both halves inside one heading. The tone break carries the hierarchy,
   which is why this replaces a heading-plus-subtitle pair rather than
   decorating one: two sizes say "title, then smaller title", one size in two
   tones says "this sentence, then the rest of it".

   Values are proceptio.com's, re-measured on this palette. It is a device for
   STATEMENT lines - hero headlines, the closing panel, a claim band - and NOT a
   default: a one-clause headline has nothing to continue into, so build.py
   leaves those alone. ---- */
:root {
  --soft-on-dark:  rgba(255, 255, 255, 0.55);
  --soft-on-light: rgba(17, 24, 32, 0.52);
}
h1 .soft, h2 .soft, .claim p .soft { color: var(--soft-on-light); }
.ph h1 .soft, .ph h2 .soft { color: var(--soft-on-dark); }
.ft-msg p .soft { color: rgba(255, 255, 255, 0.55); }

/* ---- Type ---- */
h1, h2, h3 { margin: 0; color: var(--ink-heading); text-wrap: balance; letter-spacing: normal; }
h1 { font-size: var(--t-display); font-weight: 600; line-height: 1.08; max-width: 17ch; }
h2 { font-size: var(--t-h2);      font-weight: 500; line-height: 1.12; max-width: 24ch; }
h3 { font-size: var(--t-h3);      font-weight: 500; line-height: 1.25; }
p  { margin: 0; max-width: var(--measure); }
.lead  { font-size: var(--t-lead); color: var(--ink-2); line-height: 1.55; max-width: 52ch; font-weight: 300; }
.fine  { font-size: var(--t-fine); color: var(--ink-3); line-height: 1.6; }
strong { font-weight: 600; color: var(--ink-heading); }
b { font-weight: 600; }
.stack   { display: flex; flex-direction: column; gap: 1.25rem; }
.stack-l { display: flex; flex-direction: column; gap: clamp(2.5rem, 4vw, 3.5rem); }
.stack-s { display: flex; flex-direction: column; gap: 0.6rem; }

/* The micro-caps kicker: the ONE sanctioned uppercase (proceptio recipe,
   11px / 0.13em / 600 / brand). It replaces the dark era's mono eyebrow; the
   class name stays so every page repaints without an edit. */
.eyebrow {
  font-family: var(--font-ui); font-size: var(--t-micro);
  letter-spacing: 0.13em; text-transform: uppercase;
  font-weight: 600; color: var(--brand);
}

/* ---- The door at the end of each story step: quiet line, arrow affordance. ---- */
.story-door {
  margin-top: 1.5rem; padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: var(--t-fine);
}
.story-door a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--brand); text-decoration: none; font-weight: 400;
  transition: color var(--motion-color) var(--ease-soft-out);
}
/* A character, not a mask image: the CSP is img-src 'self' with no data:. */
.story-door a::after {
  content: "\2192";
  transition: transform var(--motion-ui) var(--ease-soft-out);
}
.story-door a:hover { color: var(--brand-strong); }
.story-door a:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .story-door a, .story-door a::after { transition: none; }
  .story-door a:hover::after { transform: none; }
}

/* ---- Buttons: SQUARE, hairline, bottom-up wipe to the deep field (the
   Rectilinear gesture; the pill died with the dark direction).

   Mechanics ported 1:1 from the CapitalBridge input.css / proceptio
   design-tokens.css pair: the fill is a solid layer scaled on Y (composited,
   never background-size), and on ENTER the label colour waits --wipe-cleared
   for the fill to pass the cap height while on LEAVE it snaps back at once.
   .btn is the solid primary; .btn-ghost is the hairline secondary, and on
   dark fields (.ph, .ft, .cta-panel) it re-cuts itself to the white hairline
   ghost via the token overrides those wrappers set. ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-size: var(--t-fine); font-weight: 500;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  padding: 0.9rem 1.5rem; border-radius: 0; min-height: 44px;
  background: var(--brand); color: var(--on-dark); border: 1px solid var(--brand);
  position: relative;
  isolation: isolate;
  transition: color 0s, border-color var(--motion-ui) var(--ease-soft-out);
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-color: var(--brand-deep);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--motion-wipe) var(--ease-soft-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible {
  border-color: var(--brand-deep);
  transition: color var(--motion-color) var(--ease-soft-out) var(--wipe-cleared),
              border-color var(--motion-ui) var(--ease-soft-out);
}

.btn-ghost {
  background: transparent; color: var(--brand); border-color: var(--brand);
}
.btn-ghost::before { background-color: var(--brand-deep); }
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: transparent;
  border-color: var(--brand-deep);
  color: var(--on-dark);
}
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:focus-visible { transition-duration: 0s; }
  .btn::before { transition: none; }
  .rise { animation: none; }
}

/* ---- Touch floor (pointer, not width; headless audits need hasTouch on). ---- */
@media (pointer: coarse) {
  .btn, .ft-col a, .nav-toggle, .ft-legal a { min-height: 44px; }
  .btn { display: inline-flex; align-items: center; }
  .ft-col a, .ft-legal a { display: inline-flex; align-items: center; }
}

/* ============================================================================
   NAV: the Rectilinear ruled bar with NIGHT MODE, AND NOT ONE LINE OF SCRIPT.

   THE CONSTRAINT THAT SHAPED THIS. A script was written for it first - a scroll
   listener toggling .scrolled and .tinted, the way the sibling sites do it - and
   then removed, because /legal/privacy publishes "this website sets no cookies,
   RUNS NO JAVASCRIPT, and loads nothing from anybody else: you can verify all
   three by viewing the source of this page", and /security/sub-processors leans
   on the same fact. A scroll listener is not worth making a checkable claim
   false on the one product whose whole argument is that it says only what it can
   prove. So the bar rides a SCROLL-DRIVEN VIEW TIMELINE, which this stylesheet
   already uses for the story scroll, and web.config keeps `default-src 'none'`
   with no script-src at all.

   HOW IT WORKS, in three moves:
     1. The hero publishes `view-timeline-name: --hero` and `body` lifts that
        name with `timeline-scope`, so the bar - which is NOT a descendant of the
        hero - can drive itself off the hero's own scroll progress.
     2. `navMorph` runs over the hero's `exit` range, ending at
        `calc(100% - var(--nav-h))`: the exact scroll position where the hero's
        BOTTOM edge reaches the bottom of the bar. That is the founder's rule
        ("white only when we are off the hero, not immediately") expressed as a
        geometry rather than as a pixel threshold, and it needs no re-tuning per
        viewport. `steps(1, end)` makes it a switch, not a fade through mid tones;
        the properties it switches are TRANSITIONED, so the change still eases.
     3. Everything the bar paints reads from custom properties that animation
        drives (`--nav-bg`, `--nav-ink`, ...), so ONE animation re-colours the
        cells, the panels, the mark and the burger together and they cannot
        disagree with the bar behind them.

   SOLID WHITE IS STILL THE BASE STATE, and now for three audiences rather than
   two: hero-less pages, browsers without `:has()`, and browsers without
   scroll-driven animations. In every one of those the bar is the plain white
   ruled bar, which is a complete design rather than a degraded one.

   MENU RESPECTS THE GRID: the logo cell's left edge draws a full-height 1px
   hairline through the bar at grid line 0 (>=1024), the mark sits 24px inside
   it, panels open from their cell's LEFT edge, and the solid CTA cell's right
   edge lands ON the right grid line (the bar's shell is the page's shell).
   ========================================================================== */

/* The bar's palette, as registered properties so keyframes can interpolate them
   and every descendant can read them. Registering is what makes a custom
   property animatable at all; without `@property` these would jump with no
   possibility of a transition and no type checking. */
@property --nav-bg        { syntax: "<color>"; inherits: false; initial-value: #ffffff; }
/* INHERITS. It did not, and that is what drew a white grid on the dark
   panel: a registered property with `inherits: false` is animated on the
   BAR, and every descendant that reads it - the panel, its rules, the
   logo hairline - falls back to the INITIAL value instead, which is the
   light-bar hairline. The bar looked right because the animation applies
   to the bar itself; everything inside it was quietly using #e3e8ee. */
@property --nav-line      { syntax: "<color>"; inherits: true;  initial-value: #e3e8ee; }
@property --nav-ink       { syntax: "<color>"; inherits: true;  initial-value: #22303e; }
@property --nav-ink-hover { syntax: "<color>"; inherits: true;  initial-value: #33526e; }
@property --nav-active    { syntax: "<color>"; inherits: true;  initial-value: #33526e; }
@property --nav-tick      { syntax: "<color>"; inherits: true;  initial-value: #9c621d; }
@property --nav-mark      { syntax: "<number>"; inherits: true; initial-value: 0; }
/* The lockup's two colours are VARIABLES rather than a color-mix() off
   --nav-mark, and that is a deliberate reversal. color-mix() worked and looked
   right, but it makes the browser report the computed colour as
   `color(srgb 1 1 1)`, and tools/audit/contrast.mjs reads colours with
   `match(/[\d.]+/g)` and divides by 255 - so white came back as #010101 and the
   audit reported the lockup as 1.20:1 on the deep field. The parser is fixed
   too, but the lesson is the reason this rule exists: introducing a new colour
   TECHNIQUE for one element silently took that element out of the site's own
   measurement. One var per role, set in the same three places as every other
   nav var, keeps it inside. */
@property --nav-logo      { syntax: "<color>"; inherits: true; initial-value: #111820; }
@property --nav-logo-ai   { syntax: "<color>"; inherits: true; initial-value: #33526e; }
@property --nav-weight    { syntax: "<number>"; inherits: true; initial-value: 400; }
@property --nav-panel-bg  { syntax: "<color>"; inherits: true;  initial-value: #eef1f4; }
@property --nav-panel-t   { syntax: "<color>"; inherits: true;  initial-value: #111820; }
/* --ink-2, not --ink-3: MEASURED on the panel's own #eef1f4 ground, --ink-3
   scores 4.74:1 - it passes, with 0.24 of headroom, which is not a margin.
   --ink-2 scores 6.98:1 and the hierarchy is unharmed because it is carried
   by size and weight (13px/300 under 15px/500), which is this system's law. */
@property --nav-panel-d   { syntax: "<color>"; inherits: true;  initial-value: #435362; }
/* The panel's OWN hairline, separate from the bar's. `--nav-line` is
   TRANSPARENT while the bar is in its night state - correct, because a
   transparent bar has no bottom border to draw - but the panel underneath it is
   a solid deep field that still needs its column rules. One token cannot be
   both "the bar has no border" and "the panel's rules are the on-dark
   hairline", so there are two. */
@property --nav-panel-line { syntax: "<color>"; inherits: true; initial-value: #ccd5de; }

/* THE DAY PANEL IS A LIFTED BAND, NOT A WHITE SHEET ON A WHITE PAGE, and the
   three properties below are what the light bar needed that the dark one did
   not (founder, 2026-08-28: "menu looks great on dark. but on white when i
   scroll down is bad"). MEASURED at 1440 on /, scrolled past the hero:

     * the panel painted #ffffff over a #ffffff page, closed by a #e3e8ee
       hairline - 1.13:1 against its own ground. The system bans shadow on
       chrome, so an overlay with no tonal step has NO edge at all: the links
       read as page copy that appeared in the middle of the article. On the
       deep field the same panel is unmistakable, which is why night looked
       right and day did not. The ground is now --surface-2 (#eef1f4), a step
       clear of BOTH the white ground and the #f5f7f9 alt band, because the
       panel opens over whichever one the scroll happens to be sitting on.
     * the hover glow is LIGHT: a warm radial rising off the cell's baseline.
       Light on a deep field reads as light; the same wash on white is a beige
       smudge landing exactly on the bar's bottom edge, where the panel starts.
       So it is night-only (--nav-glow), and by day the cell takes the panel's
       own ground instead, which also ties an open cell to the panel it opened.
     * the panel item's hover tint was amber at 10%, which on white is mud. By
       day it lifts to white; at night it keeps the amber. */
@property --nav-panel-hover { syntax: "<color>";  inherits: true; initial-value: #ffffff; }
@property --nav-cell-hover  { syntax: "<color>";  inherits: true; initial-value: #eef1f4; }
@property --nav-glow        { syntax: "<number>"; inherits: true; initial-value: 0; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-line);
  transition: background-color 0.32s var(--ease-soft-out), border-color 0.32s var(--ease-soft-out);
}
.nav-in {
  display: flex; align-items: stretch; height: 100%; gap: 0.5rem;
}

/* THE CELLS SIT ON THE BAR'S TRUE CENTRE (founder, 2026-08-28: "menu should be
   centered"), and a grid is what makes that exact rather than approximate.

   Packing the cells after the logo and pushing the CTA right with an auto
   margin centres nothing: where the group lands is whatever is left over after
   a logo of one width and a CTA of another, so it drifts with both. Three
   columns - `minmax(0,1fr) auto minmax(0,1fr)` - give the two flexible sides
   the SAME width by definition, so the auto column between them is centred on
   the bar whatever the logo and the CTA happen to measure.

   The two grid-law anchors survive it: the logo is justified to the start of
   column 1, whose left edge IS grid line 0, and the CTA to the end of column 3,
   whose right edge IS the right grid line. Below 1024 the bar goes back to the
   flex row (logo left, burger right) because there are no cells to centre. */
@media (min-width: 1024px) {
  .nav-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0;
  }
  .nav-brand    { justify-self: start; }
  .nav-cells    { justify-self: center; }
  .nav-cta-block { justify-self: end; margin-left: 0; }
}

/* The hero publishes its scroll progress and `body` lifts the name so the bar,
   which is not inside the hero, can drive itself from it. */
body { timeline-scope: --hero; }
section.ph { view-timeline-name: --hero; }

/* ============================================================================
   THE BASE STATE FOR A HERO PAGE IS A SOLID DEEP BAR, IN PLAIN CSS.

   THIS IS THE BUG THAT MATTERED, and it is worth the paragraph. The night bar
   was built entirely inside `@supports (animation-timeline: view())`, so
   everything below that line - the transparent bar, the white cells, the
   inverted mark - existed ONLY in browsers with scroll-driven animations.
   That is Chrome and Edge 115+, and Safari only from 26. In Safari before
   that, in Firefox, and for ANY visitor with reduced motion set (it was gated
   on that too), the whole block evaporated and the bar fell back to its
   default: a solid WHITE slab laid across the top of a full-screen dark
   photograph on every hero page. Measured, not guessed.

   "It degrades to the plain white bar" was written in this file as though that
   were a complete design. It is complete on a page with a white ground; over a
   dark hero it is the most conspicuous thing on the screen.

   So the enhancement is now correctly layered:
     * PLAIN CSS  - a hero page gets a solid deep-field bar. Legible at the top
                    of the page, legible scrolled into white content, and it
                    looks deliberate in both places. This is what Safari,
                    Firefox and reduced-motion visitors get.
     * @supports   - where scroll-driven animations exist, that same bar starts
                    TRANSPARENT over the hero and resolves to white once the
                    hero has slid under it. The full proceptio.com behaviour.

   The reduced-motion gate is gone deliberately: nothing here moves. It is a
   colour change tied to scroll position, which is not what that preference is
   asking to be spared, and gating it was costing those visitors the correct
   bar for no benefit.
   ========================================================================== */
body:has(section.ph) .nav {
  --nav-bg: var(--brand-deep);
  --nav-line: var(--hairline-on-dark);
  --nav-ink: rgba(255, 255, 255, 0.86);
  --nav-weight: 400;
  --nav-ink-hover: #ffffff;
  --nav-active: #ffffff;
  --nav-tick: var(--accent-on-dark);
  --nav-tick-glow: 0 0 12px rgba(232, 167, 101, 0.55);
  --nav-mark: 1;
  --nav-logo: #ffffff;
  --nav-logo-ai: var(--accent-on-dark);
  --nav-panel-bg: var(--brand-deep);
  --nav-panel-t: #ffffff;
  --nav-panel-d: rgba(255, 255, 255, 0.58);
  --nav-panel-line: var(--hairline-on-dark);
  --nav-panel-hover: rgba(232, 167, 101, 0.12);
  --nav-cell-hover: transparent;
  --nav-glow: 1;
}

@supports (animation-timeline: view()) {
  /* The night state at FIRST PAINT is the `from` keyframe held by `both`
     fill, so a reload over a dark hero never flashes white. */
  body:has(section.ph) .nav:not(:has(.nav-check:checked)) {
    animation: navMorph steps(1, end) both;
    animation-timeline: --hero;
    animation-range: exit 0px exit calc(100% - var(--nav-h));
  }
  /* The tint: a deep surface behind the cells while hero copy slides under a
     still-transparent bar, gone again by the time the white lands. The stops
     are percentages of the same range, and 6% of it is ~50px at a 900px
     viewport, which is the threshold the sibling sites set by hand. */
  body:has(section.ph) .nav:not(:has(.nav-check:checked))::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    pointer-events: none;
    background: color-mix(in srgb, var(--brand-deep) 88%, transparent);
    animation: navTint linear both;
    animation-timeline: --hero;
    animation-range: exit 0px exit calc(100% - var(--nav-h));
  }
}
@keyframes navMorph {
  from {
    --nav-bg: transparent;
    --nav-line: transparent;
    /* 0.86 at weight 400. This went 0.90/400 -> 0.72/300 (proceptio.com's own
       night bar) and came straight back, because their bar sits over a dark
       FILM and ours sits over a lit still life: at 16px, Sora 300 in white at
       0.72 is a spindly line of type that reads as absent even where it
       measures 6.1 to 10.7:1 against the photo. Contrast was never the
       problem, WEIGHT was - so the measurement to trust here is the eye.
       The active state does not need the resting one held down to read: it
       has pure white, weight 500, and a full-cell amber tick with a glow. */
    --nav-ink: rgba(255, 255, 255, 0.86);
    --nav-weight: 400;
    --nav-ink-hover: #ffffff;
    --nav-active: #ffffff;
    --nav-tick: #e8a765;
    /* Light, not elevation: the tick is the one lit thing on a dark bar. */
    --nav-tick-glow: 0 0 12px rgba(232, 167, 101, 0.55);
    --nav-mark: 1;
    --nav-logo: #ffffff;
    --nav-logo-ai: #e8a765;
    --nav-panel-bg: #0b1c28;
    --nav-panel-t: #ffffff;
    --nav-panel-d: rgba(255, 255, 255, 0.58);
    --nav-panel-line: rgba(255, 255, 255, 0.14);
    --nav-panel-hover: rgba(232, 167, 101, 0.12);
    --nav-cell-hover: transparent;
    --nav-glow: 1;
  }
  to {
    --nav-bg: #ffffff;
    --nav-line: #e3e8ee;
    --nav-ink: #22303e;
    --nav-weight: 400;
    --nav-ink-hover: #33526e;
    --nav-active: #33526e;
    --nav-tick: #9c621d;
    --nav-tick-glow: none;
    --nav-mark: 0;
    --nav-logo: #111820;
    --nav-logo-ai: #33526e;
    --nav-panel-bg: #eef1f4;
    --nav-panel-t: #111820;
    --nav-panel-d: #435362;
    --nav-panel-line: #ccd5de;
    --nav-panel-hover: #ffffff;
    --nav-cell-hover: #eef1f4;
    --nav-glow: 0;
  }
}
@keyframes navTint {
  0%   { opacity: 0; }
  6%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; }
}
@media (max-width: 767px) {
  /* Opaque and fast on phones: the compressed hero starts its headline right
     under the bar, so nothing may glow through the strip, and the tint has to
     land at the first scrolled pixels rather than after 50 of them. */
  body:has(section.ph) .nav::after { background: var(--brand-deep); }
  .nav { transition-duration: 0.12s; }
  @keyframes navTint {
    0%   { opacity: 0; }
    1%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { opacity: 0; }
  }
}

/* THE BRAND LOCKUP, rebuilt 2026-08-28.

   It used to be an <img> of the studio's procept.io wordmark: a 156x40 raster,
   drawn in brand red, crushed to black with `brightness(0)` and lifted back to
   white with `invert(var(--nav-mark))` so it could survive a palette red is no
   part of - red being this site's REFUSAL colour. So the logo named the parent
   rather than the product, in the one hue the page may not use, through a
   filter chain.

   It is now the Corridor mark drawn INLINE plus the name set in Sora, the
   site's own face. Three consequences worth knowing: the lockup is real text
   (so it is selectable, translatable and readable by a screen reader without
   an alt attribute standing in for it), it is a true vector at every size, and
   it recolours by INHERITANCE - `currentColor` on the mark, `color` on the
   cell - so the day/night swap is the same one-line variable the cells use and
   the filter chain is gone. It also costs no asset request at all.

   The day/night swap rides `--nav-logo` and `--nav-logo-ai`, two registered
   <color> variables set in the same three places as every other nav var: the
   plain-CSS night base, and both ends of navMorph. Their INITIAL values are the
   day state, so a browser that never runs the morph still gets the white bar's
   ink rather than white on white. */
.nav .nav-brand {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  padding: 0 24px 0 0;
  /* Registered <color>, so its initial value IS the day state: a browser that
     never runs the morph gets the white bar's ink, never white on white. */
  color: var(--nav-logo);
  transition: opacity var(--motion-ui) var(--ease-soft-out);
}
/* 26px at stroke 2.5: MEASURED against the wordmark rather than set to a round
   number. At 24/2.2 the mark read lighter and smaller than Sora 600 beside it;
   at 28/2.8 its counters start to close. */
.nav .nav-brand .brand-mark { width: 26px; height: 26px; display: block; flex: none; }
.nav .nav-brand .brand-wm {
  font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1;
}
/* The suffix carries the one colour move in the lockup: brand steel on the
   white bar, the accent's dark-ground cut over a hero (8.38:1, measured). */
.nav .nav-brand .brand-ai { color: var(--nav-logo-ai); }
/* Switchboard open: the panel is the deep field whatever the bar was doing,
   so the lockup is pinned to its night values rather than left mid-morph. */
.nav:has(.nav-check:checked) .nav-brand { --nav-logo: #ffffff; --nav-logo-ai: var(--accent-on-dark); }
/* The logo cell cannot take the cells' hover glow: its ::before is spoken for
   by the grid-line-0 hairline. An opacity step instead, which leaves the line
   alone (the proceptio.com solution to the same collision). */
.nav .nav-brand:hover, .nav .nav-brand:focus-visible { opacity: 0.72; }


/* THE FOOTER HAS ITS OWN MARK, and this is why it is a separate class rather
   than a reuse. It used to carry `.nav-brand`, which is BAR chrome: the 24px
   grid-law inset, the opacity hover, and - the visible damage - grid line 0,
   drawn as a 1px hairline in the BAR's line colour. On the light bar that
   colour is #e3e8ee, so the footer got a near-WHITE vertical line on a
   near-black field, sitting exactly on top of the footer's own page-line at the
   same x. Two hairlines, one of them bright, immediately left of the logo: the
   "thick border" beside a mark that then read as broken. Bar chrome belongs to
   the bar. */
.ft-brandmark {
  display: inline-flex; align-items: center; text-decoration: none;
  transition: opacity var(--motion-ui) var(--ease-soft-out);
}
.ft-brandmark:hover, .ft-brandmark:focus-visible { opacity: 0.72; }
/* The footer sits on the deep field at every width, so the lockup has one
   state here and needs no variable: white mark, white name, amber suffix. */
.ft-brandmark { gap: 10px; color: #ffffff; }
.ft-brandmark .brand-mark { width: 22px; height: 22px; display: block; flex: none; }
.ft-brandmark .brand-wm {
  font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1;
}
.ft-brandmark .brand-ai { color: var(--accent-on-dark); }

/* Grid line 0 carried up THROUGH the bar: the logo cell's left edge is the
   content column's left line. Desktop only, matching the band verticals. */
@media (min-width: 1024px) {
  /* 24px inside grid line 0 - the grid law. Below 1024 the line is not drawn,
     so an inset from an invisible line just reads as a logo pushed right
     (the founder's "why is proceptio logo so right placed" fix). */
  /* `.nav .nav-brand`, not `.nav-brand`: the base rule was scoped to the bar
     when the footer stopped borrowing this class, which took it to (0,2,0) and
     silently outranked this one at (0,1,0). A MEDIA QUERY ADDS NO SPECIFICITY,
     so the inset simply stopped applying and the mark dropped onto grid line 0
     with the hairline running through it. Both halves of a pair like this move
     together or neither does. */
  .nav .nav-brand { position: relative; padding-left: 24px; }
  .nav .nav-brand::before {
    content: "";
    /* `bottom: -1px`, not 0: the bar is border-box with a 1px bottom border, so
       the cell's content box stops at y=62 and the border row at y=63 is
       painted by the bar (transparent at night). The hero's verticals start at
       y=64, which left a one-row GAP in a line that is meant to run unbroken
       from the top of the bar to the bottom of the footer. Measured, not
       guessed: a column scan at x=128 showed the line present at y=40 and y=66
       and absent at exactly y=63. */
    position: absolute; left: 0; top: 0; bottom: -1px; width: 1px;
    /* Grid line 0, carried up through the bar. It takes the bar's own line
       colour, so it is a quiet hairline on white and an on-dark one at night
       without a second rule to keep in step. */
    background: var(--nav-line); pointer-events: none;
    transition: background-color var(--motion-ui) var(--ease-soft-out);
  }
  /* One value, and it is the on-dark hairline. A color-mix off --nav-ink was
     tried and is why the line read heavy: --nav-ink is near-white at night, so
     even 22% of it is several times brighter than the 0.14 hairline every other
     line on the dark field uses. */
  body:has(section.ph) .nav .nav-brand::before { background: var(--hairline-on-dark); }
}

/* Cells */
.nav-cells { display: flex; align-items: stretch; }
.nav-item { display: flex; align-items: stretch; }
/* Measured off proceptio.com: 0 22px, 16px, weight 400, borderless. The cells
   carry NO chevron - a dropdown cell there is a plain link with
   aria-haspopup, and the panel is the affordance. Carets were tried here and
   they crowd a five-cell bar and read as UI noise on a ruled one. */
.nav-cell {
  position: relative;
  display: inline-flex; align-items: center;
  height: 100%; padding: 0 22px;
  color: var(--nav-ink); font-size: 1rem; font-weight: var(--nav-weight);
  text-decoration: none; white-space: nowrap;
  transition: color var(--motion-ui) var(--ease-soft-out),
              background-color var(--motion-ui) var(--ease-soft-out);
}
/* Warm amber glow rising from the baseline on hover (the proceptio nav). */
a.nav-cell::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 90% at 50% 118%, rgba(232, 167, 101, 0.30), rgba(232, 167, 101, 0.05) 60%, transparent 75%);
  transition: opacity 0.28s var(--ease-soft-out);
}
/* `var(--nav-glow)`, not 1: the wash is light, and light needs a dark field. */
a.nav-cell:hover::before { opacity: var(--nav-glow); }
a.nav-cell:hover { color: var(--nav-ink-hover); background-color: var(--nav-cell-hover); }
/* Active section: the build's aria-current, both values ("page" and "true").
   The tick spans the WHOLE CELL (left 0 / right 0), not the label: inset by the
   cell padding it reads as an underline under a word, where the point of a
   ruled bar is that the CELL is the unit. */
.nav-cell[aria-current] { color: var(--nav-active); font-weight: 500; }
.nav-cell[aria-current]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--nav-tick);
  box-shadow: var(--nav-tick-glow, none);
}

/* There are no separate "night cell" rules: the cells read --nav-ink and its
   siblings, and navMorph is what moves them. That is the point of animating
   the properties rather than toggling a class - the bar and everything on it
   change in one place and cannot fall out of step. */

/* ============================================================================
   THE DROPDOWN IS A FULL-WIDTH MEGA PANEL, not a column hanging off a cell.

   MEASURED, and this is what was wrong with the menu: as a 340px column with
   one link per row, the Platform panel came out 340 x 609 - seven rows at 86px
   each, a wall covering two thirds of the viewport, hung off a 64px bar. Seven
   destinations is not too many; ONE COLUMN is.

   proceptio.com's answer, copied: the panel spans the whole bar
   (`left: 0; right: 0`), its content sits in the page's own shell so it lands
   on the grid, and the links lay out on a FOUR-COLUMN grid. The same seven
   destinations then take two rows, and the panel is a band under the bar
   rather than a curtain down the page.

   It opens with a clip-path wipe rather than a fade, so it reads as the bar
   extending downward - which is what it is.

   THE CONTAINING BLOCK IS THE BAR. `.nav-item` must NOT be `position:
   relative` or the panel is positioned against a single cell again and
   `right: 0` means the right edge of that cell.
   ========================================================================== */
.nav-drop {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
  background: var(--nav-panel-bg);
  border-bottom: 1px solid var(--nav-panel-line);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.32s var(--ease-soft-out), visibility 0s linear 0.32s,
              background-color 0.32s var(--ease-soft-out);
}
.nav-item:hover > .nav-drop,
.nav-item:focus-within > .nav-drop {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition-delay: 0s;
}
.nav-panel {
  max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
  /* THE COLUMN RULES ARE DRAWN ON THE PANEL, NOT ON THE CELLS, and that is the
     whole point rather than a preference. As per-cell borders they depend on
     how many cells there are: seven items in four columns leaves the second row
     three wide, so the rule under it stopped a quarter short and two verticals
     floated with nothing above them - a half-drawn grid. Three full-height
     lines on the panel's own content box land on the column boundaries at
     25/50/75% whatever the item count is, and no horizontal rule is drawn at
     all, so a short last row is simply a short row. */
  background-image:
    linear-gradient(var(--nav-panel-line), var(--nav-panel-line)),
    linear-gradient(var(--nav-panel-line), var(--nav-panel-line)),
    linear-gradient(var(--nav-panel-line), var(--nav-panel-line));
  background-repeat: no-repeat;
  background-size: 1px 100%;
  background-origin: content-box;
  background-position: 25% 0, 50% 0, 75% 0;
}
.nav-panel a {
  display: block; padding: 22px 24px 26px;
  /* Stated on the ANCHOR, not only on the .nav-panel-t span inside it: the span
     is what a future edit drops, and the fallback behind it must be the panel's
     own title ink rather than whatever the browser thinks a link looks like. */
  color: var(--nav-panel-t);
  text-decoration: none;
  transition: background-color var(--motion-color) var(--ease-soft-out);
}
.nav-panel a:nth-child(4n + 1) { padding-left: 0; }
.nav-panel a:hover { background: var(--nav-panel-hover); }
.nav-panel .nav-panel-t { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--nav-panel-t); }
.nav-panel .nav-panel-d { display: block; font-size: 0.8125rem; margin-top: 4px; line-height: 1.45; color: var(--nav-panel-d); font-weight: 300; }
.nav-panel a[aria-current] .nav-panel-t { color: var(--nav-active); }
@media (prefers-reduced-motion: reduce) {
  .nav-drop { transition: visibility 0s; }
}

/* The solid CTA cell, flush right: its right edge lands ON the right grid
   line because the bar's shell IS the page shell. Bottom-up wipe to deep. */
.nav-cta-block {
  display: inline-flex; align-items: center; gap: 12px;
  height: 100%; padding: 0 26px; margin-left: auto;
  background-color: var(--brand); color: var(--on-dark);
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  background-image: linear-gradient(var(--brand-deep), var(--brand-deep));
  background-repeat: no-repeat;
  background-size: 100% 0%;
  background-position: left bottom;
  transition: background-size var(--motion-wipe) var(--ease-soft-out);
}
.nav-cta-block:hover, .nav-cta-block:focus-visible { background-size: 100% 100%; }
.nav-cta-block svg { transition: transform var(--motion-ui) var(--ease-soft-out); }
.nav-cta-block:hover svg { transform: translateX(4px); }

/* ---- The menu control (checkbox: works with no JS; site.js only enhances).
   Focusable but not visible, so the menu stays keyboard-operable. ---- */
.nav-check {
  position: absolute; width: 1px; height: 1px;
  margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none;
}
.nav-toggle { display: none; }

/* ---- THE SWITCHBOARD: the phone menu is a full-screen deep-field night
   panel below the bar (the Proceptio.Web .nav-sb pattern), numbered section
   rows with their sub-destinations as visible links - touch has no hover, so
   everything the desktop hides behind a hover panel is VISIBLE here. The
   rows area scrolls; the closing CTA row and the foot stay pinned. Driven by
   the same checkbox (no JS required); site.js closes it on link click and
   Escape. While it is open the bar itself goes solid deep via
   .nav:has(.nav-check:checked) and the document scroll locks via html:has(). ---- */
html:has(.nav-check:checked) { overflow: hidden; }
.nav:has(.nav-check:checked) {
  background: var(--brand-deep);
  border-bottom-color: var(--hairline-on-dark);
}

.nav-sb {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  display: none;
  flex-direction: column;
  background:
    radial-gradient(560px 320px at 86% 100%, rgba(232, 167, 101, 0.14), transparent 70%),
    linear-gradient(115deg, #081521 0%, var(--brand-deep) 55%, var(--brand-deep-3) 100%);
}
.nav-check:checked ~ .nav-sb { display: flex; }
.nav-sb-rows { flex: 1 1 auto; display: flex; flex-direction: column; overflow-y: auto; }
.nav-sb-row {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  min-height: 52px; padding: 0 24px;
  color: var(--on-dark); text-decoration: none;
  border-bottom: 1px solid var(--hairline-on-dark);
}
.nav-sb-row .nav-sb-no {
  flex: none; width: 26px;
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.nav-sb-row .nav-sb-t { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.nav-sb-row[aria-current] .nav-sb-no { color: var(--accent-on-dark); }
.nav-sb-row[aria-current]::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent-on-dark);
}
/* The sub-destination strip under a numbered row: every hover-panel link,
   visible. Two columns of 44px targets. */
.nav-sb-sub {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 0 24px 6px 66px;
  border-bottom: 1px solid var(--hairline-on-dark);
}
.nav-sb-sub a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: rgba(255, 255, 255, 0.72); text-decoration: none;
  font-size: 14px; font-weight: 300;
}
.nav-sb-sub a[aria-current] { color: var(--accent-on-dark); }
.nav-sb-cta {
  flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 0 24px;
  background: var(--brand); color: var(--on-dark);
  font-size: 16px; font-weight: 600; text-decoration: none;
}
.nav-sb-cta::after { content: "\2192"; }
.nav-sb-foot {
  flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 24px;
  border-top: 1px solid var(--hairline-on-dark);
  color: rgba(255, 255, 255, 0.55); font-size: 13px; font-weight: 300;
}
.nav-sb-foot a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--on-dark); font-weight: 500; text-decoration: none;
}

/* Below the desktop cutoff: cells and CTA go, the toggle appears. 1024, not
   860: the five cells plus dropdown carets need the room, and the switchboard
   is a better menu than a squeezed bar at 900. */
@media (max-width: 1023px) {
  .nav-cells, .nav-cta-block { display: none; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto; align-self: center;
    cursor: pointer; border: 1px solid var(--line-2);
  }
  .nav-bars, .nav-bars::before, .nav-bars::after {
    content: ""; display: block; width: 18px; height: 1px;
    background: var(--nav-ink);
    transition: transform var(--motion-ui) var(--ease-soft-out), background-color var(--motion-ui) var(--ease-soft-out);
  }
  .nav-bars::before { transform: translateY(-6px); }
  .nav-bars::after  { transform: translateY(5px); }
  .nav-check:checked ~ .nav-toggle .nav-bars { background: transparent; }
  .nav-check:checked ~ .nav-toggle .nav-bars::before { transform: rotate(45deg); background: var(--on-dark); }
  .nav-check:checked ~ .nav-toggle .nav-bars::after  { transform: rotate(-45deg); background: var(--on-dark); }
  .nav-toggle { border-color: color-mix(in srgb, var(--nav-ink) 30%, transparent); }
  .nav:has(.nav-check:checked) .nav-toggle { border-color: var(--hairline-on-dark); }
  .nav:has(.nav-check:checked) .nav-bars { background: transparent; }
}
@media (min-width: 1024px) {
  .nav-sb { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-bars, .nav-bars::before, .nav-bars::after { transition: none; }
}

/* ============================================================================
   THE PHOTO HERO (`ph`): every top-level content page opens on one screen of
   photograph with the copy on the LEFT (ported from the CapitalBridge .ph kit,
   which ported it from proceptio.com). build.py assembles it from the page's
   own first band when the front matter declares HERO: <basename>; legal pages
   and the 404 have no HERO and keep the quiet white-bar chrome.

   HARD one screen: height, not min-height (founder: "each page hero should be
   100 vh and not go more than that"); the short-viewport compressions and the
   3-line deck clamp keep the content inside the box; overflow: clip is the
   backstop, never the plan. svh, never vh: vh is measured with the phone
   toolbars hidden, so a 100vh hero puts its own CTA row off the bottom.

   The token overrides below include EVERY ink token the titles use - the
   missed --ink-heading painted hero headlines near-black over photos on
   CapitalBridge once, and that is the recorded failure this list guards.
   ========================================================================== */
.ph {
  --ph-h: 100svh;
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  /* MIN-height, not height (2026-08-28). It was `height: 100svh` with
     `overflow: clip`, so a hero whose copy did not fit was CUT with no warning:
     measured at 390x844, four heroes overflowed their own box by up to 119px.
     That is what the deck's `-webkit-line-clamp: 3` was really compensating
     for, and it paid for the layout with a visible "..." mid-sentence on the
     one element whose job is to explain the page. The clamp is gone and the
     box gives instead: still a full screen at minimum, so "every page opens on
     a full screen" holds, and it grows rather than truncating when the copy
     needs the room. */
  min-height: var(--ph-h);
  overflow: clip;
  isolation: isolate;
  background: var(--brand-deep);
  /* The hero runs under the fixed bar: cancel main's push, repaint the bar's
     64px as part of the hero's own screen. */
  margin-top: calc(-1 * var(--nav-h));
  padding-top: var(--nav-h);

  /* On-dark tokens: every shared component inside inverts by token. */
  --ink-heading: #f4f7fa;
  --ink:        #eef3f7;
  --ink-2:      #d3dfe8;
  --ink-3:      #a8bcc9;
  --line:       rgba(255, 255, 255, 0.16);
  --line-2:     rgba(255, 255, 255, 0.30);
  --brand:      #ffffff;
  --brand-strong: #ffffff;
  --brand-display: rgba(255, 255, 255, 0.60);
}
@supports not (height: 100svh) { .ph { height: 100vh; } }
/* The kicker over a dark hero runs amber (the proceptio dark-field rule);
   --brand is white inside .ph, so the class needs its own line. */
.ph .eyebrow { color: var(--accent-on-dark); }

/* Buttons on the photo: solid stays brand steel? No - the proceptio pattern:
   the primary goes WHITE with the deep label, the ghost goes white hairline.
   Both re-declared here because .btn reads --brand, which is white in .ph. */
.ph .btn {
  background: #ffffff; border-color: #ffffff; color: var(--brand-deep);
}
.ph .btn::before { background-color: var(--brand-deep); }
.ph .btn:hover, .ph .btn:focus-visible { color: #ffffff; border-color: var(--brand-deep); }
.ph .btn-ghost {
  background: rgba(8, 20, 30, 0.35); border-color: rgba(255, 255, 255, 0.40); color: #ffffff;
}
.ph .btn-ghost::before { background-color: #ffffff; }
.ph .btn-ghost:hover, .ph .btn-ghost:focus-visible {
  background: rgba(8, 20, 30, 0.35);
  border-color: #ffffff;
  color: var(--brand-deep);
}

.ph-band { position: absolute; inset: 0; overflow: clip; }
.ph-band picture { display: contents; }
.ph-bg {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
/* The scrim: stops anchored to the COPY COLUMN (the shell is centred and
   capped, so the copy's right edge is max(gutter+copy, 50% - shell/2 + copy)).
   The ramp HOLDS across the whole copy column and falls only after it; the
   permanently darker left half is the accepted trade. */
.ph-scrim {
  position: absolute; inset: 0; pointer-events: none;
  --ph-copy-right: max(760px, calc(50% + 60px));
  background:
    linear-gradient(90deg,
      rgba(8, 18, 28, 0.94) 0%,
      rgba(8, 18, 28, 0.90) calc(var(--ph-copy-right) - 120px),
      rgba(8, 18, 28, 0.60) calc(var(--ph-copy-right) + 60px),
      rgba(8, 18, 28, 0.16) calc(var(--ph-copy-right) + 320px),
      rgba(8, 18, 28, 0.06) 100%),
    linear-gradient(180deg,
      rgba(8, 18, 28, 0.44) 0%,
      rgba(8, 18, 28, 0.06) 42%,
      rgba(8, 18, 28, 0.52) 100%);
}

/* The copy: the page's own first-band .shell/.stack, laid over the band.
   `flex: 1 1 auto` + centred content is what puts the RAIL on the floor of the
   first screen rather than in the middle of it: the shell takes whatever
   height is left, the rail is `flex: none` below it. */
.ph > .shell {
  position: relative; z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 40px;
}
/* THE CAP GOES ON THE INNER BLOCK, NEVER ON `.stack-l`. Interior pages write
   their first band as `<div class="shell stack-l">`, so `.shell` IS the
   flex column - and `.shell` carries `margin-inline: auto`, so a max-width
   there CENTRED the whole hero copy instead of leaving it on the left grid
   line (measured at 1440: the headline started 270px inside the line). The
   inner `.stack` is a plain block child and caps without moving. */
.ph .stack { max-width: 46rem; gap: 1.4rem; }
.ph > .shell.stack-l { align-items: flex-start; gap: 1.4rem; }
.ph h1 { max-width: 18ch; }
.ph .lead { max-width: 54ch; }
.ph .row { margin-top: 0.5rem; }

/* PAGE-LINES THROUGH THE HERO: ::after at z 0 - above the photo and scrim
   (z auto in the band), below the copy (z 1) - so the grid is unbroken from
   the top of the bar to the bottom of the footer. */
@media (min-width: 1024px) {
  .ph::after {
    content: "";
    position: absolute; z-index: 0;
    /* BELOW THE BAR, not from the top of the hero (the proceptio.com rule:
       "no grid lines through the menu"). The bar already draws its own
       full-height hairline at grid line 0, so a hero vertical starting at y=0
       lays a SECOND line over the same 64px of the same x - two hairlines in
       one column, which reads as one THICK bright line beside the logo and
       nothing like the hairline it is meant to be. The bar owns the strip; the
       hero's verticals rise to meet it. */
    top: var(--nav-h); bottom: 0;
    left:  calc(max((100% - var(--shell)) / 2, 0px) + var(--gutter));
    right: calc(max((100% - var(--shell)) / 2, 0px) + var(--gutter));
    pointer-events: none;
    background-image:
      linear-gradient(var(--hairline-on-dark), var(--hairline-on-dark)),
      linear-gradient(var(--hairline-on-dark), var(--hairline-on-dark));
    background-repeat: no-repeat;
    background-size: 1px 100%;
    background-position: 0 0, 100% 0;
  }
}

/* Short desktop: compress one step so headline + deck + CTA row always fit. */
@media (min-width: 768px) and (max-height: 860px) {
  .ph h1 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
  .ph .lead { font-size: var(--t-body); }
  .ph .stack, .ph .stack-l { gap: 1.05rem; }
}

/* ---- The phone poster: copy on solid dark ground at the top, the photograph
   as an in-flow strip BELOW that absorbs the leftover height (flex-basis 0,
   never auto). The scrim starts FULLY OPAQUE in the ground's own colour and
   dissolves down the strip, so the picture MELTS out of the poster with no
   findable seam (the recorded CapitalBridge ruling). ---- */
@media (max-width: 767px) {
  .ph { justify-content: flex-start; padding-top: calc(var(--nav-h) + 12px); }
  /* The copy takes its natural height here and the STRIP absorbs the slack,
     so the shell stops being the flexible child. */
  .ph > .shell { order: 1; flex: none; padding-block: 20px 22px; }
  .ph-band {
    position: relative; order: 2; inset: auto;
    flex: 1 1 0;
    min-height: 128px;
    margin-top: -6px;
  }
  .ph-band .ph-bg {
    position: absolute; inset: 0;
    object-position: 50% 45%;
  }
  .ph-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg,
      var(--brand-deep) 0%,
      rgba(11, 28, 40, 0.70) 18%,
      rgba(11, 28, 40, 0.22) 44%,
      rgba(11, 28, 40, 0.05) 70%,
      rgba(11, 28, 40, 0.24) 100%);
  }
  .ph .stack, .ph .stack-l { max-width: none; }
  .ph h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}
@media (max-width: 767px) and (max-height: 740px) {
  .ph { padding-top: calc(var(--nav-h) + 4px); }
  .ph > .shell { padding-block: 12px 14px; }
  .ph h1 { font-size: clamp(1.75rem, 7.5vw, 2.1rem); }
  .ph .lead { font-size: var(--t-fine); }
  .ph .stack, .ph .stack-l { gap: 0.85rem; }
  .ph-band { min-height: 88px; }
}

/* ---- Per-image crops. A property of the ARTWORK, keyed off the filename
   (an inline style= fails the build), and deliberately a SMALL correction
   only: at hero aspect a 4096px master painted into a 1440x900 slot leaves
   roughly a tenth of a viewport of horizontal travel, so `object-position`
   nudges a frame, it cannot rescue one. A subject sitting in the middle of
   its frame is a frame to re-shoot, not to re-crop. ---- */
img.ph-bg[src*="/hero/vault-dial"]    { object-position: 72% 50%; }
img.ph-bg[src*="/hero/seal-press"]    { object-position: 70% 50%; }
img.ph-bg[src*="/hero/gauge-bank"]    { object-position: 74% 50%; }
img.ph-bg[src*="/hero/padlock"]       { object-position: 70% 50%; }
img.ph-bg[src*="/hero/balance"]       { object-position: 72% 50%; }
img.ph-bg[src*="/hero/hourglass"]     { object-position: 68% 50%; }
img.ph-bg[src*="/hero/telegraph-key"] { object-position: 70% 50%; }
img.ph-bg[src*="/hero/armillary"]     { object-position: 72% 50%; }
img.ph-bg[src*="/hero/card-drawer"]   { object-position: 66% 50%; }
img.ph-bg[src*="/hero/ledgers"]       { object-position: 74% 50%; }
img.ph-bg[src*="/hero/gauge-blocks"]  { object-position: 72% 50%; }
img.ph-bg[src*="/hero/escutcheons"]   { object-position: 70% 50%; }
img.ph-bg[src*="/hero/wax-seal"]      { object-position: 70% 50%; }

/* ============================================================================
   THE HOME HERO'S LAST LINE: the client rail, riding the photo hero. The wash
   under it holds the marks off the image (the proceptio arrangement).
   ========================================================================== */
.ph > .rail { position: relative; z-index: 1; flex: none; order: 3; }
.ph > .rail::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; top: -28px; z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 18, 28, 0.55) 100%);
}
@media (max-width: 767px) {
  /* The poster's strip is the hero's bottom; a rail under it steals the strip's
     height on the one screen that has none to give. */
  .ph > .rail { display: none; }
}

/* THE BAR GETS ITS OWN ROW ON A PHONE, 2026-08-11, and this is the same defect the
   note at `.gate-bar` records - found again at a different width. The label column is
   a fixed 11rem, so at 390 the bar was left ~100px of the 342px content column and the
   five segments went back to being 12-33px each: present in the markup, invisible on
   the screen. The rule above fixed it at desktop by making the BAR flexible; that has
   no room left to give at phone width, so the label has to stop sharing the row.

   It reaches the home page's story panels too, which have shipped with squeezed bars
   since they were written. That is a fix, not a side effect, but it is why this rule
   is not scoped to the pages added today. */
@media (max-width: 560px) {
  .gate { grid-template-columns: 1.5rem minmax(0, 1fr) 2.5rem; row-gap: 0.45rem; }
  .gate .g-n     { grid-column: 1; grid-row: 1; }
  .gate .g-t     { grid-column: 2; grid-row: 1; }
  .gate .g-c     { grid-column: 3; grid-row: 1; }
  .gate .gate-bar { grid-column: 1 / -1; grid-row: 2; }
  .gate .g-d     { grid-column: 1 / -1; grid-row: 3; padding-top: 0; }
}

/* ---- A plot. The one place a real chart appears, and the densest colour on the
   page: two series of eight bars. Bars are geometry, so they carry artwork hues
   outright - this is the reference's own move (their lime and orange bar charts
   are the most saturated thing in any of their five frames).

   The legend's SWATCH is coloured and its LABEL is not, which is the whole rule
   in one element. ---- */
.plot { padding: 0.85rem 0.85rem 0.7rem; border-top: 1px solid var(--line); }
.plot-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: var(--t-micro); color: var(--ink-2); margin-bottom: 0.7rem;
}
.plot-u { color: var(--ink-3); font-family: var(--font-mono); }
.chart { display: flex; align-items: flex-end; gap: 0.5rem; height: 96px; }
/* Each column holds the two series as siblings, so a column is one period and the
   pair reads as this-week against last-week rather than as sixteen loose bars. */
.cb { flex: 1; display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.cb i, .cb b { flex: 1; border-radius: 2px 2px 0 0; display: block; }
.cb i { background: var(--art-blue); }
.cb b { background: rgba(155, 139, 217, 0.55); }
.chart .cb:nth-child(1) i { height: 54%; } .chart .cb:nth-child(1) b { height: 52%; }
.chart .cb:nth-child(2) i { height: 61%; } .chart .cb:nth-child(2) b { height: 57%; }
.chart .cb:nth-child(3) i { height: 49%; } .chart .cb:nth-child(3) b { height: 50%; }
.chart .cb:nth-child(4) i { height: 68%; } .chart .cb:nth-child(4) b { height: 63%; }
.chart .cb:nth-child(5) i { height: 74%; } .chart .cb:nth-child(5) b { height: 66%; }
.chart .cb:nth-child(6) i { height: 66%; } .chart .cb:nth-child(6) b { height: 65%; }
.chart .cb:nth-child(7) i { height: 88%; } .chart .cb:nth-child(7) b { height: 80%; }
.chart .cb:nth-child(8) i { height: 96%; } .chart .cb:nth-child(8) b { height: 88%; }
.plot-k { display: flex; gap: 1rem; margin-top: 0.6rem; font-size: var(--t-micro); color: var(--ink-3); }
.plot-k span { display: inline-flex; align-items: center; gap: 0.4rem; }
.plot-k span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.k-blue::before   { background: var(--art-blue); }
.k-violet::before { background: rgba(155, 139, 217, 0.55); }

/* ---- Filter row. A console has controls, and drawing them is most of why a
   table reads as a screen somebody uses rather than as a specimen.

   THEY USED TO BE INERT AND NOW ONE SET OF THEM WORKS, 2026-08-11. This note said
   "inert on purpose: there is no JavaScript on this site, so these are depicted". The
   no-JavaScript part is unchanged and is not going to change; what changed is noticing
   that a three-way filter is a radio group, and a radio group has needed no script since
   1995. See `.sw` below. The panel still says `illustrative`, because the DATA is still
   invented - that label was never about whether the controls moved. ---- */
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
  padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--line);
}
.filter {
  font-size: var(--t-micro); color: var(--ink-3);
  border: 1px solid var(--line); border-radius: var(--pill);
  padding: 0.12rem 0.55rem;
}
.filter-on { color: var(--ink-2); border-color: var(--line-2); background: var(--surface-2); }
.filter-sp { margin-left: auto; font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3); }

/* The hour's outcomes as one bar. This is the ONE chart on the site drawn in the
   signal colours, and it is the case they exist for: the segments are literally the
   allowed calls and the refused ones, so the green and the coral are carrying their
   own meaning rather than borrowing it. Everywhere else a chart takes an artwork hue
   precisely so this bar keeps saying something.

   It also earns its place as information: nine rows in a table do not add up in the
   reader's head, and "5 allowed, 4 refused" is the sentence the panel is making. */
.outcome {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line);
}
.outcome-bar { flex: 1; display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--line); }
.outcome-bar i { display: block; height: 100%; }
.outcome-bar .o-yes { width: 55.6%; background: var(--signal-yes); }
.outcome-bar .o-no  { width: 44.4%; background: var(--signal-no); }
/* The audit page's own window, which shows SIX rows rather than the home page's hour:
   3 allowed, 3 refused. The bar has to total the rows printed directly beneath it, or
   the one figure on the page whose job is to be checkable is the one that does not
   check. Same specificity as the pair above, so it wins on source order only. */
.outcome-6 .o-yes { width: 50%; }
.outcome-6 .o-no  { width: 50%; }
/* WHOSE NARROWING, on /security/whose-permissions, and the one `.outcome` bar that must
   NOT be drawn in the signal colours. Its two halves are "the connected system enforces
   this" and "we enforce this", which is a question of WHICH party, not of permitted
   versus refused - and half of a bar in coral on a page about access would read as half
   the systems refusing. Artwork hues, and the two furthest apart in the palette, because
   the whole content of this figure is that the two halves are different parties. */
.outcome-whose .o-them { width: 50%; background: var(--art-blue); }
.outcome-whose .o-us   { width: 50%; background: var(--art-peach); }
/* A FULLY GREEN BAR, on /use-cases/delivery-operations, and the only place on the site
   where all-permitted is the bad news. Both calls in that figure were allowed and every
   gate was right; the defect is that the pair of them turned a model's reading into a
   recorded human sign-off. The bar is honest - it really was 2 of 2 - and the label
   beside it is what makes the picture land. This is the signal palette used exactly as
   defined, on a case where "permitted" is not the same as "fine". */
.outcome-all .o-yes { width: 100%; }
.outcome-all .o-no  { width: 0; }

/* An inline hue marker for a cell inside a window. `.cat-m` and `.win-foot .sys i` both
   draw this dot already and both are scoped to their own container, so a table cell that
   needs one had nowhere to get it. Same 7px geometry as `.cat-m`; the colour comes from
   the `.dot-*` classes, which is why this sets no background of its own.

   IT WAS CALLED `.d`, UNSCOPED, AND IT ATE THE HOME PAGE'S STORY COLUMN (fixed
   2026-08-11). `.story-step .d` is the six one-sentence descriptions in the sticky
   narrative, and it wins the cascade at (0,2,0) - but only for the four properties it
   declares. `display`, `width`, `height` and `border-radius` were declared HERE and
   nowhere there, so every description inherited them: measured at 1440, the active
   step's description computed to width 7px, height 7px, `scrollHeight` 645px, with
   `overflow: hidden` clipping 259 characters of prose into a dot. The accordion, the
   scroll timeline and the reveal animation were all working perfectly, on a 7px box.

   Two things to take from it rather than one. The obvious one: a bare single-letter
   class in a shared stylesheet is a global, and this file has `.n`, `.t`, `.m` and
   `.d` all meaning different things in different components - every other one of them
   is scoped to its container, and this was the exception. The sharper one: partial
   specificity wins are SILENT. Nothing about `.story-step .d` beating `.d` warns you
   that the properties it does not mention are still arriving from somewhere else, so
   the failure looks like a broken animation rather than like a name collision, which
   is exactly where the debugging went first. Scope by name, not by specificity. */
.cell-m {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 0.55rem; vertical-align: 0.05em; flex: none;
}
.outcome-k { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3); white-space: nowrap; }
.outcome-k b { font-weight: 500; }
/* The bar moves when the filter does. Same easing as the gate bars, which animate for
   the same reason: a width that jumps is a redraw, a width that travels is a response. */
.outcome-bar i { transition: width .45s var(--ease-soft-out); }

/* ============================================================================
   THE SWITCH.  /platform/audit-trail, 2026-08-11.

   A THREE-WAY FILTER IS A RADIO GROUP, and a radio group has needed no script since
   1995. The founder asked for switches and the honest objection was never "no JavaScript
   therefore no interaction" - it was that a switch which HIDES half an argument is a loss
   on a page trying to prove something. This one hides nothing that was making a point:
   the whole set is the default, and the two filtered views are ways of looking at it.

   WHY THIS PANEL AND NOT ANOTHER. It already drew filter chips that did nothing, labelled
   illustrative, on a page whose entire argument is "we record refusals too". Clicking
   `refused` and watching the bar go fully coral while three rows remain IS that argument,
   performed rather than asserted. Nowhere else on the site did a control already exist
   with a real thing behind it, which is why there is exactly one switch.

   THE INPUTS ARE SIBLINGS OF EVERYTHING THEY CONTROL, which dictates the markup: `~` only
   reaches later siblings, so the three radios sit as the first children of `.panel`, ahead
   of the head, the filter row, the bar and the body. Labels reach them by `for`, so they
   can sit anywhere. Move a radio inside `.filters` where it visually belongs and every
   selector below silently stops matching.

   ACCESSIBILITY IS THE LABEL, NOT AN ARIA ATTRIBUTE. Each `label[for]` names its radio, so
   the group announces as three radio buttons with real names and works from the keyboard
   with arrow keys, for free. The inputs are moved off-screen rather than `display: none`,
   because a hidden input is not focusable and the control would be mouse-only.
   ========================================================================== */
.sw-in {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; margin: 0;
}
.sw .filter { cursor: pointer; user-select: none; transition: color var(--motion-color) var(--ease-soft-out), border-color var(--motion-color) var(--ease-soft-out), background-color var(--motion-color) var(--ease-soft-out); }
.sw .filter:hover { color: var(--ink-2); border-color: var(--line-2); }

/* Selected chip. The same three declarations `.filter-on` carries, which is now what
   `.filter-on` is FOR: a depicted selection elsewhere, a real one here. */
#af-all:checked ~ .filters label[for="af-all"],
#af-yes:checked ~ .filters label[for="af-yes"],
#af-no:checked  ~ .filters label[for="af-no"] {
  color: var(--ink-2); border-color: var(--line-2); background: var(--surface-2);
}
/* Focus has to land on the CHIP, because the input it belongs to is a 1px box off in the
   corner. Without this the control is keyboard-operable and invisibly so. */
#af-all:focus-visible ~ .filters label[for="af-all"],
#af-yes:focus-visible ~ .filters label[for="af-yes"],
#af-no:focus-visible  ~ .filters label[for="af-no"] {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* The rows. `display: none` rather than a height animation: these are table rows, and a
   collapsing row is the one thing table layout does badly in every browser. */
#af-yes:checked ~ .panel-body .r-no  { display: none; }
#af-no:checked  ~ .panel-body .r-yes { display: none; }

/* The bar answers the filter. This is the part worth having: the summary is not a static
   caption on the data, it is a view of whatever the filter selected. */
#af-yes:checked ~ .outcome .o-yes { width: 100%; }
#af-yes:checked ~ .outcome .o-no  { width: 0; }
#af-no:checked  ~ .outcome .o-yes { width: 0; }
#af-no:checked  ~ .outcome .o-no  { width: 100%; }

/* Three counts, one shown. Written as three spans rather than one that changes, because
   there is no way to change text in CSS that a screen reader reads correctly. */
.outcome-k .k { display: none; }
#af-all:checked ~ .outcome .k-all,
#af-yes:checked ~ .outcome .k-yes,
#af-no:checked  ~ .outcome .k-no { display: inline; }

/* ---- The client rail.

   PORTED FROM proceptio.com's `.hero-rail` (Proceptio.Web/wwwroot/css/design-tokens.css
   6426-6508, HeroSection.razor 63-91), on a founder note 2026-08-10: "have it the same".
   Technique, geometry and timing are copied to the pixel. Two things are deliberately not:

     1. THE GROUND. Theirs is a maroon hero under a photograph, with a bottom-up
        `rgba(6,2,2,.55)` wash to hold the marks off the image. This page has no
        photograph and its ground was moved OFF proceptio.com red this morning (see the
        header of this file). The wash on a flat #151515 would only mud a strip darker
        than the band around it, so it is dropped and the band sits on our own ground.
     2. THE PLACEMENT - and this one is no longer a difference. It read: "theirs is the
        last line of a full-viewport hero, ours is mid-page in its own band". On
        2026-08-16 the founder asked for the reference's arrangement outright ("part of
        the hero like on proceptio web"), so the rail moved into the hero and the band,
        its label and its padding were deleted. The placement rules live with the hero
        (`.hero > .rail`), because that is where the height budget they spend is; only
        the drawing of the strip is here.

   WHAT THE MOVE FIXES, and it is not decoration: the old strip was a wrapped flex grid
   forcing EVERY mark to 26px. Brand assets carry wildly different amounts of ink per unit
   of height, so one CSS height makes Baillie Gifford (a long thin wordmark) read at twice
   the optical weight of Heineken (a stacked mark). The reference solves it with a per-mark
   optical cap, 16-30px, and that table is the load-bearing part of this port.

   `.rail-label` USED TO BE HERE and was deleted with the band on 2026-08-16. Do not add a
   caption back without reading the note on the markup in pages/index.html: the sentence it
   carried was the one keeping these marks a claim about the studio rather than about this
   product, and README.md is explicit that it must never be reworded into the second. ---- */
/* ---- HIDDEN, 2026-08-16 (founder: "remove the clients partners hide them for now").

   ONE RULE, and everything else is left exactly where it was: the markup stays in
   pages/index.html, the 22 marks stay in assets/logos/, and every rule below stays
   correct. Deleting the rule below is the whole of putting it back.

   `display: none` rather than `visibility` or an opacity: the rail is the hero's last
   flex line, so anything that leaves its box in flow keeps 57px of empty strip on the
   floor of the first screen and the hero still measures as though the marks were there.

   The `aria-label` carrying the client names goes with it - `display: none` is removed
   from the accessibility tree too, so a screen reader does not read out a roster that
   nobody can see.

   IF IT COMES BACK, the visible caption comes back with it: a line above the marks
   reading "Proceptio has delivered production systems for", which is a claim about the
   STUDIO. See README.md - without that line, 22 client logos in a PRODUCT hero read as
   this product's customers, which is the thing that rule exists to prevent. ---- */
.rail { display: none; }

.rail {
  position: relative; overflow: hidden;
  height: var(--rail-h);
  border-top: 1px solid var(--hairline-on-dark);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.rail-track {
  display: flex; height: 100%; width: max-content;
  animation: rail-slide var(--rail-secs) linear infinite;
  will-change: transform;
}
.rail-set {
  display: flex; align-items: center; height: 100%;
  gap: var(--rail-gap); padding-right: var(--rail-gap);
}
.rail img {
  flex: none; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity var(--motion-ui) var(--ease-soft-in-out);
}
.rail img:hover { opacity: 1; }
.rail:hover .rail-track { animation-play-state: paused; }
@keyframes rail-slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
/* The optical cap table (a property of the artwork; the build bans inline styles). */
.rail img[src$="/bg.webp"]                { height: 16px; }
.rail img[src$="/ingka.webp"]             { height: 17px; }
.rail img[src$="/lpkf.webp"]              { height: 17px; }
.rail img[src$="/epson.webp"]             { height: 18px; }
.rail img[src$="/techspace.webp"]         { height: 20px; }
.rail img[src$="/acterys.webp"]           { height: 22px; }
.rail img[src$="/ascendx.webp"]           { height: 22px; }
.rail img[src$="/fcg.webp"]               { height: 24px; }
.rail img[src$="/gumiimpex.webp"]         { height: 24px; }
.rail img[src$="/first-samuel.webp"]      { height: 26px; }
.rail img[src$="/pacificag.webp"]         { height: 26px; }
.rail img[src$="/swo-netz.webp"]          { height: 26px; }
.rail img[src$="/whiskeyhouse.webp"]      { height: 26px; }
.rail img[src$="/mti.webp"]               { height: 28px; }
.rail img[src$="/ws.webp"]                { height: 28px; }
.rail img[src$="/bomark.webp"]            { height: 30px; }
.rail img[src$="/cofra.webp"]             { height: 30px; }
.rail img[src$="/cygnum.webp"]            { height: 30px; }
.rail img[src$="/evolvingsolutions.webp"] { height: 30px; }
.rail img[src$="/heineken.webp"]          { height: 30px; }
.rail img[src$="/roc.webp"]               { height: 30px; }
@media (max-width: 768px) {
  .rail {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  }
  .rail-track { animation-duration: calc(var(--rail-secs) * 0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .rail-track { animation: none; }
}

/* ============================================================================
   SCENES: the depicted product surfaces. DEPICTED SOFTWARE is the flatness
   law's one sanctioned exception - the windows keep a 12px radius and the
   house shadow tinted with the deep hue; everything the SITE draws stays
   square and shadowless.
   ========================================================================== */
.scene {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.82fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
  text-align: left;
  /* The stage (2026-08-31). Same field as .fig-art and .story-panel; this is
     the one scene on the site that a first-time visitor is guaranteed to see,
     so it was the worst place to leave the windows sitting on bare band. */
  --stage-accent:   rgba(51, 82, 110, 0.22);
  --stage-accent-2: rgba(156, 98, 29, 0.14);
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% 6%,  rgba(255, 255, 255, 0.92), transparent 60%),
    radial-gradient(70% 50% at 82% 92%, var(--stage-accent),       transparent 70%),
    radial-gradient(60% 45% at 12% 78%, var(--stage-accent-2),     transparent 70%),
    linear-gradient(175deg, #FCFDFE 0%, #EAF0F5 52%, #D9E4EC 100%);
}
@media (max-width: 900px) {
  .scene { grid-template-columns: minmax(0, 1fr); }
}

.win {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; min-width: 0;
  box-shadow: var(--surface-shadow);
  display: flex; flex-direction: column;
}
.win > .win-foot { margin-top: auto; }
.win-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: var(--t-micro); color: var(--ink-3);
}
.win-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); flex: none; }
.win-bar span { margin-left: 0.35rem; color: var(--ink-2); font-weight: 400; }
.win-bar em { margin-left: auto; font-style: normal; font-family: var(--font-mono); }
.win-tbl { width: 100%; border-collapse: collapse; font-size: var(--t-fine); }
.win-tbl th {
  text-align: left; font-weight: 500; color: var(--ink-3);
  font-size: var(--t-micro); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.6rem 0.85rem 0.3rem;
}
.win-tbl td { padding: 0.4rem 0.85rem; color: var(--ink-2); border-top: 1px solid var(--line); }
.win-tbl .num { text-align: right; font-family: var(--font-mono); font-size: var(--t-mono); color: var(--ink-heading); }
.win-foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.2rem 1rem;
  padding: 0.6rem 0.85rem; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3);
}
.win-foot .conn { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink-2); }
.win-foot .conn i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal-yes); }

/* Status pills: the depicted system's own statuses, allowed only INSIDE .win
   (the documented exception to the colour law). Genuinely round, so they keep
   the pill under the flatness law's dot-and-pill carve-out. */
.pill {
  display: inline-block; padding: 0.05rem 0.5rem; border-radius: var(--pill);
  font-size: var(--t-micro); font-family: var(--font-mono);
  border: 1px solid currentColor;
}
.pill-no  { color: var(--signal-no); }
.pill-ok  { color: var(--signal-yes); }
.pill-due { color: var(--accent); }

/* The rail between two faces: one hairline with the MCP node on it.

   2026-08-31: the node was 30px and the rail carried nothing, so the join
   between the two windows read as a decorative separator rather than as the
   thing the whole page is about. Ported from proceptio.com's `.ms-rail`:
   the node grows to 44px and sits on its own lifted surface, and a small
   accent packet travels the rail every 5s. That packet is the ONE ambient
   motion in the scene and it is what makes the connector read as live.
   Motion is opt-in (see the reduced-motion block); the static render is the
   complete picture, as everything on this site must be. */
.rail-x { position: relative; display: flex; align-items: center; justify-content: center; width: 96px; }
.rail-x::before { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line-2); }
.rail-node {
  position: relative; z-index: 1;
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 12px;
  transform: rotate(45deg); color: var(--brand);
  box-shadow: 0 6px 20px rgba(11, 28, 40, 0.10);
}
.rail-node svg { width: 20px; height: 20px; transform: rotate(-45deg); fill: currentColor; }

/* The travelling packet. `.rail-x` is horizontal on desktop and flips to
   vertical under 900px, so the packet needs one keyframe set per axis. */
.rail-x::after {
  content: ""; position: absolute;
  width: 7px; height: 3px; background: var(--accent);
  left: 0; top: calc(50% - 1.5px); opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .rail-x::after { animation: railPacket 5s var(--ease-soft-out) infinite; }
}
@keyframes railPacket {
  0%        { left: -8px;  opacity: 0; }
  6%        { opacity: 0.95; }
  46%       { left: calc(100% + 1px); opacity: 0.95; }
  52%, 100% { left: calc(100% + 1px); opacity: 0; }
}

@media (max-width: 900px) {
  .rail-x { width: 100%; height: 76px; }
  .rail-x::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .rail-x::after { width: 3px; height: 7px; left: calc(50% - 1.5px); top: 0; }
  @media (prefers-reduced-motion: no-preference) {
    .rail-x::after { animation-name: railPacketV; }
  }
}
@keyframes railPacketV {
  0%        { top: -8px;  opacity: 0; }
  6%        { opacity: 0.95; }
  46%       { top: calc(100% + 1px); opacity: 0.95; }
  52%, 100% { top: calc(100% + 1px); opacity: 0; }
}

/* The assistant side: deliberately unbranded. Depicted software, so it keeps
   the window treatment. */
.asst {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 0.85rem; min-width: 0;
  box-shadow: var(--surface-shadow);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.asst > .convo { flex: 1; }
.asst-status {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: var(--t-fine); color: var(--ink-2);
}
.asst-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal-yes); flex: none; }
.asst-composer {
  border: 1px solid var(--line-2); border-radius: 8px; padding: 0.6rem 0.7rem;
  background: var(--surface);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.asst-composer .ph-cue { font-size: var(--t-fine); color: var(--ink-3); }

/* The hero exchange plays itself (CSS only; the markup is the finished state
   and the animation only withholds it - reduced motion gets the complete
   exchange immediately). */
:root { --typed-steps: 38; }
@media (prefers-reduced-motion: no-preference) {
  .asst-composer .typed {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    color: var(--ink-heading);
    border-right: 1px solid var(--accent);
    animation:
      type 1.1s steps(var(--typed-steps), end) 0.9s both,
      caret 0.6s steps(1, end) 0.9s 4 both,
      caret-off 0.01s linear 2.3s both;
  }
  @keyframes type      { from { width: 0; } to { width: 100%; } }
  @keyframes caret     { 0% { border-right-color: var(--accent); } 50% { border-right-color: transparent; } }
  @keyframes caret-off { to { border-right-color: transparent; } }
  .asst .convo-tool { animation: settle 0.3s var(--ease-soft-out) 2.2s both; }
  .asst .convo-a    { animation: settle 0.4s var(--ease-soft-out) 2.55s both; }
  @keyframes settle { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
.asst-composer .r { display: flex; align-items: center; justify-content: space-between; color: var(--ink-3); }
.asst-composer .send {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--on-dark); font-size: 0.75rem;
}

/* Vendor marks: light hairline tiles; the lit state is the verified client
   (evidence, not hierarchy). Grayscale keeps a third-party PNG from smuggling
   a hue past the colour law. */
.marks {
  display: flex; align-items: center; gap: 0.45rem;
  padding-bottom: 0.15rem;
}
.mark {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--surface-alt); border: 1px solid var(--line);
  color: var(--ink-3);
}
.mark svg { width: 15px; height: 15px; fill: currentColor; display: block; }
.mark img { width: 15px; height: 15px; display: block; }
.mark img, .mark-sm img { filter: grayscale(1) contrast(0.9); }
.mark-on {
  background: rgba(162, 102, 31, 0.10);
  border-color: rgba(162, 102, 31, 0.38);
  color: var(--accent);
}
.marks-cap {
  font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3);
  margin-left: 0.15rem; min-width: 0;
}
.marks-cap b { color: var(--ink-2); font-weight: 500; }
.mark-sm {
  width: 20px; height: 20px; border-radius: 5px; flex: none;
  display: inline-grid; place-items: center; vertical-align: -0.3em; margin-right: 0.45rem;
  background: var(--surface-alt); border: 1px solid var(--line);
  color: var(--ink-3);
}
.mark-sm svg { width: 11px; height: 11px; fill: currentColor; display: block; }
.mark-sm img { width: 11px; height: 11px; display: block; }
.mark-sm.mark-on { background: rgba(162, 102, 31, 0.10); }

/* ============================================================================
   THE DARK ASSISTANT SURFACE (2026-08-31)
   Ported from proceptio.com's step-01 scene, which is the move that makes
   that section read as two different worlds joined rather than as two boxes
   next to each other: a LIGHT system window on one side, a DARK assistant
   window on the other, and the app tiles lifted onto the seam between them.
   Same frame, two grounds. Nothing else in the kit buys that much depth for
   this little markup.

   THE HUE IS `--brand-deep`, NOT CLAUDE'S `#262624`, and that is deliberate.
   The scenes on this site are unbranded on purpose (see `.asst` above and the
   `marks-cap` copy: Claude is shown as the VERIFIED one, not as the only one).
   A claude.ai-coloured surface here would quietly turn an evidence statement
   into a vendor endorsement. proceptio.com may use Claude's real colours
   because that page IS about running inside Claude; this one is not.
   ========================================================================== */
.asst-dark {
  background: var(--brand-deep);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 50px rgba(11, 28, 40, 0.22), 0 3px 12px rgba(11, 28, 40, 0.10);
  padding-top: 1.9rem;
}
.asst-dark .asst-status      { color: var(--on-dark-soft); }
.asst-dark .asst-status b    { color: var(--on-dark); font-weight: 600; }
.asst-dark .asst-composer    { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.14); }

/* #8FA3B4 on --brand-deep measures 6.2:1. The light-ground `--ink-3` used by
   the base `.asst` measures 2.4:1 here, which is the trap the reference
   documents: a shared grey cannot serve both grounds. */
.asst-dark .asst-composer .ph-cue { color: #8FA3B4; }
.asst-dark .asst-composer .typed  { color: var(--on-dark); }
.asst-dark .asst-composer .r      { color: #8FA3B4; }
.asst-dark .asst-composer .send   { background: var(--accent-on-dark); color: var(--brand-deep); }
.asst-dark .convo-tool            { background: rgba(255, 255, 255, 0.05); color: #9DB0BF; border-color: rgba(255, 255, 255, 0.16); }
.asst-dark .convo-tool b          { color: var(--accent-on-dark); }
.asst-dark .convo-a               { color: var(--on-dark); }
.asst-dark .convo-a strong        { color: var(--on-dark); }
.asst-dark .marks-cap             { color: #8FA3B4; }
.asst-dark .marks-cap b           { color: var(--on-dark-soft); }

/* The tiles ride the top edge, half on the dark ground and half off it, which
   is what stitches the two halves of the scene together. The ring is the
   stage's own light, so the tile reads as cut out of the field. */
.asst-dark .marks {
  margin-top: -2.85rem;
  margin-bottom: 0.35rem;
  align-items: center;
}
.asst-dark .mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: #16303F; border-color: rgba(255, 255, 255, 0.14);
  color: #C4D2DC;
  box-shadow: 0 6px 18px rgba(4, 14, 20, 0.40);
}
.asst-dark .mark svg { width: 17px; height: 17px; }
.asst-dark .mark img { width: 17px; height: 17px; }
.asst-dark .mark-on {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(156, 98, 29, 0.45), 0 0 0 4px rgba(251, 252, 253, 0.85);
}
/* The lit mark is a real vendor SVG, and the greyscale filter that keeps a
   third-party PNG from smuggling a hue past the colour law would also kill
   the one tile that is supposed to be lit. */
.asst-dark .mark-on img { filter: none; }

/* On a phone the scene stacks, and the lifted tile row takes the caption up
   onto the LIGHT stage with it: #8FA3B4 on that ground measures 2.3:1, and it
   lands on top of the tiles as well. The caption drops to its own line and
   back onto the dark panel, where its contrast was measured. */
@media (max-width: 900px) {
  .asst-dark { padding-top: 1.4rem; }
  .asst-dark .marks { margin-top: -2.5rem; flex-wrap: wrap; }
  .asst-dark .marks-cap {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 1.5rem;
    color: #9DB0BF;
  }
}

/* The depicted table is wider than a phone, and `.win` clips it, so the
   Status column was cut with nothing to say it had been. Drop the Days
   column instead: it is the one the answer does not use. */
/* The typed line is `white-space: nowrap` + `overflow: hidden`, which is how
   the CSS-only typing works. Below 640 the question is wider than the
   composer, so it stays permanently cut instead of typing. Let it wrap and
   drop the animation: on a phone the finished sentence beats the effect. */
@media (max-width: 640px) {
  .asst-composer .typed {
    white-space: normal; overflow: visible; max-width: none;
    animation: none; border-right: 0;
  }
}

@media (max-width: 640px) {
  .scene .win-tbl th:nth-child(3),
  .scene .win-tbl td:nth-child(3) { display: none; }
  .scene .win-tbl th,
  .scene .win-tbl td { padding-left: 0.55rem; padding-right: 0.55rem; }
  .scene { padding: 20px 14px; }
}

/* Tool chips: offered vs withheld, carried by border + strike (survives
   greyscale); the offered accent is the amber micro-accent. */
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.8rem 0.85rem; }
.chip {
  font-family: var(--font-mono); font-size: var(--t-micro);
  border: 1px solid var(--line-2); border-radius: 5px;
  padding: 0.18rem 0.5rem; color: var(--ink-2); white-space: nowrap;
}
.chip-on {
  color: var(--accent); border-color: rgba(162, 102, 31, 0.42);
  background: rgba(162, 102, 31, 0.07);
}
.chip-off { color: var(--ink-3); border-style: dashed; text-decoration: line-through; }
.chip-more { color: var(--ink-3); border-style: dashed; }
.chips-sep { border-top: 1px solid var(--line); }
.cats-sep .cat:first-child { border-top: 1px solid var(--line); }

/* The narrowing funnel. */
.gates { display: flex; flex-direction: column; }
.gate {
  display: grid; grid-template-columns: 1.5rem 11rem minmax(0, 1fr) 2rem;
  grid-template-rows: auto auto; align-content: center;
  gap: 0 0.9rem; align-items: center;
  padding: 0.6rem 0.85rem; border-top: 1px solid var(--line);
  font-size: var(--t-fine); color: var(--ink-2);
}
.gate:first-child { border-top: 0; }
.gate .g-n { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3); }
.gate .g-t { font-size: var(--t-fine); }
.gate .g-c { font-family: var(--font-mono); font-size: var(--t-mono); color: var(--ink-heading); text-align: right; }
.gate .g-d {
  grid-column: 2 / -1; font-size: var(--t-micro); color: var(--ink-3);
  font-family: var(--font-mono); padding-top: 0.15rem;
}
.gate-bar { height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; display: flex; }
.gate-bar i { display: block; height: 100%; transition: width 0.4s var(--ease-soft-out); }
.gate-bar .s-blue   { background: var(--art-blue); }
.gate-bar .s-violet { background: var(--art-violet); }
.gate-bar .s-teal   { background: var(--art-teal); }
.gate-bar .s-peach  { background: var(--art-peach); }
.gate-bar .s-cyan   { background: var(--art-cyan); }
/* Widths are counts over 21 (see the roster note in the page markup);
   nth-child because an inline style= fails the build. */
.gates .gate:nth-child(1) .gate-bar .s-blue   { width: 38.1%; }
.gates .gate:nth-child(1) .gate-bar .s-violet { width: 14.3%; }
.gates .gate:nth-child(1) .gate-bar .s-teal   { width: 14.3%; }
.gates .gate:nth-child(1) .gate-bar .s-peach  { width: 14.3%; }
.gates .gate:nth-child(1) .gate-bar .s-cyan   { width: 19.0%; }
.gates .gate:nth-child(2) .gate-bar .s-blue   { width: 28.6%; }
.gates .gate:nth-child(2) .gate-bar .s-violet { width: 14.3%; }
.gates .gate:nth-child(2) .gate-bar .s-teal,
.gates .gate:nth-child(2) .gate-bar .s-peach,
.gates .gate:nth-child(2) .gate-bar .s-cyan   { width: 0; }
.gates .gate:nth-child(3) .gate-bar .s-blue   { width: 28.6%; }
.gates .gate:nth-child(3) .gate-bar .s-violet { width: 14.3%; }
.gates .gate:nth-child(3) .gate-bar .s-teal,
.gates .gate:nth-child(3) .gate-bar .s-peach,
.gates .gate:nth-child(3) .gate-bar .s-cyan   { width: 0; }
.gates .gate:nth-child(4) .gate-bar .s-blue   { width: 19.0%; }
.gates .gate:nth-child(4) .gate-bar .s-violet { width: 9.5%; }
.gates .gate:nth-child(4) .gate-bar .s-teal,
.gates .gate:nth-child(4) .gate-bar .s-peach,
.gates .gate:nth-child(4) .gate-bar .s-cyan   { width: 0; }
.gates .gate:nth-child(5) .gate-bar .s-blue   { width: 19.0%; }
.gates .gate:nth-child(5) .gate-bar .s-violet,
.gates .gate:nth-child(5) .gate-bar .s-teal,
.gates .gate:nth-child(5) .gate-bar .s-peach,
.gates .gate:nth-child(5) .gate-bar .s-cyan   { width: 0; }
.gate-out { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3); }
.win > .gates { flex: 1; }
.gates .gate { flex: 1; }
@media (max-width: 560px) {
  .gate { grid-template-columns: 1.5rem minmax(0, 1fr) 2.5rem; row-gap: 0.45rem; }
  .gate .g-n     { grid-column: 1; grid-row: 1; }
  .gate .g-t     { grid-column: 2; grid-row: 1; }
  .gate .g-c     { grid-column: 3; grid-row: 1; }
  .gate .gate-bar { grid-column: 1 / -1; grid-row: 2; }
  .gate .g-d     { grid-column: 1 / -1; grid-row: 3; padding-top: 0; }
}

/* Key/value face. */
.kv { width: 100%; border-collapse: collapse; font-size: var(--t-fine); }
.kv td { padding: 0.42rem 0.85rem; border-top: 1px solid var(--line); color: var(--ink-2); }
.kv tr:first-child td { border-top: 0; }
.kv td:first-child { color: var(--ink-3); white-space: nowrap; width: 1%; padding-right: 1rem; }
.kv td:last-child { width: auto; }
.kv td.m { font-family: var(--font-mono); font-size: var(--t-mono); color: var(--ink-heading); }

/* Two faces with the rail between them, stretched to a common height. */
.pair { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: stretch; }
@media (max-width: 900px) { .pair { grid-template-columns: minmax(0,1fr); } }

/* A conversation exchange. */
.convo { display: flex; flex-direction: column; gap: 0.6rem; }
.convo-q {
  align-self: flex-end; max-width: 82%;
  background: var(--surface-alt); border: 1px solid var(--line);
  border-radius: 12px 12px 4px 12px; padding: 0.55rem 0.8rem;
  font-size: var(--t-fine); color: var(--ink-heading);
}
.convo-tool {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 6px; padding: 0.25rem 0.6rem;
  background: var(--surface);
}
.convo-tool b { color: var(--accent); font-weight: 600; white-space: nowrap; }
.convo-a {
  align-self: flex-start; max-width: 92%;
  font-size: var(--t-fine); color: var(--ink-2); line-height: 1.5;
}
.convo-a strong { color: var(--ink-heading); font-weight: 600; }

/* Records: mono, because here it is data. */
.rec { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: var(--t-mono); }
.rec th {
  text-align: left; font-weight: 500; color: var(--ink-3); white-space: nowrap;
  font-size: var(--t-micro); letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.75rem 1.1rem 0.35rem;
}
.rec td { padding: 0.32rem 1.1rem; color: var(--ink-2); white-space: nowrap; text-align: left; }
.rec tr:last-child td { padding-bottom: 0.9rem; }
.rec td.v { color: var(--ink-heading); }
.code {
  font-family: var(--font-mono); color: var(--accent);
  background: rgba(162, 102, 31, 0.08);
  border: 1px solid rgba(162, 102, 31, 0.24);
  border-radius: 4px; padding: 0.05rem 0.4rem;
}

/* Who, with a face (initials only; the no-invented-people rule). */
.idcard {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 0 0.7rem; align-items: center;
  padding: 0.8rem 0.85rem; border-bottom: 1px solid var(--line);
}
.avatar {
  grid-row: span 2; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.04em;
  color: var(--ink-heading);
}
.av-blue { background: rgba(74, 127, 168, 0.14); border: 1px solid rgba(74, 127, 168, 0.50); }
.idcard-t { font-size: var(--t-fine); color: var(--ink-heading); align-self: end; }
.idcard-s { font-size: var(--t-micro); color: var(--ink-3); align-self: start; }

/* System badges + hue dots (which system is not a verdict). */
.win-foot .sys { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink-2); }
.win-foot .sys i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.dot-blue   { background: var(--art-blue); }
.dot-violet { background: var(--art-violet); }
.dot-teal   { background: var(--art-teal); }
.dot-peach  { background: var(--art-peach); }
.dot-cyan   { background: var(--art-cyan); }
.dot-rose   { background: var(--art-rose); }

/* Tools by category: hue on the MARKER and the METER, never on the name. */
.cats { display: flex; flex-direction: column; }
.cat {
  display: grid; grid-template-columns: 0.6rem 6.5rem minmax(0, 1fr) 2.4rem;
  gap: 0.1rem 0.7rem; align-items: center;
  padding: 0.5rem 0.85rem; border-top: 1px solid var(--line);
}
.cat:first-child { border-top: 0; }
.cat-m { width: 7px; height: 7px; border-radius: 50%; }
.m-blue   { background: var(--art-blue); }
.m-violet { background: var(--art-violet); }
.m-teal   { background: var(--art-teal); }
.m-peach  { background: var(--art-peach); }
.m-cyan   { background: var(--art-cyan); }
.m-rose   { background: var(--art-rose); }
.cat-l { font-size: var(--t-fine); color: var(--ink-2); }
.cat-meter { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.cat-meter span { display: block; height: 100%; }
.b-blue   span { background: var(--art-blue); }
.b-violet span { background: var(--art-violet); }
.b-teal   span { background: var(--art-teal); }
.b-peach  span { background: var(--art-peach); }
.b-cyan   span { background: var(--art-cyan); }
.b-rose   span { background: var(--art-rose); }
/* Fill widths, nth-child (see the roster notes beside each variant). All the
   figures below are the PAGES' OWN numbers; if a number moves on a page, its
   block moves here with it. */
.cats .cat:nth-child(1) .cat-meter span { width: 75%; }
.cats .cat:nth-child(2) .cat-meter span { width: 100%; }
.cats .cat:nth-child(3) .cat-meter span { width: 0; }
.cats .cat:nth-child(4) .cat-meter span { width: 0; }
.cats .cat:nth-child(5) .cat-meter span { width: 0; }
.cats-incident .cat:nth-child(1) .cat-meter span { width: 100%; }
.cats-incident .cat:nth-child(2) .cat-meter span { width: 100%; }
.cats-incident .cat:nth-child(3) .cat-meter span { width: 0; }
.cats-incident .cat:nth-child(4) .cat-meter span { width: 0; }
.cats-kinds .cat:nth-child(1) .cat-meter span { width: 80%; }
.cats-kinds .cat:nth-child(2) .cat-meter span { width: 100%; }
.cats-kinds .cat:nth-child(3) .cat-meter span { width: 80%; }
.cats-unfinished .cat:nth-child(1) .cat-meter span { width: 15.4%; }
.cats-unfinished .cat:nth-child(2) .cat-meter span { width: 0; }
.cats-unfinished .cat:nth-child(3) .cat-meter span { width: 0; }
.cats-planner    .cat:nth-child(1) .cat-meter span { width: 75%; }
.cats-controller .cat:nth-child(1) .cat-meter span { width: 100%; }
.cats-catalogue .cat:nth-child(1) .cat-meter span { width: 100%; }
.cats-catalogue .cat:nth-child(2) .cat-meter span { width: 20%; }
.cats-catalogue .cat:nth-child(3) .cat-meter span { width: 16.7%; }
.cats-catalogue .cat:nth-child(4) .cat-meter span { width: 16.7%; }
.cats-catalogue .cat:nth-child(5) .cat-meter span { width: 0; }
.cats-catalogue .cat:nth-child(6) .cat-meter span { width: 0; }
.cats-modes .cat:nth-child(1) .cat-meter span { width: 15.4%; }
.cats-modes .cat:nth-child(2) .cat-meter span { width: 53.8%; }
.cats-modes .cat:nth-child(3) .cat-meter span { width: 30.8%; }
.cats-tools .cat:nth-child(1) .cat-meter span { width: 100%; }
.cats-tools .cat:nth-child(2) .cat-meter span { width: 57.1%; }
.cats-tools .cat:nth-child(3) .cat-meter span { width: 42.9%; }
.cats-tools .cat:nth-child(4) .cat-meter span { width: 42.9%; }
.cats-tools .cat:nth-child(5) .cat-meter span { width: 42.9%; }
.cats-tools .cat:nth-child(6) .cat-meter span { width: 14.3%; }
.cat-c { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3); text-align: right; }
.cat .chips { grid-column: 2 / -1; padding: 0.35rem 0 0; }

/* A plot: bars are geometry, so they carry artwork hues outright. The
   legend's SWATCH is coloured and its LABEL is not. */
.plot { padding: 0.85rem 0.85rem 0.7rem; border-top: 1px solid var(--line); }
.plot-h {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: var(--t-micro); color: var(--ink-2); margin-bottom: 0.7rem;
}
.plot-u { color: var(--ink-3); font-family: var(--font-mono); }
.chart { display: flex; align-items: flex-end; gap: 0.5rem; height: 96px; }
.cb { flex: 1; display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.cb i, .cb b { flex: 1; border-radius: 2px 2px 0 0; display: block; }
.cb i { background: var(--art-blue); }
.cb b { background: color-mix(in srgb, var(--art-violet) 62%, transparent); }
.chart .cb:nth-child(1) i { height: 54%; } .chart .cb:nth-child(1) b { height: 52%; }
.chart .cb:nth-child(2) i { height: 61%; } .chart .cb:nth-child(2) b { height: 57%; }
.chart .cb:nth-child(3) i { height: 49%; } .chart .cb:nth-child(3) b { height: 50%; }
.chart .cb:nth-child(4) i { height: 68%; } .chart .cb:nth-child(4) b { height: 63%; }
.chart .cb:nth-child(5) i { height: 74%; } .chart .cb:nth-child(5) b { height: 66%; }
.chart .cb:nth-child(6) i { height: 66%; } .chart .cb:nth-child(6) b { height: 65%; }
.chart .cb:nth-child(7) i { height: 88%; } .chart .cb:nth-child(7) b { height: 80%; }
.chart .cb:nth-child(8) i { height: 96%; } .chart .cb:nth-child(8) b { height: 88%; }
.plot-k { display: flex; gap: 1rem; margin-top: 0.6rem; font-size: var(--t-micro); color: var(--ink-3); }
.plot-k span { display: inline-flex; align-items: center; gap: 0.4rem; }
.plot-k span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; }
.k-blue::before   { background: var(--art-blue); }
.k-violet::before { background: color-mix(in srgb, var(--art-violet) 62%, transparent); }

/* Filter row + the working switch (radio group, no script since 1995). */
.filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem;
  padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--line);
}
.filter {
  font-size: var(--t-micro); color: var(--ink-3);
  border: 1px solid var(--line); border-radius: var(--pill);
  padding: 0.12rem 0.55rem;
}
.filter-on { color: var(--ink-heading); border-color: var(--line-2); background: var(--surface-2); }
.filter-sp { margin-left: auto; font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3); }

.outcome {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line);
}
.outcome-bar { flex: 1; display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--line); }
.outcome-bar i { display: block; height: 100%; transition: width .45s var(--ease-soft-out); }
.outcome-bar .o-yes { width: 55.6%; background: var(--signal-yes); }
.outcome-bar .o-no  { width: 44.4%; background: var(--signal-no); }
.outcome-6 .o-yes { width: 50%; }
.outcome-6 .o-no  { width: 50%; }
.outcome-whose .o-them { width: 50%; background: var(--art-blue); }
.outcome-whose .o-us   { width: 50%; background: var(--art-peach); }
.outcome-all .o-yes { width: 100%; }
.outcome-all .o-no  { width: 0; }
.cell-m {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 0.55rem; vertical-align: 0.05em; flex: none;
}
.outcome-k { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-3); white-space: nowrap; }
.outcome-k b { font-weight: 600; }

/* The audit-trail switch (three radios as first children of .panel). */
.sw-in {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; margin: 0;
}
.sw .filter { cursor: pointer; user-select: none; transition: color var(--motion-color) var(--ease-soft-out), border-color var(--motion-color) var(--ease-soft-out), background-color var(--motion-color) var(--ease-soft-out); }
.sw .filter:hover { color: var(--ink-2); border-color: var(--line-2); }
#af-all:checked ~ .filters label[for="af-all"],
#af-yes:checked ~ .filters label[for="af-yes"],
#af-no:checked  ~ .filters label[for="af-no"] {
  color: var(--ink-heading); border-color: var(--line-2); background: var(--surface-2);
}
#af-all:focus-visible ~ .filters label[for="af-all"],
#af-yes:focus-visible ~ .filters label[for="af-yes"],
#af-no:focus-visible  ~ .filters label[for="af-no"] {
  outline: 2px solid var(--brand); outline-offset: 3px;
}
#af-yes:checked ~ .panel-body .r-no  { display: none; }
#af-no:checked  ~ .panel-body .r-yes { display: none; }
#af-yes:checked ~ .outcome .o-yes { width: 100%; }
#af-yes:checked ~ .outcome .o-no  { width: 0; }
#af-no:checked  ~ .outcome .o-yes { width: 0; }
#af-no:checked  ~ .outcome .o-no  { width: 100%; }
.outcome-k .k { display: none; }
#af-all:checked ~ .outcome .k-all,
#af-yes:checked ~ .outcome .k-yes,
#af-no:checked  ~ .outcome .k-no { display: inline; }

/* ---- Cards: flat hairline tiles (the Rectilinear card). 1px hairline gaps,
   square, no shadow - site chrome, not depicted software. ---- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1040px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px)  { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.7rem; }
.card h3 { font-size: 1.125rem; font-weight: 500; }
.card p { font-size: var(--t-fine); color: var(--ink-2); }

/* ---- ASKS: real questions, typeset as questions.
   Added 2026-09-02 for the home page's questions band. The site had counted
   580 mentions of who may do what and exactly ONE example of a sentence a
   person would actually type (design/message-audit-2026-09-02.md), so this
   component exists to carry the reader's own words rather than ours.

   No bullet and no quotation marks: a hairline per row is the Rectilinear
   way to separate list items, and a bullet would make six questions read as
   a feature list. Ink is the HEADING ink, not body ink - these are the
   loudest lines in the card, which is the whole point of the band. ---- */
.asks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.asks li {
  font-size: var(--t-fine); line-height: 1.5; color: var(--ink-heading);
  padding: 0.72rem 0; border-top: 1px solid var(--line);
}
.asks li:first-child { border-top: 0; padding-top: 0.1rem; }
.asks li:last-child { padding-bottom: 0.1rem; }
/* The card's own gap is 0.7rem; the list supplies its own rhythm, so it sits
   flush under the kicker rather than inheriting a second gap on top. */
.card > .asks { margin-top: 0.15rem; }

/* ---- Numbered beats ---- */
.beats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2rem; max-width: 54rem; }
.beat { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0 1.1rem; }
.beat .i { font-family: var(--font-mono); font-size: var(--t-mono); color: var(--accent); padding-top: 0.35rem; }
.beat h3 { font-size: 1.125rem; font-weight: 500; margin-bottom: 0.4rem; }
.beat p { color: var(--ink-2); font-size: var(--t-fine); }
.beat .by { display: block; margin-top: 0.5rem; font-size: var(--t-fine); color: var(--ink-3); }

/* ---- Ledger table ---- */
.tbl-wrap { overflow-x: auto; max-width: 62rem; }
.tbl { width: 100%; border-collapse: collapse; text-align: left; font-size: var(--t-fine); min-width: 38rem; }
.tbl th {
  font-family: var(--font-mono); font-size: var(--t-micro); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  padding: 0 1rem 0.7rem 0; border-bottom: 1px solid var(--line-2); vertical-align: bottom;
}
.tbl td { padding: 0.95rem 1rem 0.95rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.k { color: var(--ink-heading); white-space: nowrap; }
.tbl td.k span:not(.mark-sm) { display: block; font-size: var(--t-micro); color: var(--ink-3); margin-top: 0.15rem; }
.tbl td.m { font-family: var(--font-mono); font-size: var(--t-mono); white-space: nowrap; }
@media (max-width: 640px) {
  .tbl-catalogue { min-width: 0; }
  .tbl-catalogue td.k,
  .tbl-catalogue td.m { white-space: normal; }
}

/* ---- Two-column ledger (held / not held) ---- */
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2rem 3rem; max-width: 58rem; }
.ledger > div { display: flex; flex-direction: column; gap: 0.9rem; }
.ledger h3 { font-size: 1.0625rem; font-weight: 500; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line-2); }
.ledger ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.ledger li { font-size: var(--t-fine); color: var(--ink-2); }
.ledger li b { font-weight: 600; color: var(--ink-heading); }

/* ---- Section shapes: the split band and the figure. The ambient glow fields
   of the dark era are GONE (flatness: Rectilinear draws with hairlines and
   grounds, not with light pools); .fig-art remains as a plain wrapper so the
   markup needs no edit, and the glow-* classes are inert. ---- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 941px) {
  .split-rev { grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); }
  .split-rev > .fig { order: -1; }
}
@media (max-width: 940px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}
.fig { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.fig figcaption {
  font-size: var(--t-fine); color: var(--ink-3); line-height: 1.6; max-width: 52ch;
}
.fig figcaption strong { color: var(--ink-2); font-weight: 600; }
.fig-art { position: relative; z-index: 0; }
.fig-wide { max-width: 100%; }

/* ---- THE STAGE (2026-08-31), ported from proceptio.com's `.ms-scene`
   register (its `design/ai-scroll-teardown.md` is the measured source).

   A depicted product surface needs a FIELD to float on. Every `.win` here
   already carries the house shadow, and on a flat band that shadow has
   nothing to fall on: the window reads as a diagram drawn on the page rather
   than as software sitting on a surface. The stage is what the reference has
   and we did not, and it is the biggest single difference between the two.

   Three radial lights over a linear base, hairline framed:
     1. a white light at the top, so the window's top edge separates
     2. an accent light bottom right, the corner the shadow falls into
     3. a second, deeper light bottom left, so the field is not symmetrical
   The base runs near-white to tinted, top to bottom, which gives it a floor.

   THE HUE IS OURS, NOT THE REFERENCE'S. proceptio.com's stage is warm cream
   because that is Claude's own brand; ours is steel because that is this
   site's. Copying the cream would import a foreign visual language into
   every band, which README.md bans. What stays identical is the GEOMETRY:
   34px pad, 1px hairline, overflow hidden, three lights over a linear base.

   Applied on `.fig-art` rather than per page, so all 24 figures across the
   20 pages that carry one land together and cannot drift apart.

   `--stage-accent` is the bottom-right light and is the only thing the
   `.glow-*` modifiers change. Those three classes have been sitting in the
   markup since the Retool direction with NO CSS behind them at all; this is
   what they were always naming. ---- */
.fig-art {
  --stage-accent:   rgba(51, 82, 110, 0.20);   /* brand steel, the default */
  --stage-accent-2: rgba(156, 98, 29, 0.13);  /* the amber micro-accent */
  padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% 6%,  rgba(255, 255, 255, 0.92), transparent 60%),
    radial-gradient(70% 50% at 82% 92%, var(--stage-accent),       transparent 70%),
    radial-gradient(60% 45% at 12% 78%, var(--stage-accent-2),     transparent 70%),
    linear-gradient(175deg, #FCFDFE 0%, #EAF0F5 52%, #D9E4EC 100%);
}

.glow-blue   { --stage-accent: rgba(51, 82, 110, 0.22); }
.glow-cyan   { --stage-accent: rgba(31, 106, 122, 0.20); }
.glow-violet { --stage-accent: rgba(78, 70, 120, 0.18); }

/* ---- The claim: one sentence at heading size with a rule above it. ----

   The rule is drawn by a pseudo-element inset by the gutter, NOT by a
   border-top on the box. `.claim` is also a `.shell`, so its border box is the
   1280 shell INCLUDING its 48px padding, while the page-line verticals stand on
   the CONTENT edge. A plain border-top therefore overshot both verticals by a
   full gutter on all ten pages that carry a claim, which is the one place on
   this site where a horizontal hairline crossed the vertical grid. Inset here
   and the rule starts and stops exactly on the two page lines. */
.claim { position: relative; padding-top: clamp(1.75rem, 3vw, 2.5rem); }
.claim::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  border-top: 1px solid var(--line-2);
  pointer-events: none;
}
.claim p {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem);
  line-height: 1.25; letter-spacing: normal; font-weight: 500;
  color: var(--ink-heading); max-width: 30ch;
}
.claim .fine {
  margin-top: 1.1rem; max-width: 58ch;
  font-size: var(--t-fine); line-height: 1.6;
  letter-spacing: normal; color: var(--ink-3); font-weight: 300;
}

/* ---- THE STATEMENT BAND (2026-08-28), ported from proceptio.com, where the
   red band directly under the hero carries ONE two-tone run-on sentence and
   nothing else. The hue is this site's: --gradient-brand is the steel mapping
   (deep navy -> brand steel -> sand), so the device travels and the red does
   not.

   IT IS A `div`, NOT A `section`, ON PURPOSE. `main > section.band:nth-of-type(even)`
   paints the alternating ground, and nth-of-type counts every sibling <section>
   whatever its class - so shipping this as a section would silently flip the
   band rhythm of every page it lands on, from the hero down.

   Four rules came with the device (Proceptio.Web, design/statement-band.md):
     1. ONE sentence. No fact rail, no stat cells, no client rail underneath.
        The two-tone sentence IS the device; a second thing to read is what got
        the first two drafts rejected.
     2. The turn (the <span>) must read as the same sentence continuing, never
        as a subtitle. Same size, same weight, lower tone.
     3. Directly after the hero, and a page carries exactly ONE.
     4. Cover the page's headline and read only the band. If two pages' bands
        are interchangeable it is wallpaper, not a system. ---- */
.statement-band {
  position: relative; z-index: 0;
  background-image: var(--gradient-statement);
  color: var(--on-dark);
}
.statement-band > .shell { padding-block: clamp(3.5rem, 5vw, 5rem); }

/* The page grid runs THROUGH the band, on the same lines as .band::before:
   a route where the grid runs in a band and then stops reads as a different
   site. */
@media (min-width: 1024px) {
  .statement-band::before {
    content: "";
    position: absolute; z-index: -1;
    top: 0; bottom: 0;
    left:  calc(max((100% - var(--shell)) / 2, 0px) + var(--gutter));
    right: calc(max((100% - var(--shell)) / 2, 0px) + var(--gutter));
    pointer-events: none;
    background-image:
      linear-gradient(var(--hairline-on-dark), var(--hairline-on-dark)),
      linear-gradient(var(--hairline-on-dark), var(--hairline-on-dark));
    background-repeat: no-repeat;
    background-size: 1px 100%;
    background-position: 0 0, 100% 0;
  }
}

/* 36px at the clamp's top, 24px at the bottom: readable across a room, which
   is what makes a sentence a picture rather than a paragraph. */
.statement {
  font-size: clamp(1.5rem, 1rem + 1.9vw, 2.25rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 52ch;
  margin: 0;
  color: var(--on-dark);
}
.statement .soft { color: var(--soft-on-dark); }

/* ============================================================================
   THE STORY SCROLL: sticky narrative left, panels scrolling past right, the
   active-step sync done with scroll-driven animations (no JS; unsupported
   browsers get every step visible, the reference's own fallback).

   The dark era's ambient washes, hover lift and art dimming are gone with the
   flatness law. A panel is now a flat hairline tile on the band's own ground;
   its depicted windows carry the sanctioned radius + shadow, the panel does
   not. The accordion (one open description) stays: it is structure.
   ========================================================================== */
.story { display: grid; grid-template-columns: minmax(0, 0.73fr) minmax(0, 1.27fr); gap: 3.5rem; align-items: start; }
.story-aside {
  position: sticky; top: calc(64px + 2.5rem);
  max-height: calc(100vh - 64px - 2.5rem); overflow-y: auto;
  padding-left: 0.85rem; margin-left: -0.85rem;
}
.story-aside h2 { max-width: 15ch; }
.story-aside .lead { max-width: 38ch; margin-top: 1rem; }
.story-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; }
.story-step { border-top: 1px solid var(--line); }
.story-step:last-child { border-bottom: 1px solid var(--line); }
.story-step {
  position: relative;
  transition: opacity var(--motion-ui) var(--ease-soft-in-out);
}
.story-step:hover { opacity: 1 !important; }
.story-step a::before {
  content: "_";
  position: absolute; left: -0.85rem; top: 0.85rem;
  font-family: var(--font-mono); color: var(--accent);
  opacity: 0; transition: opacity var(--motion-ui) var(--ease-soft-in-out);
}
.story-step:hover a::before { opacity: 1; }
.story-step a {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 0.75rem; padding: 0.75rem 0;
  text-decoration: none; color: var(--ink);
}
.story-step .n { font-family: var(--font-mono); font-size: var(--t-mono); color: var(--accent); }
.story-step .t { font-size: 1.0625rem; font-weight: 500; color: var(--ink-heading); }
.story-step .d { grid-column: 2; font-size: 0.8125rem; margin-top: 0.2rem; overflow: hidden; }
.story-step:hover .d { max-height: 9rem !important; opacity: 1 !important; margin-top: 0.2rem !important; }
@media (min-width: 1001px) and (max-height: 880px) {
  .story-aside { top: calc(64px + 1rem); max-height: calc(100vh - 64px - 1rem); }
  .story-aside .lead { margin-top: 0.6rem; }
  .story-steps { margin-top: 1rem; }
  .story-step a { padding: 0.6rem 0; }
}

/* An anchored BAND (the home page's `#asked`) has to clear the fixed bar the same
   way `.story-panel` below does, or the jump lands the eyebrow underneath it.
   Scoped to `[id]` so the next anchored band inherits the fix instead of repeating
   the bug. `.story-panel` keeps its own larger value: it is a card inside a band and
   wants breathing room above it, not just clearance. */
section.band[id] { scroll-margin-top: var(--nav-h); }

.story-panels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(4rem, 8vw, 7.5rem); }
.story-panel {
  scroll-margin-top: 6rem; position: relative; z-index: 0;
  min-height: min(80vh, 780px);
  display: flex; flex-direction: column;
  padding: 2.5rem 2.5rem;
  border: 1px solid var(--line);
  /* The stage, same recipe as .fig-art (2026-08-31). Was a flat
     --surface-alt fill, which left every window's shadow falling on
     nothing. See the .fig-art block for why. */
  --stage-accent:   rgba(51, 82, 110, 0.20);
  --stage-accent-2: rgba(156, 98, 29, 0.13);
  background:
    radial-gradient(90% 60% at 50% 6%,  rgba(255, 255, 255, 0.92), transparent 60%),
    radial-gradient(70% 50% at 82% 92%, var(--stage-accent),       transparent 70%),
    radial-gradient(60% 45% at 12% 78%, var(--stage-accent-2),     transparent 70%),
    linear-gradient(175deg, #FCFDFE 0%, #EAF0F5 52%, #D9E4EC 100%);
  overflow: hidden;
}

/* A panel that already wraps its art in a .fig-art would otherwise stage the
   same picture twice, one frame inside another. The inner one stands down. */
.story-panel .fig-art { padding: 0; border: 0; background: none; }
.story-panel > .panel-art { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.panel-art > * { flex: 1; min-height: 0; }
.story-panel .win > .kv,
.story-panel .win > .win-tbl { flex: 1; }
@media (max-width: 900px) { .story-panel { min-height: 0; padding: 1.25rem 1rem; } }
@media (max-width: 900px) {
  .win-tbl { font-size: var(--t-mono); }
  .win-tbl th, .win-tbl td { padding-left: 0.5rem; padding-right: 0.5rem; }
  .filter-sp { margin-left: 0; }
  .cat { grid-template-columns: 0.6rem 5.5rem minmax(0, 1fr) 2.2rem; }
  .plot { padding-left: 0.6rem; padding-right: 0.6rem; }
  .story-panel .win-tbl { display: block; overflow-x: auto; }
  .story-panel .win-tbl th, .story-panel .win-tbl td { white-space: nowrap; }
  .story-panel .tbl-audit th:nth-child(-n+2),
  .story-panel .tbl-audit td:nth-child(-n+2) { display: none; }
}
.story-panel > h3 {
  display: flex; align-items: baseline; gap: 0.75rem;
  font-size: 1.25rem; font-weight: 500; margin-bottom: 1rem;
}
.story-panel > h3 .n { font-family: var(--font-mono); font-size: var(--t-mono); color: var(--accent); }
.story-panel p { font-size: var(--t-fine); color: var(--ink-2); margin-bottom: 1rem; max-width: 46ch; }

@media (max-width: 1000px) {
  .story { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .story-aside {
    position: static;
    max-height: none; overflow: visible;
    padding-left: 0; margin-left: 0;
  }
  .story-steps { display: none; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 1001px) {
    .story { timeline-scope: --s1, --s2, --s3, --s4, --s5, --s6; }
    .story-panel:nth-child(1) { view-timeline-name: --s1; }
    .story-panel:nth-child(2) { view-timeline-name: --s2; }
    .story-panel:nth-child(3) { view-timeline-name: --s3; }
    .story-panel:nth-child(4) { view-timeline-name: --s4; }
    .story-panel:nth-child(5) { view-timeline-name: --s5; }
    .story-panel:nth-child(6) { view-timeline-name: --s6; }
    .story-step { animation: stepActive linear both; animation-range: cover 0% cover 100%; }
    .story-step:nth-child(1) { animation-timeline: --s1; }
    .story-step:nth-child(2) { animation-timeline: --s2; }
    .story-step:nth-child(3) { animation-timeline: --s3; }
    .story-step:nth-child(4) { animation-timeline: --s4; }
    .story-step:nth-child(5) { animation-timeline: --s5; }
    .story-step:nth-child(6) { animation-timeline: --s6; }
    .story-step .d { animation: stepReveal linear both; animation-range: cover 0% cover 100%; }
    .story-step:nth-child(1) .d { animation-timeline: --s1; }
    .story-step:nth-child(2) .d { animation-timeline: --s2; }
    .story-step:nth-child(3) .d { animation-timeline: --s3; }
    .story-step:nth-child(4) .d { animation-timeline: --s4; }
    .story-step:nth-child(5) .d { animation-timeline: --s5; }
    .story-step:nth-child(6) .d { animation-timeline: --s6; }
  }
}
@keyframes stepReveal {
  0%, 26%   { max-height: 0;    opacity: 0; margin-top: 0; }
  30%, 70%  { max-height: 9rem; opacity: 1; margin-top: 0.2rem; }
  74%, 100% { max-height: 0;    opacity: 0; margin-top: 0; }
}
/* Solid inks now, so the dim floor is gentler than the dark era needed; the
   inactive steps stay comfortably over the floor. */
@keyframes stepActive {
  0%, 100% { opacity: 0.55; }
  35%, 65% { opacity: 1; }
}

/* ---- CTA band (legacy in-page closer; the chrome's contact panel replaced
   these and the build now refuses one in a page body - the rules stay only
   so an unbuilt draft still renders sanely). ---- */
.cta { text-align: center; }
.cta .shell { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta h2 { max-width: 20ch; }

/* ============================================================================
   THE CONTACT CTA PANEL: the gradient brand surface set into every page
   across a light-to-deep seam, directly above the footer. ONE copy, in the
   footer partial; per-page copy and buttons arrive through the front-matter
   contract (CTA_* keys, substituted by build.py). The "why we built this"
   note renders UNDER the panel as a quiet line on the deep field, never
   inside it.
   ========================================================================== */
/* THE PANEL IS SET INTO THE FOOTER BY AN OVERLAP, NOT BY A PAINTED SEAM.

   This was a hard-stop gradient first - white to 45%, deep from 45% - and that
   is the "micro line" in the footer: a two-tone background stop is a crisp
   horizontal edge running the full width of the viewport on both sides of the
   panel, and no amount of tuning makes a colour stop stop looking like a rule.

   proceptio.com's answer, copied: the CTA section sits on the PAGE's own
   ground, and the FOOTER is pulled up under it by a negative margin with a
   matching padding-top. The footer's dark field rises behind the panel's lower
   edge, so the panel reads as set INTO the footer with no seam anywhere,
   because there is no second colour on this section at all.

   The overlap is a PROPORTION (~18% of the panel's height), which is why it is
   a small ladder rather than one value: the panel gets taller as its copy wraps
   at narrow widths while a fixed overlap would get proportionally smaller, and
   below 768 the panel is full-bleed and IS the footer's top block, so the
   overlap has nothing left to do. */
:root { --cta-footer-overlap: 80px; }
@media (max-width: 1023px) { :root { --cta-footer-overlap: 72px; } }
@media (max-width: 767px)  { :root { --cta-footer-overlap: 0px; } }

.cta-seam {
  position: relative; z-index: 1;
  padding-top: clamp(2.5rem, 4vw, 4rem);
}
body:has(.cta-seam) .ft {
  margin-top: calc(-1 * var(--cta-footer-overlap));
  padding-top: var(--cta-footer-overlap);
}
/* Below 768 the panel is the footer's top block, edge to edge: at 390 a 24px
   inset leaves two thin dark strips down the sides of the panel and it reads as
   floating ON the footer rather than being part of it. */
@media (max-width: 767px) {
  .cta-seam > .shell { padding-inline: 0; }
  .cta-panel { padding-inline: var(--gutter); }
}
.cta-panel {
  position: relative;
  background-image: var(--gradient-brand);
  padding: clamp(2.25rem, 3vw, 3rem) clamp(2.5rem, 5vw, 5rem);
  color: var(--on-dark);
  overflow: hidden;
  /* On-dark token overrides for everything inside. */
  --ink-heading: #ffffff;
  --ink: #ffffff;
  --ink-2: var(--on-dark-soft);
  --ink-3: rgba(255, 255, 255, 0.55);
  --line: var(--hairline-on-dark);
  --line-2: rgba(255, 255, 255, 0.30);
}
.cta-panel .eyebrow { color: var(--accent-on-dark); }
.cta-title {
  margin-top: 0.9rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500; line-height: 1.12; color: #ffffff;
  max-width: 24ch; text-wrap: balance;
}
.cta-title .soft { color: var(--soft-on-dark); }
.cta-copy { position: relative; z-index: 1; max-width: 62%; }
@media (max-width: 1023px) { .cta-copy { max-width: 100%; } }
.cta-lede { margin-top: 1rem; font-size: var(--t-body); font-weight: 300; line-height: 1.6; max-width: 36rem; color: var(--on-dark-soft); }
/* On the deep field, so the on-dark convention the footer columns already use:
   white, a quiet underline, amber on hover. --brand would be the inline-link
   colour on white and is unreadable here. */
.cta-lede a {
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-color: var(--hairline-on-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--motion-color) var(--ease-soft-out),
              text-decoration-color var(--motion-color) var(--ease-soft-out);
}
.cta-lede a:hover {
  color: var(--accent-on-dark);
  text-decoration-color: var(--accent-on-dark);
}
.cta-copy .row { margin-top: 1.5rem; }
/* The solid button inverts on the gradient: white fill, deep label. */
.cta-panel .btn { background: #ffffff; border-color: #ffffff; color: var(--brand-deep); }
.cta-panel .btn::before { background-color: var(--brand-deep); }
.cta-panel .btn:hover, .cta-panel .btn:focus-visible { color: #ffffff; border-color: var(--brand-deep); }
.cta-panel .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.40); color: #ffffff; }
.cta-panel .btn-ghost::before { background-color: #ffffff; }
.cta-panel .btn-ghost:hover, .cta-panel .btn-ghost:focus-visible { background: transparent; border-color: #ffffff; color: var(--brand-deep); }
.cta-mail {
  font-size: var(--t-fine); font-weight: 300; color: var(--on-dark-soft);
  text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.30); padding-bottom: 2px;
  transition: color var(--motion-color) var(--ease-soft-out);
}
.cta-mail:hover { color: #ffffff; }
/* The closing note is INSIDE the panel (founder, 2026-08-28: "this should go
   into #cta"). It was under it, on the footer field, where it read as a stray
   line of small print belonging to neither block. Inside, it closes the copy
   column as a quiet last line under the buttons. */
.cta-note {
  margin: 1.5rem 0 0; padding: 0;
  font-size: 13px; font-weight: 300; line-height: 1.6;
  color: rgba(255, 255, 255, 0.55); max-width: 36rem;
}
.cta-note b { color: var(--accent-on-dark); font-weight: 500; }
/* THE PANEL ARTEFACT (founder, 2026-08-28: "add image in here").

   DRAWN, NOT PHOTOGRAPHED, and that is the SECOND answer to this brief. The
   first was a seal-embosser photograph rendered on the panel's own gradient.
   It failed for four visible reasons and one structural one: the crop cut the
   arm off the top so nobody read "press", it took a third of the panel and
   competed with the headline, its warm corner was softer and warmer than
   anything else on the site, and the photograph's ground met the panel's flat
   navy in a seam two thirds across. The structural reason is the one that
   decided it: this panel repeats on ALL 27 pages, and a photograph at that
   frequency stops saying "the page has finished" and becomes wallpaper. A
   hairline mark stays quiet at 27 repeats, is native to a system that is
   otherwise all hairlines and square corners, costs nothing to retune, and has
   no ground of its own to seam against.

   WHAT IT SAYS: the contact, CLOSED. Every hero asks whether it will connect;
   the closing panel says it did. That is the balance rule (README, "What the
   site argues"): the panel argues REACH, never restraint. A lever poised above
   its contact is a /security/* picture, not this one.

   DESKTOP ONLY, and that is a fetch decision rather than a styling one: a
   background inside a min-width query is never requested on a phone, so the
   phone keeps the plain brand gradient and downloads nothing.

   WIRED, 2026-08-31. The subject is a proceptio.ai calling card standing in a
   machined bronze bar stand: the mark blind DEBOSSED into the paper, the name,
   one line of plain English, and the address. It was built in two runs, which
   is the method that finally worked after nine that did not. Run 1 generated
   the card FLAT and square to camera; the real brand was then set onto it in
   HTML, where there is no perspective and the type is pixel-exact. Run 2 fed
   that finished card back as a reference and generated only the SETTING around
   it. No lettering was ever generated, which is why rule 4 holds and why the
   type is our own. The whole record, ten rounds and thirty-nine frames, is in
   design/cta-2026-08-31/.

   THE CARD IS SIZED BY THE PANEL'S HEIGHT, NEVER BY cover (2026-09-02).

   It used to be cover, with the card's size set by the amount of empty ground
   the MASTER carried (5952x1648: the 3840px frame plus 2112px of matching
   dark ground on its left). That held only while the panel was WIDER than the
   photograph's 3.61:1, because cover then scaled by width and the padding
   shrank the card. The 2026-09-02 copy rewrite made the panel roughly 2:1,
   cover switched to scaling by HEIGHT, cropped the padding away, and the
   card filled the whole panel again (founder: "why is footer card image so
   big?"). Any sizing that depends on the panel's aspect breaks the next time
   the copy changes length, so the rule is now stated the other way round:
   the photograph is --cta-card-h of the panel's height, whatever the copy
   does, and the card inside it (74% of the frame's height) lands at ~57%
   (77% on 2026-09-02, after a first cut at 74% was "a bit" too small and 80%
   "a tiny bit" too big; the founder chose it by eye between the two).

   The seam that argument against a size override was protecting against is
   handled by TWO things, and both matter: the photograph is anchored to the
   BOTTOM edge, so the lit stone base never shows a cut edge, and its TOP
   edge (near-flat black, sampled 2,2,4 rising to 11,15,18 in the bloom) is
   painted over by a short fade from the photograph's own ground colour,
   which is also the panel's background-color under the picture. The 100deg
   overlay still turns the left of that ground into the brand navy.

   The rungs are cut by HEIGHT for the same reason (500 and 1000px tall; the
   names carry the width, as the hero rungs do). At 613px of panel the picture
   is 454px tall on a 1x screen and 908 on a 2x one; the old 399/665 rungs
   were already being upscaled by cover and would be here too.

   THE COPY COLUMN NARROWS TO 52% IN HERE, and that is load-bearing rather than
   taste. The base .cta-copy is max-width 62% while the card's left edge lands
   at about 57% of the panel; measured, the headline's right edge reached 57.6%
   and overlapped it. 52% takes it to 48.2%. The narrowing lives INSIDE this
   query so it applies only where the picture does: below 1024 there is no card,
   the copy gets the full 62%, and nothing is downloaded.

   DESKTOP ONLY, and that is a fetch decision rather than a styling one: a
   background inside a min-width query is never requested on a phone, so the
   phone keeps the plain brand gradient and downloads nothing. */
@media (min-width: 1024px) {
  .cta-panel {
    --cta-card-h: 77%;
    --cta-ground: #030406;
    background-color: var(--cta-ground);
    background-image:
      linear-gradient(100deg,
        var(--brand-deep) 0%,
        color-mix(in srgb, var(--brand-deep) 82%, transparent) 34%,
        transparent 58%),
      linear-gradient(to bottom,
        var(--cta-ground) calc(100% - var(--cta-card-h)),
        transparent calc(100% - var(--cta-card-h) + 10%)),
      image-set(url(/assets/cta/cta-card-3600.webp) 2x,
                url(/assets/cta/cta-card-1800.webp) 1x);
    background-size: auto, auto, auto var(--cta-card-h);
    /* The card sits 12% of the picture's height in from the frame's right edge;
       --cta-shift pushes the picture past the panel edge by that much less
       (founder, 2026-09-02: "move the image a bit to right"). Only dark ground
       and stone are cropped. */
    --cta-shift: -32px;
    background-position: right center, right center, right var(--cta-shift) bottom 0;
    background-repeat: no-repeat;
  }
  /* Measured, not judged: 62% overlapped the card at 57.6%, 52% clears at 48.2%. */
  .cta-panel .cta-copy { max-width: 52%; }
}
/* One step smaller between 1024 and 1279: the panel is 928px wide there and
   the card, being sized by HEIGHT, kept its 1440 size while the panel lost a
   fifth of its width. Measured at 1024 with 74%: the card's left edge at 51%
   of the panel against a copy column ending at 51.8%, the lede touching the
   card. 64% puts the card's left edge at 58%, 61px clear of the copy. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .cta-panel { --cta-card-h: 64%; --cta-shift: -20px; }
}

/* ============================================================================
   FOOTER: the deep field, proceptio anatomy. Opens with the per-page closing
   message ("Before you go" + one tailored sentence from FOOTER_MESSAGE), then
   the ruled action row (the email spans two of four cells), the sitemap
   columns (every built page except /404 stays linked - the build checks it),
   and the hairline bottom bar. Grid verticals run through it on ::before.
   ========================================================================== */
.ft {
  position: relative; z-index: 0;
  background: var(--brand-deep);
  color: var(--on-dark);
  /* On-dark token overrides for shared classes inside. */
  --ink-heading: #ffffff;
  --ink: #ffffff;
  --ink-2: var(--on-dark-soft);
  --ink-3: rgba(255, 255, 255, 0.55);
  --line: var(--hairline-on-dark);
  --line-2: rgba(255, 255, 255, 0.30);
}
@media (min-width: 1024px) {
  .ft::before {
    content: "";
    position: absolute; z-index: -1;
    top: 0; bottom: 0;
    left:  calc(max((100% - var(--shell)) / 2, 0px) + var(--gutter));
    right: calc(max((100% - var(--shell)) / 2, 0px) + var(--gutter));
    pointer-events: none;
    background-image:
      linear-gradient(var(--hairline-on-dark), var(--hairline-on-dark)),
      linear-gradient(var(--hairline-on-dark), var(--hairline-on-dark));
    background-repeat: no-repeat;
    background-size: 1px 100%;
    background-position: 0 0, 100% 0;
  }
}
.ft .eyebrow { color: var(--accent-on-dark); }
.ft-msg { padding-top: 3.5rem; }
.ft-msg p {
  margin-top: 0.8rem;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 500; line-height: 1.3; color: var(--on-dark);
  max-width: 46rem; text-wrap: balance;
}

/* The ruled action row: 4 tracks, the email spanning two. */
.ft-actions {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin-top: 2.25rem;
  border-bottom: 1px solid var(--hairline-on-dark);
}
@media (min-width: 768px) {
  .ft-actions { grid-template-columns: repeat(4, 1fr); }
}
.ft-action {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-width: 0; overflow-wrap: anywhere;
  padding: 26px 24px 26px 0;
  color: var(--on-dark);
  font-size: 1.0625rem; font-weight: 500; text-decoration: none;
  transition: color var(--motion-color) var(--ease-soft-out);
}
.ft-action:hover { color: var(--accent-on-dark); }
/* The arrow: a character, not a mask (img-src 'self', no data:). */
.ft-action::after {
  content: "\2192"; flex: none;
  transition: transform var(--motion-ui) var(--ease-soft-out);
}
.ft-action:hover::after { transform: translateX(4px); }
.ft-action-mail { grid-column: span 2; }
@media (min-width: 768px) {
  .ft-action-sep { border-left: 1px solid var(--hairline-on-dark); padding-left: 24px; }
}
@media (max-width: 767px) {
  /* 2x2 by measurement: the email is one unbreakable token and takes the full
     first line; the two link cells share the second with the divider between
     them only. */
  .ft-action-mail { border-bottom: 1px solid var(--hairline-on-dark); }
  a.ft-action-sep { border-left: 0; }
  a.ft-action-sep + a.ft-action-sep { border-left: 1px solid var(--hairline-on-dark); padding-left: 14px; }
  .ft-action { font-size: 0.9375rem; gap: 10px; padding-right: 10px; }
}

/* Sitemap: brand lockup on its own row, five link columns with accent
   headings. Wrap thresholds were measured in the dark era and the column
   count is unchanged; RE-MEASURE before adding a sixth. */
.ft-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.5rem; padding-block: 3rem 2rem; }
.ft-brand { grid-column: 1 / -1; }
.ft-brand .fine { max-width: 46ch; margin-top: 1rem; color: rgba(255, 255, 255, 0.60); }
.ft-col h4 {
  margin: 0 0 0.9rem;
  font-size: 0.9375rem; font-weight: 500;
  letter-spacing: normal; text-transform: none;
  color: var(--accent-on-dark);
}
.ft-col a { display: block; color: var(--on-dark); text-decoration: none; font-size: var(--t-fine); font-weight: 400; padding: 0.22rem 0; transition: color var(--motion-color) var(--ease-soft-out); }
.ft-col a:hover { color: var(--accent-on-dark); }
.ft-bottom { border-top: 1px solid var(--hairline-on-dark); padding-block: 1.5rem 2.5rem; display: flex;
  flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.ft-bottom p { font-size: var(--t-fine); color: rgba(255, 255, 255, 0.55); max-width: 46ch; }
.ft-legal { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; align-items: baseline; }
.ft-legal a { color: rgba(255, 255, 255, 0.55); text-decoration: none; font-size: var(--t-fine); transition: color var(--motion-color) var(--ease-soft-out); }
.ft-legal a:hover { color: var(--on-dark); }
@media (max-width: 1200px) { .ft-in { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .ft-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) {
  .ft-in { grid-template-columns: 1fr 1fr; }
  /* Two-up sitemap on phones; a single column runs to ~1600px of links. */
  .ft-col { min-width: 0; }
}
@media (max-width: 767px) {
  .ft-col a { min-height: 44px; display: flex; align-items: center; padding: 0; }
}

/* ---- Motion: one entrance beat, fade only (the Rectilinear motion law: no
   rises, no slides, no parallax). The class names are unchanged. ---- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise var(--motion-enter) var(--ease-out) both; }
  .d1 { animation-delay: .04s; } .d2 { animation-delay: .12s; } .d3 { animation-delay: .22s; }
  .d4 { animation-delay: .32s; }
}
@keyframes rise { from { opacity: 0; } to { opacity: 1; } }

/* Scroll reveals, CSS-only. The base state is INSIDE the @supports block below
   with `.arrive`, never outside it: an element hidden by a rule whose animation
   the browser cannot run is content nobody can read. `.visible` is kept as a
   no-op hook so the capture harness and any markup that still carries it are
   harmless. */

/* Figures and blocks arrive as plain fades on their own view timeline
   (CSS-only, degrades to visible). Opacity only - the motion law. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fig, .claim, main .grid, main .tbl-wrap, main .ledger, main .panel, main .reveal {
      animation: arrive linear both;
      animation-timeline: view();
      /* Ends at `entry 46%`, not at anything measured from the far edge: an
         element that can never finish its range stays at the `from` state
         forever, and with opacity 0 that is invisible content rather than a
         missing animation. Anything that scrolls into view at all reaches 46%. */
      animation-range: entry 4% entry 46%;
    }
    .fig .panel { animation: none; }
  }
}
@keyframes arrive { from { opacity: 0; } to { opacity: 1; } }

/* ---- Prose links: brand steel with a quiet underline (the Rectilinear text
   link), zero-specificity so component link styles keep winning. Every NEW
   link context still needs a rule; the browser default is never acceptable. ---- */
:where(.band p, .ledger li, .tbl td, .win-tbl td, figcaption, .beat .by) a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--motion-color) var(--ease-soft-out);
}
:where(.band p, .ledger li, .tbl td, .win-tbl td, figcaption, .beat .by) a:hover {
  color: var(--brand-strong);
  text-decoration-color: var(--brand-strong);
}
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.18em; }

/* ---- The panel face (audit consoles etc.): depicted software. ---- */
.panel {
  width: 100%; margin-top: 1.5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--surface-shadow);
  text-align: left;
}
.panel-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-family: var(--font-mono); font-size: var(--t-micro);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.panel-body { overflow-x: auto; }

/* ---- Skip link ---- */
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--brand-deep); color: var(--on-dark);
  padding: 0.75rem 1.25rem; z-index: 100; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---- Overflow discipline (Phase 2B): grid/flex children may not stretch the
   document. The test is documentElement.scrollWidth === viewport. ---- */
@media (max-width: 1023px) {
  .grid > *, .split > *, .pair > *, .scene > *, .story > * { min-width: 0; }
}
@media (max-width: 767px) {
  /* iOS zoom guard. */
  input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: max(16px, 1em); }
}

/* ============================================================================
   THE WORK, DRAWN (2026-10-02). Pieces the rebuilt home page needed to show the
   product DOING things - connected systems, a ranked variance, a workbook being
   loaded and confirmed - where the old page drew gates and refusals. Depicted
   software, so the windows keep the house radius; the site chrome stays flat.
   ========================================================================== */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .grid-4 { grid-template-columns: 1fr; } }
/* Four short points under a scene: tighter than a full card, one idea each. */
.points .card { padding: 1.35rem 1.4rem; gap: 0.45rem; }
.points .card h3 { font-size: 1rem; }

/* Connected-system tiles inside a window: a 2x2 field of what answers. */
.systiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; padding: 0.85rem; }
.systile {
  display: grid; grid-template-columns: 0.6rem minmax(0, 1fr) auto; gap: 0.15rem 0.6rem;
  align-items: center; padding: 0.75rem 0.8rem;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
}
.systile i { width: 8px; height: 8px; border-radius: 50%; }
.systile b { font-weight: 500; color: var(--ink-heading); font-size: var(--t-fine); }
.systile span { grid-column: 2 / 4; font-size: var(--t-micro); color: var(--ink-3); }
.systile em {
  grid-column: 3; grid-row: 1; font-style: normal; font-family: var(--font-mono);
  font-size: var(--t-micro); color: var(--ink-3);
}
@media (max-width: 560px) { .systiles { grid-template-columns: minmax(0, 1fr); } }

/* Variance bars: magnitude only, in the art hue. Direction is the SIGN in the
   table, never red or green - those two hues mean an access decision here. */
.vbars { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.8rem 0.85rem; border-top: 1px solid var(--line); }
.vbar { display: grid; grid-template-columns: 6rem minmax(0, 1fr); align-items: center; gap: 0.6rem; font-size: var(--t-micro); color: var(--ink-3); }
.vbar i { display: block; height: 8px; border-radius: 2px; background: var(--art-blue); }
.vbar-neg i { background: var(--art-rose); }
.vbar:nth-child(1) i { width: 95%; } .vbar:nth-child(2) i { width: 54%; } .vbar:nth-child(3) i { width: 35%; }

/* A file handed to the assistant, and the two buttons a preview ends on. */
.attach {
  display: inline-block; margin-top: 0.4rem; padding: 0.2rem 0.5rem;
  font-family: var(--font-mono); font-size: var(--t-micro); color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface);
}
.attach::before { content: "\2197\00a0"; color: var(--brand); }
.asst-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.abtn {
  display: inline-block; padding: 0.45rem 0.8rem; border-radius: 8px;
  font-size: var(--t-fine); font-weight: 500;
  background: var(--brand-deep); color: var(--on-dark); border: 1px solid var(--brand-deep);
}
.abtn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.win-tbl tr.hl td { background: rgba(51, 82, 110, 0.06); }
/* On a phone the variance table keeps the cost centre, this period and the move; the
   prior period is the one column a reader can do without. */
@media (max-width: 560px) {
  .tbl-var th:nth-child(2), .tbl-var td:nth-child(2) { display: none; }
}
/* A total row foots the rows above it: a stronger rule and heading ink. */
.win-tbl tr.total td { border-top: 1px solid var(--line-2); font-weight: 600; color: var(--ink-heading); }

/* A pair stacked top to bottom: the system, the node, the assistant. The story
   panels are ~600px wide at desktop, and three columns in that left each window
   ~225px, which clipped the variance table's last column. Stacked, each window
   gets the full panel, and it is the shape of the reference scene the founder
   held up (table above, node, assistant below). */
.pair-v { grid-template-columns: minmax(0, 1fr); }
.pair-v > .rail-x { width: 100%; height: 52px; }
.pair-v > .rail-x::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
.pair-v > .rail-x::after { width: 3px; height: 7px; left: calc(50% - 1.5px); top: 0; }
@media (prefers-reduced-motion: no-preference) { .pair-v > .rail-x::after { animation-name: railPacketV; } }
.story-aside > .eyebrow { margin-bottom: 0.9rem; }
.story-panel .systiles { flex: 1; align-content: center; }
.story-panel .systiles ~ .kv { flex: 0 0 auto; }
.story-panel .win > .access, .story-panel .win > .access ~ .kv { flex: 0 0 auto; }

/* The getting-started strip: the four beats side by side on a wide screen. */
@media (min-width: 900px) {
  .beats-4 { flex-direction: row; max-width: none; gap: clamp(1.5rem, 3vw, 2.5rem); }
  .beats-4 .beat { flex: 1 1 0; grid-template-columns: minmax(0, 1fr); gap: 0.6rem 0; }
  .beats-4 .beat .i { padding-top: 0; }
  .beats-4 .beat { align-content: start; }
}

/* ============================================================================
   STATUS COLOUR. Last block in the file, and deliberately: these two classes
   carry the only meaning-bearing colour on the site. --signal-no is REFUSED
   and --signal-yes is PERMITTED; they are for an ACCESS DECISION, never a
   status, never a verdict, and nothing else may use the hues.

   The list is enumerated defensively (the recorded failures: .rec td and
   .win-tbl td and .kv td.m all restate color and silently beat a bare .yes).
   If a new table wrapper restates color on its cells, add it HERE.
   ========================================================================== */
.yes, .no { font-weight: 600; }
.yes, .rec td.yes, .tbl td.yes, .win-tbl td.yes, .kv td.yes, .kv td.m.yes { color: var(--signal-yes); }
.no,  .rec td.no,  .tbl td.no,  .win-tbl td.no,  .kv td.no,  .kv td.m.no  { color: var(--signal-no); }

/* THE HERO'S INTRO LAYER (2026-09-02). A one-shot film sits on top of a looping one
   and dissolves away, so the reveal happens once and the loop runs for ever. Both are
   `.ph-bg`, so they share the hero's cover fit exactly; only the fade lives here.
   The delay is the intro's own length minus the dissolve - see build.py for why. */
.ph-band .ph-intro {
  /* OUT OF FLOW, or the two films stack and the band doubles in height - the route
     audit catches that as truncated hero text. No z-index on purpose: an absolutely
     positioned box paints above the in-flow loop beneath it, and the scrim, which
     comes later in the DOM, still paints above BOTH. That order is what keeps the
     copy's darkened ground intact during the intro. */
  position: absolute; inset: 0;
  animation: ph-intro-out var(--ph-intro-fade, 1.2s) var(--ease-soft-in-out) var(--ph-intro-hold, 3.9s) forwards;
}
@keyframes ph-intro-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  /* No film plays here, so there is nothing to hand over to: leave the poster up. */
  .ph-band .ph-intro { animation: none; }
}
