/* Shared Woodsol footer: centered image brand and five independent link groups. */
.site-footer {
  background: #0b1012;
  position: relative;
  z-index: 1;
  margin-top: 64px;
  overflow: visible;
  color: #f2f3ee;
}

.site-footer .footer-brand {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  text-align: center;
}

.site-footer .footer-brand .brand-footer,
.site-footer .footer-brand-column .brand-footer {
  display: flex;
  width: 96px;
  min-width: 0;
  height: 100px;
  flex: 0 0 100px;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: 0 auto -30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(-30px);
}

/* Compatibility reset for older generated footer markup; the new module uses .footer-brand. */
.footer-brand-column .brand-footer {
  border: 0;
}

.site-footer .footer-brand .brand-footer img {
  display: block;
  width: 96px;
  height: 100px;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
  filter: none;
}

.site-footer .footer-brand .brand-footer span {
  display: none;
}

.site-footer .footer-tagline {
  max-width: min(calc(100% - 32px), 420px);
  margin: 10px auto 34px;
  color: #f5f3ed;
  font-family: var(--sans);
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 720;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-align: center;
}

.site-footer .footer-top {
  display: grid;
  width: min(calc(100% - var(--site-container-gutter) - var(--site-container-gutter)), var(--site-container-max));
  max-width: var(--site-container-max);
  min-width: 0;
  margin-inline: auto;
  padding: 0 0 48px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 42px);
}

.site-footer .footer-top > .footer-column {
  min-width: 0;
  grid-column: auto;
}

.site-footer .footer-top h2,
.site-footer .footer-contact h2 {
  margin: 0 0 13px;
  color: var(--lime);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer .footer-contact p {
  max-width: 300px;
  margin: 0 0 10px;
  color: #d8dfd9;
  font-size: 11px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.site-footer .footer-contact p:last-child {
  margin-bottom: 0;
}

.site-footer .footer-contact a,
.site-footer .footer-top nav a {
  color: #e7eae4;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.site-footer .footer-top nav {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.site-footer .footer-top a {
  transition: color 0.18s ease;
}

.site-footer .footer-top a:hover,
.site-footer .footer-bottom a:hover {
  color: var(--lime);
}

.site-footer .footer-link-group + .footer-link-group {
  padding-inline-start: clamp(14px, 1.8vw, 28px);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer .footer-bottom {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer .footer-bottom-inner {
  display: flex;
  width: min(calc(100% - var(--site-container-gutter) - var(--site-container-gutter)), var(--site-container-max));
  max-width: var(--site-container-max);
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-inline: auto;
  padding-block: 18px;
  color: #c5cec6;
  font-size: 9px;
  line-height: 1.5;
}

.site-footer .footer-bottom-inner > div {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer .footer-bottom a {
  color: #c5cec6;
}

@media (max-width: 980px) {
  .site-footer .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }

  .site-footer .footer-link-group + .footer-link-group {
    padding-inline-start: 0;
    border-inline-start: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 22px;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-top {
    width: min(calc(100% - 36px), var(--site-container-max));
    grid-template-columns: minmax(0, 1fr);
    gap: 29px;
    padding-bottom: 38px;
  }

  .site-footer .footer-top > .footer-column {
    width: 100%;
  }

  .site-footer .footer-tagline {
    margin-top: 10px;
    margin-bottom: 29px;
    font-size: 21px;
  }

  .site-footer .footer-link-group + .footer-link-group {
    padding-top: 19px;
  }

  .site-footer .footer-bottom-inner {
    width: min(calc(100% - 36px), var(--site-container-max));
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 15px;
  }

  .site-footer .footer-bottom-inner > div {
    gap: 10px 16px;
  }
}
