.lb-footer {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: clamp(260px, 21vw, 320px);
  min-height: 260px;
  overflow: hidden;
  padding: 22px clamp(28px, 5vw, 96px);
  background: #2b201a;
  color: #f4eadf;
  font-family: "La Biche Serif", "Baskerville", "Palatino Linotype", Georgia, serif;
  text-align: center;
}

.lb-footer *,
.lb-footer *::before,
.lb-footer *::after {
  box-sizing: border-box;
}

.lb-footer p {
  margin: 0;
}

.lb-footer a {
  color: inherit;
  text-decoration: none;
}

.lb-footer__art,
.lb-footer__wisps,
.lb-footer__dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lb-footer__art {
  background-repeat: no-repeat;
  background-position: left top;
  background-size: auto 125%;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 50%, transparent 82%);
  mask-image: linear-gradient(to right, #000 0%, #000 50%, transparent 82%);
}

.lb-footer__art {
  z-index: -3;
  background-image: url("../img/partnership-footer-art-v2.png");
}

.lb-footer__wisps {
  z-index: -2;
}

.lb-footer__wisp {
  position: absolute;
  display: block;
  background-image: url("../img/partnership-footer-smoke.png");
  background-repeat: no-repeat;
  background-size: 650px auto;
  mix-blend-mode: screen;
  filter: blur(1.5px) brightness(3.4) drop-shadow(0 0 7px rgba(230, 173, 107, .45));
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 12%, rgba(0, 0, 0, .8) 34%, transparent 74%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 12%, rgba(0, 0, 0, .8) 34%, transparent 74%);
  will-change: transform, opacity;
}

.lb-footer__wisp--one {
  top: 2%;
  left: -1%;
  width: 176px;
  height: 90px;
  background-position: 0 0;
  transform-origin: 18% 75%;
  animation: lb-footer-wisp-one 13s ease-in-out -2s infinite;
}

.lb-footer__wisp--two {
  top: 12%;
  left: 8%;
  width: 145px;
  height: 80px;
  background-position: -45px -5px;
  transform-origin: 72% 85%;
  animation: lb-footer-wisp-two 18s ease-in-out -9s infinite;
}

.lb-footer__wisp--three {
  top: 37%;
  left: 0;
  width: 188px;
  height: 85px;
  background-position: 0 -138px;
  transform-origin: 15% 80%;
  animation: lb-footer-wisp-three 15s ease-in-out -6s infinite;
}

.lb-footer__wisp--four {
  bottom: -2%;
  left: 9%;
  width: 178px;
  height: 78px;
  background-position: -28px -142px;
  transform-origin: 42% 90%;
  animation: lb-footer-wisp-four 19s ease-in-out -13s infinite;
}

.lb-footer__wisp--five {
  bottom: -5%;
  left: 20%;
  width: 205px;
  height: 78px;
  background-position: -195px -166px;
  transform-origin: 25% 95%;
  animation: lb-footer-wisp-five 16s ease-in-out -4s infinite;
}

.lb-footer__wisp--six {
  bottom: -5%;
  left: 34%;
  width: 150px;
  height: 65px;
  background-position: -225px -170px;
  transform-origin: 70% 90%;
  animation: lb-footer-wisp-six 20s ease-in-out -16s infinite;
}

.lb-footer__dust {
  z-index: -1;
  background-image:
    radial-gradient(circle at 9% 73%, rgba(239, 191, 118, .85) 0 1px, transparent 2px),
    radial-gradient(circle at 21% 86%, rgba(245, 211, 154, .7) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 25%, rgba(239, 191, 118, .65) 0 1px, transparent 2px),
    radial-gradient(circle at 39% 68%, rgba(239, 191, 118, .6) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 74%, rgba(245, 211, 154, .45) 0 1px, transparent 2px);
  animation: lb-footer-dust 10s ease-in-out infinite alternate;
}

.lb-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(67%, 900px);
  height: 100%;
  text-shadow: 0 1px 12px rgba(18, 11, 8, .25);
}

.lb-footer__identity,
.lb-footer__lower {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.lb-footer__brand {
  font-size: clamp(2.4rem, 3vw, 3.25rem);
  line-height: 1;
  letter-spacing: .19em;
  white-space: nowrap;
}

.lb-footer__byline {
  margin-top: 7px !important;
  color: #d2a573;
  font-size: clamp(.94rem, 1.2vw, 1.2rem);
  line-height: 1.3;
  letter-spacing: .22em;
  white-space: nowrap;
}

.lb-footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 19px;
  margin-top: 15px;
  font-size: clamp(.9rem, 1.12vw, 1.08rem);
  font-style: normal;
  line-height: 1.35;
  letter-spacing: .025em;
}

.lb-footer__contact span {
  color: #d2a573;
}

.lb-footer__rule {
  width: 66px;
  height: 1px;
  margin-top: 14px;
  background: #c79862;
}

.lb-footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 14px;
  font-size: .875rem;
  line-height: 1.35;
}

.lb-footer__nav a + a::before {
  content: "·";
  display: inline-block;
  margin-right: 18px;
  color: #c79862;
}

