:root {
  color-scheme: light;
  --ink: #192b24;
  --green: #25473b;
  --line: #d4ded2;
  background: #f5f5ed;
  color: var(--ink);
  font: 16px/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #22694f; outline-offset: 4px; }
.shell { width: min(76rem, calc(100% - 4rem)); margin-inline: auto; }
.masthead { display: flex; align-items: center; min-height: 4.25rem; }
.brand { font-weight: 750; text-decoration: none; }
.brand span { color: #486458; font-weight: 500; }
.hero {
  min-height: 23rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.75rem, 5vw, 5rem);
  border-radius: 1.5rem;
  overflow: hidden;
  background: #19382f;
  color: #f9f9eb;
}
h1 { margin: 0; font: 500 clamp(2.9rem, 7vw, 6.15rem)/.99 Georgia, serif; letter-spacing: -.055em; }
.hero p { max-width: 32rem; margin: 1.5rem 0 0; color: #d3e3cd; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 1;
  max-width: 17rem;
  width: 100%;
  justify-self: center;
  transform: rotate(-12deg);
}
.diagram i { border: 1px solid #9cc9a0; border-radius: 50%; }
.diagram i:nth-child(2) { border-radius: 50% 50% 0 50%; background: #a3cfa0; }
.diagram i:nth-child(3) { border-radius: 1rem; }
.diagram i:nth-child(4) { border-radius: 0 50% 50% 50%; background: #e4da9f; border-color: #e4da9f; }
.collection { padding-block: 2.5rem 4rem; }
.collection h2 { margin: 0 0 1rem; font: 500 2.1rem/1.15 Georgia, serif; }
.empty, .book { border: 1px solid var(--line); border-radius: .9rem; padding: 1.2rem 1.4rem; background: #fafbf5; }
.empty { margin: 0; color: #486458; }
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.book h3 { margin: 0; font-size: 1.25rem; }
.book a { text-decoration-color: #6a927b; text-underline-offset: .2em; }
.book a:hover { color: #22694f; }
.book p { margin: .7rem 0 0; color: #40564b; overflow-wrap: anywhere; }
@media (max-width: 42rem) {
  .shell { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; gap: 1.75rem; min-height: unset; }
  h1 { font-size: clamp(2.15rem, 8.5vw, 4rem); }
  .diagram { max-width: 8rem; justify-self: end; margin-inline-end: .4rem; }
}
