/* ============================================
   PAGE BANNER — the dark, animated top of every inner page, matching the
   homepage hero (black, dot-matrix headline, white pill CTA). The canvas
   animation is chosen by data-anim: dots (default) · vdi · slm (banner.js).
   ============================================ */

@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

.pbanner {
  position: relative;
  overflow: hidden;
  min-height: 64vh;
  display: flex;
  align-items: center;
  padding: clamp(118px, 15vh, 150px) 0 clamp(56px, 8vh, 84px);
  background:
    radial-gradient(90% 60% at 50% 115%, rgba(255, 106, 31, .38), transparent 70%),
    radial-gradient(60% 50% at 50% -10%, rgba(255, 255, 255, .07), transparent 70%),
    #050505;
  color: #fff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
.pbanner--tall { min-height: 92vh; padding-bottom: 130px; }
.pbanner-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pbanner::after {
  /* keeps text readable over the animation */
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(48% 42% at 50% 46%, rgba(5, 5, 5, .72), transparent 100%);
  pointer-events: none;
}
.pbanner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pbanner-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px 0 5px;
  border-radius: 999px;
  background: #28282a;
  border: 1px solid rgba(255, 255, 255, .4);
  color: #c4c2c3;
  font-weight: 500;
  font-size: 13px;
  white-space: nowrap;
  max-width: 100%;
}
.pbanner-pill b {
  display: inline-grid;
  place-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
}
.pbanner-pill span { overflow: hidden; text-overflow: ellipsis; }

.pbanner-title {
  margin: clamp(18px, 3vh, 28px) 0 0;
  font-family: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
  font-weight: 400;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #fff;
  text-wrap: balance;
}
.pbanner-title em { font-family: inherit; font-style: normal; color: #FF8A3D; }

.pbanner-sub {
  max-width: 620px;
  margin: clamp(14px, 2.2vh, 22px) auto 0;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.6;
  color: #d0d0d0;
}
.pbanner-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(22px, 3.4vh, 32px); }
.pb-btn, .pb-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  font: 600 14.5px/1 var(--font-sans);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, background .2s ease;
  cursor: pointer;
}
.pb-btn {
  background: #fff;
  color: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 0 22px rgba(255, 255, 255, .32), 0 0 44px rgba(255, 255, 255, .12);
}
.pb-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 30px rgba(255, 255, 255, .45), 0 0 60px rgba(255, 255, 255, .2); }
.pb-ghost { background: rgba(255, 255, 255, .06); color: #e8e8e8; border: 1px solid rgba(255, 255, 255, .28); font-weight: 500; }
.pb-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }

.pbanner-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 24px; font-size: 13px; }
.pbanner-links a { color: #a9a9a9; border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 2px; transition: color .2s ease, border-color .2s ease; }
.pbanner-links a:hover { color: #fff; border-color: #FF8A3D; }

.pbanner-stats {
  display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 760px;
  margin: clamp(34px, 6vh, 64px) auto 0;
  padding: 0;
  list-style: none;
}
.pbanner-stats li { display: flex; flex-direction: column; align-items: center; }
.pbanner-stats i { font-style: normal; font-family: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace; font-size: clamp(20px, 2.6vw, 28px); line-height: 1; color: #fff; }
.pbanner-stats b { margin-top: 8px; font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -.025em; }
.pbanner-stats span { margin-top: 2px; font-size: 12.5px; color: #8e8e8e; }

/* entrance (held while the page loader is visible) */
.pb-anim { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); animation: pb-reveal .85s cubic-bezier(.22, 1, .36, 1) forwards; animation-delay: var(--d, 0s); }
.glixy-loading .pb-anim { animation-play-state: paused; }
@keyframes pb-reveal { to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 720px) {
  .pbanner { min-height: 0; padding: 104px 0 52px; }
  .pbanner--tall { min-height: 86vh; padding-bottom: 110px; }
  .pbanner-title { letter-spacing: -0.07em; }
  .pbanner-stats { gap: 10px; }
  .pbanner-stats span { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-anim { animation: none; opacity: 1; transform: none; filter: none; }
}
