/* BLOG DESK article template (tools/v3/blog.py). r2 editorial layout: one continuous piece on Paper, one reading column.
   r3 (benchmark of 28 publishers): In brief box, "For leaders" lines, numbered contents rail / phone bar, the signature
   figure, the closing action block, author card, source notes, print stylesheet.
   Everything is scoped to .ed (the article) so no other page changes. Shared tokens from site.css; no new colours, no yellow. */
.ed { --ed-col: 42.5rem; --ed-fig: 72rem; --ed-body: clamp(1.0625rem, .98rem + .42vw, 1.25rem); --ed-tint: color-mix(in srgb, var(--c-teal) 16%, var(--c-paper));
  padding-top: calc(var(--hd) + clamp(2.25rem, 1rem + 4.5vw, 5rem)); padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.ed-col { width: 100%; max-width: calc(var(--ed-col) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

/* top of the article: kicker, headline, standfirst, byline */
.ed-kick { margin: 0 0 .6rem; font-size: var(--t-small); font-stretch: 104%; color: var(--fg-2); }
.ed-kick a { color: var(--acc); text-decoration: none; font-weight: 600; }
.ed-kick a:hover { text-decoration: underline; }
.ed h1, body.sub .ed .ed-hd > h1 { font-size: clamp(2.25rem, 1.2rem + 2.4vw, 3.5rem); line-height: 1.04; font-stretch: 120%; font-weight: 610; letter-spacing: -0.022em; text-wrap: balance; }
.ed-stand { margin-top: clamp(1rem, .7rem + 1vw, 1.5rem); font-size: var(--t-lede); line-height: 1.45; color: var(--fg-read); }
.ed-by { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: var(--t-small); line-height: 1.45; color: var(--fg-2); }
.ed-by p { margin: 0; }
.ed-by a { color: var(--fg); font-weight: 600; }
.ed-by-ph { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; background: var(--ed-tint); }
.ed-dot { display: inline-block; margin-inline: .55em; color: var(--fg-2); }
/* the edition line above the headline: month, publication date, reading time (from 1100px it stands in the hang, one fact a line) */
.ed-ed { margin: 0 0 1.1rem; font-size: 1rem; line-height: 1.45; font-stretch: 104%; font-variant-numeric: tabular-nums; color: var(--fg-2); }
.ed-ed-m { font-weight: 620; color: var(--fg); }
.ed-ed-m, .ed-ed-p, .ed-ed-r { white-space: nowrap; }

/* margin notes (In brief, For leaders, source notes): inset notes with a 2px Teal-L rule below 1100px, always visible; from 1100px they sit in the margin column */
.ed-mg { margin: 1.5rem 0 0; padding-left: 1rem; border-left: 2px solid var(--acc); font-size: 1rem; line-height: 1.55; font-stretch: 100%; font-weight: 400; color: var(--fg-2); }
.ed-mg p { margin: 0; }
.ed-mg p + p { margin-top: .75rem; }
.ed-mg a { color: var(--fg); text-decoration-color: var(--acc); text-underline-offset: .2em; }
.ed-mg a:hover { color: var(--acc); }
.ed-l { display: block; margin: 0 0 .3rem; font-size: 1rem; line-height: 1.3; font-stretch: 108%; font-weight: 680; letter-spacing: .01em; color: var(--acc); }
.ed-brief-for .ed-l, .ed-side .ed-l { display: inline; margin: 0; }
.ed-brief-for b { color: var(--fg); font-weight: 650; }

/* the one wide picture, after the first section: whole frame, never cropped; wider than the column on a tablet, edge to edge on a phone, across measure and margin from 1100px */
.ed-fig { margin: clamp(2.25rem, 1.4rem + 3vw, 3.5rem) 0 0; }
.ed-fig img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; background: color-mix(in srgb, var(--c-ink) 8%, var(--c-paper)); }

/* the reading column (and, at 1200px and up, the contents rail in the left gutter) */
.ed-main { margin-top: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); }
.ed-body { font-size: var(--ed-body); line-height: 1.65; color: var(--fg-read); }
.ed-body p + p, .ed-body p + .ed-ol, .ed-body .ed-ol + p, .ed-body p + .ed-pq, .ed-body .ed-pq + p, .ed-body .ed-mg + p, .ed-body .ed-mg + .ed-ol { margin-top: 1.15em; }
.ed-body .ed-mg { margin: 1.5rem 0 0; }
.ed-lead { font-size: 1.18em; line-height: 1.5; color: var(--fg); font-weight: 500; }
.ed-lead + .ed-lead { margin-top: 1em; }
.ed-sec { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.ed-sec h2, .ed-faq > h2, .ed-act > h2, .ed-notes > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; font-stretch: 112%; font-weight: 600; letter-spacing: -0.016em;
  color: var(--fg); margin-bottom: .75em; text-wrap: balance; }
.ed h2[id] { scroll-margin-top: 3.75rem; }
.ed-body a:not(.btn) { color: var(--fg); text-decoration-color: var(--acc); text-underline-offset: .2em; }
.ed-body a:not(.btn):hover { color: var(--acc); }
.ed-body b { font-weight: 640; color: var(--fg); }

/* numbered lists in the column: bold point, then one sentence */
.ed-ol { list-style: none; counter-reset: ed; margin: 0; padding: 0; }
.ed-ol > li { counter-increment: ed; position: relative; padding-left: 2.6rem; }
.ed-ol > li + li { margin-top: .85em; }
.ed-ol > li::before { content: counter(ed); position: absolute; left: 0; top: .05em; min-width: 1.85rem; height: 1.85rem; display: grid; place-items: center;
  border-radius: 50%; font: 600 .95rem/1 var(--font); font-stretch: 110%; font-variant-numeric: tabular-nums;
  color: var(--c-teal-l); background: color-mix(in srgb, var(--c-teal) 26%, var(--c-paper)); }

/* key phrases: a teal highlighter stroke under the lower part of the line (r3: about a quarter stronger, 66% -> 82%;
   ink on the stroke stays well above AA) */
.ed mark.kp { color: inherit; background: linear-gradient(to bottom, transparent 52%, color-mix(in srgb, var(--c-teal) 82%, transparent) 52%, color-mix(in srgb, var(--c-teal) 82%, transparent) 96%, transparent 96%);
  padding: 0 .1em; margin: 0 -.05em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* pull quotes: in the column, a teal rule on the left, slightly larger */
.ed-pq { margin: 2em 0; padding: .2em 0 .2em 1.4rem; border-left: 4px solid var(--c-teal); }
.ed-pq p { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); line-height: 1.35; font-stretch: 110%; font-weight: 560; letter-spacing: -0.01em; color: var(--fg); text-wrap: balance; }

/* 2. "For leaders": the so-what line that sums up a section, set in the margin beside it (inset note below 1100px) */
.ed-so-l { margin-right: .45em; font-variant-caps: all-small-caps; font-size: 1.08em; letter-spacing: .07em; font-weight: 700; font-stretch: 110%; color: var(--acc); }
.ed-so { color: var(--fg); }

/* 4. the signature figure: a typographic table (no drawing) */
.ed-tfig { margin: 2.25em 0; }
.ed-t { width: 100%; border-collapse: collapse; font-size: .86em; line-height: 1.45; color: var(--fg); }
.ed-t th, .ed-t td { text-align: left; vertical-align: top; padding: .8rem .9rem; }
.ed-t thead th { font-size: .82rem; font-stretch: 110%; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); border-bottom: 2px solid var(--fg); padding-bottom: .6rem; }
.ed-t thead th:last-child { color: var(--acc); }
.ed-t thead td { border-bottom: 2px solid var(--fg); }
.ed-t tbody tr { border-bottom: 1px solid var(--rule); }
.ed-t tbody th { width: 29%; font-weight: 640; font-stretch: 104%; padding-left: 0; }
.ed-t tbody td { color: var(--fg-2); }
.ed-t tbody td:last-child { color: var(--fg); background: var(--ed-tint); }
.ed-tfig figcaption { margin-top: .8rem; font-size: .82rem; line-height: 1.45; font-stretch: 104%; color: var(--fg-2); }

