/* Policy Review — The Concept Plane
   Frame: axes, numbered figures, field colours as data encodings. Column: calm, achromatic, serif. */

@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(../fonts/public-sans-latin-wght-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
	--ink: #14161c;
	--ink-2: #2b2f3a;
	--mute: #555b69;
	--axis: #5b6170;
	--line: #d6d9e0;
	--hair: #e7e9ee;
	--soft: #f5f6f8;
	--paper: #fff;
	--mark: #9b2335;
	--c: var(--ink);
	--sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--gutter: clamp(16px, 4vw, 56px);
	--maxw: 1360px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #14161c; color: #fff; }
input, textarea { caret-color: var(--mark); }
html { scrollbar-color: #9aa0ad var(--soft); scrollbar-width: thin; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 1px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); color: var(--ink); text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.muted { color: var(--mute); }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Figure labels: every diagram is a numbered plate */
.fig { display: flex; gap: .7em; align-items: baseline; font: 500 13px/1.4 var(--sans); color: var(--mute); }
.fig__no { font-weight: 700; color: var(--ink); letter-spacing: .01em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Masthead ---------- */
.mast { border-bottom: 1.5px solid var(--ink); background: var(--paper); position: relative; z-index: 20; }
.mast__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); min-height: 68px; }
.mast__brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; letter-spacing: -.015em; text-decoration: none; white-space: nowrap; }
.mast__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(12px, 1.6vw, 24px); }
.mast__nav a { display: block; padding: 22px 0 19px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; transition: border-color .2s var(--ease), color .2s; white-space: nowrap; }
.mast__nav a:hover { color: var(--ink); border-bottom-color: color-mix(in srgb, var(--c) 45%, transparent); }
.mast__nav a[aria-current] { color: var(--ink); font-weight: 650; border-bottom-color: var(--c); }
.mast__guides { padding-left: clamp(12px, 1.6vw, 24px); border-left: 1px solid var(--line); }
.mast__tools { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.mast__search { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); }
.mast__search:hover { color: var(--ink); }
.mast__langs { display: flex; border: 1px solid var(--line); }
.mast__langs a { padding: 5px 9px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-decoration: none; color: var(--mute); }
.mast__langs a[aria-current] { background: var(--ink); color: #fff; }
.mast__menu { display: none; background: none; border: 1px solid var(--line); width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.mast__menu .icon--close { display: none; }

@media (max-width: 1180px) {
	.mast__menu { display: inline-flex; }
	.mast__search span { display: none; }
	.mast__nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1.5px solid var(--ink); display: none; }
	.mast__nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
	.mast__nav a { padding: 13px 0; border-bottom: 1px solid var(--hair); border-left: 0; }
	.mast__nav a[aria-current] { border-bottom-color: var(--c); }
	.mast__guides { padding-left: 0; border-left: 0; }
	.mast.is-open .mast__nav { display: block; }
	.mast.is-open .mast__menu .icon--menu { display: none; }
	.mast.is-open .mast__menu .icon--close { display: block; }
}

/* ---------- Lookup (search) ---------- */
.lookup { display: flex; border: 2px solid var(--ink); background: var(--paper); max-width: 640px; transition: box-shadow .2s var(--ease); }
.lookup:focus-within { box-shadow: 0 6px 22px -8px rgba(20, 22, 28, .28); }
.lookup__field { flex: 1; min-width: 0; border: 0; padding: 15px 16px; font: 400 16.5px var(--sans); color: var(--ink); background: transparent; outline: 0; }
.lookup__field::placeholder { color: #6b7180; }
.lookup__go { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--ink); color: #fff; font: 600 14.5px var(--sans); padding: 0 20px; cursor: pointer; }
.lookup__go:hover { background: #2b2f3a; }
.lookup__go:focus-visible { outline-offset: -5px; outline-color: #fff; }

/* ---------- Front: opening ---------- */
.opening { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(360px, 460px) 1fr; border-bottom: 1px solid var(--line); }
.opening__ask { padding: clamp(36px, 5vw, 64px) clamp(28px, 3.2vw, 48px) 40px var(--gutter); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.opening__title { font-size: clamp(38px, 4.1vw, 56px); line-height: 1.03; font-weight: 800; letter-spacing: -.028em; }
.opening__lead { margin: 22px 0 30px; font: 400 19px/1.55 var(--serif); color: var(--ink-2); max-width: 36ch; }
.opening__try { margin-top: 14px; font-size: 14px; color: var(--mute); line-height: 1.7; }
.opening__try span { margin-right: 4px; }
.opening__try a { color: var(--ink); }
.opening__map { padding: 28px clamp(20px, 3vw, 44px) 26px; min-width: 0; }

/* The lead essay guide: rank by inversion, light on ink, anchored to the column foot */
.feature { display: block; margin-top: auto; background: var(--ink); padding: 22px 24px 20px; text-decoration: none; transition: background .2s var(--ease); }
.feature:hover { background: #262a34; }
.opening__ask > .lookup, .opening__try { margin-bottom: 40px; }
.opening__ask > .lookup + .opening__try { margin-top: -26px; }
.feature > span { display: block; }
.feature__fig { font: 500 13px/1.45 var(--sans); color: #b9bfcb; margin-bottom: 4px; }
.feature__title { font-size: 21px; font-weight: 750; line-height: 1.2; margin: 0 0 6px; color: #fff; }
.feature__text { font: 400 15px/1.5 var(--serif); color: #d7dae2; }
.feature__go { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 14px; color: #fff; }
.feature__go .icon { transition: transform .25s var(--ease); }
.feature:hover .feature__go .icon { transform: translateX(4px); }

/* ---------- The map of ideas ---------- */
.map { margin: 0; position: relative; }
.map .fig { margin-bottom: 10px; justify-content: space-between; flex-wrap: wrap; }
.map__svg { width: 100%; overflow: visible; font-family: var(--sans); }
.map__field { fill: var(--c); fill-opacity: .075; transition: fill-opacity .25s var(--ease); }
.map[data-dim] .map__field { fill-opacity: .04; }
.map[data-active] .map__field.is-hot { fill-opacity: .13; }
.map__axis { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.map__ticks { stroke: var(--axis); stroke-width: 1; fill: none; }
.map__pole { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; fill: var(--mute); }
.map__hub text { font-size: 15px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; fill: var(--c); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.map__hub:hover text, .map__hub:focus-visible text { text-decoration: underline; text-underline-offset: 3px; }
.map--mini .map__hub text { font-size: 14px; }

.pt { cursor: pointer; text-decoration: none; outline: none; }
.pt__dot { fill: var(--c); stroke: var(--paper); stroke-width: 2; transition: r .2s var(--ease); }
.pt__label { font-size: 14px; font-weight: 500; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 7px; stroke-linejoin: round; }
.pt__tick { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: square; opacity: 0; }
.pt__sel { fill: none; stroke: var(--ink); stroke-width: 1.6; opacity: 0; transition: opacity .2s var(--ease); }
.pt.is-hot .pt__sel { opacity: 1; }
.pt__ring { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.pt__cross { stroke: var(--ink); stroke-width: 1.6; }
.pt:hover .pt__dot, .pt:focus-visible .pt__dot, .pt.is-hot .pt__dot { r: 9; }
.pt:hover .pt__label, .pt:focus-visible .pt__label, .pt.is-hot .pt__label { font-weight: 700; }
.pt:focus-visible .pt__label { text-decoration: underline; }
.map[data-dim] .pt:not(.is-hot):not(.is-near) .pt__label { fill: #5d6370; }
.pt.is-read .pt__tick { opacity: 1; }
.pt.is-read .pt__dot { r: 8; }
.pt.is-focus .pt__label { font-weight: 750; }
.map--mini .pt__label { font-size: 17px; }
.map--mini .map__hub text { font-size: 16px; }
.map--compact .pt__label { font-size: 14.5px; }
.map--compact .map__hub text { font-size: 13px; }
.map--compact .fig__title { display: none; }
.map__hint { display: none; }
.map__scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.map__source { margin-top: 6px; font-size: 12px; color: var(--mute); }
.map__note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--mute); max-width: 70ch; }

.js .map:not(.is-in) .pt { opacity: 0; transform: translateY(-6px); }
.js .map .pt { transition: opacity .5s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 28ms); }
@media (prefers-reduced-motion: reduce) { .js .map:not(.is-in) .pt { opacity: 1; transform: none; } .js .map .pt { transition: none; } }

.map__foot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px 32px; align-items: start; margin-top: 14px; }
.map--mini .map__foot { display: block; margin-top: 8px; }
.defcard { background: var(--paper); border: 1.5px solid var(--ink); padding: 15px 17px 16px; box-shadow: 0 14px 30px -18px rgba(20, 22, 28, .34), 0 2px 6px rgba(20, 22, 28, .05); }
.defcard__title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; line-height: 1.25; }
.defcard__ring { flex: none; width: 22px; height: 22px; }
.defcard__hub { display: flex; align-items: center; gap: 7px; margin: 3px 0 8px; font-size: 13px; font-weight: 600; color: var(--mute); }
.defcard__hub .swatch { background: var(--c); width: 9px; height: 9px; transform: none; }
.defcard__text { font: 400 14.5px/1.5 var(--serif); color: var(--ink-2); }
.defcard__go { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 14px; font-weight: 650; text-decoration: none; }
.defcard__go:hover { text-decoration: underline; }

/* ---------- Section heads, typology table, rows ---------- */
.sechead { max-width: 62ch; }
.sechead h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.sechead p { margin-top: 12px; font: 400 18px/1.55 var(--serif); color: var(--ink-2); }
.sechead .textlink { margin-top: 16px; }
.textlink { display: inline-flex; align-items: center; gap: 7px; font-weight: 650; font-size: 15px; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.textlink .icon { transition: transform .25s var(--ease); }
.textlink:hover .icon { transform: translateX(3px); }

.fields { padding: clamp(56px, 7vw, 96px) 0; }
.typology { width: 100%; border-collapse: collapse; margin-top: 34px; font-size: 15.5px; }
.typology caption { display: table-caption; caption-side: top; text-align: left; padding-bottom: 12px; }
.typology th, .typology td { text-align: left; vertical-align: top; padding: 15px 18px 15px 0; border-bottom: 1px solid var(--line); }
.typology thead th { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); border-bottom: 1.5px solid var(--ink); padding-top: 0; }
.typology tbody th { width: 22%; font-size: 17px; font-weight: 750; }
.typology tbody th a { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.typology tbody th a:hover { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; }
.typology td { color: var(--ink-2); font-family: var(--serif); font-size: 16.5px; line-height: 1.5; }
.typology .typology__concepts { font-family: var(--sans); font-size: 15px; }
.typology .num { width: 70px; padding-right: 0; font-family: var(--sans); font-weight: 700; color: var(--ink); }
.swatch { display: inline-block; width: 11px; height: 11px; background: var(--c); flex: none; transform: translateY(1px); }

.rows { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.rows--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.row { border-bottom: 1px solid var(--line); }
.row__link { display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; padding: 18px 14px 18px 4px; text-decoration: none; transition: background .2s var(--ease); }
.row__link:hover { background: var(--soft); }
.row__mark { grid-row: 1 / span 3; color: var(--c); padding-top: 3px; }
.row__mark .icon { width: 20px; height: 20px; }
.row__title { font-size: 18px; font-weight: 750; line-height: 1.25; }
.row__link:hover .row__title { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.row__text { margin-top: 5px; font: 400 15.5px/1.5 var(--serif); color: var(--ink-2); }
.row__meta { margin-top: 7px; font-size: 13px; color: var(--mute); }
/* Rank by inversion: only the lead row prints light on ink */
.row--lead .row__link { background: var(--ink); padding-left: 16px; }
.row--lead .row__link:hover { background: #262a34; }
.row--lead .row__mark { color: #fff; }
.row--lead .row__title { color: #fff; }
.row--lead .row__text { color: #d7dae2; }
.row--lead .row__meta { color: #b9bfcb; }

.guides { padding: clamp(56px, 7vw, 96px) 0; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.guides__grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.guides .rows { background: var(--paper); }

.method { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.method__grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.method h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.method__steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.method__steps li { counter-increment: s; position: relative; padding: 18px 0 20px 44px; border-top: 1px solid var(--line); font: 400 17px/1.55 var(--serif); color: var(--ink-2); }
.method__steps li::before { content: counter(s); position: absolute; left: 0; top: 18px; width: 28px; height: 28px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--sans); color: var(--ink); }
.method__steps strong { font-family: var(--sans); font-weight: 700; color: var(--ink); }
.method__grid .textlink { grid-column: 2; justify-self: start; }

/* ---------- Documents (explainers, guides, pages) ---------- */
.dochead { border-bottom: 1px solid var(--line); }
.dochead__inner { padding-top: 26px; padding-bottom: 34px; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--mute); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #a3a8b3; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li:nth-child(2) a { box-shadow: inset 0 -2px 0 var(--c); }
.dochead__title { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; letter-spacing: -.028em; line-height: 1.04; max-width: 22ch; }
.dochead__meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--mute); align-items: center; }
.dochead__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.dochead__meta a { color: var(--ink); }
.dochead__lead { margin-top: 16px; max-width: 68ch; }
.dochead__count { margin-top: 14px; font-size: 14px; color: var(--mute); }
.dochead__switch { margin-top: 20px; display: flex; gap: 0; }
.dochead__switch a { padding: 8px 14px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.dochead__switch a + a { border-left: 0; }
.dochead__switch a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.doc--list .lookup, .doc--404 .lookup { margin-top: 22px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.avatar--lg { width: 52px; height: 52px; font-size: 16px; flex: none; }

.docbody { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 740px); gap: clamp(32px, 5vw, 88px); padding-top: 40px; padding-bottom: 72px; justify-content: start; }
.docside { position: relative; }
.docside > * + * { margin-top: 30px; }
.docside__map { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.toc { position: sticky; top: 24px; }
.toc__title { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14.5px; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--ink); border-left-color: var(--line); }
.toc a[aria-current] { color: var(--ink); font-weight: 650; border-left-color: var(--c); }

.definition { background: var(--soft); border-top: 2px solid var(--c); padding: 20px 24px 22px; margin-bottom: 34px; }
.definition__label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.definition p { font: 500 20px/1.55 var(--serif); color: var(--ink); }

.original { border: 1.5px solid var(--ink); padding: 18px 22px 18px; margin-bottom: 34px; }
.original__label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); }
.original__cite { margin: 6px 0 12px; font: 400 18px/1.5 var(--serif); }
.original__note { margin-top: 12px; font-size: 13px; color: var(--mute); }

.dochero { margin: 0 0 34px; }
.dochero img { width: 100%; }
.dochero figcaption, .prose figcaption { margin-top: 10px; font: 400 14px/1.5 var(--sans); color: var(--mute); }
.prose figcaption .fig__no { color: var(--ink); margin-right: .4em; }

.prose { font: 400 19px/1.65 var(--serif); color: var(--ink-2); max-width: 68ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(25px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.018em; line-height: 1.18; margin-top: 2.1em; color: var(--ink); scroll-margin-top: 24px; }
.prose h3 { font-size: 21px; font-weight: 750; line-height: 1.3; margin-top: 1.8em; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--c) 70%, transparent); text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-color: var(--c); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--c); font-family: var(--sans); font-weight: 700; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 22px; border-left: 1px solid var(--ink); font-style: italic; color: var(--ink); }
.prose blockquote cite { display: block; margin-top: 8px; font: 500 14px var(--sans); font-style: normal; color: var(--mute); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose img { width: 100%; }
.prose table { width: 100%; border-collapse: collapse; font: 400 15.5px/1.5 var(--sans); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); }
.prose thead th { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); border-bottom: 1.5px solid var(--ink); }
.prose td { font-variant-numeric: tabular-nums; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { font: 500 .88em ui-monospace, "SF Mono", Menlo, monospace; background: var(--soft); padding: .1em .35em; }
.prose em { font-style: italic; }

.faq, .sources { margin-top: 56px; max-width: 68ch; }
.faq h2, .sources h2 { font-size: 26px; font-weight: 800; letter-spacing: -.018em; margin-bottom: 14px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative; font-size: 17.5px; font-weight: 650; line-height: 1.35; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.6px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.6px 12px no-repeat; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 18px; font: 400 17px/1.6 var(--serif); color: var(--ink-2); }
.faq__a p + p { margin-top: .8em; }
.sources ol { margin: 0; padding-left: 1.4em; font: 400 15.5px/1.55 var(--sans); color: var(--ink-2); }
.sources li + li { margin-top: 7px; }
.sources li::marker { font-weight: 700; color: var(--mute); }
.sources a { color: var(--ink); overflow-wrap: anywhere; }

.authorbox { margin-top: 56px; padding-top: 24px; border-top: 1.5px solid var(--ink); display: flex; gap: 18px; max-width: 68ch; }
.authorbox__name { font-weight: 750; font-size: 17px; }
.authorbox p + p { margin-top: 6px; font: 400 16px/1.55 var(--serif); color: var(--ink-2); }
.authorbox .textlink { margin-top: 12px; font-size: 14px; }

.related { padding: 56px 0 80px; border-top: 1px solid var(--line); background: var(--soft); }
.related h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.018em; margin-bottom: 22px; }
.related .rows { background: var(--paper); }

/* ---------- Hubs: the opener drenches in the field colour ---------- */
.hubhead { background: var(--c); color: #fff; }
.hubhead__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: clamp(28px, 4vw, 64px); padding-top: 28px; padding-bottom: 44px; align-items: end; }
.hubhead .crumbs ol, .hubhead .crumbs a { color: rgba(255, 255, 255, .86); }
.hubhead .crumbs li + li::before { color: rgba(255, 255, 255, .55); }
.hubhead .crumbs span { color: #fff; }
.hubhead .crumbs li:nth-child(2) a { box-shadow: none; }
.hubhead__title { color: #fff; font-size: clamp(44px, 6vw, 84px); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.hubhead__lead { margin-top: 20px; font: 400 21px/1.5 var(--serif); color: rgba(255, 255, 255, .94); max-width: 40ch; }
.hubhead__count { margin-top: 22px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .86); }
.hubhead__map { background: var(--paper); color: var(--ink); padding: 18px 20px 14px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .45); }
.hubbody { padding-top: 48px; padding-bottom: 64px; }
.hubbody__about { margin-top: 64px; padding-top: 40px; border-top: 1.5px solid var(--ink); }
.hubbody__about .prose figure { max-width: 68ch; }
.hubbody__h { font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); margin: 0 0 12px; }
.hubbody .rows + .hubbody__h { margin-top: 56px; }
.hubnav { border-top: 1px solid var(--line); padding: 40px 0 64px; }
.hubnav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hubnav__list a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--line); font-weight: 650; font-size: 15px; text-decoration: none; transition: border-color .2s var(--ease); }
.hubnav__list a:hover { border-color: var(--c); }
.empty { padding: 36px 0; max-width: 60ch; }
.empty h2 { font-size: 24px; font-weight: 800; }
.empty p { margin: 10px 0 20px; font: 400 18px/1.55 var(--serif); color: var(--ink-2); }

/* ---------- Guide index ---------- */
.ixgroup { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ixgroup__label { font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ixlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
.ixlist a { display: block; padding: 8px 0 8px 16px; position: relative; text-decoration: none; }
.ixlist a::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ixlist__title { display: block; font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.ixlist a:hover .ixlist__title { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 2px; }
.ixlist__meta { display: block; font-size: 13.5px; color: var(--mute); margin-top: 2px; }
.doc--index .wrap:last-child { padding-bottom: 72px; }

.lost { padding-top: 72px; padding-bottom: 96px; max-width: 760px; margin-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.lost .dochead__title { margin-top: 14px; }
.lost__lead { margin: 18px 0 26px; font: 400 19px/1.55 var(--serif); color: var(--ink-2); }
.lost .hubnav__list { margin-top: 28px; }
.pager { margin: 28px 0 64px; }
.pager .nav-links { display: flex; gap: 8px; }
.pager .page-numbers { padding: 8px 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.doc--list .wrap:last-child { padding-bottom: 72px; }

/* ---------- Footer ---------- */
.foot { border-top: 1.5px solid var(--ink); background: var(--paper); }
.foot__inner { max-width: var(--maxw); margin: 0 auto; padding: 48px var(--gutter) 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot__mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; }
.foot__brand p { margin-top: 14px; max-width: 46ch; font: 400 16px/1.55 var(--serif); color: var(--ink-2); }
.foot__col h2 { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--mute); margin-bottom: 12px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li + li { margin-top: 8px; }
.foot__col a { font-size: 15px; text-decoration: none; color: var(--ink-2); }
.foot__col a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--c); }
.foot__base { max-width: var(--maxw); margin: 0 auto; padding: 18px var(--gutter) 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: var(--mute); }
.foot__disclaimer { color: var(--ink-2); font-weight: 500; }
.foot__base a { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); text-decoration: none; }
.foot__base a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.opening { grid-template-columns: 1fr; }
	.opening__ask { border-right: 0; border-bottom: 1px solid var(--line); padding-right: var(--gutter); }
	.opening__lead { max-width: 56ch; }
	.opening__ask > .feature { margin-top: 30px; }
	.docbody { grid-template-columns: 1fr; }
	.docside { order: 2; }
	.docmain { order: 1; }
	.toc { display: none; }
	.docside__map { max-width: 640px; }
	.hubhead__inner { grid-template-columns: 1fr; align-items: start; }
	.guides__grid, .method__grid { grid-template-columns: 1fr; }
	.method__grid .textlink { grid-column: 1; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.opening__map { padding: 22px var(--gutter) 24px; }
	.opening__map .map__svg { min-width: 760px; }
	.opening__map .map__scroll { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.opening__map .map__scroll.is-end { -webkit-mask-image: none; mask-image: none; }
	.map__hint { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
	.opening__map .map__scroll { margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
	.map--mini .pt__label { font-size: 17px; }
	.map__foot { grid-template-columns: 1fr; }
	.typology caption { display: block; }
	.typology thead { display: none; }
	.typology, .typology tbody, .typology tr, .typology th, .typology td { display: block; width: auto; }
	.typology tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
	.typology th, .typology td { border: 0; padding: 4px 0; }
	.typology .num { display: none; }
	.rows--cols { grid-template-columns: 1fr; }
	.method__steps { grid-template-columns: 1fr; }
	.ixgroup { grid-template-columns: 1fr; gap: 8px; }
	.ixlist { grid-template-columns: 1fr; }
	.prose { font-size: 18px; }
	.definition p { font-size: 18.5px; }
	.foot__inner { grid-template-columns: 1fr; gap: 28px; }
	.mast__brand span { font-size: 18px; }
	.lookup__go span { display: none; }
}

@media print {
	.mast, .foot, .docside, .related, .hubnav { display: none; }
	.prose { max-width: none; }
}
