/* the blog design tokens, measured from anthropic.com/news (the reference spec of
   2026-10-10): ivory and ink with warm greys, every hairline #d1cfc5, clay
   only for the text selection, DM Sans for headings, navigation, buttons,
   inputs, meta and list rows, Source Serif 4 for reading and summaries,
   IBM Plex Mono for code. Spacing, radii and type sizes step at 992 and
   1024 px as the reference's do. the blog's own: a dark set in the same greys
   that follows the device (the reference has none). */

/* Metric-matched fallbacks (advance widths over English text against the
   system Arial and Georgia), so the swap to the web font does not reflow
   the page. The web fonts themselves come from next/font (src/styles/fonts.ts),
   which sets --font-sans, --font-serif and --font-mono on <html>. */
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue");
  size-adjust: 106.1%;
  ascent-override: 93.5%;
  descent-override: 29.2%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Serif Fallback";
  src: local("Georgia");
  size-adjust: 100.8%;
  ascent-override: 102.8%;
  descent-override: 33.2%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Serif Fallback";
  font-style: italic;
  src: local("Georgia Italic"), local("Georgia-Italic");
  size-adjust: 92.1%;
  ascent-override: 112.5%;
  descent-override: 36.4%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;

  /* Greys (the reference's slate ramp) */
  --ivory: #faf9f5; /* page (slate-050) */
  --ivory-2: #f0eee6; /* quiet fills, report band, code (slate-150) */
  --ivory-3: #e8e6dc; /* hover fills (slate-200) */
  --ivory-0: #f5f4ed; /* tertiary button (slate-100) */
  --ink: #141413; /* text, primary buttons (slate-950) */
  --ink-0: #0f0f0e; /* header text (slate-1000) */
  --ink-2: #30302e; /* secondary text (slate-750) */
  --slate: #5e5d59; /* tertiary text: meta, list rows, labels (slate-600) */
  --slate-2: #6e6d67; /* tertiary button text; 4.7:1 on the ivory field */
  --cloud: #87867f; /* placeholders, focused field border (slate-500) */
  --cloud-2: #9c9a92; /* external-link arrows (slate-450) */
  --rule: #d1cfc5; /* every hairline (border subtle) */
  --rule-2: #d1cfc5; /* the same: kept for older names */
  --rule-soft: #e8e6dc; /* menu section rules, code block border */
  --rule-faint: #f0eee6; /* menu borders, mobile menu rows */
  --tile: #e3dacc; /* a picture's box before it loads (oat) */
  --oat: #e3dacc;
  --heather: #cbcadb;
  --cactus: #bcd1ca;
  --clay: #d97757;
  --clay-dark: #c6613f;
  --field: #ffffff; /* inputs */
  --focus: #2c84db;
  --selection: #d9775780; /* clay at 50 % */
  --button-hover: #3d3d3a;
  --code-ink: #a3412b;
  --toc-ink: #6e6d67;
  --danger: #bf4d43;
  --danger-bg: #f6e2de;
  --danger-ink: #8a2f27;
  --shadow: rgb(20 20 19 / 0.12);
  --menu-shadow: 0 2px 2px #00000003, 0 4px 4px #00000005, 0 16px 24px #0000000a;

  /* The footer is ink in both themes. */
  --night-bg: #141413;
  --night-2: #1f1e1d;
  --on-night: #faf9f5;
  --on-night-muted: #b0aea5;
  --on-night-quiet: #87867f;
  --night-rule: #30302e;

  /* Type */
  --sans: var(--font-sans, "DM Sans"), "DM Sans Fallback", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--font-serif, "Source Serif 4"), "Source Serif Fallback", Georgia, "Times New Roman", serif;
  --mono: var(--font-mono, "IBM Plex Mono"), ui-monospace, Menlo, Consolas, monospace;
  --headline-1: 2rem; /* 32, 44 at 992, 52 at 1024 */
  --headline-4: 1.4375rem; /* 23, 32 at 1024 */
  --headline-6: 1.0625rem; /* 17, 19 at 1024 */

  /* Shapes: content at most 1400 px wide including its margins (32, 48 at
     992, 64 at 1024), a 12-column grid with 24 px gaps (32 at 992). */
  --container-max: 87.5rem;
  --page-margins: 2rem;
  --gutter: 1.5rem;
  --radius-xs: 0.25rem;
  --radius-sm: 0.5rem; /* 12 at 992 */
  --radius-md: 0.75rem; /* 16 at 992 */
  --radius-lg: 1rem; /* 24 at 992 */
  --section-spacer-lg: 4rem; /* 80 at 992, 96 at 1024 */
  --section-spacer-sm: 2rem; /* 40 at 992, 48 at 1024 */
  --head: 4rem; /* the header: 64, 68 at 950 */

  /* Older names, kept for the components that use them. */
  --margin: var(--page-margins);
  --max: calc(var(--container-max) - 2 * var(--page-margins));
  --radius-s: 0.375rem;
  --radius: 0.5rem;
  --radius-m: var(--radius-sm);
  --radius-l: var(--radius-md);

  /* Motion: the reference's curves. Nothing bounces. */
  --ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out: var(--ease-out-quart);
  --ease-in-out: var(--ease-in-out-quart);
}

@media (min-width: 950px) {
  :root {
    --head: 4.25rem;
  }
}
@media (min-width: 992px) {
  :root {
    --page-margins: 3rem;
    --gutter: 2rem;
    --radius-xs: 0.5rem;
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --section-spacer-lg: 5rem;
    --section-spacer-sm: 2.5rem;
    --headline-1: 2.75rem;
  }
}
@media (min-width: 1024px) {
  :root {
    --page-margins: 4rem;
    --section-spacer-lg: 6rem;
    --section-spacer-sm: 3rem;
    --headline-1: 3.25rem;
    --headline-4: 2rem;
    --headline-6: 1.1875rem;
  }
}

/* Night: the same greys turned down (the blog's own; the reference has no dark
   theme). */
@media screen and (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ivory: #1f1e1d;
    --ivory-2: #262624;
    --ivory-3: #30302e;
    --ivory-0: #262624;
    --ink: #faf9f5;
    --ink-0: #faf9f5;
    --ink-2: #e8e6dc;
    --slate: #b0aea5;
    --slate-2: #b0aea5;
    --cloud: #9c9a92;
    --cloud-2: #87867f;
    --rule: #3d3d3a;
    --rule-2: #3d3d3a;
    --rule-soft: #30302e;
    --rule-faint: #30302e;
    --tile: #30302e;
    --field: #262624;
    --focus: #6a9bcc;
    --selection: #d9775780;
    --button-hover: #e8e6dc;
    --code-ink: #eb9a80;
    --toc-ink: #a3a199;
    --danger: #e8877d;
    --danger-bg: #3b1d1a;
    --danger-ink: #f2b3ab;
    --shadow: rgb(0 0 0 / 0.5);
    --menu-shadow: 0 2px 2px #0000000d, 0 4px 4px #00000014, 0 16px 24px #00000040;
    --night-bg: #141413;
    --night-2: #1a1918;
    --night-rule: #30302e;
  }
}

/* the blog base, after the reference: the reset, the page, type defaults,
   links, focus, selection, the container and the 12-column grid, the
   section divider, buttons and the few utilities every page shares.
   Components carry their own CSS Modules next to them. There are no load
   or scroll reveals and no page transitions: the reference has none. */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--head);
  accent-color: var(--ink);
  caret-color: var(--ink);
}
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1rem/1.25 var(--serif);
  letter-spacing: -0.01em;
  font-feature-settings: "pnum", "lnum", "liga";
  font-synthesis: style;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, p, ol, ul, dl, dd, figure, blockquote, pre, hr {
  margin: 0;
}
ul, ol {
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}
b, strong {
  font-weight: 600;
}
p {
  text-wrap: pretty;
}
img, svg, video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
cite {
  font-style: italic;
}

/* Links: ink and underlined. A component that styles its own links (nav,
   rows, cards) sets them with a class, and this rule, which weighs nothing,
   gives way. */
a {
  color: inherit;
  text-decoration: none;
}
:where(a:not([class])) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.07em;
  text-decoration-skip-ink: none;
  transition: color 0.1s var(--ease-out-quart);
}
:where(a:not([class])):hover {
  color: var(--cloud);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}
::selection {
  background: var(--selection);
}
::placeholder {
  color: var(--cloud);
  opacity: 1;
}
mark {
  padding: 0 0.1em;
  border-radius: 2px;
  background: var(--selection);
  color: var(--ink);
}
/* A class that sets display (a button, a chip) must not undo [hidden]. */
[hidden] {
  display: none !important;
}

/* The page shell */
main {
  flex: 1 0 auto;
}
main:focus {
  outline: none;
}
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--page-margins);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
/* A section divider: a hairline across the content, then the small
   section space. */
