/* ============================================================
   SITE FOOTER — shared by the homepage and every content page.
   Requires the design tokens in /index.css.
   ============================================================ */

.site-footer {
  position: relative;
  background: #070809;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
  overflow: hidden;
}

/* thin electric line with a soft bloom along the top edge */
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  width: min(720px, 80%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
  box-shadow: 0 0 24px 2px rgba(0, 170, 255, 0.35);
}

.site-footer__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--margin-mobile) 2rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    padding-inline: var(--margin-desktop);
  }
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.site-footer__brand img {
  height: 2.1rem;
  width: auto;
  filter: invert(1) brightness(2);
  mix-blend-mode: screen;
}

.site-footer__brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1;
}

.site-footer__brand-sub {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-footer__blurb {
  margin-top: 1.25rem;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer__heading {
  margin-bottom: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--electric-blue);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__list a {
  font-size: 0.93rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  color: var(--white);
}

.site-footer__list span {
  font-size: 0.93rem;
}

.site-footer__address {
  margin-bottom: 1rem;
  font-style: normal;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.site-footer__list a,
.site-footer__list span {
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-footer__top {
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.site-footer__top:hover {
  color: var(--electric-blue);
}

/* oversized outlined wordmark as a closing flourish */
.site-footer__wordmark {
  display: block;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 17vw, 15rem);
  line-height: 0.8;
  letter-spacing: 0.06em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(0, 170, 255, 0.1), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
  margin-bottom: -0.12em;
}
