.club-footer {
  border-block-start: var(--border-brass);
  background: var(--color-espresso);
}

.club-footer__scene {
  min-height: 20rem;
  padding: 3rem var(--gutter);
  background-color: var(--color-walnut);
  background-image: linear-gradient(90deg, rgba(36, 25, 20, 0.92), rgba(36, 25, 20, 0.45)), url("/src/media/card-lounge-evening.webp");
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.club-footer__panel {
  width: min(100%, 34rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: var(--border-brass);
  background: var(--color-smoked-glass);
}

.club-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-antique-cream);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.club-footer__mark {
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 4.5rem;
  object-fit: contain;
}

.club-footer__statement {
  margin: 1.5rem 0;
  color: var(--color-linen);
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-style: italic;
  line-height: 1.08;
}

.club-footer__address {
  margin: 0;
  color: var(--color-linen);
  font-size: var(--text-meta);
  font-style: normal;
  line-height: 1.7;
}

.club-footer__address a {
  color: var(--color-antique-cream);
}

.club-footer__content {
  display: grid;
  width: min(100% - (var(--gutter) * 2), var(--container-max));
  margin-inline: auto;
  padding-block: 2rem;
  gap: 2rem;
}

.club-footer__nav ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.club-footer__nav li,
.club-footer__nav .club-footer__nav a,
.club-footer__legal a,
.club-footer__legal span {
  color: var(--color-linen);
  font-size: var(--text-meta);
}

.club-footer__nav a:hover,
.club-footer__legal a:hover {
  color: var(--color-antique-cream);
}

.club-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding-block-start: 1.25rem;
  border-block-start: var(--border-quiet);
}

.club-footer__legal span {
  margin-inline-end: auto;
}

.club-consent {
  position: fixed;
  z-index: 200;
  right: 1rem;
  right: max(1rem, env(safe-area-inset-right));
  bottom: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(calc(100% - 2rem), 42rem);
  padding: 1rem;
  border: var(--border-brass);
  background: var(--color-walnut);
  box-shadow: var(--shadow-elevated);
}

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

.club-scroll-locked {
  overflow: hidden;
}

.club-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.club-consent__inner p {
  margin: 0;
  color: var(--color-linen);
  font-size: var(--text-meta);
  line-height: 1.45;
}

.club-consent__actions,
.club-age-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.club-consent__button,
.club-age-modal__confirm,
.club-age-modal__decline {
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--color-aged-brass);
  background: var(--color-burgundy);
  color: var(--color-antique-cream);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.club-consent__button:hover,
.club-age-modal__confirm:hover {
  background: var(--color-burgundy-deep);
  border-color: var(--color-antique-cream);
}

.club-consent__button--secondary,
.club-age-modal__decline {
  background: transparent;
}

.club-consent__button--secondary:hover,
.club-age-modal__decline:hover {
  border-color: var(--color-antique-cream);
  background: var(--color-walnut);
}

.club-age-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  padding: 1.25rem;
  padding-top: calc(1.25rem + env(safe-area-inset-top));
  overflow-y: auto;
  background: rgba(10, 7, 5, 0.78);
}

.club-age-modal__dialog {
  width: min(100%, 32rem);
  margin: auto;
  padding: clamp(1.5rem, 5vw, 3rem);
  border: var(--border-brass);
  background: var(--color-walnut);
  box-shadow: var(--shadow-elevated);
  text-align: center;
}

.club-age-modal__suit {
  display: block;
  margin-block-end: 1rem;
  color: var(--color-aged-brass);
  font-size: 1.5rem;
}

.club-age-modal__dialog h2 {
  margin: 0 0 1rem;
  color: var(--color-antique-cream);
}

.club-age-modal__dialog p {
  margin: 0 0 1.5rem;
  color: var(--color-linen);
}

.club-age-modal__actions {
  justify-content: center;
}

@media (max-width: 47.5rem) {
  .club-footer__scene {
    min-height: 18rem;
  }

  .club-footer__nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .club-footer__legal span {
    width: 100%;
    margin-inline-end: 0;
  }

  .club-consent__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .club-consent__actions {
    justify-content: flex-end;
  }
}

@media (max-width: 27rem) {
  .club-footer__brand {
    font-size: 1.35rem;
  }

  .club-footer__mark {
    width: 3.5rem;
    height: 3.5rem;
    flex-basis: 3.5rem;
  }

  .club-consent__actions,
  .club-age-modal__actions {
    flex-direction: column;
  }

  .club-consent__button,
  .club-age-modal__confirm,
  .club-age-modal__decline {
    width: 100%;
  }
}