/* The cover is a single viewport composition; article text remains fluid. */
:root { --masthead-size: clamp(3.25rem, 9svh, 5rem); }
.masthead { height: var(--masthead-size); }
.cover-shell {
  height: calc(100svh - var(--masthead-size));
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}
.cover {
  width: 100%; height: 100%; min-height: 0;
  margin: 0 auto; padding: clamp(.75rem, 3svh, 2rem) 5%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.cover-copy { min-width: 0; }
.cover h1 {
  font-size: clamp(2.5rem, min(6.7vw, 11svh), 6.5rem);
  margin: clamp(.5rem, 2svh, 1.25rem) 0;
  line-height: .97;
}
.cover h1 > span { display: block; }
.chinese-title {
  font-size: clamp(1.5rem, min(3vw, 4.6svh), 2.5rem);
  line-height: 1.3; margin: 0 0 clamp(.5rem, 1.8svh, 1.25rem);
}
.cover-description { font-size: 1rem; line-height: 1.7; margin: 0; }
.cover-description span { font-size: 1.125rem; line-height: 1.5; }
.author-row { gap: 1rem; margin-top: clamp(.5rem, 2svh, 1.5rem); }
.author-name { line-height: 1.6; }
.author-mark { flex-shrink: 0; width: 2.75rem; height: 2.75rem; }
.cover-art {
  min-height: 0; height: 100%; max-height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.cover-art img {
  display: block; width: 100%; height: auto; min-height: 0;
  max-height: calc(100% - 2rem); aspect-ratio: 3 / 2;
  object-fit: contain; object-position: center;
}
.cover-art figcaption { flex-shrink: 0; padding-top: .625rem; line-height: 1.5; }
.cover-bottom {
  margin: 0 5%; padding: clamp(.625rem, 1.8svh, 1.25rem) 0;
  min-height: 3rem; font-size: .75rem;
}
.chapter-art { margin: 0 0 2rem; }
.chapter-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.chapter-art figcaption {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-top: .75rem; color: #62675b; font-size: .75rem; line-height: 1.7;
}
.chapter-art figcaption span:last-child { font-family: var(--serif); font-style: italic; font-size: .875rem; }
@media (max-width: 800px) {
  .cover { gap: 4%; padding-top: 1rem; padding-bottom: 1rem; }
  .cover .eyebrow { letter-spacing: 1px; }
  .eyebrow .issue { margin-right: .75rem; }
  .cover-description { font-size: .875rem; }
  .cover-description span { font-size: 1rem; }
  .author-name small { letter-spacing: 0; }
}
@media (max-width: 600px) and (min-height: 501px) {
  .cover { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: .75rem; padding: 1rem 6%; }
  .cover h1 { font-size: clamp(2rem, min(11.8vw, 6.8svh), 3.25rem); margin: .5rem 0; }
  .cover h1 > span:nth-child(-n+2) { display: inline; }
  .chinese-title { font-size: clamp(1.375rem, 3.6svh, 1.875rem); margin-bottom: .5rem; }
  .cover-description { line-height: 1.6; }
  .cover-description span { line-height: 1.35; }
  .author-row { margin-top: .625rem; gap: .75rem; }
  .author-mark { width: 2rem; height: 2rem; font-size: 1.375rem; }
  .author-name { font-size: .8125rem; line-height: 1.4; }
  .author-name small { font-size: .6875rem; }
  .cover-art { align-items: center; }
  .cover-art img { flex: 0 1 auto; min-height: 0; max-height: calc(100% - 1.75rem); }
  .cover-art figcaption { width: 100%; font-size: .6875rem; padding-top: .375rem; }
  .cover-bottom { margin: 0 6%; gap: .75rem; padding: .625rem 0; }
  .cover-bottom .edition-meta { max-width: 45%; font-size: .6875rem; letter-spacing: 0; }
  .read-link { font-size: .8125rem; gap: .5rem; }
  .chapter-art figcaption { flex-direction: column; gap: .125rem; }
}
@media (max-height: 500px) {
  .masthead { height: 3rem; }
  .cover-shell { height: calc(100svh - 3rem); }
  .cover { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4%; padding: .5rem 5%; }
  .cover .eyebrow { font-size: .625rem; letter-spacing: .5px; }
  .cover h1 { font-size: clamp(1.625rem, min(6vw, 9svh), 2.75rem); margin: .375rem 0; }
  .chinese-title { font-size: 1.25rem; margin-bottom: .375rem; }
  .cover-description { font-size: .75rem; line-height: 1.4; }
  .cover-description span { font-size: .8125rem; line-height: 1.4; }
  .author-row { margin-top: .375rem; gap: .625rem; }
  .author-mark { width: 1.75rem; height: 1.75rem; font-size: 1.125rem; }
  .author-name { font-size: .75rem; line-height: 1.4; }
  .author-name small { font-size: .625rem; letter-spacing: 0; }
  .cover-bottom { padding: .375rem 0; min-height: 2.25rem; }
  .cover-art figcaption { font-size: .625rem; }
}
@media print {
  .cover-shell { height: auto; display: block; }
  .cover { height: auto; }
  .cover-art img { height: auto; max-height: 20rem; }
  .chapter-art { break-inside: avoid; }
}
