/* Footer */
#footer {
  background-color: transparent;
  padding: 0 var(--padding-x);
}

/* Layout */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  max-width: var(--content-width);
  min-height: 118px;
  margin: 0 auto;
  padding-top: 12px;
  padding-bottom: 60px;
  gap: 24px;
}

/* Brand */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  --nav-logo-size: 46px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  margin-bottom: 4px;
  isolation: isolate;
}

/* Logo */
.footer-logo .logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--nav-logo-size);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 0.9;
  letter-spacing: -0.25px;
  margin-left: -6px;
  -webkit-text-stroke: 0 rgba(255, 255, 255, 0);
  transition: color 0.2s ease, -webkit-text-stroke-color 0.2s ease;
}

.footer-logo:hover .logo-icon-filled,
.footer-logo:focus-visible .logo-icon-filled {
  opacity: 0;
  transform: scale(0.98);
}

.footer-logo:hover .logo-icon-outline,
.footer-logo:focus-visible .logo-icon-outline {
  opacity: 1;
  transform: scale(1);
}

.footer-logo:hover .logo-text,
.footer-logo:focus-visible .logo-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.96);
}

.footer-role,
.footer-location {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Copyright */
.footer-copy {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--color-accent);
  text-align: center;
  justify-self: center;
  padding: 50px;
}

/* Links */
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
  margin-right: 8px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--color-accent);
}

.footer-nav a:hover::before,
.footer-nav a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
