/* ============================================================
   NGG — NEXT GENERATION GOVERNMENT
   Design system: campaign-poster energy, disciplined execution.
   Signature device: clipped "notched" corners (a stamped seal /
   ballot-paper cut) used sparingly on key cards + the nav.
   ============================================================ */

:root{
  /* ---- palette ---- */
  --black:#0B0D0C;
  --charcoal:#161A18;
  --green:#1E7A4C;
  --green-dark:#0E4A34;
  --gold:#C9A24B;
  --red:#C23B3B;
  --white:#FFFFFF;
  --off-white:#F5F3EC;
  --grey:#68716C;
  --grey-light:#B7C0BB;
  --line:#E3E0D5;

  /* ---- type ---- */
  --font-display:'Poppins', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;

  /* ---- shape / motion ---- */
  --radius-sm:4px;
  --notch:20px;
  --notch-sm:12px;
  --ease:cubic-bezier(.22,.68,0,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--white);
  color:var(--black);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.12;
  margin:0 0 14px;
  letter-spacing:-0.01em;
  color:var(--black);
}
h1{ font-size:clamp(2.3rem, 5vw, 3.6rem); font-weight:800; }
h1 b{ color:var(--green-dark); font-weight:800; }
h2{ font-size:clamp(1.7rem, 3.2vw, 2.4rem); }
h2 span, h1 span{ color:var(--green); }
h3{ font-size:1.2rem; margin-bottom:8px; }
p{ margin:0 0 12px; color:var(--grey); }
p:last-child{ margin-bottom:0; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding-left:20px; color:var(--grey); }
li{ margin-bottom:6px; }
strong{ color:var(--black); }

::selection{ background:var(--gold); color:var(--black); }

:focus-visible{
  outline:2.5px solid var(--red);
  outline-offset:3px;
}

