@font-face {
  font-family: Instrument Serif;
  src: url(instrument-serif-latin-400-normal.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: Instrument Serif;
  src: url(instrument-serif-latin-400-italic.woff2) format("woff2");
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url(dm-sans-latin-400-normal.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url(dm-sans-latin-600-normal.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: IBM Plex Mono;
  src: url(ibm-plex-mono-latin-500-normal.woff2) format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f4eb;
  --ink: #172830;
  --soft-ink: #48565a;
  --rust: #a13d23;
  --line: #d3c9b9;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 "DM Sans", system-ui, sans-serif;
}
.shell { width: min(100% - 5rem, 75rem); margin-inline: auto; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--rust); }
a:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
.skip { position: absolute; left: .5rem; top: .5rem; padding: .5rem; background: var(--paper); transform: translateY(-150%); z-index: 2; }
.skip:focus { transform: none; }
.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.1rem;
}
.site-header { min-height: 76px; border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem clamp(.8rem, 2vw, 1.8rem); }
.site-header a, .site-footer a { text-decoration: none; }
.site-header nav a, .nav-resources summary { font-size: .9rem; font-weight: 600; }
.site-header nav a[aria-current], .nav-resources-current summary { color: var(--rust); text-decoration: underline; }
.nav-resources { position: relative; }
.nav-resources summary { cursor: pointer; list-style: none; }
.nav-resources summary::-webkit-details-marker { display: none; }
.nav-resources summary::after { content: ''; display: inline-block; width: .35em; height: .35em; margin: 0 0 .18em .45em; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.nav-resources summary:hover { color: var(--rust); }
.nav-resources summary:focus-visible { outline: 2px solid var(--rust); outline-offset: 5px; }
.nav-resources ul { position: absolute; z-index: 3; inset-inline-end: 0; min-width: max-content; margin: .35rem 0 0; padding: .35rem; list-style: none; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 .3rem .75rem #17283020; }
.nav-resources li a { display: block; padding: .4rem .7rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; }
.signal { display: inline-flex; align-items: end; gap: 3px; padding-right: 2px; }
.signal i { display: block; width: 3px; background: var(--rust); height: 6px; }
.signal i:nth-child(2) { height: 11px; }
.signal i:nth-child(3) { height: 16px; }
h1, h2, h3 { font: 400 1em/1 var(--serif); margin: 0; }
p { margin: 0 0 1em; }
.masthead {
  text-align: center;
  padding: clamp(2.7rem, 6.2vw, 6rem) 0 clamp(2.4rem, 5.2vw, 4.25rem);
}
.masthead h1 { font-size: clamp(3.6rem, 8vw, 8.4rem); line-height: .9; letter-spacing: -.04em; }
.masthead em { color: var(--rust); white-space: nowrap; }
.masthead p { margin: 1.25rem auto 0; color: var(--soft-ink); font-size: clamp(.98rem, 1.6vw, 1.2rem); max-width: 40rem; }
.home-plan-link { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.4rem; padding: .65rem 1rem; border-radius: 3px; background: var(--rust); color: white; font-weight: 600; text-decoration: none; }
.home-plan-link:hover { background: var(--ink); color: white; }
.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: #182b34;
  color: #fbf4e9;
}
.feature-copy { padding: clamp(1.75rem, 4.8vw, 4rem); align-self: center; }
.feature h2 { font-size: clamp(2.85rem, 5vw, 5.5rem); max-width: 10ch; margin: .8rem 0 1rem; }
.feature-copy > p:not(.meta) { max-width: 29ch; color: #e2dacc; margin-bottom: 1.75rem; }
.meta { font: 500 .73rem/1.5 var(--mono); letter-spacing: .065em; text-transform: uppercase; color: var(--rust); }
.meta span { margin-inline: .2em; opacity: .85; }
.feature .meta { color: #f0ac85; }
.cover { display: block; width: 100%; height: auto; object-fit: cover; background: #ead9bd; }
.feature .cover { height: 100%; min-height: 100%; }
.button { display: inline-flex; align-items: center; gap: 1.1rem; background: #f6eadb; color: var(--ink); padding: .7rem 1rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.button:focus-visible { outline-color: #fff4e3; }
.overview { padding: 3rem 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.overview h2, .empty-state h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); margin-bottom: .6rem; }
.overview p, .subhead p, .empty-state p { color: var(--soft-ink); }
.overview p { max-width: 36ch; }
.archive-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.archive-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem 1rem; padding: 1rem .25rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.archive-row > :not(.row-arrow) { grid-column: 1; }
.archive-row strong { font: 400 clamp(1.9rem, 3vw, 2.75rem)/1.05 var(--serif); }
.archive-row p { margin: 0; color: var(--soft-ink); }
.row-arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--rust); font-size: 1.3rem; }
.archive-row-copy { display: grid; gap: .4rem; min-width: 0; }
.archive-row-with-cover {
  grid-template-columns: clamp(4rem, 16vw, 10rem) minmax(0, 1fr) auto;
  column-gap: clamp(.55rem, 2vw, 1.25rem);
}
.archive-row-with-cover > .archive-row-copy { grid-column: 2; }
.archive-row-with-cover > .row-arrow { grid-area: 1 / 3; }
.archive-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #ead9bd;
}
@media (min-width: 651px) and (max-width: 900px) {
  .site-header { padding: .75rem 0; flex-direction: column; align-items: flex-start; gap: .55rem; }
}
@media (max-width: 650px) {
  .archive-row-with-cover strong { font-size: clamp(1.45rem, 5.5vw, 1.9rem); }
}

.subhead { padding: 3.8rem 0 2rem; }
.subhead h1 { font-size: clamp(3.8rem, 8vw, 7rem); }
.subhead p { margin: .75rem 0 0; }
.full-archive, .empty-state { margin-bottom: 4rem; }
.empty-state { padding: 2rem; border: 1px solid var(--line); background: #f0e8da; }
.empty-state a { font-weight: 600; }
.site-footer { border-top: 1px solid var(--line); min-height: 82px; color: var(--soft-ink); font-size: .88rem; }
.issue-head { padding: 2.4rem 0 2rem; text-align: center; }
.back { display: inline-block; font-weight: 600; font-size: .9rem; margin-bottom: 2rem; }
.issue-head h1 { font-size: clamp(3.65rem, 8vw, 7.8rem); max-width: 14ch; margin: 0 auto; letter-spacing: -.03em; }
.issue-deck { margin: 1rem auto 0; color: var(--soft-ink); font-size: 1.16rem; max-width: 42ch; }
article > .cover { max-height: 26rem; object-position: center 49%; }
.reading-layout { display: grid; grid-template-columns: minmax(8.5rem, 1fr) minmax(0, 43rem) 1fr; gap: 2rem; margin: 3rem 0 4rem; }
.contents { position: sticky; top: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.contents .meta { margin: 0; }
.contents a { font-size: .94rem; }
.prose { font-size: 1.1rem; }
.prose > p:first-child { font-size: 1.24rem; }
.prose h2 { font-size: clamp(2.75rem, 5vw, 4rem); margin-bottom: .55em; }
.prose h3 { font-size: 2.25rem; margin-bottom: .55em; }
.prose section { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.prose .article-equipment {
  margin-block: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--line);
}
.prose .article-equipment h2 { font-size: 1.5rem; }
.article-equipment .affiliate-disclosure { font-size: .95rem; color: var(--soft-ink); }
.equipment-page, .about-page { max-width: 48rem; margin-bottom: 4rem; }
.contact-form { max-width: 37rem; margin-bottom: 4rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: .25rem; }
.contact-form label span, .contact-note { color: var(--soft-ink); font-size: .92rem; font-weight: 400; }
.contact-form select, .contact-form input[type="email"], .contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 1.2rem;
  padding: .55rem .65rem;
  border: 1px solid #8f877b;
  border-radius: 3px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
}
.contact-form textarea { resize: vertical; margin-bottom: .35rem; }
.contact-form button {
  padding: .6rem 1rem;
  border: 1px solid var(--rust);
  border-radius: 3px;
  background: var(--rust);
  color: white;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.contact-form button:hover { background: var(--ink); border-color: var(--ink); }
.contact-form :focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.equipment-page .article-equipment h3 { margin-top: 1.5rem; }
.prose h2[id] { scroll-margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .65rem; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.2rem; background: #eee5d7; border-left: 3px solid var(--rust); }
.prose blockquote p:last-child, .prose section > p:last-child { margin-bottom: 0; }
.radio-comparison { overflow-x: auto; }
.radio-comparison table { min-width: 34rem; }
.prose table { width: 100%; margin: 1.2rem 0; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: .72rem .5rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th:first-child, .prose td:first-child { width: 36%; }
.prose th { background: #eee5d7; }
.prose .exercise { color: #fbf4e9; background: #182b34; padding: clamp(1.2rem, 4vw, 2.2rem); }
.exercise h2 { color: #f0ac85; margin-bottom: .3em; }
@media (max-width: 900px) {
  .reading-layout { grid-template-columns: minmax(7.5rem, 1fr) minmax(0, 4fr); }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 2rem); }
  .site-header { padding: .75rem 0; align-items: flex-start; flex-direction: column; gap: .55rem; min-height: auto; }
  .nav-resources ul { position: static; min-width: 0; }
  .masthead h1 { font-size: clamp(3rem, 13vw, 5rem); }
  .feature, .reading-layout { grid-template-columns: minmax(0, 1fr); }
  .feature .cover { min-height: 0; height: auto; }
  .overview { gap: .6rem; padding-block: 2rem; }
  .reading-layout { margin-top: 1.5rem; gap: 1.5rem; }
  .contents { position: static; display: flex; flex-wrap: wrap; gap: .45rem 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .contents .meta { flex-basis: 100%; }
  .issue-head { padding-top: 1.5rem; }
  .issue-head h1 { font-size: clamp(2.9rem, 10vw, 3.65rem); overflow-wrap: anywhere; }
  .site-footer { flex-wrap: wrap; gap: .5rem; padding: 1rem 0; min-height: 0; }
}
@media print {
  .site-header, .site-footer, .skip, .back, article > .cover, .reading-layout > aside { display: none; }
  body { background: white; }
  .shell { width: 100%; }
  .reading-layout { display: block; margin: 1rem 0; }
  .issue-head { padding: 0; }
  .issue-head h1 { font-size: 3rem; }
  .prose .exercise { background: white; color: black; border: 1px solid #777; }
  .prose h2, .prose h3 { break-after: avoid; }
}

.series-feature {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 3rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-left: 3px solid var(--rust);
  background: #eee5d7;
}
.series-feature h2, .series-index h2 { font-size: clamp(2.3rem, 5vw, 3.75rem); }
.series-feature p:last-child { margin: .6rem 0 0; }
.series-feature > a { font-weight: 600; }
.series-masthead {
  margin-top: 1.5rem;
  padding: clamp(1.6rem, 7vw, 5rem);
  color: #fbf4e9;
  background: #182b34;
}
.series-masthead .meta { color: #f0ac85; }
.series-masthead h1 { max-width: 18ch; font-size: clamp(3.3rem, 8vw, 7rem); }
.series-masthead > p:not(.meta) { max-width: 45ch; margin: 1.15rem 0 1.5rem; color: #e2dacc; }
.series-index { max-width: 54rem; margin: 2.5rem auto 4rem; }
.series-index h2 { margin-bottom: .65em; }
.series-article-head { border-bottom: 1px solid var(--line); }
.series-article-head + .cover { max-height: 32rem; object-position: center 35%; }
.series-article-head h1 { font-size: clamp(3rem, 7vw, 6.5rem); max-width: 17ch; }
.series-side-list { padding-left: 1.2rem; margin: .55rem 0 1rem; }
.series-side-list li { margin-bottom: .6rem; font-size: .9rem; }
.series-side-list [aria-current] { font-weight: 600; }
.series-jump-links { display: grid; gap: .4rem; }
.series-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; margin-top: 2rem; }
.series-steps a { display: grid; gap: .4rem; padding: 1rem; border: 1px solid var(--line); text-decoration: none; }
.series-steps strong { font: 400 1.6rem/1.1 var(--serif); }
.prose code { overflow-wrap: anywhere; }
@media (max-width: 650px) {
  .series-article-head ~ .reading-layout .contents { display: grid; gap: .75rem; }
}

.guide-search { max-width: 48rem; margin-bottom: 4rem; }
.guide-search > label { display: block; margin-bottom: .4rem; font-weight: 600; }
.guide-search input { display: block; width: 100%; padding: .7rem .8rem; border: 1px solid #8f877b; border-radius: 3px; background: #fffdf8; color: var(--ink); font: inherit; }
.guide-search input:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.search-status { margin: .8rem 0 1.5rem; color: var(--soft-ink); }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.search-results h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.1; margin-bottom: .5rem; }
.search-results p { margin-bottom: 0; }
.search-results .meta { margin-bottom: .35rem; }
@media (max-width: 460px) {
  .guide-search { overflow-wrap: anywhere; }
}

.article-byline { margin: 1rem auto 0; max-width: 52rem; font-size: .9rem; line-height: 1.7; color: var(--soft-ink); }
.article-byline a { text-underline-offset: .18em; }
.article-byline span { padding: 0 .25rem; }
