:root {
  color-scheme: light;
  --paper: #f6f1e6;
  --ink: #2e493b;
  --muted: #455748;
  --fern: #315640;
  --sage: #dce5d3;
  --line: #c9cdbd;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--fern); outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 5; padding: 10px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead, .footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.masthead { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.28rem; font-weight: 850; letter-spacing: -.05em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--fern); font-size: 1.55rem; }
nav { display: flex; flex-wrap: wrap; gap: 4px; }
nav a { font-weight: 720; font-size: .87rem; text-decoration: none; border-radius: 30px; padding: 9px 14px; }
nav a:hover, nav [aria-current] { background: #dce5d3; color: #274737; }
.hero { display: grid; grid-template-columns: 1fr .94fr; align-items: center; gap: 42px; padding-top: 44px; }
.hero-copy { padding-block: 26px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 820; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 8px; height: 8px; background: var(--fern); border-radius: 50%; }
h1, h2, h3 { line-height: 1; letter-spacing: -.066em; }
h1 { font-size: clamp(2.75rem, 6.9vw, 6.4rem); font-weight: 870; margin-block: 16px; }
h1 span { color: var(--fern); }
.hero-copy > p:not(.eyebrow), .intro-copy > p:not(.eyebrow) { max-width: 42ch; color: var(--muted); font-size: 1.08rem; }
.button { display: inline-flex; gap: 22px; align-items: center; background: var(--ink); color: white; text-decoration: none; font-size: .88rem; font-weight: 750; padding: 13px 19px; border-radius: 99px; margin-top: 25px; }
.button:hover { background: var(--fern); }
.hero-art { position: relative; aspect-ratio: 1.16; background: var(--sage); overflow: hidden; border-radius: 24px 92px 24px 24px; color: var(--ink); isolation: isolate; }
.hero-art img { width: 36%; position: absolute; top: 18%; left: 21%; border-radius: 4px; transform: rotate(-12deg); box-shadow: 5px 13px 20px #2e493b70; }
.hero-art img + img { top: 22%; left: 49%; transform: rotate(12deg); }
.edition, .art-foot { position: absolute; font: 700 clamp(.55rem, 1vw, .7rem)/1.35 ui-monospace, monospace; letter-spacing: .12em; }
.edition { top: 5%; left: 5%; }
.art-foot { bottom: 5%; right: 5%; }
.spark { position: absolute; right: 8%; top: 6%; font-size: clamp(1.6rem, 4vw, 3.75rem); line-height: 1; color: var(--fern); }
.browse { padding-top: 55px; scroll-margin-top: 16px; }
.section-head { margin-bottom: 19px; }
.section-head h2 { margin-top: 9px; font-size: clamp(2.25rem, 4.9vw, 4rem); }
.collection-grid, .book-grid { display: grid; gap: 16px; }
.collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.collection { background: #faf7ed; text-decoration: none; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.collection:hover { border-color: var(--fern); }
.card-art { background: #e9e4d1; display: flex; justify-content: center; align-items: center; gap: 5px; height: clamp(135px, 20vw, 226px); overflow: hidden; position: relative; }
.collection.classics .card-art { background: var(--sage); }
.card-art img { width: auto; height: 85%; border-radius: 3px; transform: rotate(-10deg) translateY(11%); box-shadow: 4px 7px 12px #2e493b45; }
.card-art img + img { transform: rotate(12deg) translateY(8%); }
.card-art > span { position: absolute; top: 9px; left: 14px; font: 740 .76rem/1.5 ui-monospace, monospace; }
.card-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px; }
.card-copy h3, .book-copy h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); }
.card-copy p, .book-copy > p { margin-top: 8px; color: var(--muted); }
.arrow { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; background: #dce5d3; color: #274737; }
.intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(140px, 32%);
  align-items: center; gap: 20px; margin: 35px 0 21px;
  padding: clamp(20px, 4vw, 43px);
  background: var(--sage); border-radius: 22px 76px 22px 22px;
}
.intro-art { display: flex; align-items: center; justify-content: center; padding: 4px 13px; }
.intro-art img {
  width: clamp(56px, 10vw, 113px); border-radius: 3px;
  transform: rotate(-10deg) translateX(8px);
  box-shadow: 4px 7px 14px #2e493b55;
}
.intro-art img + img { width: clamp(46px, 8.5vw, 96px); transform: rotate(12deg) translateX(-7px); }
.intro-art .color-art { font-size: clamp(2rem, 6vw, 4.7rem); color: #536d48; white-space: nowrap; }
.intro h1 { font-size: clamp(2.8rem, 7.3vw, 6.4rem); margin-block: 8px 10px; }
.intro-copy > p:not(.eyebrow) { max-width: 54ch; }
.book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.book-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #faf7ed; }
.book-art { background: #dce5d3; display: grid; place-items: center; padding: 19px; }
.book-art img { width: min(52%, 155px); border-radius: 4px; box-shadow: 4px 6px 13px #2e493b38; }
.book-copy { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 18px; }
.book-copy > p:not(.purchase) { margin-bottom: 13px; }
.book-copy .purchase { display: inline-flex; gap: 10px; align-items: center; padding: 7px 11px; margin-top: auto; border-radius: 99px; background: var(--fern); color: white; font-size: .77rem; font-weight: 750; }
.cross { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-weight: 750; color: #274737; text-underline-offset: 4px; }
.footer { margin-top: 46px; padding-block: 19px; border-top: 1px solid var(--line); }
.footer small { color: var(--muted); text-align: right; }
@media (max-width: 740px) {
  .shell { width: calc(100% - 32px); }
  .hero { grid-template-columns: 1fr; gap: 21px; padding-top: 24px; }
  .hero-copy { padding-block: 0; }
  .hero-art { aspect-ratio: 1.27; }
  .hero-art img { width: 33%; }
  .browse { padding-top: 34px; }
  .book-grid { grid-template-columns: 1fr; gap: 10px; }
  .book-card { display: grid; grid-template-columns: minmax(76px, 26%) 1fr; }
  .book-art { padding: 9px; }
  .book-art img { width: 100%; max-width: 115px; }
  .book-copy { padding: 12px; }
  .book-copy > p { font-size: .82rem; margin-top: 5px; }
  .book-copy > p:not(.purchase) { margin-bottom: 8px; }
  .intro { margin-top: 18px; }
  .intro-copy > p:not(.eyebrow) { font-size: .94rem; }
}
@media (max-width: 450px) {
  .masthead { min-height: 61px; }
  nav a { padding: 7px 8px; font-size: .75rem; }
  .brand { font-size: 1.1rem; }
  .collection-grid { grid-template-columns: 1fr; }
  .hero-copy > p:not(.eyebrow) { font-size: .98rem; }
}
.card-art .color-art { position: static; font: 600 clamp(2.4rem, 7vw, 5.5rem)/1 system-ui, sans-serif; color: #536d48; }
.book-copy .author { font-size: .88rem; font-weight: 720; margin-bottom: 0; }
.purchase { text-decoration: none; }
.purchase:hover { text-decoration: underline; }
@media (max-width: 450px) {
  .brand { font-size: 1rem; gap: 4px; }
  nav a { padding-inline: 6px; }
}
@media (max-width: 600px) {
  .intro { grid-template-columns: 1fr; border-top-right-radius: 46px; }
  .intro-art { display: none; }
  .hero-art { border-top-right-radius: 64px; }
}
@media (max-width: 360px) {
  .masthead { gap: 4px; }
  nav { gap: 0; }
  nav a { padding-inline: 4px; }
}
