@charset "UTF-8";

:root {
  --paper: #f6f4ed;
  --ink: #302f2a;
  --muted: #77756c;
  --rule: #dcd9cf;
  --accent: #a8392c;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
.page-shell { max-width: 1440px; margin: auto; padding: 0 48px 48px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--rule); }
.wordmark { font: 29px var(--serif); letter-spacing: -1px; }
nav a { font-size: 12px; }
nav a span { margin-left: 12px; }
.archive-layout { padding-top: 32px; }
.archive-section { min-width: 0; }
.section-heading { margin-bottom: 22px; }
h1 { margin: 0; font: 30px var(--serif); letter-spacing: -.8px; }
.toolbar { display: flex; justify-content: space-between; min-height: 46px; border: 1px solid var(--rule); background: #faf9f4; }
.search { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; padding: 0 12px; }
.search > span:first-child { color: var(--muted); font-size: 24px; }
.search input { width: 100%; min-width: 0; height: 44px; background: none; border: 0; font-size: 12px; color: var(--ink); }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus-visible { outline-offset: 0; }
.select-filters { display: flex; }
.select-filters label { display: flex; align-items: center; border-left: 1px solid var(--rule); }
select { max-width: 100%; height: 44px; padding: 0 8px; background: transparent; border: 0; color: var(--ink); font-size: 11px; }
.results-line { display: flex; align-items: center; gap: 15px; min-height: 43px; color: var(--muted); font-size: 11px; }
.results-line p { margin: 0; }
.reset { padding: 7px 0; border: 0; background: none; color: var(--accent); font-size: 11px; }
.reset span { margin-left: 4px; }
.issue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.issue { min-width: 0; }
.cover { display: flex; justify-content: center; align-items: center; padding: 14px; background: #eae7de; aspect-ratio: 1 / 1.3; }
.cover img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 4px #29271e1f); }
.cover-link:hover h3 { color: var(--accent); }
.issue-meta { display: flex; justify-content: space-between; gap: 6px; margin: 11px 0 6px; color: var(--muted); font-size: 10px; }
.issue h3 { display: flex; justify-content: space-between; gap: 6px; margin: 0; font: 17px/1.3 var(--serif); }
.issue h3 span { color: var(--muted); font: 14px var(--sans); }
.featured { display: flex; align-items: center; gap: 36px; padding: 24px 30px; margin-bottom: 34px; background: #eae7dd; }
.featured-art { position: relative; display: flex; justify-content: center; width: 164px; height: 230px; flex: 0 0 164px; isolation: isolate; }
.featured-art img { width: auto; height: 100%; max-width: 100%; object-fit: contain; box-shadow: 0 8px 18px #302c2524; }
.paper-behind { position: absolute; z-index: -1; top: 4px; width: 156px; height: 222px; background: #fcfaf4; transform: rotate(6deg); box-shadow: 0 3px 8px #302c2512; }
.featured-copy { min-width: 0; }
.featured-copy h2 { margin: 0 0 12px; font: 28px var(--serif); }
.featured-copy p { margin: 0; font-size: 14px; }
.featured > .round-arrow { margin-left: auto; flex-shrink: 0; }
.round-arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #c5c0b2; border-radius: 50%; font-size: 16px; }
.empty { padding: 40px 0; }
.empty h2 { margin: 0 0 18px; font: 23px var(--serif); }
.text-link { padding: 0 0 5px; border: 0; border-bottom: 1px solid var(--accent); background: none; color: var(--accent); font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px; background: var(--ink); color: white; }
.skip-link:focus { top: 10px; }

@media (max-width: 1100px) {
  .page-shell { padding-inline: 30px; }
  .toolbar { flex-direction: column; }
  .search { border-bottom: 1px solid var(--rule); }
  .select-filters label { width: 50%; }
  .select-filters label:first-child { border-left: 0; }
  .select-filters select { width: 100%; }
  .issue-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 20px; }
  .cover { padding: 10px; }
  .issue h3 { font-size: 16px; }
}

@media (max-width: 600px) {
  .page-shell { padding: 0 20px 32px; }
  .site-header { padding: 21px 0; }
  .wordmark { font-size: 24px; }
  .archive-layout { padding-top: 24px; }
  .featured { gap: 20px; padding: 18px; margin-bottom: 28px; }
  .featured-art { width: 100px; flex-basis: 100px; height: 144px; }
  .paper-behind { width: 94px; height: 136px; }
  .featured-copy h2 { font-size: 23px; margin-bottom: 10px; }
  .featured-copy p { font-size: 12px; }
  .featured > .round-arrow { display: none; }
  h1 { font-size: 28px; }
  .section-heading { margin-bottom: 20px; }
  .issue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 16px; }
  .issue-meta { font-size: 10px; }
  .issue h3 { font-size: 17px; }
}
