/* Closing composition with a cropped signature at the bottom edge. */
.sg-footer {
  box-sizing: border-box;
  width: 100%;
  padding: 56px 20px 0;
  color: #fff;
  background: var(--sg-ink);
  font-family: Manrope, Arial, sans-serif;
  overflow: clip;
}
.sg-footer *,
.sg-footer *::before,
.sg-footer *::after {
  box-sizing: border-box;
}
.sg-footer-inner {
  width: 100%;
  max-width: 1380px;
  margin-inline: auto;
}
.sg-footer-heading {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-family: Orbitron, Arial, sans-serif;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.sg-footer-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 24px;
  margin: 156px 0 48px;
}
.sg-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 24px;
  min-width: 0;
}
.sg-footer-label {
  margin: 0 0 16px;
  color: #b7b7b7;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}
.sg-footer-nav ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sg-footer-nav li {
  min-width: 0;
  margin: 0;
  padding: 0;
}
.sg-footer-nav a {
  display: flex;
  align-items: center;
  min-height: 32px;
  width: max-content;
  max-width: 100%;
  padding-right: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.sg-footer-link-label {
  display: inline-flex;
  white-space: nowrap;
}
.sg-footer-letter {
  display: inline-block;
  position: relative;
}
.sg-footer-letter > span {
  display: inline-block;
}
.sg-footer-letter > span + span {
  position: absolute;
  top: 0;
  left: 0;
  color: #c1a162;
  transform: translateY(-100%);
}
.sg-footer-nav a:focus-visible {
  outline: 1px solid #c1a162;
  outline-offset: 3px;
  border-radius: 2px;
}
.sg-footer-copyright {
  margin: 0;
  color: #b7b7b7;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}
.sg-footer-signature {
  position: relative;
  width: 100%;
  aspect-ratio: 902 / 180;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.sg-footer-mark {
  display: block;
  position: absolute;
  bottom: -44px;
  left: 50%;
  width: 100%;
  height: auto;
  color: var(--sg-gold);
  transform: translate3d(
    -50%,
    calc(23% + (1 - var(--sg-footer-arrival, 1)) * 8px),
    0
  );
  /* Keep the fade at the same height as the signature moves below the edge. */
  -webkit-mask-image: linear-gradient(0deg, transparent 35%, #000 59%);
  mask-image: linear-gradient(0deg, transparent 35%, #000 59%);
}
.sg-footer-mark text {
  fill: currentColor;
  font-family: Orbitron, Arial, sans-serif;
  font-size: 246.9073px;
  font-weight: 600;
  letter-spacing: 0;
}
@media (min-width: 810px) and (max-width: 1199.98px) {
  .sg-footer-heading {
    max-width: 520px;
    font-size: 38px;
  }
  .sg-footer-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 128px;
    margin-bottom: 40px;
  }
  .sg-footer-nav {
    order: 0;
  }
  .sg-footer-copyright {
    order: 1;
  }
  .sg-footer-signature {
    max-width: 900px;
    aspect-ratio: 902 / 184;
    margin-inline: auto;
  }
  .sg-footer-mark {
    bottom: -31px;
  }
}
@media (max-width: 809.98px) {
  .sg-footer {
    padding-top: 48px;
  }
  .sg-footer-heading {
    max-width: 92%;
    font-size: 28px;
  }
  .sg-footer-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 32px;
    margin-bottom: 40px;
  }
  .sg-footer-nav {
    order: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .sg-footer-label {
    margin-bottom: 8px;
  }
  .sg-footer-nav a {
    min-height: 44px;
    min-width: 128px;
  }
  .sg-footer-copyright {
    order: 1;
    margin-top: 32px;
  }
  .sg-footer-signature {
    height: 84px;
    aspect-ratio: auto;
  }
  .sg-footer-mark {
    bottom: -10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sg-footer-mark {
    transform: translate(-50%, 23%);
  }
}
