/* Shared reading and interaction rules. Keep all selectors inside .mt-body. */
.mt-body {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #252822;
  --muted: #63665e;
  --line: #d8d8ce;
  --accent: #87422c;
  --accent-soft: #eee5d8;
  --highlight: #e4eabc;
  --night: #20291f;
  --on-night: #faf9f0;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Source Sans 3', Arial, sans-serif;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.5 var(--sans);
}
[data-theme='dark'] .mt-body {
  --bg: #171b19;
  --surface: #222925;
  --ink: #f2efe7;
  --muted: #b6bcb4;
  --line: #424c44;
  --accent: #ecb99b;
  --accent-soft: #303a32;
}
.mt-body *,
.mt-body *::before,
.mt-body *::after {
  box-sizing: border-box;
}
.mt-body a {
  color: inherit;
  text-underline-offset: 4px;
}
.mt-body a:hover {
  color: var(--accent);
}
.mt-body :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.mt-body img {
  display: block;
  width: 100%;
}
.mt-body h1,
.mt-body h2,
.mt-body h3 {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.mt-wrap {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.mt-skip {
  position: absolute;
  left: -9999px;
}
.mt-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--surface);
  padding: 12px;
}
.mt-top {
  min-height: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.mt-top button {
  min-height: 44px;
  padding: 8px 0 8px 16px;
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.mt-brand {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-block: 28px;
}
.mt-brand > a {
  font: 600 clamp(28px, 4vw, 54px)/1.03 var(--serif);
  letter-spacing: -0.05em;
  text-decoration: none;
}
.mt-brand em {
  color: var(--accent);
}
.mt-brand p {
  max-width: 270px;
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.mt-head nav {
  border-block: 1px solid var(--line);
}
.mt-head nav > div {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.mt-head nav a {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.mt-head nav a.on {
  color: var(--accent);
  border-bottom-color: currentColor;
}
.mt-main {
  padding-block: 32px 72px;
}
.mt-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 28px;
}
.mt-intro h1 {
  font: 400 clamp(26px, 3.5vw, 44px)/1.12 var(--serif);
  letter-spacing: -0.04em;
  margin: 8px 0 0;
  max-width: 700px;
}
.mt-intro-description {
  max-width: 300px;
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.mt-eyebrow,
.mt-rail-title {
  color: var(--accent);
  font: 700 11px/1.4 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}
.mt-rail-title {
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mt-story {
  min-width: 0;
  position: relative;
}
.mt-story h2,
.mt-story h3 {
  font: 600 26px/1.14 var(--serif);
  letter-spacing: -0.035em;
  margin: 0;
}
.mt-story h2 a,
.mt-story h3 a {
  text-decoration: none;
}
.mt-story h2 a:hover,
.mt-story h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.mt-story--feature h2 {
  font-size: clamp(32px, 3.4vw, 49px);
  line-height: 1.08;
}
.mt-story-media {
  position: relative;
  display: block;
  margin-bottom: 20px;
}
.mt-story-media img {
  aspect-ratio: 3/2;
  object-fit: cover;
}
.mt-image-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 3px 7px;
  font-size: 11px;
  background: #fff;
  color: #222;
}
.mt-standfirst {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  margin-block: 16px;
  max-width: 64ch;
}
.mt-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
}
.mt-story-meta:empty {
  display: none;
}
.mt-story-index {
  color: var(--accent);
  font: 400 30px/1 var(--sans);
}
.mt-front {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.mt-front-rail .mt-story {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.mt-front-rail .mt-story:first-of-type {
  padding-top: 4px;
}
.mt-front-rail .mt-story-media {
  display: none;
}
.mt-latest {
  margin-top: 48px;
}
.mt-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  margin-bottom: 28px;
}
.mt-section-heading h2 {
  font: 600 30px/1.1 var(--serif);
  letter-spacing: -0.03em;
  margin: 0;
}
.mt-section-heading > a {
  font-size: 13px;
  white-space: nowrap;
}
.mt-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.mt-feed > article {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.mt-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 15px;
}
.mt-pagination a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mt-foot {
  background: var(--night);
  color: var(--on-night);
  padding-block: 44px 24px;
}
.mt-foot strong {
  font: 600 clamp(27px, 4vw, 40px)/1.1 var(--serif);
  letter-spacing: -0.04em;
}
.mt-foot em {
  color: var(--highlight);
}
.mt-body .mt-foot a:hover {
  color: var(--highlight);
}
.mt-foot p {
  max-width: 600px;
  color: #d1d6cd;
  font-size: 15px;
}
.mt-foot .mt-wrap > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-block: 24px;
  font-size: 14px;
}
.mt-foot .mt-wrap > div a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mt-foot small {
  display: block;
  padding-top: 20px;
  border-top: 1px solid #687167;
  color: #d1d6cd;
}
.mt-category {
  padding-block: 36px 72px;
}
.mt-category > p,
.mt-article-head > p {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.mt-category h1 {
  font: 600 clamp(40px, 6vw, 68px)/1.05 var(--serif);
  letter-spacing: -0.05em;
  margin-block: 8px 18px;
}
.mt-category-description {
  max-width: 650px;
  color: var(--muted);
}
.mt-category .mt-latest {
  margin-top: 36px;
}
.mt-article {
  width: min(1040px, calc(100% - 80px));
  margin-inline: auto;
  padding-block: 28px 80px;
}
.mt-article > nav {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
}
.mt-article-head {
  max-width: 850px;
  margin-inline: auto;
}
.mt-article h1 {
  font: 600 clamp(34px, 5vw, 64px)/1.08 var(--serif);
  letter-spacing: -0.045em;
  margin-block: 12px 24px;
}
.mt-article-head > div {
  max-width: 65ch;
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
}
.mt-article-head > small {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 24px;
}
.mt-article-head > p:has(time) {
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}
.mt-article figure {
  margin: 32px 0;
}
.mt-article figure img {
  max-height: 660px;
  object-fit: contain;
}
.mt-article figcaption {
  font-size: 13px;
  margin-top: 8px;
  color: var(--muted);
}
.mt-prose {
  max-width: 680px;
  margin: 40px auto 0;
  font-size: 20px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.mt-prose p {
  margin-block: 0 24px;
}
.mt-source,
.mt-related {
  max-width: 680px;
  margin: 36px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.mt-related h2 {
  color: var(--ink);
  font: 600 28px/1.15 var(--serif);
}
.mt-empty {
  padding: 40px 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
}
.mt-not-found {
  min-height: 50vh;
  padding-block: 70px;
}
@media (max-width: 1000px) {
  .mt-wrap {
    width: calc(100% - 48px);
  }
  .mt-brand p {
    max-width: 200px;
  }
  .mt-feed {
    gap: 24px;
  }
}
@media (max-width: 700px) {
  .mt-wrap {
    width: calc(100% - 32px);
  }
  .mt-top {
    gap: 8px;
    font-size: 10px;
  }
  .mt-top > span {
    max-width: 140px;
  }
  .mt-brand {
    display: block;
    padding-block: 20px;
  }
  .mt-brand p {
    margin-top: 12px;
    max-width: 100%;
    font-size: 13px;
  }
  .mt-head nav > div {
    gap: 22px;
  }
  .mt-head nav a {
    font-size: 13px;
  }
  .mt-main {
    padding-top: 24px;
  }
  .mt-intro {
    display: block;
    padding-bottom: 24px;
  }
  .mt-intro-description {
    margin-top: 14px;
    max-width: 100%;
  }
  .mt-front {
    padding-top: 24px;
  }
  .mt-feed {
    grid-template-columns: 1fr;
  }
  .mt-latest {
    margin-top: 32px;
  }
  .mt-section-heading h2 {
    font-size: 25px;
  }
  .mt-section-heading > a {
    font-size: 12px;
  }
  .mt-article {
    width: calc(100% - 32px);
    padding-top: 24px;
  }
  .mt-article > nav {
    margin-bottom: 24px;
  }
  .mt-article-head > div {
    font-size: 19px;
  }
  .mt-prose {
    font-size: 18px;
    line-height: 1.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mt-body * {
    scroll-behavior: auto;
  }
}
