@font-face{font-family:'Newsreader';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/newsreader-italic-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/newsreader-italic-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/newsreader-normal-400_700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/newsreader-normal-400_700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-tight-normal-400_700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/inter-tight-normal-400_700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/jetbrains-mono-normal-400_600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/jetbrains-mono-normal-400_600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root{
--ground:#2B2B2B;--paper:#F3EFE7;--paper-2:#E8E4DD;--accent:#B5651D;--accent-text:#945318;
--accent-strong:#AE611C;--on-accent:#FFFFFF;--accent-on-ground:#B5651D;
--head:#2B2B2B;--ink:#232323;--ink-2:#62625F;--rule:#D3D0C9;--rule-strong:#9F9D98;
--on-ground:#F3EFE7;--on-ground-2:#A89F94;--ground-line:#535251;
--error:#A4161A;--ok:#1E6B3A;
--f-head:'Newsreader', Georgia, 'Times New Roman', serif;--f-body:'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;--f-mono:'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;--f-dek:'Newsreader', Georgia, 'Times New Roman', serif;
--head-weight:650;--head-track:-0.008em;
--select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2362625F' stroke-width='2'/%3E%3C/svg%3E");
}
/* Newsroom shared stylesheet. Site tokens (:root) and @font-face rules are prepended by build.py. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--paper); color: var(--ink); padding: 8px 14px; font-family: var(--f-mono); font-size: 13px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* Mono metadata: the brand's one uppercase register */
.mono, .kicker, .meta, .ad-label, .ticker-label, .ribbon, .byline-sub, .pager, .crumbs {
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker { color: var(--accent-text); display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; }
.kicker a { text-decoration: none; color: inherit; }
.kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kicker .label { color: var(--ink-2); padding-left: 12px; border-left: 1px solid var(--rule-strong); }
.meta { color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 10px 0 0; }
.meta > * + * { padding-left: 14px; border-left: 1px solid var(--rule-strong); }

/* The accent bar: the device from the wordmark, used to open sections */
.bar::before { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); margin-bottom: 14px; }

h1, h2, h3, h4 { font-family: var(--f-head); color: var(--head); font-weight: var(--head-weight); letter-spacing: var(--head-track); margin: 0; text-wrap: balance; }
h1 { line-height: 1.08; }
h2, h3 { line-height: 1.16; }

/* Preview ribbon */
.ribbon { background: var(--accent-strong); color: var(--on-accent); text-align: center; padding: 7px 16px; font-size: 11.5px; }

/* Masthead */
.mast { background: var(--ground); color: var(--on-ground); }
.mast-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 14px; }
.brand { display: block; flex: 0 1 auto; min-width: 0; }
.brand img { width: min(240px, 100%); height: auto; }
@media (min-width: 720px) { .brand img { height: 46px; width: auto; max-width: none; } .mast-row { padding-top: 24px; padding-bottom: 20px; } }
.mast-util { display: none; align-items: center; gap: 22px; font-family: var(--f-body); font-size: 15px; }
.mast-util a { color: var(--on-ground); text-decoration: none; }
.mast-util a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.mast-util .btn-sub { border: 1px solid var(--on-ground-2); padding: 7px 14px; }
.mast-util .btn-sub:hover { border-color: var(--on-ground); text-decoration: none; }
@media (min-width: 900px) { .mast-util { display: flex; } }
.menu-btn { flex: 0 0 auto; appearance: none; background: transparent; color: var(--on-ground); border: 1px solid var(--on-ground-2); font: 500 14px/1 var(--f-body); padding: 10px 14px; cursor: pointer; display: inline-flex; gap: 10px; align-items: center; }
.menu-btn .bars { width: 16px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; }
@media (min-width: 900px) { .menu-btn { display: none; } }

.sections { border-top: 1px solid var(--ground-line); }
.sections ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.sections ul::-webkit-scrollbar { display: none; }
.sections a { display: block; padding: 11px 0 10px; color: var(--on-ground); text-decoration: none; font-size: 15px; border-bottom: 3px solid transparent; }
.sections a:hover, .sections a[aria-current="page"] { border-bottom-color: var(--accent); }

.drawer { display: none; background: var(--ground); color: var(--on-ground); border-top: 1px solid var(--ground-line); }
.drawer.open { display: block; }
.drawer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding-top: 20px; padding-bottom: 26px; }
.drawer h2 { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ground-2); margin-bottom: 8px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer a { color: var(--on-ground); text-decoration: none; display: block; padding: 5px 0; font-size: 15.5px; }
@media (min-width: 900px) { .drawer, .drawer.open { display: none; } }

/* Ticker */
.ticker { background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.ticker-row { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.ticker-label { flex: 0 0 auto; color: var(--head); display: inline-flex; align-items: center; gap: 8px; }
.ticker-label::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.ticker-track { flex: 1 1 auto; overflow: hidden; position: relative; }
.ticker-move { display: flex; width: max-content; animation: ticker 120s linear infinite; }
.ticker:hover .ticker-move, .ticker:focus-within .ticker-move { animation-play-state: paused; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0 0 0 24px; gap: 0; }
.ticker-list li { white-space: nowrap; font-size: 14.5px; padding-right: 30px; }
.ticker-list li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--rule-strong); margin-right: 30px; vertical-align: middle; }
.ticker-list a { text-decoration: none; color: var(--ink); }
.ticker-list a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.ticker-list time { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-2); margin-right: 8px; letter-spacing: 0.04em; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-move { animation: none; width: auto; }
  .ticker-track { overflow-x: auto; }
  .ticker-list[aria-hidden="true"] { display: none; }
}

/* Generic layout */
main { display: block; }
.section { padding: 36px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 20px; }
.section-head h2 { font-size: 24px; }
.section-head .more { font-family: var(--f-body); font-size: 15px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.section-head .more:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }

