:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #262325;
  --quiet: #625e61;
  --rule: #cbc5c0;
  --lavender: #765799;
  --serif:
    "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", SimSun,
    serif;
  --sans:
    "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Microsoft YaHei", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--lavender);
}
a:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 4px;
}
::selection {
  background: #e1cefa;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
.sheet {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  width: min(1250px, 90%);
  margin: auto;
}
header,
footer,
.section-title,
.archive-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
header {
  min-height: 75px;
  border-bottom: 1px solid var(--ink);
}
.brand {
  display: block;
  flex: none;
}
.brand img {
  width: 120px;
  height: auto;
}
header nav {
  white-space: nowrap;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-size: 14px;
}
.business {
  border: 1px solid var(--ink);
  padding: 6px 13px;
}
.business:hover,
.read:hover {
  color: var(--paper);
  background: #483c4e;
}
.business span,
.read span {
  margin-left: 8px;
}
.current,
.back:hover,
.section-title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.mast {
  display: flex;
  align-items: flex-end;
  gap: 36px;
  border-bottom: 4px double var(--ink);
  padding: 31px 0 26px;
}
.mast h1,
.archive-head h1 {
  font: 900 clamp(54px, 6.8vw, 96px) / 1.13 var(--serif);
  letter-spacing: -0.055em;
}
.mast-dot {
  color: #8967ac;
}
.mast-side {
  display: grid;
  padding-bottom: 5px;
  gap: 3px;
  color: var(--quiet);
  font-size: 14px;
}
.mast-side b {
  font:
    650 12px/1.6 ui-monospace,
    monospace;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.edition-cover {
  margin-top: clamp(22px, 3.2vw, 46px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink);
  background: #f4eddf url("/assets/edition-paper.webp") repeat;
  box-shadow: 4px 4px 0 #d7d0c5;
}
.edition-copy {
  align-self: center;
  padding: clamp(30px, 4.2vw, 66px);
}
.edition-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font:
    650 12px/1.5 ui-monospace,
    monospace;
  letter-spacing: 0.09em;
}
.edition-kicker span:first-child {
  padding: 3px 9px;
  background: #d9c6ee;
  color: #422a53;
  font-family: var(--sans);
}
.edition-copy h1 {
  margin: clamp(22px, 2.7vw, 40px) 0 24px;
  font: 900 clamp(50px, 6.35vw, 92px) / 1.1 var(--serif);
  letter-spacing: -0.06em;
}
.edition-copy h1 span {
  color: var(--lavender);
}
.edition-intro {
  max-width: 22em;
  font: 650 clamp(18px, 1.65vw, 23px) / 1.65 var(--serif);
}
.edition-note {
  margin-top: 16px;
  color: var(--quiet);
  line-height: 1.85;
}
.edition-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: clamp(330px, 32vw, 465px);
  border-left: 1px solid var(--ink);
  background:
    radial-gradient(#7e688a 0.7px, transparent 1px) 0 0/5px 5px,
    #493a56;
}
.edition-art::before,
.edition-art::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: 113%;
  height: 42%;
  border: 1px solid #ac97ba;
  border-radius: 50%;
  transform: rotate(-28deg);
}
.edition-art::after {
  width: 87%;
  height: 62%;
  border-style: dashed;
  opacity: 0.55;
}
.edition-book {
  position: relative;
  width: clamp(190px, 20.5vw, 285px);
  aspect-ratio: 0.78;
  transform: rotate(9deg) skewY(-2deg);
  border: 1px solid #2f2936;
  border-radius: 2px 5px 3px 2px;
  background: repeating-linear-gradient(
    to bottom,
    #fff9dd 0 2px,
    #b5a6ba 2px 3px
  );
  box-shadow: 9px 14px 0 #21172855;
}
.edition-print {
  position: absolute;
  inset: -7px 5px 7px -4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 8% 7% 8% 11%;
  border: 1px solid var(--ink);
  border-radius: 2px 4px 3px 2px;
  background:
    linear-gradient(
      90deg,
      #23183322,
      transparent 2%,
      transparent 4%,
      #3020392f 4.5%,
      transparent 5%
    ),
    radial-gradient(ellipse at 85% 39%, #e3ef97 0 29%, transparent 29.4%),
    url("/assets/edition-paper.webp") center/cover,
    #e4c994;
  background-blend-mode: normal, normal, multiply, normal;
}
.edition-imprint {
  width: 44%;
  margin-left: -3%;
}
.edition-mascots {
  width: 106%;
  max-width: none;
  align-self: center;
}
.edition-swatches {
  display: block;
  width: 100%;
  height: 13px;
  border-top: 1px solid var(--ink);
  background: linear-gradient(
      to right,
      #312838 0 4%,
      #855c9d 4% 8%,
      #e3ef97 8% 12%,
      transparent 12%
    )
    left bottom/100% 7px no-repeat;
}
.edition-status {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px clamp(20px, 3.8vw, 56px);
  border-top: 1px solid var(--ink);
}
.edition-status p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.edition-status p::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #c2a2de;
}
.edition-status .read {
  margin: 0;
}
@media (max-width: 700px) {
  .edition-cover {
    grid-template-columns: 100%;
  }
  .edition-copy {
    padding: 26px 22px;
  }
  .edition-copy h1 {
    margin: 18px 0;
  }
  .edition-art {
    min-height: 240px;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  .edition-book {
    width: 145px;
  }
  .edition-status {
    padding: 13px 16px;
  }
  .edition-status .read {
    padding: 7px 10px;
    gap: 0;
  }
}
.empty-archive {
  color: var(--quiet);
  margin: 36px 0;
}
.lead {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: 36px 0 38px;
}
.lead.text-only {
  grid-template-columns: minmax(0, 780px);
}
.eyebrow,
.byline,
.stamp {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.eyebrow {
  font-weight: 650;
}
.eyebrow i {
  width: 10px;
  height: 10px;
  background: var(--lavender);
}
.eyebrow span {
  color: #a79da4;
}
.category {
  color: #6b487e;
}
.lead h2 {
  font: 800 clamp(31px, 3.25vw, 51px) / 1.32 var(--serif);
  letter-spacing: -0.035em;
  margin: 16px 0;
  text-wrap: pretty;
}
.lead p {
  color: var(--quiet);
  line-height: 1.85;
}
.read {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 15px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 14px;
  margin-top: 23px;
}
.cover {
  display: block;
}
.art {
  width: 100%;
  height: auto;
}
.section-title {
  border-top: 2px solid var(--ink);
  padding: 20px 0 12px;
}
.section-title h2,
.month h2 {
  font: 750 25px/1.45 var(--serif);
}
.section-title a,
.back {
  font-size: 14px;
  font-weight: 600;
}
.stories {
  padding: 0;
  list-style: none;
}
.stories li {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) 28px;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding: 22px 0;
}
.stamp {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
time {
  font:
    12px/1.65 ui-monospace,
    monospace;
  color: var(--quiet);
}
.story h3 {
  font: 740 clamp(21px, 2vw, 28px) / 1.45 var(--serif);
}
.story p {
  font-size: 15px;
  color: var(--quiet);
  margin-top: 3px;
}
.row-arrow {
  justify-self: end;
  color: #75697d;
  font-size: 20px;
}
footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin-top: 50px;
  border-top: 1px solid var(--ink);
  padding: 24px 0 36px;
  color: var(--quiet);
  font-size: 13px;
}
footer > a:first-child {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
footer > a:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.filing {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
  font-size: 12px;
}
.packages {
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule);
}
.packages li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 12px;
  border-top: 1px solid var(--rule);
}
.packages h3 {
  font: 700 23px/1.5 var(--serif);
}
.packages p {
  font-size: 14px;
  color: var(--quiet);
}
.archive-head {
  align-items: baseline;
  padding: 42px 0 25px;
}
.archive-head h1 {
  font-size: clamp(44px, 5.4vw, 70px);
}
.archive-head p {
  color: var(--quiet);
  font-size: 14px;
}
.tabs {
  gap: 6px;
  border-block: 1px solid var(--rule);
  padding: 10px 0;
}
.tabs a {
  padding: 5px 15px;
}
.tabs [aria-current] {
  background: var(--ink);
  color: var(--paper);
}
.month {
  margin: 30px 0;
}
.month h2 {
  margin-bottom: 14px;
}
.reader {
  max-width: 720px;
  margin: 32px auto 0;
}
.back {
  color: var(--quiet);
}
.byline {
  margin-top: 46px;
}
.byline span {
  border-left: 1px solid var(--rule);
  padding-left: 12px;
  color: var(--quiet);
}
.reader h1 {
  font: 800 clamp(35px, 4.1vw, 58px) / 1.26 var(--serif);
  letter-spacing: -0.035em;
  margin: 15px 0 18px;
}
.standfirst {
  color: var(--quiet);
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.prose {
  font: 18px/1.95 var(--serif);
}
.prose p,
.prose li {
  overflow-wrap: anywhere;
}
.prose p {
  margin: 1.1em 0;
}
.prose h2 {
  font: 750 28px/1.45 var(--serif);
  margin: 1.55em 0 0.3em;
}
.prose a {
  text-decoration: underline;
}
.prose code {
  font-size: 0.85em;
  background: #eee8f1;
  padding: 0.1em 0.25em;
}
.prose pre {
  overflow-x: auto;
  padding: 12px;
  background: #eee8f1;
}
.end {
  display: inline-block;
  margin-top: 18px;
}
@media (max-width: 760px) {
  .sheet {
    width: calc(100% - 36px);
  }
  header {
    min-height: 60px;
  }
  nav {
    gap: 16px;
  }
  .brand img {
    width: 90px;
  }
  .mast {
    display: block;
    padding: 23px 0 18px;
  }
  .mast h1 {
    font-size: 58px;
  }
  .mast-side {
    margin-top: 10px;
    padding: 0;
  }
  .mast-side b {
    display: none;
  }
  .lead {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 23px 0;
  }
  .lead h2 {
    margin: 10px 0;
  }
  .read {
    margin-top: 15px;
  }
  .stories li {
    grid-template-columns: minmax(0, 1fr) 18px;
    gap: 5px 8px;
    padding: 17px 0;
  }
  .stamp {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    grid-column: 1/-1;
  }
  .story p {
    font-size: 14px;
  }
  .section-title {
    padding: 14px 0 9px;
  }
  .reader {
    margin: 20px auto 0;
  }
  .byline {
    margin-top: 26px;
  }
  .standfirst,
  .prose {
    font-size: 17px;
  }
  footer {
    margin-top: 32px;
  }
}

@media (max-width: 500px) {
  header {
    flex-wrap: wrap;
    padding: 8px 0;
    gap: 6px;
  }
  header nav {
    margin-left: auto;
    gap: 10px;
    font-size: 13px;
  }
  header nav .business {
    padding: 4px 6px;
  }
  header nav .business span {
    margin-left: 0;
  }
  footer {
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
  }
  footer > a:nth-child(2) {
    grid-column: 2;
  }
  .filing {
    grid-column: 1/-1;
    grid-row: 2;
    justify-self: center;
  }
}

.release-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 8px;
}
.release-heading h2 {
  font: 700 19px/1.5 var(--serif);
}
.release-heading span {
  color: var(--quiet);
  font-size: 14px;
}
.release-heading button {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  padding: 2px 8px;
}
.packages a[aria-disabled] {
  opacity: 0.45;
  pointer-events: none;
}