.divider {
  height: 0;
  border-top: 1px solid var(--rule);
  padding-bottom: var(--section-spacer-sm);
  box-sizing: content-box;
}
.rule {
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--rule);
}
.section {
  padding: 0 0 var(--section-spacer-lg);
}

/* The skip links: out of sight until one has focus, then centred under the
   top edge. */
.skip-links a {
  position: fixed;
  left: 50%;
  top: -1000px;
  z-index: 10000;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background: var(--ink);
  color: var(--ivory);
  border-radius: 0 0 1rem 1rem;
  font: 700 1rem/1.25 var(--sans);
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.skip-links a:focus {
  top: 0;
}

/* Icons: line drawings in the text colour. */
.icon {
  width: 1rem;
  height: 1rem;
  flex: none;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon .fill {
  fill: currentcolor;
  stroke: none;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Buttons, after the reference's: the label in the sans at 15/21, never the
   serif. Medium 36 px (the default), large 40, small 28. Primary is ink;
   secondary an ink outline that fills on hover; tertiary a quiet fill. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.75rem;
  min-height: 2.25rem;
  padding: 0 0.75rem;
  border: 1px solid var(--ink);
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--ivory);
  font: 400 0.9375rem/1.3125rem var(--sans);
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-in-out-quart),
    border-color 0.2s var(--ease-in-out-quart),
    color 0.2s var(--ease-in-out-quart);
}
.button:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
  color: var(--ivory);
}
.button-large {
  min-height: 2.5rem;
  padding: 0 1rem;
}
.button-small {
  min-height: 1.75rem;
  padding: 0 0.75rem;
  gap: 0.25rem;
  border-radius: 0.375rem;
}
.button-secondary,
.button-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.button-secondary:hover,
.button-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}
.button-tertiary {
  background: var(--ivory-0);
  border-color: var(--rule);
  color: var(--slate-2);
}
.button-tertiary:hover {
  background: var(--ivory-3);
  border-color: var(--rule);
  color: var(--slate-2);
}
.button .icon {
  width: 1rem;
  height: 1rem;
}