/* Story units */
.story h3 a, .story h2 a, .lead h2 a, .list-item a.hl { text-decoration: none; color: var(--head); }
.story h3 a:hover, .story h2 a:hover, .lead h2 a:hover, .list-item a.hl:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.story .dek { margin: 8px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.story h3 { font-size: 20px; }
.thumb { display: block; background: var(--ground); aspect-ratio: 16 / 9; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Home: lead */
.lead { display: grid; gap: 18px; padding-top: 26px; padding-bottom: 32px; }
.lead .cover { order: -1; }
.lead h2 { font-size: clamp(30px, 6.4vw, 52px); line-height: 1.06; }
.lead-mid h2 { font-size: clamp(29px, 5.6vw, 44px); }
.lead-long h2 { font-size: clamp(27px, 5vw, 38px); line-height: 1.1; }
.lead .dek { font-size: 18.5px; line-height: 1.5; color: var(--ink-2); margin: 14px 0 0; max-width: 34em; }
.lead .byline { margin-top: 18px; }
@media (min-width: 900px) {
  .lead { grid-template-columns: 5fr 7fr; gap: 44px; align-items: center; padding-top: 40px; padding-bottom: 44px; }
  .lead-long { grid-template-columns: 6fr 6fr; }
  .lead .cover { order: 0; }
}

.home-grid { display: grid; gap: 32px; padding-bottom: 36px; }
.secondary { display: grid; gap: 0; }
.secondary .story { padding: 18px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 112px; column-gap: 14px; row-gap: 0; align-items: start; }
.secondary .story .thumb { grid-column: 2; grid-row: 1 / span 3; }
.secondary .story .dek { display: none; }
@media (min-width: 640px) {
  .secondary { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .secondary .story { display: block; padding: 22px 0; }
  .secondary .story .thumb { margin-bottom: 14px; }
  .secondary .story .dek { display: block; }
}
@media (min-width: 1024px) {
  .home-grid { grid-template-columns: 8fr 4fr; gap: 44px; }
  .secondary { column-gap: 32px; }
  .secondary .story h3 { font-size: 22px; }
}
.rail h2 { font-size: 20px; margin-bottom: 4px; }
.latest-list { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: none; }
.list-item { padding: 13px 0; border-top: 1px solid var(--rule); }
.list-item .hl { font-family: var(--f-head); font-weight: var(--head-weight); font-size: 17px; line-height: 1.25; letter-spacing: var(--head-track); }
.list-item .meta { margin-top: 6px; font-size: 11.5px; }

/* Ads */
.ad { margin: 0 auto; text-align: center; }
.ad-label { display: block; color: var(--ink-2); font-size: 10.5px; margin-bottom: 6px; text-align: left; }
.ad a { display: block; border: 1px solid var(--rule); }
.ad-leader { max-width: 970px; padding: 28px 0; }
.ad-mpu { width: 300px; max-width: 100%; }
.ad-inline { max-width: 728px; margin: 34px 0; }
.ad-sidebar { width: 300px; }
.ad-band { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

/* Columns strip */
.columns-band { background: var(--ground); color: var(--on-ground); padding: 40px 0 44px; }
.columns-band .section-head h2 { color: var(--on-ground); }
.columns-band .section-head .more { color: var(--on-ground-2); }
.columns-band .section-head .more:hover { color: var(--on-ground); }
.col-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.col-strip li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-content: start; padding: 16px 0; border-top: 1px solid var(--ground-line); }
.col-strip img { width: 64px; height: 64px; }
.col-strip .col-name { font-family: var(--f-head); font-weight: var(--head-weight); font-size: 19px; color: var(--on-ground); text-decoration: none; letter-spacing: var(--head-track); }
.col-strip .col-name:hover { text-decoration: underline; text-decoration-color: var(--accent-on-ground); }
.col-strip .col-role { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ground-2); margin: 2px 0 8px; }
.col-strip .col-piece { color: var(--on-ground); font-size: 15.5px; line-height: 1.4; text-decoration: none; }
.col-strip .col-piece:hover { text-decoration: underline; text-decoration-color: var(--accent-on-ground); }
.col-strip .col-beat { color: var(--on-ground-2); font-size: 15px; line-height: 1.45; margin: 0; }
@media (min-width: 720px) { .col-strip { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
@media (min-width: 1100px) {
  .col-strip { grid-template-columns: repeat(var(--col-count, 5), 1fr); column-gap: 28px; }
  .col-strip li { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--ground-line); padding: 0 0 0 20px; }
  .col-strip li:first-child { border-left: 0; padding-left: 0; }
  .col-strip img { width: 80px; height: 80px; margin-bottom: 4px; }
}

/* Category rails */
.cat-rail { display: grid; gap: 18px; padding: 34px 0; border-top: 1px solid var(--rule); }
.cat-rail:first-child { border-top: 0; }
.cat-rail .cat-intro h2 { font-size: 26px; }
.cat-rail .cat-intro h2 a { text-decoration: none; color: var(--head); }
.cat-rail .cat-intro h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.cat-rail .cat-intro p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.cat-rail .cat-intro .more { display: inline-block; margin-top: 10px; font-size: 15px; color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.cat-stories { display: grid; gap: 0; }
.cat-stories .story { padding: 14px 0; border-top: 1px solid var(--rule); }
.cat-stories .story:first-child { border-top: 0; padding-top: 0; }
.cat-stories .story.first .thumb { margin-bottom: 12px; }
.cat-stories .story.first h3 { font-size: 22px; }
.cat-stories .story h3 { font-size: 18px; }
@media (min-width: 900px) {
  .cat-rail { grid-template-columns: 3fr 9fr; gap: 40px; }
  .cat-stories { grid-template-columns: 5fr 4fr; column-gap: 32px; }
  .cat-stories .story.first { grid-row: 1 / span 3; border-top: 0; padding-top: 0; }
  .cat-stories .story:nth-child(2) { border-top: 0; padding-top: 0; }
}

/* Newsletter block */
.signup { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 40px 0; }
.signup-grid { display: grid; gap: 20px; }
.signup h2 { font-size: clamp(26px, 4vw, 34px); }
.signup p { margin: 10px 0 0; color: var(--ink-2); max-width: 36em; }
@media (min-width: 900px) { .signup-grid { grid-template-columns: 6fr 6fr; gap: 48px; align-items: center; } }

/* Forms */
.form { display: grid; gap: 14px; }
.form .row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row.two { grid-template-columns: 1fr 1fr; } }
.field label, .field .legend { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 16px/1.4 var(--f-body); color: var(--ink); background: #fff;
  border: 1px solid var(--rule-strong); border-radius: 0; padding: 11px 12px; appearance: none;
}
.field select { background-image: var(--select-arrow); background-position: calc(100% - 14px) 50%; background-size: 12px 8px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--head); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form .field { flex: 1 1 240px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn { appearance: none; border: 0; border-radius: 0; background: var(--ground); color: var(--on-ground); font: 600 16px/1 var(--f-body); padding: 14px 22px; cursor: pointer; min-height: 46px; }
.btn:hover { background: var(--head); box-shadow: inset 0 -3px 0 var(--accent); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-line { display: inline-block; border: 1px solid var(--head); color: var(--head); padding: 12px 18px; text-decoration: none; font-weight: 600; }
.btn-line:hover { box-shadow: inset 0 -3px 0 var(--accent); }
.form-note { font-size: 14px; color: var(--ink-2); margin: 0; }
.form-status { font-size: 15.5px; margin: 0; min-height: 1.4em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--error); }
.field-error { color: var(--error); font-size: 14px; margin: 6px 0 0; }
.chk + .field-error { margin-top: -12px; padding-left: 26px; }
.inline-form .btn { align-self: flex-end; }

/* Article */
.article-head { padding-top: 30px; max-width: 880px; }
.article-head h1 { font-size: clamp(31px, 5.6vw, 52px); }
.article-head .dek { font-size: clamp(18.5px, 2.4vw, 22px); line-height: 1.45; color: var(--ink-2); margin: 16px 0 0; max-width: 38em; font-family: var(--f-dek); }
.byline { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; margin-top: 22px; }
.byline img { width: 52px; height: 52px; }
.byline-main { font-size: 15.5px; line-height: 1.35; margin: 0; }
.byline-main a { color: var(--head); font-weight: 600; text-decoration: none; }
.byline-main a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.byline-sub { color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 5px; font-size: 11.5px; }
.byline-sub > * + * { padding-left: 12px; border-left: 1px solid var(--rule-strong); }
.byline-sub a { color: inherit; text-decoration: none; }
.byline-sub a:hover { text-decoration: underline; }
.lead .byline { grid-template-columns: 40px 1fr; }
.lead .byline img { width: 40px; height: 40px; }

.article-layout { display: grid; gap: 40px; padding-top: 26px; padding-bottom: 20px; }
@media (min-width: 1080px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.article-main { min-width: 0; max-width: 720px; }
.cover-fig { margin: 0 0 28px; }
.cover-fig figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; }

.prose { font-size: 18px; line-height: 1.65; }
.prose > * { margin: 0 0 1.05em; }
.prose h2 { font-size: 24px; margin: 1.6em 0 0.6em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:hover { color: var(--accent-text); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0 0 0.45em; }
.prose li::marker { color: var(--accent-text); }
.prose strong { font-weight: 600; color: var(--head); }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; max-width: 100%; font-size: 14.5px; line-height: 1.4; margin: 1.4em 0 1.6em; font-variant-numeric: tabular-nums; -webkit-overflow-scrolling: touch; }
.prose th { text-align: left; font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--head); padding: 8px 12px 8px 0; vertical-align: bottom; min-width: 90px; }
.prose td { border-bottom: 1px solid var(--rule); padding: 9px 12px 9px 0; vertical-align: top; min-width: 90px; }
.prose td a { overflow-wrap: normal; }

.sources { margin-top: 40px; padding-top: 22px; border-top: 2px solid var(--head); }
.sources h2 { font-size: 20px; margin-bottom: 12px; }
.sources ol { margin: 0; padding-left: 1.4em; font-size: 15.5px; line-height: 1.45; }
.sources li { margin-bottom: 10px; }
.sources li::marker { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }
.sources a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.sources .src-meta { display: block; color: var(--ink-2); font-size: 14px; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 30px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.share .mono { color: var(--ink-2); }
.share a { font-size: 15.5px; color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }

.col-box { display: grid; grid-template-columns: 72px 1fr; gap: 16px; margin-top: 30px; padding: 20px; background: var(--paper-2); border-left: 4px solid var(--accent); }
.col-box img { width: 72px; height: 72px; }
.col-box h2 { font-size: 19px; }
.col-box h2 a { color: var(--head); text-decoration: none; }
.col-box h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.col-box p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.aside-sticky { position: sticky; top: 20px; display: grid; gap: 32px; }
.article-aside { display: none; }
@media (min-width: 1080px) { .article-aside { display: block; } }
.aside-list h2 { font-size: 18px; margin-bottom: 6px; }

.related { padding: 34px 0 44px; border-top: 1px solid var(--rule); margin-top: 20px; }
.related-grid { display: grid; gap: 0; }
.related-grid .story { padding: 16px 0; border-top: 1px solid var(--rule); }
.related-grid .story .thumb { margin-bottom: 12px; }
.related-grid .story h3 { font-size: 18.5px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: 1fr 1fr; column-gap: 28px; } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(4, 1fr); } .related-grid .story { border-top: 0; padding-top: 0; } }

/* Index pages */
.page-head { padding: 34px 0 24px; border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(32px, 5.6vw, 50px); }
.page-head .intro { margin: 12px 0 0; font-size: 18.5px; line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.page-head .crumbs { color: var(--ink-2); margin-bottom: 12px; }
.page-head .crumbs a { color: inherit; text-decoration: none; }
.page-head .crumbs a:hover { text-decoration: underline; }
.entity-head { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.entity-head img { width: 120px; height: 120px; }
@media (min-width: 720px) { .entity-head { grid-template-columns: 160px 1fr; gap: 32px; } .entity-head img { width: 160px; height: 160px; } }
.disclosure { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--paper-2); font-size: 15px; line-height: 1.5; color: var(--ink); max-width: 46em; }

.index-list { list-style: none; margin: 0; padding: 0; }
.index-list .story { display: grid; grid-template-columns: 1fr 112px; column-gap: 16px; row-gap: 0; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.index-list .story .thumb { grid-column: 2; grid-row: 1 / span 3; }
.index-list .story h3 { font-size: 19px; }
.index-list .story .dek { display: none; }
@media (min-width: 720px) {
  .index-list .story { grid-template-columns: 240px 1fr; column-gap: 28px; align-content: start; }
  .index-list .story .thumb { grid-column: 1; grid-row: 1 / span 4; }
  .index-list .story h3 { font-size: 23px; }
  .index-list .story .dek { display: block; max-width: 40em; }
}
.index-layout { display: grid; gap: 36px; padding-top: 10px; padding-bottom: 44px; }
@media (min-width: 1080px) { .index-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } }
.empty { padding: 34px 0; color: var(--ink-2); font-size: 18px; max-width: 38em; }
.pager { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pager a, .pager span { padding: 9px 13px; border: 1px solid var(--rule-strong); text-decoration: none; color: var(--ink); }
.pager span[aria-current] { background: var(--ground); color: var(--on-ground); border-color: var(--ground); }
.pager a:hover { border-color: var(--head); }

.col-cards { list-style: none; margin: 0; padding: 26px 0 10px; display: grid; gap: 0; }
.col-card { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--rule); }
.col-card img { width: 88px; height: 88px; }
.col-card h2 { font-size: 24px; }
.col-card h2 a { text-decoration: none; color: var(--head); }
.col-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.col-card .role { margin: 4px 0 8px; color: var(--accent-text); }
.col-card p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.col-card .latest { font-size: 15px; color: var(--ink-2); }
.col-card .latest a { color: var(--ink); text-decoration-color: var(--accent); }
@media (min-width: 900px) { .col-cards { grid-template-columns: 1fr 1fr; column-gap: 48px; } .col-card { grid-template-columns: 120px 1fr; } .col-card img { width: 120px; height: 120px; } }

/* Static pages */
.doc-layout { display: grid; gap: 30px; padding-top: 34px; padding-bottom: 54px; }
@media (min-width: 960px) { .doc-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; } }
.doc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (min-width: 960px) { .doc-nav ul { display: block; border-top: 2px solid var(--head); } .doc-nav li { border-bottom: 1px solid var(--rule); } }
.doc-nav a { display: block; padding: 8px 0; font-size: 15.5px; color: var(--ink-2); text-decoration: none; }
.doc-nav a:hover, .doc-nav a[aria-current="page"] { color: var(--head); }
.doc-nav a[aria-current="page"] { font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
.doc { max-width: 720px; }
.doc h1 { font-size: clamp(32px, 5.4vw, 48px); margin-bottom: 18px; }
.doc h2 { font-size: 24px; margin: 1.6em 0 0.5em; }
.doc h3 { font-size: 19px; margin: 1.3em 0 0.4em; }
.doc p, .doc ul, .doc ol { margin: 0 0 1em; }
.doc li { margin-bottom: 0.4em; }
.doc li::marker { color: var(--accent-text); }
.doc a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.doc .lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.doc .note { border-left: 3px solid var(--accent); background: var(--paper-2); padding: 14px 16px; font-size: 15.5px; }
.emails { list-style: none; padding: 0; margin: 0 0 1.4em; border-top: 1px solid var(--rule); }
.emails li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.emails .addr { font-family: var(--f-mono); font-size: 14.5px; color: var(--head); overflow-wrap: anywhere; }
@media (min-width: 640px) { .emails li { grid-template-columns: 220px 1fr; gap: 16px; } }

/* Advertise */
.rate-wrap { margin: 18px 0 8px; }
.launch-tag { display: inline-block; background: var(--ground); color: var(--on-ground); padding: 6px 10px; margin-bottom: 14px; }
.rates { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
.rates th { text-align: left; font-family: var(--f-mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--head); padding: 8px 10px 8px 0; }
.rates td { border-bottom: 1px solid var(--rule); padding: 12px 10px 12px 0; vertical-align: top; }
.rates td.price { font-family: var(--f-head); font-weight: var(--head-weight); font-size: 20px; color: var(--head); white-space: nowrap; }
.rates td.place { font-weight: 600; color: var(--head); }
.rates .sub { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; }
@media (max-width: 639px) {
  .rates thead { display: none; }
  .rates tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .rates td { border: 0; padding: 0; }
  .rates td.place { grid-column: 1; }
  .rates td.price { grid-column: 2; grid-row: 1; text-align: right; }
  .rates td.dims, .rates td.dur { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }
}
.placements { display: grid; gap: 26px; margin: 20px 0; }
.placement { border-top: 1px solid var(--rule); padding-top: 18px; display: grid; gap: 12px; }
.placement h3 { font-size: 20px; margin: 0; }
.placement p { margin: 0; font-size: 15.5px; color: var(--ink-2); }
.placement .vis { background: var(--paper-2); padding: 14px; display: flex; justify-content: center; align-items: center; }
.placement .vis img { border: 1px solid var(--rule); }
.placement .vis.tall img { width: 150px; }
.placement .vis.mpu img { width: 240px; }
.placement .vis picture { display: block; min-width: 0; }   /* the leaderboard and inline previews, with the phone art */
@media (min-width: 900px) { .placement { grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: center; } }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; background: var(--ground); color: var(--on-ground); font-family: var(--f-mono); font-size: 13px; }
.kit-link { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0; }

/* Footer */
.foot { background: var(--ground); color: var(--on-ground); padding: 46px 0 30px; margin-top: 0; }
.foot-top { display: grid; gap: 28px; padding-bottom: 30px; border-bottom: 1px solid var(--ground-line); }
.foot-brand img { height: 36px; width: auto; }
.foot-brand p { color: var(--on-ground-2); font-size: 15px; line-height: 1.55; max-width: 30em; margin: 14px 0 0; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.foot h2 { font-family: var(--f-mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ground-2); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 6px; }
.foot a { color: var(--on-ground); text-decoration: none; font-size: 15px; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--accent-on-ground); text-underline-offset: 4px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; color: var(--on-ground-2); font-size: 13.5px; }
.foot-base p { margin: 0; }
@media (min-width: 720px) { .foot-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .foot-top { grid-template-columns: 4fr 8fr; gap: 56px; } .foot-cols { grid-template-columns: repeat(5, 1fr); } }

/* 404 */
.notfound { padding-top: 60px; padding-bottom: 70px; max-width: 816px; margin-left: auto; margin-right: auto; }
.notfound h1 { font-size: clamp(34px, 6vw, 56px); }
.notfound p { font-size: 19px; color: var(--ink-2); }

@media print {
  .mast, .ticker, .ad, .ad-band, .foot, .share, .article-aside, .related, .ribbon, .signup { display: none !important; }
  body { background: #fff; }
}

/* Additions */
.thumb.cover-full { aspect-ratio: 1200 / 630; }
.col-strip.col-n4 { --col-count: 4; }
.col-strip.col-n5 { --col-count: 5; }
.col-header { padding-top: 24px; }
.col-header img { width: 100%; }
/* Paid placements: labels, sponsor lines, partner content (plans/AD-PLAN.md section 1.7) */
.ad picture { display: block; }
.ad picture img { width: 100%; }
/* The house phone art (build.py HOUSE_PHONE, 320 x 100 stored at 3x) in the leaderboard and the inline under 720 px:
   no wider than 480 px, where it is still sharp on a 2x screen and no taller than the 970 x 250 art above 720 px */
@media (max-width: 719px) { aside.ad.has-phone-art { max-width: 480px; } }
.ad .ad-label a { display: inline; border: 0; color: inherit; text-underline-offset: 2px; }
.ad-disclosure { margin: 28px 0 0; padding: 12px 16px; border-left: 3px solid var(--rule-strong); background: var(--paper-2); font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.sponsor-line { margin: 14px 0 0; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.sponsor-line a, .supported-by .sponsor-link, .sponsor-about a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.byline.byline-partner { grid-template-columns: 1fr; }
.byline-partner .byline-main { color: var(--head); font-weight: 600; }
.sponsor-about { margin-top: 30px; padding: 18px 20px; background: var(--paper-2); border-left: 4px solid var(--accent); }
.sponsor-about h2 { font-size: 19px; margin: 0 0 8px; }
.sponsor-about p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.supported-by { margin: 16px 0 0; font-size: 15px; color: var(--ink-2); }
.supported-by p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.supported-by .sb-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.supported-by img { width: 200px; height: auto; }
.supported-by .sb-how { color: var(--ink-2); font-size: 14px; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.supported-by.sb-foot { margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.supported-by .sb-rule { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; }
.sponsored-card { margin: 22px 0; padding: 14px 0 16px; border-top: 2px solid var(--accent); border-bottom: 1px solid var(--rule); }
.sponsored-card h3 { font-size: 18px; margin: 2px 0 6px; }
.sponsored-card h3 a { color: var(--head); text-decoration: none; }
.sponsored-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.partner-list { list-style: none; margin: 0; padding: 10px 0 44px; max-width: 46em; }
.partner-list li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.partner-list h2 { font-size: 23px; margin: 0 0 6px; }
.partner-list h2 a { color: var(--head); text-decoration: none; }
.partner-list h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.partner-list .dek { margin: 0 0 8px; color: var(--ink-2); }

/* Column pages: character and specialisation, between the disclosure and the column's pieces */
.col-profile { max-width: 46em; padding-top: 4px; }
.col-jump { margin: 0 0 16px; font-size: 15px; }
.col-jump a { color: var(--ink-2); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.col-jump a:hover { color: var(--ink); }
.col-lede { margin: 0; font-family: var(--f-dek); font-size: clamp(19px, 2.3vw, 21px); line-height: 1.5; color: var(--ink); }
.col-q { margin: 26px 0 0; padding: 18px 20px 20px; background: var(--paper-2); border-left: 4px solid var(--accent); }
.col-q h2 { font-family: var(--f-mono); font-weight: 400; font-size: 12.5px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 8px; }
.col-q p { margin: 0; font-family: var(--f-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); font-size: clamp(21px, 3vw, 26px); line-height: 1.25; color: var(--head); text-wrap: balance; }
.col-sec { margin-top: 38px; }
.col-sec h2 { font-size: 22px; margin: 0 0 12px; }
.col-sec h3 { font-size: 18px; margin: 26px 0 8px; }
.col-sec p { margin: 0 0 12px; }
.col-sec a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.col-list { margin: 0; padding-left: 1.2em; }
.col-list li { margin-bottom: 0.55em; line-height: 1.55; }
.col-list li::marker { color: var(--accent-text); }
.col-when { display: block; margin-top: 2px; font-family: var(--f-mono); font-size: 12px; line-height: 1.45; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.col-dl { margin: 0; border-bottom: 1px solid var(--rule); }
.col-dl > div { padding: 12px 0; border-top: 1px solid var(--rule); }
.col-dl dt { font-weight: 600; color: var(--head); line-height: 1.4; }
.col-dl dd { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 720px) {
  .col-dl > div { display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 0 24px; }
  .col-dl dd { margin: 0; }
}
.col-more { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.col-more summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 10px 0; cursor: pointer; list-style: none;
  font-family: var(--f-mono); font-size: 12.5px; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.col-more summary::-webkit-details-marker { display: none; }
.col-more summary::after { content: "+"; flex: none; font-size: 20px; line-height: 1; color: var(--head); }
.col-more[open] summary::after { content: "\2212"; }
.col-more[open] summary { border-bottom: 1px solid var(--rule); }
.col-more .col-dl { border-bottom: 0; }
.col-more .col-dl > div:first-child, .col-more .col-list { border-top: 0; }
.col-more .col-list { padding-top: 12px; padding-bottom: 6px; }
.col-dl dd p { margin: 0 0 8px; }
.col-dl dd p:last-child { margin-bottom: 0; }
.col-dl dd .col-topic { color: var(--ink); font-weight: 500; }
.col-left + .col-list { margin-top: 18px; }
.col-never { margin-top: 16px; font-size: 16px; color: var(--ink-2); }
.col-never strong { color: var(--head); }
.col-pieces { margin: 52px 0 0; }
.chk-group { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.chk-group .legend { width: 100%; padding: 0; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--ground); margin: 0; flex: none; }
.chk span { line-height: 1.45; }
.chk:has(> span) { display: flex; }

@media (max-width: 639px) {
  .secondary .story .meta > :nth-child(2), .index-list .story .meta > :nth-child(2) { display: none; }
  .byline-sub { letter-spacing: 0.04em; gap: 2px 9px; }
  .byline-sub > * + * { padding-left: 9px; }
  .ribbon { letter-spacing: 0.04em; }
}
.form-status:empty { min-height: 0; }
.placement .spec { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); margin: 2px 0 6px; }
.aside-list .list-item .meta > :first-child { display: none; }
.aside-list .list-item .meta > :nth-child(2) { padding-left: 0; border-left: 0; }
@media (min-width: 720px) { .entity-head.no-mark { grid-template-columns: 1fr; } }
.entity-head.no-mark > div { max-width: 46em; }
.col-desc { margin: 12px 0 0; font-size: 17px; line-height: 1.55; max-width: 44em; }
.entity-head.no-mark .col-desc { font-size: 19px; line-height: 1.5; margin-top: 4px; }
/* Related parties and the editor avatar: the footer line on every page and the note under an article's dek */
.foot-disclosure { margin: 22px 0 0; max-width: 64em; color: var(--on-ground-2); font-size: 13.5px; line-height: 1.55; }
.related-party-note { margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid var(--rule-strong); background: var(--paper-2); font-size: 15px; line-height: 1.5; color: var(--ink); max-width: 46em; }
/* The AI line under the byline of every article: the disclosure at first exposure */
.ai-line { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 46em; }
.ai-line a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; white-space: nowrap; }
/* Photos (Wikimedia Commons): the caption and credit under a photo shown in full, a photo figure, /photo-credits */
figure.is-photo img { object-fit: cover; }
/* A photo's focus (build.py focus_classes): --fx and --fy, where its subject sits in the 16:9 file, as shares of
   its width and height (0 to 1, steps of .1; no class: .5, the centre). A box of another shape crops the file again
   (object-fit: cover). Here the focus is the object-position, which keeps the subject inside the box but not in its
   middle: a theme that knows its box's shape centres it with
   object-position: clamp(0%, (var(--fx, .5) - v / 2) / (1 - v) * 100%, 100%), v the share of the file's width the
   box shows (cs.css, its square thumbnails: v = 9 / 16), and the same with --fy for a box wider than 16:9. */
img:is([class^="fx-"], [class*=" fx-"], [class^="fy-"], [class*=" fy-"]) { object-position: calc(var(--fx, .5) * 100%) calc(var(--fy, .5) * 100%); }
.fx-0 { --fx: 0; } .fx-10 { --fx: .1; } .fx-20 { --fx: .2; } .fx-30 { --fx: .3; } .fx-40 { --fx: .4; }
.fx-60 { --fx: .6; } .fx-70 { --fx: .7; } .fx-80 { --fx: .8; } .fx-90 { --fx: .9; } .fx-100 { --fx: 1; }
.fy-0 { --fy: 0; } .fy-10 { --fy: .1; } .fy-20 { --fy: .2; } .fy-30 { --fy: .3; } .fy-40 { --fy: .4; }
.fy-60 { --fy: .6; } .fy-70 { --fy: .7; } .fy-80 { --fy: .8; } .fy-90 { --fy: .9; } .fy-100 { --fy: 1; }
.lead figure.cover { margin: 0; }
.photo-cap { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); margin-top: 8px; overflow-wrap: anywhere; }
.photo-credit { font-size: 12.5px; color: var(--ink-2); }
.photo-credit a[href*="creativecommons.org/"] { white-space: nowrap; }   /* the licence, never "CC BY-SA" over "3.0" */
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
ol.photo-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.photo-item { display: grid; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.photo-item img { width: 100%; }
/* the publication pages' side nav where it scrolls sideways (cs, bc): a fade at each edge that has more links */
ul.nav-more-l { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 44px), transparent); }
ul.nav-more-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); }
ul.nav-more-l.nav-more-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
p.photo-item-cap { margin: 0 0 8px; }
.photo-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.photo-facts dt { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 3px; }
.photo-facts dd { margin: 0; }
@media (min-width: 640px) { .photo-item { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; } }
/* /advertise: the hero under the h1 and the example pictures in the placement boxes, when the kit has them */
.adv-hero { margin: 0 0 22px; }
.adv-hero img { width: 100%; }
.placement .vis picture { display: block; min-width: 0; }
/* 404: the site's wordmark above the copy */
.notfound .nf-mark { width: min(300px, 100%); height: auto; margin-bottom: 30px; }

/* Insight Agent waitlist card (owner request, 24 October 2026; markup build.py insight_agent(), behaviour src/site.js).
   A card at the bottom right on a wide screen, a bottom sheet on a phone. Fixed, so it never moves the page. */
.ia { position: fixed; z-index: 60; right: 20px; bottom: 20px; width: 380px; max-width: calc(100vw - 40px); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule-strong); border-top: 4px solid var(--accent);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24); padding: 20px 22px 16px; opacity: 0; transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease; }
.ia[hidden] { display: none; }
.ia.ia-open { opacity: 1; transform: none; }
.ia:focus { outline: none; }
.ia-close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: none; color: var(--ink-2);
  font: 400 26px/1 var(--f-body); cursor: pointer; }
.ia-close:hover { color: var(--head); }
.ia-eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin: 0 40px 6px 0; }
.ia-title { font-size: 22px; line-height: 1.15; margin: 0 40px 8px 0; }
.ia-desc { font-size: 15.5px; line-height: 1.5; margin: 0 0 6px; }
.ia-note { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); margin: 0 0 14px; }
.ia-form { gap: 10px; }
.ia-form .field input, .ia-form .field select { width: 100%; }
.ia-form .btn { width: 100%; }
.ia-form .form-note { font-size: 12.5px; line-height: 1.45; }
@media (max-width: 600px) {
  .ia { left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 88vh; border-left: 0; border-right: 0; border-bottom: 0;
    padding: 18px 16px calc(14px + env(safe-area-inset-bottom)); transform: translateY(100%); box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.22); }
  .ia.ia-open { transform: none; }
  .ia-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .ia { transition: none; } }

