/* r130: «Бренд под ключ» on the home page (same as on «Дизайн») */
/* ---- bonus13 (brand colour) ---- */
html[data-bc="8"] :is(#brand-dz,#brand){--t:188,196,210!important;--tl:226,231,240!important}
html[data-bc="8"] :is(#brand-dz,#brand){--t:186,196,214!important;--tl:226,232,244!important}
/* spacing approved: 28 / 28 */
:is(#brand-dz,#brand){margin-top:28px!important}.xd-dz6{margin-top:28px!important}

/* ---- bonus15.css ---- */
/* ===== concept 15: one light «Обсудить» for «Бренд под ключ» and «Нужно что-то другое?» (data-ga = glow on hover) ===== */
html[data-ga] .bq .xd-a1-bt .xd-btn-a,
html[data-ga] .xd-dz6 .xd-dz6-bar .xd-btn-a,html[data-ga] .xd-dz6 .xd-bf2 .xd-btn-s{background:#EFE9DF!important;border:1px solid #EFE9DF!important;color:#1a1714!important;transition:background .3s,border-color .3s,box-shadow .3s,color .3s!important}
html[data-ga] .bq .xd-a1-bt .xd-btn-a svg,html[data-ga] .xd-dz6 .xd-dz6-bar .xd-btn-a svg,html[data-ga] .xd-dz6 .xd-bf2 .xd-btn-s svg{transition:transform .3s}
html[data-ga] .bq .xd-a1-bt .xd-btn-a:hover svg,html[data-ga] .xd-dz6 .xd-dz6-bar .xd-btn-a:hover svg,html[data-ga] .xd-dz6 .xd-bf2 .xd-btn-s:hover svg{transform:translateX(3px)}
html[data-ga] .xd-dz6 .xd-bf2 .xd-btn-s::before{content:none!important}
/* G1 light: white + soft white glow */
html[data-ga="1"] .bq .xd-a1-bt .xd-btn-a:hover,html[data-ga="1"] .xd-dz6 .xd-dz6-bar .xd-btn-a:hover,html[data-ga="1"] .xd-dz6 .xd-bf2 .xd-btn-s:hover{background:#fff!important;border-color:#fff!important;box-shadow:0 0 0 4px rgba(255,255,255,.14),0 10px 30px -10px rgba(255,255,255,.55)!important}

/* ---- bonus17.css ---- */
/* ===== concept 16 ===== */
/* --- «Нужно что-то другое?»: lifts on hover, glow variants (data-dh) --- */
.xd-dz6{transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s,border-color .45s!important}
.xd-dz6:not(.xd-open):hover{transform:translateY(-4px)}
@media (prefers-reduced-motion:reduce){.xd-dz6:hover{transform:none!important}}
html[data-dh="3"] .xd-dz6.r118-hov:hover{box-shadow:0 30px 60px -28px #000,0 26px 60px -30px rgba(255,255,255,.28)!important}
/* the toggle no longer turns amber when the block is hovered (only in the amber variant) */
html[data-dh]:not([data-dh="1"]) .xd-dz6.r118-hov:hover .xd-dz6-tog{border-color:rgba(255,255,255,.26)!important;background:#262421!important;box-shadow:none!important}

/* --- «Бренд под ключ»: glow always on vs only on hover (data-bg) --- */
html[data-bg="2"] :is(#brand-dz,#brand) .xd-brand:not(:hover):not(.xd-open),html[data-bg="3"] :is(#brand-dz,#brand) .xd-brand:not(:hover):not(.xd-open){box-shadow:0 30px 60px -28px #000!important;background:linear-gradient(160deg,#1b1b1d,#141416)!important}
html[data-bg="3"] :is(#brand-dz,#brand) .xd-brand:not(:hover):not(.xd-open){border-color:rgba(var(--t),.45)!important}
:is(#brand-dz,#brand) .xd-brand{transition:transform .45s cubic-bezier(.2,.8,.2,1),border-color .45s,box-shadow .45s,background .45s!important}

/* --- texts: title up to 2 lines, description up to 4 --- */
:is(#brand-dz,#brand) .xd-a2-t{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
:is(#brand-dz,#brand) .xd-a2-d{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}

/* --- tabs 01–06 (data-ti3) --- */
html[data-ti3] :is(#brand-dz,#brand) .xd-dtabs .xw-tab{transition:background .35s,box-shadow .35s,transform .35s}
html[data-ti3] :is(#brand-dz,#brand) .xd-dtabs .xw-ic svg{transition:transform .45s cubic-bezier(.3,1.5,.4,1)}
html[data-ti3] :is(#brand-dz,#brand) .xd-dtabs .xw-tab:hover .xw-ic svg{transform:scale(1.12) rotate(-6deg)}
/* T2 living lines: the icon draws itself when the tab becomes active, soft platinum tile */
html[data-ti3="2"] :is(#brand-dz,#brand) .xd-dtabs .xw-ic{background:linear-gradient(160deg,rgba(var(--t),.12),rgba(255,255,255,.02))!important;border:1px solid rgba(var(--t),.18)!important;border-radius:13px!important}
html[data-ti3="2"] :is(#brand-dz,#brand) .xd-dtabs .xw-tab.on .xw-ic{border-color:rgba(var(--tl),.7)!important;color:rgb(var(--tl))!important;box-shadow:0 0 0 4px rgba(var(--t),.1),0 10px 24px -10px rgba(var(--t),.7)}
html[data-ti3="2"] :is(#brand-dz,#brand) .xd-dtabs .xw-tab.on .xw-ic path{stroke-dasharray:80;stroke-dashoffset:80;animation:t16Draw 1.1s .1s cubic-bezier(.6,0,.3,1) forwards}
html[data-ti3="2"] :is(#brand-dz,#brand) .xd-dtabs .xw-tab.on{background:linear-gradient(180deg,rgba(var(--t),.08),rgba(var(--t),.02))!important}
@keyframes t16Draw{to{stroke-dashoffset:0}}

@property --p16{syntax:"<percentage>";inherits:false;initial-value:0%}


/* ===== v17 ===== */
/* subtitle and texts: no lonely word on the second line */
:is(#brand-dz,#brand) [data-i="r5d_br_s"]{text-wrap:balance}
:is(#brand-dz,#brand) [data-i="dz2_br_d"],.xd-dz6 .xd-sub{text-wrap:balance}

/* --- products: line-ups and carousel --- */
.bq .bq-line{position:absolute;inset:0;display:flex;justify-content:center;align-items:flex-end}
.bq .bq-li{display:flex;flex-direction:column;align-items:center;gap:5px}
.bq .bq-li>span{font:600 7.5px var(--f-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--k3);opacity:.75;white-space:nowrap}
.bq .bq-li svg,.bq .bq-cs svg{display:block;height:100%;width:auto;filter:drop-shadow(0 14px 14px rgba(0,0,0,.45))}
/* packaging: three products, the middle one in front */
.bq .bq-s4 .bq-pk{width:210px;margin-left:-105px;filter:none}
.bq .bq-pk .bq-li{position:absolute;bottom:0;left:50%;height:200px;width:92px;margin-left:-46px;z-index:2}
.bq .bq-pk .bq-li>span{display:none}
.bq .bq-pk .bq-li:nth-child(2){transform:translateX(-62px) scale(.82);transform-origin:50% 100%;z-index:1}
.bq .bq-pk .bq-li:nth-child(3){transform:translateX(62px) scale(.82);transform-origin:50% 100%;z-index:1}
.bq[data-bq="ol"] .bq-pk .bq-li{height:230px;width:106px;margin-left:-53px}
.bq[data-bq="ol"] .bq-pk .bq-li:nth-child(2){transform:translateX(-66px) translateY(-34px) scale(.74)}
.bq[data-bq="ol"] .bq-pk .bq-li:nth-child(3){transform:translateX(66px) translateY(-34px) scale(.74)}
.bq-st.on .bq-pk .bq-li{animation:b17Pk .8s calc(.25s + var(--i)*.14s) cubic-bezier(.2,1.2,.3,1) both}
@keyframes b17Pk{from{opacity:0;translate:0 40px}to{opacity:1;translate:0 0}}

/* --- scene 05 «Логотип в движении»: logo reveal, then the product line rises --- */
.bq-s5 .bq-m5{position:absolute;inset:0}
.bq-m5-lg{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px}
.bq-m5-lg .bq-am{position:absolute;inset:0;width:84px;height:84px}
.bq-m5-lg>i{position:absolute;inset:0;border-radius:50%;border:2px solid var(--k2);opacity:0}
.bq-st.on .bq-m5-lg{animation:b17Up .9s 1.7s cubic-bezier(.7,0,.2,1) forwards}
.bq-st.on .bq-m5-lg>i{animation:b17Ring 1.3s .75s ease-out forwards}
.bq-st.on .bq-m5-lg>i+i{animation-delay:1s}
@keyframes b17Up{to{transform:translateY(-84px) scale(.46)}}
@keyframes b17Ring{0%{opacity:.9;transform:scale(.7)}100%{opacity:0;transform:scale(3.4)}}
.bq .bq-m5 .bq-aw{position:absolute;left:0;right:0;top:52px;justify-content:center;font-size:19px}
.bq-st.on .bq-m5 .bq-aw span{animation-delay:calc(2.05s + var(--i)*.05s)}
.bq-m5-row{position:absolute;left:30px;right:30px;bottom:14px;height:128px}
.bq-m5-row::before{content:"";position:absolute;left:12%;right:12%;bottom:8px;height:26px;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--k2) 45%,transparent),transparent);opacity:0}
.bq-st.on .bq-m5-row::before{animation:bqIn .8s 2.4s forwards}
.bq-m5-row .bq-line{gap:34px}
.bq-m5-row .bq-li{height:128px;opacity:0;transform:translateY(46px) scale(.9)}
.bq-m5-row .bq-li svg{height:112px}
.bq[data-bq="ol"] .bq-m5-row .bq-li svg{height:124px}
.bq[data-bq="ol"] .bq-m5-row .bq-line{gap:22px}
.bq-st.on .bq-m5-row .bq-li{animation:b17Rise .9s calc(2.45s + var(--i)*.17s) cubic-bezier(.2,1.25,.3,1) forwards}
@keyframes b17Rise{to{opacity:1;transform:none}}
.bq-st.on .bq-s5 .bq-sweep{animation-delay:3.5s}
/* 9:16 story: the flavours change one after another */
.bq-s5 .bq-vert{background:linear-gradient(170deg,color-mix(in srgb,var(--k2) 34%,var(--k1)),var(--k1))}
.bq-v5b{position:absolute;left:8px;right:8px;top:8px;display:flex;gap:3px}
.bq-v5b i{flex:1;height:2px;border-radius:2px;background:rgba(255,255,255,.25);overflow:hidden;position:relative}
.bq-v5b i::after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:0 50%}
.bq-st.on .bq-v5b i::after{animation:b17Bar 1.5s linear forwards}
.bq-st.on .bq-v5b i:nth-child(2)::after{animation-delay:1.5s}.bq-st.on .bq-v5b i:nth-child(3)::after{animation-delay:3s}
@keyframes b17Bar{to{transform:none}}
.bq-v5h{position:absolute;left:10px;top:18px;display:flex;align-items:center;gap:6px}
.bq-v5h span{width:18px;height:18px;display:block}.bq-v5h b{font-size:9px;color:var(--k3)}
.bq-v5c{position:absolute;left:0;right:0;top:40px;bottom:24px}
.bq .bq-car{position:absolute;inset:0}
.bq .bq-cs{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;opacity:0}
.bq .bq-cs svg{height:128px}
.bq[data-bq="ol"] .bq-cs svg{height:200px;margin-bottom:-6px}
.bq .bq-cs b{font-size:10px;color:var(--k3);white-space:nowrap}
.bq-st.on .bq-cs{animation:b17Car 4.5s calc(var(--i)*1.5s) infinite both}
@keyframes b17Car{0%{opacity:0;transform:translateX(26px) scale(.92)}7%,30%{opacity:1;transform:none}36%,100%{opacity:0;transform:translateX(-26px) scale(.92)}}

/* --- «Кино» (data-fx="2"): curtain between scenes, camera push-in, light that follows the mouse --- */
:is(#brand-dz,#brand) .b16-amb,:is(#brand-dz,#brand) .b16-sw,:is(#brand-dz,#brand) .b17-spot{opacity:0;transition:opacity .6s}
html[data-fx="2"] :is(#brand-dz,#brand) .b16-amb,html[data-fx="2"] :is(#brand-dz,#brand) .b16-sw,html[data-fx="2"] :is(#brand-dz,#brand) .b17-spot{opacity:1}
html[data-fx="2"] :is(#brand-dz,#brand) .b16-stage{perspective:1200px}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st .bq-cv{transform:translate(-50%,-50%) scale(var(--sc,1)) rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg));transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on{animation:b17Ken 6.4s cubic-bezier(.15,.6,.3,1) both}
@keyframes b17Ken{from{transform:scale(1.1)}to{transform:scale(1)}}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on .bq-cv>*{animation:b17In 1.1s var(--d,0s) cubic-bezier(.16,1,.3,1) both,b17Float 5s calc(var(--d,0s) + 1.2s) ease-in-out infinite alternate!important}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on .bq-cv>*:nth-child(even){animation-name:b17In2,b17Float!important}
@keyframes b17In{0%{opacity:0;transform:translate3d(-90px,50px,-320px) rotateY(28deg) rotateX(14deg);filter:blur(14px) brightness(2)}55%{filter:blur(0) brightness(1.2)}100%{opacity:1;transform:none;filter:none}}
@keyframes b17In2{0%{opacity:0;transform:translate3d(90px,50px,-320px) rotateY(-28deg) rotateX(14deg);filter:blur(14px) brightness(2)}55%{filter:blur(0) brightness(1.2)}100%{opacity:1;transform:none;filter:none}}
@keyframes b17Float{from{translate:0 0}to{translate:0 -5px}}
:is(#brand-dz,#brand) .b16-amb{position:absolute;inset:0;pointer-events:none;overflow:hidden;border-radius:inherit;z-index:0}
:is(#brand-dz,#brand) .b16-amb i{position:absolute;border-radius:50%;filter:blur(46px);opacity:.5;animation:b16Orb 12s ease-in-out infinite alternate}
:is(#brand-dz,#brand) .b16-amb i:nth-child(1){width:300px;height:300px;left:-80px;top:-60px;background:var(--k2)}
:is(#brand-dz,#brand) .b16-amb i:nth-child(2){width:260px;height:260px;right:-60px;bottom:-80px;background:var(--k4);animation-duration:15s;animation-delay:-5s}
:is(#brand-dz,#brand) .b16-amb i:nth-child(3){width:180px;height:180px;left:42%;top:20%;background:var(--k3);opacity:.14;animation-duration:18s}
:is(#brand-dz,#brand) .b16-amb b{position:absolute;bottom:-6px;width:3px;height:3px;border-radius:50%;background:var(--k3);box-shadow:0 0 6px var(--k3);opacity:0;animation:b16Speck 6s linear infinite}
:is(#brand-dz,#brand) .b17-spot{position:absolute;inset:0;pointer-events:none;z-index:4;border-radius:inherit;background:radial-gradient(320px circle at var(--mx,50%) var(--my,35%),rgba(255,255,255,.1),transparent 65%);box-shadow:inset 0 0 90px rgba(0,0,0,.55)}
:is(#brand-dz,#brand) .b16-sw.flash::after{content:"";position:absolute;top:-10%;bottom:-10%;left:0;width:70%;background:linear-gradient(100deg,transparent,color-mix(in srgb,var(--k2) 85%,transparent) 30%,color-mix(in srgb,var(--k4) 85%,transparent) 70%,transparent);transform:skewX(-16deg);animation:b17Curtain .8s cubic-bezier(.7,0,.3,1) forwards}
@keyframes b17Curtain{from{translate:-110% 0}to{translate:160% 0}}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on .bq-s1 .bq-tile{position:relative}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on .bq-s1 .bq-tile::after{content:"";position:absolute;left:50%;top:40%;width:40px;height:40px;margin:-20px;border-radius:50%;border:1.5px solid var(--k2);opacity:0;animation:b16Ring 2.4s .9s ease-out 2;pointer-events:none}
@keyframes b16Ring{0%{transform:scale(.4);opacity:.9}100%{transform:scale(7);opacity:0}}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on .bq-s1 .bq-pal>*{animation:b16Flip .8s calc(.5s + var(--i,0)*.12s) cubic-bezier(.2,1.3,.4,1) both}
@keyframes b16Flip{0%{transform:perspective(500px) rotateY(95deg);opacity:0}100%{transform:none;opacity:1}}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on .bq-s3 .bq-igg>*{animation:b16Tile .7s calc(.4s + var(--i,0)*.07s) cubic-bezier(.2,1.2,.4,1) both}
@keyframes b16Tile{0%{transform:perspective(400px) rotateY(180deg) scale(.6);opacity:0}100%{transform:none;opacity:1}}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on .bq-s4 .bq-card .bq-cin{animation:b16Spin 1.6s .5s cubic-bezier(.6,0,.2,1) both}
@keyframes b16Spin{0%{transform:perspective(700px) rotateY(-200deg) rotateX(20deg)}100%{transform:perspective(700px) rotateY(0) rotateX(0)}}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on .bq-s4 .bq-sign .bq-box{animation:b16Neon 1.4s .3s steps(1) both}
@keyframes b16Neon{0%{opacity:.15}12%{opacity:1}18%{opacity:.3}26%{opacity:1}34%{opacity:.5}42%,100%{opacity:1}}
html[data-fx="2"] :is(#brand-dz,#brand) .bq-st.on .bq-s6 .bq-pages>*{transform-origin:0 50%;animation:b16Page .9s calc(.4s + var(--i,0)*.18s) cubic-bezier(.2,.9,.2,1) both}
@keyframes b16Page{0%{transform:perspective(900px) rotateY(-110deg);opacity:0}100%{transform:none;opacity:1}}
@keyframes b16Orb{0%{transform:translate(0,0) scale(1)}50%{transform:translate(70px,30px) scale(1.15)}100%{transform:translate(-30px,50px) scale(.9)}}
@keyframes b16Speck{0%{transform:translateY(0);opacity:0}15%{opacity:.8}100%{transform:translateY(-320px);opacity:0}}
@media (prefers-reduced-motion:reduce){:is(#brand-dz,#brand) .b16-amb,:is(#brand-dz,#brand) .b16-sw,:is(#brand-dz,#brand) .b17-spot{display:none}html[data-fx] :is(#brand-dz,#brand) *{animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* --- «Нужно что-то другое?»: «Все» goes group by group --- */
.xd-g1 .z17-gh{grid-column:1/-1;display:none;align-items:center;gap:8px;margin:10px 2px 0;font:600 11px var(--f-mono,ui-monospace,monospace);letter-spacing:.14em;text-transform:uppercase;color:var(--cl,#ADA79E)}
.xd-g1 .z17-gh:first-child{margin-top:0}
.xd-g1 .z17-gh em{font-style:normal;opacity:.55}
.xd-g1 .z17-gh::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,currentColor,transparent);opacity:.3}
.xd-g1.z17-all .z17-gh{display:flex}

/* ---- bonus21.css ---- */
/* ===== v21: brand scenes, round 2 ===== */
/* 1 · identity: a slowly turning tagline ring, a real pattern */
.bq-ring{position:absolute;left:60px;top:10px;width:180px;height:180px;opacity:0;overflow:visible}
.bq-ring text{font:600 8.4px var(--f-mono);letter-spacing:.32em;fill:var(--k2);fill-opacity:.55}
.bq-st.on .bq-ring{animation:bqFade .8s 1.2s forwards,b21Spin 40s 1.2s linear infinite}
@keyframes b21Spin{to{transform:rotate(360deg)}}
.bq .bq-pat>.bq-pat2{inset:0;display:block;transform:none;opacity:1;animation:none}
.bq-pat2 .bq-ptsvg,.bq-ppat .bq-ptsvg,.bq-v5p .bq-ptsvg,.bq-tC .bq-ptsvg{position:absolute;left:0;top:0;width:200%;height:100%}
.bq-st.on .bq-pat2 .bq-ptsvg,.bq-st.on .bq-ppat .bq-ptsvg,.bq-st.on .bq-v5p .bq-ptsvg{animation:b21Drift 18s linear infinite}
@keyframes b21Drift{to{transform:translateX(-50%)}}

/* 2 · website: three products in the hero, product cards, the page scrolls */
.bq-img{background:radial-gradient(70% 90% at 50% 100%,color-mix(in srgb,var(--k2) 70%,var(--k3)),color-mix(in srgb,var(--k2) 35%,var(--k1)))!important}
.bq-h3{position:absolute;inset:8px 6px 4px}
.bq-h3 .bq-li{height:118px;flex:0 0 auto}
.bq-h3 .bq-li>span{display:none}
.bq-h3 .bq-li:nth-child(1){order:2;height:138px;z-index:2}
.bq-h3 .bq-li:nth-child(2){order:1;margin-right:-10px}.bq-h3 .bq-li:nth-child(3){order:3;margin-left:-10px}
.bq[data-bq="ol"] .bq-h3 .bq-li{height:150px}.bq[data-bq="ol"] .bq-h3 .bq-li:nth-child(1){height:172px}.bq[data-bq="ol"] .bq-h3 .bq-li svg{margin-bottom:-6px}
.bq[data-bq="ol"] .bq-h3 .bq-li:nth-child(2){margin-right:-40px}.bq[data-bq="ol"] .bq-h3 .bq-li:nth-child(3){margin-left:-40px}
.bq-st.on .bq-h3 .bq-li{animation:b21Hero .9s calc(1.3s + var(--i)*.15s) cubic-bezier(.2,1.25,.3,1) both,b21Spot 4.5s calc(2.4s + var(--i)*1.5s) ease-in-out infinite}
@keyframes b21Hero{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
@keyframes b21Spot{0%,100%{filter:brightness(.92)}12%,28%{filter:brightness(1.18) drop-shadow(0 0 14px color-mix(in srgb,var(--k3) 50%,transparent))}}
.bq-nav{position:relative;z-index:2;background:var(--k1)}
.bq-row3{padding:2px 18px 0!important}
.bq-pc{display:flex;align-items:center;gap:8px;height:56px;border-radius:10px;background:color-mix(in srgb,var(--k3) 6%,transparent);border:1px solid color-mix(in srgb,var(--k3) 12%,transparent);padding:4px 8px 4px 4px;opacity:0}
.bq-pct{position:relative;width:30px;height:48px;flex:0 0 auto}
.bq-pct svg{position:absolute;left:50%;bottom:0;height:100%;width:auto;transform:translateX(-50%)}
.bq[data-bq="ol"] .bq-pct svg{height:150%}
.bq-pc b{display:block;font-size:10px;color:var(--k3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:96px}
.bq-pc em{font:600 9.5px var(--f-mono);font-style:normal;color:var(--k2)}
.bq-pc u{margin-left:auto;text-decoration:none;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:var(--k4);color:var(--k1);font-size:12px;font-weight:700}
.bq-st.on .bq-pc{animation:bqIn .6s calc(4.3s + var(--i)*.15s) forwards}
.bq-st.on .bq-real>.bq-hero,.bq-st.on .bq-real>.bq-row3{animation:b21Scr 1.1s 4s cubic-bezier(.6,0,.2,1) forwards}
@keyframes b21Scr{to{transform:translateY(-74px)}}
.bq-pimg .bq-v5c{position:absolute;inset:4px}
.bq .bq-pimg .bq-cs svg{height:84px}.bq[data-bq="ol"] .bq-pimg .bq-cs svg{height:128px;margin-bottom:-4px}
.bq .bq-pimg .bq-cs b{font-size:8.5px;color:var(--k1)}

/* 3 · social: a poll in the story, comments and flying hearts, real templates */
.bq .bq-story h5{font-size:15px}
.bq .bq-sart{bottom:112px;height:78px}
.bq[data-bq="ol"] .bq-sart{height:118px;bottom:100px}
.bq-poll{position:absolute;left:12px;right:12px;bottom:44px;border-radius:12px;background:rgba(255,255,255,.94);padding:8px;color:#141414;opacity:0;transform:scale(.6)}
.bq-poll b{display:block;font-size:9.5px;margin-bottom:5px;text-align:center}
.bq-poll p{position:relative;display:flex;justify-content:space-between;align-items:center;height:18px;margin:4px 0 0;padding:0 7px;border-radius:7px;background:rgba(0,0,0,.06);font-size:8px;font-weight:600;overflow:hidden}
.bq-poll p span,.bq-poll p em{position:relative;z-index:1;font-style:normal}
.bq-poll p i{position:absolute;left:0;top:0;bottom:0;width:0;background:color-mix(in srgb,var(--k4) 55%,#fff);border-radius:7px}
.bq-st.on .bq-poll{animation:b21Pop .6s 3s cubic-bezier(.2,1.5,.4,1) forwards}
.bq-st.on .bq-poll p i{animation:b21Bar 1s 3.6s cubic-bezier(.3,0,.2,1) forwards}
@keyframes b21Pop{to{opacity:1;transform:none}}
@keyframes b21Bar{to{width:var(--w)}}
.bq-cmt{position:absolute;left:8px;right:8px;top:46px;display:grid;gap:4px;justify-items:start}
.bq-cmt p{margin:0;font-size:8.6px;color:#eee;background:rgba(18,18,20,.86);border-radius:10px;padding:5px 8px;opacity:0;transform:translateY(8px)}
.bq-cmt b{margin-right:4px}
.bq-st.on .bq-cmt p{animation:b21Pop .45s 4.9s cubic-bezier(.2,1.3,.4,1) forwards}
.bq-st.on .bq-cmt p+p{animation-delay:5.5s}
.bq-fly{position:absolute;right:14px;bottom:36px;width:34px;height:180px;pointer-events:none}
.bq-fly i{position:absolute;bottom:0;left:calc(var(--x,10) * 1px);font-style:normal;font-size:13px;color:#ff5a7a;opacity:0}
.bq-fly i:nth-child(1){--x:4}.bq-fly i:nth-child(2){--x:16;color:var(--k4)}.bq-fly i:nth-child(3){--x:8}.bq-fly i:nth-child(4){--x:20}.bq-fly i:nth-child(5){--x:2;color:var(--k4)}.bq-fly i:nth-child(6){--x:14}.bq-fly i:nth-child(7){--x:22}
.bq-st.on .bq-fly i{animation:b21Fly 1.8s calc(4.2s + var(--x)*.04s) ease-out forwards}
.bq-st.on .bq-fly i:nth-child(n+4){animation-delay:calc(4.6s + var(--x)*.04s)}
@keyframes b21Fly{0%{opacity:0;transform:translateY(0) scale(.5)}15%{opacity:1}100%{opacity:0;transform:translateY(-170px) translateX(8px) scale(1.2)}}
.bq-toast{position:absolute;right:10px;top:42px;font-size:9px;font-weight:700;color:#141414;background:#fff;border-radius:99px;padding:4px 9px;box-shadow:0 8px 20px -8px rgba(0,0,0,.6);opacity:0;transform:scale(.5)}
.bq-st.on .bq-toast{animation:b21Pop .5s 4.4s cubic-bezier(.2,1.5,.4,1) forwards}
.bq .bq-tpl i{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;overflow:hidden;border:0!important;padding:10px;text-align:center}
.bq .bq-tpl i.bq-tA{background:var(--k1)!important;box-shadow:0 18px 30px -18px #000,inset 0 0 0 1px color-mix(in srgb,var(--k2) 30%,transparent)}
.bq-tA span{width:46px;height:46px}.bq-tA b{font-size:12px;line-height:1.25;color:var(--k3)}
.bq .bq-tpl i.bq-tB{background:linear-gradient(170deg,color-mix(in srgb,var(--k2) 80%,var(--k3)),var(--k2))!important;justify-content:flex-end}
.bq-tB>div{height:120px;position:relative;width:100%}.bq-tB svg{position:absolute;left:50%;bottom:0;height:100%;transform:translateX(-50%)}
.bq[data-bq="ol"] .bq-tB svg{height:150%}
.bq-tB b{position:absolute;left:8px;top:8px;font:800 10px var(--f-display);color:var(--k3);background:var(--k1);border-radius:99px;padding:3px 8px}
.bq .bq-tpl i.bq-tC{background:var(--k4)!important;color:var(--k1)}
.bq-tC b{font:800 30px var(--f-display);position:relative;z-index:1}.bq-tC small{font-size:9px;position:relative;z-index:1;opacity:.8}
.bq-tC>div{position:absolute;left:0;right:0;bottom:0;height:46px;opacity:.35}

/* 4 · print: a storefront with awning and window, crop marks on the card, colour keys in the menu */
.bq .bq-shop{position:absolute;left:0;top:18px;width:170px;height:236px;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,color-mix(in srgb,var(--k1) 85%,#000),color-mix(in srgb,var(--k1) 70%,#000));box-shadow:0 24px 40px -24px #000,inset 0 0 0 1px rgba(255,255,255,.06)}
.bq .bq-shop .bq-box{position:absolute;left:12px;top:8px;width:146px;height:42px;border-radius:8px;border-width:2px;flex-direction:row;gap:8px}
.bq .bq-shop .bq-box span{width:26px;height:26px}.bq .bq-shop .bq-box b{font-size:11px}
.bq-awn{position:absolute;left:-6px;right:-6px;top:58px;height:26px;border-radius:4px 4px 0 0;background:repeating-linear-gradient(90deg,var(--k2) 0 15.25px,var(--k3) 15.25px 30.5px);box-shadow:0 10px 14px -8px rgba(0,0,0,.6);transform-origin:top;transform:scaleY(0)}
.bq-awn::after{content:"";position:absolute;left:0;right:0;bottom:-7px;height:8px;background:radial-gradient(circle at 7.6px 0,var(--k2) 7.6px,transparent 8px) 0 0/30.5px 8px repeat-x,radial-gradient(circle at 7.6px 0,var(--k3) 7.6px,transparent 8px) 15.25px 0/30.5px 8px repeat-x}
.bq-st.on .bq-awn{animation:b21Awn .7s .6s cubic-bezier(.2,1.4,.4,1) forwards}
@keyframes b21Awn{to{transform:none}}
.bq-win{position:absolute;left:10px;top:96px;width:96px;height:130px;border-radius:6px;background:linear-gradient(160deg,rgba(255,255,255,.1),rgba(255,255,255,.02) 50%,rgba(255,255,255,.07));box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--k2) 45%,#333);display:flex;align-items:flex-end;justify-content:center;gap:2px;padding:0 4px 6px;overflow:hidden}
.bq-win>div{position:relative;width:40px;height:96px}.bq-win svg{position:absolute;left:50%;bottom:0;height:100%;transform:translateX(-50%)}
.bq[data-bq="ol"] .bq-win svg{height:140%}
.bq-win::before{content:"";position:absolute;left:4px;right:4px;bottom:4px;height:3px;border-radius:2px;background:var(--k2);opacity:.6}
.bq-wgl{position:absolute;top:-20%;bottom:-20%;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.22),transparent);transform:skewX(-16deg)}
.bq-st.on .bq-wgl{animation:b21Glare 3.2s 1.6s ease-in-out infinite}
@keyframes b21Glare{0%{left:-60%}50%,100%{left:140%}}
.bq-door{position:absolute;right:10px;top:96px;width:46px;height:140px;border-radius:6px 6px 0 0;background:color-mix(in srgb,var(--k2) 25%,var(--k1));box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--k2) 45%,#333)}
.bq-door i{position:absolute;left:8px;top:66px;width:5px;height:16px;border-radius:3px;background:var(--k4)}
.bq .bq-sign .bq-chip{left:44px;top:268px}
.bq-crop{position:absolute;left:-12px;top:-12px;width:256px;height:162px;opacity:0;pointer-events:none;
 background:linear-gradient(#9a948b,#9a948b) 0 12px/8px 1px no-repeat,linear-gradient(#9a948b,#9a948b) 12px 0/1px 8px no-repeat,linear-gradient(#9a948b,#9a948b) 100% 12px/8px 1px no-repeat,linear-gradient(#9a948b,#9a948b) calc(100% - 12px) 0/1px 8px no-repeat,
 linear-gradient(#9a948b,#9a948b) 0 calc(100% - 12px)/8px 1px no-repeat,linear-gradient(#9a948b,#9a948b) 12px 100%/1px 8px no-repeat,linear-gradient(#9a948b,#9a948b) 100% calc(100% - 12px)/8px 1px no-repeat,linear-gradient(#9a948b,#9a948b) calc(100% - 12px) 100%/1px 8px no-repeat}
.bq-st.on .bq-crop{animation:bqFade .5s .9s forwards}
.bq-md{flex:0 0 auto;width:8px;height:8px;border-radius:50%;text-decoration:none;background:var(--k4);align-self:center}
.bq-md[style*="--n:1"]{background:var(--k2)}.bq-md[style*="--n:2"]{background:var(--k1)}.bq-md[style*="--n:3"]{background:color-mix(in srgb,var(--k4) 50%,var(--k2))}
.bq[data-bq="ol"] .bq-md[style*="--n:0"]{background:#C4472B}.bq[data-bq="ol"] .bq-md[style*="--n:1"]{background:#5E8A3A}.bq[data-bq="ol"] .bq-md[style*="--n:2"]{background:#3B3532}.bq[data-bq="ol"] .bq-md[style*="--n:3"]{background:#C08A2E}
.bq[data-bq="te"] .bq-md[style*="--n:1"]{background:#F2A93B}.bq[data-bq="te"] .bq-md[style*="--n:2"]{background:#EFE3CC;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}.bq[data-bq="te"] .bq-md[style*="--n:3"]{background:var(--k2)}

/* 5 · motion: light rays and brand particles behind the reveal, the glow sits under each product */
.bq-m5bg{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.bq-rays{position:absolute;left:50%;top:38%;width:640px;height:640px;margin:-320px 0 0 -320px;border-radius:50%;background:repeating-conic-gradient(from 0deg,color-mix(in srgb,var(--k2) 16%,transparent) 0 5deg,transparent 5deg 16deg);-webkit-mask:radial-gradient(closest-side,#000 10%,transparent 75%);mask:radial-gradient(closest-side,#000 10%,transparent 75%);opacity:0}
.bq-st.on .bq-rays{animation:bqFade 1s .5s forwards,b21Spin 50s linear infinite}
.bq-pt{position:absolute;left:var(--x);bottom:-12px;width:calc(7px * var(--s));height:calc(7px * var(--s));border-radius:50%;border:1px solid rgba(255,255,255,.55);opacity:0;animation:b21Up var(--du) var(--dl) linear infinite}
@keyframes b21Up{0%{transform:translate(0,0);opacity:0}10%{opacity:.8}50%{transform:translate(8px,-130px)}100%{transform:translate(-4px,-260px);opacity:0}}
.bq[data-bq="ol"] .bq-pt{top:-12px;bottom:auto;border:0;border-radius:2px;width:calc(5px * var(--s));height:calc(5px * var(--s));background:var(--k4);animation-name:b21Fall}
.bq[data-bq="ol"] .bq-pt:nth-child(3n){background:#5E8A3A;border-radius:50% 0}.bq[data-bq="ol"] .bq-pt:nth-child(4n){background:var(--k2)}
.bq[data-bq="te"] .bq-pt{top:-12px;bottom:auto;border:0;width:calc(9px * var(--s));height:calc(7px * var(--s));border-radius:70% 0 70% 0;background:var(--k4);animation-name:b21Petal}
@keyframes b21Fall{0%{transform:translate(0,0) rotate(0);opacity:0}10%{opacity:.9}100%{transform:translate(12px,260px) rotate(300deg);opacity:0}}
@keyframes b21Petal{0%{transform:translate(0,0) rotate(0);opacity:0}10%{opacity:.85}50%{transform:translate(-18px,130px) rotate(160deg)}100%{transform:translate(14px,260px) rotate(340deg);opacity:0}}
.bq .bq-m5-row::before{display:none}
.bq .bq-m5-row .bq-li{position:relative}
.bq .bq-m5-row .bq-li::before{content:"";position:absolute;left:50%;bottom:13px;width:130%;height:16px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--k2) 70%,transparent),transparent);z-index:-1}
.bq-v5p{position:absolute;inset:0;opacity:.16}
.bq-s5 .bq-vert>*:not(.bq-v5p){z-index:1}

/* 6 · brand book: six pages, each one stays long enough to read */
.bq-st.on .bq-pp{animation:bqTurn 1.1s calc(.7s + var(--i)*1.45s) cubic-bezier(.3,.7,.2,1) forwards!important}
.bq-ppat{position:relative;height:150px;margin-top:12px;border-radius:10px;overflow:hidden;background:var(--k2)}
.bq-ppl{position:relative;height:186px;margin-top:6px}
.bq .bq-ppl .bq-li>span{color:var(--k1);opacity:.7}
.bq .bq-ppl .bq-li{height:170px}
.bq[data-bq="ol"] .bq-ppl .bq-line{gap:4px}
@media (prefers-reduced-motion:reduce){.bq-ring,.bq-rays,.bq-pt,.bq-wgl,.bq-fly{animation:none!important}}
