/* Open Shelf: the article template (insights/*.html). Loads after /os/css/site.css.
   Styled against the article markup as it already exists, so scripts/mirror_from_substack.py,
   scripts/build_related.py and Pagefind keep working: nothing here needs a markup change.
   Where the old markup carries inline styles (the Summary box, the Substack band, the Read Next
   and newsletter sections on a few hand-built pages), the overrides use !important, because an
   inline style can only be beaten that way and the markup must stay byte-for-byte.
   Charts and figure images were redrawn on paper in Nov. 2026, so every figure sits in a paper frame
   with a thin linen edge, the same card as the interactive charts (Jason, Nov. 26, 2026). --plate is
   kept for anything still asking for it by name. */

/* DM Sans and Cormorant Garamond are no longer declared here (Nov. 26, 2026): the Plotly charts were recoloured
   to the house faces, no page requested either file (146 pages loaded at 1440 and 390), and the files are in
   _ARCHIVE_2026-11-26/fonts/. Inline styles that still name them are mapped to the Open Shelf faces below. */

/* ---------- bridge: old token names used in inline styles, mapped onto Open Shelf ---------- */
:root{
  --col:680px; --wide:920px; --card:#FBF8F1; --plate:#121310; --plate-2:#14110d;
  --gold:var(--forest); --gold-lt:var(--walnut);
  --parchment:var(--ink); --cream:var(--ink); --text-mid:var(--ink); --text-dim:var(--ink-2);
  --bg:var(--paper); --bg-alt:var(--linen); --bg-card:var(--card);
  --border:var(--rule); --border-md:rgba(31,27,22,.5);
  --forest-lt:var(--forest); --forest-mid:var(--forest); --forest-dk:var(--forest-2);
}
[style*="DM Sans"]{font-family:var(--sans)!important;font-style:normal!important}
[style*="Cormorant"]{font-family:var(--head)!important;font-weight:400!important;font-style:normal!important}

/* ---------- frame ---------- */
main#main{padding-bottom:1px}
main#main>.container,main#main.container,main#main>article{max-width:1440px;margin-inline:auto;padding-inline:var(--inset)}
/* the reading column, whichever wrapper a page uses: <article> holding header and body (most pages),
   .container or .article-wrapper holding header + <article class="article-body"> (hand-built pages),
   or .article-container holding the body and its references (immunotherapy) */
