/* International journal: use existing tokens, retain the approved visual system. */
.jr-daily-heading { padding: 32px 0; border-top: 1px solid var(--rule); }
.jr-daily-heading h3 { margin: 14px 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.jr-daily-heading > p:last-child { color: var(--ink-2); max-width: 55ch; }
.jr-regional-archive { margin: 48px 0; border-block: 1px solid var(--rule); }
.jr-regional-archive > summary { padding: 24px 0; cursor: pointer; font-weight: 600; font-size: 1.125rem; }
.jr-regional-archive > p { max-width: 70ch; color: var(--ink-2); margin-bottom: 24px; }
.jr-table-wrap { overflow-x: auto; max-width: 100%; margin: 32px 0; border: 1px solid var(--rule); background: var(--sheet); }
.jr-table-wrap table { width: 100%; min-width: 580px; border-collapse: collapse; text-align: left; font-size: 1rem; line-height: 1.55; }
.jr-table-wrap th, .jr-table-wrap td { padding: 18px; vertical-align: top; border-bottom: 1px solid var(--rule); }
.jr-table-wrap th { font-weight: 600; background: var(--paper); }
.jr-table-wrap td:first-child { font-weight: 600; width: 24%; }
.jr-cover figcaption { padding: 14px 16px; font-size: .875rem; color: var(--ink-2); }
/* ==========================================================================
   Axiom Forge — journal.css: the Journal (/insights). Loaded after site.css and
   uses its tokens, type and primitives (.wrap, .eyebrow, .lead, .btn, .tlink, .acc, .sign, .dlg).
   Readability first: a 64–72ch measure, 18–20px body in ink, generous rhythm.
   Pictures are photographs of one series (af/img/gen/): one per topic and, where it exists, one per article.
   A photograph is always shown whole at 3:2, never cropped, and no text ever sits on one. Diagrams are native figures.
   Every class is prefixed jr- so nothing collides with the home page.
   ========================================================================== */

:root {
  --jr-inset: clamp(0px, 3vw - 16px, 48px);                    /* the step between a photograph's column and the words beside it */
  --jr-body: clamp(1.125rem, 1.06rem + 0.25vw, 1.25rem);      /* 18px phones → 19.6px at 1440 → 20px */
  --jr-measure: 34em;                                         /* about 66–72 characters of Onest per line */
  --jr-h2: clamp(1.625rem, 1.32rem + 1.05vw, 2.125rem);       /* 26 → 34px */
  --jr-sec-gap: clamp(3.5rem, 2.4rem + 3vw, 5.5rem);          /* space above each H2 */
  --jr-block-gap: clamp(2.5rem, 2rem + 2vw, 3.5rem);          /* space between the opening blocks */
  --jr-label: 500 0.8125rem/1.4 var(--font-sans);
  --jr-meta: 400 0.8125rem/1.5 var(--font-mono);
  --jr-olive: #525B49;                                        /* owner-approved editorial illustration family */
  --jr-sage: #E7E9DF;
  --jr-warm: #EEE8DD;
}

/* ---------- shared bits ---------- */
.jr-page main { display: block; }
.nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.jr-nw { white-space: nowrap; }
.jr-ru { display: none; }
html.jr-ru-on .jr-ru { display: block; }
.jr-ru { background: var(--paper-2); border-bottom: 1px solid var(--rule); font-size: var(--fs-small); line-height: 1.5; padding-block: 10px; color: var(--ink); }
.jr-ru .wrap { display: block; }
.jr-ru a { color: var(--ink); text-underline-offset: 3px; margin-left: 6px; }

.jr-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; font-size: var(--fs-small); line-height: 1.4; color: var(--ink-2); }
.jr-crumbs li { display: inline-flex; align-items: center; }
.jr-crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-top: 1px solid var(--ink-3); border-right: 1px solid var(--ink-3); transform: rotate(45deg); }
.jr-crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-ui); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.jr-crumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }
.jr-crumbs [aria-current] { color: var(--ink); }

/* A photograph in its frame: always whole, at its own 3:2 (the files are 3:2, so object-fit never has anything to
   cut), whatever it shows. The frame keeps the ratio, so nothing moves while the file arrives; until then it is a
   quiet tone of the paper. A hairline keeps a pale edge of a photograph apart from the paper. */
.jr-ph { position: relative; display: block; overflow: hidden; margin: 0; border-radius: 2px; aspect-ratio: 3 / 2; background: var(--paper-2); }
.jr-ph > img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.jr-ph::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(17, 19, 21, .08); pointer-events: none; }

.jr-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--rule); border-radius: 2px; background: transparent;
  font-size: var(--fs-small); font-weight: 500; line-height: 1.2; color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.jr-chip:hover { border-color: var(--ink); }
