@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --pni-bg: #0a0a0a;
  --pni-bg-card: #111111;
  --pni-bg-card-alt: #161616;
  --pni-border: rgba(255, 255, 255, 0.08);
  --pni-border-strong: rgba(255, 255, 255, 0.15);
  --pni-text: #f5f5f5;
  --pni-muted: rgba(255, 255, 255, 0.5);
  --pni-faint: rgba(255, 255, 255, 0.25);
}

html { scroll-behavior: smooth; }

body.pni-site,
.elementor-page,
.ehf-template,
.ehf-header,
.ehf-footer {
  font-family: 'Poppins', system-ui, sans-serif !important;
  background-color: var(--pni-bg) !important;
  color: var(--pni-text);
}

body.pni-site .site-header,
body.pni-site .site-footer,
.hello-elementor header:not(.pni-header),
#site-header,
.site-main > header { display: none !important; }

.pni-wrap { width: 100%; overflow-x: hidden; }
.pni-container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.pni-container-sm { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
.pni-container-md { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }

.pni-section { padding: 6rem 0; position: relative; }
.pni-section-alt { background: #111111; }
.pni-section-dark { background: #0a0a0a; }

.pni-eyebrow {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.pni-h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  margin: 0 0 1.5rem;
}
.pni-h1-sub {
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1.5rem;
}
.pni-h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem;
  line-height: 1.15;
}
.pni-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--pni-muted);
  max-width: 48rem;
}
.pni-lead.center, .pni-center { margin-left: auto; margin-right: auto; text-align: center; }
.pni-muted { color: var(--pni-muted); font-weight: 300; line-height: 1.7; }
.pni-muted p { margin: 0 0 1rem; }

/* Beat Elementor/theme default button accent (pink/red #cc3366) */
button,
.elementor-kit-47 button,
body.pni-site button {
  border-color: transparent;
  color: inherit;
  background: transparent;
}
.pni-btn,
a.pni-btn,
button.pni-btn,
.pni-form button.pni-btn,
.elementor button.pni-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  font-weight: 600 !important;
  padding: 1rem 2rem !important;
  border-radius: 0.75rem !important;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
  font-size: 1rem !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  font-family: inherit !important;
  box-shadow: none !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.pni-btn-primary,
a.pni-btn-primary,
button.pni-btn-primary {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}
.pni-btn-primary:hover,
a.pni-btn-primary:hover,
button.pni-btn-primary:hover {
  background: rgba(255,255,255,0.9) !important;
  color: #000 !important;
  border-color: rgba(255,255,255,0.9) !important;
}
.pni-btn-outline,
a.pni-btn-outline,
button.pni-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
}
.pni-btn-outline:hover,
a.pni-btn-outline:hover,
button.pni-btn-outline:hover {
  border-color: rgba(255,255,255,0.3) !important;
  color: #fff !important;
  background: transparent !important;
}
.pni-btn-sm,
a.pni-btn-sm,
button.pni-btn-sm { padding: 0.75rem 1.5rem !important; font-size: 0.875rem !important; }
.pni-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.pni-grid { display: grid; gap: 1rem; }
.pni-grid-2 { grid-template-columns: 1fr; }
.pni-grid-3 { grid-template-columns: 1fr; }
.pni-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .pni-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .pni-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .pni-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .pni-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.pni-card {
  background: var(--pni-bg-card-alt);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pni-card.alt { background: var(--pni-bg-card); }
.pni-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.pni-card-icon { font-size: 1.5rem; }
.pni-card h3 { color: #fff; font-size: 1rem; font-weight: 600; margin: 0; }
.pni-card p { color: rgba(255,255,255,0.4); font-size: 0.875rem; line-height: 1.6; font-weight: 300; margin: 0; flex: 1; }
.pni-card a.more { color: rgba(255,255,255,0.6); font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.pni-card a.more:hover { color: #fff; }

/* Header */
.pni-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
.pni-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pni-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none !important; }
.pni-brand img { width: 32px; height: 32px; border-radius: 9999px; object-fit: cover; }
.pni-brand-title { color: #fff; font-weight: 600; font-size: 0.875rem; }
.pni-brand-sub { color: rgba(255,255,255,0.4); font-size: 0.875rem; margin-left: 0.35rem; }
.pni-nav { display: none; align-items: center; gap: 1.5rem; }
.pni-nav a { color: rgba(255,255,255,0.6); font-size: 0.875rem; text-decoration: none !important; }
.pni-nav a:hover { color: #fff; }
.pni-nav .pni-btn { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: 0.5rem; }
.pni-burger,
button.pni-burger {
  display: flex !important;
  background: none !important;
  border: 0 !important;
  color: rgba(255,255,255,0.6) !important;
  cursor: pointer;
  padding: 0.25rem !important;
  box-shadow: none !important;
  outline: none !important;
}
.pni-burger svg { stroke: rgba(255,255,255,0.6) !important; color: rgba(255,255,255,0.6) !important; }
.pni-mobile-menu {
  display: none; flex-direction: column; gap: 0.75rem; padding: 1rem; border-top: 1px solid rgba(255,255,255,0.06);
}
.pni-mobile-menu.open { display: flex !important; }
.pni-mobile-menu a { color: rgba(255,255,255,0.6); font-size: 0.875rem; text-decoration: none; padding: 0.25rem 0.5rem; }
@media (min-width: 1024px) {
  .pni-nav { display: flex !important; }
  .pni-burger,
  button.pni-burger { display: none !important; }
  .pni-mobile-menu { display: none !important; }
}

/* Footer */
.pni-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0;
}
.pni-footer-top {
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .pni-footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.pni-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.pni-footer-links a { color: rgba(255,255,255,0.4); font-size: 0.875rem; text-decoration: none; }
.pni-footer-links a:hover { color: rgba(255,255,255,0.7); }
.pni-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media (min-width: 640px) {
  .pni-footer-bottom { flex-direction: row; justify-content: space-between; }
}
.pni-footer-bottom, .pni-footer-bottom a {
  color: rgba(255,255,255,0.2); font-size: 0.75rem; text-decoration: none;
}
.pni-footer-meta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.pni-footer-meta a:hover { color: rgba(255,255,255,0.5); }

/* Hero */
.pni-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1rem 4rem;
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}
.pni-hero-grid {
  position: absolute; inset: 0; opacity: 0.03; pointer-events: none;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}
.pni-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(255,255,255,0.04) 0%, transparent 70%);
}
.pni-hero-inner { position: relative; z-index: 2; max-width: 64rem; margin: 0 auto; }
.pni-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px; padding: 0.5rem 1.25rem; color: rgba(255,255,255,0.6); font-size: 1rem; font-weight: 500;
}
.pni-logo-lg { width: 72px; height: 72px; border-radius: 9999px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255,255,255,0.1); margin-bottom: 1rem; }