/* Body figures (build.py insert_body_figure; owner rule of 25 October 2026: a picture in every piece's body): the top
   of the primary document's first page as published, in a paper frame, or a chart of figures from the documents, as
   bars whose text keeps its size on a phone (the bar is an SVG scaled to its track: no style attribute under the CSP). */
.prose .body-fig { margin: 30px 0 32px; }
.prose .body-doc picture { display: block; border: 1px solid var(--rule-strong); background: #FFFFFF;
  box-shadow: 0 1px 0 var(--rule), 0 12px 26px -16px rgba(0, 0, 0, 0.38); }
.prose .body-doc img { display: block; width: 100%; height: auto; }
.prose .body-doc-link { display: block; text-decoration: none; }
.prose .body-doc-link:hover picture, .prose .body-doc-link:focus-visible picture { border-color: var(--accent); }
.prose .body-fig figcaption { margin-top: 10px; font: 14px/1.5 var(--f-body); letter-spacing: 0; color: var(--ink-2); text-wrap: pretty; }
.prose .body-chart { padding: 16px 0 14px; border-top: 2px solid var(--head); border-bottom: 1px solid var(--rule); }
.prose .body-chart figcaption { margin: 0 0 14px; }
.chart-title { display: block; font: 600 17px/1.35 var(--f-head); color: var(--head); }
.chart-unit { display: block; margin-top: 3px; font: 13px/1.5 var(--f-mono); color: var(--ink-2); }
.chart-rows { display: grid; gap: 9px; }
.chart-row { display: grid; grid-template-columns: minmax(5.5em, 32%) minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
.chart-label { font: 14.5px/1.3 var(--f-body); color: var(--ink); overflow-wrap: anywhere; }
.chart-track { display: block; width: 100%; height: 14px; }
.chart-bar { fill: var(--rule-strong); }
.chart-row.is-hl .chart-bar { fill: var(--accent); }
.chart-row.is-hl .chart-label, .chart-row.is-hl .chart-value { color: var(--head); font-weight: 700; }
.chart-value { font: 600 13.5px/1.3 var(--f-mono); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-source { margin-top: 12px; font: 12.5px/1.5 var(--f-mono); color: var(--ink-2); }

/* Follow list under Work with us (themes/base.py follow()) */
.foot-follow { margin-top: 22px; }

/* Corridor Minerals (cm): "Core Shed".
   build.py appends this file after src/site.css. Markup is themes/cm.py. No @import, no other host.
   Warm stone paper, charcoal and copper-ochre; the strata band (earth-tone layers) under the masthead and between
   sections; section trays with vertical end labels; dates as depth markers; figures in JetBrains Mono; Newsreader for
   headlines, standfirsts and the article text, with its display optical size on the lead and the article headline. */

:root {
  /* the brand's ground, paper and ochre stay; the neutrals are warmed toward the ochre */
  --ink: #27241F;
  --ink-2: #5F574D;            /* 6.2:1 on paper, 5.6:1 on stone */
  --rule: #D8CFC2;
  --rule-strong: #A3998C;
  --rule-ui: #8E8579;          /* field borders: 3:1 or more */
  --paper-2: #EAE3D7;          /* stone */
  --paper-3: #E0D5C4;          /* sandstone */
  --paper-pull: #EFE6D8;
  --field: #FBF8F3;
  --umber: #704824;
  --sand: #D4AA82;
  --stone: #A89F94;
  --shale: #4D4944;
  --ochre-on-ground: #E0904A;  /* small ochre text on charcoal: 5.6:1 */
  --on-ground-2: #C9BFB2;      /* 7.8:1 on charcoal */
  --ground-line: #4D4944;
  --measure: 35.25rem;          /* about 66 characters of Newsreader at 20 px */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* the strata: thin earth-tone layers, as in a core section */
  --strata: linear-gradient(to bottom, var(--ground) 0 2px, transparent 2px 4px, var(--umber) 4px 7px, transparent 7px 8px,
            var(--accent) 8px 9px, transparent 9px 10px, var(--sand) 10px 12px, transparent 12px 13px, var(--stone) 13px 14px);
  --strata-mast: linear-gradient(to bottom, var(--shale) 0 4px, var(--umber) 4px 11px, var(--accent) 11px 13px,
                 var(--sand) 13px 19px, var(--stone) 19px 21px, var(--paper-3) 21px 24px);
  --strata-dark: linear-gradient(to bottom, var(--paper-3) 0 1px, var(--sand) 1px 4px, var(--accent) 4px 6px,
                 var(--umber) 6px 10px, var(--shale) 10px 13px);
}

body { color: var(--ink); }
::selection { background: #E8CFB2; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cm-plate :focus-visible, .cm-mast .drawer :focus-visible, .cm-foot :focus-visible, .cm-columns :focus-visible { outline-color: var(--ochre-on-ground); }
.skip { background: var(--ground); color: var(--on-ground); min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; }

.wrap { max-width: 1360px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

h1, h2, h3, h4 { font-optical-sizing: auto; }
.ribbon { background: var(--sand); color: var(--ink); font-size: 11px; letter-spacing: 0.1em; padding: 6px 16px; }

/* Mono register: kickers, dates, figures. A small ochre rule above every kicker. */
.kicker { display: block; color: var(--accent-text); font-size: 12px; letter-spacing: 0.09em; margin: 0 0 12px; }
.kicker::before { content: ""; display: block; width: 22px; height: 2px; background: var(--accent); margin-bottom: 9px; }
.kicker a { display: inline-block; padding: 14px 0; margin: -14px 0; text-decoration: none; }
.kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kicker .label { color: var(--ink-2); margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--rule-strong); }
.meta { font-size: 11.5px; color: var(--ink-2); }
.bar::before { width: 22px; height: 2px; margin-bottom: 12px; }
.cm-eyebrow { font-family: var(--f-mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 10px; }
.cm-depth { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
  display: flex; align-items: center; gap: 9px; margin: 0; padding: 12px 0; }
.cm-depth::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--umber); }
.cm-strata { height: 14px; background: var(--strata); }
.cm-strata-mast { height: 24px; background: var(--strata-mast); }
.cm-strata-dark, .cm-strata-foot { height: 13px; background: var(--strata-dark); }

/* ---------------------------------------------------------------- masthead */
.cm-mast { background: var(--paper); color: var(--ink); }
.cm-plate { background: var(--ground); color: var(--on-ground); }
.cm-plate .mast-row { padding-top: 12px; padding-bottom: 12px; }
.cm-mast .brand { padding: 6px 0; }
.cm-mast .brand img { width: min(220px, 100%); height: auto; }
@media (min-width: 720px) {
  .cm-mast .brand img { height: 50px; width: auto; }
  .cm-plate .mast-row { padding-top: 20px; padding-bottom: 18px; }
}
.cm-mast .mast-util { gap: 26px; font-size: 16px; }
.cm-mast .mast-util a { display: inline-flex; align-items: center; min-height: 44px; }
.cm-mast .mast-util a:hover { text-decoration-color: var(--ochre-on-ground); }
.cm-mast .mast-util .btn-sub { padding: 0 18px; border-color: var(--stone); }
.cm-mast .mast-util .btn-sub:hover { border-color: var(--on-ground); background: var(--shale); }
.cm-mast .menu-btn { min-height: 44px; padding: 0 16px; border-color: var(--stone); font-family: var(--f-body); font-size: 16px; }
.cm-mast .drawer { background: var(--ground); border-top: 1px solid var(--ground-line); }
.cm-mast .drawer h2 { color: var(--ochre-on-ground); font-size: 11.5px; letter-spacing: 0.1em; }
.cm-mast .drawer a { display: flex; align-items: center; min-height: 44px; padding: 0; font-size: 16px; }
.cm-nav { border-top: 0; border-bottom: 1px solid var(--rule); background: var(--paper); }
.cm-nav ul { gap: 0 26px; }
.cm-nav a { color: var(--ink); font-size: 16px; font-weight: 500; letter-spacing: 0.005em; padding: 13px 0 11px; border-bottom: 3px solid transparent; }
.cm-nav a:hover { border-bottom-color: var(--sand); }
.cm-nav a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--head); font-weight: 650; }
@media (max-width: 1023px) {
  .cm-nav .wrap { padding-right: 0; }
  .cm-nav ul { padding-right: 40px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); }
}