.jr-chip[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.jr-chip__n { font: 400 0.75rem/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.jr-chip[aria-current] .jr-chip__n { color: #C9CCC6; }
.jr-chip--sm { min-height: 30px; padding: 0 10px; font-size: 0.8125rem; background: var(--sheet); }
.tlink .jr-chip__n { margin-left: 2px; }

.jr-item__meta, .jr-byline__meta { display: flex; flex-wrap: wrap; gap: 2px 0; font: var(--jr-meta); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.jr-item__meta > span + span::before, .jr-byline__meta > span + span::before { content: "·"; margin: 0 10px; color: var(--ink-3); }

/* a standalone text link whose label may wrap: the icon follows the last word instead of hanging at the far edge */
.tlink.jr-ilink { display: inline-block; min-height: 44px; padding-block: 10px; line-height: 1.5; }
.tlink.jr-ilink .i { display: inline-block; vertical-align: -2px; margin-left: 8px; }

.jr-copy {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--rule); border-radius: 2px; background: transparent;
  font-size: 0.875rem; font-weight: 500; color: var(--ink-2);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.jr-copy:hover { border-color: var(--ink); color: var(--ink); }
.jr-copy .i { width: 16px; height: 16px; }
.jr-copy--icon { width: 40px; padding: 0; }
.jr-copy.is-done { color: var(--ok); border-color: var(--ok); }

/* the status line stays in the accessibility tree while empty, so screen readers announce it when it fills */
.jr-toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70; transform: translateX(-50%);
  margin: 0; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 2px;
  background: var(--ink); color: var(--paper); font-size: var(--fs-small); line-height: 1.4;
}
.jr-toast:empty { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.jr-progress { position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 49; height: 2px; pointer-events: none; }
.jr-progress span { display: block; height: 100%; background: var(--forge); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
html.menu-open .jr-progress { display: none; }

/* ---------- journal home and topic pages ---------- */
.jr-intro { padding-block: clamp(2rem, 1.2rem + 3vw, 4rem) clamp(2.5rem, 1.6rem + 3vw, 4.5rem); display: grid; row-gap: var(--s-7); }
.jr-intro__text { min-width: 0; }
.jr-intro .jr-crumbs { margin-bottom: var(--s-4); }
/* The measures of what a page opens with (titles, the policy's lead) are in em, not ch: 12ch, 14ch, 24ch and 58ch
   of Onest. A ch is 12% narrower in the fallback font, so a title set in ch takes another line until the web font
   arrives and everything under it moves. */
.jr-intro__h1 {
  font-size: clamp(2.375rem, 1.5rem + 2.8vw, 4rem); line-height: 1.03; letter-spacing: var(--track-display); font-weight: 500;
  max-width: 7.96em; text-wrap: balance; color: var(--ink);
}
.jr-intro__h1--cat { max-width: 9.29em; }
.jr-intro .lead { margin-top: var(--s-5); max-width: 34em; }
.jr-intro__note { margin-top: var(--s-5); font-size: var(--fs-small); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.jr-facts { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: var(--fs-small); color: var(--ink-2); padding-top: var(--s-4); border-top: 1px solid var(--rule); max-width: 34em; }
.jr-facts__n, .jr-facts__d { font: 500 var(--fs-small)/1.4 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); }
.jr-facts__n { margin-right: 4px; }
.jr-intro__links { margin-top: var(--s-2); display: flex; flex-wrap: wrap; gap: 0 28px; }
.jr-rss .i, .jr-tosearch .i { width: 16px; height: 16px; }
/* "Search … articles" takes the reader to the search field, which only works with scripts. It is shown where the
   field is a screen or more away (below 1024px) and only when scripts run: the page says so before its first paint
   (html.jr-js, set in the <head>), so the link is in the first layout and nothing moves when journal.js arrives. */
.jr-tosearch { display: none; }
@media (max-width: 1023.98px) { html.jr-js .jr-tosearch { display: inline-flex; } }
.jr-start { max-width: 34em; min-width: 0; }
.jr-start__title { font: var(--jr-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); max-width: none; }
.jr-start ol { margin-top: var(--s-3); border-top: 1px solid var(--ink); counter-reset: sh; }
.jr-start li { counter-increment: sh; border-bottom: 1px solid var(--rule); }
.jr-start a { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 8px; align-items: baseline; padding-block: 10px; text-decoration: none; color: var(--ink); }
.jr-start a::before { content: counter(sh, decimal-leading-zero); font: 400 0.75rem/1 var(--font-mono); color: var(--ink-3); }
.jr-start__t { font-size: 1rem; line-height: 1.4; font-weight: 500; text-wrap: pretty; }
.jr-start a:hover .jr-start__t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.jr-start__m { font: var(--jr-meta); color: var(--ink-3); white-space: nowrap; }

/* The large slot beside the introduction: a photograph (whole, 3:2), then an article's title, promise and
   description. The text measures are in em (24ch and 52ch of Onest), not ch: a ch is 12% narrower in the fallback
   font, so the title would take another line until the web font arrives. */
.jr-feature { position: relative; min-width: 0; }
.jr-feature__text { padding-top: var(--s-5); }
.jr-feature__label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: var(--jr-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); }
.jr-feature__tag { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.jr-feature__tag::before { content: ""; width: 8px; height: 8px; background: var(--forge); }
.jr-feature__title { margin-top: var(--s-4); font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 500; max-width: 15.92em; color: var(--ink); text-wrap: initial; }
.jr-feature__title a { display: block; color: inherit; text-decoration: none; }
.jr-feature__title__a, .jr-feature__title__b { display: block; text-wrap: balance; }
.jr-feature__title__b { margin-top: 0.3em; font-size: 0.72em; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink-2); }
.jr-feature__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.jr-feature__title a:hover .jr-feature__title__a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.jr-feature:has(a:focus-visible) { outline: 2px solid var(--forge); outline-offset: 6px; }
.jr-feature__title a:focus-visible { outline: none; }
.jr-feature__desc { margin-top: var(--s-4); font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); max-width: 34.58em; text-wrap: pretty; }
.jr-feature .jr-item__meta { margin-top: var(--s-4); }
@media (min-width: 1024px) {
  .jr-intro { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-6); align-items: start; }
  /* 1024–1279px: the words get seven columns and the photograph five, so that the two sides end close to level
     with the photograph at its own 3:2; from 1280px the photograph has the seven */
  .jr-intro__text { grid-column: 1 / 8; grid-row: 1; padding-top: var(--s-2); }
  .jr-feature { grid-column: 8 / 13; grid-row: 1 / span 2; margin-left: clamp(0px, 3vw - 16px, 48px); }
  /* the short list closes the column: it ends level with the featured article when that is the taller side */
  .jr-start { grid-column: 1 / 8; grid-row: 2; align-self: end; }
  /* a topic page: the words, and the topic's photograph beside them; the facts and the note close the column */
  .jr-intro--topic .jr-intro__text { align-self: stretch; display: flex; flex-direction: column; }
  .jr-intro--topic .jr-facts { margin-top: auto; }
  .jr-intro--topic .lead { margin-bottom: var(--s-6); }
  .jr-intro__ph { grid-column: 8 / 13; grid-row: 1; margin-left: var(--jr-inset); }
}
@media (min-width: 1280px) {
  .jr-intro__text, .jr-start { grid-column: 1 / 6; }
  .jr-feature, .jr-intro__ph { grid-column: 6 / 13; }
}

/* A band: a photograph (whole, 3:2) and the words it belongs to, side by side from 640px. Two uses: a topic's
   opening row on the journal home, and the "Start here" article of a topic page. The whole band is one link. */
.jr-band { position: relative; display: grid; row-gap: var(--s-5); }
.jr-band__text { min-width: 0; }
.jr-band:has(a:focus-visible) { outline: 2px solid var(--forge); outline-offset: 6px; }
.jr-band a:focus-visible { outline: none; }
@media (min-width: 640px) {
  .jr-band { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .jr-band__ph { grid-column: 1 / 6; }
  .jr-band__text { grid-column: 6 / 13; padding-left: var(--jr-inset); }
  .jr-band--plain .jr-band__text { grid-column: 1 / 13; padding-left: 0; }
}
/* from 900px the photograph is taller than the words: they sit at its middle. Without a photograph the title
   and the description share the row, on the same two columns. */
@media (min-width: 900px) {
  .jr-band { align-items: center; }
  .jr-band--plain .jr-band__text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .jr-band--plain .jr-feature__label { grid-column: 1 / 13; }
  .jr-band--plain .jr-feature__title { grid-column: 1 / 6; grid-row: 2 / span 2; }
  .jr-band--plain .jr-feature__desc { grid-column: 6 / 13; grid-row: 2; padding-left: var(--jr-inset); max-width: none; }
  .jr-band--plain .jr-item__meta { grid-column: 6 / 13; grid-row: 3; padding-left: var(--jr-inset); }
}
/* the "Start here" band of a topic page */
.jr-pick { padding-bottom: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); }
.jr-pick .jr-band { padding-top: var(--s-6); border-top: 1px solid var(--ink); }
.jr-pick .jr-feature__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.jr-topics { padding-top: var(--s-5); border-top: 1px solid var(--rule); }
.jr-topics__title { font: var(--jr-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); max-width: none; }
.jr-topics ul { margin-top: var(--s-3); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.jr-topics .jr-chip { width: 100%; min-height: 48px; justify-content: flex-start; padding: 0 16px; white-space: normal; }
.jr-topics .jr-chip__n { margin-left: auto; }
@media (min-width: 600px) { .jr-topics ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .jr-topics ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .jr-topics ul { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.jr-browse { padding-block: clamp(2.5rem, 1.6rem + 3vw, 4.5rem) clamp(4rem, 3rem + 4vw, 7rem); }
.jr-browse__bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-bottom: var(--s-5); border-bottom: 1px solid var(--ink); }
.jr-browse__head h2 { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; max-width: none; }
.jr-browse__count { margin-top: 6px; font: var(--jr-meta); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.jr-search { position: relative; flex: 0 1 400px; min-width: min(100%, 280px); }
.jr-search input {
  width: 100%; min-height: 48px; padding: 0 16px 0 46px;
  border: 1px solid var(--line-ui); border-radius: 2px; background: var(--sheet); color: var(--ink);
  font-size: 1rem; -webkit-appearance: none; appearance: none;
}
.jr-search input::placeholder { color: var(--ink-3); opacity: 1; }
.jr-search input:hover { border-color: var(--ink); }
.jr-search input:focus-visible { outline: 2px solid var(--forge); outline-offset: 0; border-color: var(--ink); }
.jr-search__i { position: absolute; left: 15px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }

/* A list is an index: one row per article, ruled. From 900px a row sets the title (with its dates) and the
   description side by side on the page's twelve columns, the same two columns a topic's opening row uses for its
   photograph and its words. An article that has its own photograph shows it at the end of the row, whole, at 3:2;
   an article without one has no picture here. */
.jr-list { display: grid; }
.jr-item { position: relative; padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.jr-item__text { min-width: 0; }
.jr-item__cat { margin-bottom: 6px; font: var(--jr-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.jr-item__title { font-size: clamp(1.125rem, 1.04rem + 0.3vw, 1.3125rem); line-height: 1.3; letter-spacing: -0.012em; font-weight: 600; max-width: 34ch; }
.jr-item__title a { text-decoration: none; }
.jr-item__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.jr-item__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.jr-item:has(a:focus-visible) { outline: 2px solid var(--forge); outline-offset: 4px; }
.jr-item__title a:focus-visible { outline: none; }
.jr-item__desc { margin-top: var(--s-2); font-size: 1rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.jr-item__meta { margin-top: var(--s-3); }
/* where the page already names the topic (a topic's group on the journal home, a topic page), a row does not repeat it */
.jr-group .jr-item__cat, .jr-cat .jr-browse .jr-item__cat { display: none; }

/* a row with the article's own photograph: 128px wide beside the title on phones, 200–240px at the end of the row above */
.jr-item--pic { --jr-thumb: 128px; display: grid; grid-template-columns: minmax(0, 1fr) var(--jr-thumb); column-gap: var(--s-4); align-items: start; }
.jr-item__ph { width: var(--jr-thumb); margin-top: 4px; }
@media (max-width: 599.98px) {
  /* the description and the dates use the full width; a short title is lower than the picture beside it, and the
     room that is left goes under the title */
  .jr-item--pic { grid-template-rows: auto 1fr; }
  .jr-item--pic .jr-item__text { display: contents; }
  .jr-item--pic .jr-item__cat, .jr-item--pic .jr-item__title { grid-column: 1; }
  .jr-item--pic .jr-item__cat { grid-row: 1; }
  .jr-item--pic .jr-item__title { grid-row: 2; }
  .jr-item--pic .jr-item__ph { grid-column: 2; grid-row: 1 / span 2; margin-top: 2px; }
  .jr-item--pic .jr-item__desc { grid-column: 1 / -1; grid-row: 3; }
  .jr-item--pic .jr-item__meta { grid-column: 1 / -1; grid-row: 4; }
}
@media (min-width: 600px) { .jr-item--pic { --jr-thumb: 200px; column-gap: var(--s-5); } }
@media (min-width: 900px) {
  .jr-rows > .jr-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: var(--gutter); align-items: start; }
  .jr-rows > .jr-item > .jr-item__text { display: contents; }
  .jr-rows .jr-item__cat { grid-column: 1 / 6; grid-row: 1; }
  .jr-rows .jr-item__title { grid-column: 1 / 6; grid-row: 2; }
  .jr-rows .jr-item__meta { grid-column: 1 / 6; grid-row: 3; }
  .jr-rows .jr-item__desc { grid-column: 6 / 13; grid-row: 1 / span 3; margin-top: 0; padding-left: var(--jr-inset); padding-top: 2px; }
  .jr-rows .jr-item--pic .jr-item__desc { grid-column: 6 / 10; }
  .jr-rows .jr-item--pic .jr-item__ph { grid-column: 10 / 13; grid-row: 1 / span 3; justify-self: end; width: min(100%, 240px); margin-top: 2px; }
}

/* The journal home lists the articles by topic. A group opens with one wide row: the topic's photograph (whole,
   3:2, once on the page), its code and number of articles, its name, its description and the way to its page.
   The whole row is that link. */
.jr-groups { display: grid; row-gap: clamp(3.5rem, 2.25rem + 5vw, 6.5rem); padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.jr-group__meta { display: flex; flex-wrap: wrap; font: var(--jr-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); }
.jr-group__meta > span + span::before { content: "·"; margin: 0 10px; }
.jr-group__title { margin-top: var(--s-3); font-size: clamp(1.625rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 500; max-width: none; text-wrap: balance; }
.jr-group__title a { color: inherit; text-decoration: none; }
.jr-group__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.jr-group__desc { margin-top: var(--s-3); font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 32em; text-wrap: pretty; }
.jr-group__more { margin-top: var(--s-4); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.jr-group__more .i { transition: transform var(--t-fast) var(--ease); }
.jr-group__head:hover .jr-group__more { text-decoration-thickness: 2px; }
.jr-group__head:hover .jr-group__more .i { transform: translateX(3px); }
.jr-group > .jr-list { margin-top: var(--s-6); border-top: 1px solid var(--ink); }
@media (prefers-reduced-motion: reduce) { .jr-group__more .i { transition: none; } }
.jr-empty { padding-block: var(--s-7); max-width: 56ch; }
.jr-empty__t { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.jr-empty p + p { margin-top: var(--s-2); color: var(--ink-2); }
.jr-empty__actions { margin-top: var(--s-5) !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }

/* ---------- end of page: the project-review card ---------- */
.jr-cta { padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.jr-cta__card { display: grid; gap: var(--s-5); padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); background: var(--sheet); border: 1px solid var(--rule); }
.jr-cta__card h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 16ch; }
.jr-cta__body > p:first-child { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.jr-cta .cta-row { margin-top: var(--s-5); }
.jr-cta .btn { white-space: normal; }
.jr-cta .reassure { margin-top: var(--s-4); font-size: 0.875rem; }
.jr-cta__more { margin-top: var(--s-2); }
@media (min-width: 900px) {
  .jr-cta__card { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .jr-cta__head { grid-column: 1 / 7; }
  .jr-cta__body { grid-column: 7 / 13; }
}

/* ---------- article: header. Title and lead on the left, the short answer on the first screen ---------- */
.jr-head { padding-top: clamp(1.25rem, 0.8rem + 1.6vw, 2.5rem); }
.jr-head__grid { margin-top: var(--s-5); display: grid; row-gap: var(--s-6); }
.jr-head__text { min-width: 0; }
.jr-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.jr-kicker__tags { font: var(--jr-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.jr-title {
  margin-top: var(--s-5);
  font-size: clamp(1.75rem, 1.36rem + 2.1vw, 3.25rem); line-height: 1.07; letter-spacing: -0.03em; font-weight: 500;
  max-width: 15.92em; text-wrap: balance; hyphens: none; overflow-wrap: break-word; color: var(--ink);
}
/* "Topic: promise" titles break at the colon; the promise is the quieter second voice */
.jr-title__a, .jr-title__b { display: block; text-wrap: balance; }
.jr-title__b { margin-top: 0.18em; color: var(--ink-2); }
.jr-lead { margin-top: var(--s-5); font-size: clamp(1.1875rem, 1.1rem + 0.38vw, 1.4375rem); line-height: 1.5; color: var(--ink-2); max-width: 40em; text-wrap: pretty; }
.jr-byline { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px; align-items: center; }
.jr-byline__who { grid-column: 1; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-2); }
.jr-byline__who a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line-ui); text-underline-offset: 4px; }
.jr-byline__who a:hover { text-decoration-color: currentColor; }
.jr-byline__meta { grid-column: 1; }
.jr-byline .jr-copy { grid-column: 2; grid-row: 1 / span 2; }
@media (min-width: 600px) {
  .jr-byline { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 24px; }
  .jr-byline__meta { grid-column: 2; grid-row: 1; }
  .jr-byline .jr-copy { grid-column: 3; grid-row: 1; }
}
@media (max-width: 599.98px) {
  /* phones: the breadcrumb names the topic, so the answer starts higher on the first screen */
  .jr-kicker { display: none; }
  .jr-head__grid { margin-top: var(--s-3); row-gap: var(--s-5); }
  .jr-title { margin-top: 0; }
  .jr-lead { margin-top: var(--s-4); font-size: 1.125rem; }
  .jr-byline { margin-top: var(--s-5); padding-top: var(--s-3); }
}

/* ---------- article: body grid, rail and contents ---------- */
.jr-body { padding-top: var(--jr-block-gap); padding-bottom: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.jr-main { min-width: 0; }
.jr-rail { display: none; }
@media (max-width: 1199.98px) {
  /* one centred reading column on tablets and small laptops */
  .jr-head, .jr-body { max-width: calc(800px + 2 * var(--margin)); }
}
@media (min-width: 1200px) {
  .jr-head__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .jr-head__text { grid-column: 1 / 8; }
  .jr-short { grid-column: 8 / 13; margin-left: clamp(32px, 5vw - 24px, 72px); }
  .jr-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  /* the contents come first in the source (keyboard order) and sit to the right of the text */
  .jr-main { grid-column: 1 / 8; grid-row: 1; }
  .jr-rail { display: block; grid-column: 8 / 13; grid-row: 1; margin-left: clamp(32px, 5vw - 24px, 72px); position: sticky; top: calc(var(--header-h) + var(--s-6)); max-height: calc(100vh - var(--header-h) - var(--s-7)); overflow-y: auto; overscroll-behavior: contain; padding-bottom: var(--s-4); }
  .jr-tocm { display: none; }
}
.jr-toc__label { font: var(--jr-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); }
.jr-toc .jr-toc__list { margin-top: var(--s-3); border-left: 1px solid var(--rule); }
.jr-toc__list a {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 6px;
  padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent;
  font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); text-decoration: none;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.jr-toc__list a:hover { color: var(--ink); }
.jr-toc__list a:hover .jr-toc__t { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-ui); }
.jr-toc__list a.is-active { color: var(--ink); font-weight: 500; border-left-color: var(--forge); }
.jr-toc__list a.is-active .jr-toc__n { color: var(--forge); }
.jr-toc__list--plain a { grid-template-columns: minmax(0, 1fr); }
.jr-toc__list--plain .jr-toc__n { display: none; }
.jr-toc__n { font: 400 0.75rem/1.85 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.jr-rail__tools { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.jr-facts-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.jr-facts-dl dt { font: var(--jr-label); font-size: 0.75rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.jr-facts-dl dd { margin: 2px 0 0; font: 400 0.875rem/1.5 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink); }
.jr-rail__actions { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.jr-rail__top { font-size: var(--fs-small); min-height: 40px; }

.jr-tocm { margin-top: var(--jr-block-gap); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.jr-tocm > summary { display: flex; align-items: center; gap: 12px; min-height: 56px; list-style: none; cursor: pointer; font-weight: 600; }
.jr-tocm > summary::-webkit-details-marker { display: none; }
.jr-tocm__n { margin-left: auto; font: var(--jr-meta); color: var(--ink-3); }
.jr-tocm .jr-toc__list { padding-bottom: var(--s-4); }
.jr-tocm .jr-toc__list a { padding: 10px 0; border-left: 0; min-height: 44px; align-items: baseline; font-size: 1rem; }

/* ---------- article: the essence in 30 seconds ---------- */
.jr-short { min-width: 0; padding: clamp(1.25rem, 0.9rem + 1.5vw, 2rem); background: var(--sheet); border: 1px solid var(--rule); border-top: 2px solid var(--ink); }
.jr-short__label, .jr-take__label {
  display: flex; align-items: center; gap: 10px; max-width: none;
  font: var(--jr-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink);
}
.jr-short__label::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--forge); }
.jr-short__text { margin-top: var(--s-4); font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.55; letter-spacing: -0.004em; color: var(--ink); max-width: 36em; text-wrap: pretty; }
.jr-short__cta { margin-top: var(--s-4); padding-top: var(--s-2); border-top: 1px solid var(--rule); font-size: var(--fs-small); line-height: 1.5; color: var(--ink-2); }
.jr-short__cta .tlink { font-size: var(--fs-small); }
.jr-short__q { margin-right: 6px; }
.jr-short__own { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; } /* the data's own label is set in capitals */
@media (min-width: 1200px) {
  /* in the header's right column the card is a newspaper column: about 40–46 characters a line */
  .jr-short { padding: clamp(1.5rem, 0.5rem + 1.4vw, 1.875rem); }
  .jr-short__text { font-size: clamp(1.0625rem, 0.6rem + 0.62vw, 1.1875rem); line-height: 1.58; }
}
@media (max-width: 599.98px) {
  /* phones: the card runs edge to edge, so the answer gets the same measure as the body text */
  .jr-short { margin-inline: calc(-1 * var(--margin)); padding: 20px var(--margin) 12px; border-inline: 0; }
  .jr-short__text { font-size: 1.125rem; line-height: 1.6; }
}

/* The article's photograph (its own, else its topic's) opens the reading column: whole, at 3:2. It comes after the
   header, so the short answer stays on the first screen. */
.jr-cover + .jr-take { margin-top: var(--jr-block-gap); }

.jr-take { margin-top: var(--jr-block-gap); }

.jr-take { padding-left: clamp(0.875rem, 0.6rem + 1.4vw, 2rem); border-left: 2px solid var(--ink); }
.jr-take__label { color: var(--ink-2); }
.jr-take blockquote { margin: var(--s-3) 0 0; }
.jr-take blockquote p { font-size: var(--jr-body); line-height: 1.6; color: var(--ink); max-width: var(--jr-measure); text-wrap: pretty; }
.jr-take .sign { margin-top: var(--s-5) !important; }

.jr-decide { margin-top: var(--jr-block-gap); }
.jr-block-title { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; max-width: none; }
.jr-decide__list { margin-top: var(--s-4); display: grid; gap: var(--s-4); counter-reset: dc; }
.jr-decide__card { counter-increment: dc; padding: var(--s-5); background: var(--sheet); border: 1px solid var(--rule); min-width: 0; }
.jr-decide__label { display: flex; gap: 10px; font: var(--jr-label); font-size: 0.75rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.jr-decide__label::before { content: counter(dc, decimal-leading-zero); font-family: var(--font-mono); font-weight: 400; color: var(--ink-2); }
.jr-decide__card h3 { margin-top: var(--s-3); font-size: 1.125rem; line-height: 1.32; letter-spacing: -0.01em; font-weight: 600; }
.jr-decide__card p:last-child { margin-top: var(--s-2); font-size: 1rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 900px) {
  /* rows, not three narrow cards: the label on the left, the decision at a readable measure on the right */
  .jr-decide__list { gap: 0; border-top: 1px solid var(--ink); }
  .jr-decide__card { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); column-gap: var(--s-5); padding: var(--s-5) 0; background: none; border: 0; border-bottom: 1px solid var(--rule); }
  .jr-decide__label { grid-row: 1 / span 2; padding-top: 5px; }
  .jr-decide__card h3 { margin-top: 0; }
  .jr-decide__card p:last-child { max-width: 33em; }
}

/* ---------- article: prose ---------- */
.jr-prose { margin-top: var(--jr-sec-gap); }
.jr-sec + .jr-sec, .jr-dg + .jr-sec, .jr-note + .jr-sec, .jr-prose > .jr-faq, .jr-prose > .jr-sources { margin-top: var(--jr-sec-gap); }
.jr-h2__row { position: relative; }
.jr-sec__n { margin-bottom: var(--s-3); font: var(--jr-meta); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; color: var(--ink-3); }
.jr-h2 h2 { font-size: var(--jr-h2); line-height: 1.18; letter-spacing: -0.02em; font-weight: 500; max-width: 30ch; text-wrap: balance; hyphens: none; overflow-wrap: break-word; }
/* copy a link to the section: beside the heading on wide screens, at its right edge on smaller ones, never in its line */
.jr-anchor {
  position: absolute; right: 0; top: calc((var(--jr-h2) * 1.18 - 32px) / 2);
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: 2px; color: var(--ink-3); opacity: 0; transition: opacity var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.jr-anchor .i { width: 18px; height: 18px; }
.jr-h2:hover .jr-anchor, .jr-anchor:focus-visible { opacity: 1; }
.jr-anchor:hover { color: var(--ink); }
.jr-anchor.is-done { opacity: 1; color: var(--ok); }
@media (min-width: 1200px) { .jr-anchor { right: auto; left: -40px; } }
@media (max-width: 1199.98px) { .jr-h2 h2 { max-width: min(30ch, 100% - 40px); } }
@media (hover: none) {
  /* touch screens: no icon beside every heading, and the heading keeps its full width. Keyboard focus still shows it. */
  .jr-anchor { pointer-events: none; }
  .jr-anchor:focus-visible { pointer-events: auto; }
  .jr-h2 h2 { max-width: 30ch; }
}
.jr-sec > p, .jr-bullets li, .jr-qa .acc__body p {
  font-size: var(--jr-body); line-height: 1.7; color: var(--ink); max-width: var(--jr-measure);
  font-kerning: normal; hanging-punctuation: first;
}
.jr-sec > p, .jr-qa .acc__body p { text-wrap: pretty; }
.jr-sec > .jr-h2 + p { margin-top: var(--s-5); }
.jr-sec > p + p { margin-top: 1em; }
.jr-bullets { margin-top: 1.25em; display: grid; gap: 0.7em; font-size: var(--jr-body); max-width: var(--jr-measure); }
.jr-bullets li { position: relative; padding-left: 1.6em; line-height: 1.65; max-width: none; }
.jr-bullets li::before { content: ""; position: absolute; left: 0.25em; top: 0.74em; width: 0.42em; height: 0.42em; background: var(--ink); }
.jr-sec a, .jr-qa .acc__body a, .jr-dg a, .jr-note a, .jr-short__text a, .jr-take blockquote a {
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--line-ui);
}
.jr-sec a:hover, .jr-qa .acc__body a:hover, .jr-dg a:hover, .jr-note a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.jr-next { margin-top: var(--s-6); padding-top: var(--s-2); border-top: 1px solid var(--rule); max-width: var(--jr-measure); font-size: var(--jr-body); }
@media (max-width: 599.98px) {
  /* a 38-character line needs less leading than a 68-character one */
  .jr-sec > p, .jr-qa .acc__body p { line-height: 1.6; }
  .jr-bullets li { line-height: 1.55; }
}

/* tables: crisp on paper, stacked as one card per row on phones */
.jr-table { margin-top: var(--s-6); padding: var(--s-5) clamp(1rem, 0.6rem + 1.5vw, 1.75rem) var(--s-2); background: var(--sheet); border: 1px solid var(--rule); overflow-x: auto; }
.jr-table table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.5; color: var(--ink); }
.jr-table caption { caption-side: top; text-align: left; padding-bottom: var(--s-4); font-size: 1.0625rem; line-height: 1.4; font-weight: 600; color: var(--ink); text-wrap: balance; }
.jr-table thead th { padding: 0 var(--s-5) 10px 0; border-bottom: 1px solid var(--ink); text-align: left; vertical-align: bottom; font: var(--jr-label); font-size: 0.75rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-2); }
.jr-table tbody th, .jr-table td { padding: 14px var(--s-5) 14px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.jr-table tbody tr:last-child > * { border-bottom: 0; }
.jr-table tbody th { font-weight: 600; min-width: 9em; }
.jr-table th:last-child, .jr-table td:last-child { padding-right: 0; }
.jr-table td.is-num { white-space: nowrap; font-family: var(--font-mono); font-size: 0.9375rem; font-variant-numeric: tabular-nums; font-feature-settings: "zero"; }
@media (max-width: 599.98px) {
  .jr-table { padding: var(--s-4) var(--s-4) var(--s-2); overflow: visible; }
  .jr-table table, .jr-table tbody, .jr-table tr, .jr-table th, .jr-table td, .jr-table caption { display: block; }
  .jr-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .jr-table caption { padding-bottom: var(--s-3); }
  .jr-table tbody tr { padding-block: var(--s-4); border-top: 1px solid var(--rule); }
  .jr-table tbody th, .jr-table td { padding: 0; border: 0; min-width: 0; }
  .jr-table tbody th { font-size: 1.0625rem; line-height: 1.35; }
  /* the column name sits above its value, so the value gets the full width of the card */
  .jr-table td { margin-top: 10px; }
  .jr-table td::before { content: attr(data-label); display: block; padding-bottom: 2px; font: var(--jr-label); font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
  .jr-table td.is-num { white-space: normal; font-size: 1rem; font-weight: 500; }
}

/* diagrams: native figures. Steps side by side on wide screens, stacked on phones; every word is text. */
.jr-dg { margin-top: var(--jr-sec-gap); }
.jr-main > .jr-dg { margin-top: var(--jr-block-gap); }
.jr-dg__label { font: var(--jr-label); font-size: 0.75rem; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.jr-dg__heading { margin-top: 6px; font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; max-width: 32ch; text-wrap: balance; }
.jr-dg__desc { margin-top: var(--s-2); font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.jr-dg__panel { margin-top: var(--s-4); padding: clamp(1.25rem, 0.9rem + 1.5vw, 2rem); background: var(--sheet); border: 1px solid var(--rule); border-top: 2px solid var(--ink); }
.jr-dg__kicker { font: 500 0.75rem/1.4 var(--font-mono); letter-spacing: 0.06em; color: var(--ink-3); }
.jr-dg__title { margin-top: var(--s-3); font-size: clamp(1.25rem, 1.12rem + 0.55vw, 1.625rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.018em; text-wrap: balance; }
.jr-dg__sub { margin-top: 6px; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.jr-dg__steps { margin-top: var(--s-5); display: grid; border-top: 1px solid var(--ink); }
.jr-dg__steps li { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); column-gap: var(--s-4); padding-block: 12px; border-bottom: 1px solid var(--rule); }
.jr-dg__n { grid-row: 1 / span 3; font: 400 0.8125rem/1.7 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink-3); }
.jr-dg__k { font: var(--jr-label); font-size: 0.75rem; line-height: 1.7; letter-spacing: var(--track-label); color: var(--ink-2); }
.jr-dg__t { margin-top: 2px; font-size: 1.0625rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.008em; }
.jr-dg__d { margin-top: 2px; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.jr-dg__notes { margin: var(--s-5) 0 0; display: grid; gap: var(--s-4) var(--s-6); }
.jr-dg__notes dt { font: var(--jr-label); font-size: 0.75rem; letter-spacing: var(--track-label); color: var(--ink-2); }
.jr-dg__notes dd { margin: 4px 0 0; font-size: 1.0625rem; line-height: 1.45; }
.jr-dg__disc { margin-top: var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--rule); font-size: 0.875rem; line-height: 1.5; color: var(--ink-3); }
@media (min-width: 600px) { .jr-dg__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) {
  /* five columns joined by one rule, each with its own tick: the path reads left to right */
  .jr-dg__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--s-4); }
  .jr-dg__steps li { position: relative; display: block; padding: var(--s-4) 0 0; border-bottom: 0; }
  .jr-dg__steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 1px; height: 10px; background: var(--ink); }
  .jr-dg__n, .jr-dg__k, .jr-dg__t, .jr-dg__d { display: block; }
  .jr-dg__k { margin-top: 6px; }
  .jr-dg__t { margin-top: 6px; font-size: 1rem; }
  .jr-dg__d { font-size: 0.9375rem; }
}

/* a note that used to be the caption of a picture: its title and its sentence */
.jr-note { margin-top: var(--jr-block-gap); padding: var(--s-5) 0 var(--s-5) clamp(0.875rem, 0.6rem + 1.4vw, 2rem); border-left: 2px solid var(--ink); max-width: calc(var(--jr-measure) * 1.1); }
.jr-note__title { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; text-wrap: balance; }
.jr-note__text { margin-top: var(--s-2); font-size: 1.0625rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }

/* questions and sources */
.jr-faq__list { margin-top: var(--s-5); border-top: 1px solid var(--ink); }
.jr-qa { border-bottom: 1px solid var(--rule); }
.jr-qa > summary { min-height: 64px; padding-block: 16px; font-size: var(--jr-body); font-weight: 600; line-height: 1.4; letter-spacing: -0.008em; }
.jr-qa > summary span { text-wrap: pretty; }
.jr-qa > summary::-webkit-details-marker { display: none; }
.jr-qa > summary:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line-ui); }
.jr-qa .acc__body { padding-bottom: var(--s-6); }
.jr-sources__list { margin-top: var(--s-5); border-top: 1px solid var(--ink); counter-reset: src; }
.jr-sources__list li { counter-increment: src; border-bottom: 1px solid var(--rule); }
.jr-sources__list a { display: grid; grid-template-columns: 36px minmax(0, 1fr); padding-block: 14px; color: var(--ink); text-decoration: none; }
.jr-sources__list a::before { content: counter(src, decimal-leading-zero); grid-row: 1 / span 2; font: 400 0.8125rem/1.9 var(--font-mono); color: var(--ink-3); }
.jr-sources__label { font-size: 1.0625rem; line-height: 1.45; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--line-ui); text-underline-offset: 4px; }
.jr-sources__list a:hover .jr-sources__label { text-decoration-color: currentColor; }
.jr-sources__domain { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; font: var(--jr-meta); color: var(--ink-3); overflow-wrap: anywhere; }
.jr-sources__domain .i { width: 13px; height: 13px; }

/* author */
.jr-author { margin-top: var(--jr-sec-gap); padding-top: var(--s-6); border-top: 1px solid var(--ink); display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--s-5); align-items: center; }
.jr-author__mark { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; }
.jr-author__label { font: var(--jr-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink-3); }
.jr-author__name { margin-top: 2px; font-size: 1.25rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; max-width: none; }
.jr-author__name a { text-decoration: none; }
.jr-author__name a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.jr-author__role { font-size: var(--fs-small); line-height: 1.45; color: var(--ink-2); }
.jr-author__text { grid-column: 2; }
.jr-author__bio { margin-top: var(--s-4); font-size: 1.0625rem; line-height: 1.6; max-width: 60ch; }
.jr-author__note { margin-top: var(--s-3); font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); max-width: 64ch; }
.jr-author__links { margin-top: var(--s-2); display: flex; flex-wrap: wrap; gap: 0 24px; }
.jr-author__links .tlink { font-size: var(--fs-small); }
@media (max-width: 599.98px) {
  .jr-author { grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s-4); }
  .jr-author__mark { width: 48px; height: 48px; font-size: 0.9375rem; }
  .jr-author__text { grid-column: 1 / -1; }
}

/* related */
.jr-related { padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.jr-related__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; padding-bottom: var(--s-4); border-bottom: 1px solid var(--ink); }
.jr-related__head h2 { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; max-width: none; }
@media (min-width: 900px) {
  /* three cards side by side. A card whose article has its own photograph shows it above the words; when only
     some of the three have one, the cards still start level (the words of all three start at the top). */
  .jr-list--related { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
  .jr-list--related .jr-item { border-bottom: 0; }
  .jr-list--related .jr-item--pic { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .jr-list--related .jr-item__ph { order: -1; width: 100%; margin: 0 0 var(--s-5); }
}
.jr-related .jr-topics { margin-top: var(--s-7); border-top: 0; padding-top: 0; }

/* ---------- editorial policy ---------- */
.jr-policy { padding-block: clamp(2rem, 1.2rem + 3vw, 4rem) clamp(4rem, 3rem + 4vw, 7rem); }
/* source order is reading order at every width: introduction, principles, accountability card */
@media (max-width: 1023.98px) { .jr-policy__main { margin-top: var(--s-8); } }
.jr-policy__side .jr-crumbs { margin-bottom: var(--s-4); }
.jr-policy__h1 { font-size: clamp(2.25rem, 1.45rem + 2.7vw, 3.75rem); line-height: 1.05; letter-spacing: var(--track-display); font-weight: 500; max-width: 9.29em; }
.jr-policy__h1 > span { display: block; }
.jr-policy__h1b { color: var(--ink-2); }
.jr-policy .lead { margin-top: var(--s-5); max-width: 38.47em; }
.jr-policy__back { margin-top: var(--s-3); }
.jr-policy__card { margin-top: var(--s-7); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); background: var(--sheet); border: 1px solid var(--rule); max-width: 34em; }
.jr-policy__card .eyebrow { margin-bottom: var(--s-3); }
.jr-policy__card h2 { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); line-height: 1.25; letter-spacing: -0.012em; font-weight: 600; max-width: 24ch; }
.jr-policy__card p { margin-top: var(--s-3); font-size: 1.0625rem; line-height: 1.6; }
.jr-policy__card a { text-underline-offset: 3px; }
.jr-policy__date { color: var(--ink-2); font-size: var(--fs-small) !important; }
.jr-policy__main h2 { font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 22ch; }
.jr-principles { margin-top: var(--s-6); border-top: 1px solid var(--ink); }
.jr-principles li { display: grid; grid-template-columns: 48px minmax(0, 1fr); padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.jr-principles__n { grid-row: 1 / span 2; font: 400 0.875rem/1.9 var(--font-mono); color: var(--ink-3); }
.jr-principles h3 { font-size: 1.25rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.jr-principles p { margin-top: 6px; font-size: var(--jr-body); line-height: 1.65; max-width: 60ch; }
.jr-principles a { text-underline-offset: 3px; }
@media (min-width: 1024px) {
  .jr-policy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .jr-policy__side { grid-column: 1 / 6; grid-row: 1 / span 2; }
  .jr-policy__main { grid-column: 7 / 13; grid-row: 1; padding-top: var(--s-2); }
  .jr-policy__card { grid-column: 7 / 13; grid-row: 2; max-width: none; }
}
/* the introduction stays beside the principles only where all of it fits under the header (it is at most 530px tall) */
@media (min-width: 1024px) and (min-height: 680px) {
  .jr-policy__side { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
}

/* ---------- editorial objects: one family, no changes to article prose ---------- */
.jr-table-wrap, .jr-table {
  margin-block: var(--jr-block-gap); padding: 0; border: 1px solid var(--rule);
  border-top: 3px solid var(--jr-olive); border-radius: 2px; background: var(--paper);
  overflow-x: auto; scrollbar-color: var(--jr-olive) var(--jr-sage); scrollbar-width: thin;
}
.jr-table-wrap:focus-visible, .jr-table:focus-visible { outline: 2px solid var(--forge); outline-offset: 4px; }
.jr-table-wrap table, .jr-table table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 1rem; line-height: 1.6; }
.jr-table caption { padding: 20px 24px; background: var(--jr-warm); font-size: 1.125rem; color: var(--ink); }
.jr-table-wrap thead th, .jr-table thead th {
  padding: 20px 22px; border: 0; background: var(--jr-olive); color: var(--paper);
  font: 600 .875rem/1.5 var(--font-sans); letter-spacing: .025em; text-transform: none; vertical-align: top;
}
.jr-table-wrap tbody > tr > *, .jr-table tbody > tr > * {
  padding: 22px; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left;
  background: color-mix(in srgb, var(--sheet) 58%, var(--paper)); color: var(--ink); overflow-wrap: anywhere;
}
.jr-table-wrap tbody > tr:nth-child(even) > *, .jr-table tbody > tr:nth-child(even) > * { background: var(--paper); }
.jr-table-wrap tbody > tr > :first-child, .jr-table tbody > tr > :first-child {
  width: 24%; min-width: 9em; font-weight: 600; color: var(--jr-olive); background: var(--jr-sage);
  border-left: 3px solid var(--jr-olive);
}
.jr-table-wrap tbody > tr:last-child > *, .jr-table tbody > tr:last-child > * { border-bottom: 0; }
.jr-cover { aspect-ratio: auto; background: var(--paper); }
.jr-cover > img { height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.jr-cover figcaption { display: block; padding: 18px 20px; border-bottom: 1px solid var(--rule); font-size: .875rem; line-height: 1.6; background: var(--jr-warm); }
.jr-take, .jr-note {
  padding: clamp(22px, 3vw, 34px); border: 1px solid var(--rule); border-left: 3px solid var(--forge);
  background: var(--jr-warm); max-width: none;
}
.jr-take blockquote { font-size: var(--jr-body); line-height: 1.6; color: var(--ink); text-wrap: pretty; }
.jr-take blockquote::before { content: "“"; display: block; height: 34px; font: 500 3.5rem/.9 var(--font-sans); color: var(--forge); margin-top: 18px; }
.jr-take .sign { padding-top: 16px; border-top: 1px solid var(--rule); }
.jr-short { border-top-color: var(--jr-olive); background: var(--jr-sage); }
.jr-short > a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 12px; color: var(--forge-deep); text-underline-offset: 4px; }
.jr-sec:not([aria-labelledby="sources-title"]):not([aria-labelledby="related-title"]) > .jr-bullets {
  padding: 12px 22px; max-width: none; background: var(--jr-sage); border: 1px solid var(--rule); gap: 0;
}
.jr-sec:not([aria-labelledby="sources-title"]):not([aria-labelledby="related-title"]) > .jr-bullets > li {
  padding: 16px 0 16px 32px; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; line-height: 1.65;
}
.jr-sec:not([aria-labelledby="sources-title"]):not([aria-labelledby="related-title"]) > .jr-bullets > li:last-child { border-bottom: 0; }
.jr-sec:not([aria-labelledby="sources-title"]):not([aria-labelledby="related-title"]) > .jr-bullets > li::before {
  left: 2px; top: 24px; width: 10px; height: 10px; background: none; border: 2px solid var(--jr-olive); border-radius: 50%;
}
.jr-dg__panel { background: var(--jr-sage); border-top-color: var(--jr-olive); }
.jr-dg__steps { border-top-color: var(--jr-olive); }
.jr-dg__n, .jr-dg__k { color: var(--jr-olive); }
.jr-dg__disc { padding: 16px 20px; background: var(--jr-warm); border-top: 1px solid var(--rule); }
.jr-qa { margin-top: 12px; padding-inline: 22px; background: var(--jr-sage); border: 1px solid var(--rule); }
.jr-qa[open] { background: var(--sheet); border-left: 3px solid var(--jr-olive); }
.jr-sec[aria-labelledby="sources-title"], .jr-sec[aria-labelledby="related-title"] { padding: 24px; background: var(--jr-warm); border: 1px solid var(--rule); }
.jr-sec[aria-labelledby="related-title"] { background: var(--jr-sage); }
.jr-sec[aria-labelledby="sources-title"] > ul, .jr-sec[aria-labelledby="related-title"] > ul { margin-top: 16px; max-width: none; }
.jr-sec[aria-labelledby="sources-title"] li, .jr-sec[aria-labelledby="related-title"] li { font-size: 1rem; padding-block: 10px; border-bottom: 1px solid var(--rule); }
.jr-sec[aria-labelledby="sources-title"] li:last-child, .jr-sec[aria-labelledby="related-title"] li:last-child { border-bottom: 0; }
.jr-cta__card { border-top: 3px solid var(--jr-olive); background: var(--jr-sage); }
.jr-decide__card { background: var(--jr-sage); border-top-color: var(--jr-olive); }
.jr-sources__list { padding: 6px 22px; background: var(--jr-warm); border: 1px solid var(--rule); }
.jr-list--related .jr-item { padding: 20px; border: 1px solid var(--rule); background: var(--jr-sage); }
.jr-list--related .jr-item__ph { margin-top: 0; }
@media (max-width: 700px) {
  .jr-table-wrap:has(table[data-editorial-table="cards"]), .jr-table:has(table[data-editorial-table="cards"]) { background: none; border: 0; overflow: visible; }
  table[data-editorial-table="cards"], table[data-editorial-table="cards"] tbody { display: block; min-width: 0; width: 100%; }
  table[data-editorial-table="cards"] caption { display: block; width: 100%; }
  table[data-editorial-table="cards"] thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table[data-editorial-table="cards"] tbody > tr { display: block; margin-top: 16px; border: 1px solid var(--rule); background: var(--paper); }
  table[data-editorial-table="cards"] tbody > tr > * {
    display: block; width: auto; min-width: 0; padding: 16px 20px; margin: 0; border: 0;
    border-bottom: 1px solid var(--rule); background: var(--paper); font-size: 1rem; line-height: 1.65;
  }
  table[data-editorial-table="cards"] tbody > tr:nth-child(even) > * { background: var(--paper); }
  table[data-editorial-table="cards"] tbody > tr > :first-child {
    width: auto; min-width: 0; padding: 18px 20px; margin: 0; border-left: 3px solid var(--forge);
    background: var(--jr-sage); color: var(--ink); font-size: 1.125rem; font-weight: 600;
  }
  table[data-editorial-table="cards"] tbody > tr > :not(:first-child)::before {
    content: attr(data-label); display: block; margin-bottom: 7px; padding: 0;
    font: 600 .8125rem/1.4 var(--font-sans); letter-spacing: .025em; color: var(--jr-olive);
  }
  table[data-editorial-table="cards"] tbody > tr > :last-child { border-bottom: 0; }
  .jr-short { margin-inline: 0; padding: 24px; border-inline: 1px solid var(--rule); }
  .jr-sec[aria-labelledby="sources-title"], .jr-sec[aria-labelledby="related-title"] { padding: 20px; }
}
@media (forced-colors: active) {
  .jr-table-wrap thead th, .jr-table thead th, table[data-editorial-table="cards"] tbody > tr > :first-child { color: CanvasText; background: Canvas; }
}
@media print {
  .jr-cover, .jr-cover figcaption { display: none; }
  .jr-table-wrap, .jr-table, .jr-take, .jr-note, .jr-short, .jr-sec > .jr-bullets { background: none; border-color: #999; }
}

/* ---------- forced colours and print ---------- */
@media (forced-colors: active) {
  .jr-short__label::before, .jr-bullets li::before, .jr-dg__steps li::before { background: CanvasText; }
  .jr-toc__list a.is-active { border-left-color: Highlight; }
}
@media print {
  @page { margin: 18mm 20mm; }
  .jr-rail, .jr-tocm, .jr-progress, .jr-copy, .jr-anchor, .jr-cta, .jr-related, .jr-ru, .jr-search, .jr-topics-wrap,
  .jr-toast, .site-footer, .jr-intro__links, .jr-short__cta, .jr-next, .jr-ph, .jr-sec__n { display: none !important; }
  .jr-head, .jr-body { max-width: none; padding-inline: 0; }
  .jr-head__grid, .jr-body { display: block; }
  .jr-short { margin: 14pt 0 0; padding: 12pt 14pt; }
  .jr-short__text { font-size: 12pt; line-height: 1.5; max-width: 36em; }
  .jr-take blockquote p, .jr-sec > p, .jr-bullets, .jr-qa .acc__body p { font-size: 11pt; line-height: 1.55; max-width: 36em; }
  .jr-bullets li { font-size: 11pt; }
  .jr-title { font-size: 24pt; max-width: none; }
  .jr-lead { font-size: 13pt; }
  .jr-short, .jr-decide__card, .jr-table, .jr-dg__panel { border-color: #999; }
  /* markers are backgrounds: ask for them to be printed */
  .jr-bullets li::before, .jr-short__label::before, .jr-dg__steps li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .jr-h2 h2 { font-size: 16pt; break-after: avoid-page; }
  .jr-table, .jr-decide__card, .jr-short, .jr-take, .jr-qa, .jr-sources__list li, .jr-author, .jr-dg__steps li, .jr-note { break-inside: avoid-page; }
  /* the founder's address is printed once, under the sources; other in-page links stay plain */
  main .jr-byline a::after, main .jr-author a::after, main .jr-crumbs a::after, main .jr-kicker a::after { content: none !important; }
  .jr-sources__list a::after { content: attr(href) !important; grid-column: 2; font: 8pt/1.4 var(--font-mono); color: #444; overflow-wrap: anywhere; text-transform: none; }
  /* photographs are not printed: rows and bands are their words, at full width */
  .jr-item, .jr-item--pic, .jr-band { display: block; }
  .jr-band__text { padding-left: 0; }
  a { text-decoration: none; }
}
