/* Full-width supplied artwork; keep the transparent torn edge over the page. */
.site-footer{
    position:relative;
    isolation:isolate;
    max-width:none;
    margin:0;
    border:0;
    padding:clamp(80px,8vw,180px) 5% 32px;
    display:block;
    background:transparent;
    color:#fff4fc;
}
.site-footer::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:url('./footer.png') center top / 100% auto no-repeat;
}
/* Continue the paper colour below the image when text wraps on narrow screens. */
.site-footer::after{
    content:"";
    position:absolute;
    top:calc(100vw * 351 / 2477 - 1px);
    right:0;
    bottom:0;
    left:0;
    z-index:-1;
    pointer-events:none;
    background:linear-gradient(90deg,#4e192c,#5c1b26);
}
.site-footer__inner{
    max-width:1152px;
    margin:auto;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:18px 32px;
}
.site-footer .brand{color:#fff4fc}
.site-footer p,.site-footer small{color:#f1dce8}
.site-footer nav a{color:#fff4fc;text-underline-offset:4px}
.site-footer nav a:hover{color:#ffd76b}
.site-footer nav a:focus-visible{outline:2px solid #ffd76b;outline-offset:5px}
@media(max-width:600px){
    .site-footer{padding-top:64px;padding-bottom:28px}
    .site-footer__inner{gap:16px}
    .site-footer__inner>p{flex-basis:100%}
    .site-footer nav{margin-left:0;width:100%;gap:12px 24px}
}
@media(forced-colors:active){
    .site-footer{background:Canvas;color:CanvasText;border-top:1px solid CanvasText}
    .site-footer::before,.site-footer::after{display:none}
    .site-footer .brand,.site-footer p,.site-footer small{color:CanvasText}
    .site-footer nav a{color:LinkText}
}