/* ---------------------------------------------------------------- home: the cover */
.cm-cover { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 30px; padding-bottom: 30px; }
.cm-cover-head .kicker { margin-bottom: 16px; }
.cm-cover-h { font-size: clamp(2.5rem, 1.1rem + 4.6vw, 5.5rem); line-height: 1.01; letter-spacing: -0.02em; font-weight: 560;
  font-variation-settings: "opsz" 72; max-width: 15em; text-wrap: balance; }
.cm-cover-mid .cm-cover-h { font-size: clamp(2.375rem, 1.05rem + 4.1vw, 5rem); }
.cm-cover-long .cm-cover-h { font-size: clamp(2.25rem, 1rem + 3.6vw, 4.5rem); line-height: 1.03; }
.cm-cover-h a { color: var(--head); text-decoration: none; }
.cm-cover-h a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.cm-standfirst { font-family: var(--f-dek); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  line-height: 1.4; color: var(--ink-2); margin: 0; max-width: 30em; text-wrap: pretty; }
.cm-cover .byline { margin-top: 22px; }
.cm-cover-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ground); }
.cm-cover-img img, .cm-cover-fig img { width: 100%; height: 100%; object-fit: cover; }
/* a photo on the cover: a figure in the picture's place, its caption and credit under it */
.cm-cover-photo { margin: 0; min-width: 0; }
@media (min-width: 1024px) {
  .cm-cover { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; row-gap: 34px; padding-top: 52px; padding-bottom: 44px; align-items: start; }
  .cm-cover-head { grid-column: 1 / -1; }
  .cm-cover-side { grid-column: 1 / span 5; grid-row: 2; padding-top: 4px; }
  .cm-cover-img, .cm-cover-photo, .cm-launch-rail { grid-column: 6 / -1; grid-row: 2; }
}
.cm-launch-rail { display: grid; gap: 24px; justify-items: start; }

