/* Public detail views of the printed sheets. The same viewer serves both ateliers. */
.proof { --proof-ink:#203e34; --proof-paper:#fbf7ed; --proof-rule:#d9cdb8; --proof-wine:#7b2b3c; width:min(100%,76rem); margin:clamp(2.5rem,6vw,5rem) auto; padding:0; color:var(--proof-ink); text-align:left; }
main:not(.detail)>.proof { width:min(90%,76rem); }
.proof, .proof *, .editionbook, .editionbook * { box-sizing:border-box; }
.proof-head { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:.75rem 1.5rem; margin:0 0 1.2rem; }
.proof-head h2, .proof-caption h3 { margin:0; color:var(--proof-ink); font:normal clamp(2.2rem,4vw,3.5rem)/1.04 Georgia,serif; letter-spacing:-.055em; }
.proof-head p, .proof-caption p { margin:.5rem 0 0; font:normal 1rem/1.55 system-ui,sans-serif; color:#3e5047; }
.proof-all, .proof-jump { display:inline-flex; align-items:center; min-height:44px; text-underline-offset:.22em; font:650 .94rem/1.4 system-ui,sans-serif; color:#315346; }
.proof-jump { margin-left:.85rem; }
.proof :focus-visible, .proof-dialog :focus-visible, .editionbook :focus-visible { outline:3px solid #a34816; outline-offset:4px; }
.proof-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:clamp(.85rem,1.8vw,1.7rem); margin:0; }
.proof-item { border:1px solid var(--proof-rule); background:var(--proof-paper); margin:0; min-width:0; }
.proof-image { display:block; padding:1.05rem 1.25rem .85rem; background:#d7e0d6; color:#244039; text-decoration:none; text-align:right; }
.proof-item:nth-child(2) .proof-image { background:#e7d6b6; }
.proof-item:nth-child(3) .proof-image { background:#e7cfc4; }
.proof-image img { display:block; aspect-ratio:4/3; object-fit:contain; width:100%; height:auto; background:#fffdf8; box-shadow:0 2px 7px #17392824; }
.proof-image span { display:inline-block; padding-top:.55rem; font:650 .88rem/1.3 system-ui,sans-serif; text-decoration:underline; text-underline-offset:.2em; }
.proof-caption { padding:1.05rem 1.15rem 1.35rem; }
.proof-caption h3 { font-size:clamp(1.45rem,2.15vw,2.05rem); }
.proof-caption p { margin-top:.35rem; }
.proof-meta { display:block; font:650 .86rem/1.45 system-ui,sans-serif; color:var(--proof-wine); margin:0 0 .35rem; }
.proof-single { max-width:56rem; display:grid; grid-template-columns:1.15fr .85fr; align-items:center; }
.proof-single .proof-image img { aspect-ratio:4/3; }
.proof-dialog { width:min(67rem,96vw); max-height:94vh; max-height:94dvh; padding:0; margin:auto; border:1px solid #bfb6a4; background:#fbf7ed; color:#213c32; box-shadow:0 12px 65px #0006; }
.proof-dialog::backdrop { background:#13261de6; }
.proof-dialog header { position:sticky; top:0; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:.5rem 1rem; border-bottom:1px solid #d9cdb8; background:#fbf7ed; }
.proof-dialog h2 { margin:0; font:normal clamp(1.2rem,2.5vw,1.75rem)/1.2 Georgia,serif; color:inherit; text-transform:none; letter-spacing:0; }
.proof-dialog button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:.4rem 1rem; font:600 .93rem/1.25 system-ui,sans-serif; border:1px solid #315346; border-radius:3px; background:#315346; color:white; cursor:pointer; }
.proof-dialog img { width:100%; display:block; height:auto; }
.proof-dialog p { padding:.5rem 1rem .75rem; margin:0; font:1rem/1.5 system-ui,sans-serif; }
.proof-dialog a { text-underline-offset:.2em; color:#234939; }
.editionbook { margin:0; background:#fbf6eb; color:#1d3a30; font:1rem/1.55 system-ui,sans-serif; }
.editionbook .wrap { width:min(90%,76rem); margin:auto; }
.editionbook h1,.editionbook h2,.editionbook h3,.editionbook p { margin:0; }
.editionbook h1,.editionbook h2,.editionbook h3 { font-family:Georgia,serif; font-weight:normal; line-height:1.04; letter-spacing:-.058em; }
.editionbook a { color:inherit; text-underline-offset:.22em; }
.bookbar { border-bottom:1px solid #d6ccb5; background:#fffaf0; }
.bookbar .wrap,.bookfoot .wrap { min-height:68px; display:flex; align-items:center; justify-content:space-between; gap:.65rem 1rem; flex-wrap:wrap; }
.bookmark { display:inline-flex; align-items:center; gap:.45rem; color:#243b30; font:1.6rem Georgia,serif; letter-spacing:-.06em; text-decoration:none; }
.bookmark img { width:37px; height:37px; }
.bookbar nav,.bookfoot nav { display:flex; flex-wrap:wrap; gap:1rem; }
.bookbar nav a,.bookfoot a { display:inline-flex;align-items:center;min-height:44px; font-weight:620; font-size:.93rem; }
.bookbar nav a { text-decoration:none; }
.bookbar nav a:hover,.book-link:hover { text-decoration:underline; }
.book-skip { position:absolute; top:.5rem; left:-100vw; z-index:2; }
.book-skip:focus { left:.5rem; background:white; padding:.7rem; }
.bookcover { display:grid; grid-template-columns:1.1fr .9fr; background:#173d32; color:#fff7e6; }
.booklead { align-self:center; padding:clamp(2rem,4vw,4.5rem) 6% clamp(2rem,4vw,4.5rem) max(5vw,calc((100vw - 76rem)/2)); }
.booklead h1 { font-size:clamp(3.3rem,6.7vw,6.8rem); margin:.08em 0 .18em; }
.booklead h1 i { color:#efd190; font-weight:normal; }
.booklead p { max-width:37rem; font-size:clamp(1rem,1.3vw,1.14rem); }
.editionbook .book-kicker { font:700 .82rem/1.4 system-ui,sans-serif; letter-spacing:.09em; color:#eed08f; }
.bookanchors { display:flex; gap:.5rem 1.15rem; flex-wrap:wrap; margin-top:1.1rem; }
.bookanchors a,.book-share { min-height:44px; padding:.55rem 0; display:inline-flex; align-items:center; font-weight:650; }
.book-share { appearance:none; border:0; background:transparent; color:inherit; font:650 1rem/1.4 system-ui,sans-serif; text-decoration:underline; text-underline-offset:.22em; cursor:pointer; }
.bookstage { display:grid; grid-template-columns:1fr 1fr; align-items:center; justify-content:center; gap:0; margin:0; padding:clamp(1.1rem,2.5vw,2.8rem); overflow:hidden; background:#ba9c70; }
.bookstage img { display:block; width:108%; height:auto; aspect-ratio:3/4; object-fit:cover; object-position:48% 50%; background:#fffaf0; box-shadow:3px 7px 17px #3f2b1c52; border:7px solid #f9f4e8; }
.bookstage img:first-child { transform:rotate(-8deg) translateY(-4%); }
.bookstage img+img { width:105%; transform:translateX(-4%) rotate(6deg) translateY(6%); }
.book-section { padding-block:clamp(2.35rem,5vw,4.8rem); }
.book-section+.book-section { border-top:1px solid #d4c8af; }
.editionbook .book-intro { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:.5rem 1rem; margin-bottom:1.4rem; }
.editionbook .book-intro h2 { font-size:clamp(2.35rem,4.8vw,4.4rem); }
.book-intro a { display:inline-flex;align-items:center;min-height:44px;font-weight:600; }
.editionbook .bookgrid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.9rem,2vw,1.65rem); }
.book-card { display:flex; flex-direction:column; background:#fffaf1; border:1px solid #d4c7ad; min-width:0; }
.book-thumb { display:block; text-decoration:none; background:#d8e1d6; padding:1.22rem 2.2rem .8rem; overflow:hidden; }
.book-card:nth-child(3n+2) .book-thumb { background:#ead8ba; }
.book-card:nth-child(3n) .book-thumb { background:#e6cfc6; }
.book-thumb img { display:block; width:100%; aspect-ratio:1.6; height:auto; object-fit:cover; object-position:center; border:4px solid #fffcf3; box-shadow:2px 3px 7px #51483135; transform:rotate(-2deg); }
.book-card:nth-child(2n) .book-thumb img { transform:rotate(2deg); }
.book-copy { padding:1rem 1.18rem 1.2rem; display:flex; flex:1; flex-direction:column; align-items:flex-start; }
.editionbook .book-spec { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.2rem .6rem; width:100%; margin:0 0 .42rem; font:650 .9rem/1.45 system-ui,sans-serif; color:#742a3d; }
.book-copy h3 { font-size:clamp(1.65rem,2.6vw,2.4rem); }
.book-copy h3 a { text-decoration:none; }
.book-copy>p:not(.book-spec) { margin:.5rem 0 .65rem; }
.book-link { margin-top:auto; min-height:44px; display:inline-flex; align-items:center; font-weight:650; }
.bookfoot { border-top:1px solid #d4c8af; padding:.75rem 0; }
.bookfoot p { font-size:.93rem; }
@media(max-width:830px) {
 .editionbook .bookgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .bookcover { grid-template-columns:1fr 1fr; }
 .book-thumb { padding:.8rem 1.25rem; }
}
@media(max-width:600px) {
 .bookcover { display:flex; flex-direction:column; }
 .bookstage { display:flex; height:175px; }
 .bookstage img,.bookstage img+img { width:33%; max-height:152px; object-fit:cover; }
 .booklead { padding:1.8rem 5% 1.1rem; }
 .bookbar .wrap { min-height:60px; }
 .bookbar nav,.bookfoot nav { gap:.7rem; }
 .bookbar nav a { font-size:.875rem; }
 .book-section .bookgrid { grid-template-columns:1fr; }
 .book-card { display:grid; grid-template-columns:32% 1fr; }
 .book-thumb { display:flex; align-items:center; padding:.6rem; }
 .book-thumb img { aspect-ratio:.68; object-position:48% 52%; }
 .book-copy { padding:.8rem .9rem; }
 .bookstage img+img { width:33%; }
 .proof-list { grid-template-columns:1fr; }
 .proof-single { display:block; }
 .proof-head { display:block; }
 .proof-jump { margin-left:.3rem; }
 .proof-dialog header { padding:.4rem .6rem; }
}
.book-share[hidden] { display:none; }
.booklead #deelstatus { overflow-wrap:anywhere; font-size:.92rem; }
.proof-reading { margin-top:.6rem; color:#284439; font:1rem/1.5 system-ui,sans-serif; }
.proof-reading summary { padding:.4rem 0; min-height:44px; cursor:pointer; font-weight:650; }
.proof-reading blockquote { margin:.2rem 0 0; padding-left:.7rem; border-left:2px solid #bd9f6c; font:normal 1.07rem/1.6 Georgia,serif; }
.bookstage img+img { aspect-ratio:1.58; object-fit:contain; background:#fffaf3; }
