/* October refinements: quiet navigation, close-fitting book fields and galleries. */
.hero-actions .support{background:#e4dfcc;color:var(--forest)}
.hero-actions .support:hover{background:#946244;color:var(--vanilla)}
@media(min-width:851px){.hero-actions{gap:10px}.hero-actions .button{padding-inline:12px;font-size:13px}}
.product-feature{background:#3c2924;color:#f4f1e0}
.product-feature .feature-copy h2 em{color:#d3b998}
.product-feature .button.light{background:#eee5d0;color:#3c2924}
.product-feature .button.light:hover{background:#bf926b;color:#241a18}
.site-header .wordmark img{object-fit:contain;image-rendering:auto;filter:none;transform:none}
.prv-newsletter-grid{position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
.prv-newsletter h2{font-size:clamp(26px,2.65vw,38px);line-height:1.1}
.prv-newsletter .newsletter-kicker{font:600 .52em/1.1 var(--body);margin:0 0 1px}
.prv-newsletter h2 em{font-size:.75em;margin-top:4px}
.newsletter-name{white-space:nowrap}
.prv-newsletter .newsletter-name>span{font-family:Fraunces,Georgia,serif;font-weight:700;letter-spacing:-.065em;color:#321e1e;opacity:1}
.prv-footer-wordmark{width:100%;max-width:none;margin:18px 0 0;overflow:hidden;line-height:0}
.prv-footer-wordmark img{width:100%;height:auto;filter:none;opacity:1;max-width:none}
.prv-footer-bottom{padding-top:12px}
.prv-footer .prv-socials{margin-bottom:30px}

/* Shared row tracks keep paired mobile product names, prices and actions aligned. */
@media(max-width:600px){
 .shop-page .shop-catalog>.shop-grid{align-items:stretch}
 .shop-page .shop-card{grid-template-rows:auto 1fr auto}
 .shop-page .shop-card .product-heading :is(h2,h3){min-height:3.9em}
 .shop-page .shop-card .product-bottom{align-self:end}
 @supports(grid-template-rows:subgrid){
  .shop-page .shop-catalog>.shop-grid{row-gap:6px}
  .shop-page .shop-card{grid-template-rows:subgrid;grid-row:span 5;row-gap:6px;padding-bottom:0;margin-bottom:22px}
  .shop-page .shop-card .product-heading,.shop-page .shop-card .product-bottom{display:contents}
  .shop-page .shop-card .product-heading :is(h2,h3){min-height:0;margin-top:4px;align-self:start}
  .shop-page .shop-card .price,.shop-page .shop-card .product-bottom>p{margin:0;align-self:start}
  .shop-page .shop-card .add-button{justify-self:start;align-self:end;margin:0}
 }
}
[data-shop-category][aria-pressed=false]{background:transparent;color:var(--coffee)}
[data-shop-category][aria-pressed=true]{background:var(--forest);color:var(--vanilla)}

/* The same close, coloured card language as the home-page patronages. */
.library-grid{align-items:stretch;gap:40px 20px}
.library-card>a{position:relative;height:100%;padding:10px 10px 16px;background:var(--cover-field,#d9ddc5);color:var(--cover-ink,#321e1e);border-radius:17px;transition:transform .3s}
.library-cover{aspect-ratio:2/3;padding:0;background:transparent;border-radius:6px;isolation:auto}
.library-cover>img{max-width:none;max-height:none;width:auto;height:auto;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;box-shadow:none;border-radius:11px;transition:transform .4s cubic-bezier(.2,.7,.3,1)}
.library-card-copy{padding:12px 1px 1px}
.library-card-copy>p{color:inherit;opacity:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.4;margin-bottom:5px}
.library-card h3{color:inherit;font:650 17px/1.15 var(--display);min-height:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.library-card a:hover h3{color:inherit}
.library-patron-badge{top:5px;right:5px;left:auto;display:flex;flex-direction:column;align-items:center;gap:0;background:#f4f1e0;color:#65461b;padding:3px 6px 5px;border-radius:3px 3px 8px 8px;font:700 9px/1.1 var(--body);box-shadow:0 2px 7px #241a1830}
.library-patron-badge::before{content:"★";font:24px/1.05 Georgia,serif;color:#b88722}
.library-watch{bottom:-17px;background:#f4f1e0;color:#284c3b;min-height:35px;font-size:10px;padding:9px 11px}
.library-card a:is(:hover,:focus-visible) .library-cover>img{transform:translateY(-5px) rotate(-2deg);box-shadow:none}
.library-card a:hover .library-watch{background:#284c3b;color:#f4f1e0}
.library-missing-cover{display:flex;flex-direction:column;justify-content:space-between;height:100%;width:100%;padding:14px;background:#f4f1e055;border-radius:3px;font:600 19px/1.1 var(--display)}
.library-missing-cover small{font:500 11px/1.4 var(--body)}

.work-gallery{width:100%;min-width:0;align-self:start}
.work-gallery-track{display:grid;grid-auto-flow:column;grid-auto-columns:92%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;border-radius:8px}
.work-gallery-track::-webkit-scrollbar{display:none}
.work-gallery-track:focus-visible{outline:2px solid var(--forest);outline-offset:5px}
.work-gallery-slide{margin:0;aspect-ratio:4/5;scroll-snap-align:start;background:#e9e6d8;border-radius:8px;overflow:hidden;display:grid;place-items:center}
.work-gallery-slide img{display:block;width:100%;height:100%;object-fit:contain}
.work-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:9px;color:var(--forest)}
.work-gallery-controls>div{display:flex;gap:6px}
.work-gallery-controls button{background:none;width:44px;height:44px;padding:11px;border-radius:50%;color:inherit}
.work-gallery-controls button:hover:not(:disabled){background:#284c3b12;color:#91502e}
.work-gallery-controls button[data-gallery-step="-1"] svg{transform:rotate(180deg)}
.work-gallery-controls svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.5;fill:none}
.work-gallery-status{font:500 12px/1.5 var(--body);font-variant-numeric:tabular-nums}
.collab-conversation>.work-gallery{margin-bottom:23px}
.collab-conversation .work-gallery-slide{aspect-ratio:4/5}
.collab-photography>.work-gallery .work-gallery-slide{aspect-ratio:4/5}
@media(max-width:1000px){
 .prv-newsletter-grid{grid-template-columns:minmax(0,1fr);gap:34px}
 .prv-newsletter-signup{grid-column:1/-1}
}
@media(max-width:700px){
 .prv-newsletter-grid{grid-template-columns:minmax(0,1fr);gap:35px}
 .prv-newsletter h2{font-size:clamp(21px,5.8vw,34px)}
 .prv-newsletter .newsletter-kicker{font-size:14px;margin-bottom:0;line-height:1.05}
 .prv-newsletter h2 em{font-size:.86em;margin-top:4px}
 .prv-newsletter-signup{grid-column:auto}
 .prv-footer-wordmark{margin-top:12px}
 .work-gallery-track{grid-auto-columns:92%;gap:10px}
 .work-gallery-slide{aspect-ratio:4/5}
}
@media(max-width:600px){
 .library-grid{gap:33px 12px}
 .library-card>a{padding:7px 7px 12px;border-radius:12px}
 .library-card-copy{padding:10px 0 0}
 .library-card-copy>p{font-size:10px;margin-bottom:4px}
 .library-card h3{font-size:14px;line-height:1.18;min-height:0}
 .library-watch{font-size:8px;padding:7px 8px;min-height:31px;bottom:-14px;gap:4px}
 .library-watch .arrow-link__arrow{width:12px;height:12px;flex-basis:12px}
 .library-patron-badge{font-size:8px;padding:3px 5px 4px;top:4px;right:4px;left:auto}
 .library-patron-badge::before{font-size:21px}
 .library-cover>img{border-radius:8px}
 .library-missing-cover{padding:8px;font-size:14px}
 .library-missing-cover small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.library-card>a,.library-cover>img{transition:none!important;transform:none!important}}

/* Keep original artwork; only the display plane and empty canvas change. */
.library-front{position:relative;display:block;flex:none;overflow:hidden;border-radius:11px;max-width:100%;max-height:100%;transition:transform .4s cubic-bezier(.2,.7,.3,1)}
.library-front>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:fill;border-radius:0;transform-origin:0 0;box-shadow:none}
.library-card a:is(:hover,:focus-visible) .library-front{transform:translateY(-5px) rotate(-2deg)}
@media(max-width:600px){.library-front{border-radius:8px}}
@media(prefers-reduced-motion:reduce){.library-front{transition:none!important;transform:none!important}}
.own-book-art>img{transform:none;clip-path:inset(0 2.85% round 8px)}
.own-book-art:hover>img{transform:translateY(-4px)}

/* Quiet signup panel; the small arrow is anchored to the form itself. */
.prv-newsletter-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:48px}
.prv-newsletter-signup{background:#f4f1e08f;color:var(--coffee);padding:25px 28px;border-radius:12px}
.prv-newsletter-form-field{position:relative}
.prv-newsletter-field-arrow{position:absolute;left:-46px;top:7px;width:38px;height:32px;fill:none;stroke:var(--forest);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
@media(max-width:1000px){.prv-newsletter-field-arrow{left:-34px;width:28px}}
.header-account{color:var(--coffee);transition:color .2s}
.header-account:hover{color:var(--caramel)}
/* Equal outside columns keep the social group at the actual centre. */
.prv-footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px}
.prv-footer-bottom .prv-copyright{justify-self:start}
.prv-footer-bottom .prv-motto{justify-self:end;text-align:right}
.prv-footer-bottom .prv-socials{margin:0;gap:6px;justify-content:center}
.prv-footer-bottom .prv-socials a{width:30px;height:30px;margin:0}
.prv-footer-bottom .prv-socials a:first-child{margin-left:0}
.prv-footer-bottom .prv-socials svg{width:17px;height:17px}
@media(max-width:1000px){.prv-newsletter-grid{grid-template-columns:minmax(0,1fr);gap:22px}}
@media(max-width:850px){.header-account{display:none}}
@media(max-width:700px){
 .prv-newsletter-signup{padding:22px 20px}
 .prv-footer-bottom{gap:8px;font-size:11px;line-height:1.5}
 .prv-footer-bottom>span{margin:0}
 .prv-footer-bottom .prv-socials{gap:4px}
 .prv-footer-bottom .prv-socials a{width:26px;height:30px}
 .prv-footer-bottom .prv-socials svg{width:16px;height:16px}
}
@media(max-width:360px){.prv-footer-bottom{gap:6px;font-size:10px}.prv-footer-bottom .prv-socials svg{width:15px;height:15px}}

/* Mobile socials follow Contact; the desktop footer row stays as approved. */
.prv-footer .prv-socials-mobile{display:none}
@media(max-width:700px){
 .prv-footer .prv-socials-mobile{display:flex;justify-content:flex-start;gap:4px;margin:0 0 10px -13px;min-height:54px}
 .prv-footer .prv-socials-mobile a{width:44px;height:54px;color:var(--coffee)}
 .prv-footer .prv-socials-mobile a:first-child{margin-left:0}
 .prv-footer .prv-socials-mobile svg{width:18px;height:18px}
 .prv-footer-bottom .prv-socials{display:none}
 .prv-footer-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
/* Exact stock is shown only for the last five units; keep the card's shared grid rows. */
.prv-stock-note{display:block;color:var(--forest);font:600 12px/1.5 var(--body);margin-top:4px}
.pdp-summary>.prv-stock-note{font-size:14px;margin:8px 0 0}
.prv-availability-note{font:500 13px/1.6 var(--body);color:var(--forest);margin:8px 0 0;max-width:40em}
.pdp-detail-body .prv-book-dedication{padding:14px 16px;background:var(--sand);border-radius:5px}
.pdp-detail-body .prv-book-digital{font-weight:600}
.prv-footer-group .prv-contact-details>span,.prv-footer-group .prv-contact-details>a{display:block;font:500 13px/1.6 var(--body);color:inherit;padding:5px 0;margin:0;overflow-wrap:anywhere}
@media(min-width:1001px){.pdp-related[data-related-count="4"] .shop-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