/* ---- layout ---- */
.container{ max-width:1180px; margin:0 auto; padding:0 28px; }
.section{ padding:88px 0; }
.section-tight{ padding:48px 0; }
.split{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
.grid{ display:grid; gap:22px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

@media (max-width:900px){
  .split{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px){
  .container{ padding:0 20px; }
  .section{ padding:60px 0; }
  .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; }
}

/* ---- eyebrow / labels ---- */
.eyebrow{
  display:flex; align-items:center; gap:10px;
  font-family:var(--font-mono);
  font-size:0.72rem;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--red);
  margin:0 0 14px;
}
.eyebrow::before{
  content:"";
  width:26px; height:2px;
  background:var(--red);
  display:inline-block;
}
.eyebrow.on-dark{ color:var(--gold); }
.eyebrow.on-dark::before{ background:var(--gold); }

.section-head{ max-width:640px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p:last-child{ margin-top:10px; }

/* ---- notched signature shape ---- */
.notched{
  clip-path:polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.notched-sm{
  clip-path:polygon(0 0, calc(100% - var(--notch-sm)) 0, 100% var(--notch-sm), 100% 100%, var(--notch-sm) 100%, 0 calc(100% - var(--notch-sm)));
}

/* ---- reveal on scroll (progressive enhancement — content is
   visible by default; JS opts elements into the animation) ---- */
.reveal{ opacity:1; transform:none; }
.reveal.pre-reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.pre-reveal.in{ opacity:1; transform:translateY(0); }

/* ============================================================
   NAV — text-only links, injected by nav.js
   ============================================================ */
.site-nav{
  position:sticky; top:0; z-index:200;
  background:var(--black);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.nav-inner{
  max-width:1180px; margin:0 auto; padding:0 28px;
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.nav-brand{
  font-family:var(--font-display);
  font-weight:800;
  font-size:1.3rem;
  letter-spacing:0.02em;
  color:var(--white);
  display:flex; align-items:center;
  flex-shrink:0;
}
.nav-logo-chip{
  display:flex; align-items:center;
  background:var(--off-white);
  padding:6px 12px;
  border-radius:9px;
  box-shadow:0 2px 12px rgba(0,0,0,0.4);
  transition:transform .18s var(--ease), box-shadow .18s;
}
.nav-brand:hover .nav-logo-chip{ transform:translateY(-1px); box-shadow:0 4px 16px rgba(0,0,0,0.45); }
.nav-logo{
  height:52px; width:auto; flex-shrink:0;
  display:block;
}
@media(max-width:520px){
  .nav-logo{ height:40px; }
  .nav-logo-chip{ padding:5px 9px; }
}

.nav-links{
  display:flex; align-items:center; gap:0;
  list-style:none; margin:0; padding:0;
}
.nav-links a{
  display:block;
  padding:10px 11px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:0.8rem;
  letter-spacing:0.01em;
  color:var(--grey-light);
  border-bottom:2px solid transparent;
  transition:color .2s, border-color .2s;
  white-space:nowrap;
}
.nav-links a:hover{ color:var(--white); }
.nav-links a.current{ color:var(--white); border-color:var(--red); }

.nav-cta{
  display:flex; align-items:center; gap:8px; flex-shrink:0;
  margin-left:8px;
}
.nav-cta .btn{ padding:9px 16px; font-size:0.78rem; }

@media (max-width:1180px){
  .nav-links a{ padding:10px 8px; font-size:0.76rem; }
}
@media (max-width:1080px){
  .nav-donate{ display:none; }
}

.nav-toggle{
  display:none;
  background:none; border:1.5px solid rgba(255,255,255,0.25);
  width:42px; height:42px; border-radius:4px;
  color:var(--white); font-size:1.2rem; cursor:pointer;
  align-items:center; justify-content:center;
}

@media (max-width:980px){
  .nav-links{
    position:absolute; top:72px; left:0; right:0;
    background:var(--black);
    flex-direction:column; align-items:stretch; gap:0;
    max-height:0; overflow:hidden;
    border-bottom:1px solid rgba(255,255,255,0.08);
    transition:max-height .3s var(--ease);
  }
  .site-nav.nav-open .nav-links{ max-height:640px; }
  .nav-links a{ padding:15px 28px; border-bottom:1px solid rgba(255,255,255,0.06); border-left:3px solid transparent; }
  .nav-links a.current{ border-left-color:var(--red); border-bottom-color:rgba(255,255,255,0.06); }
  .nav-toggle{ display:flex; }
  .nav-donate{ display:none; }
}

/* ============================================================
   HERO BANNER IMAGE (inserted directly below nav)
   ============================================================ */
.hero-banner{
  position:relative;
  width:100%;
  height:min(72vh, 620px);
  min-height:340px;
  overflow:hidden;
  background:var(--black);
}
.hero-banner img{
  width:100%; height:100%; object-fit:cover;
  object-position:center 30%;
  opacity:0.94;
}
.hero-banner::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,13,12,0.05) 0%, rgba(11,13,12,0.05) 55%, rgba(11,13,12,0.55) 100%);
}
.hero-banner-content{
  position:absolute; left:0; right:0; bottom:0;
  padding:0 0 0 28px;
}
.hero-banner-content .container{ padding:0; max-width:1180px; margin:0 auto; }
.hero-banner-panel{
  background:rgba(9,11,10,0.86);
  backdrop-filter:blur(2px);
  border-left:3px solid var(--red);
  padding:30px 34px 34px;
  max-width:600px;
  clip-path:polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}
.hero-banner-tag{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:0.7rem; font-weight:600;
  letter-spacing:0.14em; text-transform:uppercase;
  color:var(--gold);
  padding:0; margin-bottom:16px;
}
.hero-banner-content h2{
  color:var(--white); font-size:clamp(1.7rem,3.6vw,2.5rem);
  max-width:560px; margin-bottom:12px;
}
.hero-banner-content p{
  color:rgba(255,255,255,0.82); max-width:480px; font-size:1rem;
}

/* ============================================================
   HOMEPAGE HERO (text + product card)
   ============================================================ */
.hero{
  background:var(--black);
  color:var(--white);
  padding:76px 0 90px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; top:-160px; right:-160px;
  width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(30,122,76,0.35), transparent 70%);
}
.hero-grid{
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center;
  position:relative; z-index:1;
}
.hero-tag{
  display:inline-block;
  font-family:var(--font-mono); font-size:0.72rem; font-weight:600;
  letter-spacing:0.14em; color:var(--gold);
  border:1px solid rgba(201,162,75,0.4);
  padding:7px 14px; margin-bottom:22px;
}
.hero-inner h1{ color:var(--white); margin-bottom:20px; }
.hero-inner h1 span{ color:var(--green); }
.lead{ color:rgba(255,255,255,0.72); font-size:1.08rem; max-width:520px; margin-bottom:30px; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:22px; }
.hero-manifesto{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:0.82rem; font-weight:500;
  color:var(--grey-light); border-bottom:1px solid rgba(255,255,255,0.25);
  padding-bottom:3px; transition:color .2s, border-color .2s;
}
.hero-manifesto:hover{ color:var(--white); border-color:var(--white); }

.hero-card-wrap{ position:relative; }
.hero-card{
  background:var(--charcoal);
  border:1px solid rgba(255,255,255,0.08);
  padding:34px;
  clip-path:polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  position:relative;
}
.hero-card img{ width:100%; max-width:220px; margin:0 auto 8px; }
.hero-card-tag{
  position:absolute;
  font-family:var(--font-mono); font-size:0.68rem; font-weight:600;
  letter-spacing:0.05em; color:var(--black);
  padding:6px 12px; border-radius:2px;
}
.tag-innovation{ top:18px; left:-14px; background:var(--gold); }
.tag-leadership{ bottom:60px; right:-18px; background:var(--red); color:var(--white); }
.tag-digital{ bottom:18px; left:20px; background:var(--green); color:var(--white); }

.hero-stats-bar{
  display:flex; margin-top:20px;
  border:1px solid rgba(255,255,255,0.08);
  background:var(--charcoal);
}
.hero-stats-bar > div{
  flex:1; text-align:center; padding:18px 8px;
  border-right:1px solid rgba(255,255,255,0.08);
}
.hero-stats-bar > div:last-child{ border-right:none; }
.hero-stats-bar strong{
  display:block; font-family:var(--font-display); font-weight:800;
  font-size:1.5rem; color:var(--white);
}
.hero-stats-bar span{
  font-family:var(--font-mono); font-size:0.62rem; text-transform:uppercase;
  letter-spacing:0.08em; color:var(--grey-light);
}

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero{ padding:52px 0 70px; }
}

