/* ==========================================================================
   Footer: brand left, two link columns right, copyright bar below.
   Same typefaces as the header (Orbitron headings, Roboto text).
   ========================================================================== */

.site-footer,
.site-copyright {
  --ft-text: #c9d1dc;
  --ft-muted: #8b95a5;
  --ft-bright: #ffffff;
  --ft-glow: #38bdf8;
  font-family: "Roboto", sans-serif;
}

:where(.site-footer) *,
:where(.site-footer) *::before,
:where(.site-footer) *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:where(.site-footer) ul {
  list-style: none;
}

.site-footer {
  background: #000;
  color: var(--ft-text);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 3rem);
}

/* Brand */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  aspect-ratio: 1 / 1;
  padding: 0.35rem;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 16px;
  box-shadow: 0 0 0 0 #000, 0 0 0 0 #fff;
  transition: box-shadow 0.3s ease;
}

.footer-card:hover,
.footer-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px #000, 0 0 0 6px #fff;
}

.footer-card__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-card__cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem;
  text-align: center;
  background: #000;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-card:hover .footer-card__cover,
.footer-card:focus-visible .footer-card__cover {
  transform: translateY(0);
}

.footer-card__name {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.footer-card__cover p:not(.footer-card__name) {
  color: var(--ft-muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer__social-link {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ft-text);
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.16);
  color: var(--ft-bright);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.25);
}

/* Link columns */
.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, auto));
  gap: clamp(2rem, 6vw, 5rem);
}

.site-footer__heading {
  margin-bottom: 1.25rem;
  color: var(--ft-bright);
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.site-footer__link {
  display: inline-block;
  color: var(--ft-text);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  transform: translateX(5px);
  color: var(--ft-bright);
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.85), 0 0 18px rgba(56, 189, 248, 0.45);
}

/* Copyright bar */
.site-copyright {
  width: 100%;
  padding: 1.1rem clamp(1rem, 5vw, 3rem);
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.site-copyright p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-footer__inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .site-footer__columns {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-card__cover,
  .site-footer__social-link,
  .site-footer__link {
    transition-duration: 0.01ms;
  }
}