/* ──────────────────────────────────────────────────────────────────────────
   Shared site header + footer for the Genovaflow blog.
   Mirrors the main site's NavBar (floating glass pill) and SiteFooter so the
   header/footer are identical across the home page, the all-posts page and
   every blog post. Scoped under .gv-* so it never clashes with the blog's
   existing style.css / blog-post.css.
   Brand tokens copied verbatim from src/styles/global.css.
   ────────────────────────────────────────────────────────────────────────── */

.gv-header,
.gv-footer,
.gv-header *,
.gv-footer * {
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
}

/* ── Header: fixed floating glass pill (matches the main site NavBar) ───────── */
.gv-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 235, 0.08);
  background: rgba(20, 17, 13, 0.6);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(244, 241, 235, 0.06), 0 12px 40px rgba(0, 0, 0, 0.4);
  max-width: calc(100vw - 24px);
}

.gv-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 14px;
  border-right: 1px solid rgba(244, 241, 235, 0.08);
  margin-right: 6px;
  text-decoration: none;
}
.gv-brand img {
  height: 22px;
  width: 22px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  flex-shrink: 0;
}
.gv-wordmark {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #F4F1EB;
  line-height: 1;
}

.gv-link {
  color: #C9C3B8;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: color 150ms, background 150ms;
}
.gv-link:hover {
  color: #F4F1EB;
  background: rgba(244, 241, 235, 0.04);
}

.gv-cta {
  margin-left: 6px;
  color: #0A0908;
  background: #FF6A1A;
  text-decoration: none;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(255, 106, 26, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* CTA label swaps to a shorter form on smaller screens (matches the main site). */
.gv-cta-short { display: none; }
@media (max-width: 900px) {
  .gv-cta-full { display: none; }
  .gv-cta-short { display: inline; }
}

/* Spacer so the fixed pill never covers the first content. */
.gv-header-spacer { height: 84px; }

/* Always visible, never collapses to a hamburger — just tightens. */
@media (max-width: 720px) {
  .gv-header {
    top: 14px;
    left: 12px;
    right: 12px;
    transform: none;
    justify-content: space-between;
    gap: 4px;
    padding: 7px 7px 7px 12px;
    max-width: none;
  }
  .gv-brand { padding-right: 8px; margin-right: 4px; }
  .gv-brand img { height: 20px; width: 20px; }
  .gv-link { font-size: 12.5px; padding: 8px 10px; }
  .gv-cta { margin-left: 2px; font-size: 12.5px; padding: 8px 13px; }
  .gv-header-spacer { height: 72px; }
}
@media (max-width: 560px) {
  .gv-wordmark { display: none; }
  .gv-brand { gap: 0; }
}

/* ── Footer: matches the main site SiteFooter ──────────────────────────────── */
.gv-footer {
  position: relative;
  padding: 56px 32px 40px;
  border-top: 1px solid rgba(244, 241, 235, 0.08);
  background: #0A0908;
  color: #F4F1EB;
  overflow: hidden;
}
.gv-footer-grid {
  max-width: 1240px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 64px;
}
.gv-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.gv-footer-brand img { height: 28px; width: 28px; object-fit: contain; }
.gv-footer-brand .gv-wordmark { font-size: 22px; }
.gv-footer-blurb {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #C9C3B8;
  max-width: 360px;
}
.gv-coltitle {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  color: #6A6359;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500;
}
.gv-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gv-footer-col a {
  color: #C9C3B8;
  text-decoration: none;
  font-size: 14px;
  transition: color 150ms;
}
.gv-footer-col a:hover { color: #F4F1EB; }
.gv-footer-email {
  color: #F4F1EB;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 18px;
}
.gv-socials { display: flex; gap: 8px; }
.gv-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 235, 0.14);
  background: rgba(244, 241, 235, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #C9C3B8;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  font-family: "Geist Mono", monospace;
  transition: all 200ms;
}
.gv-social:hover {
  background: #FF6A1A;
  color: #0A0908;
  border-color: #FF6A1A;
}
.gv-footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 241, 235, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #6A6359;
  font-size: 13px;
}
@media (max-width: 860px) {
  .gv-footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