.hero-below{ background:var(--black); padding:0 0 6px; }
.hero-below .hero-stats-bar{ margin-top:0; }
.hero-manifesto-wrap{ text-align:center; padding:22px 0 34px; background:var(--black); }

/* ---- marquee ---- */
.marquee{
  background:var(--green-dark); overflow:hidden;
  padding:13px 0; border-top:1px solid rgba(255,255,255,0.08);
}
.marquee-track{
  display:flex; gap:18px; white-space:nowrap;
  font-family:var(--font-mono); font-size:0.76rem; font-weight:600;
  letter-spacing:0.08em; color:rgba(255,255,255,0.9);
  animation:marquee 26s linear infinite;
  width:max-content;
}
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---- page-level hero (inner pages) ---- */
.page-hero{
  background:var(--black); color:var(--white);
  padding:70px 0 54px;
  position:relative; overflow:hidden;
}
.page-hero::before{
  content:"";
  position:absolute; top:-120px; left:-120px;
  width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(194,59,59,0.22), transparent 70%);
}
.page-hero .container{ position:relative; z-index:1; }
.page-hero h1{ color:var(--white); margin-bottom:10px; }
.page-hero h1 b{ color:var(--green); }
.page-hero p{ color:rgba(255,255,255,0.72); max-width:560px; font-size:1.02rem; }
.page-hero .eyebrow{ color:var(--gold); }
.page-hero .eyebrow::before{ background:var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:700; font-size:0.92rem;
  padding:14px 26px;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .18s var(--ease), background .2s, border-color .2s, color .2s;
  text-align:center;
}
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 20px; font-size:0.82rem; }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; }

