.site-footer {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: #0a3422;
  color: #eef3ff;
}

.home-page > .site-footer {
  background: #001b14;
}

.home-page > .site-footer::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.54) 0%, rgb(0 0 0 / 0.24) 48%, rgb(0 0 0 / 0.44) 100%),
    linear-gradient(180deg, rgb(0 0 0 / 0.18) 0%, rgb(0 0 0 / 0.34) 45%, rgb(0 0 0 / 0.58) 100%);
  content: "";
  pointer-events: none;
}

.home-page>.site-footer {
  padding-top: var(--cta-footer-overlap);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40% 15% 15% 15%;
  column-gap: 3.333%;
  row-gap: clamp(2.25rem, 6vw, 6.5rem);
  width: min(92rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.1rem) 0 1.45rem;
}

.site-footer__brand {
  display: grid;
  gap: 1.45rem;
  align-content: start;
}

.site-footer__logo {
  display: inline-block;
  width: fit-content;
  color: #ffffff;
  text-decoration: none;
  transform: translateX(-8.3%);
}

.site-footer__brand-logo {
  display: block;
  width: clamp(16rem, 24vw, 22rem);
  height: auto;
}

.site-footer__brand p {
  max-width: 100%;
  margin: 0;
  color: rgb(238 243 255 / 0.82);
  font-family: var(--secondary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.618;
}

.site-footer__brand p a {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__brand p a:hover {
  color: #ffffff;
}


.site-footer__column {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.site-footer__column h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.618rem;
  font-weight: 600;
  line-height: 1.2;
}

.site-footer__column ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__column a,
.site-footer__column p {
  margin: 0;
  color: rgb(238 243 255 / 0.84);
  font-family: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.618;
  text-decoration: none;
}

.site-footer__column a {
  width: fit-content;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-footer__column a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.site-footer__contact {
  font-style: normal;
}

.site-footer__contact a {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer__contact p {
  max-width: 17rem;
}

.site-footer__notice {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.85rem;
  border-top: 1px solid rgb(255 255 255 / 0.18);
  border-bottom: 1px solid rgb(255 255 255 / 0.18);
  padding: clamp(1.4rem, 3vw, 2rem) 0;
}

.site-footer__notice h2 {
  margin: 0;
  color: #ffffff;
  font-family: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer__notice p {
  margin: 0;
  color: rgb(238 243 255 / 0.78);
  font-family: var(--secondary);
  font-size: 0.8rem;
  line-height: 1.65;
}

.site-footer__notice a {
  color: #ffffff;
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgb(215 181 109 / 0.72);
  text-underline-offset: 0.18em;
}

.site-footer__notice a:hover {
  color: #d7b56d;
}

.site-footer__bottom {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(14rem, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin-top: clamp(1.4rem, 4vw, 2.7rem);
}

.site-footer__pitch-deck {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  width: fit-content;
  color: #ffffff;
  text-decoration: none;
}

.site-footer__pitch-deck-icon {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #d7b56d;
  color: #0a3422;
  transition: transform 180ms ease;
}

.site-footer__pitch-deck strong,
.site-footer__pitch-deck small {
  display: block;
  font-family: var(--secondary);
}

.site-footer__pitch-deck strong {
  font-size: 0.95rem;
  line-height: 1.2;
}

.site-footer__pitch-deck small {
  margin-top: 0.25rem;
  color: rgb(238 243 255 / 0.7);
  font-size: 0.72rem;
  line-height: 1.2;
}

.site-footer__pitch-deck:hover .site-footer__pitch-deck-icon {
  transform: translate(2px, -2px);
}

.site-footer__bottom p {
  justify-self: end;
  text-align: right;
  margin: 0;
  color: rgb(238 243 255 / 0.76);
  font-family: var(--secondary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 981px) {
  .site-footer__inner {
    grid-template-columns: 40% 8% 15% 3.5% 15% 3.5% 15%;
    column-gap: 0;
  }

  .site-footer__brand {
    grid-column: 1;
  }

  .site-footer__menu {
    grid-column: 3;
  }

  .site-footer__socials {
    grid-column: 5;
  }

  .site-footer__contact {
    grid-column: 7;
  }
}

@media (max-width: 980px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(8rem, 0.8fr) minmax(8rem, 0.8fr);
  }

  .site-footer__contact {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .site-footer__bottom p {
    justify-self: end;
  }

}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 2rem, 92rem);
  }

  .site-footer__brand p,
  .site-footer__contact p {
    max-width: none;
  }
}
