/* Pierre: the shared footer (logo, social buttons, doodles, the small line at the bottom) */
footer.pf{position:relative;padding:18vh 5vw 40px;text-align:center;overflow:hidden;font-family:'Schoolbell','Caveat',cursive;color:#15150f;
  font-size:16px;line-height:1.45;text-transform:none;letter-spacing:normal;background:transparent}
footer.pf .foot-logo{width:min(300px,64vw);margin:0 auto 6vh}
footer.pf .foot-logo img{width:100%;height:auto;display:block}
footer.pf .socials{display:flex;gap:12px;justify-content:center;margin-top:9vh;flex-wrap:wrap}
footer.pf .s-btn{position:relative;display:grid;grid-auto-flow:column;place-items:center;gap:10px;height:52px;padding:0 22px;
  border:1px solid rgba(21,21,15,.16);border-radius:100px;color:#15150f;text-decoration:none;background:transparent}
footer.pf .s-btn::before{content:"";position:absolute;inset:0;background:#15150f;border-radius:inherit;transform:scale(0);transition:transform .55s cubic-bezier(.6,.05,.05,1)}
footer.pf .s-btn:hover::before{transform:scale(1)}
footer.pf .s-btn svg{position:relative;z-index:2;width:18px;height:18px;fill:none;stroke:currentColor;transition:color .45s}
footer.pf .s-btn span{position:relative;z-index:2;font-size:14px;letter-spacing:.02em;text-transform:none;transition:color .45s}
footer.pf .s-btn:hover svg,footer.pf .s-btn:hover span{color:#f4f2ed}
footer.pf .foot-row{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:16vh;
  border-top:1px solid rgba(21,21,15,.16);padding-top:22px;font-size:14px;letter-spacing:.02em;text-transform:none;color:#8a877c}
footer.pf .foot-row span{display:block}

/* doodles: each one wobbles on a slow loop and pops in once, when the footer first shows */
footer.pf .pf-d{position:absolute;z-index:2;pointer-events:none;display:block;rotate:var(--r,0deg);animation:pf-wob 4s ease-in-out infinite alternate}
footer.pf .pf-d:nth-of-type(2){animation-duration:5s}
footer.pf .pf-d:nth-of-type(3){animation-duration:3.4s}
footer.pf .pf-d img{display:block;width:100%;height:auto;scale:0;opacity:0;rotate:-70deg}
footer.pf.is-in .pf-d img{animation:pf-pop .9s cubic-bezier(.34,1.56,.64,1) forwards}
footer.pf.is-in .pf-d:nth-of-type(2) img{animation-delay:.12s}
footer.pf.is-in .pf-d:nth-of-type(3) img{animation-delay:.24s}
@keyframes pf-pop{from{scale:0;opacity:0;rotate:-70deg}to{scale:1;opacity:1;rotate:0deg}}
@keyframes pf-wob{from{rotate:calc(var(--r,0deg) - 7deg)}to{rotate:calc(var(--r,0deg) + 7deg)}}
@media(max-width:700px){footer.pf .pf-d{scale:.72}footer.pf .pf-d.pf-hide{display:none}}
@media(prefers-reduced-motion:reduce){
  footer.pf .pf-d{animation:none}
  footer.pf .pf-d img{scale:1;opacity:1;rotate:0deg;animation:none!important}
}

/* phones: the three buttons share one line; email + places, then the centred credit */
footer.pf .foot-row .fr-m{display:none}
@media(max-width:700px){
  footer.pf .socials{flex-wrap:nowrap;gap:6px}
  footer.pf .s-btn{height:46px;padding:0 11px;gap:6px;flex:0 1 auto;min-width:0}
  footer.pf .s-btn span{font-size:13px;letter-spacing:0}
  footer.pf .foot-row .fr-d{display:none}
  footer.pf .foot-row .fr-mail{order:1}
  footer.pf .foot-row .fr-place{order:2}
  footer.pf .foot-row .fr-m{display:block;order:3;flex:1 1 100%;text-align:center}
}