/* 5. the closing action block: "What to do this quarter" */
.ed-act { margin-top: clamp(3rem, 2.2rem + 2.5vw, 4.25rem); padding-top: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-top: 3px solid var(--fg); }
.ed-act-l { list-style: none; counter-reset: act; margin: 1.5em 0 0; padding: 0; }
.ed-act-l > li { counter-increment: act; display: grid; grid-template-columns: 3.25rem 1fr; column-gap: .5rem; padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.ed-act-l > li:last-child { border-bottom: 1px solid var(--rule); }
.ed-act-l > li::before { content: counter(act, decimal-leading-zero); grid-row: span 2; font: 600 1.7rem/1 var(--font); font-stretch: 112%; font-variant-numeric: tabular-nums; color: var(--acc); padding-top: .1rem; }
.ed-act-l h3 { font-size: 1.04em; line-height: 1.35; font-stretch: 106%; font-weight: 650; letter-spacing: -0.005em; color: var(--fg); margin: 0 0 .3em; }
.ed-act-l p { margin: 0; }
.ed-act .ed-pq { margin-bottom: 1.25em; }

/* one quiet action after the second section: a margin line (plain text under the margin notes), no rule, no box */
.ed-body .ed-cta { padding: 0; border: 0; font-size: 1rem; line-height: 1.5; color: var(--fg-2); margin-top: 1.25rem; }
.ed-cta a { font-weight: 600; color: var(--acc); }

/* "Where Resolon comes in": a boxed card in the column, before the FAQ */
.ed-where { margin-top: clamp(2.75rem, 2rem + 2.5vw, 4rem); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: 4px;
  background: var(--ed-tint); border: 1px solid color-mix(in srgb, var(--c-teal-l) 22%, transparent); }
.ed-where h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); line-height: 1.15; font-stretch: 112%; margin-bottom: .6em; color: var(--fg); }
.ed-where-a { margin-top: 1.4rem; }
.ed-where .btn { text-decoration: none; }

