code wiki / _hdl_build / nx_kit_counsel.nx

nx_kit_counsel.nx

buildroot/runtime/_hdl_build/nx_kit_counsel.nx

17145 B209 linesdepth 3pulls 3 transitivereach 4 importersview sourcekind librarytopic kit
docsdependenciesstructsconstsfunctions

about

nx_kit_counsel.nx -- the COUNSEL design family: professional-services grammar grounded in the extracted 30-site best-law-firm reference bar (2026-07-25 /uigen diagnosis). What it deliberately is NOT: the SaaS marketing grammar (no pill buttons, no rounded card grid, no gradient display text, no pricing band). What it IS: serif display over sans body (the Dispatch/finance precedent) with a gold-rule emphasis underline; an ASYMMETRIC split hero whose right half is a GENERATIVE SVG scene (seed-driven column composition -- authentic generated art, never stock); a stats-first trust band (serif numerals, thin rules); practice areas as a RULED editorial list; an oversized-quote testimonial; a small-caps accreditation row; one strong rectangular CTA into a real contact page. Restrained palette: deep topic-hue primary + ONE bronze accent over the generated neutral field; both themes; reduced-motion respected. Pure emit (mmap only) -- composes on top of sk_head's token shell, own .kc- namespace. license_tier: ORIGINAL

dependencies 2 imports · 1 importers

nx_uigen_l1.nx nx_kit_shell.nx nx_kit_counsel.nx nx_uigen_site.nx

imports: nx_uigen_l1.nxnx_kit_shell.nx

imported by: nx_uigen_site.nx

structs

none

consts

none

functions

16func kc_styles(buf: *u8, off: i64, hue: i64) -> i64
59func kc_doc_styles(buf: *u8, off: i64) -> i64
called by 1: us_shell_doc
78func kc_scene(buf: *u8, off: i64, seed: i64) -> i64
127func kc_hero(buf: *u8, off: i64, eyebrow: *u8, h1: *u8, lede: *u8, cta: *u8, ctahref: *u8, alt: *u8, althref: *u8, seed: i64) -> i64
called by 1: us_page_index_counsel calls 1: kc_scene
147func kc_sec_open(buf: *u8, off: i64, h2pre: *u8, h2em: *u8) -> i64
157func kc_sec_close(buf: *u8, off: i64) -> i64 { return he_puts(buf, off, "</div></div></section>" as *u8) }
158func kc_stats_open(buf: *u8, off: i64) -> i64 { return he_puts(buf, off, "<div class=\"kc-stats\">" as *u8) }
159func kc_stat(buf: *u8, off: i64, num: *u8, label: *u8) -> i64
167func kc_stats_close(buf: *u8, off: i64) -> i64 { return he_puts(buf, off, "</div>" as *u8) }
168func kc_list_open(buf: *u8, off: i64) -> i64 { return he_puts(buf, off, "<ul class=\"kc-list\">" as *u8) }
169func kc_item(buf: *u8, off: i64, title: *u8, body: *u8) -> i64
177func kc_list_close(buf: *u8, off: i64) -> i64 { return he_puts(buf, off, "</ul>" as *u8) }
178func kc_quote(buf: *u8, off: i64, quote: *u8, name: *u8, role: *u8) -> i64
188func kc_accred(buf: *u8, off: i64, a: *u8, b: *u8, c: *u8) -> i64
198func kc_final(buf: *u8, off: i64, h2: *u8, p: *u8, cta: *u8, href: *u8) -> i64