/* Header (glass) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 70%, transparent);
  box-shadow: var(--shadow-1);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    backdrop-filter: blur(8px);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.logo__img {
  height: 40px;
  width: auto;
}

.logo__text {
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: var(--fs-1);
}

/* Nav with underline slide */
nav {
  display: flex;
  gap: var(--space-6);
}

a {
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

nav a::before {
  top: 0;
  left: 0;
}

nav a::after {
  bottom: 0;
  right: 0;
}

nav a:hover::before {
  width: 100%;
  transition: width 0.25s ease-in-out;
}

nav a:hover::after {
  width: 100%;
  transition: width 0.25s ease-in-out 0.25s;
}

/* Footer */
.site-footer {
  background: var(--color-page);
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-12);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  align-items: center;
}

.footer__tagline {
  display: block;
  color: var(--color-muted);
  font-size: var(--fs-0);
}