/* FAQ: question-and-answer prose in the column, no rows, rules or accordion look */
.ed-faq { margin-top: clamp(2.75rem, 2rem + 2.5vw, 4rem); }
.ed-qa { margin-top: 1.9em; }
.ed-qa h3 { font-size: 1.04em; line-height: 1.35; font-stretch: 106%; font-weight: 650; letter-spacing: -0.005em; color: var(--fg); margin: 0 0 .4em; }
.ed-qa p { margin: 0; }
.ed-qa p + p { margin-top: 1em; }

/* 8. numbered source notes, with back-links */
.ed sup.fn { line-height: 0; font-size: .68em; font-weight: 650; }
.ed sup.fn a { color: var(--acc); text-decoration: none; padding-inline: .1em; }
.ed-notes { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-size: .88em; line-height: 1.55; color: var(--fg-2); }
.ed-notes > h2 { font-size: var(--t-small); letter-spacing: 0; color: var(--fg-2); }
.ed-notes ol { margin: 0; padding-left: 1.4rem; }
.ed-notes li + li { margin-top: .5em; }
.ed-notes li:target { background: var(--ed-tint); }
.ed-back { font-size: .9em; white-space: nowrap; }

/* reading note: the cited article (link, publisher, date) */
.ed-src { margin: 1.75rem 0; padding: .9rem 1.1rem 1rem; border-left: 3px solid var(--acc); background: var(--ed-tint); }
.ed-src p { margin: 0; }
.ed-src-l { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); margin-bottom: .25rem !important; }
.ed-src-t { font-size: 1.1rem; line-height: 1.35; font-weight: 600; }
.ed-src-m { font-size: var(--t-small); color: var(--fg-2); margin-top: .3rem !important; }

/* take it to your next meeting: PDF, copy for an AI assistant, .md */
.ed-take { margin: 2rem 0; padding: 1.1rem 1.25rem 1.2rem; border: 1px solid var(--rule); background: var(--ed-tint); }
.ed-take h2 { margin-top: 0; font-size: 1.25rem; }
.ed-take p { margin: 0 0 .75rem; font-size: var(--t-small); color: var(--fg-2); }
.take-l { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 0; padding: 0; list-style: none; font-size: var(--t-small); }
.take-l a, .take-l .share-copy { display: inline-flex; align-items: center; min-height: 2.75rem; font: inherit; font-weight: 600; color: var(--fg); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: .3em; text-decoration-thickness: 1px; }
.take-l a:hover, .take-l .share-copy:hover { color: var(--acc); }
.ed-take .share-s { margin: .35rem 0 0; }

/* share links */
.ed-share { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.ed-share h2 { font-size: var(--t-small); font-stretch: 104%; letter-spacing: 0; margin-bottom: .6rem; color: var(--fg-2); }
.share-l { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 0; padding: 0; list-style: none; font-size: var(--t-small); }
.share-l a, .share-copy { display: inline-flex; align-items: center; min-height: 2.75rem; font: inherit; color: var(--fg); background: none; border: 0; padding: 0;
  cursor: pointer; text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: .3em; text-decoration-thickness: 1px; }
.share-l a:hover, .share-copy:hover { color: var(--acc); }
.share-l a:focus-visible, .share-copy:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.share-s { margin: .35rem 0 0; min-height: 1.4em; font-size: var(--t-small); color: var(--acc); }

/* foot: the Also-in line and the Follow line are plain prose */
.ed-body .ed-also { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-size: 1rem; line-height: 1.55; color: var(--fg-2); }
.ed-body .ed-follow { margin-top: 1.5rem; font-size: 1rem; line-height: 1.55; color: var(--fg-2); }
/* 7. author card at the end */
.ed-au { display: grid; grid-template-columns: 6rem 1fr; gap: 1.35rem; align-items: start; margin-top: clamp(2rem, 1.6rem + 1.5vw, 2.75rem); padding-top: 1.75rem;
  border-top: 1px solid var(--rule); font-size: var(--t-small); line-height: 1.5; color: var(--fg-2); }
.ed-au-ph { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; background: var(--ed-tint); }
.ed-au-h { font-size: .8rem; line-height: 1; font-stretch: 112%; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--acc); margin-bottom: .6rem; }
.ed-body .ed-au p { margin: 0; }
.ed-au-n { font-size: 1.2rem; font-stretch: 110%; font-weight: 640; color: var(--fg); }
.ed-au-n a { color: var(--fg); text-decoration: none; }
.ed-body .ed-au .ed-au-r { margin-top: .1rem; }
.ed-body .ed-au .ed-au-b { margin-top: .65rem; color: var(--fg-read); }
.ed-body .ed-au .ed-au-a { margin-top: .65rem; }
.ed-au-a a { font-weight: 600; color: var(--acc) !important; }