.btn-primary{ background:var(--green); color:var(--white); }
.btn-primary:hover{ background:var(--green-dark); }
.btn-secondary{ background:transparent; color:var(--white); border-color:rgba(255,255,255,0.35); }
.btn-secondary:hover{ border-color:var(--white); }
.btn-red{ background:var(--red); color:var(--white); }
.btn-red:hover{ background:#a02e2e; }
.btn-green{ background:var(--green); color:var(--white); }
.btn-green:hover{ background:var(--green-dark); }
.btn-ghost-dark{ background:transparent; color:var(--black); border-color:var(--black); }
.btn-ghost-dark:hover{ background:var(--black); color:var(--white); }

/* ============================================================
   CARDS
   ============================================================ */
.card{
  background:var(--white);
  border:1px solid var(--line);
  padding:26px;
  transition:border-color .2s, transform .2s;
}
.card:hover{ border-color:var(--green); }
.tag{
  display:inline-block; font-family:var(--font-mono); font-size:0.66rem;
  font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--red); background:rgba(194,59,59,0.08);
  padding:4px 10px; margin-bottom:12px;
}
.card-dark{
  background:var(--charcoal); border:1px solid rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.75);
}
.card-dark h3{ color:var(--white); }
.card-dark .tag{ color:var(--gold); background:rgba(201,162,75,0.1); }

.icon-block{ display:flex; gap:18px; margin-bottom:34px; }
.icon-block .ic{ font-size:1.5rem; flex-shrink:0; line-height:1.5; }
.icon-block h3{ margin-bottom:6px; }
.icon-block ul{ margin-top:8px; }

.value-block{
  display:flex; gap:18px; padding:20px 0;
  border-top:1px solid var(--line);
}
.value-num{
  font-family:var(--font-mono); font-weight:700; font-size:1.1rem;
  color:var(--green); flex-shrink:0; width:34px;
}

.leader-card{ text-align:center; padding:24px 20px 26px; }
.leader-photo{
  width:78px; height:78px; margin:0 auto 16px;
  background:var(--off-white); border:1.5px solid var(--line);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; color:var(--green-dark);
  overflow:hidden;
}
.leader-photo-img{
  width:100%; height:100%; object-fit:cover; object-position:center top;
}
.leader-card .tag{ margin:0 auto 10px; }
.leader-social{ display:flex; gap:10px; justify-content:center; margin-top:14px; }
.leader-social a{
  width:30px; height:30px; border:1px solid var(--line); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:0.66rem; color:var(--grey);
  transition:border-color .2s, color .2s;
}
.leader-social a:hover{ border-color:var(--green); color:var(--green); }

.wing-card{
  padding:22px; border:1px solid var(--line); background:var(--white);
  transition:border-color .2s;
}
.wing-card:hover{ border-color:var(--green); }
.wing-card h3{ font-size:1rem; margin-bottom:8px; }
.wing-card p{ font-size:0.86rem; }

.timeline-photo{
  background:linear-gradient(135deg, var(--off-white), var(--line));
  min-height:280px;
  border:1px solid var(--line);
}
.timeline-photo.has-photo{
  aspect-ratio:4/3.1;
  min-height:0;
  overflow:hidden;
  position:relative;
  border:none;
}
.timeline-photo.has-photo img{
  width:100%; height:100%;
  object-fit:cover; object-position:center 30%;
  display:block;
}

/* ============================================================
   TIERS (membership pricing)
   ============================================================ */
.tier-card{
  padding:28px 24px; border:1.5px solid var(--line); background:var(--white);
  position:relative; transition:border-color .2s, transform .2s;
}
.tier-card:hover{ transform:translateY(-4px); border-color:var(--green); }
.tier-card .tag{ color:var(--grey); background:var(--off-white); }
.tier-fee{
  font-family:var(--font-display); font-weight:800; font-size:1.9rem;
  color:var(--black); margin:14px 0 12px;
}
.tier-fee span{ font-family:var(--font-mono); font-size:0.68rem; font-weight:500; color:var(--grey); text-transform:uppercase; margin-left:4px;}
.tier-card ul{ margin-top:16px; padding-left:0; list-style:none; }
.tier-card li{
  padding-left:20px; position:relative; font-size:0.86rem; color:var(--grey);
}
.tier-card li::before{ content:"—"; position:absolute; left:0; color:var(--green); }
.tier-standard{ border-color:var(--green); border-width:2px; }
.tier-standard .tag{ background:var(--green); color:var(--white); }

