.site-footer {
  border-top: var(--border-strong) solid var(--color-border);
  background: var(--color-ink-black);
  color: var(--color-white-ink);
}

.site-footer a {
  color: inherit;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  padding-top: var(--space-8);
  padding-bottom: var(--space-7);
}

.site-footer :is(h2, .site-footer__brand) {
  color: var(--color-white-ink);
}

.site-footer h2 {
  margin: 0;
  font-size: var(--text-lead);
}

.site-footer__intro,
.site-footer__nav,
.site-footer__contact,
.site-footer__hours {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.site-footer__brand {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.1;
  text-decoration: none;
}

.site-footer p,
.site-footer address,
.site-footer dl {
  margin: 0;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.site-footer address {
  font-style: normal;
}

.site-footer ul,
.site-footer li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__nav a {
  font-size: var(--text-sm);
}

.site-footer dl {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer dl div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.site-footer dd {
  margin: 0;
  text-align: right;
}

.site-footer__bottom {
  border-top: var(--border-thin) solid var(--color-white-ink);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.site-footer__bottom p {
  margin: 0;
  font-size: var(--text-xs);
}

.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-3);
}

.site-footer__bottom a {
  font-size: var(--text-xs);
}

.site-consent[hidden],
[data-age-modal][hidden] {
  display: none !important;
}

.site-consent {
  position: fixed;
  z-index: 1100;
  right: var(--space-4);
  bottom: var(--space-4);
  left: var(--space-4);
  border: var(--border-strong) solid var(--color-border);
  background: var(--color-muted-paper);
  box-shadow: var(--shadow-ink);
}

.site-consent__inner {
  display: flex;
  max-width: 75rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-inline: auto;
  padding: var(--space-4);
}

.site-consent__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-consent h2,
.site-consent p {
  margin: 0;
}

.site-consent h2 {
  font-size: var(--text-lead);
}

.site-consent p {
  font-size: var(--text-sm);
  line-height: var(--leading-small);
}

.site-consent__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.site-consent__actions .button {
  width: auto;
}

.site-age-modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
  background: rgb(0 0 0 / 72%);
  padding: var(--space-4);
}

.site-age-modal__panel {
  width: min(100%, 34rem);
  border: var(--border-strong) solid var(--color-border);
  background: var(--color-comic-paper);
  box-shadow: var(--shadow-red);
  padding: var(--space-6);
}

.site-age-modal__badge {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  border: var(--border-medium) solid var(--color-border);
  border-radius: 50%;
  background: var(--color-tomato-red);
  font-family: var(--font-heading);
}

.site-age-modal h2,
.site-age-modal p {
  margin: 0;
}

.site-age-modal h2 {
  margin-bottom: var(--space-3);
  font-size: var(--text-section-title);
}

.site-age-modal p {
  margin-bottom: var(--space-5);
}

.site-age-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.site-age-modal__actions .button {
  width: auto;
}

@media (max-width: 56rem) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 35.99rem) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-top: var(--space-7);
  }

  .site-footer__bottom-inner,
  .site-consent__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer__bottom ul {
    justify-content: flex-start;
  }

  .site-consent {
    right: var(--space-2);
    bottom: var(--space-2);
    left: var(--space-2);
  }

  .site-consent__actions .button,
  .site-age-modal__actions .button {
    width: 100%;
  }

  .site-age-modal__panel {
    padding: var(--space-5);
  }
}