/* 3. numbered contents. Phone and tablet: a slim sticky bar under the site header naming the current section */
.ed-bar { position: sticky; top: var(--hd); z-index: 30; margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--c-paper);
  border-block: 1px solid var(--rule); box-shadow: 0 6px 14px -12px rgb(15 27 34 / .35); }
.ed-bar summary { display: flex; align-items: center; gap: .55rem; min-height: 2.9rem; max-width: calc(var(--ed-col) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut);
  list-style: none; cursor: pointer; font-size: .92rem; line-height: 1.25; color: var(--fg); }
.ed-bar summary::-webkit-details-marker { display: none; }
.ed-bar summary:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }
.ed-bar-n { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--acc); }
.ed-bar-n:not(:empty)::after { content: "·"; margin-left: .55rem; color: var(--fg-2); font-weight: 400; }
.ed-bar-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 560; }
.ed-bar-i { flex: none; width: .55rem; height: .55rem; margin: 0 .2rem .2rem; border-right: 2px solid var(--fg-2); border-bottom: 2px solid var(--fg-2); transform: rotate(45deg); }
.ed-bar[open] .ed-bar-i { transform: rotate(225deg); margin-bottom: -.2rem; }
.ed-bar nav { max-width: calc(var(--ed-col) + 2 * var(--gut)); max-height: min(60vh, 26rem); overflow-y: auto; margin-inline: auto; padding: .25rem var(--gut) .9rem; }
.ed-bar ol, .ed-rail ol { list-style: none; margin: 0; padding: 0; }
.ed-bar a, .ed-rail a { display: grid; grid-template-columns: 2rem 1fr; text-decoration: none; color: var(--fg-2); }
.ed-bar a { padding: .6rem 0; min-height: 2.75rem; border-top: 1px solid var(--rule); font-size: .95rem; }
.ed-n { font-variant-numeric: tabular-nums; font-weight: 650; }
.ed-bar a[aria-current], .ed-rail a[aria-current] { color: var(--acc); }
.ed-bar a[aria-current] .ed-t, .ed-rail a[aria-current] .ed-t { color: var(--fg); font-weight: 600; }
.ed-rail { display: none; }

/* From 1100px: hang | measure | margin. The hang holds the edition line and the sticky numbered contents rail; the measure is the unchanged
   42.5rem reading column; the margin holds In brief, For leaders, the quiet CTA line and source notes beside the text they belong to. */
