.studio-footer {
  --footer-gutter: max(clamp(20px, 3.75vw, 54px), calc((100% - 1280px) / 2));
  background: #171f1b;
  color: #e5eee0;
}

.studio-footer__layout {
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1fr);
  min-height: clamp(370px, 31vw, 460px);
}

.studio-footer__navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 4vw, 54px) clamp(24px, 3.4vw, 50px);
  padding-left: max(clamp(20px, 3.75vw, 54px), calc((100vw - 1280px) / 2));
  background: linear-gradient(157deg, #212d25, #18211d 72%);
}

.studio-footer__navigation .brand {
  display: inline-flex;
  gap: 10px;
  color: #f0f6ed;
}

.studio-footer__navigation .brand img {
  width: 42px;
  height: 42px;
}

.studio-footer__navigation .brand small {
  color: #bbcfb9;
}

.studio-footer__links {
  display: grid;
  width: 100%;
  margin-top: 18px;
}

.studio-footer__links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #809b8258;
  color: #e5eee0;
  font-size: 14px;
  line-height: 1.4;
}

.studio-footer__links a:hover {
  color: #effcd8;
}

.studio-footer__links .studio-footer__arrow {
  color: #c5d8b4;
}

.studio-footer__email {
  display: inline-block;
  margin-top: 13px;
  color: #c3d4bf;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.studio-footer__email:hover,
.studio-footer__bottom a:hover,
.studio-footer__bottom button:hover {
  color: #effcd8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.studio-footer__invite {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-width: 0;
  border-left: 1px solid #62795c;
  background: radial-gradient(ellipse at 78% 67%, #304a2d, #203326 57%, #18261c 86%);
}

.studio-footer__wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.studio-footer__invite::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(96deg, #19291e 2%, #19291e69 53%, transparent 82%);
  pointer-events: none;
}

.studio-footer__copy {
  position: relative;
  padding: clamp(30px, 5vw, 66px) clamp(22px, 4.4vw, 57px);
}

.studio-footer__copy h2 {
  margin: 0 0 24px;
  color: #edf5e7;
  font-family: var(--sans);
  font-size: clamp(38px, 5.1vw, 70px);
  font-weight: 500;
  letter-spacing: -.052em;
  line-height: .99;
}

.studio-footer__copy h2 em {
  color: #d6edb7;
  font: inherit;
}

.studio-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 13px;
  padding: 10px 17px;
  border-radius: 28px;
  background: #d7e9b9;
  color: #263622;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.studio-footer__button:hover {
  background: #e9f5d3;
}

.studio-footer__arrow {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: none;
}

.studio-footer__arrow::before,
.studio-footer__arrow::after {
  content: '';
  position: absolute;
}

.studio-footer__arrow::before {
  width: 7px;
  height: 7px;
  top: 1px;
  right: 1px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.studio-footer__arrow::after {
  width: 12px;
  height: 1px;
  left: 2px;
  bottom: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: left center;
}

.studio-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 12px var(--footer-gutter) 14px;
  border-top: 1px solid #809b8258;
  color: #bdcdb8;
  font-size: 12px;
}

.studio-footer__bottom p {
  margin: 0;
}

.studio-footer__bottom > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.studio-footer__bottom :is(a, button) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
}

.studio-footer__bottom button {
  border: 0;
  background: none;
  color: inherit;
  padding: 0;
  font: inherit;
}

.studio-footer :is(a, button):focus-visible {
  outline: 2px solid #d6edb7;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .studio-footer__layout {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .studio-footer__navigation {
    padding: 20px;
  }

  .studio-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    margin-top: 12px;
  }

  .studio-footer__links a {
    font-size: 13px;
    gap: 6px;
  }

  .studio-footer__email {
    margin-top: 12px;
  }

  .studio-footer__invite {
    min-height: 238px;
    border-left: 0;
    border-top: 1px solid #62795c;
  }

  .studio-footer__copy {
    padding: 25px 20px 29px;
  }

  .studio-footer__copy h2 {
    margin-bottom: 18px;
  }

  .studio-footer__bottom {
    padding: 12px 20px;
  }
}

@media (pointer: coarse) {
  .studio-footer__bottom :is(a, button) {
    min-height: 44px;
  }
}
