:root {
  color-scheme: light;
  --midnight: #252c36;
  --moss: #2c3a2d;
  --ivory: #dfd8c8;
  --umber: #30261d;
  --burgundy: #672322;
  --ink: var(--midnight);
  --paper: #dfd8c8;
  --card: #f1ead8;
  --line: rgb(37 44 54 / 18%);
  --muted: rgb(48 38 29 / 72%);
  --text: var(--umber);
  --accent: var(--burgundy);
  --max: 1040px;
  --font-main: "Century Gothic", Avenir, "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 16%), rgb(255 255 255 / 0%) 260px),
    var(--paper);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: var(--midnight);
  color: var(--ivory);
  margin: 0;
  padding: 18px 18px 20px;
}

.nav {
  display: flex;
  max-width: var(--max);
  justify-content: center;
  gap: clamp(18px, 5vw, 66px);
  margin: 0 auto;
  border-bottom: 1px solid rgb(223 216 200 / 24%);
  padding-bottom: 16px;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  white-space: nowrap;
}

.nav-socials {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.nav-socials a {
  display: inline-flex;
  align-items: center;
}

.nav-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.subscribe-link {
  color: var(--ivory);
}

.brand {
  display: flex;
  max-width: var(--max);
  justify-content: center;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 58px) 0 8px;
  text-align: center;
}

.brand img {
  width: min(560px, 78vw);
  height: auto;
}

.brand-note {
  max-width: var(--max);
  margin: 0 auto;
  color: rgb(223 216 200 / 78%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
}

.article-site-header {
  padding-bottom: 24px;
}

.article-brand {
  padding-top: 34px;
}

.article-brand img {
  width: min(300px, 64vw);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px 48px;
}

.latest-feature {
  padding: 46px 0 52px;
  border-bottom: 1px solid var(--line);
}

.section-label,
.label,
.kicker,
.meta,
.archive-date {
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-label {
  margin-bottom: 26px;
  color: var(--moss);
  text-align: center;
}

.lead-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.image-panel {
  display: block;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgb(48 38 29 / 18%), rgb(48 38 29 / 0%)),
    #c9bea5;
  background-position: center;
  background-size: cover;
  filter: saturate(0.86) contrast(0.95);
}

.skeleton {
  background:
    linear-gradient(100deg, #c9bea5 30%, #f1ead8 48%, #c9bea5 66%);
  background-size: 220% 100%;
  animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
  to {
    background-position-x: -220%;
  }
}

.label {
  margin: 0 0 14px;
  color: var(--moss);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.lead-card h2 {
  margin-bottom: 16px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  text-wrap: balance;
}

.lead-card p:not(.label) {
  max-width: 570px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: 19px;
}

.read-link {
  display: inline-block;
  border-bottom: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.recent-section,
.archive-section {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1;
}

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

.story-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0;
  background: rgb(241 234 216 / 72%);
  overflow: hidden;
}

.story-card .thumb {
  display: block;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgb(48 38 29 / 14%), rgb(48 38 29 / 0%)),
    #c9bea5;
  background-position: center;
  background-size: cover;
  filter: saturate(0.88) contrast(0.94);
}

.story-card-content {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.story-card h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.04;
}

.story-card p:not(.label) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
}

.archive-list {
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.archive-item {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.archive-item h3 {
  margin: 0 0 5px;
  font-size: 25px;
  line-height: 1.08;
}

.archive-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.subscribe {
  display: block;
  margin-top: 24px;
  border: 1px solid rgb(37 44 54 / 20%);
  border-top: 5px solid var(--moss);
  padding: 22px clamp(16px, 4vw, 34px) 24px;
  background: rgb(241 234 216 / 66%);
}

.subscribe .kicker {
  margin-bottom: 6px;
  color: var(--text);
  text-align: center;
}

.subscribe-copy {
  max-width: 560px;
  margin: 16px auto 24px;
  text-align: center;
}

.subscribe h2 {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--midnight);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.22;
}

.kit-signup {
  max-width: 760px;
  min-height: 0;
  margin: 0 auto;
  padding-top: 0;
}

.kit-signup form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kit-signup form > div,
.kit-signup fieldset {
  margin-top: 0 !important;
}

.kit-signup form > div {
  padding-top: 18px !important;
}

.kit-signup [class*="formkit-powered"],
.kit-signup [class*="formkit-badge"] {
  display: none !important;
}

.kit-signup .formkit-fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr auto !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.kit-signup input {
  background: #fffaf0 !important;
  border-color: rgb(48 38 29 / 26%) !important;
  border-radius: 2px !important;
  color: var(--text) !important;
  font-family: var(--font-main) !important;
  min-height: 44px !important;
}

.kit-signup button,
.kit-signup input[type="submit"] {
  background: var(--burgundy) !important;
  border-radius: 2px !important;
  color: #ffffff !important;
  font-family: var(--font-main) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  min-height: 44px !important;
  padding: 0 22px !important;
  text-transform: uppercase !important;
}

.footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 28px max(18px, calc((100vw - var(--max)) / 2 + 18px)) 34px;
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer > img {
  width: 162px;
  height: auto;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.social-links a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.notice {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
}

.article-main {
  max-width: 100%;
  padding: 0;
}

.article-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 38px 18px 64px;
}

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-meta {
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--moss);
  text-align: center;
}

.article-hero {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.article-hero h1 {
  margin-bottom: 18px;
  color: var(--umber);
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  text-wrap: balance;
}

.article-hero > p:not(.label) {
  max-width: 660px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
}

.article-feature-image {
  display: block;
  width: min(720px, 100%);
  max-height: 520px;
  object-fit: cover;
  margin: 0 auto;
  border: 1px solid var(--line);
  filter: saturate(0.88) contrast(0.94);
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  color: var(--umber);
}

.article-body table {
  width: 100% !important;
  max-width: 100% !important;
  background-color: transparent !important;
  background: transparent !important;
}

.article-body td,
.article-body th {
  max-width: 100%;
  background-color: transparent !important;
  background: transparent !important;
}

.article-body div,
.article-body center {
  background-color: transparent !important;
  background: transparent !important;
}

.article-body img {
  max-width: 100% !important;
  height: auto !important;
}

.article-body h1,
.article-body h2,
.article-body h3 {
  font-family: var(--font-main) !important;
  letter-spacing: 0 !important;
}

.article-body p,
.article-body li,
.article-body td,
.article-body div {
  font-family: var(--font-main) !important;
}

.article-body a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body > table {
  border: 0;
}

@media (max-width: 900px) {
  .edition-list {
    grid-template-columns: 1fr;
  }

  .lead-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 10px;
  }

  .brand {
    padding-top: 28px;
  }

  .brand img {
    width: min(390px, 86vw);
  }

  .latest-feature {
    padding-top: 32px;
  }

  .lead-card h2 {
    font-size: 40px;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .kit-signup .formkit-fields {
    grid-template-columns: 1fr !important;
  }

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

  .social-links {
    justify-content: flex-start;
  }

  .article-shell {
    padding-top: 30px;
  }

  .article-body {
    max-width: 100%;
    overflow-x: auto;
  }
}
