/* Books section (Nov 9, 2026): the shelf (/books/) and one page per book (/books/<slug>/). Dark site, Vadim's own
   photos in 3:4. The book page uses the same dark box rising over the wordmark as the shop logo pages. */

/* the shelf */
.bk-head{margin:0 0 18px;max-width:720px}
.bk-head h1{font-size:28px;line-height:1.15;letter-spacing:-.02em;margin:0 0 6px}
.bk-head p{margin:0;color:#9a9a9a;font-size:15px;line-height:1.5}

.bk-spon{display:flex;align-items:center;gap:14px;margin:0 0 var(--gutter,12px);padding:12px 12px 12px 16px;border:1px dashed #333;border-radius:var(--radius,12px);color:#cfcfcf}
.bk-spon-tag{flex:none;font-size:11px;font-weight:600;text-transform:uppercase;color:#bdbdbd;background:#262626;border:1px solid rgba(255,255,255,.14);padding:7px 11px 6px;border-radius:40px;line-height:1}
.bk-spon-msg{margin:0;flex:1;min-width:0;font-size:14px;line-height:1.45;color:#9a9a9a}
.bk-spon-msg strong{color:#fff;font-weight:600}
.bk-spon-book{flex:none;background:#f5e800;color:#000;font-weight:700;font-size:14px;text-decoration:none;border-radius:10px;padding:11px 16px}
.bk-spon-book:hover{background:#fff}

.bk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px var(--gutter,12px)}
.bk-card{display:flex;flex-direction:column;color:#fff;text-decoration:none;min-width:0}
.bk-ph{position:relative;display:block;aspect-ratio:3/4;border-radius:var(--radius,12px);overflow:hidden;background:#1a1a1a}
.bk-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:opacity .45s ease,transform .6s cubic-bezier(.22,.61,.36,1)}
.bk-peek{opacity:0}
@media (hover:hover){.bk-card:hover .bk-peek{opacity:1}.bk-card:hover .bk-ph img{transform:scale(1.025)}}
.bk-card strong{margin-top:12px;font-size:16px;line-height:1.25;letter-spacing:-.01em}
.bk-by,.bk-pub{font-size:13.5px;line-height:1.4;color:#9a9a9a}
.bk-by{margin-top:3px;color:#c8c8c8}
.bk-card:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:var(--radius,12px)}
.bk-card.is-soon .bk-ph{background:none;border:1px dashed #2e2e2e;display:flex;align-items:center;justify-content:center}
.bk-card.is-soon .bk-ph span{font-size:13px;color:#5c5c5c}

@media (max-width:1024px){.bk-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.bk-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.bk-head h1{font-size:22px}.bk-spon{flex-wrap:wrap}.bk-spon-msg{flex-basis:100%;order:3}.bk-card.is-soon:nth-child(n+3){display:none}}

/* one book */
@keyframes bkBoxIn{from{opacity:0;transform:translateY(80px) scale(.95)}to{opacity:1;transform:none}}
.bk-box{position:relative;z-index:2;box-sizing:border-box;max-width:1216px;margin:calc(8px - 19.7vw) auto 0;padding:26px 48px 64px;border-radius:32px;background:#1c1c1c;color:#fff;box-shadow:0 -10px 40px rgba(0,0,0,.25)}
.js .bk-box{animation:bkBoxIn .9s cubic-bezier(.22,.61,.36,1) .25s both;transform-origin:50% 0}
.bk-crumbs{display:flex;align-items:center;gap:10px;margin:0 0 26px;font-size:14px;color:#8c8c8c}
.bk-crumbs a{color:#fff;text-decoration:none}
.bk-crumbs > span:not(.bk-pn):before{content:"/";margin-right:10px;color:#4a4a4a}
.bk-pn{margin-left:auto;display:flex;gap:16px}
.bk-pn a{color:#bdbdbd}
.bk-item{display:grid;grid-template-columns:min(calc(50% - 24px),calc((100vh - 170px) * .75)) minmax(0,1fr);column-gap:48px;align-items:start}
.bk-left{position:sticky;top:76px;min-width:0}
.bk-big{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:22px;background:#262626}
.bk-right{min-width:0;padding-top:10px}
.bk-label{margin:0;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#8c8c8c}
.bk-right h1{margin:12px 0 0;font-size:clamp(40px,4.6vw,64px);line-height:.98;letter-spacing:-.05em;font-weight:700}
.bk-authors{margin:14px 0 0;font-size:17px;color:#d2d2d2}
.bk-take{margin:30px 0 0;padding:22px 24px;border-radius:18px;background:#262626}
.bk-take p{margin:0;font-size:20px;line-height:1.4;letter-spacing:-.01em;color:#fff}
.bk-take cite{display:block;margin-top:12px;font-style:normal;font-size:13.5px;color:#8c8c8c}
.bk-take cite a{color:#bdbdbd}
.bk-cta{margin-top:24px}
.bk-btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:0 26px;border-radius:14px;background:#f5e800;color:#000;font-weight:700;font-size:16px;text-decoration:none;transition:background .15s}
.bk-btn:hover{background:#fff}
.bk-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
.bk-fine{margin:10px 0 0;font-size:13px;color:#8c8c8c}
.bk-about{margin:30px 0 0;font-size:16px;line-height:1.6;color:#c8c8c8;max-width:620px}
.bk-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:30px 0 0}
.bk-facts div{background:#232323;border-radius:12px;padding:12px 14px;min-width:0}
.bk-facts div:first-child{grid-column:1/-1}
.bk-facts dt{font-size:12px;color:#8c8c8c}
.bk-facts dd{margin:3px 0 0;font-size:14.5px;color:#fff;overflow-wrap:anywhere}
.bk-sec{margin-top:72px}
.bk-sec h2{margin:0 0 20px;font-size:clamp(26px,2.4vw,32px);letter-spacing:-.03em;line-height:1.05}
.bk-spreads{display:grid;gap:28px}
.bk-spread{margin:0}
.bk-spread img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:18px;background:#262626}
.bk-spread figcaption{margin-top:12px;font-size:14.5px;color:#9a9a9a;line-height:1.45}
.bk-spread figcaption span{display:inline-block;margin-right:8px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#bdbdbd;background:#262626;border-radius:40px;padding:5px 9px 4px;vertical-align:1px}
.bk-spread figcaption strong{color:#fff;font-weight:600}
.bk-spread figcaption a{margin-left:6px;color:#f5e800}
.bk-rels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bk-rel{display:flex;flex-direction:column;color:#fff;text-decoration:none;min-width:0}
.bk-rel-img{display:block;aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:#262626}
.bk-rel-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.bk-rel:hover .bk-rel-img img{transform:scale(1.03)}
.bk-rel strong{margin-top:10px;font-size:15px}
.bk-rel span:last-child{font-size:13.5px;color:#9a9a9a}

@media (max-width:1100px){.bk-item{column-gap:32px}.bk-right h1{font-size:44px}}
@media (max-width:900px){
  .bk-box{margin-top:calc(8px - 13.6vw);padding:20px 20px 40px;border-radius:24px}
  .bk-item{grid-template-columns:minmax(0,1fr);row-gap:28px}
  .bk-left{position:static}
  .bk-big{border-radius:16px}
  .bk-right{padding-top:0}
  .bk-right h1{font-size:40px}
  .bk-take p{font-size:18px}
  .bk-sec{margin-top:56px}
}
@media (max-width:480px){.bk-rels{grid-template-columns:minmax(0,1fr)}.bk-btn{width:100%}}
@media (prefers-reduced-motion:reduce){.js .bk-box{animation:none}.bk-ph img,.bk-rel-img img{transition:none}}
