/* ByteSol-style site footer */

.site-footer {
  background: var(--color-ink-sunk, #08080a);
  color: var(--color-muted-strong, #b4b4ad);
  border-top: 1px solid var(--color-line, #27272b);
  opacity: 1 !important;
}

.site-footer__inner {
  width: min(100% - (var(--page-gutter, 1.25rem) * 2), var(--page-max, 85rem));
  max-width: var(--page-max, 85rem);
  margin: 0 auto;
  padding: 4rem 0 2rem;
  box-sizing: border-box;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-line, #27272b);
}

.site-footer__label {
  margin: 0 0 1rem;
  font: 700 .7rem/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-muted, #8d8d87);
}

.site-footer__copy {
  margin: 0 0 1.25rem;
  max-width: 28ch;
  font-family: Biennale Book, Helvetica, sans-serif;
  font-size: .975rem;
  line-height: 1.55;
  color: var(--color-muted-strong, #b4b4ad);
}

.site-footer__email {
  display: inline-block;
  font: 700 .75rem/1 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-acid, #d7ff3e);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color .2s var(--ease-out-expo, cubic-bezier(.16, 1, .3, 1)),
    border-color .2s var(--ease-out-expo, cubic-bezier(.16, 1, .3, 1));
}

.site-footer__email:hover {
  color: var(--color-paper, #f4f3ef);
  border-bottom-color: var(--color-paper, #f4f3ef);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.site-footer__links a {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-family: Biennale Book, Helvetica, sans-serif;
  font-size: .95rem;
  line-height: 1.3;
  color: var(--color-muted-strong, #b4b4ad);
  text-decoration: none;
  transition: color .2s var(--ease-out-expo, cubic-bezier(.16, 1, .3, 1));
}

.site-footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.15em;
  width: 100%;
  height: 1px;
  background: var(--color-paper, #f4f3ef);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out-expo, cubic-bezier(.16, 1, .3, 1));
}

.site-footer__links a:hover {
  color: var(--color-paper, #f4f3ef);
}

.site-footer__links a:hover::after {
  transform: scaleX(1);
}

/* Beat global charcoal link overrides */
.background--charcoal .site-footer a {
  color: inherit;
}

.background--charcoal .site-footer .site-footer__email {
  color: var(--color-acid, #d7ff3e);
}

.background--charcoal .site-footer .site-footer__links a {
  color: var(--color-muted-strong, #b4b4ad);
}

.background--charcoal .site-footer .site-footer__links a:hover {
  color: var(--color-paper, #f4f3ef);
}

.background--charcoal .site-footer .site-footer__social-btn {
  color: var(--color-muted, #8d8d87);
}

.background--charcoal .site-footer .site-footer__social-btn:hover {
  color: var(--color-acid, #d7ff3e);
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}

.site-footer__social-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line-strong, #3a3a40);
  border-radius: 0;
  color: var(--color-muted, #8d8d87);
  background: transparent;
  text-decoration: none;
  transition:
    color .2s var(--ease-out-expo, cubic-bezier(.16, 1, .3, 1)),
    border-color .2s var(--ease-out-expo, cubic-bezier(.16, 1, .3, 1)),
    background-color .2s var(--ease-out-expo, cubic-bezier(.16, 1, .3, 1));
}

.site-footer__social-btn:hover {
  color: var(--color-acid, #d7ff3e);
  border-color: var(--color-acid, #d7ff3e);
}

.site-footer__brand .nfl-logo {
  margin-bottom: 1.25rem;
  display: inline-block;
}

.site-footer__wordmark {
  margin: 3.5rem 0 2rem;
  text-align: center;
  font-family: Biennale Bold, Helvetica, sans-serif;
  font-size: clamp(1.75rem, 6.5vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: none;
  color: var(--color-line-strong, #3a3a40);
  user-select: none;
  pointer-events: none;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line, #27272b);
}

.site-footer__copyright,
.site-footer__descriptor {
  margin: 0;
  font: 700 .7rem/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted, #8d8d87);
}

@media (min-width: 860px) {
  .site-footer__inner {
    padding: 5rem 0 2.25rem;
  }

  .site-footer__grid {
    grid-template-columns: minmax(16rem, 1.4fr) repeat(3, minmax(8rem, 1fr));
    gap: 2.5rem 2rem;
    padding-bottom: 3.5rem;
  }

  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer__descriptor {
    text-align: right;
  }
}