/* A text link with an icon, the reference's ButtonTextLink: sans 15 in
   slate, ink and underlined on hover. */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 400 0.9375rem/1.3125rem var(--sans);
  letter-spacing: 0;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s var(--ease-in-quart);
}
.text-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.text-link .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* A row of buttons. */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Running text outside a post (empty states, help lines). */
.empty {
  font: 400 0.9375rem/1.4 var(--sans);
  letter-spacing: 0;
  color: var(--slate);
}
.fine-print {
  font: 400 0.875rem/1.5 var(--sans);
  letter-spacing: 0;
  color: var(--slate);
}
.reference {
  margin-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Print: the text, without the frame. Components hide their own chrome
   with data-print="hide". */
@media print {
  [data-print="hide"] {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* The error page, which uses no stylesheet of its own. */
.status-page {
  padding: var(--section-spacer-lg) 0;
}
.status-kicker {
  margin-bottom: 1rem;
  font: 500 0.875rem/0.875rem var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.status-title {
  font: 700 var(--headline-1) / 1.1 var(--sans);
}
.status-intro {
  max-width: 32rem;
  margin-top: 1.5rem;
  font: 400 1.0625rem/1.55 var(--serif);
  color: var(--ink-2);
}
.status-actions {
  margin-top: 2rem;
}

/* Tints, focal points and title colors for the published paintings. */
.art-globe-day { --tint: #4a7393; --focus: 48% 50%; --hero-pos: 100% 50%; --scrim: 0.3; }
.art-globe-late { --tint: #494a40; --focus: 48% 50%; --hero-pos: 100% 50%; --scrim: 0.26; }
.art-globe-dusk { --tint: #63423b; --focus: 49% 50%; --hero-pos: 100% 50%; --scrim: 0.22; }
.art-bridge-mist { --tint: #8f929b; --focus: 60% 45%; --hero-pos: 50% 40%; --scrim: 0.3; --launch-ink: #141413; --scrim-rgb: 250 249 245; --launch-shadow: 0 1px 14px rgb(250 249 245 / 0.55); }
.art-city-mist { --tint: #b7bac6; --focus: 50% 50%; --hero-pos: 50% 45%; --scrim: 0.42; --launch-ink: #141413; --scrim-rgb: 250 249 245; --launch-shadow: 0 1px 14px rgb(250 249 245 / 0.55); }
.art-bridge-afternoon { --tint: #808f98; --focus: 42% 50%; --hero-pos: 35% 50%; --scrim: 0.36; }
.art-span-night { --tint: #212427; --focus: 45% 60%; --hero-pos: 50% 50%; --scrim: 0.38; }
.art-span-smoke { --tint: #918c89; --focus: 45% 55%; --hero-pos: 50% 50%; --scrim: 0.48; }
.art-jacaranda-day { --tint: #6a7579; --focus: 30% 50%; --hero-pos: 0% 50%; --scrim: 0.27; }
.art-jacaranda-dusk { --tint: #5a4c33; --focus: 30% 50%; --hero-pos: 0% 50%; --scrim: 0.22; }
.art-clouds-high { --tint: #d3d6d1; --focus: 60% 50%; --hero-pos: 50% 50%; --scrim: 0.37; --launch-ink: #141413; --scrim-rgb: 250 249 245; --launch-shadow: 0 1px 14px rgb(250 249 245 / 0.55); }
.art-clouds-sun { --tint: #aeb6b4; --focus: 50% 50%; --hero-pos: 50% 50%; --scrim: 0.33; --launch-ink: #141413; --scrim-rgb: 250 249 245; --launch-shadow: 0 1px 14px rgb(250 249 245 / 0.55); }
.art-clouds-isles { --tint: #9cc1cd; --focus: 50% 50%; --hero-pos: 50% 50%; --scrim: 0.42; --launch-ink: #141413; --scrim-rgb: 250 249 245; --launch-shadow: 0 1px 14px rgb(250 249 245 / 0.55); }

.archive-main {
  grid-column: 1 / span 9;
  min-width: 0;
}
.archive-side {
  grid-column: 10 / -1;
  align-self: start;
  position: sticky;
  top: calc(var(--head) + 1rem);
}
.archive-side-title {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule-2);
  font: 400 0.875rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--slate);
}
.archive-year + .archive-year {
  margin-top: 4rem;
}
.archive-year-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2rem);
  line-height: 1.2;
  font-weight: 600;
}
.archive-year-count {
  font: 400 0.9375rem/1.4 var(--sans);
  color: var(--slate);
}
.archive-month {
  margin-top: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule-2);
  font: 400 0.875rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--slate);
}

@media (max-width: 1023px) {
  .archive-main,
  .archive-side {
    grid-column: 1 / -1;
  }
  .archive-side {
    position: static;
    margin-top: 3rem;
  }
}

/* The end of a post: the reference's share row under a 1 px ink rule
   (32 px above and below it), 32 px icon boxes with 24 px glyphs. */
.end-end {
  margin-top: 32px;
}
.end-share {
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}
.end-icons {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.end-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.1s var(--ease-out);
}
.end-icon[hidden] {
  display: none;
}
.end-icon:hover {
  color: var(--cloud);
}
.end-icon svg {
  width: 24px;
  height: 24px;
  fill: currentcolor;
}
.end-icon svg[viewBox='0 0 16 16'] {
  width: 21px;
  height: 21px;
}
.end-copy svg {
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.end-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin: 32px 0 0;
  font: 400 15px/21px var(--sans);
}
.end-topics-label {
  color: var(--slate);
}
.end-topics a {
  color: var(--ink);
  text-decoration: none;
}
.end-topics a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.end-author {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-2);
}
.end-by {
  margin: 0;
  font: 600 15px/21px var(--sans);
}
.end-by a,
.end-note a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
.end-by a:hover,
.end-note a:hover {
  color: var(--slate);
}
.end-note {
  margin: 8px 0 0;
  font: 400 15px/21px var(--serif);
  color: var(--ink-2);
}
@media (prefers-reduced-motion: reduce) {
  .end-icon {
    transition: none;
  }
}
@media print {
  .end-share {
    display: none;
  }
}

.entry-head {
  display: grid;
  grid-template-columns: 2fr 2fr 5fr;
  column-gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-2);
  font: 400 0.875rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--slate);
}
.entry-list {
  margin: 0;
}
.entry-entry {
  border-bottom: 1px solid var(--rule);
}
.entry-entry:last-child {
  border-bottom: 0;
}
.entry-link {
  display: grid;
  grid-template-columns: 2fr 2fr 5fr;
  column-gap: 1.5rem;
  padding: 1rem 0;
  font: 400 0.9375rem/1.4 var(--sans);
  color: var(--slate);
  transition: color 0.2s;
}
.entry-when {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.entry-minutes {
  font-size: 0.875rem;
  color: var(--slate);
}
.entry-topic {
  color: var(--ink);
}
.entry-main {
  display: block;
  min-width: 0;
}
.entry-title {
  display: block;
  font: 500 1.0625rem/1.35 var(--sans);
  color: var(--ink);
  text-wrap: balance;
}
.entry-summary {
  display: block;
  margin-top: 0.375rem;
  font: 400 0.9375rem/1.45 var(--serif);
  color: var(--slate);
  text-wrap: pretty;
}
.entry-link:hover .entry-title,
.entry-link:focus-visible .entry-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.entry-link:hover .entry-summary {
  color: var(--ink-2);
}

@media (max-width: 767px) {
  .entry-head {
    display: none;
  }
  .entry-link {
    grid-template-columns: auto 1fr;
    column-gap: 0.75rem;
    row-gap: 0.5rem;
    align-items: baseline;
  }
  .entry-topic {
    order: -1;
    font-weight: 500;
  }
  .entry-when {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }
  .entry-main {
    grid-column: 1 / -1;
  }
}

/* After the reference's FeaturedGrid. */
.featured-featured {
  padding-bottom: var(--section-spacer-sm);
}
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}
.featured-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.featured-figure {
  margin: 0;
}
.featured-media {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--tint, var(--tile));
}
.featured-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}
.featured-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--ink);
  text-decoration: none;
}
.featured-title {
  font: 600 var(--headline-4) / 1.2 var(--sans);
  text-wrap: balance;
}
.featured-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.featured-summary {
  font: 400 0.9375rem/1.3125rem var(--serif);
  color: var(--ink);
}
.featured-content:hover .featured-title,
.featured-side-link:hover .featured-side-title {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.featured-side-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.featured-side-link:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.featured-side-title {
  font: 600 var(--headline-6) / 1.2 var(--sans);
}

@media (min-width: 992px) {
  .featured-grid {
    column-gap: var(--gutter);
    row-gap: 1rem;
  }
  .featured-item {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .featured-content {
    flex-direction: row;
    gap: 2rem;
  }
  .featured-content > * {
    flex: 1 1 0;
    min-width: 0;
  }
  .featured-title {
    margin-bottom: 1rem;
  }
}
@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .featured-item {
    grid-column: 1 / span 8;
  }
  .featured-side {
    grid-column: 9 / -1;
    margin-top: 0;
  }
}

/* After the reference's HeroTwoColumn: 96 px above (64 on phones), 48 below
   at 992 px and up; the title over six columns, the links over the other
   six from 1024 px, stacked below. */
.intro-hero {
  padding: var(--section-spacer-lg) 0 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 1.5rem;
}
.intro-kicker {
  margin-bottom: 1rem;
  font: 500 0.875rem/0.875rem var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.intro-title {
  font: 700 var(--headline-1) / 1.1 var(--sans);
  text-wrap: balance;
}
.intro-intro {
  max-width: 32rem;
  margin-top: 1.5rem;
  font: 400 1.0625rem/1.55 var(--serif);
  color: var(--ink-2);
}
.intro-rows li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
}
.intro-label {
  font: 400 0.9375rem/1.3125rem var(--sans);
  letter-spacing: 0;
  color: var(--slate);
}
.intro-rows .text-link {
  overflow-wrap: anywhere;
}

@media (min-width: 992px) {
  .intro-hero {
    padding-bottom: var(--section-spacer-sm);
  }
  .intro-rows li {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .intro-rows li > * {
    flex: 0 0 50%;
    min-width: 0;
  }
}
@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .intro-text {
    grid-column: 1 / span 6;
  }
  .intro-rows {
    grid-column: 7 / -1;
    align-self: start;
  }
}

.meta-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.5rem;
  font: 500 0.875rem/1.05rem var(--sans);
  letter-spacing: 0.15px;
}
.meta-topic {
  color: var(--ink);
}
.meta-date {
  color: var(--slate);
}

/* After the reference's PublicationList. */
.news-news {
  padding-bottom: var(--section-spacer-sm);
}
.news-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  row-gap: 1.5rem;
  margin-bottom: 2rem;
}
.news-heading {
  font: 600 var(--headline-4) / 1.2 var(--sans);
}
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.news-list-header {
  display: none;
}
.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.news-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.5rem;
  row-gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  font: 400 0.875rem/1.05rem var(--sans);
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
}
.news-topic {
  order: -1;
  font-weight: 500;
  color: var(--ink);
}
.news-date {
  color: var(--slate);
}
.news-title {
  flex: 1 0 100%;
  font-size: 0.9375rem;
  line-height: 1.3125rem;
  color: var(--ink);
}
.news-none {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  font: 400 0.9375rem/1.3125rem var(--sans);
  letter-spacing: 0;
  color: var(--slate);
}
.news-see-more {
  display: flex;
  width: 100%;
  margin-top: 2rem;
  padding-left: 1.5rem;
}
.news-see-more .icon {
  width: 1.0625rem;
  height: 1rem;
}

@media (min-width: 992px) {
  .news-header {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    margin-bottom: 3rem;
  }
  .news-heading {
    grid-column: 1 / span 9;
  }
  .news-search {
    grid-column: 10 / -1;
  }
  .news-list-header,
  .news-row {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    column-gap: 1.5rem;
  }
  .news-list-header {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--rule);
    font: 400 0.875rem/1.05rem var(--sans);
    letter-spacing: 0.15px;
    text-transform: uppercase;
    color: var(--slate);
  }
  .news-col-date,
  .news-date {
    grid-column: 1 / span 2;
  }
  .news-col-topic,
  .news-topic {
    grid-column: 3 / span 2;
  }
  .news-col-title,
  .news-title {
    grid-column: 5 / span 5;
  }
  .news-list {
    gap: 1rem;
    border-top: 0;
  }
  .news-row {
    padding: 0 0 1rem;
    font: 400 0.9375rem/1.3125rem var(--sans);
    color: var(--slate);
  }
  .news-list li:last-child .news-row {
    border-bottom: 0;
  }
  .news-date,
  .news-topic {
    order: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    color: inherit;
  }
  .news-title {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
  }
  .news-row:hover,
  .news-row:focus-visible {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.07em;
  }
  .news-none {
    border-top: 0;
    padding-top: 0;
  }
}
@media (min-width: 1024px) {
  .news-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .news-content {
    grid-column: 1 / -1;
  }
}

.pager-pager {
  border-top: 1px solid var(--rule-2);
}
.pager-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-block: 2rem;
}
.pager-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
}
.pager-newer {
  align-items: flex-end;
  text-align: right;
}
.pager-label {
  font: 400 0.875rem/1.2 var(--sans);
  color: var(--slate);
}
.pager-title {
  font: 600 1.1875rem/1.25 var(--sans);
  text-wrap: balance;
}
a.pager-link:hover .pager-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.pager-empty .pager-title {
  font-weight: 400;
  color: var(--slate);
}
@media (max-width: 767px) {
  .pager-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .pager-newer {
    align-items: flex-start;
    text-align: left;
  }
}
@media print {
  .pager-pager {
    display: none;
  }
}

/* The launch page's hero, measured from anthropic.com's model launches
   (Claude Fable 5.1, 2026-10-10): full screen and pulled up under the
   header, the words on a 12-column grid at most 1280 px wide, a tracked
   capital date, a two-line serif title with the second line set right, a
   dotted index, swatches lower left and a credit lower right. the blog's own:
   the picture is an Arcane painting instead of a WebGL scene, and each
   painting sets its sky, focal point, shade and words' tone in its global
   .art-<name> class (src/styles/art.css). */

