/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 26px clamp(20px, 4vw, 64px);
  display: flex; justify-content: space-between; align-items: baseline;
  mix-blend-mode: difference;
  color: #fff;
}
.logo {
  position: relative;
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: 33px;
  letter-spacing: -0.02em;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  text-decoration: none;
  color: inherit;
}
.logo-base {
  display: inline-block;
  transition: opacity 180ms cubic-bezier(.7,0,.2,1);
  line-height: 1;
  padding-bottom: 0.25em;
  margin-bottom: -0.25em;
}
.logo-reveal {
  position: absolute;
  top: 0; left: 0;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms cubic-bezier(.7,0,.2,1);
}
.logo-zones { position: absolute; inset: 0; display: flex; }
.logo-zones > span { flex: 1 1 0; }
.logo:hover .logo-base { opacity: 0; }
.logo.show-reveal .logo-reveal { opacity: 1; }
.logo-reveal .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(30%);
  transition: opacity 220ms cubic-bezier(.7,0,.2,1), transform 220ms cubic-bezier(.7,0,.2,1);
}
.logo-reveal.in .ch { opacity: 1; transform: translateY(0); }
.header-cta {
  font-family: var(--mono);
  font-size: 21px;
  text-decoration: none;
  color: inherit;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 280ms cubic-bezier(.7,0,.2,1), color 280ms, border-color 280ms;
  line-height: 1;
}
.header-cta::after { content: "→"; transition: transform 280ms cubic-bezier(.7,0,.2,1); }
.header-cta:hover { gap: 18px; color: var(--accent); border-color: var(--accent); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  padding: 56px 0 40px;
  font-family: var(--grotesk);
  color: var(--fg-dim);
  line-height: 1.0;
  text-align: left;
}
.footer-links a, .footer-copy, .footer-sep { line-height: 1.1; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  align-items: baseline;
}
.footer-links a, .footer-copy {
  font-family: var(--grotesk);
  font-weight: 400;
  font-size: 18px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.005em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 220ms, border-color 220ms;
}
.footer-links a:hover { color: var(--accent); border-color: var(--accent); }
.footer-sep { color: var(--fg-faint); font-size: 18px; }
.footer-copy { border-bottom: none; }
.footer-legal {
  margin-top: 11px;
  font-size: 18px;
  color: var(--fg-dim);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 220ms, border-color 220ms;
}
.footer-legal a:hover { color: var(--accent); border-color: var(--accent); }
.footer-legal .dot { color: var(--fg-faint); margin: 0 8px; }
.grain-footer-fade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 100%);
}
@media (max-width: 720px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-base, .logo-reveal, .logo-reveal .ch, .header-cta {
    transition-duration: 0.01ms !important;
  }
}
