/* TableWeb footer v13: isolated contrast, hierarchy, and responsive placement. */
.footer-v13 {
  --footer-bg: #333333;
  --footer-fg: #f5f4f0;
  --footer-line: rgba(245, 244, 240, .42);
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 5rem max(1.2rem, calc((100% - 1216px) / 2)) 3rem;
  color: var(--footer-fg);
  background: var(--footer-bg);
  border-top: 0;
}
.footer-v13 .footer-main {
  width: 100%;
  max-width: 1216px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(0, 1.8fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}
.footer-v13 .footer-brand {
  align-items: flex-start;
  color: var(--footer-fg);
  min-width: 0;
}
.footer-v13 .brand-artwork {
  filter: none;
  mix-blend-mode: normal;
}
.footer-v13 .brand-artwork img {
  filter: invert(1);
  mix-blend-mode: screen;
}
.footer-v13 .footer-navigation {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}
.footer-v13 .footer-link-group {
  min-width: 0;
}
.footer-v13 .footer-link-group h2 {
  margin: 0 0 .65rem;
  padding: 0 0 .65rem;
  border-bottom: 1px solid var(--footer-line);
  color: var(--footer-fg);
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.5;
}
.footer-v13 .footer-link-group a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-block: .55rem;
  color: var(--footer-fg);
  font-size: .85rem;
  line-height: 1.55;
  text-decoration: none;
  text-underline-offset: .25em;
  overflow-wrap: anywhere;
}
.footer-v13 .footer-link-group a:hover {
  text-decoration: underline;
}
.footer-v13 :focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
.footer-v13 .footer-to-top {
  position: absolute;
  top: -1.9rem;
  left: 50%;
  z-index: 2;
  width: 4.5rem;
  min-height: 3.8rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .05rem;
  border: 1px solid #333333;
  border-radius: .15rem;
  color: #252525;
  background: #f5f4f0;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  text-decoration: none;
}
.footer-v13 .footer-to-top span:first-child {
  font-size: 1.15rem;
  line-height: 1;
}
.footer-v13 .footer-to-top:hover {
  background: #ffffff;
}
@media (max-width: 760px) {
  .footer-v13 {
    padding: 4.75rem 1.2rem 2.5rem;
  }
  .footer-v13 .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .footer-v13 .footer-brand {
    align-items: center;
    justify-self: center;
  }
  .footer-v13 .footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.1rem;
  }
}
@media (max-width: 360px) {
  .footer-v13 {
    padding-inline: 1rem;
  }
  .footer-v13 .footer-navigation {
    column-gap: .75rem;
  }
  .footer-v13 .footer-link-group a {
    font-size: .82rem;
  }
}
