.site-footer {
  background-color: var(--color-coal-black);
  border-top: 4px solid transparent;
  border-image: var(--color-hazard-stripe) 1;
  border-image-slice: 1;
  padding-block: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.site-footer__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-distressed-white);
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-footer__brand-link:hover {
  color: var(--color-warning-yellow);
  text-decoration: none;
}

.site-footer__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-footer__address {
  margin: 0;
  font-size: var(--text-body);
  color: var(--color-distressed-white);
  opacity: 0.8;
}

.site-footer__nav-list,
.site-footer__legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.site-footer__nav a,
.site-footer__legal a {
  color: var(--color-distressed-white);
  text-decoration: none;
  font-size: var(--text-body);
  transition: color 150ms ease-out;
}

.site-footer__nav a:hover,
.site-footer__legal a:hover {
  color: var(--color-warning-yellow);
  text-decoration: underline;
  text-decoration-color: var(--color-warning-yellow);
  text-underline-offset: 3px;
}

.site-footer__copyright {
  margin: 0;
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-distressed-white);
  opacity: 0.6;
}

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background-color: var(--color-steel-grey);
  border-top: 2px solid var(--color-warning-yellow);
  box-shadow: var(--shadow-elevated);
  padding: var(--space-md);
}

.consent-banner[hidden] {
  display: none !important;
}

.consent-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

.consent-banner__text {
  margin: 0;
  font-size: var(--text-body);
  color: var(--color-distressed-white);
}

.consent-banner__text a {
  color: var(--color-warning-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.consent-banner__button {
  min-width: 120px;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.age-modal[hidden] {
  display: none !important;
}

.age-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.age-modal__dialog {
  position: relative;
  background-color: var(--color-steel-grey);
  border: 2px solid var(--color-warning-yellow);
  clip-path: var(--clip-corner);
  box-shadow: var(--shadow-elevated);
  padding: var(--space-xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
}

.age-modal__title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-md);
  color: var(--color-warning-yellow);
}

.age-modal__description {
  margin-bottom: var(--space-lg);
  font-size: var(--text-body-large);
  color: var(--color-distressed-white);
}

.age-modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.age-modal__button {
  width: 100%;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
  }

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

  .consent-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .consent-banner__actions {
    flex-shrink: 0;
  }

  .age-modal__actions {
    flex-direction: row;
    justify-content: center;
  }

  .age-modal__button {
    width: auto;
    min-width: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .consent-banner a,
  .age-modal a {
    transition: none;
  }
}
