.site-footer {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 8% 25%, rgba(34, 115, 132, .25), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(239, 124, 72, .16), transparent 24rem),
    linear-gradient(145deg, #041923 0%, #062936 58%, #041a24 100%);
  color: #a9bec4;
}

.site-footer::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange) 28%, #f4b079 64%, transparent);
}

.site-footer::after {
  content: "DRPILUS";
  position: absolute;
  z-index: -1;
  right: -1.5rem;
  bottom: 2.5rem;
  color: rgba(255, 255, 255, .025);
  font: 800 clamp(6rem, 14vw, 13rem)/.75 Arial, Helvetica, sans-serif;
  letter-spacing: -.07em;
  pointer-events: none;
  user-select: none;
}

.footer-orbit {
  position: absolute;
  z-index: -1;
  top: -21rem;
  right: -14rem;
  width: 43rem;
  height: 43rem;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, .015), 0 0 0 10rem rgba(255, 255, 255, .012);
}

.site-footer > .footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 1.45fr) minmax(155px, .7fr) minmax(165px, .8fr) minmax(235px, 1.05fr);
  gap: clamp(2rem, 4.3vw, 4.5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4.75rem, 7vw, 7rem) 0 clamp(3.25rem, 5vw, 5rem);
}

.site-footer .footer-brand {
  grid-column: auto;
}

.site-footer .footer-logo {
  display: inline-flex;
  width: 144px;
  margin-bottom: 2.25rem;
}

.site-footer .footer-logo img {
  width: 100%;
  max-height: 48px;
  margin: 0;
  object-fit: contain;
  object-position: left center;
}

.footer-kicker {
  margin: 0 0 .8rem;
  color: #f5a47e;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.site-footer .footer-brand h2 {
  max-width: 390px;
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: clamp(2.1rem, 3vw, 3.35rem);
  letter-spacing: -.04em;
}

.site-footer .footer-intro {
  max-width: 450px;
  margin: 0;
  color: #aec2c7;
  font-size: .9rem;
  line-height: 1.75;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 54px;
  margin-top: 1.8rem;
  padding: .75rem .75rem .75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.footer-cta i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-style: normal;
  transition: transform .2s ease;
}

.footer-cta:hover {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .06);
  transform: translateY(-2px);
}

.footer-cta:hover i {
  transform: translateX(3px);
}

.site-footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  min-width: 0;
  padding-top: 4.45rem;
  font-size: .82rem;
}

.site-footer .footer-column > strong {
  margin: 0 0 1rem;
  color: #fff;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.site-footer .footer-column > a:not(.footer-contact-link) {
  position: relative;
  padding: .14rem 0;
  color: #a9bec4;
  transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-column > a:not(.footer-contact-link)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -.75rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transform: translate(-4px, -50%);
  transition: opacity .2s ease, transform .2s ease;
}

.site-footer .footer-column > a:not(.footer-contact-link):hover {
  color: #fff;
  transform: translateX(7px);
}

.site-footer .footer-column > a:not(.footer-contact-link):hover::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.footer-contact-link,
.footer-address {
  width: 100%;
  margin: 0 0 .35rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.footer-contact-link span,
.footer-address span {
  display: block;
  margin-bottom: .25rem;
  color: #718f97;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-contact-link b,
.footer-address b {
  display: block;
  color: #eaf2f3;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-contact-link:hover b {
  color: #f6a681;
}

.footer-socials {
  display: flex;
  gap: .55rem;
  margin-top: .55rem;
}

.footer-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: #fff;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.footer-socials a:hover {
  border-color: var(--orange);
  background: var(--orange);
  transform: translateY(-3px);
}

.footer-socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.6;
}

.footer-socials a:first-child svg {
  fill: none;
}

.site-footer > .footer-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  gap: 2rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.45rem 0 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: #718c94;
  font-size: .66rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-disclaimer {
  text-align: center;
}

.footer-bottom > a {
  color: #9cb2b8;
  font-weight: 700;
  text-align: right;
}

.footer-bottom > a span {
  margin-left: .25rem;
  color: var(--orange);
}

.back-to-top {
  position: fixed;
  z-index: 31;
  right: 27px;
  bottom: 91px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(8, 45, 61, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--orange-dark);
  box-shadow: 0 12px 34px rgba(4, 27, 36, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.92);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, color .2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px) scale(1);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-rail {
  transition: opacity .2s ease, transform .25s ease;
}

.section-rail.footer-clear {
  opacity: 0 !important;
  pointer-events: none;
  transform: translate(120%, -50%);
}

.footer-cta:focus-visible,
.site-footer a:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid rgba(239, 124, 72, .7);
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .site-footer > .footer-main {
    grid-template-columns: minmax(300px, 1.3fr) repeat(2, minmax(160px, .7fr));
  }

  .site-footer .footer-contact {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr) auto;
    column-gap: 1.5rem;
    align-items: start;
    padding-top: 0;
  }

  .site-footer .footer-contact > strong,
  .footer-address,
  .footer-socials {
    grid-column: 1 / -1;
  }

  .footer-socials {
    margin-top: .3rem;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding: 0 20px;
  }

  .site-footer::after {
    right: -.4rem;
    bottom: 6rem;
    font-size: 5.5rem;
  }

  .footer-orbit {
    top: -14rem;
    right: -13rem;
    width: 29rem;
    height: 29rem;
  }

  .site-footer > .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.25rem;
    padding: 4.5rem 0 3rem;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer .footer-logo {
    width: 130px;
    margin-bottom: 1.8rem;
  }

  .site-footer .footer-intro {
    font-size: .84rem;
  }

  .footer-cta {
    width: 100%;
  }

  .site-footer .footer-column {
    padding-top: 0;
  }

  .site-footer .footer-contact {
    grid-column: 1 / -1;
    display: flex;
  }

  .site-footer > .footer-bottom {
    grid-template-columns: 1fr;
    gap: .65rem;
    padding: 1.5rem 0 6rem;
    text-align: left;
  }

  .footer-disclaimer,
  .footer-bottom > a {
    text-align: left;
  }

  .back-to-top {
    right: 18px;
    bottom: 77px;
    width: 43px;
    height: 43px;
  }

  .section-rail.footer-clear {
    display: flex;
  }
}

@media (max-width: 420px) {
  .site-footer > .footer-main {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-brand,
  .site-footer .footer-contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-cta,
  .footer-cta i,
  .site-footer a,
  .back-to-top {
    transition-duration: .01ms;
  }
}
