@font-face {
  font-family: "Cheltenham";
  src: url("fonts/cheltenham-normal-400.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Cheltenham";
  src: url("fonts/cheltenham-normal-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Cheltenham Condensed";
  src: url("fonts/cheltenham-cond-normal-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Franklin";
  src: url("fonts/franklin-normal-500.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Franklin";
  src: url("fonts/franklin-normal-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Franklin Small";
  src: url("fonts/franklin-small-normal-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Imperial";
  src: url("fonts/imperial-normal-500.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Imperial";
  src: url("fonts/imperial-normal-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #ffffff;
  --ink: #121212;
  --ink-soft: #555555;
  --line: #cccccc;
  --line-strong: #121212;
  --link: #326891;
  --link-strong: #004276;
  --yellow: #faf2bf;
  --yellow-strong: #fed464;
  --newsprint: #f8f6f0;
  --preview-surface: #faf8f2;
  --preview-surface-active: #f6f1e6;
  --font-display: "Cheltenham", Georgia, "Times New Roman", serif;
  --font-condensed: "Cheltenham Condensed", "Arial Narrow", sans-serif;
  --font-sans: "Franklin", "Arial Narrow", Arial, sans-serif;
  --font-small: "Franklin Small", "Franklin", "Arial Narrow", sans-serif;
  --font-body: "Imperial", Georgia, "Times New Roman", serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-kerning: normal;
  line-height: 1.45;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button:focus,
input:focus,
a:focus {
  outline: none;
}

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

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 20;
  transform: translateY(-140%);
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 9px 12px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer,
.page-shell,
.article-shell {
  width: min(1236px, calc(100% - clamp(28px, 6vw, 96px)));
  margin-inline: auto;
}

.site-header {
  width: 100%;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 20px clamp(20px, 4vw, 56px) 11px;
}

.brand {
  display: grid;
  width: min(1240px, 100%);
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
  margin-inline: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  align-self: center;
  justify-self: start;
  border-top: 1px solid var(--ink);
  padding-top: 4px;
  color: var(--ink-soft);
  font-family: var(--font-small);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand > span:last-child {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}

.brand strong {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.6vw, 3.85rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.86;
  white-space: nowrap;
}

.brand small {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-shell {
  padding-block: clamp(18px, 3vw, 30px) 44px;
}

.page-shell {
  padding-block: 0 48px;
}

.archive-intro {
  background: var(--newsprint);
  box-shadow: 0 0 0 100vmax var(--newsprint);
  clip-path: inset(0 -100vmax);
  padding-top: clamp(23px, 2.1vw, 27px);
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  border-bottom: 1px solid var(--line-strong);
  padding: 0 0 17px;
}

.masthead-copy {
  max-width: 46ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.sync-plate {
  display: grid;
  justify-items: end;
  gap: 1px;
  min-width: 150px;
  border-top: 2px solid var(--ink);
  padding-top: 5px;
  text-align: right;
}

.sync-plate span,
.sync-plate strong {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sync-plate strong {
  font-family: var(--font-condensed);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.archive-tools {
  border-bottom: 1px solid var(--line-strong);
  padding: 17px 0 15px;
}

.search-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.search-bar label {
  font-family: var(--font-small);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-bar input {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.2;
}

.search-bar input::placeholder {
  color: #8a8a8a;
  opacity: 1;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  align-items: center;
  padding-top: 11px;
}

.filter-chip {
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 6px 12px 5px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-transform: uppercase;
}

.filter-chip.is-active {
  border-bottom-color: var(--ink);
  background: var(--yellow);
}

.filter-row.compact {
  gap: 0;
}

.filter-row.compact .filter-chip {
  font-family: var(--font-display);
  font-size: 0.87rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.result-count {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(270px, 0.85fr);
  gap: clamp(30px, 4.3vw, 54px);
  margin-top: 20px;
}

.feed-column,
.source-rail {
  min-width: 0;
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(20px, 2.2vw, 27px);
  border-top: 0;
  border-bottom: 1px solid var(--line);
  padding: 7px 0 8px;
}

.lead-image,
.card-image {
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--newsprint);
  color: var(--ink);
  place-items: center;
  text-align: center;
  text-decoration: none;
}

.lead-image {
  aspect-ratio: 3 / 2;
}

.card-image {
  aspect-ratio: 5 / 3;
}

.lead-image img,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transition: transform 280ms var(--ease-out), filter 280ms var(--ease-out);
}

.lead-image span,
.card-image span {
  padding: 20px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.05;
}

.lead-copy {
  align-self: start;
  margin-top: -5px;
  padding-top: 0;
}

.post-meta {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-small);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-transform: uppercase;
}

.lead-copy .post-meta,
.card-copy .post-meta {
  color: var(--link-strong);
}

.lead-copy .post-meta {
  display: inline-block;
  border-bottom: 4px solid #f2e4a2;
  padding-bottom: 4px;
}

.lead-copy h2,
.card-copy h3,
.publication-hero h1,
.article-header h1,
.empty-state h2,
.related-posts h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.lead-copy h2 {
  margin: 7px 0 10px;
  font-size: clamp(1.9rem, 3.35vw, 3.05rem);
  font-weight: 400;
  line-height: 0.96;
}

.lead-copy h2 a,
.card-copy h3 a,
.related-link {
  text-decoration: none;
}

.lead-copy h2 a:hover,
.card-copy h3 a:hover,
.related-link:hover,
.source-copy:hover strong,
.brief-link:hover strong {
  color: var(--link-strong);
}

.lead-copy > p:not(.post-meta),
.card-copy > p:not(.post-meta) {
  margin: 0;
  color: #3f3f3f;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.42;
}

.lead-copy > p:not(.post-meta) {
  max-width: 44ch;
  font-size: 1.02rem;
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.tag {
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  padding-bottom: 2px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 19px;
}

.post-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid #e2ded4;
  background: var(--preview-surface);
  padding: 10px 8px 16px;
  transition: background-color 160ms var(--ease-out);
}

.post-card:focus-within {
  background: var(--preview-surface-active);
}

.card-copy {
  padding-top: 11px;
}

.card-copy h3 {
  margin: 7px 0 10px;
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  line-height: 1;
}

.card-copy > p:not(.post-meta) {
  display: -webkit-box;
  overflow: hidden;
  border-left: 2px solid var(--line);
  padding-left: 10px;
  font-size: 0.92rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.source-rail {
  border-left: 1px solid #9d9d9d;
  padding: 9px 0 0 clamp(22px, 2.8vw, 36px);
}

.rail-block {
  border-top: 2px solid var(--ink);
  padding: 10px 0 17px;
}

.rail-block + .rail-block {
  margin-top: 0;
}

.rail-block h2 {
  margin: 0 0 8px;
  font-family: var(--font-small);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.brief-list {
  display: grid;
}

.brief-link {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
  text-decoration: none;
}

.brief-link > span {
  color: var(--link-strong);
  font-family: var(--font-small);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brief-link strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.brief-link small {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  line-height: 1.3;
}

.rail-note {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.4;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.topic-pill {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 5px 0 4px;
  text-align: left;
  transition: background 140ms var(--ease-out), color 140ms var(--ease-out);
}

.topic-pill:hover {
  background: var(--yellow);
  color: var(--link-strong);
}

.stats-summary {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
}

.stats-updated {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  line-height: 1.3;
}

.source-list {
  display: grid;
}

.source-item {
  display: grid;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0 12px;
}

.source-copy {
  display: grid;
  gap: 3px;
  text-decoration: none;
}

.source-copy strong {
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 400;
  line-height: 1.04;
}

.source-copy small {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  line-height: 1.3;
}

.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.source-actions em {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-style: normal;
  text-transform: uppercase;
}

.substack-button {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--yellow);
  color: var(--ink);
  padding: 4px 9px 4px 5px;
  font-family: var(--font-small);
  font-size: 0.62rem;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 140ms var(--ease-out), color 140ms var(--ease-out), transform 140ms var(--ease-out);
}

.substack-button:visited {
  color: var(--ink);
}

.substack-button:hover {
  background: var(--yellow-strong);
  color: var(--ink);
  transform: translateY(-1px);
}

.substack-logo-tile {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  background: var(--paper);
}

.substack-logo {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.pagination {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--ink);
  padding-top: 13px;
}

.pagination-status {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.pagination-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.pagination-button {
  min-width: 31px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  padding: 4px 8px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
}

.pagination-button[aria-current="page"] {
  border-color: var(--ink);
  background: var(--yellow);
}

.pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.article-shell {
  display: grid;
  justify-items: center;
}

.article-document {
  width: min(100%, 940px);
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.back-link,
.publication-link {
  color: var(--link-strong);
  font-family: var(--font-small);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.publication-link {
  text-decoration: none;
}

.article-header {
  border-bottom: 1px solid var(--line-strong);
  padding: 17px 0 21px;
}

.article-header .post-meta {
  color: var(--ink);
}

.article-header h1 {
  max-width: 26ch;
  margin: 9px 0 12px;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  line-height: 0.94;
}

.article-excerpt {
  max-width: 66ch;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.45;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 16px;
}

.article-actions .tag-row {
  margin-top: 0;
}

.article-image {
  width: 100%;
  max-height: 540px;
  margin: 23px auto 0;
  object-fit: cover;
}

.article-body {
  max-width: 68ch;
  margin: 30px auto 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.03rem, 1.1vw, 1.18rem);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body figure,
.article-body table,
.article-body pre,
.article-body details {
  margin: 0 0 1.35em;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  border-top: 1px solid var(--ink);
  margin: 1.7em 0 0.55em;
  padding-top: 9px;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  text-wrap: balance;
}

.article-body h2 {
  font-size: clamp(1.75rem, 3.3vw, 2.7rem);
}

.article-body h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.article-body h4,
.article-body h5,
.article-body h6 {
  font-family: var(--font-small);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-body a {
  color: var(--link-strong);
}

.article-body picture {
  display: block;
  max-width: 100%;
}

.article-body img,
.article-body video {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.article-body iframe,
.article-body audio {
  display: block;
  width: 100%;
  max-width: 100%;
}

.article-body iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 220px;
  border: 1px solid var(--ink);
  background: var(--newsprint);
}

.article-body figcaption,
.article-body caption {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  line-height: 1.4;
}

.article-body figcaption {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 7px;
}

.article-body blockquote {
  border-block: 1px solid var(--ink);
  border-left: 0;
  background: var(--yellow);
  padding: 17px 20px;
  font-size: 1.1em;
  line-height: 1.4;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4em;
}

.article-body hr {
  border: 0;
  border-top: 1px solid var(--ink);
  margin: 2.2em 0;
}

.article-body pre {
  overflow: auto;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 15px;
}

.article-body code {
  font-family: "Courier New", monospace;
  font-size: 0.88em;
}

.article-body :not(pre) > code {
  background: var(--newsprint);
  padding: 0.08em 0.28em;
}

.article-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.86rem;
}

.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
}

.article-body th {
  background: var(--yellow);
}

.article-subscribe-embed {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(100%, 560px);
  margin: 38px auto 0;
  border-block: 1px solid var(--ink);
  background: var(--yellow);
  padding: 15px;
  text-align: center;
}

.embed-heading {
  display: grid;
  gap: 2px;
}

.embed-heading span {
  font-family: var(--font-small);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.embed-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 400;
  line-height: 1;
}

.substack-embed-frame {
  display: block;
  width: min(100%, 480px);
  max-width: 100%;
  height: 320px;
  background: var(--paper);
}

.related-posts {
  width: min(100%, 940px);
  margin-top: 30px;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
}

.related-posts h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.related-link {
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

.related-link small {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.66rem;
}

.publication-hero {
  border-block: 1px solid var(--ink);
  background: var(--yellow);
  padding: 18px clamp(16px, 4vw, 40px) 23px;
}

.publication-hero .back-link {
  display: inline-block;
  margin-bottom: 8px;
}

.publication-hero h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 4.4rem);
  line-height: 0.94;
}

.publication-hero p {
  max-width: 66ch;
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.4;
}

.publication-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.publication-list {
  margin-top: 23px;
}

.empty-state {
  border-block: 1px solid var(--ink);
  padding: 26px 0;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.empty-state p {
  margin: 0;
  font-family: var(--font-body);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  border-top: 1px solid var(--ink);
  padding: 14px 0 22px;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

@media (hover: hover) {
  .filter-chip:hover {
    background: var(--yellow);
  }

  .pagination-button:not(:disabled):hover {
    border-color: var(--ink);
    background: var(--yellow);
  }

  .lead-image:hover img,
  .card-image:hover img {
    filter: saturate(1) contrast(1.04);
    transform: scale(1.025);
  }

  .post-card:hover {
    background: var(--preview-surface-active);
  }
}

@media (min-width: 980px) {
  .source-rail {
    align-self: start;
  }

  .live-brief .brief-list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  .post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 979px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .source-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 22px;
    border-top: 1px solid var(--ink);
    border-left: 0;
    padding: 0;
  }

  .source-rail .rail-block {
    border-top: 0;
    padding-top: 12px;
  }

  .source-rail .rail-block + .rail-block {
    border-left: 1px solid var(--line);
    padding-left: 18px;
  }

  .source-rail .rail-block:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .source-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding-block: 12px 10px;
  }

  .brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
  }

  .brand-mark {
    align-self: center;
    order: 2;
    border-top: 0;
    padding-top: 0;
  }

  .brand > span:last-child {
    order: 1;
  }

  .brand strong {
    font-size: clamp(2.05rem, 10vw, 3.3rem);
  }

  .brand small {
    font-size: 0.58rem;
  }

  .masthead {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .archive-intro {
    padding-top: 19px;
  }

  .sync-plate {
    justify-self: start;
    min-width: 0;
    text-align: left;
  }

  .sync-plate strong {
    font-size: 1.05rem;
  }

  .lead-story {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-bottom: 18px;
  }

  .lead-copy {
    padding-top: 0;
  }

  .lead-copy h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.7rem);
  }

  .source-rail {
    display: block;
  }

  .source-rail .rail-block + .rail-block,
  .source-rail .rail-block:last-child {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .source-list {
    grid-template-columns: 1fr;
  }

  .article-header h1,
  .publication-hero h1 {
    font-size: clamp(2rem, 10.5vw, 3.5rem);
  }

  .article-body {
    font-size: 1.05rem;
  }

  .article-image {
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 540px) {
  .page-shell,
  .article-shell,
  .site-footer {
    width: min(100% - 28px, 1236px);
  }

  .archive-tools {
    padding: 15px 0 16px;
  }

  .masthead-copy {
    font-size: clamp(1.65rem, 8.4vw, 2.1rem);
  }

  .hub-grid {
    margin-top: 16px;
  }

  .post-list {
    grid-template-columns: 1fr;
  }

  .search-bar {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .search-bar input {
    font-size: 1.1rem;
  }

  .filter-row {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .filter-chip {
    min-height: 40px;
  }

  .article-nav {
    justify-content: space-between;
  }

  .article-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-actions .tag-row {
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
