.site-footer {
  position: relative;
  border-top: var(--border-width-strong) solid var(--color-steel-500);
  background: var(--color-coal-900);
}

.site-footer__top-line {
  height: 4px;
  background: linear-gradient(90deg, var(--color-warning-400) 0 9%, var(--color-steel-700) 9% 34%, var(--color-rust-700) 34% 39%, var(--color-steel-700) 39% 100%);
}

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

.site-footer__brand-block,
.site-footer__module {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.site-footer__brand-block p,
.site-footer__module p,
.site-footer__module address,
.site-footer__module h2 {
  margin: 0;
}

.site-footer__brand {
  color: var(--color-offwhite-100);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__brand-block p {
  color: var(--color-text-muted);
  font-size: var(--text-label);
  line-height: var(--leading-label);
}

.site-footer__module {
  padding-left: var(--space-4);
  border-left: var(--border-width) solid var(--color-steel-700);
}

.site-footer__module h2 {
  color: var(--color-warning-400);
  font-family: var(--font-heading);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.site-footer__module address,
.site-footer__module a,
.site-footer__hours {
  color: var(--color-offwhite-300);
  font-size: var(--text-label);
  line-height: var(--leading-label);
}

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

.site-footer__links {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links li,
.site-footer__links li + li {
  margin: 0;
  padding: 0;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  border-top: 1px solid var(--color-steel-700);
  padding-top: var(--space-4);
  padding-bottom: var(--space-5);
  color: var(--color-steel-500);
  font-family: var(--font-heading);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.site-footer__bottom p {
  margin: 0;
}

.site-consent {
  position: fixed;
  z-index: 200;
  right: var(--space-4);
  bottom: var(--space-4);
  left: var(--space-4);
  max-width: 52rem;
  margin-inline: auto;
  border: var(--border-width-strong) solid var(--color-steel-500);
  background: var(--color-coal-900);
  box-shadow: var(--shadow-hard);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.site-consent[hidden] {
  display: none;
}

.site-consent.is-hiding {
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
}

.site-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5);
}

.site-consent__copy {
  min-width: 0;
}

.site-consent__copy p {
  margin: 0;
}

.site-consent__label {
  margin-bottom: var(--space-2) !important;
  color: var(--color-warning-400);
  font-family: var(--font-heading);
  font-size: var(--text-meta);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.site-consent__copy > p:last-child {
  color: var(--color-offwhite-300);
  font-size: var(--text-label);
  line-height: var(--leading-label);
}

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

.site-consent__button {
  min-height: 2.75rem;
  padding-inline: var(--space-4);
  font-size: var(--text-meta);
}

.site-consent__button--accept {
  border-color: var(--color-warning-400);
  background: var(--color-warning-400);
  color: var(--color-coal-950);
}

.site-consent__button--accept:hover {
  color: var(--color-coal-950);
}

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

@media (max-width: 43.75rem) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
    padding-top: var(--space-7);
    padding-bottom: var(--space-6);
  }

  .site-footer__module {
    padding-top: var(--space-4);
    padding-left: 0;
    border-top: var(--border-width) solid var(--color-steel-700);
    border-left: 0;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

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

  .site-consent__inner {
    align-items: stretch;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-4);
  }

  .site-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-consent__button {
    width: 100%;
  }
}

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