.pni-page-hero { padding: 9rem 1rem 5rem; position: relative; overflow: hidden; }
.pni-page-hero .pni-h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* Leadership */
.pni-leader {
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.pni-leader img {
  width: 80px; height: 80px; border-radius: 9999px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.pni-leader-name { color: #fff; font-weight: 600; }
.pni-leader-role { color: rgba(255,255,255,0.4); font-size: 0.875rem; font-weight: 300; }
.pni-leader-org { color: rgba(255,255,255,0.25); font-size: 0.75rem; font-weight: 300; }

.pni-fixed-bg {
  position: fixed; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  opacity: 0.25; filter: grayscale(30%);
}
.pni-fixed-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.7), rgba(10,10,10,0.92));
}

/* Forms */
.pni-form {
  background: #111; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem; padding: 2rem; max-width: 36rem; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
}
.pni-form label {
  display: block; color: rgba(255,255,255,0.5); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem;
}
.pni-form input, .pni-form select, .pni-form textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem; padding: 0.75rem 1rem; color: #fff; font-size: 0.875rem;
  font-family: inherit;
}
.pni-form input:focus, .pni-form select:focus { outline: none; border-color: rgba(255,255,255,0.3); }
.pni-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pni-form label.check {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.85rem !important;
  font-weight: 300 !important;
  line-height: 1.5 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  margin-bottom: 0 !important;
  cursor: pointer;
}
.pni-form label.check input {
  width: auto !important;
  flex: 0 0 auto !important;
  margin-top: 0.25rem !important;
  accent-color: #fff;
}
.pni-form label.check .check-text {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  white-space: normal !important;
  color: rgba(255,255,255,0.65) !important;
}
.pni-form label.check .check-text a {
  display: inline !important;
  color: rgba(255,255,255,0.9) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.pni-form label.check .check-text a:hover {
  color: #fff !important;
}
.pni-form-success {
  background: #111; border: 1px solid rgba(255,255,255,0.1); border-radius: 1rem;
  padding: 2.5rem; text-align: center; max-width: 36rem; margin: 0 auto;
}
.pni-form-error { color: #f87171; font-size: 0.875rem; }

/* Modal */
.pni-modal {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 1rem;
}
.pni-modal.open { display: flex; }
.pni-modal-panel {
  position: relative; width: 100%; max-width: 28rem;
  background: #111; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem; padding: 2rem; max-height: 90vh; overflow-y: auto;
}
.pni-modal-close,
button.pni-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none !important; border: 0 !important;
  color: rgba(255,255,255,0.3) !important; cursor: pointer; font-size: 1.25rem;
  box-shadow: none !important; outline: none !important; padding: 0 !important;
}
.pni-modal-close:hover { color: rgba(255,255,255,0.7) !important; }

/* Resources */
.pni-res-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem; overflow: hidden;
}
.pni-res-card.dim { opacity: 0.7; background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }
.pni-res-thumb {
  height: 10rem; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.2);
}
.pni-res-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: 0.5rem; }
.pni-pill {
  display: inline-block; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 9999px;
}
.pni-pill-ok { color: rgba(52,211,153,0.7); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.2); }
.pni-pill-soon { color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }

.pni-cta-band {
  border: 1px solid rgba(255,255,255,0.06); border-radius: 1rem;
  padding: 2rem 3rem; display: flex; flex-direction: column; gap: 1.5rem;
}
@media (min-width: 640px) {
  .pni-cta-band { flex-direction: row; align-items: center; justify-content: space-between; }
}

.pni-privacy h2 { color: #fff; font-size: 1.125rem; font-weight: 600; margin: 0 0 0.75rem; }
.pni-privacy section { margin-bottom: 2.5rem; }
.pni-privacy ul { margin: 0.75rem 0 0 1.25rem; }
.pni-privacy a { color: rgba(255,255,255,0.7); }

/* Fluent Forms dark override */
.fluentform .ff-el-input--label label,
.fluentform .ff-el-form-check-label { color: rgba(255,255,255,0.5) !important; }
.fluentform input, .fluentform select, .fluentform textarea {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border-radius: 0.75rem !important;
}
.fluentform .ff-btn-submit {
  background: #fff !important; color: #000 !important;
  border-radius: 0.75rem !important; font-weight: 600 !important;
}

.elementor-location-header, .elementor-location-footer,
#wpadminbar ~ .pni-header { /* ok */ }
body:not(.elementor-editor-active) .page-header { display: none !important; }

main, .site-main, .elementor { background: transparent !important; }
.page .entry-title, .entry-header { display: none !important; }
