.daryl-site-footer {
  position: relative;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 7vw, 7rem) clamp(2rem, 5vh, 4rem);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #000;
}

#page-after-preload > footer {
  height: 0 !important;
  min-height: 0 !important;
}

.daryl-site-footer__inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.55fr) minmax(240px, 0.7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.daryl-site-footer__brand {
  max-width: 680px;
}

.daryl-site-footer__logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.5rem, 7vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  text-decoration: none;
}

.daryl-site-footer__logo-img {
  width: clamp(70px, 8vw, 132px);
  height: auto;
  display: block;
}

.daryl-site-footer__brand p,
.daryl-site-footer__contact p {
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1vw, 1.25rem);
  line-height: 1.7;
}

.daryl-site-footer__nav,
.daryl-site-footer__social,
.daryl-site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.daryl-site-footer__nav {
  flex-direction: column;
  align-items: flex-start;
}

.daryl-site-footer a {
  color: #fff;
  text-decoration: none;
}

.daryl-site-footer__nav a,
.daryl-site-footer__social a,
.daryl-site-footer__social button,
.daryl-site-footer__bottom a {
  position: relative;
  width: fit-content;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.daryl-site-footer__nav a::after,
.daryl-site-footer__social a::after,
.daryl-site-footer__social button::after,
.daryl-site-footer__bottom a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35em;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  background: #a90000;
}

.daryl-site-footer__nav a:hover::after,
.daryl-site-footer__social a:hover::after,
.daryl-site-footer__social button:hover::after,
.daryl-site-footer__bottom a:hover::after,
.daryl-site-footer__nav a:focus-visible::after,
.daryl-site-footer__social a:focus-visible::after,
.daryl-site-footer__social button:focus-visible::after,
.daryl-site-footer__bottom a:focus-visible::after {
  transform: scaleX(1);
}

.daryl-site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.daryl-site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  border: 2px solid #fff;
  border-radius: 999px;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.daryl-site-footer__cta:hover,
.daryl-site-footer__cta:focus-visible {
  color: #fff;
  border-color: #a90000;
  background: #a90000;
}

.daryl-site-footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 32vw);
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.daryl-site-footer__legal {
  justify-content: flex-start;
  min-width: 0;
}

.daryl-site-footer__bottom a {
  font-size: 0.95rem;
}

.daryl-site-footer__credit-space {
  min-height: 2.8rem;
}

@media (max-width: 900px) {
  .daryl-site-footer {
    min-height: 100svh;
    padding: 5.5rem 1.5rem 2rem;
  }

  .daryl-site-footer__inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .daryl-site-footer__nav {
    flex-direction: row;
  }

  .daryl-site-footer__bottom {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .daryl-site-footer__credit-space {
    display: none;
  }
}

@media (max-width: 520px) {
  .daryl-site-footer {
    padding: 4.5rem 1.25rem 1.75rem 4.75rem;
  }

  .daryl-site-footer__legal {
    flex-direction: column;
  }
}
