/* Supplied photograph, framed on its pattern area rather than its printed heading. */
.site-footer.footer-dark, .portfolio-card { isolation: isolate; }
.site-footer.footer-dark { position: relative; }
.site-footer.footer-dark::before, .portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('/assets/textures/deepmind-pattern.jpg');
  background-repeat: no-repeat;
  background-size: auto 250%;
  background-position: 50% 62%;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: .17;
}
/* Half-size strokes: 170% x .5 x .5 crop height = 42.5% per tile. */
.portfolio-card { --portfolio-texture-base: .13; --portfolio-texture-intensity: .51; }
.portfolio-card::before {
  background-image: url('/assets/textures/portfolio-pattern.svg');
  background-repeat: repeat;
  background-size: auto 42.5%;
  background-position: center;
  opacity: calc(var(--portfolio-texture-base) * var(--portfolio-texture-intensity));
  filter: none;
  mix-blend-mode: multiply;
}
.footer-dark .newsletter-input-row input { background: #142235; }
.footer-dark > .footer-content,
.portfolio-card > .portfolio-number,
.portfolio-card > .portfolio-content,
.portfolio-card > .portfolio-visual { position: relative; z-index: 1; }
@media(max-width:600px) {
  .site-footer.footer-dark::before { opacity: .1; }
  .portfolio-card { --portfolio-texture-base: .09; }
}
