/* Unscoped chrome for the Convention site. The kit styles some of this for the other PIR sites,
   but the Convention's own layer lives under .pir-conv — and the header, footer, dock and
   starfield canvas sit OUTSIDE it in Base.astro, so they need these top-level rules.

   THE CANVAS FIX (found with a headless browser on 2026-10-15): without position: fixed the
   starfield canvas renders as a static 900px-tall block ABOVE the page, pushing all content
   below the fold — which looked exactly like "only background, no content". */

#starfield-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

main { position: relative; z-index: 10; }

/* Header + brand (outside .pir-conv) */
header.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 5, 14, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
header.top .wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #f3eee4;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.12rem;
}
.brand img { border-radius: 9px; }
.brand small {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  color: #e8b45a;
  letter-spacing: 0.08em;
}

/* Footer (outside .pir-conv) */
footer {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.2rem 0 6.5rem;
  color: rgba(243, 238, 228, 0.66);
  font-size: 0.86rem;
}
.pir-foot {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2rem;
  align-items: start;
  font-family: "Manrope", system-ui, sans-serif;
}
.tended { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.8rem; color: rgba(243, 238, 228, 0.66); text-decoration: none; font-size: 0.8rem; }
.tended b { color: #e8b45a; font-family: "Fraunces", Georgia, serif; }
.cat-mark { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: conic-gradient(from 180deg, #e8b45a, #a78bfa, #e8b45a); }
@media (max-width: 860px) { .pir-foot { grid-template-columns: 1fr; } }

/* The dock (outside .pir-conv) */
nav.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 55;
  background: rgba(11, 9, 24, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
nav.dock .wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(0.6rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 58px;
  overflow-x: auto;
  scrollbar-width: none;
}
nav.dock .wrap::-webkit-scrollbar { display: none; }
nav.dock .mark { font-family: "Fraunces", Georgia, serif; font-weight: 700; color: #e8b45a; padding-inline: 0.4rem 0.8rem; }
nav.dock a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(243, 238, 228, 0.66);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}
nav.dock a:hover { color: #f3eee4; background: rgba(255, 255, 255, 0.05); }
nav.dock a[aria-current="page"] { color: #17120a; background: linear-gradient(120deg, #a78bfa, #e8b45a); }
nav.dock .end { margin-left: auto; }
nav.dock .sm { display: none; }
@media (max-width: 720px) { nav.dock .lg { display: none; } nav.dock .sm { display: inline; } }
