:root {
  --paper: #f5f0e6;
  --paper-deep: #e8dfd0;
  --ink: #171715;
  --muted: #645f57;
  --rule: #c9bead;
  --red: #8b2e2c;
  --red-dark: #64201f;
  --blue: #172d38;
  --white: #fffdf7;
  --reading: 43rem;
  --narrow: 58rem;
  --shell: 76rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #e59a35;
  outline-offset: 4px;
}

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

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

h1,
h2,
h3,
.masthead,
.footer-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.02;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.shell,
.shell-narrow,
.shell-reading {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.shell-narrow {
  max-width: var(--narrow);
}

.shell-reading {
  max-width: var(--reading);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  border-top: 0.35rem solid var(--red);
  border-bottom: 1px solid var(--ink);
}

.utility-bar,
.masthead-row,
.primary-nav {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.7rem;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.utility-bar p {
  margin: 0;
}

.prototype-flag {
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--red);
  color: var(--red);
  font-weight: 750;
}

.masthead-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem 1.15rem;
}

.masthead {
  color: var(--ink);
  font-size: clamp(2.25rem, 6vw, 4.85rem);
  line-height: 0.85;
  text-decoration: none;
}

.masthead span {
  display: block;
  margin: 0 0 -0.08em 0.16em;
  color: var(--red);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.2em;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.support-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.05rem;
  border: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.support-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.primary-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.6rem);
  overflow-x: auto;
  padding-block: 0.75rem;
  font-size: 0.83rem;
  font-weight: 720;
  letter-spacing: 0.05em;
  scrollbar-width: none;
  text-transform: uppercase;
}

.primary-nav a {
  flex: 0 0 auto;
  text-decoration: none;
}

.eyebrow,
.card-kicker {
  margin-bottom: 0.75rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #d8b48e;
}

.issue-hero {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(20rem, 1.35fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  min-height: 42rem;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.issue-cover-wrap {
  position: relative;
  max-width: 27rem;
  padding: 0 1.6rem 1.6rem 0;
}

.issue-cover-wrap::after {
  position: absolute;
  z-index: -1;
  inset: 1.6rem 0 0 1.6rem;
  background: var(--red);
  content: "";
}

.issue-cover {
  box-shadow: 0 1.4rem 3rem rgb(37 25 18 / 18%);
}

.issue-hero h1 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
}

.dek,
.standfirst {
  max-width: 43rem;
  color: #37332d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-block: 2rem;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-light {
  color: var(--white);
}

.text-link {
  font-weight: 760;
}

.issue-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.issue-facts div {
  display: grid;
  gap: 0.1rem;
}

.issue-facts dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.issue-facts dd {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.feature-section,
.archive-section {
  padding-block: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--ink);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.heading-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.section-note {
  max-width: 28rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-block: 1px solid var(--rule);
}

.feature-card {
  display: flex;
  min-height: 25rem;
  flex-direction: column;
  padding: 2rem;
  border-left: 1px solid var(--rule);
}

.feature-card:first-child {
  padding-left: 0;
  border-left: 0;
}

.feature-card h3 a {
  text-decoration: none;
}

.feature-card > p:not(.card-kicker) {
  color: #49443d;
  font-family: Georgia, serif;
  font-size: 1.08rem;
}

.feature-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.access-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.access-public {
  border-color: #82907c;
  color: #42563f;
}

.access-free_member {
  border-color: #8f7352;
  color: #76532d;
}

.access-paid_member {
  border-color: var(--red);
  color: var(--red);
}

.reader-promise {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--blue);
  color: var(--white);
}

.promise-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 8vw, 8rem);
}

.promise-grid h2 {
  max-width: 12ch;
  margin: 0;
}

.promise-grid > div:last-child {
  font-family: Georgia, serif;
  font-size: 1.14rem;
}