/* cover lines: the Top stories */
.cm-lines { padding-bottom: 44px; }
.cm-lines-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 2px solid var(--ground); }
.cm-lines-list > li { border-bottom: 1px solid var(--rule); }
.cm-line { position: relative; padding: 18px 0 20px; }
.cm-line-h { font-size: 1.3125rem; line-height: 1.22; font-weight: 600; text-wrap: pretty; }
.cm-line-h a { color: var(--head); text-decoration: none; }
.cm-line-h a::after, .cm-core-h a::after, .cm-log-story h3 a::after { content: ""; position: absolute; inset: 0; }
.cm-line:hover .cm-line-h a, .cm-core:hover .cm-core-h a, .cm-log-item:hover h3 a {
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 720px) { .cm-lines-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1024px) {
  .cm-lines-list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .cm-lines-list > li { border-bottom: 0; border-left: 1px solid var(--rule); padding: 0 24px; }
  .cm-lines-list > li:first-child { border-left: 0; padding-left: 0; }
  .cm-lines-list > li:last-child { padding-right: 0; }
  .cm-line { padding: 20px 0 6px; }
}

/* the Leaderboard band */
.cm-leader { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cm-leader .ad-leader { padding: 26px 0 30px; }
.ad-label { color: var(--ink-2); }

/* ---------------------------------------------------------------- home: the trays */
.cm-trays { padding: 12px 0 8px; }
.cm-tray { padding: 30px 0 34px; }
.cm-tray + .cm-tray .cm-tray-row::before { content: ""; display: block; grid-column: 1 / -1; height: 14px; background: var(--strata); margin: -30px 0 30px; }
.cm-tray-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.cm-tray-label { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.005em; }
.cm-tray-label a { display: inline-flex; align-items: center; min-height: 44px; color: var(--head); text-decoration: none; }
.cm-tray-label a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.cm-cores, .cm-related-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.cm-core { position: relative; }
.cm-core .thumb img { transition: transform 0.6s var(--ease); }
.cm-core:hover .thumb img { transform: scale(1.025); }
.cm-core .kicker { margin: 14px 0 8px; }
.cm-core-h { font-size: 1.3125rem; line-height: 1.2; font-weight: 600; text-wrap: pretty; }
.cm-core-h a { color: var(--head); text-decoration: none; }
.cm-more { margin: 14px 0 0; }
/* the spacer block where a tray has fewer than three stories, hatched as a core tray marks missing core */
.cm-spacer { display: flex; flex-direction: column; }
.cm-spacer a { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 120px; padding: 20px 22px;
  background: repeating-linear-gradient(135deg, rgba(168, 159, 148, 0) 0 11px, var(--rule) 11px 12px), var(--paper-2);
  border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.cm-spacer-desc { font-family: var(--f-dek); font-style: italic; font-size: 1.125rem; line-height: 1.4; color: var(--ink-2); max-width: 24em; }
.cm-spacer-more { font-size: 16px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.cm-spacer a:hover .cm-spacer-more { text-decoration-thickness: 3px; }
@media (max-width: 719px) { .cm-spacer { padding: 4px 0 18px; } }
.cm-more a, .cm-band-head .more { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.cm-more a:hover, .cm-band-head .more:hover { text-decoration-thickness: 3px; }
/* phones: the first core image-first, the next ones as compact rows */
@media (max-width: 719px) {
  .cm-cores > li + li, .cm-related-row > li + li { border-top: 1px solid var(--rule); }
  .cm-cores > li + li .cm-core, .cm-related-row > li .cm-core { display: grid; grid-template-columns: minmax(0, 1fr) 104px; column-gap: 14px; padding: 4px 0 18px; }
  .cm-cores > li + li .cm-core > *, .cm-related-row > li .cm-core > * { grid-column: 1; }
  .cm-cores > li + li .cm-core .thumb, .cm-related-row > li .cm-core .thumb { grid-column: 2; grid-row: 1 / span 4; margin-top: 14px; }
  .cm-cores > li + li .cm-core-h, .cm-related-row .cm-core-h { font-size: 1.1875rem; }
  .cm-cores > li:first-child .cm-core { padding-bottom: 20px; }
}
@media (min-width: 720px) {
  .cm-cores { border-top: 1px solid var(--ground); }
  .cm-cores > li { position: relative; padding-bottom: 4px; }
  .cm-more { text-align: right; }
}
/* tablets: the lead core beside the next two as compact rows */
@media (min-width: 720px) and (max-width: 1023px) {
  .cm-cores { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 32px; }
  .cm-cores > li:first-child { grid-row: 1 / span 2; }
  .cm-cores > li + li::before { content: ""; position: absolute; top: 0; bottom: 0; left: -16px; width: 1px; background: var(--rule); }
  .cm-cores > li + li + li { border-top: 1px solid var(--rule); }
  .cm-cores > li + li .cm-core { padding-bottom: 18px; }
  .cm-cores > li + li .cm-core .thumb { display: none; }
  .cm-cores > li + li .cm-core .kicker { margin-top: 4px; }
  .cm-cores > li + li .cm-core-h { font-size: 1.25rem; }
  .cm-spacer { padding: 14px 0 16px; }
}
@media (min-width: 1024px) {
  .cm-cores { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 44px; }
  .cm-cores > li + li::before { content: ""; position: absolute; top: 0; bottom: 0; left: -22px; width: 1px; background: var(--rule); }
  .cm-spacer { padding-top: 39px; }
  .cm-span-2 { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .cm-tray-row { grid-template-columns: 60px minmax(0, 1fr); column-gap: 32px; }
  .cm-tray + .cm-tray .cm-tray-row::before { grid-column: 1 / -1; }
  .cm-tray-end { background: var(--ground); display: flex; flex-direction: column; align-items: center; padding: 18px 0 16px; }
  .cm-tray-end::after { content: ""; margin-top: auto; width: 10px; height: 10px; background: var(--accent); }
  .cm-tray-label { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-body); font-size: 13.5px; font-weight: 600;
    letter-spacing: 0.17em; text-transform: uppercase; line-height: 1; }
  .cm-tray-label a { color: var(--on-ground); min-height: 0; min-width: 44px; justify-content: center; padding: 6px 0; }
  .cm-tray-label a:hover { text-decoration-color: var(--ochre-on-ground); text-underline-offset: 6px; }
  .cm-tray-label a:focus-visible { outline-color: var(--ochre-on-ground); }
  .cm-core-h { font-size: 1.375rem; }
}

/* ---------------------------------------------------------------- home: In this issue */
.cm-issue { padding: 52px 0 60px; border-top: 1px solid var(--rule); }
.cm-trays + .cm-issue { border-top: 0; }
.cm-trays + .cm-issue::before { content: ""; display: block; height: 14px; background: var(--strata); max-width: 1296px; margin: -52px auto 52px; width: calc(100% - 32px); }
@media (min-width: 720px) { .cm-trays + .cm-issue::before { width: calc(100% - 64px); } }
.cm-issue-grid { display: grid; gap: 44px; }
.cm-issue-main h2 { font-size: clamp(2.125rem, 1.6rem + 1.8vw, 3.25rem); font-weight: 560; font-variation-settings: "opsz" 72; letter-spacing: -0.015em; }
.cm-issue-note { font-family: var(--f-dek); font-style: italic; font-size: 1.1875rem; line-height: 1.45; color: var(--ink-2); margin: 10px 0 30px; max-width: 34em; }
.cm-ix-group + .cm-ix-group { margin-top: 34px; }
.cm-ix-group h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
  padding-bottom: 9px; border-bottom: 2px solid var(--ground); margin: 0; }
.cm-ix-list { list-style: none; margin: 0; padding: 0; column-width: 13rem; column-gap: 36px; }
.cm-ix-list li { break-inside: avoid; border-bottom: 1px solid var(--rule); }
.cm-ix-list a { display: flex; align-items: baseline; gap: 10px; min-height: 46px; padding: 11px 0 9px; color: var(--ink); text-decoration: none; }
.cm-ix-name { font-family: var(--f-head); font-size: 1.1875rem; font-weight: 600; line-height: 1.25; color: var(--head); }
.cm-ix-lead { flex: 1 1 12px; min-width: 12px; border-bottom: 1px dotted var(--rule-strong); }
.cm-ix-list time { flex: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); }
.cm-ix-list a:hover .cm-ix-name { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cm-issue-rail { display: grid; gap: 28px; justify-items: center; align-content: start; }
.cm-issue-rail .sponsored-card { width: 100%; max-width: 300px; margin: 0; }
@media (min-width: 1024px) { .cm-issue-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; } }
.cm-issue-bare { padding: 40px 0; }

/* ---------------------------------------------------------------- home: the columns */
.cm-columns { background: var(--ground); color: var(--on-ground); padding: 0 0 58px; }
.cm-columns > .cm-strata-dark { margin-bottom: 46px; }
.cm-band-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 26px; }
.cm-band-head h2 { font-size: clamp(1.875rem, 1.45rem + 1.4vw, 2.625rem); font-weight: 560; font-variation-settings: "opsz" 72; letter-spacing: -0.012em; }
.cm-columns .cm-band-head h2 { color: var(--on-ground); }
.cm-columns .cm-band-head .more { color: var(--on-ground); text-decoration-color: var(--ochre-on-ground); }
.cm-colrow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.cm-col { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-content: start; padding: 22px 0; border-top: 1px solid var(--ground-line); }
.cm-col > img { grid-row: 1 / span 5; width: 56px; height: 56px; }
.cm-col h3 { font-size: 1.5rem; font-weight: 600; }
.cm-col h3 a { display: inline-block; padding: 8px 0; margin: -8px 0; color: var(--on-ground); text-decoration: none; }
.cm-col h3 a:hover { text-decoration: underline; text-decoration-color: var(--ochre-on-ground); text-underline-offset: 4px; }
.cm-col-role { font-family: var(--f-mono); font-size: 11.5px; line-height: 1.4; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ochre-on-ground); margin: 6px 0 0; }
.cm-temper { list-style: none; margin: 14px 0 16px; padding: 0; font-family: var(--f-dek); font-style: italic; font-size: 1.0625rem; line-height: 1.32; color: var(--on-ground); }
.cm-temper li { display: flex; align-items: baseline; gap: 10px; padding: 3px 0; }
.cm-temper li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--accent); transform: translateY(-0.2em); }
.cm-col-latest { margin: 0; padding-top: 14px; border-top: 1px solid var(--ground-line); font-size: 16px; line-height: 1.45; }
.cm-col-latest .mono { display: block; color: var(--on-ground-2); font-size: 11px; margin-bottom: 4px; }
.cm-col-latest a { color: var(--on-ground); text-decoration: underline; text-decoration-color: var(--stone); text-underline-offset: 4px; }
.cm-col-latest a:hover { text-decoration-color: var(--ochre-on-ground); }
.cm-col-beat { color: var(--on-ground-2); }
@media (min-width: 720px) { .cm-colrow { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; } }
@media (min-width: 1100px) {
  .cm-colrow { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 0; }
  .cm-colrow.cm-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cm-col { grid-template-columns: minmax(0, 1fr); padding: 0 22px; border-top: 0; border-left: 1px solid var(--ground-line); }
  .cm-col:first-child { border-left: 0; padding-left: 0; }
  .cm-col:last-child { padding-right: 0; }
  .cm-col > img { grid-row: auto; width: 76px; height: 76px; margin-bottom: 18px; }
}