.painting-hero {
  /* Ivory words over a darkened sky unless the painting asks for ink
     over a pale haze (--launch-ink, --launch-shadow, --scrim-rgb). */
  --ink-on-art: var(--launch-ink, #faf9f5);
  --shadow-on-art: var(--launch-shadow, 0 4px 16px rgb(20 40 70 / 0.11));
  --strip: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  margin-top: calc(-1 * var(--head));
  padding: calc(var(--head) + 48px) 24px calc(var(--strip) + 48px);
  overflow: hidden;
  isolation: isolate;
  background: var(--tint, #6f8db3);
  color: var(--ink-on-art);
  transition: color 1.4s ease-out;
}
@media (min-width: 900px) {
  .painting-hero {
    height: 100svh;
    min-height: 640px;
    padding-bottom: 80px;
  }
}
@media (min-width: 992px) {
  .painting-hero {
    padding-inline: 48px;
  }
}
@media (min-width: 1024px) {
  .painting-hero {
    padding-inline: 80px;
  }
}

/* The painting ------------------------------------------------------------ */
/* A little larger than the hero, so the sway never shows an edge. */
.painting-scene {
  position: absolute;
  inset: -16px;
  z-index: 0;
  transform: translate3d(var(--sway-x, 0px), var(--sway-y, 0px), 0) rotate(var(--sway-r, 0rad));
  will-change: transform;
}
.painting-art {
  position: absolute;
  inset: 0;
  opacity: 0;
}
/* A look blends in over the one beneath it, approaching like the
   reference's scene weights (1 - e^(-2.2 t): 63 % at 0.45 s, 95 % at
   1.36 s). */
.painting-art[data-on] {
  z-index: 2;
  opacity: 1;
  transition: opacity 1.4s
    linear(0, 0.15 5%, 0.278 10%, 0.388 15%, 0.482 20%, 0.563 25%, 0.632 30%, 0.742 40%, 0.823 50%, 0.883 60%, 0.927 70%, 0.959 80%, 0.983 90%, 1);
}
.painting-art[data-under] {
  z-index: 1;
  opacity: 1;
}
/* The first painting fades in over its sky once its file is in, as the
   reference's canvas does once it has drawn. */
.painting-art[data-first][data-on] {
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.painting-art[data-veiled] {
  opacity: 0;
  transition: none;
}
.painting-art img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--hero-pos, var(--focus, 50% 50%));
}
/* Portrait screens get the 3:5 crop, already centred on the subject. */
@media (max-aspect-ratio: 4/5) {
  .painting-art img {
    object-position: 50% 50%;
  }
}

/* A soft shade behind the words, so a bright sky still carries ivory type
   (or a pale haze ink type). Each look carries its own, set by its
   painting's class (--scrim, --scrim-rgb), so the shade blends with the
   picture; a look painted for ivory words (data-tone="light") gets a
   deeper pool behind them. Measured against WCAG AA over every look. */
.painting-art::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  --s: var(--scrim, 0.3);
  --rgb: var(--scrim-rgb, 12 14 20);
  background:
    radial-gradient(
      70% 64% at 50% 52%,
      rgb(var(--rgb) / calc(var(--s) * 1.15)) 0%,
      rgb(var(--rgb) / calc(var(--s) * 0.9)) 50%,
      rgb(var(--rgb) / 0) 85%
    ),
    linear-gradient(
      to bottom,
      rgb(var(--rgb) / calc(var(--s) * 0.6)),
      rgb(var(--rgb) / 0) 22%,
      rgb(var(--rgb) / 0) 70%,
      rgb(var(--rgb) / calc(var(--s) * 0.9))
    );
}
.painting-art[data-tone='light']::after {
  background:
    radial-gradient(
      62% 56% at 50% 50%,
      rgb(var(--rgb) / calc(var(--s) * 1.5)) 0%,
      rgb(var(--rgb) / calc(var(--s) * 1.25)) 45%,
      rgb(var(--rgb) / 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgb(var(--rgb) / calc(var(--s) * 0.6)),
      rgb(var(--rgb) / 0) 22%,
      rgb(var(--rgb) / 0) 70%,
      rgb(var(--rgb) / calc(var(--s) * 0.9))
    );
}
/* Beside a subject the shade leans to the words' side, deepest behind
   them, fading toward the subject. */
.painting-words-right {
  --scrim-dir: to left;
  --scrim-at: 74%;
}
.painting-words-left {
  --scrim-dir: to right;
  --scrim-at: 26%;
}
@media (min-width: 900px) {
  .painting-words-right .painting-art::after,
  .painting-words-left .painting-art::after {
    background:
      radial-gradient(
        40% 72% at var(--scrim-at) 58%,
        rgb(var(--rgb) / calc(var(--s) * 1.9)) 0%,
        rgb(var(--rgb) / calc(var(--s) * 1.6)) 55%,
        rgb(var(--rgb) / 0) 100%
      ),
      linear-gradient(
        var(--scrim-dir),
        rgb(var(--rgb) / calc(var(--s) * 1.25)) 0%,
        rgb(var(--rgb) / calc(var(--s) * 0.9)) 34%,
        rgb(var(--rgb) / 0) 58%
      ),
      linear-gradient(
        to bottom,
        rgb(var(--rgb) / calc(var(--s) * 0.5)),
        rgb(var(--rgb) / 0) 22%,
        rgb(var(--rgb) / 0) 62%,
        rgb(var(--rgb) / calc(var(--s) * 1.2))
      );
  }
}

/* The words --------------------------------------------------------------- */
.painting-words {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  text-shadow: var(--shadow-on-art);
}
.painting-date {
  margin: 0 0 16px;
  text-align: center;
  font: 500 12px/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.painting-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 10.5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.painting-line {
  white-space: normal;
}
.painting-line2 {
  align-self: flex-end;
  padding-left: 1.6em;
  text-align: right;
}
.painting-index {
  width: 100%;
  max-width: 416px;
  margin-top: 48px;
  font: 400 14px/26px var(--serif);
}
/* the blog's titles run longer than the reference's, so on a phone a longer
   line takes a smaller face rather than a fifth line. */
@media (max-width: 899px) {
  .painting-size-l {
    font-size: clamp(36px, 8.4vw, 64px);
    line-height: 1.05;
  }
  .painting-size-m,
  .painting-size-s {
    font-size: clamp(36px, 7.2vw, 56px);
    line-height: 1.05;
  }
}
@media (min-width: 768px) {
  .painting-date {
    margin-bottom: 24px;
    font-size: 14px;
  }
}
/* The size classes are the blog's: its titles run longer than the reference's,
   so a longer line gets wider columns and a smaller face. */
@media (min-width: 900px) {
  .painting-words {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 32px;
    container-type: inline-size;
  }
  .painting-date,
  .painting-title,
  .painting-index {
    grid-column: 3 / 11;
  }
  .painting-title {
    font-size: clamp(48px, 5.3cqi, 72px);
    line-height: 1.1;
    text-wrap: nowrap;
  }
  .painting-line {
    white-space: nowrap;
  }
  .painting-line2 {
    padding-left: 0;
    text-align: left;
  }
  .painting-index {
    grid-column: 4 / 10;
    max-width: none;
    margin-top: 64px;
    font-size: 15px;
  }
  .painting-size-l {
    font-size: clamp(44px, 4.6cqi, 62px);
  }
  .painting-size-m {
    font-size: clamp(40px, 4.1cqi, 56px);
  }
  .painting-size-s {
    font-size: clamp(36px, 3.6cqi, 50px);
  }
  .painting-words-right .painting-date,
  .painting-words-right .painting-title,
  .painting-words-right .painting-index {
    grid-column: 7 / -1;
  }
  .painting-words-left .painting-date,
  .painting-words-left .painting-title,
  .painting-words-left .painting-index {
    grid-column: 1 / 7;
  }
  .painting-words-right .painting-date,
  .painting-words-left .painting-date {
    text-align: left;
  }
  .painting-words-right .painting-index,
  .painting-words-left .painting-index {
    width: 100%;
    max-width: 416px;
  }
  .painting-words-right .painting-index {
    justify-self: end;
  }
  .painting-words-right .painting-title,
  .painting-words-left .painting-title {
    font-size: clamp(40px, 4.6cqi, 62px);
  }
  .painting-words-right .painting-title.painting-size-m,
  .painting-words-right .painting-title.painting-size-s,
  .painting-words-left .painting-title.painting-size-m,
  .painting-words-left .painting-title.painting-size-s {
    font-size: clamp(36px, 3.6cqi, 48px);
    text-wrap: wrap;
  }
}
@media (min-width: 1240px) {
  .painting-date,
  .painting-size-xl,
  .painting-size-l,
  .painting-size-m,
  .painting-size-s {
    grid-column: 4 / 10;
  }
  .painting-index {
    grid-column: 5 / 9;
  }
}

/* The index: [n] ........ chapter -------------------------------------- */
.painting-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.painting-row {
  display: block;
  color: inherit;
  text-decoration: none;
  transition:
    opacity 0.4s,
    filter 0.4s;
}
.painting-row-in {
  display: flex;
  align-items: baseline;
}
.painting-num {
  flex: none;
  font: 400 13px/1 var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
}
.painting-leader {
  flex: 1 1 0;
  min-width: 1rem;
  margin: 0 4px;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 1px;
}
.painting-leader::before {
  content: '................................................................................................................................................................';
}
.painting-label {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.painting-row:hover .painting-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.painting-row:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 3px;
  border-radius: 2px;
}
/* Pointing at one chapter softens the others, the nearest least. */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .painting-index:hover li:not(:hover) .painting-row {
    opacity: 0.8;
    filter: blur(0.5px);
  }
  .painting-index:hover li:hover + li .painting-row,
  .painting-index:hover li:has(+ li:hover) .painting-row {
    opacity: 0.94;
    filter: blur(0.15px);
  }
  .painting-index:hover li:hover + li + li .painting-row,
  .painting-index:hover li:has(+ li + li:hover) .painting-row {
    opacity: 0.86;
    filter: blur(0.35px);
  }
}

/* Looks: the painting's family, as round swatches of each sky ------------ */
.painting-looks {
  position: absolute;
  left: 24px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 7px;
}
.painting-look {
  position: relative;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1.5px solid rgb(255 255 255 / 0.45);
  border-radius: 50%;
  background: var(--tint, #6f8db3);
  box-shadow: 0 1px 3px rgb(20 40 70 / 0.08);
  cursor: pointer;
  transition:
    border-width 0.16s,
    border-color 0.16s,
    transform 0.16s;
}
/* A 44 px target around the dot. */
.painting-look::after {
  content: '';
  position: absolute;
  inset: -11px -4px;
}
.painting-look:hover {
  border-color: rgb(255 255 255 / 0.85);
}
.painting-look[aria-pressed='true'] {
  border: 2px solid rgb(255 255 255 / 0.92);
  transform: scale(1.04);
}
.painting-look:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 50%;
}
.painting-credit {
  position: absolute;
  right: 24px;
  bottom: 15px;
  z-index: 3;
  margin: 0;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgb(var(--scrim-rgb, 250 249 245) / 0.72);
  font: 400 12.5px/20px var(--sans);
  letter-spacing: 0.005em;
  color: var(--ink-on-art);
  text-shadow: var(--shadow-on-art);
}
/* Pale paintings: swatches in ink so they stay visible. The city in mist
   needs no white veil; the bridge keeps a light one (its scrim in
   tools/art.py), because the last rows of the index cross its girders. */
.painting-art-globaltoken0-end {
  --scrim: 0;
}
.painting-hero-globaltoken1-end .painting-look,
.painting-hero-globaltoken2-end .painting-look {
  border-color: rgb(20 20 19 / 0.45);
  box-shadow: 0 1px 3px rgb(20 20 19 / 0.12);
}
.painting-hero-globaltoken3-end .painting-look:hover,
.painting-hero-globaltoken4-end .painting-look:hover {
  border-color: rgb(20 20 19 / 0.85);
}
.painting-hero-globaltoken5-end .painting-look[aria-pressed='true'],
.painting-hero-globaltoken6-end .painting-look[aria-pressed='true'] {
  border-color: rgb(20 20 19 / 0.92);
}
.painting-hero-globaltoken7-end .painting-look:focus-visible,
.painting-hero-globaltoken8-end .painting-look:focus-visible {
  outline-color: #141413;
}
.painting-credit cite {
  font-style: italic;
}
/* Phones: the words stand in the middle, so the shade does too; the
   swatches and the credit sit in a 50 px strip at the foot, under a faint
   line. */
@media (max-width: 899px) {
  .painting-hero {
    --strip: 50px;
  }
  .painting-art[data-tone='light']::after,
  .painting-words-right .painting-art[data-tone='light']::after,
  .painting-words-left .painting-art[data-tone='light']::after {
    background:
      radial-gradient(
        95% 62% at 50% 52%,
        rgb(var(--rgb) / calc(var(--s) * 2)) 0%,
        rgb(var(--rgb) / calc(var(--s) * 1.85)) 55%,
        rgb(var(--rgb) / 0) 100%
      ),
      linear-gradient(
        to bottom,
        rgb(var(--rgb) / calc(var(--s) * 0.6)),
        rgb(var(--rgb) / 0) 22%,
        rgb(var(--rgb) / 0) 70%,
        rgb(var(--rgb) / calc(var(--s) * 0.9))
      );
  }
  .painting-words-right .painting-art::after,
  .painting-words-left .painting-art::after {
    background:
      radial-gradient(80% 60% at 50% 50%, rgb(var(--rgb) / calc(var(--s) * 1.4)), rgb(var(--rgb) / 0) 78%),
      linear-gradient(
        to bottom,
        rgb(var(--rgb) / calc(var(--s) * 0.6)),
        rgb(var(--rgb) / 0) 22%,
        rgb(var(--rgb) / 0) 70%,
        rgb(var(--rgb) / calc(var(--s) * 0.9))
      );
  }
  .painting-hero::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    z-index: 3;
    height: 1px;
    background: rgb(255 255 255 / 0.18);
    pointer-events: none;
  }
}
@media (min-width: 900px) {
  .painting-looks {
    left: 22px;
    bottom: 22px;
    gap: 8px;
  }
  .painting-look {
    width: 18px;
    height: 18px;
  }
  .painting-look::after {
    inset: -13px -5px;
  }
  .painting-credit {
    right: 22px;
    bottom: 22px;
  }
}