.promise-grid .button {
  margin-top: 1rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.issue-list {
  border-top: 1px solid var(--ink);
}

.issue-row {
  display: grid;
  grid-template-columns: 11rem 1fr 8rem 1.5rem;
  gap: 1.25rem;
  align-items: center;
  min-height: 6rem;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.issue-row strong {
  font-family: Georgia, serif;
  font-size: 1.4rem;
}

.issue-row > span:not(.issue-season) {
  color: var(--muted);
  font-size: 0.8rem;
}

.issue-season {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.issue-page,
.simple-page {
  padding-block: clamp(3.5rem, 8vw, 8rem);
}

.issue-page-header {
  display: grid;
  grid-template-columns: 1.4fr minmax(15rem, 0.62fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}

.issue-page-header h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.issue-intro {
  max-width: 45rem;
}

.issue-page-cover {
  margin: 0;
}

.issue-page-cover img {
  box-shadow: 0 1.25rem 3rem rgb(31 22 17 / 16%);
}

figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.archive-reference {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 1.1rem;
  border-block: 1px solid var(--rule);
}

.archive-reference p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.toc {
  margin-top: clamp(5rem, 11vw, 10rem);
}

.toc ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.toc li {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding-block: 2rem;
  border-bottom: 1px solid var(--rule);
}

.toc h3 {
  margin-bottom: 0.75rem;
}

.toc h3 a {
  text-decoration: none;
}

.toc li > div > p:not(.card-kicker, .byline) {
  max-width: 48rem;
  color: #474139;
  font-family: Georgia, serif;
}

.toc-number {
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 1.3rem;
}

.byline {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.article-header {
  padding-block: clamp(3.5rem, 8vw, 7rem) 2.5rem;
}

.article-header h1 {
  max-width: 13ch;
  margin-block: 1.25rem 2rem;
  font-size: clamp(3rem, 7.5vw, 6.5rem);
}

.breadcrumb,
.article-labels,
.article-meta,
.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}

.breadcrumb {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.75rem;
}

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

.article-labels .eyebrow {
  margin: 0;
}

.article-meta {
  justify-content: space-between;
  margin-top: 2.25rem;
  padding-block: 1rem;
  border-block: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.8rem;
}

.article-meta p {
  margin: 0;
}

.topic-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  padding: 0.15rem 0.5rem;
  background: var(--paper-deep);
  font-size: 0.72rem;
}

.correction {
  margin-bottom: 3rem;
  padding: 1.2rem 1.4rem;
  border-left: 0.35rem solid var(--red);
  background: #eadfd4;
}

.correction p {
  margin: 0.3rem 0 0;
}

.article-body,
.simple-page .prose {
  padding-block: 1rem clamp(4rem, 9vw, 8rem);
}

.prose {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.78;
}

.prose p {
  margin-bottom: 1.55em;
}

.prose h2,
.prose h3,
.article-body .block-heading {
  margin: 2.1em 0 0.7em;
}

.article-body blockquote {
  width: min(52rem, calc(100vw - 2rem));
  margin: 2.5rem 50%;
  padding-block: 1.5rem;
  border-block: 1px solid var(--red);
  color: var(--red-dark);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  text-align: center;
  transform: translateX(-50%);
}

.article-body img {
  width: min(62rem, calc(100vw - 2rem));
  max-width: none;
  margin: 2.5rem 50%;
  transform: translateX(-50%);
}

.locked-reading {
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

.article-excerpt {
  font-family: Georgia, serif;
  font-size: 1.22rem;
}

.lock-card {
  margin-top: 2rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--ink);
  background: var(--paper-deep);
}

.lock-card h2 {
  max-width: 14ch;
}

.article-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: clamp(4rem, 9vw, 8rem);
  border: 1px solid var(--ink);
}

.article-footer > div {
  padding: clamp(1.5rem, 4vw, 2.75rem);
}

.article-footer > div + div {
  border-left: 1px solid var(--ink);
}

.article-footer h2,
.related-card h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.simple-page h1 {
  margin-bottom: 2rem;
}

.related-card {
  margin-top: 3rem;
  padding: 1.5rem;
  border-block: 1px solid var(--rule);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem max(1rem, calc((100% - var(--shell)) / 2));
  background: var(--ink);
  color: var(--white);
}

.footer-mark {
  margin-bottom: 0.35rem;
  font-size: 1.7rem;
}

.site-footer p:not(.footer-mark) {
  color: #bdb6a9;
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-content: start;
  font-size: 0.78rem;
}

@media (max-width: 820px) {
  .issue-hero,
  .issue-page-header,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .issue-hero {
    gap: 3rem;
  }

  .issue-cover-wrap {
    width: min(80vw, 24rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:first-child {
    min-height: 0;
    padding: 2rem 0;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .feature-card:first-child {
    border-top: 0;
  }

  .issue-page-cover {
    width: min(70vw, 24rem);
    grid-row: 1;
  }

  .issue-row {
    grid-template-columns: 1fr auto;
    gap: 0.35rem 1rem;
    padding-block: 1rem;
  }

  .issue-row strong {
    grid-column: 1;
  }

  .issue-row > span:not(.issue-season) {
    grid-column: 1;
  }

  .issue-row > span:last-child {
    grid-column: 2;
    grid-row: 1 / 4;
  }
}

@media (max-width: 600px) {
  .utility-bar p,
  .support-link {
    display: none;
  }

  .utility-bar {
    justify-content: flex-end;
  }

  .masthead-row {
    padding-block: 1.25rem;
  }

  .primary-nav {
    margin-right: 0;
    width: calc(100% - 1rem);
  }

  .heading-row,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .issue-hero h1,
  .issue-page-header h1,
  .article-header h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .archive-reference {
    grid-template-columns: auto 1fr;
  }

  .archive-reference .access-badge {
    grid-column: 2;
  }

  .toc li {
    grid-template-columns: 2rem 1fr;
    gap: 1rem;
  }

  .toc li > .access-badge {
    grid-column: 2;
  }

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

  .article-footer {
    grid-template-columns: 1fr;
  }

  .article-footer > div + div {
    border-top: 1px solid var(--ink);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