/* ---------------------------------------------------------------- home: signup */
.cm-signup { background: var(--paper-2); border-top: 0; border-bottom: 0; padding: 52px 0 58px; }
.cm-signup h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.875rem); font-weight: 560; font-variation-settings: "opsz" 72; letter-spacing: -0.015em; }
.cm-signup p { color: var(--ink-2); }
.cm-signup .cm-eyebrow { color: var(--accent-text); margin-bottom: 10px; }

/* ---------------------------------------------------------------- forms and buttons */
.field input, .field select, .field textarea { background-color: var(--field); border-color: var(--rule-ui); color: var(--ink); }
.field label, .field .legend { color: var(--ink-2); }
.btn { background: var(--ground); color: var(--on-ground); min-height: 48px; padding: 14px 24px; }
.btn:hover { background: var(--shale); box-shadow: inset 0 -3px 0 var(--accent); }
.btn-line { display: inline-flex; align-items: center; min-height: 46px; border-color: var(--ground); color: var(--head); }
.chk { min-height: 44px; }
.form-note { font-size: 16px; line-height: 1.5; }
.form-note a { color: var(--ink); text-decoration-color: var(--accent); }

/* ---------------------------------------------------------------- article: the long read */
.cm-read, .sponsored-article > .wrap { display: grid; grid-template-columns: [full-start] minmax(0, 1fr) [text-start] minmax(0, var(--measure)) [text-end] minmax(0, 1fr) [full-end]; padding-top: 34px; }
.cm-read > *, .sponsored-article > .wrap > * { grid-column: text-start / text-end; }
.cm-read > .cm-head, .sponsored-article > .wrap > .article-head { grid-column: text-start / full-end; padding-top: 0; max-width: 50rem; }
.article-head h1 { font-size: clamp(2.125rem, 1.25rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.018em; font-weight: 580; font-variation-settings: "opsz" 72; }
.article-head .dek { font-family: var(--f-dek); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.625rem); line-height: 1.4;
  color: var(--ink-2); margin: 18px 0 0; max-width: 32em; text-wrap: pretty; }
