/* Local article layout. The shared site styles supply the header, footer and Geist. */
body.article-page { margin: 0; font-family: Geist, Arial, sans-serif; }

.article-frame {
  display: flow-root;
  --article-white: #fff;
  --article-ivory: #f4f3ef;
  --article-rule: #deddd7;
  --article-link: #353632;
  --article-title: #20211f;
  --article-copy: #373832;
  --article-muted: #5b5b54;
  --article-accent: #454640;
  color-scheme: light;
  background: var(--article-ivory);
  color: var(--article-copy);
  font-family: Geist, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.article-page .skip {
  position: fixed;
  inset: 0 auto auto 1rem;
  z-index: 1100;
  padding: .65rem 1rem;
  transform: translateY(-110%);
  background: #fff;
  color: #20211f;
}

.article-page .skip:focus { transform: none; }

/* The outer gutter and thin border frame one uninterrupted white article. */
.article-shell {
  --frame-x: clamp(20px, 5vw, 88px);
  --page-inset: clamp(28px, 5vw, 80px);
  --read-width: 860px;
  box-sizing: border-box;
  width: min(1360px, calc(100% - 2 * var(--frame-x)));
  margin: clamp(20px, 2.5vw, 40px) auto;
  padding-bottom: clamp(54px, 7vw, 100px);
  border: 1px solid var(--article-rule);
  background: var(--article-white);
  color: var(--article-copy);
  font: 400 17px/1.65 Geist, Arial, sans-serif;
  overflow-wrap: break-word;
}

.article-shell *, .article-shell *::before, .article-shell *::after { box-sizing: border-box; }
.article-shell :where(h1, h2, h3, h4, p, figure, ul, ol, blockquote) { margin: 0; }
.article-shell :where(a, summary):focus-visible {
  outline: 2px solid var(--article-link);
  outline-offset: 3px;
}

.article-crumb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 9px;
  padding: 15px var(--page-inset);
  border-bottom: 1px solid var(--article-rule);
  list-style: none;
  font-size: 12px;
  line-height: 1.45;
  color: var(--article-muted);
}
.article-crumb li + li::before { content: "/"; margin-right: 9px; }
.article-crumb a { color: var(--article-copy); text-decoration: none; }
.article-crumb a:hover { text-decoration: underline; }

.article-hero {
  position: relative;
  aspect-ratio: 2.5;
  overflow: hidden;
  background: var(--article-white);
}
.article-shell figure img { display: block; width: 100%; height: auto; }
.article-featured .article-cover-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 48%;
}
.article-featured .article-cover-logo {
  position: absolute;
  top: clamp(18px, 2.6vw, 38px);
  left: clamp(20px, 3.7vw, 60px);
  width: clamp(66px, 7.2vw, 110px);
  height: auto;
}
.article-heading { padding-block-start: clamp(24px, 3.1vw, 46px); }
.article-heading h1 {
  margin: 0;
  color: var(--article-title);
  font-family: Geist, Arial, sans-serif;
  line-height: 1.06;
}
.article-topic {
  display: block;
  font-size: clamp(38px, 4.1vw, 68px);
  font-weight: 600;
  letter-spacing: -.045em;
}
.article-title-detail {
  display: block;
  margin-top: .32em;
  font-size: clamp(22px, 2.05vw, 37px);
  font-weight: 450;
  letter-spacing: -.023em;
  line-height: 1.17;
  text-wrap: balance;
}
.article-byline {
  margin-block: 18px 0;
  color: var(--article-muted);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .035em;
}
.article-shell figcaption {
  margin-top: 10px;
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.5;
}

.article-layout, .article-heading, .article-shell .article-lede {
  width: min(var(--read-width), calc(100% - 2 * var(--page-inset)));
  margin-inline: auto;
}
.article-shell .article-lede {
  margin-block: 12px 26px;
  color: var(--article-copy);
  font-size: clamp(17px, 1.48vw, 21px);
  line-height: 1.65;
}

.article-toc {
  padding: clamp(19px, 2.8vw, 38px);
  border: 1px solid var(--article-rule);
  background: var(--article-white);
  font-size: clamp(16px, 1.34vw, 19px);
  line-height: 1.45;
}
.article-toc summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6em;
  color: var(--article-title);
  cursor: pointer;
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.025em;
  list-style: none;
}
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc summary :is(.toc-hide, .toc-show) {
  color: var(--article-link);
  font-size: .69em;
  font-weight: 450;
  letter-spacing: 0;
}
.article-toc details[open] .toc-show, .article-toc details:not([open]) .toc-hide { display: none; }
.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.article-toc details > ol { margin-top: 15px; }
.article-toc li > ol { padding-inline-start: 1.55em; }
.article-toc a {
  display: flex;
  align-items: baseline;
  gap: .48em;
  padding-block: 4px;
  color: var(--article-link);
  text-decoration: none;
}
.article-toc details > ol > li > a { font-weight: 550; }
.article-toc .toc-number { flex: none; font-variant-numeric: tabular-nums; }
.article-toc a:hover, .article-toc a:focus-visible, .article-toc summary:hover :is(.toc-hide, .toc-show) {
  text-decoration: underline;
  text-underline-offset: .16em;
}

.article-body { margin-top: clamp(37px, 4.6vw, 68px); }
.article-body :is(section, h2, h3, h4, details)[id] { scroll-margin-top: 14px; }
.article-body > section + section {
  margin-top: clamp(38px, 4.4vw, 60px);
  padding-top: clamp(26px, 3.3vw, 45px);
  border-top: 1px solid var(--article-rule);
}

