:root {
  --ink: #171717;
  --muted: #545454;
  --faint: #6f6f6f;
  --rule: #d6d3cd;
  --paper: #f7f5f1;
  --card: #fffdf9;
  --accent: #1c3354;
  --link: #1c3354;
  --link-hover: #0f1f34;
  --focus: #0b57d0;
  --notice: #eef2f6;
  --max: 70rem;
  --read: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--link-hover);
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: #fff;
  padding: 0.4rem 0.7rem;
}

.preview-banner {
  margin: 0;
  padding: 0.45rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  text-align: center;
}

.site-header,
.site-footer,
.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.15rem 0 1rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.wordmark:hover {
  color: var(--ink);
}

.wordmark span {
  display: block;
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.98rem;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
}

main {
  padding: 1.75rem 0 3.5rem;
}

.hero {
  width: min(var(--read), calc(100% - 2rem));
  margin: 0 auto 2rem;
}

.hero h1 {
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.toolbar {
  width: min(var(--read), calc(100% - 2rem));
  margin: 0 auto 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
}

.toolbar label {
  font-size: 0.92rem;
  color: var(--muted);
}

.toolbar select {
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.35rem 0.55rem;
  min-height: 2.4rem;
}

.release-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: min(var(--read), calc(100% - 2rem));
}

.release-list li {
  border-top: 1px solid var(--rule);
}

.release-list a {
  display: block;
  padding: 1.15rem 0 1.2rem;
  color: inherit;
  text-decoration: none;
}

.release-list a:hover .item-title {
  text-decoration: underline;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.item-title {
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.item-dek {
  margin: 0;
  color: var(--muted);
}

.empty-filter {
  width: min(var(--read), calc(100% - 2rem));
  margin: 1rem auto 0;
  color: var(--muted);
}

.article {
  width: min(var(--read), calc(100% - 2rem));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.article h1 {
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 4.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.9rem;
}

.org-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.org-lockup img {
  width: 3.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
}

.article-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-body {
  margin-top: 1.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 0.35rem;
}

.article-body h2 {
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 1.6rem 0 0.5rem;
}

.article-body h3 {
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.12rem;
  margin: 1.4rem 0 0.4rem;
}

.article-body p,
.article-body li {
  margin: 0.9rem 0;
}

.article-body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 1.75rem 0;
}

.media-box,
.notice,
.prose {
  width: min(var(--read), calc(100% - 2rem));
  margin: 0 auto;
}

.media-box {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  background: var(--notice);
  border: 1px solid var(--rule);
}

.media-box h2 {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}

.media-box p {
  margin: 0;
}

.source {
  width: min(var(--read), calc(100% - 2rem));
  margin: 1.5rem auto 0;
  color: var(--faint);
  font-size: 0.92rem;
}

.prose h1 {
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.prose h2 {
  font-family: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin: 1.7rem 0 0.5rem;
}

.prose p,
.prose li {
  margin: 0.85rem 0;
}

.notice {
  background: var(--notice);
  border: 1px solid var(--rule);
  padding: 0.9rem 1.05rem;
  margin-bottom: 1.5rem;
}

.notice p {
  margin: 0;
}

form.release-form {
  width: min(var(--read), calc(100% - 2rem));
  margin: 0 auto;
}

.field {
  margin: 0 0 1.05rem;
}

.field label,
.field .label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.hint {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0.15rem 0 0.35rem;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="url"],
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1px solid #bdbab4;
  border-radius: 2px;
  padding: 0.55rem 0.65rem;
}

textarea {
  min-height: 16rem;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

button[type="submit"] {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  padding: 0.7rem 1.15rem;
  min-height: 2.75rem;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--link-hover);
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: var(--ink);
}

@media (max-width: 420px) {
  .site-header,
  .site-footer,
  .wrap,
  .hero,
  .toolbar,
  .release-list,
  .article,
  .media-box,
  .source,
  .prose,
  .notice,
  form.release-form {
    width: calc(100% - 1.5rem);
  }

  .preview-banner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
