:root {
  color-scheme: light;
  --paper: #fbfaf4;
  --ink: #111;
  --muted: #5d5a52;
  --rule: #d8d1bf;
  --rule-strong: #9f9888;
  --blue: #243b61;
  --red: #8f2f2f;
  --focus: #6d5b2f;
  --measure: 45rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -5rem;
  z-index: 10;
}

.skip-link:focus {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 0.35rem 0.5rem;
  top: 1rem;
}

.site-header,
.site-footer,
main {
  margin: 0 auto;
  max-width: 64rem;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.site-header {
  padding-bottom: 1.25rem;
  padding-top: 2.25rem;
}

.masthead {
  align-items: center;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr auto;
  padding-bottom: 1.15rem;
}

.publication-mark {
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
  height: 4.1rem;
  object-fit: contain;
  object-position: center;
  width: 4.1rem;
}

.title-group p,
.kicker,
.meta,
.deck,
.site-footer,
.note {
  color: var(--muted);
}

.site-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.title-group p {
  font-size: 1rem;
  font-variant-caps: small-caps;
  letter-spacing: 0.04em;
  margin: 0.3rem 0 0;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.95rem;
  justify-content: flex-start;
  padding-top: 0.85rem;
}

.site-nav a {
  font-size: 0.88rem;
}

.motto {
  align-self: end;
  font-size: 0.78rem;
  font-variant-caps: small-caps;
  letter-spacing: 0.06em;
  margin-left: auto;
  padding-bottom: 0.25rem;
  white-space: nowrap;
}

main {
  padding-bottom: 3rem;
}

.home-grid {
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, var(--measure)) minmax(13rem, 16rem);
  padding-top: 2.25rem;
}

.home-feed .section-heading {
  margin-top: 0;
}

.intro {
  border-bottom: 1px solid var(--rule);
  max-width: var(--measure);
  padding: 2.25rem 0 1.75rem;
}

.home-note {
  border-top: 1px solid var(--ink);
  margin-top: 0.2rem;
  max-width: none;
  padding: 0.85rem 0 1rem;
}

.home-note h1 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  max-width: none;
}

.home-note .deck {
  font-size: 0.98rem;
  max-width: none;
}

.kicker {
  font-size: 0.82rem;
  font-variant-caps: small-caps;
  letter-spacing: 0.06em;
  margin: 0 0 0.4rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.35rem);
  max-width: 12em;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

.deck {
  font-size: 1.15rem;
  margin: 0.8rem 0 0;
  max-width: 34rem;
}

.section-heading {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 2.4rem 0 0.7rem;
  max-width: var(--measure);
}

.paper-list {
  border-top: 1px solid var(--ink);
  list-style: none;
  margin: 0;
  max-width: var(--measure);
  padding: 0;
}

.paper-list li {
  border-bottom: 1px solid var(--rule);
  padding: 1.05rem 0 1.15rem;
}

.paper-list article {
  display: grid;
  gap: 0.35rem;
}

.paper-list h3 a {
  text-decoration: none;
}

.paper-list h3 a:hover {
  text-decoration: underline;
}

.meta {
  font-size: 0.86rem;
}

.summary {
  margin: 0;
}

.read-link {
  width: max-content;
}

.simple-grid {
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  max-width: var(--measure);
  padding: 0;
}

.simple-grid li {
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 0;
}

.archive-date {
  display: block;
  margin-top: 0.2rem;
}

.page,
.paper {
  max-width: var(--measure);
  padding-top: 2rem;
}

.paper header {
  border-bottom: 1px solid var(--rule-strong);
  margin-bottom: 1.8rem;
  padding-bottom: 1.4rem;
}

.paper-number {
  font-size: 0.9rem;
  font-variant-caps: small-caps;
  letter-spacing: 0.06em;
  margin: 0 0 0.35rem;
}

.address {
  font-style: italic;
}

.paper-body p,
.page p {
  margin: 0 0 1rem;
}

.paper-signature {
  font-weight: 700;
  margin-top: 1.5rem;
  text-align: right;
}

.paper-nav {
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 0.8rem;
}

.subscribe-form {
  border-bottom: 1px solid var(--rule);
  border-top: 1px solid var(--ink);
  margin: 1.2rem 0 1rem;
  max-width: 31rem;
  padding: 1rem 0 0.8rem;
}

.subscribe-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.subscribe-row {
  display: flex;
  gap: 0.5rem;
}

.subscribe-row input {
  background: #fffef8;
  border: 1px solid var(--ink);
  color: var(--ink);
  flex: 1 1 14rem;
  font: inherit;
  min-width: 0;
  padding: 0.45rem 0.55rem;
}

.subscribe-row button {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  padding: 0.45rem 0.7rem;
}

.honeypot {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--rule);
  font-size: 0.84rem;
  padding-bottom: 2rem;
  padding-top: 1rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

@media (max-width: 42rem) {
  html {
    font-size: 17px;
  }

  .masthead {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .motto {
    margin-left: 0;
    padding-bottom: 0;
  }

  .home-grid {
    display: flex;
    flex-direction: column-reverse;
    padding-top: 2rem;
  }

  .home-note {
    border-bottom: 1px solid var(--rule);
    width: 100%;
  }

  .section-heading,
  .paper-nav,
  .subscribe-row {
    align-items: stretch;
    flex-direction: column;
  }

  .read-link {
    width: auto;
  }
}

@media print {
  :root {
    --paper: #fff;
    --ink: #000;
    --muted: #000;
    --rule: #999;
    --rule-strong: #555;
  }

  html {
    font-size: 12pt;
  }

  body {
    background: #fff;
  }

  .skip-link,
  .site-nav,
  .subscribe-form {
    display: none !important;
  }

  .site-header,
  .site-footer,
  main {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .site-header {
    padding-top: 0;
  }

  .publication-mark {
    height: 0.8in;
    width: 0.8in;
  }

  a {
    text-decoration: none;
  }

  .paper,
  .page,
  .intro,
  .home-grid,
  .paper-list,
  .simple-grid {
    max-width: none;
  }

  .paper-nav {
    display: none;
  }
}
