.site-footer {
  position: relative;
  padding: 104px var(--gutter) 48px;
  background: var(--ink);
  color: var(--white-soft);
  border-top: 1px solid var(--line-light);
}

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

.site-footer .site-footer__inner.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.site-footer__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer__statement {
  margin: 0 auto;
  max-width: 600px;
  color: var(--muted-light);
  font-family: "DM Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.6;
}

.site-footer__business-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  margin: 24px 0 0;
  color: var(--muted-light);
  font-family: "DM Sans", sans-serif;
  font-size: 0.98rem;
  line-height: 1.62;
}

.site-footer__business-details a:hover,
.site-footer__business-details a:focus-visible {
  color: var(--white-soft);
  text-decoration: underline;
  text-decoration-color: var(--olive);
  text-underline-offset: 4px;
  outline: none;
}

.site-footer__dot {
  color: var(--line-light);
}

.site-footer__service-area {
  margin: 26px 0 0;
  color: var(--olive-soft);
  font-family: "Archivo", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__divider {
  max-width: 1300px;
  height: 1px;
  margin: 52px auto;
  padding: 0;
  border: 0;
  background: var(--line-light);
}

.site-footer__primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 36px;
  font-family: "DM Sans", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
}

.site-footer__primary-nav a,
.site-footer__services-nav a {
  color: var(--muted-light);
  transition: color 220ms var(--ease);
}

.site-footer__primary-nav a:hover,
.site-footer__primary-nav a:focus-visible,
.site-footer__services-nav a:hover,
.site-footer__services-nav a:focus-visible {
  color: var(--white-soft);
  text-decoration: underline;
  text-decoration-color: var(--olive);
  text-underline-offset: 4px;
  outline: none;
}

.site-footer .site-footer__services {
  width: 100%;
  margin-top: 48px;
  text-align: center;
}

.site-footer .site-footer__services-label {
  width: 100%;
  margin: 0 0 20px;
  max-width: none;
  color: var(--olive-soft);
  font-family: "Archivo", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.62;
  text-align: center;
  text-transform: uppercase;
}

.site-footer__services-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.98rem;
}

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  color: var(--muted-light);
  transition: color 220ms var(--ease);
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  color: var(--olive-soft);
  outline: none;
}

.site-footer__social svg {
  width: 22px;
  height: 22px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 24px;
  color: var(--muted-light);
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.site-footer__legal a {
  transition: color 220ms var(--ease);
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: var(--white-soft);
  text-decoration: underline;
  text-decoration-color: var(--olive);
  text-underline-offset: 4px;
  outline: none;
}

.site-footer .site-footer__credit {
  width: 100%;
  margin: 18px 0 0;
  max-width: none;
  text-align: center;
  color: var(--muted-light);
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.62;
}

.site-footer__credit a {
  color: var(--olive-soft);
  transition: color 220ms var(--ease);
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
  color: var(--white-soft);
  text-decoration: underline;
  text-decoration-color: var(--olive-soft);
  text-underline-offset: 3px;
  outline: none;
}

.site-footer__identity,
.site-footer__divider,
.site-footer__primary-nav,
.site-footer__services,
.site-footer__social,
.site-footer__bottom,
.site-footer__credit {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1), transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-footer__inner.is-visible .site-footer__identity,
.site-footer__inner.is-visible .site-footer__divider,
.site-footer__inner.is-visible .site-footer__primary-nav,
.site-footer__inner.is-visible .site-footer__services,
.site-footer__inner.is-visible .site-footer__social,
.site-footer__inner.is-visible .site-footer__bottom,
.site-footer__inner.is-visible .site-footer__credit {
  opacity: 1;
  transform: translateY(0);
}

.site-footer__inner.is-visible .site-footer__divider { transition-delay: 70ms; }
.site-footer__inner.is-visible .site-footer__primary-nav { transition-delay: 120ms; }
.site-footer__inner.is-visible .site-footer__services { transition-delay: 170ms; }
.site-footer__inner.is-visible .site-footer__social,
.site-footer__inner.is-visible .site-footer__bottom { transition-delay: 220ms; }
.site-footer__inner.is-visible .site-footer__credit { transition-delay: 250ms; }

@media (min-width: 1100px) {
  .site-footer {
    padding: 136px var(--gutter) 64px;
  }

  .site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../Logo/%20level-a-logo-stacked-dark.webp");
    background-repeat: no-repeat;
    background-position: center 52%;
    background-size: 760px auto;
    opacity: 0.045;
    filter: blur(2px);
    pointer-events: none;
  }

  .site-footer__inner {
    position: relative;
    z-index: 1;
  }

  .site-footer__statement { font-size: 1.2rem; }
  .site-footer__divider { margin: 64px auto; }
  .site-footer__divider--bottom { margin-top: 60px; margin-bottom: 36px; }
  .site-footer__primary-nav { gap: 18px 44px; font-size: 1.05rem; }
  .site-footer .site-footer__services { margin-top: 56px; }
  .site-footer__services-nav { gap: 16px 32px; }
  .site-footer__social { margin-top: 52px; gap: 14px; }
  .site-footer__bottom { padding-top: 4px; }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 65px var(--gutter) 48px;
    overflow: hidden;
  }

  .site-footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 132px;
    width: min(360px, 88vw);
    aspect-ratio: 800 / 434;
    transform: translateX(-50%);
    background-image: url("../Logo/level-a-logo-whitewritingnobackground.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.045;
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }

  .site-footer__inner {
    position: relative;
    z-index: 1;
  }

  .site-footer__divider { margin: 44px auto; }
  .site-footer__divider { width: calc(100vw - 80px); }
  .site-footer__statement { max-width: 255px; }
  .site-footer__dot { display: inline; }
  .site-footer__primary-nav {
    display: flex;
    justify-content: center;
    gap: 14px 24px;
    max-width: 280px;
    margin-inline: auto;
    font-size: 0.98rem;
  }
  .site-footer .site-footer__services { margin-top: 40px; }
  .site-footer__services-nav {
    display: flex;
    justify-content: center;
    gap: 12px 22px;
    width: calc(100vw - 80px);
    margin-inline: auto;
  }
  .site-footer__services-nav a:nth-child(-n + 3),
  .site-footer__services-nav a:last-child {
    flex-basis: 100%;
    text-align: center;
  }
  .site-footer__social { margin-top: 40px; }
  .site-footer__bottom {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
  }
  .site-footer__legal {
    display: flex;
    justify-content: center;
    gap: 10px 24px;
  }
  .site-footer__copyright {
    max-width: 290px;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .site-footer {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__identity,
  .site-footer__divider,
  .site-footer__primary-nav,
  .site-footer__services,
  .site-footer__social,
  .site-footer__bottom,
  .site-footer__credit {
    opacity: 1;
    transform: none;
  }
}
