
:root{
  --bg:#ffffff;
  --ink:#0f172a;
  --muted:#475569;
  --line:#e2e8f0;
  --soft:#f8fafc;
  --accent:#1e40af;
  --gold:#f59e0b;
  --shadow:0 14px 34px rgba(2,6,23,.10);
  --r:18px;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.7;
}
a{color:inherit}
.wrap{max-width:var(--max); margin:auto; padding:0 20px}
header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0; gap:12px;
  flex-wrap:nowrap;
}

.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; font-weight:800; letter-spacing:.2px;
}
.logo{
  width:34px; height:34px; border-radius:12px;
  background:linear-gradient(135deg, var(--accent), #60a5fa);
  box-shadow:0 10px 26px rgba(30,64,175,.18);
}
.links{display:flex; gap:10px; flex-wrap:wrap}
.links a{
  text-decoration:none;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}
.links a:hover{background:var(--soft); color:var(--ink)}
.links a.active{background:rgba(30,64,175,.08); color:var(--ink); border:1px solid rgba(30,64,175,.12)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px; border-radius:14px; text-decoration:none;
  border:1px solid var(--line);
  background:#fff;
  gap:8px;
}
.btn.primary{
  background:var(--accent); color:#fff; border-color:transparent;
  box-shadow:0 12px 26px rgba(30,64,175,.22);
}
.btn.primary:hover{filter:brightness(.98)}
.btn.ghost:hover{background:var(--soft)}
section{padding:56px 0}
.hero{
  padding:58px 0 34px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(1200px 500px at 15% -15%, rgba(30,64,175,.14), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(245,158,11,.12), transparent 55%);
}
.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}
h1{font-size:clamp(30px,4.2vw,46px); line-height:1.15; margin:8px 0 10px}
.sub{color:var(--muted); max-width:72ch}
.kicker{color:var(--muted); font-weight:700; letter-spacing:.3px}
.card{
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:18px;
  box-shadow:var(--shadow);
}
.heroArt{
  border-radius:var(--r);
  border:1px solid var(--line);
  overflow:hidden;
  min-height:260px;
  display:flex;
  align-items:flex-end;
  background:
    linear-gradient(180deg, rgba(2,6,23,.00), rgba(2,6,23,.55)),
    url('assets/images/hero.webp') center/cover no-repeat;
}
.heroArt.fallback{
  background:
    radial-gradient(900px 480px at 25% 20%, rgba(96,165,250,.55), transparent 60%),
    radial-gradient(760px 420px at 80% 35%, rgba(245,158,11,.45), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.00), rgba(2,6,23,.42));
}
.heroArt .caption{
  padding:16px 16px 18px;
  color:#fff;
}
.heroArt .caption strong{display:block; font-size:18px}
.heroArt .caption span{opacity:.9; font-size:14px}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}
h2{font-size:26px; margin:0 0 10px}
p{color:var(--muted)}
.notice{
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-left:4px solid var(--gold);
  padding:12px 14px;
  border-radius:14px;
  color:#7c2d12;
}
.pills{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:14px;
}
.dot{width:10px; height:10px; border-radius:999px; background:var(--gold)}
.hr{height:1px; background:var(--line); margin:18px 0}
.small{font-size:13px; color:var(--muted)}

details{
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 14px;
  background:#fff;
}
details + details{margin-top:10px}
summary{
  cursor:pointer;
  font-weight:700;
  color:var(--ink);
}
details p{margin:10px 0 0}

.reveal{opacity:0; transform:translateY(14px); transition:opacity .55s ease, transform .55s ease}
.reveal.show{opacity:1; transform:none}

/* Scroll-to-top button */
#scrollTopBtn{
  cursor:pointer;
}



/* Floating Action Buttons (Donate + Top) */
.fab{
  position:fixed;
  right:16px;
  bottom:16px;
  left:auto;                /* important: prevents drifting to left */
  z-index:60;

  display:flex;
  flex-direction:column;
  gap:10px;
}




.modalBackdrop{
  position:fixed; inset:0; background:rgba(2,6,23,.55);
  display:none; align-items:center; justify-content:center;
  padding:18px; z-index:100;
}
.modal{
  width:min(640px, 100%);
  background:#fff;
  border-radius:20px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.modalHead{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
}
.modalBody{padding:16px}
.x{
  border:0; background:transparent; font-size:22px; cursor:pointer; color:var(--muted);
}
@media (max-width: 920px){
  .heroGrid{grid-template-columns:1fr}
  .heroArt{min-height:220px}
}


/* Burger button */
.burger{
  display:none;
  width:44px; height:44px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  cursor:pointer;
  align-items:center;
  justify-content:center;
  padding:10px;
  gap:5px;
}
.burger span{
  display:block;
  height:2px;
  width:100%;
  background:var(--ink);
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}

/* Mobile menu behavior */
@media (max-width: 920px){
  .burger{display:inline-flex;}

  /* hide links by default on mobile */
  .links{
    display:none;
    width:100%;
    flex-direction:column;
    gap:6px;
    margin-top:10px;
    padding:10px;
    border:1px solid var(--line);
    border-radius:16px;
    background:#fff;
  }

  /* show when menu open */
  .nav.menuOpen .links{display:flex;}

  /* make nav stack brand + burger on one row, menu below */
  .nav{
    flex-wrap:wrap; /* allow menu to go to next line */
  }
  .brand{flex:1;}
}

/* Burger animation when open */
.nav.menuOpen .burger span:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.nav.menuOpen .burger span:nth-child(2){
  opacity:0;
}
.nav.menuOpen .burger span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}


.site-logo{
  width:34px;
  height:34px;
  object-fit:contain;
}

