/* Cloth book covers share the site's warm palette in both appearances. */
.guide-library { --book-ink:#263b30; --book-page:#fbf5e8; padding:16px 0 48px; }
.guide-library-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin:0 0 32px; }
.guide-library .guide-library-eyebrow { font-size:13px; letter-spacing:.08em; margin:0 0 10px; }
.guide-library h2 { font-family:Georgia,serif; font-size:clamp(26px,3.4vw,40px); line-height:1.15; max-width:650px; margin:0; text-wrap:balance; }
.guide-library a:focus-visible, .guide-library input:focus-visible { outline:3px solid #be5b36; outline-offset:5px; }
.guide-library-jump { flex-shrink:0; padding:12px 0; color:var(--ink); text-underline-offset:5px; }
.guide-cover-sage { --cover:#b8c6a5; }
.guide-cover-coral { --cover:#e9b09b; }
.guide-cover-blue { --cover:#b9cdd0; }
.guide-cover-butter { --cover:#edcf89; }
.guide-book-stack { padding-bottom:20px; }
.guide-book-page { position:sticky; top:calc(108px + var(--page)*12px); padding-bottom:48px; perspective:1400px; }
.guide-book-page:focus-within { z-index:1; }
.guide-book { display:grid; grid-template-columns:43% 57%; min-height:360px; border-radius:8px 18px 18px 8px; overflow:hidden; background:var(--book-page); color:var(--book-ink); box-shadow:0 12px 26px #15251b24, 0 3px 0 #c7bda4, 0 7px 0 #e3dac6; transform-origin:50% 90%; }
.guide-book-art, .guide-shelf-art { position:relative; background-color:var(--cover); background-image:repeating-linear-gradient(0deg,#64563a0c 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#fff4d92b 0 1px,transparent 1px 3px); }
.guide-book-art { display:flex; align-items:center; justify-content:center; border-right:1px solid #74664c30; box-shadow:inset 12px 0 16px -12px #24302366; }
.guide-book-art::after { content:''; position:absolute; inset:18px; border:1px dashed #52634a70; border-radius:4px; pointer-events:none; }
.guide-book-art img { width:85%; height:260px; object-fit:contain; }
.guide-playroom { position:relative; width:240px; height:190px; max-width:80%; }
.guide-playroom span { position:absolute; background-image:repeating-linear-gradient(0deg,#6256391a 0 1px,transparent 1px 3px),repeating-linear-gradient(90deg,#fff7de33 0 1px,transparent 1px 3px); box-shadow:inset 3px 4px 4px #fff5d755,4px 6px 7px #453b3026; outline:1px dashed #67543766; outline-offset:-7px; }
.play-arch { inset:20px 45px 12px 15px; border-radius:100px 100px 12px 12px; background-color:#e7c96e; }
.play-arch::after { content:''; position:absolute; inset:50px 44px 0; border-radius:60px 60px 0 0; background:var(--cover); }
.play-block { width:85px; height:85px; right:8px; bottom:8px; border-radius:14px; background-color:#709b82; rotate:8deg; }
.play-ball { width:64px; height:64px; top:0; right:0; border-radius:50%; background-color:#c2694e; }
.guide-shelf-art .guide-playroom { transform:scale(.65); }
.guide-book-imprint { position:absolute; top:32px; left:34px; font-size:12px; letter-spacing:.04em; }
.guide-book-volume { position:absolute; bottom:26px; right:32px; font:italic 24px Georgia,serif; }
.guide-book-copy { display:flex; flex-direction:column; align-items:start; justify-content:center; padding:38px 44px; color:var(--book-ink); }
.guide-library .guide-book-category { font-size:13px; margin:0 0 14px; color:#4c6251; }
.guide-library .guide-book-copy h3 { font:clamp(28px,3.8vw,46px)/1.08 Georgia,serif; letter-spacing:-.7px; color:var(--book-ink); max-width:430px; margin:0 0 18px; text-wrap:balance; }
.guide-library .guide-book-description { font-size:17px; line-height:1.65; color:#435345; max-width:440px; margin:0 0 24px; }
.guide-library .guide-book-open { color:#fff8e8; background:#355742; border-radius:5px; padding:13px 20px; min-height:46px; text-decoration:none; font-size:15px; }
.guide-book-open:hover { background:#243e2e; }
.guide-collection { position:relative; scroll-margin-top:120px; padding:40px 0 24px; }
.guide-collection h2 { margin-bottom:24px; }
.guide-find-label { display:block; font-size:14px; margin-bottom:8px; }
.guide-library .guide-find { display:block; width:min(100%,520px); min-height:50px; padding:12px 16px; border:1px solid #87917b; border-radius:6px; background:var(--paper); color:var(--ink); font:inherit; }
.guide-find::placeholder { color:var(--ink); opacity:.65; }
.guide-library .guide-find-status { font-size:14px; margin:12px 0 24px; }
.guide-shelf { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px 24px; }
.guide-library .guide-shelf-book { display:flex; flex-direction:column; text-decoration:none; color:var(--ink); border:0; background:transparent; border-radius:0; min-width:0; }
.guide-shelf-book[hidden] { display:none!important; }
.guide-shelf-art { height:155px; border-radius:5px 12px 12px 5px; box-shadow:inset 10px 0 12px -10px #25322466,0 3px 0 #b6ad96; display:flex; justify-content:center; align-items:center; transition:transform .25s ease; }
.guide-shelf-art img { width:80%; height:140px; object-fit:contain; }
.guide-shelf-book:hover .guide-shelf-art { transform:translateY(-4px) rotate(-1deg); }
.guide-shelf-copy { display:flex; flex-direction:column; flex:1; padding:18px 2px 0; }
.guide-library .guide-shelf h3 { color:var(--ink); font:700 22px/1.25 Georgia,serif; margin:0 0 10px; }
.guide-library .guide-shelf p { color:var(--ink); font-size:15px; line-height:1.6; margin:0 0 14px; }
.guide-shelf-read { margin-top:auto; font-size:14px; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:800px) {
  .guide-library-heading { align-items:start; flex-direction:column; gap:10px; }
  .guide-book-copy { padding:26px; }
  .guide-book-art img { height:220px; }
  .guide-book-imprint { left:26px; font-size:10px; }
  .guide-shelf { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .guide-book-page { position:relative; top:auto; padding-bottom:26px; }
  .guide-book { grid-template-columns:1fr; min-height:0; }
  .guide-book-art { height:160px; border-right:0; }
  .guide-book-art img { height:145px; width:70%; }
  .guide-book-art .guide-playroom { transform:scale(.65); }
  .guide-book-imprint, .guide-book-volume { display:none; }
  .guide-book-copy { padding:26px; }
  .guide-library .guide-book-copy h3 { font-size:30px; }
  .guide-library .guide-book-description { font-size:16px; margin-bottom:18px; }
  .guide-shelf { gap:28px 16px; }
  .guide-shelf-art { height:115px; }
  .guide-shelf-art img { height:105px; }
  .guide-shelf-art .guide-playroom { transform:scale(.5); max-width:none; min-width:220px; }
  .guide-library .guide-shelf h3 { font-size:19px; }
  .guide-library .guide-shelf p { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) {
  .guide-book-page { position:relative; top:auto; }
  .guide-book, .guide-shelf-art { transform:none!important; transition:none; }
}
@media(max-height:620px) { .guide-book-page { position:relative; top:auto; } }
@media(max-width:360px) {
  body .site-header { gap:6px; }
  body .brand strong { font-size:20px; }
  body .brand em { font-size:18px; }
  body .header-actions { min-width:0; width:auto; }
  body .newsletter-entry { max-width:74px; font-size:11px; }
}