:is(main#main article:not(.chart-block,.article-body),main#main .container:has(>.article-header),.article-wrapper,.article-container){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--col)) minmax(0,1fr)}
:is(main#main article:not(.chart-block,.article-body),main#main .container:has(>.article-header),.article-wrapper,.article-container)>*{grid-column:2;min-width:0}
:is(main#main article,main#main .container,.article-wrapper)>:is(.article-wrapper,.article-container){grid-column:1 / -1!important}

/* ---------- header: category, headline, byline and date ---------- */
.article-header{display:flex;flex-wrap:wrap;align-items:center;padding-top:calc(var(--nav-h) + clamp(44px,8vw,112px));padding-bottom:clamp(32px,4.5vw,56px)}
.article-tag{flex:0 0 100%;display:flex;align-items:center;gap:12px;font-family:var(--mono);font-size:calc(.78125rem * var(--scale));line-height:1.45;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
.article-tag::before{content:"";flex:none;width:28px;height:1px;background:var(--brass)}
.article-header h1{flex:0 0 100%;margin:18px 0 26px;padding-bottom:26px;border-bottom:1px solid var(--brass);font-family:var(--sans);font-weight:520;font-size:calc(2.25rem * var(--scale));line-height:1.06;letter-spacing:-.03em;text-wrap:balance;view-transition-name:article-title}
.article-header h1 em{font-style:normal;color:var(--walnut)}
@media (min-width:720px){.article-header h1{font-size:calc(3.125rem * var(--scale));line-height:1.04}}
@media (min-width:1100px){.article-header h1{font-size:calc(3.625rem * var(--scale));line-height:1.02;letter-spacing:-.034em}}
.article-meta,.read-time{font-family:var(--mono);font-size:calc(.8125rem * var(--scale));line-height:1.6;letter-spacing:.02em;color:var(--ink-2)}
.article-meta strong{font-weight:400;color:var(--ink)}
.article-meta a{position:relative;text-decoration:none}
.article-meta a::after{content:"";position:absolute;inset:-12px -4px}
.article-meta a:hover{text-decoration:underline}
.article-meta+.article-meta{margin-left:14px;padding-left:14px;border-left:1px solid var(--rule)}
.read-time{flex:0 0 100%;margin-top:6px}
@media (max-width:719px){.article-meta+.article-meta{flex:0 0 100%;margin:2px 0 0;padding-left:0;border-left:0}}
.article-tag:has(+.article-tag){flex:0 0 auto;margin-right:12px}
.article-tag+.article-tag{flex:1 1 auto}
.article-tag+.article-tag::before{width:1px;height:12px;background:var(--rule)}
.article-meta>.article-tag{flex:0 0 auto}
.article-meta>.article-tag+.article-tag::before{display:none}
.article-header+figure,.article-hero{margin-bottom:clamp(32px,4.5vw,56px)}

/* ---------- reading column ---------- */
.article-body{grid-column:1 / -1!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--col)) minmax(0,1fr);font-family:var(--serif);font-size:calc(1.1875rem * var(--scale));line-height:1.62;color:var(--ink);overflow-wrap:break-word;font-variant-numeric:lining-nums}
@media (min-width:720px){.article-body{font-size:calc(1.25rem * var(--scale))}}
.article-body>*{grid-column:2;min-width:0}
.article-body>*+*{margin-top:1.05em}
.article-body p,.article-body li{text-wrap:pretty}
/* a paragraph that is a run of links (reference lists of long web addresses) wraps the plain way: WebKit 26.0's
   pretty line breaker crashed the page on one of them (Nov. 27, 2026, engine sweep) and the lines gain nothing from it */
.article-body p:has(a ~ a ~ a){text-wrap:wrap}
.article-body strong,.article-body b{font-weight:600}
.article-body a{color:var(--forest);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em;text-decoration-color:rgba(31,61,51,.45);transition:text-decoration-color var(--t) var(--ease)}
.article-body a:hover{text-decoration-color:currentColor;text-decoration-thickness:2px}
.article-body h2{font-family:var(--sans);font-weight:520;font-size:calc(1.625rem * var(--scale));line-height:1.16;letter-spacing:-.022em;text-wrap:balance;margin-top:2.1em}
.article-body h3{font-family:var(--sans);font-weight:540;font-size:calc(1.25rem * var(--scale));line-height:1.25;letter-spacing:-.012em;margin-top:1.7em}
@media (min-width:720px){.article-body h2{font-size:calc(2rem * var(--scale))}.article-body h3{font-size:calc(1.375rem * var(--scale))}}
.article-body h2+*,.article-body h3+*{margin-top:.5em}
.article-body ul,.article-body ol{padding-left:1.25em}
.article-body ul{list-style:disc}
.article-body ol{list-style:decimal}
.article-body li+li{margin-top:.45em}
.article-body li>p+p{margin-top:.5em}
.article-body li::marker{color:var(--walnut)}
.article-body hr{border:0;height:1px;background:var(--rule);margin-block:2em}
.article-body hr+*{margin-top:0}
.article-body img,.article-body video,.article-body iframe{max-width:100%}

/* ---------- Summary / TL;DR ---------- */
/* boxed form (.callout.article-summary, 55 pages) */
.article-body .article-summary{background:var(--card)!important;border:0!important;border-left:1px solid var(--brass)!important;border-radius:0 14px 14px 0!important;padding:22px 24px 24px!important;margin:0!important;font-size:.92em}
.article-body .article-summary>h2{font-family:var(--mono)!important;font-size:calc(.78125rem * var(--scale))!important;font-weight:400!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:var(--ink-2)!important;margin:0 0 10px!important;line-height:1.4!important}
.article-body .article-summary>*+*{margin-top:.7em}
.article-body .article-summary ul{margin-bottom:0!important}
/* mirrored form: an h2 that opens the body, through the first <hr> or the next h2 */
.article-body>h2:first-child,
.article-body>h2:first-child~:not(hr,hr~*,h2,h2:not(:first-child)~*,aside,details,.disclaimer-line){background:var(--card);border-left:1px solid var(--brass);margin-top:0;padding:12px 24px 0;font-size:.92em}
.article-body>h2:first-child{font-family:var(--mono);font-size:calc(.78125rem * var(--scale));font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);line-height:1.4;padding-top:22px;border-radius:0 14px 0 0}
.article-body>h2:first-child~:is(ul,ol):not(hr~*,h2:not(:first-child)~*){padding-left:calc(24px + 1.25em)}
.article-body>h2:first-child~:not(hr,hr~*,h2,h2:not(:first-child)~*,aside,details,.disclaimer-line):has(+hr,+h2){padding-bottom:24px;border-radius:0 0 14px 0}

/* ---------- quotes and callouts ---------- */
.article-body blockquote{margin-inline:0;padding:2px 0 2px 22px;border-left:1px solid var(--brass)}
.article-body blockquote>*+*{margin-top:.7em}
.article-body blockquote.pull-quote,.article-body .pull-quote-block{border:0;border-block:1px solid var(--brass);padding:.9em 0;margin-block:1.8em;font-family:var(--serif-d);font-size:1.3em;line-height:1.32;letter-spacing:-.01em;font-style:normal;color:var(--ink);text-wrap:balance}
.article-body .callout:not(.article-summary),.article-body .direct-answer,.article-body .thesis-callout{background:var(--card);border-left:1px solid var(--brass);border-radius:0 14px 14px 0;padding:22px 24px;font-size:.92em}
.article-body .callout:not(.article-summary)>h3,.article-body .callout-title,.article-body .takeaway-title{font-family:var(--mono);font-size:calc(.78125rem * var(--scale));font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);margin-top:0}
.article-body .callout>*+*{margin-top:.6em}
.article-body .faq-q{font-family:var(--sans);font-weight:540;font-size:calc(1.1875rem * var(--scale));line-height:1.3;letter-spacing:-.01em;margin-top:1.6em}
.article-body .faq-q+p{margin-top:.35em}