.article-body h2 {
  margin-bottom: 20px;
  color: var(--article-title);
  font-size: clamp(29px, 2.85vw, 42px);
  font-weight: 620;
  letter-spacing: -.045em;
  line-height: 1.15;
  text-wrap: balance;
}

.article-body h3 {
  margin: 30px 0 10px;
  color: var(--article-title);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 570;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.article-body h4 {
  margin: 22px 0 8px;
  color: var(--article-title);
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.article-body p, .article-body ul, .article-body ol { margin-block: 0 1em; }
.article-body p, .article-body li { max-width: 74ch; }
.article-body section > :last-child { margin-bottom: 0; }
.article-body ul, .article-body ol { padding-inline-start: 1.35em; }
.article-body li { margin-block: .5em; padding-inline-start: .15em; }
.article-body strong { color: var(--article-title); font-weight: 600; }
.article-body li::marker { color: var(--article-accent); }
.article-body a {
  color: var(--article-accent);
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
}

.article-body a:hover { color: var(--article-title); text-decoration-color: currentColor; }
.article-body figure { margin: 26px auto 30px; text-align: center; }
.article-body .article-part { max-width: 370px; }
.article-body .article-figure-wide { width: 100%; }
.article-body .article-figure-wide:not(:last-child) { margin-bottom: 30px; }

.article-table-wrap { width: 100%; margin-block: 24px 28px; }
.article-table-wrap table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.article-table-wrap :is(th, td) {
  padding: 14px 16px;
  border-bottom: 1px solid var(--article-rule);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.article-table-wrap thead th {
  border-top: 1px solid var(--article-rule);
  border-bottom: 2px solid var(--article-rule);
  background: var(--article-white);
  font-weight: 600;
  color: var(--article-title);
}

.article-table-wrap tr > :first-child { width: 25%; }
.article-table-wrap tbody th { color: var(--article-title); font-weight: 550; }
.article-table-wrap caption { text-align: left; margin: 0 0 10px; color: var(--article-muted); }

.article-brief {
  margin-block: 22px;
  padding: 19px 23px;
  background: var(--article-white);
  border: 1px solid var(--article-rule);
  border-inline-start: 3px solid var(--article-accent);
  color: var(--article-title);
}

.article-brief > :last-child { margin-bottom: 0; }
.article-body a.article-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .58em 1.15em;
  border: 1px solid var(--article-accent);
  border-radius: 3px;
  background: var(--article-white);
  color: var(--article-title);
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
}

.article-body a.article-cta:hover { text-decoration: underline; }

.article-body details { border-bottom: 1px solid var(--article-rule); }
.article-body details:first-of-type { border-top: 1px solid var(--article-rule); }
.article-body summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-block: 17px;
  cursor: pointer;
  color: var(--article-title);
  line-height: 1.4;
  list-style: none;
}

.article-body summary::-webkit-details-marker { display: none; }
.article-body summary :is(h3, p) { margin: 0; }
.article-body summary, .article-body summary h3 { font-size: clamp(17px, 1.4vw, 21px); }
.article-body summary::after {
  content: "+";
  flex: none;
  color: var(--article-accent);
  font-size: 1.2em;
  line-height: 1;
}

#faq { counter-reset: question; }
#faq details { counter-increment: question; }
#faq summary h3 { display: flex; gap: .55em; }
#faq summary h3::before {
  content: counter(question) ")";
  min-width: 1.25em;
  color: var(--article-muted);
  font-variant-numeric: tabular-nums;
}

.article-body details[open] > summary::after { content: "−"; }
.article-body details > p { margin: 0 2em 18px 0; }
.article-process-chart details {
  padding-inline: clamp(13px, 2vw, 24px);
  background: var(--article-white);
  text-align: start;
}
.article-body .article-process-chart summary { font-size: 16px; }
/* The supplied chart is monochrome artwork with light lettering on black. */
.article-process-chart details > img { margin-inline: auto; filter: grayscale(1) invert(1); }
.article-body .article-process-chart details > p {
  margin: 0;
  padding: 11px 0 16px;
  max-width: none;
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 720px) {
  .article-shell {
    --frame-x: 8px;
    --page-inset: clamp(16px, 4.2vw, 28px);
    margin-block: 10px;
    font-size: 16px;
  }
  .article-crumb { gap: 3px 6px; padding-block: 11px; font-size: 11px; }
  .article-crumb li + li::before { margin-right: 6px; }
  .article-hero { aspect-ratio: 1.76; }
  .article-featured .article-cover-photo { object-position: 52% center; }
  .article-featured .article-cover-logo { top: 12px; left: 15px; width: clamp(49px, 13vw, 70px); }
  .article-topic { font-size: clamp(29px, 7.4vw, 42px); }
  .article-title-detail { max-width: 34ch; font-size: clamp(18px, 4.8vw, 25px); }
  .article-byline { margin-block-start: 14px; }
  .article-shell .article-lede { margin-block: 9px 24px; }
  .article-toc { padding: 16px clamp(12px, 3.4vw, 20px); }
  .article-toc li > ol { padding-inline-start: .8em; }
  .article-toc a { padding-block: 5px; gap: .35em; }
  .article-body h2 { margin-bottom: 15px; }
  .article-body figure { margin-block: 22px; }
  .article-table-wrap :is(th, td) { padding: 10px 7px; }
  .article-table-wrap table { font-size: 14px; line-height: 1.45; }
  .article-table-wrap tr > :first-child { width: 22%; }
  .article-shell figcaption { font-size: 12px; }
  .article-brief { padding: 15px 17px; }
  .article-body details > p { margin-inline-end: 0; }
}

@media (max-width: 360px) {
  .article-table-wrap :is(th, td) { padding-inline: 5px; }
}