/* The entrance: once the fonts are in, the date, then each title line,
   then the index row by row (0.3 s apart, 45 ms a row, 0.8 s ease-out);
   the title sharpens from a wider blur and is fully opaque at 45 %. A page
   without script shows the words after 5 s. */
@keyframes fx-wait {
  to {
    opacity: 1;
  }
}
@keyframes fx-el-in {
  from {
    opacity: 0;
    filter: blur(12px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
@keyframes fx-title-in {
  0% {
    opacity: 0;
    filter: blur(26px);
  }
  45% {
    opacity: 1;
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}
.painting-fx {
  opacity: 0;
  animation: fx-wait 0s linear 5s forwards;
}
.painting-hero[data-fx-ready] .painting-fx {
  animation: fx-el-in 0.8s ease-out both;
  animation-delay: calc(var(--fx-order, 0) * 0.3s + var(--fx-row, 0) * 45ms);
}
.painting-hero[data-fx-ready] .painting-line {
  animation-name: fx-title-in;
}
.painting-date {
  --fx-order: 0;
}
.painting-line {
  --fx-order: 1;
}
.painting-line2 {
  --fx-order: 2;
}
.painting-row-in {
  --fx-order: 3;
}
.painting-index li:nth-child(2) { --fx-row: 1; }
.painting-index li:nth-child(3) { --fx-row: 2; }
.painting-index li:nth-child(4) { --fx-row: 3; }
.painting-index li:nth-child(5) { --fx-row: 4; }
.painting-index li:nth-child(6) { --fx-row: 5; }
.painting-index li:nth-child(7) { --fx-row: 6; }
.painting-index li:nth-child(8) { --fx-row: 7; }
.painting-index li:nth-child(9) { --fx-row: 8; }
.painting-index li:nth-child(n + 10) { --fx-row: 9; }

@media (prefers-reduced-motion: reduce) {
  .painting-scene {
    transform: none;
  }
  .painting-hero,
  .painting-art,
  .painting-art[data-on],
  .painting-art[data-first][data-on],
  .painting-row,
  .painting-look {
    transition: none;
  }
  .painting-fx,
  .painting-hero[data-fx-ready] .painting-fx {
    opacity: 1;
    filter: none;
    animation: none;
  }
}

@media print {
  .painting-hero {
    height: auto;
    min-height: 0;
    margin-top: 0;
    padding: 0 0 1.5rem;
    background: none;
    color: #000;
  }
  .painting-hero .painting-title,
  .painting-hero .painting-date {
    color: #000;
  }
  .painting-hero::before,
  .painting-scene,
  .painting-looks,
  .painting-credit,
  .painting-index {
    display: none;
  }
  .painting-words {
    display: block;
    width: auto;
    container-type: normal;
    text-shadow: none;
  }
  .painting-hero .painting-title {
    display: block;
    font-size: 28pt;
    text-wrap: wrap;
  }
  .painting-line, .painting-line2 {
    display: inline;
    padding: 0;
    white-space: normal;
  }
  .painting-date { text-align: left; }
  .painting-fx, .painting-hero[data-fx-ready] .painting-fx {
    opacity: 1;
    filter: none;
    animation: none;
  }
}

/* The post's frame: the reading column (640 px, the reference's
   .reading-column), the lede, and the report's box that holds its sticky
   contents column. A launch body starts 128 px under its hero, a report's
   48 px under its band (the reference's .article and section padding). */
.post-post {
  position: relative;
}
.post-report-body {
  position: relative;
}
/* The body is as wide as the media column (880 px); the text inside it
   keeps to the 640 px reading column, and figures use the full width. */
.post-body {
  width: min(100% - 2 * var(--margin), 880px);
  margin-inline: auto;
  padding: 48px 0 64px;
}
@media (min-width: 992px) {
  .post-body {
    padding-bottom: 96px;
  }
}
.post-lede,
.post-column {
  max-width: 640px;
  margin-inline: auto;
}
.post-launch .post-body {
  padding-top: 64px;
}
.post-lede {
  margin-bottom: 48px;
  font: 400 22px/30px var(--serif);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
@media (min-width: 992px) {
  .post-lede {
    font-size: 28px;
    line-height: 36px;
  }
}
@media (min-width: 1024px) {
  .post-launch .post-body {
    padding-top: 128px;
  }
}
@media print {
  .post-body {
    width: auto;
    padding-top: 0;
  }
}

/* The rail: the reference's launch side contents. A 44 x 20 target per
   chapter at the left edge with a 16 px tick (24 px and ink when it is the
   chapter being read), and the chapter's name in an ink pill on pointing
   or focus. */
.rail-rail {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 30;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.rail-rail[data-visible],
.rail-rail:focus-within {
  opacity: 1;
  visibility: visible;
}
.rail-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.rail-rail[data-dragging] ol {
  cursor: grabbing;
}
.rail-link {
  position: relative;
  display: block;
  width: 44px;
  height: 24px;
  color: inherit;
  text-decoration: none;
  cursor: inherit;
}
.rail-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--slate);
  opacity: 0.6;
  transition:
    width 0.25s,
    opacity 0.25s,
    background-color 0.25s;
}
.rail-link:hover::before,
.rail-link:focus-visible::before {
  background: var(--ink-2);
  opacity: 1;
}
.rail-link[aria-current]::before {
  width: 24px;
  background: var(--ink);
  opacity: 1;
}
.rail-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.rail-pill {
  position: absolute;
  left: 34px;
  top: 50%;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory);
  font: 400 12px/18px var(--sans);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-4px);
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.rail-link:hover .rail-pill,
.rail-link:focus-visible .rail-pill {
  opacity: 1;
  transform: translateY(-50%);
}
.rail-rail[data-dragging] .rail-link:hover .rail-pill {
  opacity: 0;
}
@media (max-width: 1079px) {
  .rail-rail {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rail-rail,
  .rail-link::before,
  .rail-pill {
    transition: none;
  }
}
@media print {
  .rail-rail {
    display: none;
  }
}

/* "Related writing", after the reference's "Related content": 96 px above,
   the heading at 32/38.4, three cards a row with 32 px gutters, each a
   title (19/22.8), a serif summary (15/21) and "Read more →". */
.related-related {
  padding: 64px 0 64px;
}
.related-heading {
  margin: 0 0 32px;
  font: 600 23px/27.6px var(--sans);
}
.related-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.related-card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.related-title {
  margin: 0;
  font: 600 17px/20.4px var(--sans);
  text-wrap: balance;
}
.related-title-link {
  color: var(--ink);
  text-decoration: none;
}
.related-title-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.related-summary {
  margin: 0;
  font: 400 15px/21px var(--serif);
  color: var(--ink);
  text-wrap: pretty;
}
.related-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font: 400 15px/21px var(--sans);
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.895, 0.03, 0.685, 0.22);
}
.related-more svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.related-more:hover,
.related-card:has(.related-title-link:hover) .related-more {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
@media (min-width: 992px) {
  .related-related {
    padding: 96px 0;
  }
  .related-cards {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .related-heading {
    font-size: 32px;
    line-height: 38.4px;
  }
  .related-title {
    font-size: 19px;
    line-height: 22.8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .related-more {
    transition: none;
  }
}
@media print {
  .related-related {
    display: none;
  }
}

/* The report's band, measured from anthropic.com (2026-10-10): oat
   (#f0eee6), 96 px above and 48 below at desktop, the title in the bold
   sans at 64/64 (48 from 992, 36/36 below), the buttons in the sans at 15,
   the chapter grid four across with 32 px gutters and 48 px between rows. */
.report-band {
  padding: 64px 0 32px;
  background: var(--ivory-2);
}
.report-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  padding-top: 24px;
  padding-bottom: 8px;
}
.report-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.report-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  font: 700 15px/21px var(--sans);
}
.report-topics a {
  color: var(--ink);
  text-decoration: none;
}
.report-topics a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.report-title {
  max-width: 880px;
  margin: 0;
  font: 700 36px/1 var(--sans);
  letter-spacing: 0;
  text-wrap: balance;
}
.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  font: 400 15px/21px var(--sans);
  color: var(--ink);
}
.report-meta > * {
  white-space: nowrap;
}
.report-meta > * + *::before {
  content: '·';
  margin-right: 8px;
  color: var(--slate);
}
/* On a phone the line may wrap: no dot at the start of a line. */
@media (max-width: 566px) {
  .report-meta {
    gap: 4px 16px;
  }
  .report-meta > * + *::before {
    content: none;
  }
}
.report-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
/* Buttons as the reference's "large" ones: 40 px, 8/16, radius 8, the
   label in the sans at 15/21. */
.report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font: 400 15px/21px var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-in-out),
    color 0.2s var(--ease-in-out);
}
.report-button[hidden] {
  display: none;
}
.report-primary {
  background: var(--ink);
  color: var(--ivory);
}
.report-primary:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
}
.report-secondary {
  background: transparent;
  color: var(--ink);
}
.report-secondary:hover,
.report-secondary[data-done] {
  background: var(--ink);
  color: var(--ivory);
}
.report-chapters {
  padding-top: 64px;
}
.report-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px 32px;
  margin-block: 0;
  padding-block: 0;
  list-style: none;
}
.report-name {
  margin: 0;
  font: 600 17px/20.4px var(--sans);
  text-wrap: balance;
}
.report-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font: 400 15px/21px var(--sans);
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.895, 0.03, 0.685, 0.22);
}
.report-more svg {
  width: 17px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.report-more:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
@media (min-width: 992px) {
  .report-band {
    padding: 96px 0 48px;
  }
  .report-inner {
    align-items: center;
    gap: 32px;
    text-align: center;
  }
  .report-byline {
    justify-content: center;
  }
  .report-title {
    font-size: 48px;
    line-height: 1;
  }
  .report-actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
  .report-chapters {
    padding-top: 96px;
  }
  .report-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 32px;
  }
  .report-name {
    font-size: 19px;
    line-height: 22.8px;
  }
}
@media (min-width: 1024px) {
  .report-title {
    font-size: 64px;
  }
}
@media (min-width: 700px) and (max-width: 991px) {
  .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .report-button,
  .report-more {
    transition: none;
  }
}
@media print {
  .report-band {
    padding: 0 0 1.5rem;
    background: none;
  }
  .report-actions,
  .report-chapters {
    display: none;
  }
}

