:root {
  color-scheme: light;
  --paper: #fff;
  --surface: #f5f5f7;
  --surface-tint: #edf4ff;
  --text: #17181c;
  --muted: #555963;
  --line: #dedfe4;
  --accent: #0062c4;
  --accent-hover: #004d9e;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
main { min-height: 65vh; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .23em; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
:target, .chapter { scroll-margin-top: 5.75rem; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; }
.wrap { width: min(100% - 7rem, 76rem); margin-inline: auto; }
.reading { width: min(100% - 7rem, 49rem); margin-inline: auto; }
.mono, time { font-variant-numeric: tabular-nums; }
.eyebrow { color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 10; border-radius: .4rem; background: var(--accent); color: #fff; padding: .55rem .9rem; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.initial { padding-block: 6rem; }

.button { display: inline-flex; align-items: center; justify-content: center; padding: .63rem 1.28rem; min-height: 2.85rem; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: white; text-decoration: none; font-size: .96rem; font-weight: 600; line-height: 1.3; }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.secondary { background: transparent; color: var(--accent-hover); border-color: #a6c6e9; }
.button.secondary:hover { background: #e7f2fe; border-color: #8fb9e8; }
.art-credit { margin-top: .68rem; color: var(--muted); font-size: .82rem; text-align: center; }


.section { padding-block: clamp(4.5rem, 9vw, 9rem); }
.section.tint { background: var(--surface); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.65rem, 4vw, 3.2rem); }
.section-heading h2, .page-title h1 { margin-top: .42rem; font-size: clamp(2.65rem, 6.3vw, 5.1rem); letter-spacing: -.059em; }
.text-link { color: var(--accent-hover); font-weight: 600; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.85rem); }
.news-card, .guide-card { min-width: 0; display: flex; flex-direction: column; border-radius: 1.55rem; border: 1px solid #eeeff3; overflow: hidden; background: var(--surface); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.news-card.featured { border-color: #dfebfc; background: var(--surface-tint); }
.news-card:hover, .guide-card:hover { transform: translateY(-3px); box-shadow: 0 13px 38px #23395216; }
.news-card:hover h3, .guide-card:hover h3 { color: #114f93; }
.card-copy { flex: 1; display: grid; align-content: start; gap: .9rem; padding: clamp(1.38rem, 2.6vw, 2.12rem); }
.card-copy h3 { font-size: clamp(1.48rem, 2.65vw, 2.15rem); line-height: 1.12; letter-spacing: -.044em; text-wrap: pretty; }
.card-copy p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card-foot { margin-top: auto; padding: 0 clamp(1.38rem, 2.6vw, 2.12rem) 1.65rem; color: var(--accent-hover); font-size: .91rem; font-weight: 650; }
.edition-line { display: flex; flex-wrap: wrap; align-items: center; column-gap: .55rem; color: var(--muted); font-size: .845rem; font-variant-numeric: tabular-nums; }
.edition-line strong { color: var(--accent-hover); font-weight: 700; }
.guide-card { border-color: #e9eaee; background: #fff; }
.guide-card img { aspect-ratio: 1.75; object-fit: cover; background: #eceff3; }

.page-title { padding-block: clamp(3.75rem, 8vw, 7rem) clamp(2rem, 5.5vw, 4rem); text-align: center; }
.page-title p:not(.eyebrow) { max-width: 44rem; margin: .95rem auto 0; color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.25rem); text-wrap: pretty; }
.archive, .guide-list { padding-bottom: clamp(4rem, 8vw, 8rem); }
.guide-list { max-width: 67rem; margin-inline: auto; }
.filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; padding: clamp(1rem, 3vw, 1.55rem); border-radius: 1.35rem; background: var(--surface); }
.filters label { display: grid; gap: .4rem; color: #343842; font-size: .92rem; font-weight: 620; }
input, select { width: 100%; min-width: 0; min-height: 2.9rem; padding: .61rem .8rem; border: 1px solid #caced8; border-radius: .65rem; background: #fff; color: var(--text); }
input::placeholder { color: #656973; }
select { appearance: none; padding-right: 2.05rem; background-image: linear-gradient(45deg, transparent 50%, #43516c 50%), linear-gradient(135deg, #43516c 50%, transparent 50%); background-position: calc(100% - 1rem) 54%, calc(100% - .7rem) 54%; background-size: .32rem .32rem; background-repeat: no-repeat; }
.filter-count { margin: 1.65rem 0 1rem; color: var(--muted); font-size: .95rem; }
.empty { grid-column: 1/-1; padding: 1.4rem; border-radius: .9rem; background: var(--surface); }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: clamp(2.3rem, 5vw, 4.4rem); color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--accent-hover); }
.article-head { padding-block: clamp(2rem, 5vw, 4rem) clamp(2.1rem, 5vw, 3.6rem); border-bottom: 1px solid var(--line); }
.article-head h1 { margin: .75rem 0 1.1rem; font-size: clamp(2.65rem, 6.5vw, 5.2rem); letter-spacing: -.058em; text-wrap: balance; }
.article-head .lead { color: var(--muted); font-size: clamp(1.15rem, 2.6vw, 1.43rem); line-height: 1.5; text-wrap: pretty; }
.article-body { padding-bottom: clamp(4.5rem, 8vw, 8rem); }
.story, .chapter { padding-block: clamp(2.25rem, 5.4vw, 3.85rem); border-bottom: 1px solid var(--line); }
.story h2, .chapter h2 { margin: .55rem 0 .85rem; font-size: clamp(1.65rem, 3.7vw, 2.54rem); letter-spacing: -.052em; text-wrap: pretty; }
.story p, .chapter p, .chapter li { color: #41454d; font-size: 1.094rem; line-height: 1.74; }
.story p + p, .chapter p + p { margin-top: 1rem; }
.source-links { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
.source-links ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .25rem 0 0; padding: 0; list-style: none; }
.source-links a, .contents a { color: var(--accent-hover); }
.source-links li, .chapter .source-links li { font-size: .92rem; }
.note { margin-block: 2.25rem; padding: clamp(1.35rem, 3vw, 2rem); border-radius: 1.35rem; background: var(--surface-tint); }
.note p + p { margin-top: .45rem; }
.article-navigation { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem; margin-top: 2rem; }
.article-art { margin: clamp(2rem, 4.8vw, 3.9rem) 0 1rem; }
.article-art img { aspect-ratio: 2.05; object-fit: cover; border-radius: 1.55rem; background: var(--surface); }
.contents { margin-top: 2.3rem; padding: 1.4rem 1.55rem; border-radius: 1.2rem; background: var(--surface); }
.contents ol { margin: .55rem 0 0; padding-left: 1.25rem; }
.contents li + li { margin-top: .24rem; }
.chapter pre { overflow: auto; padding: 1rem 1.15rem; border-radius: .8rem; background: var(--surface); font: .93rem/1.65 ui-monospace, Consolas, monospace; white-space: pre-wrap; }

.site-footer { border-top: 1px solid #e9eaee; background: var(--surface); padding-block: 2.15rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.55rem; color: var(--muted); font-size: .86rem; }
.footer-inner .brand { color: var(--text); }
.footer-inner .mono { margin-left: auto; }

@media (max-width: 64rem) {
  .wrap, .reading { width: calc(100% - 4rem); }
  .reading { max-width: 49rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-list { width: calc(100% - 4rem); }
}
@media (max-width: 42rem) {
  .wrap, .reading, .guide-list { width: calc(100% - 2rem); }
  .cards { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: .55rem; }
  .filters { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .filters label:first-child { grid-column: 1 / -1; }
  .footer-inner .mono { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .news-card, .guide-card { transition: none; }
}
/* ApexBlog's editorial layout. */
:root {
  --paper: #f5f0e8;
  --surface: #ece4d7;
  --surface-tint: #f2d4c9;
  --text: #1b1916;
  --muted: #514c45;
  --line: #bbb0a2;
  --accent: #a62719;
  --accent-hover: #872215;
  --vermilion: #c13728;
  --ink: #201c19;
  --body: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --display: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --index: Consolas, "Courier New", monospace;
  --poster: "Apex Barlow", Impact, "Arial Narrow", sans-serif;
}

body { background: var(--paper); }
h1, h2, h3 { font-family: var(--display); }
.eyebrow { color: var(--accent); font-family: var(--index); font-size: .88rem; letter-spacing: .06em; }
.wrap { width: min(100% - 6rem, 82rem); }
.reading { width: min(100% - 6rem, 49rem); }
:focus-visible { outline-color: var(--accent); }
::selection { background: #e9a895; color: var(--ink); }

.masthead {
  position: sticky;
  z-index: 5;
  top: 0;
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  display: grid;
  width: 100%;
  min-height: 4.85rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.brand {
  align-self: center;
  justify-self: start;
  font: 900 clamp(1.9rem, 3vw, 3.35rem)/.9 var(--poster);
  letter-spacing: -.025em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-accent { color: #ee8e7c; }
.header-inner > .brand { padding-inline: clamp(.9rem, 3vw, 3.4rem); }
.header-inner nav { display: grid; grid-template-columns: .95fr 1.2fr .9fr; }
.header-inner nav a {
  display: grid;
  place-items: center;
  min-height: 2.8rem;
  padding: .2rem .15rem .3rem;
  border-left: 1px solid #f5f0e85c;
  font: 900 clamp(1.22rem, 2.6vw, 2.9rem)/1 var(--poster);
  letter-spacing: -.015em;
  text-decoration: none;
  text-transform: uppercase;
}
.header-inner nav a:nth-child(1) span { transform: rotate(-5deg); }
.header-inner nav a:nth-child(2) { background: var(--paper); color: var(--ink); }
.header-inner nav a:nth-child(2) span { transform: skewX(-8deg); }
.header-inner nav a:nth-child(3) { background: var(--accent); }
.header-inner nav a:nth-child(3) span {
  font: italic 700 .83em/1 var(--serif);
  letter-spacing: -.055em;
  text-transform: none;
  transform: rotate(5deg);
}
.header-inner nav a:hover,
.header-inner nav a[aria-current] { color: var(--ink); background: #ee9f91; }
.header-inner a:focus-visible { outline: 2px solid #eea394; outline-offset: -4px; }
.header-edition {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .36rem clamp(.65rem, 1.7vw, 1.5rem);
  border-left: 1px solid #f5f0e85c;
  text-decoration: none;
}
.header-edition span {
  max-width: 7ch;
  font: 700 .72rem/1.08 var(--index);
  text-transform: uppercase;
}
.header-edition strong { color: #ee9f91; font: 900 clamp(1.85rem, 4vw, 3.8rem)/1 var(--poster); }
.header-edition:hover { color: var(--ink); background: var(--paper); }
.header-edition:hover strong { color: var(--accent); }

.button { color: var(--paper); background: var(--ink); border-color: var(--ink); border-radius: 0; padding-inline: .98rem; }
.button:hover { color: #fff; background: var(--accent-hover); border-color: var(--accent-hover); }
.button.secondary { color: var(--ink); border-color: var(--ink); background: transparent; }
.button.secondary:hover { color: var(--accent-hover); border-color: var(--accent-hover); background: #efded0; }

.section { padding-block: clamp(4rem, 8vw, 8rem); }
.section.tint { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { align-items: end; padding-bottom: 1.1rem; border-bottom: 1px solid var(--ink); }
.section-heading h2, .page-title h1 {
  font: 900 clamp(3.35rem, 10.6vw, 10rem)/.9 var(--poster);
  letter-spacing: -.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.text-link { color: var(--accent); }
.cards { gap: clamp(1rem, 3vw, 2.6rem); }
.news-card, .guide-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; transition: background-color .2s ease; }
.guide-card { border-top: 0; }
.news-card.featured { background: none; }
.news-card:hover, .guide-card:hover { transform: none; box-shadow: none; background: #eee0d1; }
.news-card:hover h3, .guide-card:hover h3 { color: var(--accent-hover); }
.card-copy { padding: clamp(.95rem, 3vw, 1.55rem); }
.card-copy h3 { letter-spacing: -.05em; }
.card-foot { padding: 0 clamp(.95rem, 3vw, 1.55rem) 1.25rem; color: var(--accent); }
.edition-line { font-family: var(--index); font-size: .84rem; }
.edition-line strong { color: var(--accent); }
.guide-card img { aspect-ratio: 1.72; background: #d8c2ad; }
.news-wall .section-heading { border-bottom: .3rem solid var(--ink); }
.edition-list {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.1rem clamp(1.1rem, 3.4vw, 3rem);
}
.edition-list .news-card { border-top: .16rem solid var(--ink); }
.edition-list h3 { font: 900 clamp(1.85rem, 3.6vw, 3.5rem)/.97 var(--poster); text-transform: uppercase; }
.edition-list .featured {
  grid-row: span 2;
  align-self: stretch;
  background: var(--accent);
  color: var(--paper);
  border: .16rem solid var(--ink);
  box-shadow: .38rem .38rem 0 var(--ink);
}
.edition-list .featured:hover { background: var(--accent-hover); }
.edition-list .featured :is(h3, p, .edition-line, .edition-number, .card-foot) { color: inherit; }
.edition-list .featured .card-copy { padding: clamp(1.15rem, 3vw, 2.45rem); }
.edition-list .featured h3 { font-size: clamp(2.45rem, 5vw, 5.25rem); }
.edition-number {
  display: inline-flex;
  align-items: baseline;
  column-gap: .14em;
  font: 900 clamp(2.9rem, 4.8vw, 5.25rem)/.83 var(--poster);
  letter-spacing: -.02em;
}
.edition-number span { font: 700 .72rem/1 var(--index); text-transform: uppercase; }
.featured .edition-number { font-size: clamp(5.5rem, 11vw, 11rem); transform: rotate(-4deg); transform-origin: left center; }
.bench-teaser {
  padding-block: clamp(3rem, 8vw, 8rem);
  background: var(--accent);
  color: var(--paper);
  border-block: .35rem solid var(--ink);
}
.bench-teaser-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; gap: 1.75rem 3rem; }
.bench-teaser .eyebrow { color: #fff7ee; }
.bench-teaser h2 {
  margin-top: .65rem;
  font: 900 clamp(5rem, 16vw, 15rem)/.78 var(--poster);
  letter-spacing: -.04em;
  text-transform: uppercase;
}
.bench-teaser h2 em {
  display: inline-block;
  margin: .35em 0 0 .2em;
  padding: .07em .23em .16em;
  background: var(--ink);
  font: italic 400 .27em/1 var(--serif);
  letter-spacing: -.04em;
  text-transform: none;
  transform: rotate(-5deg);
}
.bench-teaser p:not(.eyebrow) { max-width: 28rem; margin-bottom: 1.3rem; font-size: 1.15rem; }
.page-title { padding-block: clamp(2.75rem, 5vw, 4.6rem) clamp(2rem, 4.6vw, 3.9rem); text-align: left; border-bottom: 1px solid var(--ink); }
.page-title h1 { margin: .18em 0 .1em; }
.page-title p:not(.eyebrow) { margin-inline: 0; }
.page-title--archive { background: linear-gradient(109deg, var(--paper) 84%, var(--accent) 84%); }
.page-title--benchmark { background: var(--accent); border-bottom: .5rem solid var(--ink); }
.page-title--benchmark .title-layout,
.page-title--benchmark .title-layout p { color: var(--paper); }
.page-title--benchmark h1 { transform: skewX(-6deg); transform-origin: left center; }
.archive { padding-top: clamp(1.2rem, 3.75vw, 3.5rem); }
.filters, .bench-controls { border: 1px solid var(--ink); border-radius: 0; background: var(--ink); }
.filters label, .bench-controls label { color: var(--paper); font-family: var(--index); text-transform: uppercase; }
.filters :is(input, select):focus-visible, .bench-controls select:focus-visible { outline-color: #ee9f91; }
#week-results { grid-template-columns: 1fr; gap: 0; border-bottom: 1px solid var(--ink); }
.archive .news-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.archive .news-card .card-copy {
  grid-template-columns: minmax(7rem, .23fr) minmax(0, 1fr);
  gap: .45rem clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.1rem, 3vw, 2.4rem);
}
.archive .news-card .edition-line { grid-row: span 2; display: grid; align-content: center; gap: .55rem; }
.archive .news-card h3 { font: 900 clamp(1.6rem, 4vw, 3.5rem)/.98 var(--poster); }
.archive .news-card .card-foot { margin: 0; padding-block: .75rem; white-space: nowrap; }
input, select { border-color: #aa9a88; border-radius: 0; background-color: #fdf9f1; }
input::placeholder { color: #62584d; }
.empty, .note, .contents, .chapter pre { border-radius: 0; }
.note { background: #f0dbd0; }
.reading--edition, .reading--guide { width: min(100% - clamp(2rem, 8vw, 7rem), 77rem); max-width: none; }
.reading--edition .article-body, .reading--guide .article-body { width: min(100%, 52rem); }
.article-head { border-bottom: .3rem solid var(--ink); }
.article-head h1,
.reading:has(.article-art) .article-head h1 {
  max-width: 17ch;
  font: 900 clamp(2.85rem, 8.4vw, 8.5rem)/.91 var(--poster);
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
.article-head .lead { max-width: 58ch; }
.article-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem; }
.week-imprint {
  padding: .075em .14em .12em;
  background: var(--accent);
  color: var(--paper);
  font: 900 clamp(2.8rem, 6vw, 5.75rem)/.95 var(--poster);
  transform: rotate(-5deg);
}
.story h2, .chapter h2 { font: 900 clamp(2.1rem, 5.4vw, 4.05rem)/1 var(--poster); letter-spacing: -.015em; }
.story .edition-line strong {
  padding: .19rem .45rem;
  background: var(--accent);
  color: var(--paper);
  transform: rotate(-3deg);
}
.note { border-left: .35rem solid var(--accent); }
.contents { border-top: .3rem solid var(--ink); }
.story p, .chapter p, .chapter li { color: #38322d; }
.article-art img { border-radius: 0; }
.art-credit { text-align: left; font-family: var(--index); }
.site-footer { background: var(--ink); color: var(--paper); border-top: .5rem solid var(--accent); }
.footer-inner, .footer-inner .brand { color: var(--paper); }
.week-bench { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-block: 2.5rem; padding: clamp(1rem, 3.6vw, 2rem); border: 1px solid var(--line); background: var(--surface); }
.week-bench h2 { margin-top: .4rem; font-size: clamp(1.45rem, 2.4vw, 2.02rem); letter-spacing: -.035em; }

.benchmark { max-width: 74rem; padding-block: clamp(1.2rem, 4vw, 3.5rem) clamp(4rem, 7vw, 7rem); }
.bench-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.2rem; }
.bench-controls label { display: grid; gap: .3rem; font-weight: 650; }
.bench-pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .65rem 1.5rem; margin: 1rem 0 clamp(2.4rem, 7vw, 4.7rem); font-size: .92rem; }
.bench-pager a, .bench-meta a, .benchmark td a { color: var(--accent-hover); }
.bench-summary { padding: 0 0 1.4rem; border-bottom: .28rem solid var(--ink); }
.bench-summary h2 { margin: .35rem 0 .7rem; font: 900 clamp(2.6rem, 7vw, 6rem)/.95 var(--poster); letter-spacing: -.022em; }
.bench-summary p:not(.eyebrow) { max-width: 51rem; color: var(--muted); }
.bench-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .85rem; font-size: .91rem; }
.bench-table { width: 100%; border-spacing: 0; table-layout: fixed; }
.bench-table thead { text-align: left; }
.bench-table th, .bench-table td { padding: .74rem .8rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; vertical-align: middle; }
.bench-table thead th { color: var(--muted); font: 700 .88rem/1.3 var(--index); }
.bench-table thead th:first-child { width: 5.4rem; }
.bench-table thead th:last-child { width: 10.4rem; text-align: right; }
.bench-table tbody th { color: var(--accent-hover); font: 900 clamp(1.5rem, 3vw, 2.9rem)/1 var(--poster); text-align: left; }
.bench-table tbody tr:nth-child(1) { background: #efdbd0; }
.bench-table tbody tr:hover { background: #eee0d1; }
.bench-model { font-weight: 700; }
.bench-detail { display: block; color: var(--muted); font-size: .83rem; line-height: 1.4; padding-top: .2rem; }
.bench-score { text-align: right; font: 700 1.12rem/1.4 var(--index); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bench-score .bench-detail { font-family: var(--body); font-weight: 400; white-space: normal; }
.bench-rules { margin-top: 1.8rem; padding: 1rem 1.1rem; border-block: 1px solid var(--line); color: var(--muted); }
.bench-rules summary { cursor: pointer; color: var(--ink); font-weight: 650; }
.bench-rules p { margin-top: .75rem; }

@media (max-width: 64rem) {
  .wrap, .reading, .guide-list { width: calc(100% - 3.5rem); }
}
@media (max-width: 42rem) {
  .wrap, .reading, .guide-list { width: calc(100% - 2rem); }
  .section-heading { align-items: start; margin-bottom: 1.25rem; }
  .edition-list { grid-template-columns: 1fr; }
  .edition-list .featured { grid-row: auto; }
  .archive .news-card { grid-template-columns: 1fr; }
  .archive .news-card .card-copy { grid-template-columns: 1fr; }
  .archive .news-card .edition-line { grid-row: auto; display: flex; justify-content: space-between; }
  .page-title--archive { background: var(--paper); }
  .bench-teaser-inner { grid-template-columns: 1fr; }
  .bench-controls { gap: .55rem; padding: .65rem; }
  .bench-controls label { font-size: .85rem; }
  .bench-controls select { font-size: .85rem; padding-left: .45rem; }
  .bench-table th, .bench-table td { padding-inline: .45rem; }
  .bench-table thead th:first-child { width: 2.8rem; }
  .bench-table thead th:last-child { width: 6rem; }
}
@media (max-width: 42rem) {
  .masthead { position: relative; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .header-inner > .brand { padding-block: .65rem; }
  .header-inner nav { grid-area: 2 / 1 / 3 / -1; border-top: 1px solid #f5f0e85c; }
  .header-inner nav a:first-child { border-left: 0; }
  .header-edition { grid-area: 1 / 2 / 2 / 3; }
}
@media (max-width: 25rem) {
  .bench-controls { grid-template-columns: 1fr; }
  .bench-score { font-size: 1rem; }
}

.editorial-cover {
  --cover-gutter: clamp(1rem, 4vw, 4.5rem);
  border-bottom: .45rem solid var(--ink);
}
.cover-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .75rem clamp(.9rem, 2.5vw, 2.25rem);
  padding: .4rem var(--cover-gutter);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font: 700 .875rem/1.4 var(--index);
  text-transform: uppercase;
  letter-spacing: .045em;
}
.cover-standfirst { color: var(--ink); }
.cover-toggle {
  min-width: 8rem;
  min-height: 2.45rem;
  padding: .25rem .5rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 650;
}
.cover-toggle:hover { border-color: var(--ink); }
.cover-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 6rem);
  min-height: clamp(30rem, 43vw, 50rem);
  padding: clamp(2rem, 5vw, 5rem) var(--cover-gutter);
  isolation: isolate;
  background-image: radial-gradient(#201c191a .6px, transparent .6px);
  background-size: 4px 4px;
}
.cover-mast {
  position: relative;
  z-index: 1;
  justify-self: start;
  color: var(--ink);
  font: 900 clamp(13rem, 31vw, 33rem)/.74 var(--poster);
  letter-spacing: -.043em;
  text-transform: uppercase;
}
.cover-title-main { display: block; padding-bottom: .055em; }
.cover-comma { margin-left: .025em; font-size: .55em; }
.cover-title-band {
  display: block;
  width: max-content;
  margin-left: .08em;
  padding: .045em .16em .105em;
  color: var(--paper);
  background: var(--accent);
  font-size: .29em;
  line-height: .86;
  letter-spacing: -.01em;
  transform: rotate(-8deg);
}
.cover-art {
  position: absolute;
  z-index: -1;
  inset: 1rem var(--cover-gutter) 1rem 30%;
  pointer-events: none;
}
.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: calc(.71 * var(--show-art));
  transform: scale(calc(.965 + .035 * var(--show-art))) translateX(calc(1% * (1 - var(--show-art))));
  transition: opacity .38s ease, transform .72s cubic-bezier(.16, 1, .3, 1);
}

.editorial-cover,
.editorial-cover:is(:has([data-cover="archive"]:focus-visible)),
.editorial-cover:is(:not(:has(.cover-link:focus-visible)):has([data-cover="archive"]:hover)) {
  --archive-art: 1;
  --benchmark-art: 0;
  --guides-art: 0;
}
.editorial-cover[data-frame="benchmark"],
.editorial-cover:is(:has([data-cover="benchmark"]:focus-visible)),
.editorial-cover:is(:not(:has(.cover-link:focus-visible)):has([data-cover="benchmark"]:hover)) {
  --archive-art: 0;
  --benchmark-art: 1;
  --guides-art: 0;
}
.editorial-cover[data-frame="guides"],
.editorial-cover:is(:has([data-cover="guides"]:focus-visible)),
.editorial-cover:is(:not(:has(.cover-link:focus-visible)):has([data-cover="guides"]:hover)) {
  --archive-art: 0;
  --benchmark-art: 0;
  --guides-art: 1;
}
.cover-image.for-archive { --show-art: var(--archive-art); }
.cover-image.for-benchmark { --show-art: var(--benchmark-art); }
.cover-image.for-guides { --show-art: var(--guides-art); }
.cover-index {
  display: grid;
  justify-items: start;
  gap: clamp(.9rem, 2.1vw, 2rem);
  padding-right: .5rem;
}
.cover-link {
  min-width: 0;
  display: grid;
  gap: .32rem;
  padding: .38rem clamp(.65rem, 1.8vw, 1.75rem) .56rem;
  border: 2px solid var(--ink);
  box-shadow: .32rem .32rem 0 var(--ink);
  background: var(--paper);
  text-decoration: none;
}
.cover-link[data-cover="archive"] {
  --selected: var(--archive-art);
  margin-left: 7%;
  transform: rotate(-6deg);
}
.cover-link[data-cover="benchmark"] {
  --selected: var(--benchmark-art);
  justify-self: end;
  transform: rotate(4deg);
}
.cover-link[data-cover="guides"] {
  --selected: var(--guides-art);
  margin-left: 15%;
  background: var(--ink);
  transform: rotate(-3deg);
}
.cover-word {
  font: 900 clamp(3.6rem, 8.75vw, 9.4rem)/.92 var(--poster);
  letter-spacing: -.022em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  color: color-mix(in srgb, var(--ink), var(--accent) calc(100% * var(--selected)));
  transition: color .24s ease;
}
.cover-link[data-cover="benchmark"] .cover-word { font-size: clamp(3rem, 6.5vw, 7.2rem); }
.cover-link[data-cover="guides"] .cover-word {
  color: var(--paper);
  color: color-mix(in srgb, var(--paper), #ee9f91 calc(100% * var(--selected)));
  font: italic 700 clamp(3.3rem, 7.7vw, 8rem)/.96 var(--serif);
  letter-spacing: -.075em;
  text-transform: none;
}
.cover-details {
  color: var(--muted);
  font: 700 clamp(.72rem, 1.2vw, .94rem)/1.25 var(--index);
}
.cover-link[data-cover="guides"] .cover-details { color: var(--paper); }
.cover-link:hover, .cover-link:focus-visible { border-color: var(--accent); }
.cover-link:focus-visible { outline-offset: 5px; }

@media (width > 42rem) and (max-height: 52rem) {
  .cover-stage { min-height: min(40rem, 74svh); padding-block: clamp(2rem, 5svh, 3.5rem); }
  .cover-mast { font-size: min(31vw, 56svh, 33rem); }
  .cover-word { font-size: min(8.75vw, 15.5svh, 9.4rem); }
  .cover-link[data-cover="benchmark"] .cover-word { font-size: min(6.5vw, 13svh, 7.2rem); }
  .cover-link[data-cover="guides"] .cover-word { font-size: min(7.7vw, 14svh, 8rem); }
}
@media (max-width: 42rem) {
  .cover-meta { grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .55rem; font-size: .73rem; }
  .cover-standfirst { grid-column: 1; grid-row: 1; }
  .cover-range { grid-column: 1; grid-row: 2; }
  .cover-toggle { grid-column: 2; grid-row: 1 / span 2; min-width: auto; min-height: 2.75rem; font-size: .78rem; }
  .cover-stage { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: 2.1rem; padding-block: 1.6rem 2.3rem; }
  .cover-mast { margin-left: 5%; font-size: clamp(11.1rem, 49vw, 18.4rem); }
  .cover-title-band { margin-left: .35em; }
  .cover-art { inset: 3.4rem .45rem .75rem; }
  .cover-image { opacity: calc(.59 * var(--show-art)); }
  .cover-index { gap: .85rem; max-width: 34rem; width: 100%; padding-inline: 1%; margin-inline: auto; }
  .cover-link { gap: .14rem; padding-block: .3rem .45rem; }
  .cover-word { font-size: clamp(3rem, 12.5vw, 5.25rem); }
  .cover-link[data-cover="benchmark"] .cover-word { font-size: clamp(2.8rem, 11.1vw, 4.5rem); }
  .cover-link[data-cover="guides"] .cover-word { font-size: clamp(2.95rem, 12vw, 5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .cover-image, .cover-word { transition: none; }
}
@media (forced-colors: active) {
  .cover-word { color: LinkText; }
}

.guide-intro {
  padding-bottom: clamp(2rem, 5vw, 4.1rem);
  border-bottom: .35rem solid var(--ink);
}
.guide-intro h1 {
  font-size: clamp(4rem, 13vw, 12rem);
  line-height: .92;
}
.guide-intro h1 em, .section-heading h2 em {
  display: inline-block;
  padding: .04em .22em .12em .12em;
  color: var(--paper);
  background: var(--accent);
  font: italic 400 .73em/1 var(--serif);
  letter-spacing: -.063em;
  text-transform: none;
  transform: rotate(-6deg);
}
.guide-intro p:not(.eyebrow) { margin-top: 1.45rem; }
@media (min-width: 66rem) {
  .guide-intro .title-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(15rem, .55fr);
    align-items: end;
    gap: .5rem 3.6rem;
  }
  .guide-intro .eyebrow { grid-column: 1 / -1; }
  .guide-intro p:not(.eyebrow) { margin-block: 0 1.45rem; }
}
.guide-list { max-width: 82rem; padding-top: clamp(1.35rem, 4vw, 3.4rem); }
.guide-features { grid-template-columns: minmax(0, 5fr) minmax(0, 4.4fr) minmax(0, 3.6fr); }
.guide-features .guide-card:nth-child(2) { margin-top: clamp(1rem, 6vw, 5.4rem); }
.guide-features .guide-card:nth-child(3) { margin-top: clamp(.7rem, 2.4vw, 2rem); }
.guide-card { position: relative; overflow: visible; border-bottom: .16rem solid var(--ink); }
.guide-card img { aspect-ratio: 1.5; border: .14rem solid var(--ink); }
.guide-card .card-copy { padding-inline: .35rem; }
.guide-card .card-copy h3 { font: 900 clamp(1.9rem, 3.9vw, 4rem)/.94 var(--poster); text-transform: uppercase; }
.guide-card .edition-line strong {
  margin-top: -1.7rem;
  padding: .29rem .53rem;
  color: var(--paper);
  background: var(--ink);
  transform: rotate(-4deg);
}
.guide-card:nth-child(2n) .edition-line strong { transform: rotate(4deg); background: var(--accent); }
.guide-card .card-foot { padding-inline: .35rem; }
.guide-card:hover { background: var(--paper); }
.guide-foundations {
  margin: clamp(3rem, 9vw, 7rem) 0 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
  font: 900 clamp(2.65rem, 7vw, 6rem)/.95 var(--poster);
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.guide-resource { margin-top: 1.35rem; }
.guide-resource a { text-align: center; }
.bench-coverage { margin-top: 1rem; }

@media (max-width: 64rem) {
  .guide-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-features .guide-card:nth-child(n) { margin-top: 0; }
}
@media (max-width: 42rem) {
  .guide-features { grid-template-columns: 1fr; }
  .guide-intro h1 { font-size: clamp(3.5rem, 15vw, 6.5rem); }
  .guide-card .card-copy h3 { font-size: clamp(2.1rem, 8vw, 3.4rem); }
}