/* ============================================================
   FORMS
   ============================================================ */
.form-panel{
  background:var(--off-white);
  border:1px solid var(--line);
  padding:36px;
}
.form-panel.notched{
  clip-path:polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; }
.field label{
  display:block; font-family:var(--font-mono); font-size:0.7rem;
  font-weight:600; letter-spacing:0.05em; text-transform:uppercase;
  color:var(--black); margin-bottom:8px;
}
.field label small{ text-transform:none; letter-spacing:0; color:var(--grey); font-weight:400; }
.req{ color:var(--red); }
.field input, .field select, .field textarea{
  width:100%; padding:13px 14px;
  border:1.5px solid var(--line); background:var(--white);
  font-family:var(--font-body); font-size:0.94rem; color:var(--black);
  transition:border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color:var(--green); outline:none;
}
.field-file input{ padding:10px; }
.hint{ font-size:0.78rem; color:var(--grey); margin-top:6px; }
.checkbox-row{
  display:flex; align-items:flex-start; gap:10px; margin-bottom:20px; font-size:0.85rem; color:var(--grey);
}
.checkbox-row input{ margin-top:3px; flex-shrink:0; width:16px; height:16px; accent-color:var(--green); }

.form-success{
  display:none; align-items:flex-start; gap:14px;
  background:var(--green-dark); color:var(--white);
  padding:26px 30px; margin-top:20px;
}
.form-success.show{ display:flex; }
.form-success strong{ color:var(--white); }

@media (max-width:620px){ .form-row{ grid-template-columns:1fr; } }

/* ---- donate method cards ---- */
.method-card{
  border:1.5px solid var(--line); padding:20px; cursor:pointer;
  text-align:center; transition:border-color .2s, background .2s;
}
.method-card .m-ic{ font-size:1.6rem; display:block; margin-bottom:10px; }
.method-card h3{ font-size:0.98rem; margin-bottom:4px; }
.method-card p{ font-size:0.78rem; }
.method-card.method-active{ border-color:var(--green); background:rgba(30,122,76,0.05); }

/* ============================================================
   ACCORDION (policies)
   ============================================================ */
.accordion-item{ border-bottom:1px solid var(--line); }
.accordion-item:first-child{ border-top:1px solid var(--line); }
.accordion-head{
  width:100%; background:none; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 0; text-align:left;
}
.accordion-num{
  font-family:var(--font-mono); font-weight:700; color:var(--green);
  font-size:0.9rem;
}
.accordion-head h3{ margin:0; font-size:1.05rem; }
.accordion-icon{
  font-family:var(--font-display); font-size:1.3rem; color:var(--grey);
  transition:transform .25s var(--ease);
  flex-shrink:0;
}
.accordion-item.open .accordion-icon{ transform:rotate(45deg); color:var(--red); }
.accordion-body{
  max-height:0; overflow:hidden; transition:max-height .35s var(--ease);
}
.accordion-item.open .accordion-body{ max-height:600px; }
.accordion-body-inner{ padding:0 0 26px 42px; }
.accordion-body-inner ul{ margin-top:10px; }
.accordion-body-inner li{ margin-bottom:8px; }

/* ---- pill nav (news filters) ---- */
.pill-nav{
  display:flex; gap:8px; flex-wrap:wrap; padding-bottom:8px;
  border-bottom:1px solid var(--line);
}
.pill-nav a{
  font-family:var(--font-mono); font-size:0.72rem; font-weight:600;
  letter-spacing:0.04em; text-transform:uppercase;
  padding:9px 16px; color:var(--grey);
  border:1px solid var(--line); border-radius:20px;
  transition:all .2s;
}
.pill-nav a:hover{ border-color:var(--green); color:var(--green); }
.pill-nav a.active{ background:var(--black); color:var(--white); border-color:var(--black); }