.cm-byline, .article-head .byline { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--rule); grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; }
.cm-byline img { width: 48px; height: 48px; }
.article-head .byline.byline-partner { grid-template-columns: minmax(0, 1fr); }
.cm-cover .cm-byline { grid-template-columns: 44px minmax(0, 1fr); }
.cm-cover .cm-byline img { width: 44px; height: 44px; }
.byline-main { font-size: 16px; }
.byline-main a { color: var(--head); }
.byline-main a { display: inline-block; padding: 11px 0 12px; margin: -11px 0 -12px; }
.byline-sub { font-size: 11.5px; }
.cm-cover-fig { margin: 30px 0 34px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ground); }
/* a photo runs to the width of the head (the rule over the byline), the caption back on the measure under it */
.cm-read > .cm-cover-fig.is-photo { grid-column: text-start / full-end; max-width: 50rem; aspect-ratio: auto; overflow: visible; background: none; }
.cm-cover-fig.is-photo img { height: auto; aspect-ratio: 16 / 9; background: var(--ground); }
.cm-read-body.article-layout, .sponsored-article .article-layout { grid-column: full-start / full-end; display: grid; grid-template-columns: subgrid; gap: 0; padding-top: 0; padding-bottom: 28px; }
.sponsored-article .article-layout { padding-top: 30px; }
.cm-read-body > .article-main, .sponsored-article .article-main { grid-column: text-start / text-end; max-width: none; }
.cm-read-body > .article-aside, .sponsored-article .article-aside { grid-column: text-end / full-end; }
@media (min-width: 1080px) {
  .cm-read, .sponsored-article > .wrap { grid-template-columns: [full-start] minmax(0, 1fr) [text-start] minmax(0, var(--measure)) [text-end] minmax(340px, 1fr) [full-end]; padding-top: 46px; }
  .cm-read-body > .article-aside, .sponsored-article .article-aside { display: block; justify-self: end; width: 300px; }
}

/* the text: Newsreader at its text optical size, a measure of about 66 characters */
.prose { font-family: var(--f-head); font-size: 1.25rem; line-height: 1.62; color: var(--ink); font-optical-sizing: auto; font-variant-numeric: lining-nums; }
.prose > * { margin: 0 0 1.05em; }
@media (max-width: 719px) { .prose { font-size: 1.1875rem; line-height: 1.6; } }
.prose p, .prose li { text-wrap: pretty; hanging-punctuation: first; }
.prose h2 { font-size: 1.625rem; line-height: 1.2; font-weight: 600; margin: 1.9em 0 0.6em; }
.prose a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.prose a:hover { color: var(--accent-text); text-decoration-thickness: 2px; }
.prose strong { font-weight: 650; }
.prose li::marker { color: var(--accent); }
.prose figcaption, .cover-fig figcaption { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink-2); margin-top: 8px; }
/* a photo's caption, then its credit on a line of its own in mono, as the Assay notes set a source and its details */
.cm-cover-fig .photo-cap, .cm-cover-photo .photo-cap { max-width: var(--measure); margin: 12px 0 0; font-family: var(--f-body); font-size: 14.5px;
  line-height: 1.5; letter-spacing: 0; color: var(--ink-2); text-wrap: pretty; }
.photo-cap .photo-credit { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.55; letter-spacing: 0.02em; color: var(--ink-2); }
.photo-cap .photo-credit a { text-decoration-color: var(--rule-strong); text-underline-offset: 3px; }
.photo-cap .photo-credit a:hover { color: var(--ink); text-decoration-color: var(--accent); }
.cm-prose > p:first-child::first-letter {
  font-family: var(--f-head); font-weight: 600; font-variation-settings: "opsz" 72; color: var(--accent);
  -webkit-initial-letter: 3; initial-letter: 3; margin-right: 0.14em; }
@supports not ((initial-letter: 3) or (-webkit-initial-letter: 3)) {
  .cm-prose > p:first-child::first-letter { float: left; font-size: 4.1em; line-height: 0.8; padding: 0.06em 0.1em 0 0; }
}
/* tables: figures in mono, right-aligned; the column labels in mono caps */
.prose table { font-family: var(--f-body); font-size: 0.75rem; line-height: 1.45; margin: 1.6em 0 1.8em;
  background: linear-gradient(to right, var(--paper) 30%, rgba(243, 239, 231, 0)) left / 40px 100% no-repeat local,
              linear-gradient(to left, var(--paper) 30%, rgba(243, 239, 231, 0)) right / 40px 100% no-repeat local,
              radial-gradient(farthest-side at 0 50%, rgba(43, 43, 43, 0.2), rgba(43, 43, 43, 0)) left / 12px 100% no-repeat scroll,
              radial-gradient(farthest-side at 100% 50%, rgba(43, 43, 43, 0.2), rgba(43, 43, 43, 0)) right / 12px 100% no-repeat scroll; }
.prose th { font-size: 11px; line-height: 1.35; color: var(--ink-2); border-bottom: 2px solid var(--ground); padding: 8px 14px 8px 0; min-width: 84px; }
.prose td { font-size: 15px; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); min-width: 84px; }
.prose .num { font-family: var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prose td.num { font-size: 14px; letter-spacing: -0.01em; }
.prose th a { color: inherit; }
/* "What the release does not say" and "The test": the pull box; "Method": the method note */
.cm-pull { background: var(--paper-pull); border: 1px solid #DCCBB1; padding: 0 22px 6px; margin: 2.2em 0 1.8em; }
.cm-pull::before { content: ""; display: block; height: 14px; background: var(--strata); margin: 0 -22px 22px; }
.cm-pull h2 { margin: 0 0 0.55em; font-size: 1.5rem; font-style: italic; font-weight: 400; color: var(--head); }
.cm-pull > :not(h2) { font-size: 1.125rem; line-height: 1.58; margin: 0 0 1em; }
.cm-method { border-top: 2px solid var(--ground); padding-top: 14px; margin: 2.2em 0 1.4em; }
.cm-method h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 12px; }
.cm-method > :not(h2) { font-family: var(--f-body); font-size: 1rem; line-height: 1.6; margin: 0 0 0.9em; }
.prose .ad-inline { margin: 2.1em 0; }
@media (min-width: 720px) { .cm-pull { padding: 0 30px 8px; } .cm-pull::before { margin: 0 -30px 24px; } }

/* sources as "Assay notes": numbered, hanging indent */
.cm-assay { margin-top: 50px; padding-top: 0; border-top: 0; }
.cm-assay .cm-eyebrow { padding-top: 16px; border-top: 2px solid var(--ground); }
.cm-assay h2 { font-size: 1.875rem; font-weight: 580; font-variation-settings: "opsz" 72; margin: 0 0 14px; }
.cm-assay .cm-assay-list { counter-reset: assay; list-style: none; margin: 0; padding: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.5; }
.cm-assay .cm-assay-list li { counter-increment: assay; position: relative; padding: 13px 0 13px 3.25rem; border-top: 1px solid var(--rule); margin: 0; }
.cm-assay-list li::before { content: counter(assay, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-family: var(--f-mono); font-size: 13px;
  font-weight: 600; letter-spacing: 0.04em; color: var(--accent-text); }
.cm-assay-list a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.cm-assay-list a:hover { text-decoration-thickness: 2px; }
.cm-assay-list .src-meta, .sources .src-meta { display: block; margin-top: 4px; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.45; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2); }

.share { margin-top: 34px; padding: 6px 0; gap: 4px 22px; border-color: var(--rule); }
.share .mono { font-size: 11.5px; }
.share a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration-color: var(--accent); text-underline-offset: 5px; }
.col-box { border-left: 0; border: 1px solid var(--rule); background: var(--paper-2); padding: 20px 22px; margin-top: 30px; column-gap: 18px; }
.col-box .cm-eyebrow { margin: 0 0 6px; font-size: 11.5px; line-height: 1.4; color: var(--accent-text); }
.col-box h2 { font-size: 1.375rem; }
.col-box h2 a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.col-box p { color: var(--ink-2); font-size: 16px; }

.aside-sticky { top: 24px; gap: 36px; }
.aside-list h2 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
  padding-bottom: 10px; border-bottom: 2px solid var(--ground); margin-bottom: 0; }
.list-item { padding: 14px 0; }
.aside-list .list-item:first-child { border-top: 0; }
.list-item .hl { display: block; font-size: 1.125rem; line-height: 1.25; color: var(--head); }

.cm-related { background: var(--paper-2); border-top: 0; margin-top: 34px; padding: 0 0 50px; }
.cm-related > .cm-strata { margin-bottom: 40px; }
.cm-related-row > li { min-width: 0; }
.cm-line .cm-depth { padding: 10px 0 0; }
@media (min-width: 720px) {
  .cm-related-row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 26px; }
}
@media (min-width: 1024px) { .cm-related-row { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; } .cm-related-row .cm-core-h { font-size: 1.25rem; } }

/* partner content (build.py's markup) on this theme */
.sponsor-about, .ad-disclosure { border-left: 0; border: 1px solid var(--rule); background: var(--paper-2); }
.sponsored-card { border-top-color: var(--accent); }
.sponsored-card .kicker::before { display: none; }
.supported-by img { background: var(--field); }

/* ---------------------------------------------------------------- listings: the core log */
.cm-page-head { padding: 38px 0 34px; border-bottom: 2px solid var(--ground); }
.cm-page-head h1, .doc h1, .notfound h1 { font-size: clamp(2.375rem, 1.5rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -0.018em; font-weight: 580; font-variation-settings: "opsz" 72; }
.cm-page-head .intro, .col-desc { font-family: var(--f-dek); font-style: italic; font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem); line-height: 1.45; color: var(--ink-2); max-width: 36em; }
.cm-page-head .col-desc { font-style: normal; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--ink); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 8px; color: var(--ink-2); font-size: 12px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 4px; }
.crumbs > span::before { content: "/"; margin: 0 10px; color: var(--rule-strong); }
.crumbs > span a { min-height: 44px; }
.cm-desk-cols { margin: 14px 0 0; font-size: 16px; color: var(--ink-2); }
.cm-desk-cols a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; display: inline-block; padding: 10px 0; margin: -10px 0; }
.entity-head img { border: 1px solid var(--rule); }
.disclosure { border-left: 0; border: 1px solid var(--rule); background: var(--paper-2); padding: 14px 18px 15px; color: var(--ink); font-size: 16px; }
.disclosure::before { content: "Disclosure"; display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }

.cm-listing { padding-top: 6px; }
.cm-log { list-style: none; margin: 0; padding: 0; }
.cm-log-item { position: relative; display: grid; grid-template-columns: 74px minmax(0, 1fr); column-gap: 24px; padding: 24px 0 26px; }
.cm-log-item::before { content: ""; position: absolute; top: 0; bottom: 0; left: 85px; width: 2px; background: var(--ground); }
.cm-log-item:first-child::before { top: 28px; }
.cm-log-item:last-child::before { bottom: auto; height: 34px; }
.cm-log-item:only-child::before { display: none; }
.cm-log-item + .cm-log-item { border-top: 1px solid var(--rule); }
.cm-log-depth { grid-column: 1; grid-row: 1 / span 3; margin: 0; padding: 2px 0 0; text-align: right; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.4;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); position: relative; }
.cm-log-depth .cm-dd { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.cm-log-depth .cm-yy { display: block; margin-top: 2px; font-size: 11px; color: var(--ink-2); }
.cm-log-depth::after { content: ""; position: absolute; top: 5px; right: -18px; width: 10px; height: 10px; background: var(--sand); box-shadow: inset 0 0 0 2px var(--ground); }
.cm-log-story { grid-column: 2; min-width: 0; padding-left: 8px; }
.cm-log-story h3 { font-size: 1.3125rem; line-height: 1.2; font-weight: 600; text-wrap: pretty; }
.cm-log-story h3 a { color: var(--head); text-decoration: none; }
.cm-log-story .dek { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 40em; }
.cm-log-story .meta { margin-top: 10px; }
.cm-log-item > .thumb { display: none; }
@media (max-width: 719px) { .cm-log-story .dek { display: none; } }
@media (min-width: 720px) {
  .cm-log-item { grid-template-columns: 92px minmax(0, 1fr) 216px; column-gap: 28px; padding: 28px 0 30px; }
  .cm-log-item::before { left: 105px; }
  .cm-log-depth::after { right: -22px; }
  .cm-log-story { padding-left: 12px; }
  .cm-log-story h3 { font-size: 1.5rem; }
  .cm-log-item > .thumb { display: block; grid-column: 3; grid-row: 1 / span 3; align-self: start; }
  .cm-log-item:last-child::before { height: 38px; }
}
.cm-listing-main .col-pieces { margin-top: 54px; }
.cm-listing-main .cm-band-head h2 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
.cm-listing-aside .aside-list .list-item .meta > :first-child { display: none; }
.empty { color: var(--ink-2); }

.cm-pager { gap: 8px; margin-top: 30px; }
.cm-pager a, .cm-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; }
.cm-pager span[aria-current] { background: var(--ground); border-color: var(--ground); color: var(--on-ground); }
.cm-pager a:hover { border-color: var(--ground); box-shadow: inset 0 -3px 0 var(--accent); }

/* ---------------------------------------------------------------- columns pages */
.cm-col-cards { padding: 34px 0 20px; gap: 22px; }
.cm-col-card { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 22px; border: 1px solid var(--rule); border-top: 3px solid var(--ground); background: var(--paper-2); }
.cm-col-card img { width: 72px; height: 72px; }
.col-card h2 { font-size: 1.625rem; font-weight: 600; }
.col-card h2 a { display: inline-block; padding: 9px 0; margin: -9px 0; }
.col-card .role { color: var(--accent-text); margin: 6px 0 10px; font-size: 11.5px; }
.cm-beat { font-size: 16px; line-height: 1.5; }
.cm-q { margin: 12px 0 0; font-family: var(--f-dek); font-size: 1.1875rem; line-height: 1.35; color: var(--head); }
.cm-q .mono, .col-card .latest .mono { display: block; font-size: 11px; color: var(--ink-2); margin-bottom: 4px; }
.col-card .latest { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 16px; color: var(--ink-2); }
.col-card .latest a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }
@media (min-width: 900px) {
  .cm-col-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .cm-col-card { grid-template-columns: 96px minmax(0, 1fr); gap: 22px; padding: 26px; }
  .cm-col-card img { width: 96px; height: 96px; }
}
@media (min-width: 1240px) { .cm-col-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.col-header { padding-top: 28px; }
.cm-col-head { padding-top: 26px; }
.cm-col-head .crumbs { margin-bottom: 4px; }
.col-jump { font-size: 16px; }
.col-jump a { display: inline-flex; align-items: center; min-height: 44px; }
.col-lede { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.4375rem); }
.col-q { border-left: 0; border: 1px solid var(--rule); border-top: 3px solid var(--ground); background: var(--paper-2); }
.col-q h2 { font-size: 12px; }
.col-sec h2 { font-size: 1.625rem; font-weight: 600; }
.col-dl dt { color: var(--head); }
.col-dl dt a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--head); text-decoration-color: var(--accent); text-underline-offset: 4px; }
.col-more summary { min-height: 48px; }

/* ---------------------------------------------------------------- publication pages */
.cm-doc { padding-top: 40px; padding-bottom: 64px; }
.doc { max-width: 44rem; }
.doc h1 { margin-bottom: 20px; }
.doc .lede { font-family: var(--f-dek); font-style: italic; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.45; color: var(--ink-2); }
.doc h2 { font-size: 1.75rem; font-weight: 600; margin-top: 1.7em; }
.doc h2::before { content: ""; display: block; width: 22px; height: 2px; background: var(--accent); margin-bottom: 12px; }
.doc a { text-underline-offset: 4px; }
.doc .note { border-left: 0; border: 1px solid var(--rule); background: var(--paper-2); padding: 18px 20px; }
.doc-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 16px; }
.doc-nav a[aria-current="page"] { box-shadow: none; padding-left: 0; color: var(--head); font-weight: 650; gap: 10px; }
.doc-nav a[aria-current="page"]::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
@media (min-width: 960px) { .doc-nav ul { border-top: 2px solid var(--ground); } }
@media (max-width: 959px) { .doc-nav ul { gap: 0 20px; } }
.emails .addr { color: var(--head); }
.rates { font-size: 16px; }
.rates .sub, .rates td.dims, .rates td.dur { font-size: 16px; }
.rates .sub { color: var(--ink-2); }
.placement p { font-size: 16px; }
.rates td.price { font-family: var(--f-mono); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.rates th { border-bottom-color: var(--ground); }
.launch-tag { background: var(--ground); }
.placement .vis { background: var(--paper-2); }
.steps li::before { background: var(--ground); }
/* /photo-credits: the list ruled in charcoal like the site's other indexes, each caption set as a headline */
ol.photo-list { border-top: 2px solid var(--ground); }
p.photo-item-cap { font-family: var(--f-head); font-size: 1.1875rem; line-height: 1.35; font-weight: 500; color: var(--head); text-wrap: pretty; }
/* phones: the picture runs the full column, as cm's image-first cards do (the shared 320 px cap left a ragged gap) */
@media (max-width: 639px) { .photo-item img { max-width: none; } }
.kit-link a:not(.btn-line) { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* ---------------------------------------------------------------- footer */
.cm-foot { background: var(--ground); padding: 0 0 30px; }
.cm-foot > .cm-strata-foot { margin-bottom: 50px; }
.cm-foot .foot-top { border-bottom-color: var(--ground-line); padding-bottom: 34px; }
.cm-foot .foot-brand a { display: inline-block; padding: 4px 0; }
.cm-foot .foot-brand img { height: 40px; }
.cm-foot .foot-brand p { font-family: var(--f-dek); font-style: italic; font-size: 1.125rem; line-height: 1.5; color: var(--on-ground-2); max-width: 26em; }
.cm-foot h2 { color: var(--ochre-on-ground); letter-spacing: 0.1em; margin-bottom: 6px; }
.cm-foot li { margin: 0; }
.cm-foot ul a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
.cm-foot .foot-base { color: var(--on-ground-2); font-size: 15px; }
.cm-foot a:hover { text-decoration-color: var(--ochre-on-ground); }

/* ---------------------------------------------------------------- 404 */
.cm-notfound { padding-top: 64px; }
/* the wordmark as a letterhead over the copy, always smaller than the nameplate above it (220 px on phones, 348 px from 720 px) */
.cm-notfound .nf-mark { width: min(180px, 50vw); height: auto; margin: 0 0 28px; }
@media (min-width: 720px) { .cm-notfound .nf-mark { width: 240px; margin-bottom: 34px; } }
.cm-notfound ul { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.cm-notfound ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* ---------------------------------------------------------------- motion and print */
@media (prefers-reduced-motion: reduce) {
  .cm-core .thumb img { transition: none; }
  .cm-core:hover .thumb img { transform: none; }
}

/* Trackers (build.py's hub pages): "Last updated", the answer box, the notes under the tables, the latest coverage
   and the footer's Trackers list */
.hub-updated { margin: 12px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.prose .hub-answer { margin: 0 0 1.6em; padding: 16px 20px; background: var(--paper-2); border-left: 4px solid var(--accent); }
.hub-answer p { margin: 0; }
.prose .hub-answer .hub-asof { margin-top: 10px; }
.prose .hub-answer .hub-asof + p { margin-top: 14px; }
.prose .hub-asof, .prose .hub-note { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.hub-coverage { margin-top: 36px; }
.hub-coverage h2 { font-size: 20px; margin-bottom: 8px; }
.hub-none { color: var(--ink-2); }
.foot-trackers { margin-top: 22px; }
/* Phones: each row in two columns, the label (or the date of an event) beside the value and the "As of" date under the
   value, so no date runs past the edge of the screen (as bc and em) */
@media (max-width: 719px) {
  .prose table.hub-table { display: block; border-top: 2px solid var(--ground); }
  .hub-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hub-table tbody { display: block; }
  .hub-table tr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 14px; row-gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .prose .hub-table td { display: block; min-width: 0; padding: 0; border: 0; }
  .hub-table td:first-child { grid-row: span 2; }
  .hub-table td + td { grid-column: 2; }
  .hub-table td:empty { display: none; }
  .hub-table td.hub-val + td.hub-date { font-size: 13.5px; color: var(--ink-2); }
  .hub-table td.hub-val + td.hub-date::before { content: "As of "; }
}
/* Wider screens: a date in a tracker table stays on one line ("27 November 2023", not one word a line) */
@media (min-width: 720px) { .hub-table td.hub-date { white-space: nowrap; } }
/* no cover between the head and the body on a tracker: the space it leaves */
.hub .cm-read-body.article-layout { padding-top: 34px; }

@media print {
  .cm-strata, .cm-strata-mast, .cm-strata-dark, .cm-strata-foot, .cm-related, .cm-columns { display: none !important; }
  .cm-read { display: block; }
}
