:root {
  --ink: #171714;
  --dim: #51514a;
  --line: #c7c6bd;
  --paper: #fff;
  --wash: #f7f6f2;
  --red: #962015;
  --mono: 'Courier New', Courier, monospace;
  --headline: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--headline); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .22em; }
a:hover, summary:hover .entry-title { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
summary { cursor: pointer; }
.paper { width: min(93%, 86rem); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 1; top: .75rem; left: .75rem; padding: .5rem .75rem; background: var(--paper); }

.masthead { text-align: center; margin-top: clamp(1.1rem, 3vw, 2.6rem); border-top: 4px solid var(--ink); }
.issue-line, .section-nav, .section-heading > span, .entry-meta, .permalink,
.filter, .dispatch-meta, .dispatch-links, .footer-line, footer summary {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .04em;
}
.issue-line { display: grid; grid-template-columns: 1fr auto 1fr; gap: .8rem; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--line); text-transform: uppercase; }
.issue-line > :first-child { text-align: left; }
.issue-line > :last-child { text-align: right; }
.issue-date { color: var(--dim); }
h1 { margin: clamp(1.3rem, 3vw, 2.9rem) 0 clamp(1.4rem, 3vw, 2.65rem); font: italic 900 clamp(2.5rem, 8.25vw, 8rem)/.98 Arial, Helvetica, sans-serif; letter-spacing: .037em; }
h1 a { text-decoration: none; }
.section-nav { display: flex; justify-content: center; flex-wrap: wrap; column-gap: clamp(1.1rem, 5vw, 4rem); border-block: 1px solid var(--ink); text-transform: uppercase; font-weight: bold; }
.section-nav a { padding: .75rem .2rem; }
.section-nav a span { color: var(--red); }

.split { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); margin-top: clamp(1.65rem, 4vw, 3.25rem); }
#written { padding-right: clamp(1.2rem, 3.2vw, 3rem); border-right: 1px solid var(--line); }
#spoken { padding-left: clamp(1.2rem, 3.2vw, 3rem); }
#ears { grid-column: 1 / -1; margin-top: clamp(2rem, 4vw, 3.25rem); }
.empty-state { margin: 0; color: var(--dim); }
.music-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.music-grid .dispatch { margin: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .2rem .75rem; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: .55rem 0 .65rem; margin-bottom: 1.2rem; }
.section-heading h2 { font: bold clamp(1.5rem, 3vw, 2.1rem)/1 var(--headline); margin: 0; }
.section-heading > span { text-transform: uppercase; color: var(--dim); }
.filter { display: flex; align-items: center; gap: .7rem 1rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.filter label { color: var(--dim); }
.filter-control { display: flex; flex: 1 1 12rem; align-items: stretch; max-width: 26rem; border: 1px solid var(--line); }
.filter input { width: 100%; min-width: 0; border: 0; background: var(--wash); padding: .45rem .65rem; color: var(--ink); font-size: 1rem; }
.filter input::-webkit-search-cancel-button { appearance: none; }
.filter button { border: 0; border-left: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: .45rem .6rem; }
.filter button:hover { color: var(--red); }
.no-results { margin: 0; }
.entry { padding: .85rem 0 1rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.entry summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; list-style: none; }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after { content: '+' / ''; grid-area: 2 / 2; align-self: start; font: 1.15rem/1.4 var(--mono); color: var(--red); }
.entry[open] summary::after { content: '−' / ''; }
.entry-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .35rem .7rem; text-transform: uppercase; color: var(--dim); }
.entry-title { font: bold clamp(1.25rem, 2.1vw, 1.65rem)/1.18 var(--headline); text-decoration: underline; text-underline-offset: .12em; text-decoration-thickness: 1px; }
.lead .entry { padding-top: 0; padding-bottom: 1.35rem; }
.lead .entry-title { font-size: clamp(2rem, 4.2vw, 3.7rem); line-height: 1.02; letter-spacing: -.025em; }
.entry-excerpt { grid-column: 1 / -1; color: var(--dim); margin-top: .45rem; max-width: 54ch; }
.archive .entry-excerpt { display: none; }
.archive .entry[open] .entry-excerpt { display: block; }
.archive h3 { font: bold .75rem/1.25 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 1.65rem 0 .35rem; }
.entry-body { margin: 1rem 0 .2rem; padding-left: 1rem; border-left: 2px solid var(--red); max-width: 64ch; }
.entry-body p { margin: 0 0 .65rem; }
.permalink { display: inline-block; padding: .25rem 0; color: var(--dim); }

.dispatch { border: 1px solid var(--ink); padding: clamp(1rem, 2.2vw, 1.65rem); background: var(--wash); margin: 0 0 1.2rem; overflow-wrap: anywhere; }
.dispatch-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; text-transform: uppercase; color: var(--dim); }
.dispatch h3 { font: bold clamp(1.8rem, 3.25vw, 2.9rem)/1.02 var(--headline); letter-spacing: -.025em; margin: .9rem 0 1.25rem; max-width: 15ch; }
.dispatch-description { margin: -.6rem 0 1.2rem; color: var(--dim); }
.dispatch-notes { margin-top: .8rem; }
.dispatch-notes summary, footer summary { width: fit-content; text-decoration: underline; text-underline-offset: .2em; }
.dispatch-notes p { margin: .7rem 0 0; max-width: 55ch; }
.dispatch audio { display: block; width: 100%; margin-bottom: .75rem; }
.dispatch-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.audio-error { color: var(--red); }
footer { margin: clamp(2.5rem, 5vw, 4.5rem) 0 1.75rem; border-top: 1px solid var(--ink); }
.footer-line { display: flex; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; color: var(--dim); padding: .85rem 0; }
footer details { border-top: 1px solid var(--line); padding-top: .75rem; }
footer details p { max-width: 63ch; font-size: .9rem; margin: .7rem 0 0; }

@media (max-width: 43rem) {
  .paper { width: calc(100% - 2rem); }
  .issue-line { grid-template-columns: 1fr auto; gap: .4rem; font-size: .65rem; }
  .issue-line > :last-child { display: none; }
  h1 { font-size: clamp(2rem, 11.2vw, 4.4rem); letter-spacing: .02em; }
  .section-nav a { padding-block: .85rem; }
  .split { display: block; margin-top: 1.6rem; }
  #written { border-right: 0; padding-right: 0; }
  #spoken { padding-left: 0; margin-top: 2.6rem; }
  .filter { margin-bottom: 1.4rem; }
}
