/* Kraft Junction — site footer */
@keyframes navGlassShine {
  0%, 18% { left: -55%; opacity: 0; }
  28% { opacity: 1; }
  55% { left: 115%; opacity: 1; }
  70%, 100% { left: 115%; opacity: 0; }
}

@keyframes navGlassBorder {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.site-footer {
  --footer-pad-x: clamp(20px, 7vw, 84px);
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.06) 24%,
    rgba(18, 20, 28, 0.5) 52%,
    rgba(10, 12, 18, 0.65) 100%
  );
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  backdrop-filter: blur(32px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 -24px 56px rgba(0, 0, 0, 0.45);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.04) 62%,
    transparent 100%
  );
  animation: navGlassShine 6.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 48px rgba(156, 199, 255, 0.08);
  animation: navGlassBorder 5s ease-in-out infinite;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 72px) var(--footer-pad-x) 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
  text-align: left;
}

.footer-brand,
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-brand .kj-logo-footer {
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--silver, #d7dde7);
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0;
  text-align: left;
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted, #8d95a3);
  margin: 0 0 18px;
  font-weight: 700;
  line-height: 1.3;
  width: 100%;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.footer-links a {
  color: var(--silver, #d7dde7);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent, #9cc7ff);
}

.footer-network {
  color: var(--silver, #d7dde7);
  line-height: 1.85;
  font-size: 0.9rem;
  margin: 0;
}

.footer-connect {
  gap: 14px;
}

.footer-connect-copy {
  max-width: 280px;
  font-size: 0.85rem;
}

.footer-connect-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 0 !important;
  padding: 14px 22px;
  font-size: 9px;
  letter-spacing: 0.22em;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px var(--footer-pad-x) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  color: var(--muted, #8d95a3);
  font-size: 10px;
  letter-spacing: 0.12em;
  margin: 0;
  line-height: 1.5;
}

.footer-bottom-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: flex-end;
}

.footer-bottom-nav a {
  color: var(--silver, #d7dde7);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.4;
}

.footer-bottom-nav a:hover {
  color: var(--accent, #9cc7ff);
}

@media (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 28px;
  }

  .footer-brand,
  .footer-connect {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: none;
  }

  .footer-connect-copy {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-connect-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom-nav {
    justify-content: flex-start;
    width: 100%;
  }
}
