/* The photographic alpha texture finishes inside the footer's existing padding.
   Crop its transparent tail with mask positioning, without extending page height. */
footer {
  --qsc-footer-brush-height: 24px;
  margin-bottom: 0;
  -webkit-mask-image: linear-gradient(#000, #000), url('/assets/footer-brush-texture.png');
  mask-image: linear-gradient(#000, #000), url('/assets/footer-brush-texture.png');
  -webkit-mask-size: 100% calc(100% - var(--qsc-footer-brush-height) + 1px), 1086px 181px;
  mask-size: 100% calc(100% - var(--qsc-footer-brush-height) + 1px), 1086px 181px;
  -webkit-mask-position: left top, left bottom -66px;
  mask-position: left top, left bottom -66px;
  -webkit-mask-repeat: no-repeat, repeat-x;
  mask-repeat: no-repeat, repeat-x;
}
footer::after { content: none; }

/* Keep the company details and copyright clear of the painted finish. */
footer > .legal { margin-bottom: 24px; }

.qsc-legal-links { margin: 10px 0 0; font-size: 0.85rem; line-height: 1.5; }
.qsc-legal-links a { text-decoration: underline; text-underline-offset: 3px; }
