/* Footer — V4: black, with the reversed vector logo, legal navigation and a
   large, cropped OUTLINE of the exact logo symbol as a low-contrast underlay.
   One narrow highlight travels slowly along the contour (off for reduced motion). */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--c-black);
  color: var(--fg);
  padding-top: clamp(64px, 7vw, 104px);
  padding-bottom: 28px;
  font-size: 0.9875rem;
}
.site-footer__symbol {
  position: absolute;
  z-index: -1;
  /* mostly visible, so it reads as the logo mark and not as abstract lines */
  right: clamp(-80px, -3vw, -24px);
  bottom: -16%;
  width: clamp(280px, 26vw, 430px);
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.site-footer__symbol path {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: miter;
}
.site-footer__symbol-line {
  stroke: rgb(255 255 255 / 0.15); /* V4: 0.09 */
  stroke-width: 1.3;
}
/* V4.1: copper gradient drawing — a 40 % stretch of each contour travels
   along the exact master path (gradient in user space, see footer.html) */
.site-footer__symbol-glint {
  stroke: url(#footer-copper);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 0.4 0.6;
  stroke-dashoffset: 1;
  opacity: 0.8;
  animation: symbol-glint 14s linear infinite;
}
.site-footer__symbol-glint + .site-footer__symbol-glint {
  animation-delay: -7s;
}
@keyframes symbol-glint {
  to {
    stroke-dashoffset: 0;
  }
}
/* reduced motion: no travelling line — the contour is shown statically in
   the copper gradient at low strength instead */
@media (prefers-reduced-motion: reduce) {
  .site-footer__symbol-glint {
    animation: none;
    stroke-dasharray: none;
    opacity: 0.35;
  }
}
.site-footer__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 48px;
  padding-bottom: clamp(48px, 5vw, 72px);
}
.site-footer__brand {
  grid-column: 1 / span 5;
}
.site-footer__brand img {
  width: clamp(220px, 22vw, 300px);
}
.site-footer__brand p {
  margin-top: 24px;
  max-width: 36ch;
  color: var(--fg-2);
}
.site-footer__nav {
  grid-column: 7 / span 2;
}
.site-footer__nav ul {
  display: grid;
  gap: 2px;
}
.site-footer__nav a,
.site-footer__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color var(--t-fast);
}
.site-footer__nav a:hover,
.site-footer__contact a:hover {
  color: var(--c-blue-tint);
}
.site-footer__nav a {
  font-weight: 600;
}
.site-footer__contact {
  grid-column: 9 / span 4;
  display: grid;
  gap: 4px;
  align-content: start;
}
.site-footer__contact p {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.site-footer__k {
  min-width: 64px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.site-footer__legal {
  display: flex;
  gap: 24px;
}
.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg-2);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}
.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: #fff;
  text-decoration-color: var(--c-precision);
}
.site-footer__top-link {
  margin-left: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--fg);
}
.site-footer__top-link:hover {
  color: var(--c-blue-tint);
}

@media (max-width: 899px) {
  .site-footer__brand {
    grid-column: 1 / -1;
  }
  .site-footer__nav {
    grid-column: 1 / span 5;
  }
  .site-footer__contact {
    grid-column: 6 / -1;
  }
}
@media (max-width: 599px) {
  .site-footer__nav,
  .site-footer__contact {
    grid-column: 1 / -1;
  }
  .site-footer__nav a,
  .site-footer__contact a {
    min-height: 44px;
  }
}
