.book-archive,.book-story{padding-block-end:clamp(3rem,7vw,7.5rem)}
.book-archive h1,.book-story h1,.book-archive h2,.book-story h2,.book-related a span{font-family:var(--serif);font-weight:400;line-height:1.04;letter-spacing:-.035em;text-wrap:balance}
.book-archive-head{display:grid;grid-template-columns:1.15fr .85fr;align-items:end;gap:8%;padding:clamp(4rem,9vw,9rem) 0 clamp(2.5rem,5vw,5rem)}
.book-archive-head h1,.book-title h1{font-size:clamp(3rem,7.3vw,7.5rem);margin:0;color:var(--ink)}
.book-archive-head p,.book-chapter p{font-size:clamp(1rem,1.35vw,1.2rem);line-height:1.6;margin:0;max-width:48ch}
.book-filters{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-block:1px solid var(--rule);padding:.45rem 0;margin-bottom:clamp(1.7rem,4vw,4rem)}
.book-filters[hidden],.book-shelf li[hidden]{display:none}
.book-filters [role=group],.book-actions{display:flex;flex-wrap:wrap;gap:.45rem clamp(1.05rem,3vw,2.5rem)}
.book-filters button{appearance:none;font:inherit;font-size:.95rem;background:none;color:var(--muted);padding:.65rem 0;border:0;min-height:44px;cursor:pointer;text-underline-offset:.42em}
.book-filters button:is([aria-pressed=true],:hover){color:var(--wine);text-decoration:underline}
.book-filters output,.book-kicker,.book-related>p,.book-plates figcaption{font-family:var(--sans);font-size:.875rem;line-height:1.45;color:var(--muted)}
.book-shelf{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);column-gap:clamp(2rem,7vw,7rem);row-gap:clamp(3rem,7vw,7rem);align-items:end}
.book-shelf li{min-width:0;margin:0}
.book-shelf li a,.book-related a{display:block;color:var(--ink);text-decoration:none}
.book-shelf figure,.book-cover,.book-plates figure{padding:0;margin:0}
.book-shelf figure{overflow:hidden;aspect-ratio:1.58;background:var(--rule);margin-bottom:1.05rem}
.book-shelf li:nth-child(even) figure{aspect-ratio:1.14}
.book-shelf li:last-child:not(:nth-child(even)) figure{aspect-ratio:2}
.book-shelf img,.book-cover img,.book-plates img,.book-related img{width:100%;height:100%;display:block;object-fit:cover}
.book-shelf li a:is(:hover,:focus-visible) h2,.book-related a:is(:hover,:focus-visible) span{color:var(--wine);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.12em}
.book-kicker{display:block;color:var(--wine)}
.book-shelf h2{font-size:clamp(2rem,3.8vw,4rem);margin:.35rem 0 0}
.book-back{padding-top:clamp(1.5rem,3.3vw,3rem)}
.book-story{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);column-gap:clamp(2rem,7vw,7rem);align-items:start}
.book-back,.book-chapter,.book-related,.book-plates{grid-column:1/-1}
.book-title{align-self:end;margin-top:clamp(3rem,6.8vw,7.5rem)}
.book-title .book-kicker{margin:0 0 1.05rem}
.book-lead{font-family:var(--serif);font-weight:400;font-size:clamp(1.45rem,2.15vw,2.2rem);line-height:1.3;letter-spacing:-.018em;align-self:end;margin:2.5rem 0 0;text-wrap:pretty}
.book-cover{grid-column:1/-1;margin-top:clamp(1.8rem,4.2vw,4.5rem);overflow:hidden;aspect-ratio:2.28;background:var(--rule)}
.book-portrait{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.book-portrait .book-title{grid-column:1;grid-row:2;align-self:end}
.book-portrait .book-lead{grid-column:1;grid-row:3;align-self:start;margin:1.5rem 0}
.book-portrait .book-cover{grid-column:2;grid-row:2/span 2;align-self:center;aspect-ratio:1/1.14;max-height:75vh}
.book-baget-pashtet .book-title h1,.book-hopmalt .book-title h1{font-size:clamp(3rem,5.8vw,6.4rem)}
.book-chapter{display:grid;grid-template-columns:.9fr 1.1fr;gap:8%;padding:clamp(3rem,7vw,7.75rem) 0;align-items:start}
.book-chapter h2{margin:0;font-size:clamp(2.2rem,4vw,4.2rem);max-width:15ch}
.book-actions{margin-top:1.3rem;row-gap:1rem}
.book-actions a{font-size:.975rem}
.book-plates{display:grid;grid-template-columns:1.3fr 1fr;gap:clamp(1.1rem,6vw,6rem);align-items:center;margin-bottom:clamp(3rem,7vw,7.5rem)}
.book-plates img{aspect-ratio:1.4;height:auto}
.book-plates figure:nth-child(2) img{aspect-ratio:.86}
.book-plates figcaption{padding-top:.6rem}
.book-baget-pashtet .book-plates,.book-hopmalt-pub .book-plates,.book-kamorka .book-plates,.book-hopmalt .book-plates{grid-template-columns:.85fr 1.15fr}
.book-baget-pashtet .book-plates figure:first-child img,.book-hopmalt-pub .book-plates img,.book-kamorka .book-plates img,.book-hopmalt .book-plates img{aspect-ratio:.86}
.book-baget-pashtet .book-plates figure:nth-child(2) img{aspect-ratio:1.5}
.book-plates[data-count="1"]{display:block;max-width:82%}
.book-bulle .book-plates img{aspect-ratio:1600 / 1195}
.book-related{border-block:1px solid var(--rule);padding:1rem 0;display:flex;align-items:center;justify-content:space-between;gap:1.4rem}
.book-related>p{margin:0}
.book-related a{display:flex;align-items:center;gap:clamp(.65rem,2vw,1.8rem)}
.book-related img{width:clamp(4rem,8vw,7rem);height:auto;flex:none;aspect-ratio:1.35}
.book-related a span{font-size:clamp(1.5rem,2.8vw,3rem)}
@media(min-width:701px){
  .book-baget-pashtet .book-title,.book-kamorka .book-title{grid-column:1/-1;text-align:center}
  .book-baget-pashtet .book-title h1{max-width:19ch;margin-inline:auto}
  .book-baget-pashtet .book-lead,.book-kamorka .book-lead{grid-column:1/-1;text-align:center;max-width:41ch;margin:1.55rem auto 0}
  .book-bulle .book-plates{grid-column:1;align-self:center;max-width:100%;margin:clamp(3rem,7vw,7.5rem) 0}
  .book-bulle .book-chapter{grid-column:2;align-self:center;display:block}
  .book-bulle .book-chapter h2{margin-bottom:1.3rem}
  .book-khinkali .book-title{grid-column:2}
  .book-khinkali .book-lead{grid-column:2}
  .book-khinkali .book-cover{grid-column:1}
  .book-hopmalt .book-plates figure:first-child img{object-fit:contain;background:#e8e8e8}
}
@media(max-width:700px){
  .book-archive-head,.book-story,.book-chapter{display:block}
  .book-archive-head{padding:3rem 0 2rem}
  .book-archive-head p{margin:1rem 0 0}
  .book-filters{flex-wrap:wrap;gap:0 .75rem;margin-bottom:1.5rem}
  .book-filters output{margin-left:auto}
  .book-shelf{grid-template-columns:minmax(0,1fr);gap:2.25rem}
  .book-shelf li figure,.book-shelf li:nth-child(even) figure,.book-shelf li:last-child:not(:nth-child(even)) figure{aspect-ratio:1.55}
  .book-title{margin-top:2rem}
  .book-title .book-kicker{margin-bottom:.55rem}
  .book-story .book-lead{margin:1.1rem 0}
  .book-cover,.book-portrait .book-cover{margin-top:1.5rem;max-height:none;aspect-ratio:1.24}
  .book-portrait .book-cover{aspect-ratio:1/1.1}
  .book-chapter{padding:2.5rem 0}
  .book-chapter h2{margin:0 0 1rem}
  .book-plates{gap:.9rem;align-items:start}
  .book-plates[data-count="1"]{max-width:none}
  .book-bulle .book-plates{margin:1rem 0 0}
  .book-plates figcaption{font-size:.8125rem}
  .book-related{align-items:flex-start;flex-direction:column;gap:.65rem}
}
.book-archive-head { padding-top:clamp(2.4rem,5vw,5.6rem); }
.book-filters { border-top:2px solid var(--ink); }
.book-kicker { color:var(--muted); }
.book-chapter { border-top:1px solid var(--rule); }
.book-cover + .book-chapter { border-top:0; }
.book-plates:has(+ .project-reading) { margin-bottom:0; }
@media(max-width:600px) {
  .book-story .book-plates[data-count="2"] { grid-template-columns:minmax(0,1fr); gap:1.6rem; }
  .book-plates[data-count="2"] figure { width:88%; }
  .book-plates[data-count="2"] figure+figure { width:78%; justify-self:end; }
  .book-story .book-plates[data-count="2"] img { aspect-ratio:1.18; }
  .book-hopmalt .book-plates[data-count="2"] figure:first-child img { object-fit:contain; background:#e8e8e8; }
  .book-plates figcaption { padding-top:.45rem; }
  .book-actions { column-gap:1.2rem; row-gap:.25rem; }
  .book-actions a { display:inline-flex; align-items:center; min-height:44px; }
}
@media(max-width:26rem) {
  .book-filters { align-items:start; flex-direction:column; padding-bottom:.65rem; }
  .book-filters output { margin-left:0; }
}
@media(min-width:701px) and (max-width:850px) {
  .book-bulle { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(min-width:851px) {
  .book-shelf { grid-template-columns:repeat(12,minmax(0,1fr)); gap:clamp(3rem,6vw,7rem) clamp(1rem,2vw,2rem); align-items:start; }
  .book-shelf li:nth-child(odd) { grid-column:1/span 7; }
  .book-shelf li:nth-child(even) { grid-column:9/span 4; align-self:end; }
  .book-shelf li:nth-child(3),.book-shelf li:nth-child(7) { grid-column:2/span 4; align-self:center; }
  .book-shelf li:nth-child(4) { grid-column:7/span 6; }
  .book-shelf li:nth-child(3) figure,.book-shelf li:nth-child(7) figure { aspect-ratio:.98; }
  .book-shelf li:nth-child(4) figure { aspect-ratio:1.42; }
}