/* The reading column's type, measured from anthropic.com's article body
   (2026-10-10): serif 17/26.35 in a 640 px column, paragraphs 16 px apart;
   h2 32/38.4 with 64 above and 32 below, h3 25/30 and h4 19/22.8 with 32
   above and 8 below (smaller under 1024 px); links ink, underlined at .18em
   and .08em thick, slate on hover; figures up to the 880 px media column
   with a left-aligned caption; code on oat. Headings are in the serif on a
   launch post and the sans on a report or a page. Colours and faces are
   the site's tokens (src/styles/tokens.css). */

.rich-prose {
  font: 400 17px/26.35px var(--serif);
  letter-spacing: 0;
  color: var(--ink);
  overflow-wrap: break-word;
}
/* In a post every block keeps to the reading column but figures, which take
   the media column (the post body is that wide). */
.rich-post > * {
  max-width: 640px;
  margin-inline: auto;
}
.rich-post > .rich-wide {
  max-width: 880px;
}
.rich-prose > :first-child {
  margin-top: 0;
}
.rich-prose > * + * {
  margin-top: 16px;
}
.rich-prose p {
  margin-bottom: 0;
}

/* Headings ---------------------------------------------------------------- */
/* The page keeps the header's height clear above a heading it scrolls to
   (html scroll-padding-top); a launch post adds 32 px, as the reference's
   launch headings do. */
.rich-prose h2,
.rich-prose h3,
.rich-prose h4 {
  letter-spacing: 0;
}
.rich-prose h2 {
  margin-top: 64px;
  margin-bottom: 32px;
  font-size: 23px;
  line-height: 27.6px;
  text-wrap: pretty;
}
.rich-prose h3 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 24px;
  text-wrap: pretty;
}
.rich-prose h4 {
  margin-top: 32px;
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 20.4px;
}
@media (min-width: 1024px) {
  .rich-prose h2 {
    font-size: 32px;
    line-height: 38.4px;
  }
  .rich-prose h3 {
    font-size: 25px;
    line-height: 30px;
  }
  .rich-prose h4 {
    font-size: 19px;
    line-height: 22.8px;
  }
}
.rich-prose h2 + *,
.rich-prose h3 + *,
.rich-prose h4 + * {
  margin-top: 0;
}
.rich-serif-heads h2,
.rich-serif-heads h3,
.rich-serif-heads h4 {
  font-family: var(--serif);
  font-weight: 500;
  scroll-margin-top: 32px;
}
.rich-sans-heads h2,
.rich-sans-heads h3,
.rich-sans-heads h4 {
  font-family: var(--sans);
  font-weight: 600;
}
/* A page's sections are shorter than a post's chapters. */
.rich-page h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