.lb-footer__copyright {
  margin-top: 14px;
  font-size: .8rem;
  line-height: 1.35;
  letter-spacing: .02em;
}

.lb-footer a:hover {
  color: #e8be8b;
}

.lb-footer a:focus-visible {
  outline: 1px solid #e8be8b;
  outline-offset: 4px;
}

@keyframes lb-footer-wisp-one {
  0%, 100% { transform: translate3d(-9px, 11px, 0) scale(.94); opacity: .08; }
  38% { transform: translate3d(5px, -8px, 0) scale(1.04); opacity: .9; }
  70% { transform: translate3d(12px, -18px, 0) scale(1.08); opacity: .54; }
}

@keyframes lb-footer-wisp-two {
  0%, 100% { transform: translate3d(12px, 8px, 0) scale(.92); opacity: .08; }
  46% { transform: translate3d(-7px, -11px, 0) scale(1.06); opacity: .72; }
  76% { transform: translate3d(-15px, -22px, 0) scale(1.09); opacity: .45; }
}

@keyframes lb-footer-wisp-three {
  0%, 100% { transform: translate3d(-10px, 10px, 0) scale(.96); opacity: .08; }
  34% { transform: translate3d(7px, -5px, 0) scale(1.04); opacity: .82; }
  72% { transform: translate3d(16px, -16px, 0) scale(1.08); opacity: .46; }
}

@keyframes lb-footer-wisp-four {
  0%, 100% { transform: translate3d(9px, 7px, 0) scale(.95); opacity: .06; }
  43% { transform: translate3d(-4px, -8px, 0) scale(1.05); opacity: .68; }
  78% { transform: translate3d(-13px, -17px, 0) scale(1.09); opacity: .35; }
}

@keyframes lb-footer-wisp-five {
  0%, 100% { transform: translate3d(-12px, 9px, 0) scale(.94); opacity: .02; }
  40% { transform: translate3d(3px, -6px, 0) scale(1.04); opacity: .28; }
  74% { transform: translate3d(16px, -18px, 0) scale(1.08); opacity: .13; }
}

@keyframes lb-footer-wisp-six {
  0%, 100% { transform: translate3d(10px, 8px, 0) scale(.94); opacity: .02; }
  48% { transform: translate3d(-5px, -8px, 0) scale(1.05); opacity: .18; }
  82% { transform: translate3d(-15px, -19px, 0) scale(1.09); opacity: .09; }
}

@keyframes lb-footer-dust {
  0% { transform: translateY(3px); opacity: .28; }
  50% { transform: translateY(-2px); opacity: .65; }
  100% { transform: translateY(-5px); opacity: .38; }
}

@media (max-width: 700px) {
  .lb-footer {
    display: block;
    height: clamp(340px, 96vw, 420px);
    min-height: 340px;
    padding: 22px 16px 20px;
  }

  .lb-footer__art {
    background-size: 100% auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 24%, transparent 46%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 24%, transparent 46%);
  }

  .lb-footer__wisps {
    opacity: .6;
  }

  .lb-footer__wisp {
    background-size: 390px auto;
    filter: blur(1.2px) brightness(3.1);
  }

  .lb-footer__wisp--one { top: 0; left: -2%; width: 110px; height: 48px; background-position: 0 0; }
  .lb-footer__wisp--two { top: 6%; left: 14%; width: 95px; height: 48px; background-position: -27px -3px; }
  .lb-footer__wisp--three { top: 15%; left: -1%; width: 112px; height: 50px; background-position: 0 -83px; }
  .lb-footer__wisp--four { top: 21%; bottom: auto; left: 10%; width: 108px; height: 50px; background-position: -17px -85px; }
  .lb-footer__wisp--five { top: 25%; bottom: auto; left: 24%; width: 124px; height: 50px; background-position: -117px -100px; }
  .lb-footer__wisp--six { top: 27%; bottom: auto; left: 39%; width: 88px; height: 42px; background-position: -135px -102px; }

  .lb-footer__inner {
    justify-content: flex-start;
    width: 100%;
  }

  .lb-footer__identity {
    justify-content: center;
    width: 70%;
    min-height: 145px;
    margin-left: 30%;
  }

  .lb-footer__brand {
    font-size: clamp(1.65rem, 7vw, 2rem);
    letter-spacing: .15em;
  }

  .lb-footer__byline {
    margin-top: 6px !important;
    font-size: clamp(.65rem, 2.8vw, .82rem);
    letter-spacing: .12em;
  }

  .lb-footer__contact {
    flex-direction: column;
    gap: 2px;
    margin-top: 11px;
    font-size: clamp(.78rem, 3.2vw, .9rem);
  }

  .lb-footer__contact span,
  .lb-footer__nav a + a::before {
    display: none;
  }

  .lb-footer__rule {
    margin-top: 0;
  }

  .lb-footer__lower {
    margin-top: 24px;
  }

  .lb-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 10px 12px;
    margin-top: 16px;
    font-size: .875rem;
  }

  .lb-footer__copyright {
    margin-top: 16px;
    font-size: .76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lb-footer__wisp,
  .lb-footer__dust {
    animation: none !important;
    opacity: .35;
  }
}