/* ---------- tables: they scroll inside their own box on phones ---------- */
.article-body table{width:100%;border-collapse:collapse;font-family:var(--sans);font-size:calc(.96875rem * var(--scale));line-height:1.45;margin-block:1.4em}
.article-body th{font-family:var(--mono);font-size:calc(.75rem * var(--scale));font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);text-align:left;vertical-align:bottom;padding:10px 16px 10px 0;border-bottom:1px solid var(--ink)}
.article-body td{padding:12px 16px 12px 0;border-bottom:1px solid var(--rule);vertical-align:top}
.article-body td:last-child,.article-body th:last-child{padding-right:0}
.article-body .table-scroll{overflow-x:auto}
@media (max-width:719px){.article-body table{display:block;overflow-x:auto;max-width:100%;font-size:calc(.9375rem * var(--scale))}}

/* ---------- figures and charts in a paper frame ---------- */
.article-body>section{grid-column:1 / -1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,var(--col)) minmax(0,1fr)}
.article-body>section>*{grid-column:2;min-width:0}
.article-body>section>*+*{margin-top:1.05em}
:is(.article-body,.article-body>section)>:is(.insight-figure,figure,.lazy-chart,.chart-block){grid-column:1 / -1;justify-self:center;width:min(100%,var(--wide));margin-top:2em}
:is(.article-body,.article-body>section)>:is(.insight-figure,figure,.lazy-chart,.chart-block)+*{margin-top:1.6em}
.article-body figure{display:grid;gap:12px}
.article-body figure>:is(a,img,picture,video):first-child{display:block;width:fit-content;max-width:100%;margin-inline:auto;background:var(--paper);border:1px solid var(--linen);padding:clamp(10px,2vw,20px);border-radius:14px}
.article-body figure img{margin-inline:auto;height:auto;border-radius:3px}
@media (min-width:720px){.article-body figure img{max-height:min(82vh,820px);width:auto;max-width:100%}}
/* GIF beats served as <video> (scripts/gif_to_video.py, playback in article.js): same box as the img they replace */
.article-body figure video.gif-video{display:block;margin-inline:auto;height:auto;border-radius:3px;max-width:100%}
@media (min-width:720px){.article-body figure video.gif-video{max-height:min(82vh,820px);width:auto}}
.article-body .figure-zoom{cursor:zoom-in}
.article-body figcaption,.article-body .chart-caption{font-family:var(--mono);font-size:calc(.8125rem * var(--scale));line-height:1.6;letter-spacing:.01em;color:var(--ink-2);max-width:var(--col);margin-inline:auto;width:100%;text-wrap:pretty}
.article-body>.chart-caption{grid-column:2;margin-top:12px}
.article-body>.chart-caption+*{margin-top:1.6em}
.lazy-chart{position:relative;background:var(--paper);color:var(--ink);border:1px solid var(--linen);border-radius:14px;padding:clamp(10px,2vw,20px);min-height:360px}
.lazy-chart.is-interactive .chart-fallback{display:none}
/* Plotly sizes itself to the box including padding; dropping the padding once it draws keeps the box height unchanged (no layout shift) */
.lazy-chart.is-interactive{padding:0;overflow:hidden}
/* Motion off (the reader setting or the system's Reduce Motion): site.css gives every element a .01ms transition, so a style
   change lands a frame late. Plotly moves its hover label and measures it in the same breath, read the old place, and drew the
   text outside its box (blank box, text up by the title). Nothing inside a chart transitions, so the measure is true. */
html[data-motion="off"] .lazy-chart *{transition:none!important}
@media (prefers-reduced-motion:reduce){.lazy-chart *{transition:none!important}}
.chart-fallback{display:block}
.chart-fallback img{display:block;width:100%;height:auto;margin-inline:auto}
@media (min-width:721px){.chart-fallback img{max-height:450px;object-fit:contain}}

