:root {
  --paper: #f6f2e9;
  --ink: #1c1a17;
  --muted: #5c554a;
  --soft: #3d3830;
  --accent: #7a2e1f;
  --hair: #e2dccd;
  --link-rule: #b9b2a2;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'EB Garamond', Garamond, Georgia, serif;
  font-size: 19px;
  line-height: 1.45;
  font-variant-numeric: oldstyle-nums;
}
a { color: var(--ink); text-decoration: none; }
a:hover, a:focus-visible { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.page { max-width: 1080px; margin: 0 auto; padding: 80px 32px 112px; display: flex; flex-direction: column; gap: 44px; }
.page.narrow { max-width: 920px; gap: 40px; }

.smallcaps { font-weight: 400; font-variant: small-caps; letter-spacing: 0.16em; font-size: 18px; margin: 0; }
.accent { color: var(--accent); }
.muted { color: var(--muted); margin: 0; font-size: 18px; }
.small { font-size: 16px; }
.archive-note { margin-top: 56px; padding-top: 20px; text-align: center; }
.accent-link { color: var(--accent); border-bottom: 1px solid var(--accent); }
.u { border-bottom: 1px solid var(--link-rule); }

/* masthead */
.masthead { display: flex; flex-direction: column; gap: 18px; }
.masthead-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.masthead-row.sub { align-items: baseline; gap: 12px 40px; }
.masthead-text { display: flex; flex-direction: column; gap: 14px; flex: 1 1 420px; min-width: 0; }
.name { margin: 0; font-weight: 400; font-size: 46px; line-height: 1.05; font-variant: small-caps; letter-spacing: 0.05em; }
.name.small { font-size: 30px; line-height: 1.1; }
nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-variant: small-caps; letter-spacing: 0.12em; font-size: 17px; }
.portrait { width: 132px; height: auto; mix-blend-mode: multiply; flex: 0 0 auto; }
.double-rule { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); height: 3px; }
.tagline { margin: 0; max-width: 680px; font-size: 21px; font-style: italic; line-height: 1.4; }
.tagline span { font-style: normal; }
.page-title { margin: 8px 0 0; font-weight: 400; font-size: 44px; line-height: 1.1; }
.lede { margin: 0; max-width: 660px; color: var(--soft); }

/* toggle */
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.section-head.ruled-below { border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.arrange { display: flex; align-items: baseline; gap: 6px; font-size: 17px; color: var(--muted); }
.arrange-label { font-style: italic; }
.arrange button {
  font: inherit; font-variant: small-caps; letter-spacing: 0.1em;
  color: var(--ink); background: none; border: 0; border-bottom: 1px solid transparent;
  padding: 10px 2px 0; min-height: 44px; cursor: pointer;
}
.arrange button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.no-js .arrange { display: none; }

/* lists */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 470px), 1fr)); gap: 48px 72px; }
.stack { display: flex; flex-direction: column; gap: 36px; }
.group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.group h3 { margin: 0 0 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; font-weight: 500; font-size: 20px; }
.split { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ruled-h { border-bottom: 1px solid var(--ink); padding-bottom: 4px; margin-bottom: 6px; }
.count { font-weight: 400; font-size: 15px; color: var(--muted); font-variant: normal; letter-spacing: 0; }
ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
li { display: flex; align-items: baseline; gap: 2px 16px; }
.t { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.outlet { font-size: 16px; color: var(--muted); white-space: nowrap; }
.note { font-size: 16px; color: var(--muted); }
.note.block { display: block; margin-top: 2px; }
.yr { flex: 0 0 auto; font-size: 16px; color: var(--muted); font-variant-numeric: oldstyle-nums tabular-nums; }
ol.ruled { gap: 6px; }
ol.ruled li { flex-wrap: wrap; padding-bottom: 6px; border-bottom: 1px solid var(--hair); }
ol.ruled .t { flex: 1 1 420px; }
ol.roomy { gap: 10px; }
ol.roomy li { padding-bottom: 10px; }
.meta { flex: 0 0 auto; display: flex; gap: 16px; align-items: baseline; font-size: 15px; color: var(--muted); }
.meta .yr { min-width: 36px; text-align: right; font-size: 15px; }
.kind { font-variant: small-caps; letter-spacing: 0.06em; }

/* footer */
.colophon { display: flex; flex-wrap: wrap; gap: 32px 64px; border-top: 1px solid var(--ink); padding-top: 20px; font-size: 17px; }
.colophon .col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.colophon .col.wide { flex: 2 1 420px; }
.colophon h2 { font-size: 17px; }
.colophon p { margin: 0; }
.endnote { border-top: 1px solid var(--ink); padding-top: 16px; font-size: 16px; color: var(--muted); }

@media (max-width: 600px) {
  body { font-size: 18px; }
  .page { padding: 40px 20px 72px; gap: 32px; }
  .name { font-size: 28px; white-space: nowrap; }
  nav { gap: 2px 18px; letter-spacing: 0.08em; font-size: 16px; }
  .masthead-row { flex-wrap: nowrap; align-items: flex-start; gap: 16px; }
  .masthead-row.sub { flex-wrap: wrap; }
  .masthead-text { flex: 1 1 auto; }
  .portrait { width: 88px; }
  .page-title { font-size: 34px; }
  .outlet { white-space: normal; }
}
