/* ===== library teaser (penui landing v5): walnut section, copy left, stage of pieces from different packs right ===== */
#lib{background:#33241a;color:#f4f3f0;padding:clamp(72px,8vw,104px) 0}
#lib .lib-grid{display:grid;grid-template-columns:minmax(0,520px) minmax(0,664px);justify-content:space-between;align-items:center;gap:48px clamp(32px,6vw,96px)}
#lib .lib-tag{display:inline-flex;align-items:center;gap:10px;height:32px;margin:0;padding:0 14px 0 4px;border-radius:999px;box-shadow:inset 0 0 0 1px #5a4534;font:500 12px/16px var(--mono);letter-spacing:.06em;text-transform:uppercase}
#lib .lib-tag i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f4f3f0}
#lib .lib-tag i::after{content:"";width:8px;height:8px;border-radius:50%;background:#33241a}
#lib .lib-h2{margin:28px 0 0;font:800 clamp(36px,3.8vw,52px)/1.04 var(--disp5);letter-spacing:-.03em}
#lib .lib-h2 em{font:800 1em/.9 var(--acc5);font-stretch:75%;letter-spacing:-.03em}
#lib .lib-sub{max-width:470px;margin:22px 0 0;font:400 17px/27px var(--sans);color:#e7e2d5}
#lib .lib-btn{display:inline-flex;align-items:center;height:50px;margin-top:30px;padding:0 24px;border-radius:999px;background:#f4f3f0;color:#0c0b0d;font:500 15px/18px var(--sans);transition:transform .15s,background .15s}
#lib .lib-btn:hover{background:#fff;transform:translateY(-1px)}

#lib .lib-stage{position:relative;aspect-ratio:664/460;border-radius:20px;overflow:hidden;
  background:linear-gradient(180deg,#33241a 35%,rgba(51,36,26,0) 70%),url("/site/l/assets/how-field-1.webp") 50% 100%/cover no-repeat,#33241a;
  box-shadow:inset 0 0 0 1px #5a4534,0 40px 80px -30px rgba(12,11,13,.5);container-type:inline-size}
/* pieces are placed in % of the 664×460 stage so they keep the composition at any width */
#lib .lib-pieces{position:absolute;inset:0}
#lib .p{position:absolute;height:auto;transform-origin:50% 50%;transition:transform .5s cubic-bezier(.3,1.3,.5,1)}
#lib .p-slot{left:7.8%;top:18%;width:28%;rotate:-5deg;filter:drop-shadow(0 30px 20px rgba(12,11,13,.55))}
#lib .p-ticket{left:64.5%;top:15%;width:29.5%;rotate:5deg;filter:drop-shadow(0 30px 20px rgba(12,11,13,.55))}
#lib .p-hp{left:38.5%;top:6.5%;width:22.6%;rotate:2deg}
#lib .p-bundle{left:37.3%;top:32.6%;width:24.7%;rotate:-3deg}
#lib .p-gift{left:4.2%;top:76.5%;width:13.3%;rotate:-8deg;border-radius:6px}
#lib .p-gem{left:83.7%;top:76.5%;width:12.7%;rotate:8deg}
#lib .p-click{left:37%;top:83.5%;width:27.1%;rotate:1deg}
#lib .lib-stage:hover .p{transform:translateY(-4px) scale(1.03)}
#lib .lib-stage:hover .p:nth-child(2n){transform:translateY(3px) scale(1.03)}

@media (max-width:1020px){#lib .lib-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){#lib .p{transition:none}}
