:root {
  color-scheme: light;
  --green: #0e2a1f;
  --green-soft: #214635;
  --beige: #f3eddf;
  --paper: #fcfaf5;
  --ink: #292a24;
  --muted: #6b6b60;
  --line: #ded8c9;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IM Fell English", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { width: min(800px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  background: var(--green);
  color: var(--beige);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  flex: 0 0 auto;
  color: var(--beige);
  font-family: "IM Fell DW Pica", Georgia, serif;
  font-size: 22px;
  font-style: italic;
  text-decoration: none;
}
nav { display: flex; flex-wrap: wrap; gap: 22px; }
nav a {
  padding: 9px 2px;
  color: #e4e6dc;
  font-size: 18px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color .15s ease, color .15s ease;
}
nav a:hover, nav a[aria-current="page"] {
  color: white;
  text-decoration-color: currentColor;
}
main { flex: 1; padding: 58px 0 72px; }
.home { padding-top: 82px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green-soft);
  font-family: "IM Fell DW Pica", Georgia, serif;
  font-size: 15px;
  font-style: italic;
  letter-spacing: .1em;
}
h1 {
  margin: 0;
  color: var(--green);
  font-family: "IM Fell Great Primer", Georgia, serif;
  font-size: clamp(38px, 7vw, 54px);
  font-weight: normal;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: "IM Fell DW Pica", Georgia, serif;
  font-size: 23px;
  font-style: italic;
}
.page-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.page-link {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--beige);
  color: var(--green);
  font-family: "IM Fell Great Primer", Georgia, serif;
  font-size: 17px;
  text-decoration: none;
}
.page-link:hover { border-color: var(--green); }
.page-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.archive {
  margin-top: 32px;
  border-top: 2px solid var(--green);
}
.archive-bar {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.archive-bar h2 {
  margin: 0;
  color: var(--green);
  font-family: "IM Fell Great Primer", Georgia, serif;
  font-size: 19px;
  font-weight: normal;
}
.filters { display: flex; align-items: center; gap: 5px; }
.filter {
  padding: 7px 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}
.filter:hover, .filter[aria-pressed="true"] { color: var(--green); }
.filter[aria-pressed="true"] { font-weight: bold; }
.issue {
  min-height: 70px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.issue[hidden] { display: none; }
.issue-year { color: var(--green-soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.issue-title {
  margin: 0;
  color: var(--ink);
  font-family: "IM Fell Great Primer", Georgia, serif;
  font-size: 20px;
  font-weight: normal;
}
.issue-number { color: var(--muted); font-size: 11px; }
.button {
  min-height: 42px;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--beige);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
}
.button:hover { background: var(--green-soft); }
.submit-email { margin-top: 24px; }
.guidelines {
  max-width: 600px;
  margin-top: 40px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--beige);
}
.guidelines h2 {
  margin: 0;
  color: var(--green);
  font-family: "IM Fell Great Primer", Georgia, serif;
  font-size: 22px;
  font-weight: normal;
}
.guidelines-space { min-height: 150px; }
.info-block {
  max-width: 540px;
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 2px solid var(--green);
  background: var(--beige);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.info-block p { margin: 0; }
.info-block p + p { margin-top: 10px; }
footer {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

:focus-visible { outline: 3px solid #a68d57; outline-offset: 3px; }
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 12px; }
  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    margin-left: 0;
  }
  nav a { padding: 8px 2px; font-size: 17px; }
  main { padding: 42px 0 52px; }
  .home { padding-top: 58px; }
  .page-links { grid-template-columns: 1fr; gap: 8px; margin-top: 34px; }
  .page-link { min-height: 58px; }
  .archive { margin-top: 24px; }
  .archive-bar { align-items: flex-start; flex-direction: column; gap: 6px; padding: 12px 0 8px; }
  .filters { width: 100%; justify-content: space-between; }
  .filter { padding: 7px 2px; }
  .issue { min-height: 68px; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
  .issue-title { font-size: 18px; }
  .issue-number { grid-column: 2; margin-top: -17px; }
  .guidelines { margin-top: 32px; padding: 16px; }
  .guidelines-space { min-height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