.ed { --ed-hang: clamp(8.5rem, 30vw - 12.5rem, 14rem); --ed-mgw: clamp(10rem, 22vw - 5rem, 16rem); --ed-gap: clamp(1.5rem, 5.5vw - 2rem, 3rem); }
@media (min-width: 68.75rem) {
  .ed-hd.ed-col, .ed-main { display: grid; grid-template-columns: var(--ed-hang) minmax(0, var(--ed-col)) var(--ed-mgw); column-gap: var(--ed-gap); justify-content: center;
    align-items: start; width: 100%; max-width: none; margin-inline: 0; padding-inline: var(--gut); }
  .ed-hd.ed-col { grid-template-rows: auto auto auto auto 1fr; }
  .ed-hd > .ed-kick { grid-column: 2 / 4; grid-row: 1; margin-bottom: 1.1rem; }
  .ed-hd > .ed-ed { grid-column: 1; grid-row: 2; margin: .55rem 0 0; }
  .ed-hd > .ed-ed > span { display: block; }
  .ed-hd > .ed-ed .ed-dot { display: none; }
  .ed-hd > h1 { grid-column: 2; grid-row: 2; }
  .ed-hd > .ed-stand { grid-column: 2; grid-row: 3; }
  .ed-hd > .ed-by { grid-column: 2; grid-row: 4; }
  .ed-hd > .ed-brief { grid-column: 3; grid-row: 2 / 6; margin-top: .65rem; }
  .ed-bar { display: none; }
  .ed h2[id] { scroll-margin-top: 1rem; }
  .ed-rail { display: block; grid-column: 1; grid-row: 1; align-self: start; position: sticky; top: calc(var(--hd) + 2.5rem);
    width: 100%; padding-top: .35rem; font-size: .84rem; line-height: 1.35; }
  .ed-rail-h { margin: 0 0 .8rem; font-size: .74rem; font-stretch: 112%; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--fg-2); }
  .ed-rail ol { border-left: 1px solid var(--rule); }
  .ed-rail a { grid-template-columns: 1.85rem 1fr; padding: .42rem 0 .42rem .85rem; margin-left: -1px; border-left: 2px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
  .ed-rail a:hover { color: var(--fg); }
  .ed-rail a[aria-current] { border-left-color: var(--acc); }
  .ed-rail a:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
  .ed-main > .ed-body { grid-column: 2 / 4; grid-row: 1; display: grid; grid-template-columns: subgrid; max-width: none; margin-inline: 0; padding-inline: 0; }
  .ed-body > * { grid-column: 1; min-width: 0; }
  .ed-body > .ed-sec, .ed-body > .ed-fig { grid-column: 1 / -1; }
  .ed-body > .ed-sec { display: grid; grid-template-columns: subgrid; }
  .ed-sec > * { grid-column: 1; min-width: 0; }
  .ed-sec > .ed-mg, .ed-body .ed-sec > .ed-mg { grid-column: 2; margin-top: 0; padding-top: .15rem; align-self: start; }
  .ed-sec > .ed-cta { margin-top: 1.25rem; padding-top: 0; }
  .ed-so-l { display: block; margin: 0 0 .3rem; }
  /* the margin column is the figure's room: it no longer breaks out */
  .ed-tfig { margin-right: 0; }
}
/* Tablet: the figure and the picture break out evenly to about 860px where the window allows */
@media (min-width: 45rem) and (max-width: 68.74rem) {
  .ed-tfig, .ed-fig { margin-inline: calc(50% - min(26.875rem, 50vw - var(--gut))); }
}
/* Phone: the figure's rows stack (no scrolling table) */
@media (max-width: 44.99rem) {
  .ed-t, .ed-t tbody, .ed-t tr, .ed-t th, .ed-t td { display: block; width: auto; }
  .ed-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ed-t { font-size: .92em; border-top: 2px solid var(--fg); }
  .ed-t tbody tr { padding: .9rem 0 1rem; }
  .ed-t tbody th { width: auto; padding: 0 0 .55rem; font-size: 1.02em; }
  .ed-t tbody td { padding: .55rem .75rem .6rem; }
  .ed-t tbody td + td { margin-top: .35rem; }
  .ed-t td::before { content: attr(data-h); display: block; margin-bottom: .15rem; font-size: .72rem; font-weight: 700; font-stretch: 110%; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); }
  .ed-t td:last-child::before { color: var(--acc); }
}
@media (prefers-reduced-motion: no-preference) { html:has(.ed-rail) { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { .ed-rail a { transition: none; } }

@media (max-width: 47.99rem) {
  .ed { --ed-body: 1.09rem; }
  .ed-dot { margin-inline: .4em; }
  .ed-fig { margin-inline: calc(-1 * var(--gut)); }
  .ed-fig img { border-radius: 0; }
  .ed-pq { padding-left: 1rem; }
  .ed-ol > li { padding-left: 2.35rem; }
  .ed-act-l > li { grid-template-columns: 2.6rem 1fr; }
  .ed-act-l > li::before { font-size: 1.35rem; }
  .ed-au { grid-template-columns: 4.5rem 1fr; gap: 1rem; }
  .ed-au-ph { width: 4.5rem; height: 4.5rem; }
}

/* 6. print (Ctrl+P): the article on white, without the site chrome, contents, picture, share links or calls to action */
@page { margin: .7in .75in; }
@media print {
  html, body { background: #fff !important; }
  .skip, .hd, .sheet, .close, .ft, .ed-rail, .ed-bar, .ed-share, .ed-cta, .ed-fig, .ed-pdf, .ed-follow, .ed-where-a, .ed-au-a, main > .rel { display: none !important; }
  .ed, .ed.s-paper { padding: 0; background: #fff; --c-paper: #fff; --fg-read: var(--c-ink); }
  .ed-main, .ed-hd.ed-col, .ed-body, .ed-body > .ed-sec { display: block !important; }
  .ed-main { margin-top: 1.5rem; }
  .ed-col, .ed-hd.ed-col { max-width: none; padding-inline: 0; }
  .ed-body { font-size: 11pt; line-height: 1.5; }
  .ed h1 { font-size: 24pt; }
  .ed mark.kp, .ed-t tbody td:last-child, .ed-where { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ed-tfig { margin-inline: 0; }
  .ed-tfig, .ed-brief, .ed-mg, .ed-act-l > li, .ed-qa, .ed-au, .ed-pq { break-inside: avoid; }
  .ed h2, .ed h3 { break-after: avoid; }
}

/* ===== MAGAZINE monthly page (tools/v3/blog.py kind "monthly"; BUILD-SPEC section 3). Everything scoped under .mag; the rules above are untouched.
   Paper throughout, no film, no picture. Live tokens only (Ink, Paper, Teal-L on Paper), no new motion, no new script. Running text is 16px or larger.
   From 1100px: one row of hang (the cited post) / measure (the take) / margin (what the post leaves out). Below 1100px the three stack in DOM order and the
   margin note drops inline as an inset note with a 2px Teal-L rule, always visible. ===== */
.mag { --mag-hang: 15rem; --mag-m: 40rem; --mag-mg: 14rem; --mag-gap: clamp(1.5rem, .6rem + 3vw, 3rem); --mag-body: clamp(1.0625rem, .98rem + .42vw, 1.25rem);
  padding-top: calc(var(--hd) + clamp(1.5rem, 1rem + 2.5vw, 3rem)); padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem); }
.mag-w { width: 100%; max-width: calc(var(--mag-hang) + var(--mag-m) + var(--mag-mg) + 2 * var(--mag-gap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.mag a { text-underline-offset: .2em; }
.mag a:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.mag :where(p, h1, h2) { margin: 0; }
.mag-hang, .mag-m, .mag-mg { max-width: 42.5rem; }

/* head: breadcrumb, kicker, headline, standfirst, byline, independence line */
.mag .crumbs { margin-bottom: clamp(1.25rem, 3svh, 2rem); color: var(--fg-2); }
.mag .crumbs a { color: var(--fg-2); }
.mag-kick { margin: 0 0 1rem; font-size: 1rem; font-stretch: 106%; font-weight: 620; letter-spacing: .01em; color: var(--acc); }
.mag h1 { margin: 0; font-size: clamp(2.35rem, 1.2rem + 3.4vw, 3.5rem); line-height: 1.04; font-stretch: 120%; font-weight: 610; letter-spacing: -0.022em; text-wrap: balance; }
.mag-hdrow > .mag-m, .mag-hdrow > .mag-mg { margin-top: clamp(1.25rem, .8rem + 1.6vw, 2rem); }
.mag-stand { font-size: var(--t-lede); line-height: 1.4; color: var(--fg-read); text-wrap: pretty; }
.mag-by-row { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 1rem; line-height: 1.45; color: var(--fg-2); }
.mag-by-row a { color: var(--fg); font-weight: 600; }
.mag-ph { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; background: color-mix(in srgb, var(--c-ink) 9%, var(--c-paper)); }
.mag-ph-l { width: 4.5rem; height: 4.5rem; }
.mag-ind { margin-top: 1rem; font-size: 1rem; line-height: 1.5; color: var(--fg-2); }
.mag-dot { color: var(--fg-2); }

/* the row: a take, the thesis and the foot all use it */
.mag-take, .mag-foot { margin-top: clamp(2.75rem, 2rem + 3.5vw, 5rem); padding-top: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); border-top: 1px solid var(--rule); }
.mag-thesis { margin-top: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); border-top: 2px solid var(--fg); }
.mag-hang { font-size: 1rem; line-height: 1.45; color: var(--fg-2); margin-bottom: 1.1rem; }
.mag-src { font-size: 1.0625rem; line-height: 1.32; font-weight: 620; font-stretch: 104%; }
.mag-src a { color: var(--fg); text-decoration-color: var(--acc); text-decoration-thickness: 1px; }
.mag-src a:hover { color: var(--acc); }
.mag-by, .mag-pub { margin-top: .55rem; }
.mag-l { font-size: 1rem; font-stretch: 108%; font-weight: 680; letter-spacing: .01em; color: var(--acc); }
.mag-m h2 { margin: 0 0 .7em; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; font-stretch: 112%; font-weight: 600; letter-spacing: -0.016em; color: var(--fg); text-wrap: balance; }
.mag-p { font-size: var(--mag-body); line-height: 1.65; color: var(--fg-read); }
.mag q { text-decoration: none; }
.mag-qa, .mag-ln { color: var(--fg); text-decoration-color: var(--acc); text-decoration-thickness: 1px; }
.mag-qa:hover, .mag-ln:hover { color: var(--acc); }
.mag-mon { margin-top: 1.6rem; padding-top: 1rem; border-top: 2px solid var(--fg); font-size: var(--mag-body); line-height: 1.5; color: var(--fg); }
.mag-mon b { display: block; margin-bottom: .3rem; font-stretch: 108%; font-weight: 680; color: var(--acc); }
.mag-mg { margin-top: 1.25rem; padding-left: 1rem; border-left: 2px solid var(--acc); font-size: 1rem; line-height: 1.55; color: var(--fg-2); }
.mag-mg p + p { margin-top: .8rem; }
.mag-mg a { color: var(--fg); text-decoration-color: var(--acc); }
.mag-mg a:hover { color: var(--acc); }

/* foot */
.mag-foot h2 { margin: 0; font-size: 1.25rem; line-height: 1.2; font-stretch: 112%; font-weight: 600; color: var(--fg); }
.mag-foot .mag-m > p { font-size: 1rem; line-height: 1.6; color: var(--fg-read); }
.mag-foot .mag-m > p + p { margin-top: .9rem; }
.mag-foot .mag-m > p:first-child { color: var(--fg); font-weight: 560; }
.mag-au { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.1rem; align-items: start; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: 1rem; line-height: 1.5; color: var(--fg-2); }
.mag-au-n { font-size: 1.2rem; font-stretch: 110%; font-weight: 640; }
.mag-au a { color: var(--fg); }
.mag-quiet { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.mag-quiet p { font-size: 1.0625rem; line-height: 1.5; color: var(--fg); }
.mag-quiet p + p { margin-top: 1.1rem; }
.mag-au-q { margin-top: .75rem; }
.mag-au-q a { font-weight: 620; color: var(--acc); }

@media (min-width: 68.75rem) {
  .mag-row { display: grid; grid-template-columns: minmax(9.5rem, var(--mag-hang)) minmax(0, var(--mag-m)) minmax(10.5rem, var(--mag-mg)); column-gap: var(--mag-gap); justify-content: center; align-items: start; }
  .mag-row > .mag-hang, .mag-row > .mag-m, .mag-row > .mag-mg { max-width: none; margin-top: 0; margin-bottom: 0; }
  .mag-row > .mag-hang { grid-column: 1; }
  .mag-row > .mag-m { grid-column: 2; }
  .mag-row > .mag-mg { grid-column: 3; padding-top: .3rem; }
  .mag-hdrow > .crumbs { grid-column: 1 / -1; }
  .mag-hdrow > .mag-kick, .mag-hdrow > h1 { grid-column: 1 / 3; }
  .mag-hdrow > .mag-m, .mag-hdrow > .mag-mg { margin-top: clamp(1.25rem, .8rem + 1.6vw, 2rem); }
  .mag-hang { padding-top: .35rem; }
  .mag-thesis .mag-hang, .mag-foot .mag-hang { padding-top: .5rem; }
}
@media (max-width: 47.99rem) {
  .mag { --mag-body: 1.09rem; }
  .mag-au { grid-template-columns: 4rem 1fr; gap: 1rem; }
  .mag-ph-l { width: 4rem; height: 4rem; }
}

/* On Monday reads as one sentence: label on its own line on a phone; from 48rem inline, a hairline then the sentence (which starts with a capital) */
@media (min-width: 48rem) {
  .mag-mon b { display: inline; margin: 0 .7em 0 0; }
  .mag-mon b::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: .7em; vertical-align: -.12em; background: var(--rule); }
}

/* the reading note (kind 'note'): same row, Paper, no film. The opening paragraph and the source block sit in the measure column; the four
   statement sections flow as an essay (no rules between them); the two margin notes sit beside the first section from 1100px. */
.mag-note .mag-on { margin-top: 1rem; font-size: 1rem; line-height: 1.5; color: var(--fg-2); }
.mag-note .mag-on a { color: var(--fg); text-decoration-color: var(--acc); text-decoration-thickness: 1px; }
.mag-opening { margin-top: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); }
.mag-lede { font-size: var(--t-lede); line-height: 1.45; color: var(--fg); text-wrap: pretty; }
.mag-sec { margin-top: clamp(2.5rem, 1.9rem + 2.8vw, 4.25rem); }
.mag-sec .mag-p + .mag-p { margin-top: 1.1em; }
@media (min-width: 68.75rem) {
  .mag-note .mag-row > .mag-m { grid-column: 2; }
}

/* ===== MAGAZINE hub (/insights; tools/v3/pages/insights.py page_hub). Same .mag scope and tokens as the monthly page; no new motion, no new script.
   Order and ground: front plate on Night (the live inner hero, shorter, on the cover essay's own film), then ONE Paper stretch (cover essay, contents
   page, commentary band, author), then the closing film band on Night. Two colour switches. ===== */
/* the masthead (judge item 31): the live H1 and sub as a slim dateline band on Paper, then the cover story. No hero, no film, no button. */
.mag-hub { padding-top: calc(var(--hd) + clamp(.75rem, .4rem + 1.4vw, 1.5rem)); }
.mag-mast { margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); padding-bottom: clamp(1rem, .7rem + 1vw, 1.5rem); border-bottom: 1px solid var(--rule); }
.mag .mag-mast .crumbs { margin-bottom: .55rem; }
.mag .mag-mast h1 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.2; font-stretch: 114%; font-weight: 620; letter-spacing: -0.01em; text-wrap: balance; }
.mag-sub { margin-top: .35rem; font-size: 1rem; line-height: 1.5; color: var(--fg-2); }
.mag-dateline { margin-top: .6rem; font-size: 1rem; line-height: 1.5; color: var(--fg); }
@media (max-width: 68.74rem) {
  .mag-cover .mag-hang { display: flex; flex-wrap: wrap; column-gap: 1rem; row-gap: .1rem; margin-bottom: .8rem; }
  .mag-cover .mag-hang p + p { margin-top: 0; }
}
.mag-hub section + section { margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); }
.mag-mo { font-size: 1rem; font-stretch: 112%; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--acc); }
.mag-hub .mag-hang p + p { margin-top: .3rem; }
.mag-cover h2 { font-size: clamp(2.3rem, 1.1rem + 3.4vw, 3.5rem); line-height: 1.04; font-stretch: 120%; font-weight: 610; letter-spacing: -0.022em; margin: 0; }
.mag-cover h2 a, .mag-t a { color: var(--fg); text-decoration: none; }
.mag-cover h2 a:hover, .mag-t a:hover { text-decoration: underline; text-decoration-color: var(--acc); }
.mag-cover .mag-stand { margin-top: 1.1rem; }
.mag-cover .mag-lede { margin-top: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.mag-cover .mag-p { margin-top: 1.1em; }
.mag-go { margin-top: 1.4rem; font-size: var(--mag-body); font-weight: 620; }
.mag-go a { color: var(--fg); text-decoration-color: var(--acc); text-decoration-thickness: 1px; }
.mag-go a:hover { color: var(--acc); }
.mag-contents h2, .mag-band h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; font-stretch: 112%; font-weight: 600; letter-spacing: -0.016em; color: var(--fg); text-wrap: balance; }
.mag-line { margin-top: .6rem; font-size: 1rem; line-height: 1.5; color: var(--fg-2); }
.mag-toc { list-style: none; margin: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) 0 0; padding: 0; }
.mag-ent { padding-block: 1.5rem; border-top: 1px solid var(--rule); }
.mag-ent:last-child { border-bottom: 1px solid var(--rule); }
.mag-t { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.18; font-stretch: 114%; font-weight: 600; letter-spacing: -0.014em; text-wrap: balance; }
.mag-dek { margin-top: .6rem; font-size: 1.0625rem; line-height: 1.55; color: var(--fg-read); }
.mag-meta { margin-top: .5rem; font-size: 1rem; line-height: 1.4; color: var(--fg-2); }
.mag-ent .mag-mg { margin-top: 1rem; }

