.footer {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #fff9ff;
  background:
    radial-gradient(ellipse at 88% 112%, #772479 0, transparent 62%),
    radial-gradient(ellipse at 12% 0%, #4d1f66 0, transparent 59%),
    linear-gradient(150deg, #43205d, #271134 55%, #160d24);
}

.footer::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  opacity: .25;
  background: url('/assets/identity/mark-gradient.svg') no-repeat 110% 39% / clamp(630px, 67vw, 1240px) auto;
  mask-image: linear-gradient(140deg, transparent 14%, #000 62%, #0008);
}

.footer::after {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: clamp(36px, 7vw, 100px);
  content: '';
  background: repeating-linear-gradient(180deg, #fdf9ff 0 1px, transparent 1px 9px);
  mask-image: linear-gradient(#000a, transparent);
  pointer-events: none;
}

.footer-inner {
  min-height: min(900px, 87svh);
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding-top: clamp(92px, 14svh, 155px);
}

.footer-center {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 24px;
  text-align: center;
  padding-bottom: clamp(60px, 11svh, 130px);
}

.footer-brand {
  display: inline-grid;
  place-items: center;
  margin-bottom: 9px;
}

.footer-brand img {
  display: block;
  width: clamp(225px, 34vw, 470px);
  height: auto;
  filter: drop-shadow(0 10px 44px #25053150);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  min-height: 47px;
  font-size: 14px;
  border-radius: 99px;
  border: 1px solid #f5def876;
  color: #fff;
  transition: background .2s, border-color .2s;
}

.footer-cta:hover { background: #fff2; border-color: #fff; }
.footer-cta .icon { width: 15px; height: 15px; }
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #f0dff4;
}

.footer-contact a, .footer-nav a {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 36px;
}

.footer-contact .icon, .footer-nav .icon { width: 12px; height: 12px; }
.footer-contact a:hover, .footer-nav a:hover, .footer-bottom a:hover, .footer-bottom button:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px clamp(15px, 2.3vw, 34px);
  padding: 15px 0 26px;
  color: #f0dff4;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  min-height: 66px;
  padding: 11px 0;
  font-size: 12px;
  color: #e3cee8;
  border-top: 1px solid #f1d7ff38;
}

.footer-bottom button {
  min-height: 44px;
  padding: 0;
  color: inherit;
  font: inherit;
}

.footer :is(a, button):focus-visible { outline-color: #ffd7ff; }

@media (max-width: 650px) {
  .footer-inner { min-height: min(740px, 86svh); padding-top: 76px; }
  .footer::before { background-position: 48% 45%; background-size: 700px auto; }
  .footer-center { gap: 17px; padding-bottom: 48px; }
  .footer-nav { gap: 0 17px; padding: 9px 0 17px; font-size: 12px; }
  .footer-bottom { font-size: 11px; }
}
