/* braai strip: braai bottom-right, guests walk in from bottom-left as you scroll */
.braai{position:fixed;left:0;right:0;bottom:0;z-index:115;height:150px;pointer-events:none;opacity:0;transform:translateY(20px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.braai.is-on{opacity:1;transform:none}
.braai::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(11,11,10,.92) 0%,rgba(11,11,10,.6) 45%,rgba(11,11,10,0) 100%)}
.braai-ground{position:absolute;left:clamp(12px,2vw,28px);right:clamp(12px,2vw,28px);bottom:14px;border-top:1px dashed rgba(236,230,216,.22)}
.walker{position:absolute;left:clamp(12px,2vw,28px);bottom:14px;opacity:0;will-change:transform}
.braai-scene{position:absolute;right:clamp(12px,2vw,28px);bottom:14px;display:flex;flex-direction:column;align-items:flex-end}
.braai-group{display:flex;align-items:flex-end;gap:4px}
.joined{display:flex;align-items:flex-end;gap:4px}
.fig{display:block;overflow:visible}
.fig *{fill:none;stroke:#ece6d8;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fig .thin{stroke-width:1.4}
.fig .solid{fill:#ece6d8;stroke:none}
.fig .wors{stroke:#d9785a;stroke-width:1.6}
.fig .glow{stroke:none;animation:coal 1.8s ease-in-out infinite alternate;mix-blend-mode:screen}
.fig stop{stroke:none}
@keyframes coal{from{opacity:.55}to{opacity:1}}
.fig .fire path{stroke:#ff9a3c;stroke-width:1.8;transform-box:fill-box;transform-origin:50% 100%;animation:flick .5s ease-in-out infinite alternate}
.fig .fire path:nth-child(2){animation-duration:.37s}
.fig .fire path:nth-child(3){animation-duration:.43s}
@keyframes flick{from{transform:scaleY(.7) skewX(-6deg)}to{transform:scaleY(1.15) skewX(6deg)}}
.fig .smoke path{stroke:rgba(236,230,216,.35);stroke-width:1.4;stroke-dasharray:10 70;animation:smoke 3.2s linear infinite}
.fig .smoke path:nth-child(2){animation-delay:-1.1s;animation-duration:3.8s}
.fig .smoke path:nth-child(3){animation-delay:-2s}
@keyframes smoke{from{stroke-dashoffset:80;opacity:0}20%{opacity:1}to{stroke-dashoffset:0;opacity:0}}
/* walking: legs scissor and the body bobs while the page scrolls */
.walker.is-walking .fig{animation:bob .32s ease-in-out infinite alternate}
.walker.is-walking .leg-a{transform-box:fill-box;transform-origin:50% 0;animation:stepA .32s ease-in-out infinite alternate}
.walker.is-walking .leg-b{transform-box:fill-box;transform-origin:50% 0;animation:stepB .32s ease-in-out infinite alternate}
@keyframes bob{from{translate:0 0}to{translate:0 -2px}}
@keyframes stepA{from{rotate:-14deg}to{rotate:14deg}}
@keyframes stepB{from{rotate:14deg}to{rotate:-14deg}}
.joined .g-waver .arms{transform-box:fill-box;transform-origin:0 100%;animation:wave 1.1s ease-in-out infinite alternate}
@keyframes wave{from{rotate:-6deg}to{rotate:8deg}}
.fig.g-dog .tail{transform-box:fill-box;transform-origin:100% 100%;animation:wag .25s ease-in-out infinite alternate}
@keyframes wag{from{rotate:-14deg}to{rotate:16deg}}
.joined .g-kid{animation:hop 1.4s ease-in-out infinite}
@keyframes hop{0%,60%,100%{translate:0 0}30%{translate:0 -4px}}
.braai-count{font-family:"Caveat",cursive;font-size:1.15rem;color:#ece6d8;margin-bottom:2px;white-space:nowrap}
.braai-count b{display:inline-block;color:var(--accent);font-weight:500;font-size:1.35rem}
/* keep the ribbon clear of the strip on desktop */
@media (min-width:761px){.preview{bottom:120px}}
@media (max-width:760px){
  .braai{bottom:70px;height:96px}
  .braai::before{background:linear-gradient(to top,rgba(11,11,10,.9),rgba(11,11,10,0))}
  .fig{zoom:.62}
  .braai-count{font-size:.9rem}.braai-count b{font-size:1.05rem}
  .preview{top:84px;bottom:auto}
  .footer{padding-bottom:190px}
}
@media (prefers-reduced-motion:reduce){.braai *{animation:none!important}}