/* ---- table ---- */
table{ width:100%; border-collapse:collapse; font-size:0.9rem; }
thead th{
  text-align:left; font-family:var(--font-mono); font-size:0.66rem;
  text-transform:uppercase; letter-spacing:0.07em; color:var(--grey);
  padding:12px 16px; border-bottom:2px solid var(--black);
}
tbody td{ padding:14px 16px; border-bottom:1px solid var(--line); color:var(--black); }
tbody tr:hover{ background:var(--off-white); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band{
  background:var(--green-dark); color:var(--white);
  padding:70px 0; text-align:center;
  position:relative; overflow:hidden;
}
.cta-band::before{
  content:"";
  position:absolute; bottom:-140px; right:-100px;
  width:380px; height:380px; border-radius:50%;
  background:radial-gradient(circle, rgba(201,162,75,0.18), transparent 70%);
}
.cta-band .container{ position:relative; z-index:1; max-width:680px; }
.cta-band h2{ color:var(--white); margin-bottom:14px; }
.cta-band p{ color:rgba(255,255,255,0.78); margin-bottom:30px; }
.cta-band .btn-row{ justify-content:center; }
.cta-band .btn-secondary{ border-color:rgba(255,255,255,0.4); }

/* ============================================================
   ADMIN DASHBOARD
   ============================================================ */
.admin-shell{ display:grid; grid-template-columns:220px 1fr; min-height:70vh; }
.admin-tabs{ background:var(--charcoal); padding:20px 0; }
.admin-tab{
  display:block; width:100%; text-align:left; background:none; border:none;
  color:var(--grey-light); padding:12px 24px; font-size:0.86rem; font-weight:600;
  border-left:3px solid transparent; cursor:pointer; font-family:var(--font-body);
}
.admin-tab:hover{ background:rgba(255,255,255,0.05); }
.admin-tab.active{ color:var(--white); border-color:var(--red); background:rgba(255,255,255,0.06); }
.admin-main{ padding:34px; background:var(--off-white); }
.stat-card{ background:var(--white); border:1px solid var(--line); padding:20px; }
.stat-card strong{ display:block; font-family:var(--font-display); font-size:1.8rem; }
.stat-card span{ font-family:var(--font-mono); font-size:0.68rem; text-transform:uppercase; color:var(--grey); }
@media (max-width:800px){ .admin-shell{ grid-template-columns:1fr; } }

/* ---- brand mark used in portal card ---- */
.brand-mark{ font-family:var(--font-display); font-weight:800; font-size:1.4rem; }

/* ============================================================
   FOOTER (injected by nav.js)
   ============================================================ */
.site-footer{ background:var(--black); color:rgba(255,255,255,0.6); padding-top:70px; }
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px;
  max-width:1180px; margin:0 auto; padding:0 28px 50px;
}
.footer-brand{ font-family:var(--font-display); font-weight:800; font-size:1.5rem; color:var(--white); margin-bottom:14px; }
.footer-logo-chip{
  display:inline-flex; background:var(--off-white);
  padding:8px 14px; border-radius:9px; margin-bottom:16px;
  box-shadow:0 2px 12px rgba(0,0,0,0.35);
}
.footer-logo{ height:48px; width:auto; display:block; }
.footer-col h4{
  font-family:var(--font-mono); font-size:0.7rem; text-transform:uppercase;
  letter-spacing:0.1em; color:var(--gold); margin-bottom:16px; font-weight:600;
}
.footer-col ul{ list-style:none; padding:0; margin:0; }
.footer-col li{ margin-bottom:10px; }
.footer-col a{ font-size:0.88rem; color:rgba(255,255,255,0.62); transition:color .2s; }
.footer-col a:hover{ color:var(--white); }
.footer-motto{ font-size:0.92rem; max-width:280px; line-height:1.6; margin-bottom:18px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:34px; height:34px; border:1px solid rgba(255,255,255,0.18); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:0.7rem;
}
.footer-social a:hover{ border-color:var(--gold); color:var(--gold); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);
  padding:22px 28px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  max-width:1180px; margin:0 auto; font-size:0.76rem; font-family:var(--font-mono);
}
.footer-bottom a{ color:rgba(255,255,255,0.5); margin-left:18px; }
.footer-bottom a:hover{ color:var(--white); }

@media (max-width:800px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:520px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; }
  .footer-bottom a{ margin-left:0; margin-right:14px; }
}

/* ---- news search highlight-hide ---- */
.news-card.hidden-by-search{ display:none; }

/* ---- animated counters ---- */
.count-up{ }
