/* Typesetting for the sample book preview. */
.sample-sheet {
  box-sizing: border-box;
  width: 100%;
  max-width: 748px;
  margin: 0;
  color-scheme: light;
  color: #292825;
  background: #fffefa;
  box-shadow: 0 16px 36px -24px #29252177, 0 2px 3px #29252110;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sample-sheet * { box-sizing: border-box; }
.sample-sheet .sample-imprint {
  margin: 0;
  font: 600 11px/1.5 system-ui, sans-serif;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.sample-sheet .sample-title {
  font: 500 clamp(26px, 3vw, 39px)/1.16 var(--serif, Georgia, "Songti SC", serif);
  letter-spacing: -.035em;
  margin: 10px 0 22px;
  color: inherit;
}
.sample-book {
  display: grid;
  grid-template-columns: .72fr 1fr;
  background: #fcfaf3;
  box-shadow: 0 2px #e7dfd0, 0 4px #f8f3e8, 0 5px #d5ccbb, 0 18px 28px -20px #33251d73;
}
.sample-title-leaf {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 26px;
  background: linear-gradient(90deg, #f8f4e9 90%, #e9e0cd 100%);
}
.sample-book-text {
  padding: clamp(28px, 4vw, 52px) clamp(26px, 3.8vw, 48px);
  background: linear-gradient(90deg, #eee7d9, #fdfbf5 8%, #fdfbf5);
}
.sample-book .sample-imprint { color: #8a5c49; }
.sample-book-vignette { display: block; align-self: center; width: 76px; height: auto; color: #916d53; }
.sample-contents-title { margin: 0; font: 500 23px/1.3 var(--serif, Georgia, serif); }
.sample-book ol { list-style: none; padding: 0; margin: 22px 0 0; }
.sample-book li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font: 400 16px/1.5 var(--serif, Georgia, serif);
  font-variant-numeric: tabular-nums;
}
.sample-book li + li { margin-top: 10px; }
.sample-figure { padding: clamp(22px, 4.1vw, 52px); }
.sample-figure figcaption {
  margin: 4px 0 0;
  font: 400 15px/1.65 system-ui, sans-serif;
}
.sample-figure .sample-imprint { color: #28685f; }
.sample-figure svg { display: block; width: 100%; max-width: 478px; height: auto; margin: 18px auto; }
.sample-figure figcaption { color: #4e5652; }
@media (max-width: 600px) {
  .sample-book { display: block; }
  .sample-title-leaf { padding: 24px 23px 4px; background: #fdfbf5; text-align: start; }
  .sample-book-vignette { display: none; }
  .sample-book-text { padding: 12px 23px 28px; background: #fdfbf5; }
  .sample-figure { padding: 24px 20px; }
  .sample-figure { padding-inline: 12px; }
  .sample-figure .sample-title { font-size: 24px; }
}
