.cb-site-footer,
.cb-site-footer * {
  box-sizing: border-box;
}

.cb-site-footer {
  width: 100%;
  flex: 0 0 auto;
  container-name: cb-footer;
  container-type: inline-size;
  color: #9a9da5;
  background: #080808;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.cb-site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.cb-site-footer a:hover {
  color: #f4f5f6;
}

.cb-site-footer a:focus-visible {
  outline: 2px solid #b2ff2e;
  outline-offset: 4px;
  border-radius: 3px;
}

.cb-site-footer__inner {
  width: min(100%, 1640px);
  margin: 0 auto;
  padding: 3.25rem clamp(1.25rem, 6vw, 6rem) 1.5rem;
}

.cb-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.8fr) repeat(4, minmax(125px, 1fr));
  gap: clamp(1.5rem, 3.2vw, 3.75rem);
  align-items: start;
}

.cb-site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #f5f6f7 !important;
  font-family: "Chakra Petch", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.015em;
}

.cb-site-footer__brand-link img {
  display: block;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.cb-site-footer__description {
  max-width: 22rem;
  margin: 1rem 0 1.1rem;
  color: #93969d;
  font-size: .9rem;
  line-height: 1.7;
}

.cb-site-footer__socials {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.cb-site-footer__social {
  display: inline-flex;
  width: 2.15rem;
  height: 2.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .45rem;
  color: #a6a9b0 !important;
  background: rgba(255, 255, 255, .035);
}

.cb-site-footer__social:hover {
  transform: translateY(-2px);
  border-color: rgba(178, 255, 46, .28);
  color: #b2ff2e !important;
  background: rgba(178, 255, 46, .08);
}

.cb-site-footer__social svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.cb-site-footer__heading {
  margin: .25rem 0 1.25rem;
  color: #e7e8eb;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.cb-site-footer__links a {
  display: inline-block;
  color: #9a9da5;
  font-size: .86rem;
  line-height: 1.45;
}

.cb-site-footer__links a:hover,
.cb-site-footer__bottom-links a:hover {
  color: #b2ff2e;
}

.cb-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.cb-site-footer__copyright {
  margin: 0;
  color: #8e9199;
  font-size: .72rem;
  line-height: 1.7;
}

.cb-site-footer__bottom-links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 1.4rem;
  color: #a6a9b0;
  font-size: .72rem;
}

@media (max-width: 1100px) {
  .cb-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

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

  .cb-site-footer__description {
    max-width: 35rem;
  }
}

@container cb-footer (max-width: 1100px) {
  .cb-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

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

  .cb-site-footer__description {
    max-width: 35rem;
  }
}

@media (max-width: 700px) {
  .cb-site-footer__inner {
    padding: 2.5rem 1.25rem 1.25rem;
  }

  .cb-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }

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

  .cb-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: .85rem;
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cb-site-footer a {
    transition: none;
  }
}

html[data-season="halloween"] .cb-site-footer__inner,
html[data-season="christmas"] .cb-site-footer__inner {
  padding-bottom: 4.5rem;
}
