:root {
  --footer-border: rgba(221, 181, 70, 0.18);
  --footer-ink: #d6d8cf;
  --footer-muted: #8f968c;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: clamp(44px, 5vw, 76px) var(--pad) 24px;
  border-top: 1px solid var(--footer-border);
  background:
    linear-gradient(180deg, rgba(12, 13, 12, 0.98), rgba(9, 11, 9, 1)),
    #0b0c0b;
}

.site-footer__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background:
    radial-gradient(circle at 18% 22%, rgba(252, 221, 135, 0.12), transparent 28%),
    url("assets/gd-on-offblack-bg.png") center / cover;
}

.site-footer__inner,
.site-footer__bar {
  position: relative;
  z-index: 1;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.7fr) minmax(240px, 0.9fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 50px);
}

.site-footer__brand-block {
  display: grid;
  gap: 18px;
}

.site-footer__brand-block img {
  width: min(238px, 46vw);
}

.site-footer__brand-block p,
.site-footer__contact p {
  max-width: 34ch;
  margin: 0;
  color: var(--footer-muted);
  font-size: clamp(14px, calc(11px + 0.28vw), 16px);
  line-height: 1.7;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 10px 18px;
  align-content: start;
}

.site-footer__nav a,
.site-footer__contact a {
  color: var(--footer-ink);
  font-size: clamp(13px, calc(10px + 0.22vw), 15px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__nav a:hover,
.site-footer__contact a:hover {
  color: var(--gold-light);
}

.site-footer__contact {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.site-footer__eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__contact a {
  color: var(--gold-light);
}

.site-footer__license {
  display: grid;
  gap: 5px;
  width: 100%;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--footer-border);
}

.site-footer__license span {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__license strong {
  color: var(--footer-ink);
  font-size: clamp(13px, calc(10px + 0.22vw), 15px);
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.site-footer__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--footer-border);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: #6e746d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(252, 221, 135, 0.2);
  border-radius: 999px;
  background: rgba(21, 24, 21, 0.72);
  color: var(--gold-light);
}

.site-footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__social-link.is-disabled {
  opacity: 0.56;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 980px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

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

  .site-footer__social {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding: 40px 20px 22px;
  }

  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }

  .site-footer__legal {
    gap: 8px 16px;
  }
}