/* ---------- sources, footnotes, references ---------- */
.article-body sup{font-size:max(.66em,.75rem);line-height:0;vertical-align:super}
.article-body sup.cite,.article-body sup a{font-family:var(--mono);text-decoration:none}
.article-body sup a{padding-inline:.12em}
.article-body .sources-section,.article-body .references,.article-body .references-section{margin-top:2.8em;padding-top:18px;border-top:1px solid var(--ink);font-family:var(--mono);font-size:calc(.84375rem * var(--scale));line-height:1.65;color:var(--ink-2)}
.article-body .sources-section h2,.article-body .references h2,.article-body .references-title{font-family:var(--mono);font-size:calc(.78125rem * var(--scale));font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);margin:0 0 14px}
.article-body .sources-section ol,.article-body .references ol{padding-left:2.4em}
.article-body .sources-section li+li,.article-body .reference+.reference,.article-body .reference-item+.reference-item{margin-top:.75em}
.article-body .sources-section a,.article-body .references a{overflow-wrap:anywhere}

/* ---------- the close of the piece ---------- */
.article-body .cta-section,.article-body .article-footer-cta,.article-body .closing-cta{background:var(--linen);border-radius:18px;padding:clamp(24px,4vw,40px);margin-top:2.4em}
.article-body .cta-section>*+*,.article-body .article-footer-cta>*+*{margin-top:.7em}
.article-body .cta-section h3,.article-body .article-footer-cta h3{margin-top:0;font-size:calc(1.5rem * var(--scale))}
.article-body .cta-section p,.article-body .article-footer-cta p{font-size:.92em;color:var(--ink-2)}
.article-body a.cta-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin-top:1.2em;margin-right:16px;padding:0 26px;border-radius:999px;background:var(--forest);color:var(--paper);font-family:var(--sans);font-weight:520;font-size:calc(1.0625rem * var(--scale));letter-spacing:-.005em;line-height:1.2;text-decoration:none;transition:background var(--t) var(--ease)}
.article-body a.cta-btn:hover{background:var(--forest-2)}
.article-body a.cta-alt{display:inline-flex;align-items:center;min-height:44px;margin-top:1.2em;font-family:var(--sans);font-weight:520;font-size:calc(1rem * var(--scale))}
.article-body .related{background:var(--card);border-radius:14px;padding:22px 24px;margin-top:2.4em}
.article-body .related h3{margin-top:0;font-family:var(--mono);font-size:calc(.78125rem * var(--scale));font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.article-body .related ul{list-style:none;padding:0;margin-top:8px}
.article-body .related li+li{margin-top:0;border-top:1px solid var(--rule)}
.article-body .related a{display:flex;align-items:center;min-height:48px;padding-block:8px;font-family:var(--sans);font-size:calc(1.0625rem * var(--scale));line-height:1.3;text-decoration:none;color:var(--ink)}
.article-body .related a:hover{color:var(--forest);text-decoration:underline}
.disclaimer-line{margin-top:2.4em!important;padding-top:16px;border-top:1px solid var(--rule);font-family:var(--sans);font-style:normal;font-size:calc(.90625rem * var(--scale));line-height:1.55;color:var(--ink-2)}

/* related reading (scripts/build_related.py) */
.related-auto{margin-top:2.8em!important;border-top:1px solid var(--ink)}
.related-auto__eyebrow{padding:16px 0 4px;font-family:var(--mono);font-size:calc(.78125rem * var(--scale));letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.related-auto__list{list-style:none!important;padding:0!important;margin:0}
.related-auto__list li{margin:0!important;border-bottom:1px solid var(--rule)}
.related-auto__list a{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:58px;padding-block:12px;font-family:var(--sans);font-weight:500;font-size:calc(1.125rem * var(--scale));line-height:1.28;letter-spacing:-.012em;color:var(--ink);text-decoration:none}
.related-auto__list a::after{content:"\2192";content:"\2192" / "";flex:none;color:var(--walnut);transition:transform var(--t) var(--ease)}
.related-auto__list a:hover{color:var(--forest)}
.related-auto__list a:hover::after{transform:translateX(4px)}

/* correction history (closed, at the very end) */
.va-history{margin-top:2.6em;border-top:1px solid var(--rule)}
.va-history>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;cursor:pointer;font-family:var(--mono);font-size:calc(.78125rem * var(--scale));letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.va-history>summary::-webkit-details-marker{display:none}
.va-history>summary::after{content:"";flex:none;width:9px;height:9px;margin-right:4px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform var(--t) var(--ease)}
.va-history[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.va-history>summary:hover{color:var(--ink)}
.va-history__body{padding:4px 0 22px;font-family:var(--serif);font-size:calc(1.03125rem * var(--scale));line-height:1.6;color:var(--ink-2)}
.va-history__body>*+*{margin-top:.8em}
.va-history__body a{color:var(--forest)}
.va-history__head{font-weight:600;color:var(--ink)}

/* ---------- On this page: a closed contents list on long articles (os/js/article.js builds it under the Summary) ---------- */
.article-body>.toc{margin-top:1.6em;border-block:1px solid var(--rule)}
/* after the rule that closes a mirrored Summary: that <hr> keeps its 2em margins but draws nothing here (auto side
   margins in the grid give it no width), so the list steps back over the gap and sits 1.6em under the Summary too */
.article-body>hr+.toc{margin-top:calc(-2.4em - 1px)}
.article-body>.toc+*{margin-top:1.6em}
/* the brass mark some hand-built pages put before each h2 has no font size, so its own em margin is zero */
.article-body>.toc+.section-ornament{margin-top:2.25rem!important}
.toc>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;cursor:pointer;font-family:var(--mono);font-size:calc(.78125rem * var(--scale));letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.toc>summary::-webkit-details-marker{display:none}
.toc>summary::after{content:"";flex:none;width:9px;height:9px;margin-right:4px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform var(--t) var(--ease)}
.toc[open]>summary::after{transform:translateY(2px) rotate(-135deg)}
.toc>summary:hover{color:var(--ink)}
.article-body .toc ol{list-style:none;margin:0;padding:0;counter-reset:toc}
.article-body .toc li{margin:0;border-top:1px solid var(--rule);counter-increment:toc}
.article-body .toc a{display:grid;grid-template-columns:2.4em minmax(0,1fr);align-items:baseline;align-content:center;min-height:52px;padding-block:12px;font-family:var(--sans);font-weight:500;font-size:calc(1.0625rem * var(--scale));line-height:1.3;letter-spacing:-.01em;color:var(--ink);text-decoration:none;text-wrap:pretty}
.article-body .toc a::before{content:counter(toc,decimal-leading-zero);content:counter(toc,decimal-leading-zero) / "";font-family:var(--mono);font-size:calc(.78125rem * var(--scale));letter-spacing:.04em;color:var(--ink-2)}
.article-body .toc a:hover{color:var(--forest);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}
/* a heading reached from the list takes focus so the keyboard lands there; it is not a control, so no ring on a tap */
.article-body h2[tabindex="-1"]:focus:not(:focus-visible){outline:0}

/* ---------- the newsletter: a Dusk moment before the footer ---------- */
.substack-band{width:calc(100% - 2 * var(--inset))!important;max-width:var(--wide)!important;margin:clamp(64px,9vw,120px) auto clamp(64px,8vw,104px)!important;padding:clamp(32px,5vw,56px) clamp(24px,4.5vw,56px)!important;background:var(--dusk)!important;border:0!important;border-radius:18px!important;text-align:left!important;color:var(--on-dusk)}
.substack-band::before{content:"";display:block;width:28px;height:1px;margin-bottom:22px;background:var(--brass-lt)}
.substack-band>p:first-of-type{font-family:var(--sans)!important;font-size:calc(1.75rem * var(--scale))!important;font-weight:520!important;line-height:1.1!important;letter-spacing:-.025em!important;color:var(--on-dusk)!important;margin:0 0 14px!important;text-wrap:balance}
.substack-band>p+p{font-family:var(--serif)!important;font-size:calc(1.125rem * var(--scale))!important;line-height:1.55!important;color:var(--on-dusk-2)!important;max-width:34em!important;margin:0 0 28px!important}
.substack-band a{display:inline-flex!important;align-items:center;min-height:52px;padding:0 26px!important;border-radius:999px!important;background:var(--on-dusk)!important;color:var(--dusk)!important;font-family:var(--sans);font-weight:520!important;font-size:calc(1.0625rem * var(--scale))!important;letter-spacing:-.005em!important;transition:background var(--t) var(--ease)}
.substack-band a:hover{background:#fff!important}
.substack-band :focus-visible{outline-color:var(--brass-lt)}
@media (min-width:720px){.substack-band>p:first-of-type{font-size:calc(2.25rem * var(--scale))!important}}

/* ---------- hand-built extras that sit between </main> and the footer (Read Next, newsletter) ---------- */
main~section{padding-inline:var(--inset)!important;background:var(--paper)!important;border-top:1px solid var(--rule)!important}
main~section>div{max-width:var(--wide)!important}
main~section :not(a,button)[style*="uppercase"]{font-family:var(--mono)!important;font-size:calc(.78125rem * var(--scale))!important;letter-spacing:.08em!important;color:var(--ink-2)!important}
main~section p{font-family:var(--serif)}
.related-posts-grid{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
@media (min-width:720px){.related-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.related-posts-grid>a{min-width:0;overflow-wrap:break-word}
.related-posts-grid>a{border-radius:14px!important;background:var(--card)!important;transition:border-color var(--t) var(--ease)!important}
.related-posts-grid>a:hover{border-color:var(--ink)!important}
.related-posts-grid>a>div:nth-child(2){font-weight:520!important;font-size:calc(1.25rem * var(--scale))!important;letter-spacing:-.015em;line-height:1.22!important}
.related-posts-grid>a>div:nth-child(3){font-family:var(--serif)}
main~section form input[type="email"]{min-height:52px;border-radius:999px!important;padding-inline:20px!important;background:#fff!important;border-color:rgba(31,27,22,.55)!important;font-size:calc(1rem * var(--scale))!important}
main~section form button[type="submit"]{min-height:52px!important;border-radius:999px!important;padding-inline:26px!important;font-family:var(--sans)!important;font-size:calc(.9375rem * var(--scale))!important;letter-spacing:.02em!important;font-weight:520!important}
main~section form button[type="submit"]:hover{background:var(--forest-2)!important}

/* ---------- components on the hand-built articles (styled against their own class names) ---------- */
/* header variants: meta rows built from .meta-item / .article-meta-item, the snap and missing-screw strips */
.article-header>.article-meta:has(.meta-item,.article-meta-item){flex:0 0 100%;display:flex;flex-wrap:wrap;gap:6px 28px;margin-left:0;padding-left:0;border-left:0}
.meta-item{display:flex;gap:10px;align-items:baseline}
.meta-label{text-transform:uppercase;letter-spacing:.08em;font-size:calc(.75rem * var(--scale));color:var(--ink-2)}
.meta-value{color:var(--ink)}
.article-meta-item+.article-meta-item{margin-left:14px;padding-left:14px;border-left:1px solid var(--rule)}
.article-header>h1:not(:has(+ .article-meta, + .read-time, + .tagline-prose)){margin-bottom:18px}
.article-header>.article-meta+h1{margin-top:22px}
.tagline-prose{flex:0 0 100%;font-family:var(--serif);font-size:calc(1.1875rem * var(--scale));line-height:1.55;color:var(--ink-2);margin-bottom:22px;text-wrap:pretty}
.article-header>.article-meta[style]{margin-top:0!important}
.stat-strip{flex:0 0 100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));column-gap:24px;margin-top:30px;border-top:1px solid var(--ink)}
.stat{display:grid;align-content:start;gap:8px;padding:18px 0 20px;border-bottom:1px solid var(--rule)}
.stat b{font-family:var(--sans);font-weight:500;font-size:calc(2rem * var(--scale));line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums lining-nums}
.stat span{font-family:var(--sans);font-size:calc(.90625rem * var(--scale));line-height:1.4;color:var(--ink-2)}
.toc-nav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:clamp(28px,4vw,48px)}
.toc-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid rgba(31,27,22,.45);border-radius:999px;font-family:var(--mono);font-size:calc(.78125rem * var(--scale));letter-spacing:.04em;text-decoration:none;color:var(--ink)}
.toc-nav a:hover{background:var(--ink);color:var(--paper)}
/* body pieces */
.article-body .section-intro,.article-body p.lede{font-size:1.06em;line-height:1.55;color:var(--ink-2);max-width:none}
.article-body .takeaway,.article-body .warn{background:var(--card);border-left:1px solid var(--brass);border-radius:0 14px 14px 0;padding:22px 24px;font-size:.92em}
.article-body .warn{border-left:2px solid var(--walnut)}
.article-body .takeaway>*+*{margin-top:.6em}
.article-body .takeaway-title{font-family:var(--mono);font-size:calc(.78125rem * var(--scale));letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.article-body .direct-answer{border:0!important;border-left:1px solid var(--brass)!important;padding:22px 24px!important;margin:0!important}
.article-body .pull-quote-block{margin-block:1.8em}
.article-body .pull-quote-block .pull-quote{margin-block:0}
.article-body .pull-quote-ornament{font-family:var(--mono);font-size:calc(.8125rem * var(--scale));letter-spacing:.4em;color:var(--walnut);margin-bottom:10px}
.article-body .chart-block .lazy-chart{margin:0}
/* Nov. 27, 2026, phones: (1) a page whose <main> is the .container already has the side inset, so its <article> adds none
   (the two hand-built pages read in a 279px column at 375px); (2) the fallback picture sets the chart box's height, so the
   500px held for the interactive chart leaves no blank band under it; (3) citation marks take a finger */
main#main.container>article{padding-inline:0}
@media (max-width:720px){.lazy-chart:not(.is-interactive){min-height:0!important}}
/* Nov. 27, 2026: a chart with a portrait phone drawing (<source media> in its picture, 342px design width) fills the text
   column (the drawing carries its own paper margin, so the box adds none) and stops growing at 430px, so a small tablet
   does not blow it up to twice its drawn size */
@media (max-width:720px){.lazy-chart:has(source[media]):not(.is-interactive){padding:0;overflow:hidden}.chart-fallback:has(source[media]) img{max-width:430px}}
.article-body sup.cite a{position:relative}
.article-body sup.cite a::after{content:"";position:absolute;inset:-12px -5px}
.article-body .explanation{max-width:var(--col);margin:14px auto 0;font-family:var(--sans);font-size:calc(1rem * var(--scale));line-height:1.55;color:var(--ink-2)}
.article-body .closing-cta{text-align:left}
.article-body .closing-cta h3{margin-top:0;font-size:calc(1.5rem * var(--scale))}
.article-body .closing-cta h3 em{font-style:normal;color:var(--walnut)}
.article-body .cta-row{display:flex;flex-wrap:wrap;gap:12px 16px;margin-top:1.2em}
.article-body .cta-row a.cta-btn{margin:0}
.article-body .cta-row a.cta-btn:not(.cta-btn--primary){background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.article-body .cta-row a.cta-btn:not(.cta-btn--primary):hover{background:var(--ink);color:var(--paper)}
.section-ornament{font-size:0!important;width:28px;height:1px;background:var(--brass);margin-top:2.6em!important;opacity:1!important}
.section-ornament+h2{margin-top:.9em}
/* FAQ */
.article-body .faq-section{margin-top:1.4em;border-top:1px solid var(--ink)}
.article-body .faq-item{padding:20px 0;border-bottom:1px solid var(--rule)}
.article-body .faq-item h3{margin-top:0;font-size:calc(1.1875rem * var(--scale))}
.article-body .faq-item>*+*{margin-top:.45em}
/* comparison tables (scroll inside their own box, which is keyboard-focusable on retatrutide) */
.article-body :is(.comparison-table,.table-scroll){overflow-x:auto;margin-block:1.4em}
.article-body :is(.comparison-table,.table-scroll) table{display:table;margin:0;max-width:none}
.article-body .compare-table td:first-child,.article-body .compare-table th:first-child{font-weight:600}
.article-body .table-note{font-family:var(--mono);font-size:calc(.8125rem * var(--scale));line-height:1.6;color:var(--ink-2)}
@media (max-width:719px){.article-body .compare-table{font-size:calc(.84375rem * var(--scale))}.article-body .compare-table :is(th,td){padding-right:10px}.article-body .comparison-table table{min-width:600px}}
.article-body .comparison-table:focus-visible{outline:2px solid var(--forest);outline-offset:4px}
/* the anti-inflammatory plate: a 50/25/25 dial drawn in the house colours */
.article-body .plate-diagram,.article-body .meal-section{background:var(--card);border-radius:18px;padding:clamp(22px,4vw,36px)}
.article-body .plate-diagram{text-align:center}
.article-body :is(.plate-title,.meal-section-title){font-family:var(--mono);font-size:calc(.78125rem * var(--scale));letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);margin-bottom:20px;text-align:left}
.article-body .plate-visual{width:min(240px,70vw);aspect-ratio:1;margin:0 auto 24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:conic-gradient(var(--forest) 0 180deg,var(--brass) 180deg 270deg,var(--walnut) 270deg 360deg)}
.article-body .plate-center{width:72%;aspect-ratio:1;border-radius:50%;background:var(--card);display:flex;align-items:center;justify-content:center;padding:12px}
.article-body .plate-label{font-family:var(--mono);font-size:calc(.75rem * var(--scale));letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.article-body .plate-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:0 20px;border-top:1px solid var(--ink);text-align:left}
.article-body .plate-segment{padding:16px 0;border-bottom:1px solid var(--rule);display:grid;gap:4px;align-content:start}
.article-body .plate-segment::before{content:"";width:22px;height:4px;border-radius:2px;background:var(--forest)}
.article-body .plate-segment:nth-child(2)::before{background:var(--brass)}
.article-body .plate-segment:nth-child(3)::before{background:var(--walnut)}
.article-body .segment-percent{font-family:var(--sans);font-weight:500;font-size:calc(1.875rem * var(--scale));letter-spacing:-.03em;line-height:1.1}
.article-body .segment-label{font-family:var(--sans);font-size:calc(.9375rem * var(--scale));line-height:1.4;color:var(--ink-2)}
.article-body .meal-example{padding:16px 0;border-top:1px solid var(--rule)}
.article-body .meal-name{font-family:var(--sans);font-weight:540;font-size:calc(1.125rem * var(--scale))}
.article-body .meal-items{margin-top:8px;font-size:.92em}
/* references and source lists outside .sources-section */
.references-section,.references{margin-top:2.8em;padding-top:18px;border-top:1px solid var(--ink);font-family:var(--mono);font-size:calc(.84375rem * var(--scale));line-height:1.65;color:var(--ink-2)}
.references-section>hr{display:none}
:is(.references-section,.references) h2,.references-title{font-family:var(--mono)!important;font-size:calc(.78125rem * var(--scale))!important;font-weight:400!important;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);margin:0 0 14px!important}
:is(.references-section,.references) :is(.reference,.reference-item,li,p)+:is(.reference,.reference-item,li,p){margin-top:.75em}
:is(.references-section,.references) a{color:var(--forest);overflow-wrap:anywhere}
:is(.references-section,.references) :is(ol,ul){padding-left:2.4em}
footer.article-footer{max-width:calc(var(--col) + 2 * var(--inset));margin:0 auto;padding:clamp(40px,6vw,72px) var(--inset);font-family:var(--mono);font-size:calc(.84375rem * var(--scale));line-height:1.65;color:var(--ink-2)}
footer.article-footer .footer-inner>*+*{margin-top:18px}
footer.article-footer .vitae-backlink{display:inline-block;padding-block:10px;font-family:var(--sans);font-size:calc(1.25rem * var(--scale));font-weight:540;letter-spacing:-.02em;color:var(--ink);text-decoration:none}
footer.article-footer .vitae-backlink em{font-style:normal}
footer.article-footer h4{font-family:var(--mono);font-size:calc(.78125rem * var(--scale));font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);margin:0 0 6px;padding-top:16px;border-top:1px solid var(--rule)}
footer.article-footer .source-line{overflow-wrap:anywhere}
/* inline-styled bands: the footer CTA (in or after <main>), the book upsell */
.article-footer-cta{background:var(--linen)!important;border-top:0!important;padding:clamp(48px,7vw,88px) var(--inset)!important;margin-top:0!important}
main>.article-footer-cta{margin-block:clamp(56px,8vw,96px) 0!important}
.article-footer-cta>div{max-width:var(--wide)!important;text-align:left!important}
/* Nov. 26, 2026 (council 31, ART-04): the closing heading takes the site's display weight (Literata 300, as .h2 does) */
.article-footer-cta h2{font-weight:300!important;letter-spacing:-.02em!important;line-height:1.1!important;font-size:calc(1.875rem * var(--scale))!important;color:var(--ink)!important}
@media (min-width:720px){.article-footer-cta h2{font-size:calc(2.5rem * var(--scale))!important}}
.article-footer-cta p{font-family:var(--serif);margin-inline:0!important;max-width:34em!important;color:var(--ink-2)!important;font-size:calc(1.125rem * var(--scale))!important}
.article-footer-cta div[style*="display:flex"]{justify-content:flex-start!important}
:is(.article-footer-cta,main~section) a:not(.related-posts-grid>a)[style*="padding"]{display:inline-flex!important;align-items:center;justify-content:center;min-height:52px;padding:0 26px!important;border-radius:999px!important;font-family:var(--sans);font-size:calc(1rem * var(--scale))!important;letter-spacing:0!important;text-transform:none!important;font-weight:520!important}
:is(.article-footer-cta,main~section) a:not(.related-posts-grid>a)[style*="transparent"]{color:var(--ink)!important;border-color:var(--ink)!important}
:is(.article-footer-cta,main~section) a:not(.related-posts-grid>a)[style*="padding"]:hover{filter:brightness(1.25)}
:is(.article-footer-cta,main>section:not(.substack-band)) :not(a,button)[style*="uppercase"]{font-family:var(--mono)!important;font-size:calc(.78125rem * var(--scale))!important;letter-spacing:.08em!important;color:var(--ink-2)!important}
main>section:not(.substack-band,.article-footer-cta){padding-inline:var(--inset)!important}
.guide-upsell-grid{max-width:var(--wide)!important;grid-template-columns:96px 1fr!important;gap:20px 28px!important}
@media (min-width:720px){.guide-upsell-grid{grid-template-columns:140px 1fr!important}}
.guide-upsell-grid img{border-radius:3px}
.guide-upsell-grid h3{font-weight:520!important;letter-spacing:-.02em!important;line-height:1.15!important}
.guide-upsell-grid p{font-family:var(--serif)}
.reveal{opacity:1!important;transform:none!important}

/* ---------- reading progress: a brass hairline under the nav (scroll-driven, no script) ---------- */
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    html:not([data-motion="off"]) .article-body{view-timeline:--read block}
    html:not([data-motion="off"]) .article-body::before{content:"";position:fixed;z-index:51;left:0;right:0;top:calc(env(safe-area-inset-top) + var(--nav-h) - 1px);height:2px;background:var(--brass);transform-origin:0 50%;transform:scaleX(0);pointer-events:none;animation:os-read linear both;animation-timeline:--read;animation-range:contain 0% contain 100%}
    @keyframes os-read{to{transform:scaleX(1)}}
  }
}

@media print{
  .article-body figure>:is(a,img,picture):first-child,.lazy-chart{background:none;border:0;padding:0}
  .substack-band,main~section,.va-history>summary::after,.toc{display:none!important}
  .va-history::details-content{content-visibility:visible;block-size:auto}
}
/* Nov. 26, 2026: a <main class="container"> spans the full width so its suede ground does too; the measure is unchanged */
main#main.container{max-width:none;padding-inline:max(var(--inset),calc((100% - 1440px) / 2 + var(--inset)))}
/* Nov. 26, 2026 (decision 91): reading pages carry the suede one step softer than the main pages */
:root{--suede:.32}

/* glass header (Nov. 30, 2026): the header is a floating capsule now, not a bar with a bottom edge, so the reading
   line runs along the top edge of the screen instead of under the header */
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  html:not([data-motion="off"]) .article-body::before{top:env(safe-area-inset-top)}
}
