.book-front {
  width: min(100% - 2.5rem, 76rem);
  margin-inline: auto;
  padding-block: 1.5rem 4rem;
}

.cover-shelf {
  display: inline-block;
  margin-bottom: .9rem;
  color: var(--green);
  text-underline-offset: .2em;
}

.cover-hero {
  display: grid;
  grid-template-columns: 1fr minmax(18rem, 46%);
  min-height: 26rem;
  overflow: hidden;
  background: #132e27;
  color: #f9f1da;
  position: relative;
  isolation: isolate;
}

.cover-hero::after {
  content: "";
  position: absolute;
  inset: .7rem;
  border: 1px solid #c8b48375;
  pointer-events: none;
}

.cover-intro {
  z-index: 1;
  align-self: center;
  padding: clamp(2rem, 7vw, 6rem);
}

.cover-intro h1 {
  font-size: clamp(3.25rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.cover-intro h1 span {
  display: block;
  margin-bottom: .45rem;
  color: #d8c694;
  font: 500 clamp(1.15rem, 3vw, 1.65rem)/1.3 Georgia, serif;
  letter-spacing: .28em;
}

.cover-intro p {
  margin: 1rem 0 1.65rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: .08em;
}

.cover-read {
  display: inline-block;
  padding: .6rem 1.15rem;
  background: #e5d4a5;
  color: #17342a;
  font-weight: 700;
  text-decoration: none;
}

.cover-read:hover { background: #fff3cf; }

.cover-hero img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 57%;
  height: 100%;
  object-fit: cover;
  object-position: center 82%;
  mask-image: linear-gradient(to right, transparent, black 27%);
}

.cover-contents {
  padding: clamp(1.4rem, 4vw, 3rem) clamp(1rem, 4vw, 3.5rem);
  border: 1px solid #d2d8ca;
  border-top: 0;
  background: #fcfbf5;
}

.cover-contents h2 {
  margin: 0 0 1.4rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid #b9c7ba;
  color: var(--green);
  font: 700 clamp(2rem, 4vw, 2.65rem)/1.2 "Songti TC", "PMingLiU", serif;
  letter-spacing: .12em;
}

.cover-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1rem, 3vw, 3rem);
}

.cover-chapter { padding: .45rem 0 1.6rem; }

.cover-chapter h3 {
  margin: 0 0 .45rem;
  color: var(--green);
  font-size: 1.12rem;
  line-height: 1.55;
}

.cover-chapter h3 span {
  display: inline-block;
  margin-right: .65em;
  white-space: nowrap;
}

.cover-chapter p { margin: 0 0 .25rem; color: var(--green); }
.cover-chapter ul { margin: 0; padding: 0; list-style: none; }
.cover-chapter a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
.cover-chapter a:hover { color: var(--green); text-decoration: underline; }

.cover-chapter li a {
  display: grid;
  grid-template-columns: 1.15em minmax(0, 1fr);
  padding-block: .27rem;
}

.cover-symbol { color: var(--green); }
.appendix-contents ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: .75rem; }
.appendix-contents li a { display: block; }

.cover-key {
  margin: 0;
  border-top: 1px solid #b9c7ba;
  padding-top: .85rem;
  color: var(--muted);
}

.contents .overview-index { padding: .65rem .4rem; color: var(--green); font-weight: 700; }
.overview-index + .work-index { border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .cover-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover-columns > div { display: contents; }
}

@media (max-width: 540px) {
  .book-front { width: calc(100% - 1.5rem); padding-top: .8rem; }
  .cover-hero { grid-template-columns: minmax(0, 1fr); min-height: 21rem; }
  .cover-intro { padding: 2.1rem; }
  .cover-hero img {
    width: 100%;
    mask-image: linear-gradient(to bottom, transparent 28%, black 95%);
    opacity: .7;
  }
  .cover-columns { display: block; }
}

@media (max-width: 350px) {
  .cover-intro { padding-inline: 1.6rem; }
  .cover-intro h1 { font-size: 2.75rem; }
}
