:root {
  --bg: #050505;
  --neon: #b8ff2e;
  --neon-glow: rgba(184, 255, 46, 0.55);
  --muted: #9ca3af;
  --line: rgba(255,255,255,.12);
  --max: 1280px;
  --font: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.shell { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.hdr { position: sticky; top: 0; z-index: 50; padding: 16px 0; background: rgba(5,5,5,.92); backdrop-filter: blur(12px); border-bottom: 1px solid #1a1a1a; }
.hdr-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.75rem 2.25rem;
  min-height: 80px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--neon), #22d3ee);
  color: #04100a; font-weight: 800; font-size: 11px; letter-spacing: -.04em;
  display: grid; place-items: center;
  box-shadow: 0 0 24px var(--neon-glow);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; gap: 2px; }
.logo-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.logo-sub { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: lowercase; color: var(--muted); }
.hdr .logo { gap: 16px; font-size: 36px; }
.hdr .logo-mark {
  width: 80px; height: 80px; border-radius: 18px; font-size: 22px;
  box-shadow: 0 0 28px var(--neon-glow);
}
.hdr .logo-text { line-height: 1.02; gap: 4px; }
.hdr .logo-name { font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.hdr .logo-sub { font-size: 18px; letter-spacing: .16em; }
.logo span.accent { color: var(--neon); }
.nav-links { display: none; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; min-width: 0; }
.nav-group {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}
.nav-group a {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-group a:hover {
  color: #0a1400;
  background: var(--neon);
  box-shadow: 0 0 18px rgba(184,255,46,.35);
}
.nav-group a.is-active {
  color: #0a1400;
  background: var(--neon);
  box-shadow: 0 0 18px rgba(184,255,46,.35);
}
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 13px; }
.pill-neon { background: var(--neon); color: #0a1400; box-shadow: 0 0 24px var(--neon-glow); }
.pill-outline { border: 1px solid #333; color: #fff; margin-top: 1rem; }
.page { padding: 56px 0 80px; }
.page .k { color: var(--neon); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; margin-bottom: 16px; }
.page .lead { color: var(--muted); font-size: 17px; max-width: 640px; margin-bottom: 28px; }
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 14px; color: #ddd; font-size: 15px; }
.prose h2 { font-size: 1.15rem; color: #fff; margin-top: 10px; }
.card-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 24px; }
.card { border: 1px solid #222; border-radius: 18px; padding: 20px; background: #141414; }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
footer { border-top: 1px solid #1a1a1a; padding: 32px 0; color: var(--muted); font-size: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.foot-links a:hover { color: var(--neon); }

/* Full-bleed visual plane under sticky header */
.page-bleed {
  position: relative;
  width: 100%;
  min-height: min(42vh, 400px);
  background-size: cover;
  background-position: center;
  background-color: #111;
}
.page-bleed::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.72) 0%, rgba(5,5,5,.25) 55%, rgba(5,5,5,.55) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 42%);
  pointer-events: none;
}
.page-bleed-caption {
  position: absolute;
  z-index: 1;
  left: max(1rem, calc((100% - var(--max)) / 2));
  bottom: 28px;
  max-width: 28rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}

.visual-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0 28px;
}
.visual-strip > b {
  display: block;
  aspect-ratio: 5 / 4;
  background-size: cover;
  background-position: center;
  background-color: #1a1a1a;
}
@media (max-width: 640px) {
  .visual-strip { grid-template-columns: 1fr 1fr; }
  .visual-strip > b:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

.flow {
  display: grid;
  gap: 10px;
  margin: 8px 0 8px;
}
.flow-item {
  border-left: 2px solid var(--neon);
  padding: 6px 0 6px 14px;
}
.flow-item strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.flow-item span { color: var(--muted); font-size: 14px; }

@media (min-width: 1100px) { .nav-links { display: flex; } }
@media (max-width: 1099px) {
  .hdr-row { grid-template-columns: auto auto; gap: 1rem; }
  .hdr-row > .pill { margin-left: auto; }
}
@media (max-width: 720px) {
  .hdr .logo { gap: 12px; }
  .hdr .logo-mark { width: 56px; height: 56px; border-radius: 14px; font-size: 16px; }
  .hdr .logo-name { font-size: 26px; }
  .hdr .logo-sub { font-size: 13px; }
  .hdr-row { min-height: 64px; }
}

/* Mobile hamburger + drawer */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .2s, opacity .2s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,.55);
}
.nav-drawer {
  position: fixed;
  z-index: 95;
  top: 0;
  right: 0;
  width: min(100%, 320px);
  height: 100%;
  background: #0a0a0a;
  border-left: 1px solid #222;
  padding: 88px 20px 28px;
  overflow-y: auto;
  box-shadow: -16px 0 48px rgba(0,0,0,.45);
}
.nav-drawer-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.nav-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-drawer-list a {
  display: block;
  padding: 14px 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border: 1px solid transparent;
}
.nav-drawer-list a:hover,
.nav-drawer-list a.is-active {
  background: rgba(184,255,46,.12);
  border-color: rgba(184,255,46,.35);
  color: var(--neon);
}
body.nav-open { overflow: hidden; }
@media (max-width: 1099px) {
  .nav-burger { display: inline-flex !important; }
  .hdr-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .nav-links { display: none !important; }
  .hdr .logo-sub { display: none; }
}
@media (min-width: 1100px) {
  .nav-burger,
  .nav-drawer,
  .nav-backdrop { display: none !important; }
}

/* Ukraine Relief Ledger */
.ukraine-bleed { position: relative; }
.ukraine-flag-bar {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, #005BBB 50%, #FFD500 50%);
}
.ledger-h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -.02em;
  margin: 0 0 8px;
  font-weight: 800;
}
.ledger-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0 8px;
}
.ledger-stat {
  border: 1px solid #222;
  border-radius: 16px;
  padding: 16px 14px;
  background: #101010;
}
.ledger-stat strong {
  display: block;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #FFD500;
  margin-bottom: 4px;
}
.ledger-stat span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.ledger-list { display: flex; flex-direction: column; gap: 14px; }
.ledger-card {
  border: 1px solid #222;
  border-radius: 18px;
  padding: 20px;
  background: #141414;
}
.ledger-card-empty { border-style: dashed; }
.ledger-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.ledger-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #005BBB;
  margin-bottom: 6px;
}
.ledger-card h3 { font-size: 17px; margin: 0; }
.ledger-body { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.ledger-meta {
  list-style: none;
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 13px;
  color: #ddd;
}
.ledger-meta strong { color: #fff; margin-right: 6px; }
.ledger-partners { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.ledger-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(184, 255, 46, 0.14);
  color: var(--neon);
  border: 1px solid rgba(184, 255, 46, 0.35);
}
.ledger-badge-pending {
  background: rgba(255, 213, 0, 0.1);
  color: #FFD500;
  border-color: rgba(255, 213, 0, 0.35);
}
.ledger-mission-media { margin: 12px 0 0; }
.ledger-note { color: var(--muted); font-size: 14px; margin-top: 10px; }
@media (max-width: 640px) {
  .ledger-stats { grid-template-columns: 1fr; }
}