.mag-band { padding-top: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); border-top: 6px solid var(--c-ink); }
.mag-eye { font-size: 1rem; font-stretch: 108%; font-weight: 680; letter-spacing: .01em; color: var(--acc); }
.mag-masthead { margin-top: .5rem; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4rem); line-height: 1.02; font-stretch: 122%; font-weight: 620; letter-spacing: -0.022em; color: var(--fg); }
.mag-band .mag-row { margin-top: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.mag-band .mag-p { margin-top: 1.1rem; }
.mag-noteline { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: var(--mag-body); line-height: 1.5; color: var(--fg); }
.mag-noteline a { font-weight: 620; }
.mag-fine { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.mag-fine p { font-size: 1rem; line-height: 1.55; color: var(--fg-2); }
.mag-fine p + p { margin-top: .5rem; }
.mag-draft { margin-top: 1.25rem; padding: .4rem .7rem; border: 1px dashed var(--fg-2); font-size: 1rem; line-height: 1.45; color: var(--fg-2); }
.mag-end .mag-au { margin-top: 0; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.mag-follow { margin-top: 1.25rem; font-size: 1rem; line-height: 1.5; color: var(--fg-2); }
.mag-follow a { color: var(--fg); font-weight: 620; text-decoration-color: var(--acc); }
.mag-close .actions { margin-top: clamp(1.5rem, 3.5svh, 2.5rem); }