/* Inline ------------------------------------------------------------------ */
.rich-prose a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: none;
  transition: color 0.15s var(--ease-in-out, ease);
}
.rich-prose a:hover,
.rich-prose a:focus-visible {
  color: var(--slate);
}
.rich-prose strong,
.rich-prose b {
  font-weight: 600;
}
/* Inline code: the reference's oat chip with a hairline. Its clay is
   darkened (--code-ink) so the words pass WCAG AA on the oat. A chip
   longer than the line (a hash, a flag, a URL) breaks inside the column
   rather than pushing the page sideways; each piece keeps the chip. */
.rich-prose :not(pre) > code {
  padding: 0 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--ivory-2);
  color: var(--code-ink);
  font-family: var(--mono);
  font-size: 17px;
  line-height: inherit;
  overflow-wrap: anywhere;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.rich-prose a > code {
  color: inherit;
}
.rich-prose sub,
.rich-prose sup {
  font-size: 0.75em;
  line-height: 0;
}

/* Blocks ------------------------------------------------------------------ */
.rich-prose ul,
.rich-prose ol {
  padding-left: 1.25em;
  list-style: revert;
}
.rich-prose li {
  margin-bottom: 12px;
}
.rich-prose li:last-child {
  margin-bottom: 0;
}
.rich-prose li > ul,
.rich-prose li > ol {
  margin-top: 12px;
}
.rich-prose li::marker {
  color: var(--slate);
}
.rich-prose blockquote {
  padding: 4px 0 4px 16px;
  border-left: 1px solid var(--ink);
  color: var(--ink-2);
}
.rich-prose blockquote > * + * {
  margin-top: 12px;
}
.rich-prose hr {
  height: 0;
  margin-block: 48px;
  border: 0;
  border-top: 1px solid var(--rule-2);
}
.rich-prose hr + * {
  margin-top: 0;
}

/* Figures: up to the media column, 2em above and below, radius 16 (8 on
   phones), the caption in the sans at 14 under it, left-aligned. */
.rich-figure {
  margin-block: 2em;
}
.rich-prose > .rich-figure + * {
  margin-top: 0;
}
.rich-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: var(--ivory-2);
}
.rich-small img {
  width: auto;
  max-width: 100%;
}
.rich-figure figcaption {
  margin-top: 8px;
  font: 400 14px/16.8px var(--sans);
  letter-spacing: 0.15px;
  color: var(--slate);
}
@media (min-width: 567px) {
  .rich-figure img {
    border-radius: 16px;
  }
}

/* Code blocks: oat, a 1 px #e8e6dc frame, radius 12 (8 below 992), the
   code in the mono at 15/21. The bar carries the language and the copy
   button; a long block shows 300 px and an Expand bar. */
.rich-code {
  position: relative;
  margin-block: 24px;
  border: 1px solid var(--ivory-3);
  border-radius: 8px;
  background: var(--ivory-2);
  color: var(--ink);
}
@media (min-width: 992px) {
  .rich-code {
    border-radius: 12px;
  }
}
.rich-prose > .rich-code + * {
  margin-top: 0;
}
/* The bar sits in the block's top padding: the language at the left, in
   line with the code, the copy button at the right. */
.rich-code-bar {
  position: absolute;
  top: 6px;
  left: 32px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 28px;
  pointer-events: none;
}
.rich-code-bar > * {
  pointer-events: auto;
}
.rich-code-lang {
  font: 500 12px/16.8px var(--sans);
  letter-spacing: 0.02em;
  color: var(--slate);
}
.rich-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--slate);
  font: 400 12px/1 var(--sans);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-in-out, ease),
    color 0.2s var(--ease-in-out, ease);
}
.rich-copy[hidden] {
  display: none;
}
.rich-copy:hover {
  background: var(--ivory-3);
  color: var(--ink);
}
.rich-copy[data-done] {
  color: var(--ink);
}
.rich-copy-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rich-pre {
  margin: 0;
  padding: 32px;
  overflow-x: auto;
  font: 400 15px/21px var(--mono);
  letter-spacing: -0.02em;
  tab-size: 4;
  white-space: pre;
  scrollbar-color: var(--rule-2) var(--ivory-2);
}
.rich-code:has(.rich-code-lang) .rich-pre {
  padding-top: 44px;
}
.rich-pre::-webkit-scrollbar {
  height: 8px;
}
.rich-pre::-webkit-scrollbar-track {
  border-radius: 8px;
  background: var(--ivory-2);
}
.rich-pre::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--rule-2);
}
.rich-pre code {
  font: inherit;
}
.rich-pre:focus-visible {
  outline: 2px solid var(--focus, #2c84db);
  outline-offset: -2px;
  border-radius: 0 0 8px 8px;
}
/* A long block: 300 px of it, then the bar; opening it eases the height
   (0.5 s, ease-out-quart) and turns the chevron (ease-in-out-quart). */
.rich-pre[data-collapsed] {
  height: 300px;
  overflow-y: hidden;
}
.rich-collapsible .rich-pre {
  interpolate-size: allow-keywords;
  transition: height 0.5s var(--ease-out, ease-out);
}
@media (scripting: none) {
  .rich-pre[data-collapsed] {
    height: auto;
  }
  .rich-expand-bar {
    display: none;
  }
}
.rich-expand-bar {
  display: flex;
  justify-content: flex-end;
  padding: 8px 32px;
  border-radius: 0 0 7px 7px;
  background: var(--ivory-3);
}
@media (min-width: 992px) {
  .rich-expand-bar {
    border-radius: 0 0 11px 11px;
  }
}
.rich-expand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 400 14px/24px var(--sans);
  cursor: pointer;
}
.rich-expand svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s var(--ease-in-out, ease-in-out);
}
.rich-expand[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.rich-expand:hover span {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* The palette (highlight.go's classes): clay keywords, sky types, olive
   strings, cloud comments, rose numbers, ink functions, teal variables,
   slate properties. Each passes AA on the oat. */
.rich-hl-k,
.rich-hl-g {
  color: #a3412b;
}
.rich-hl-t {
  color: #2f6299;
}
.rich-hl-s {
  color: #4f6b33;
}
.rich-hl-c {
  color: var(--slate);
  font-style: italic;
}
.rich-hl-n {
  color: #9a3f63;
}
.rich-hl-f {
  color: var(--ink);
  font-weight: 500;
}
.rich-hl-m {
  color: #a3412b;
  font-style: italic;
}
.rich-hl-v {
  color: #2b6b5f;
}
.rich-hl-p {
  color: var(--slate);
}
@media screen and (prefers-color-scheme: dark) {
  .rich-hl-k,
  .rich-hl-m,
  .rich-hl-g {
    color: #eb9a80;
  }
  .rich-hl-t {
    color: #8fb6e0;
  }
  .rich-hl-s {
    color: #a9c48a;
  }
  .rich-hl-n {
    color: #e09ab6;
  }
  .rich-hl-v {
    color: #8fcfc0;
  }
}

/* A chapter or footnote the reader jumped to glows oat for two seconds and
   fades over the third (the reference's "landing"). */
.rich-prose :target {
  animation: landing 3s linear;
}
@keyframes landing {
  0%,
  67% {
    background-color: var(--ivory-2);
  }
  100% {
    background-color: transparent;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rich-prose :target {
    animation: none;
    background-color: var(--ivory-2);
  }
  .rich-prose a,
  .rich-copy,
  .rich-collapsible .rich-pre,
  .rich-expand svg {
    transition: none;
  }
}

.rich-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media print {
  .rich-code-bar,
  .rich-expand-bar {
    display: none;
  }
  .rich-pre,
  .rich-pre[data-collapsed] {
    height: auto;
    white-space: pre-wrap;
  }
  .rich-prose a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #555;
  }
}

.search-main {
  grid-column: 1 / -1;
  min-width: 0;
}
.search-status {
  margin-top: 1.5rem;
  font: 400 0.9375rem/1.4 var(--sans);
  color: var(--slate);
}
.search-status q {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.search-help {
  margin-top: 1.5rem;
  font: 400 1.0625rem/1.55 var(--serif);
  color: var(--ink-2);
}
.search-help a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.search-head,
.search-result {
  display: grid;
  grid-template-columns: 2fr 2fr 5fr;
  column-gap: 1.5rem;
}
.search-head {
  margin-top: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-2);
  font: 400 0.875rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--slate);
}
.search-results {
  margin: 0;
}
.search-result {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  font: 400 0.9375rem/1.4 var(--sans);
  color: var(--slate);
}
.search-result:last-child {
  border-bottom: 0;
}
.search-when {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.search-minutes {
  font-size: 0.875rem;
}
.search-topic {
  align-self: start;
  justify-self: start;
  color: var(--ink);
}
a.search-topic:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.search-result-main {
  min-width: 0;
}
.search-title {
  font: 500 1.0625rem/1.35 var(--sans);
}
.search-title a {
  color: var(--ink);
}
.search-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.search-snippet {
  margin-top: 0.375rem;
  font: 400 0.9375rem/1.45 var(--serif);
  color: var(--ink-2);
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .search-head {
    display: none;
  }
  .search-result {
    grid-template-columns: auto 1fr;
    column-gap: 0.75rem;
    row-gap: 0.5rem;
    align-items: baseline;
  }
  .search-topic {
    order: -1;
    position: relative;
    font-weight: 500;
  }
  /* A larger target for the topic link on a phone. */
  a.search-topic::after {
    content: "";
    position: absolute;
    inset: -0.75rem -0.5rem;
  }
  .search-when {
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
  }
  .search-result-main {
    grid-column: 1 / -1;
  }
}

.search-field-small,
.search-field-field {
  position: relative;
}
.search-field-large {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.search-field-large .search-field-field {
  flex: 1;
  min-width: 0;
}
.search-field-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  width: 1.25rem !important;
  height: 1.25rem !important;
  transform: translateY(-50%);
  color: var(--cloud);
  pointer-events: none;
}
.search-field-input {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--field);
  color: var(--ink);
  font: 400 0.875rem/0.875rem var(--sans);
  letter-spacing: 0;
  transition: all 0.2s;
}
.search-field-input::placeholder {
  color: var(--slate);
}
.search-field-input:focus,
.search-field-input:focus-visible {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.search-field-input::-webkit-search-cancel-button {
  appearance: none;
  display: none;
}
.search-field-submit {
  min-height: 2.75rem;
}

@media (min-width: 768px) {
  .search-field-large {
    flex-direction: row;
    align-items: stretch;
  }
}

.sections-sections {
  padding: 1rem 0 4rem;
}
.sections-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: calc(var(--head) + 1rem);
}
.sections-row:last-child {
  border-bottom: 0;
}
.sections-title {
  grid-column: 1 / span 4;
  font-size: 1.1875rem;
  line-height: 1.2;
}
.sections-content {
  grid-column: 5 / span 7;
  min-width: 0;
}
/* The notice the pictures need, quoted: set as fine print. */
.sections-row .sections-content blockquote {
  padding: 0;
  border: 0;
  font: 400 0.875rem/1.5 var(--sans);
  color: var(--slate);
}
.sections-pairs > div {
  display: grid;
  grid-template-columns: minmax(4.5rem, 1fr) minmax(0, 3fr);
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
  font: 400 0.9375rem/1.4 var(--sans);
}
.sections-pairs dt {
  color: var(--slate);
}
.sections-pairs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.sections-pairs a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

@media (max-width: 767px) {
  .sections-row {
    display: block;
  }
  .sections-content {
    margin-top: 0.75rem;
  }
}

/* A report's contents, measured from the reference's report sidebar. */

/* From 1200 px: a sticky column at the left edge of the content width,
   172 px wide at 1440, overhanging the text's row. */
.toc-side {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(var(--margin), (100% - var(--max)) / 2);
  width: 10.75rem;
  padding-top: 48px;
}
.toc-toc {
  position: sticky;
  top: calc(var(--head) + 24px);
  opacity: 0;
  transform: translateY(32px);
}
.toc-toc[data-inview] {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.2s var(--ease-out) 0.3s,
    transform 0.5s var(--ease-out) 0.3s;
}
.toc-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s;
}
.toc-toc li + li {
  border-top: 1px solid var(--rule-2);
}
.toc-toc a {
  display: block;
  padding: 12px 0;
  font: 500 12px/14.4px var(--sans);
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}
.toc-toc a:hover,
.toc-toc a[aria-current] {
  color: var(--ink);
}
.toc-toc a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Something wide on screen: the list steps aside, a toggle stands in. */
.toc-toggle {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--slate);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.toc-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.toc-toc[data-crowded]:not(:hover, :focus-within) ol {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10%);
}
.toc-toc[data-crowded]:not(:hover, :focus-within) .toc-toggle {
  opacity: 1;
  visibility: visible;
}

