Reference · j4red.net

J4 Research Style Guide

How articles on this site look and sound: the voice, the page anatomy, the colours and type, and every component with a live example. Use it so each new piece looks like it belongs.

1. Voice

  • Punchy and plain. Short sentences and everyday words. Explain any technical term the first time it appears. Write for a smart reader who isn't a specialist.
  • Lead with the payoff. The dek and the first box say what the reader gets: the saving, the finding, the answer. Detail comes after.
  • One idea per paragraph. Two to four sentences. If a paragraph lists things, make it a list.
  • Researched and honest. Name the study, the year and the number. Label illustrative arithmetic as illustrative, vendor surveys as vendor-commissioned, and second-hand figures as second-hand. Don't let a weak number pose as a strong one.
  • Argue, then qualify. Take a position in the title, then give the real limits in a "Where it breaks" or "The honest part" section.
  • Australian English. Modelling, organisation, colour. Money in A$ unless the source is in another currency. Dates as "4 November 2026".

DO

  • Titles of 3–8 words that make a claim: "Stop Remodelling the Companies You Buy"
  • A pull quote that would work as a social post
  • Cite sources in a note at the end
  • End on one memorable line

DON'T

  • Titles in the form "Name: an explainer"
  • Pile up hedges ("may potentially perhaps")
  • Quote a number without its source or caveat
  • Use jargon without saying what it means

2. Page anatomy

Every long-read follows this order. Leave out a part only when it has nothing to say.

PartClassRule
Kicker.kickerTopic · topic, 2–4 words, uppercase mono, gold
Titleh1A claim or an instruction, 3–8 words
Dek.dek2–4 sentences: the problem, the turn, the payoff
Byline.bylineJared Ryan · date
Executive box.execBusiness pieces: the claim, then savings cards, then the one-line instruction
Lede.ledeFirst paragraph, with a drop cap; the hook
Sectionsh2Short headings that move the argument: why, what changed, what remains, where it breaks, what to do
FiguresfigureAt least one per article; title, subtitle, caption
Pull quote.pullOne per article, at the turning point
ClosepOne memorable line, plus links to related pieces
Sources.noteAuthor (year), title, venue; caveats on illustrative figures

3. Colour

Defined as CSS variables on .wt. The site chrome around articles is near-black #06060a with a #0b0b12 sidebar.

--ink #e9e7e2Headings, emphasis
--body #cfccc5Body text
--dim #8d8a84Captions, meta
--line #2a2a33Rules, borders
--card #0f0f16Figure panels
--accent #f0b45aPrimary series, kicker, links
Blue #3987e5Comparison series
--bad #ff8f7aLoss, risk, "goes"
Green #5fd0a0Keep, gain, "stays"

Meaning is fixed: gold is the main thing being argued about, blue is what it's compared with, red is loss or risk, and green is what's kept or gained. Don't swap them between articles.

4. Type

UseFontSize / weight
BodySource Serif 418px / 1.7, 400 (17px on phones)
TitleSource Serif 434–52px fluid / 1.08, 700
DekSource Serif 421px / 1.5, 400, ink colour
Section headingSource Serif 426px / 1.25, 600
Captions, tables, UIIBM Plex Sans12–15px
Kickers, labels, numbersIBM Plex Mono11–12px uppercase, 0.08–0.12em tracking; tabular numbers

The text column is at most 720px wide. Load fonts from Google Fonts only.

5. Components

Executive box

Use it for business and AI pieces. Claim, then three stat cards, then the caveat line, then the one-line instruction.

Stays · shrinks · goes

.ranges with .rng.stay, .rng.shrink and .rng.go. Use it for "what changes" arguments.

Stays
  • What survives
Shrinks
  • What gets smaller
Goes
  • What disappears

Bar comparison

.bars with .track and .left. Bar length is the value as a share of a stated reference. Put the number inside the bar.

Figure title says what to notice

Subtitle gives units and the reference point

Item A
1.48
Item B
1.15
Caption: source, date, and anything illustrative.

Pull quote

One sentence that carries the whole argument.

Tables

Plain table inside .tablewrap for numbers: text in the first column, numbers right-aligned in mono. Use table.txt for rules and comparisons that are all text.

MarketPeakFall
Example A1997−66%
Highlighted row2007−54%

Other components already in use

  • Timeline lanes (.tl, .lane, .seg): before-and-after durations. See "Stop Remodelling the Companies You Buy".
  • Stack diagram (.stack, .box, .tag): an old architecture next to a new one. See "AI Is the Knowledge Layer Now".
  • Cycle (.cycle, .st, .ret): feedback loops. See "The Algorithm Decided I'm a Foo Fighters Fan".
  • Money aside (.money): a boxed explainer for units or assumptions. See "The Great Wealth Transfer".
  • SVG charts: inline SVG using the colour meanings above, labelled directly with no legends where possible. Mark any schematic "Illustrative shape, not data". See "Get on the Ladder".

6. Charts and figures

  • The title says the finding ("What happens when new buyers dry up"), not the variable ("Price over time").
  • Real data or labelled illustration. Anything schematic says so in the subtitle or caption.
  • Label directly on the chart. Keep labels clear of lines and bars.
  • Preview before deploying. Render it, look for overlapping text, and fix it.
  • Phones: grids collapse to one column below 600px. Never set a fixed column width in an inline style, because it overrides the phone rule; use a class with a media query.

7. Publishing an article

1. pages_<name>.py   CONTENT = STYLE (from pages_wealth_transfer) + article HTML
2. app.py              import it; add @app.get("/<slug>") -> layout.layout(title, "/<slug>", CONTENT)
3. layout.py           add ("/<slug>", "Title") to the "Writing" group
4. back up app.py and layout.py as *.bak-YYYYMMDD-<tag>, then: systemctl restart hello-https
5. the site returns 502 for about a minute while it starts; then check the page returns 200
6. link related articles to each other

This guide describes the style already used by the site's long-reads ("The Great Wealth Transfer" onward). When a new component is added to an article, add it here.