/* Below 1200 px: a bar under the header with the current chapter. */
.toc-bar {
  position: fixed;
  top: var(--head);
  left: 0;
  right: 0;
  z-index: 35;
  border-block: 1px solid var(--rule-2);
  background: var(--ivory);
  visibility: hidden;
  opacity: 0;
}
.toc-bar[data-shown] {
  visibility: visible;
  opacity: 1;
}
.toc-bar-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 2 * var(--margin), var(--max));
  margin-inline: auto;
  padding: 12px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: 400 16px/20px var(--sans);
  text-align: left;
  cursor: pointer;
}
.toc-bar-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.toc-caret {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease-in-out;
}
.toc-bar[data-open] .toc-caret {
  transform: rotate(180deg);
}
.toc-bar-list {
  padding-bottom: 8px;
}
.toc-bar-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc-bar-list li {
  border-top: 1px solid var(--rule-2);
}
.toc-bar-list a {
  display: block;
  padding: 12px 0;
  font: 400 15px/21px var(--sans);
  color: var(--slate);
  text-decoration: none;
}
.toc-bar-list a[aria-current] {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 1199px) {
  /* The fixed chapter bar has a 20px line, 24px padding and two borders. */
  [data-post-kind="report"] .rich-prose [id] {
    scroll-margin-top: 54px;
  }

  .toc-side {
    display: none;
  }
}
@media (min-width: 1200px) {
  .toc-bar {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .toc-toc,
  .toc-toc[data-inview] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .toc-toc ol,
  .toc-toc a,
  .toc-toggle,
  .toc-caret {
    transition: none;
  }
}
@media print {
  .toc-side,
  .toc-bar {
    display: none;
  }
}

.topics-list li {
  border-bottom: 1px solid var(--rule);
}
.topics-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8125rem 0;
  font: 400 0.9375rem/1.3 var(--sans);
  color: var(--slate);
  transition: color 0.15s;
}
.topics-row:hover,
.topics-row[aria-current] {
  color: var(--ink);
}
.topics-row[aria-current] {
  font-weight: 600;
}
.topics-count {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--slate);
}

/* All the topics: the same list, set larger, in two columns. */
.topics-large {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.topics-large .topics-row {
  padding: 1rem 0;
  font: 600 1.1875rem/1.3 var(--sans);
  color: var(--ink);
}
.topics-large .topics-row:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.topics-large .topics-count {
  font: 400 0.9375rem/1.3 var(--sans);
  color: var(--slate);
}

@media (max-width: 767px) {
  .topics-large {
    grid-template-columns: minmax(0, 1fr);
  }
  .topics-row {
    min-height: 2.75rem;
    align-items: center;
  }
}

@font-face {
  font-family: "DM Sans";
  src: url("/blog/fonts/dm-sans-var.woff2") format("woff2");
  font-style: normal; font-weight: 100 1000; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/blog/fonts/source-serif-var.woff2") format("woff2");
  font-style: normal; font-weight: 200 900; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/blog/fonts/source-serif-italic-var.woff2") format("woff2");
  font-style: italic; font-weight: 200 900; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/blog/fonts/plex-mono.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
.masthead {
  position: sticky;
  z-index: 50;
  top: 0;
  background: var(--ivory);
  color: var(--ink);
}
.masthead-inner {
  height: var(--head);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.desktop-nav, .colophon nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  font: 500 .9375rem/1.4 var(--sans);
}
.masthead nav a, .colophon nav a { color: inherit; text-decoration: none; }
.masthead nav a:hover, .masthead nav a[aria-current], .colophon nav a:hover {
  text-decoration: underline;
  text-underline-offset: .25em;
}
.phone-nav { display: none; }
.colophon { background: var(--night-bg); color: var(--on-night); padding-block: 4rem; }
.colophon-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; }
.colophon nav { font-size: .875rem; color: var(--on-night-muted); }
.credit {
  margin-top: 3rem;
  border-top: 1px solid var(--night-rule);
  padding-top: 1.5rem;
  max-width: 66rem;
  color: var(--on-night-muted);
  font: 400 .8125rem/1.65 var(--sans);
}
.toc-bar-list { max-height: 55vh; overflow-y: auto; }
.rail-rail ol { cursor: auto; touch-action: pan-y; }
.painting-looks { display: none; }
@media screen {
  .enhanced .painting-looks { display: flex; }
}
@media (max-width: 700px) {
  .desktop-nav { display: none; }
  .phone-nav { display: block; }
  .phone-nav summary {
    cursor: pointer; padding: .75rem 0 .75rem 1rem;
    font: 500 1rem/1.4 var(--sans);
  }
  .phone-nav nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: grid; padding: .5rem var(--page-margins) 1.5rem;
    border-bottom: 1px solid var(--rule); background: var(--ivory);
    font: 500 1.0625rem/1.4 var(--sans);
  }
  .phone-nav a { padding-block: .65rem; }
  .colophon-inner { display: grid; }
  .colophon nav { gap: 1rem 1.5rem; }
}
