/* ==========================================================
   GGBT Impact Foundation - Static Site
   Update tokens like [[FOUNDATION_NAME]] in the BOOKMARK_WORKSHEET.
   ========================================================== */

:root{
  --bg: #0b0f14;
  --bg2:#0f1620;
  --card:#121a24;
  --text:#e9eef6;
  --muted:#b5c0d0;
  --line:#233041;
  --accent:#f2b84b;
  --accent2:#67d3ff;
  --danger:#ff6b6b;
  --success:#47e28a;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 16px;
  --radius2: 24px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
/* html,body{height:100%} */
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1200px 800px at 20% 0%, rgba(103,211,255,.12), transparent 55%),
              radial-gradient(900px 600px at 80% 10%, rgba(242,184,75,.10), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.6;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
a:hover{opacity:.9}

.container{width:min(var(--max), calc(100% - 40px)); margin:0 auto}
.sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background: rgba(11,15,20,.78);
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(35,48,65,.65);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px; min-width: 210px}
.brand-logo{width:296px; height:90px; border-radius:12px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06)}
.brand-text{display:flex; flex-direction:column; gap:2px}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-tagline{font-size:12px; color:var(--muted)}

.nav{display:flex; align-items:center; gap:14px; flex-wrap:wrap; justify-content:flex-end}
.nav a{font-size:14px; color:var(--muted)}
.nav a.btn{color:#0b0f14}

.nav-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius:12px;
  padding:10px 12px;
  color:var(--text);
}
.burger{
  width:18px; height:2px; background: var(--text);
  display:block; position:relative; border-radius:2px;
}
.burger:before, .burger:after{
  content:""; position:absolute; left:0; width:18px; height:2px; background: var(--text); border-radius:2px;
}
.burger:before{top:-6px}
.burger:after{top:6px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn-small{padding:10px 14px; font-size:14px}
.btn-primary{
  background: linear-gradient(90deg, var(--accent), #ffd58a);
  border-color: rgba(0,0,0,.25);
  color:#0b0f14;
}
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,.18);
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:var(--muted);
  font-size:13px;
}

/* Hero */
.hero{
  padding:44px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:24px;
  align-items:stretch;
}
.hero-card{
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: var(--radius2);
  padding:28px;
  box-shadow: var(--shadow);
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height:1.15;
  letter-spacing:.2px;
}
.hero p{
  margin:0 0 18px;
  color: var(--muted);
  font-size: 16px;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.hero-media{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  position:relative;
}
.hero-media img{width:100%; height:100%; object-fit:cover; min-height: 320px}
.hero-media .overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(11,15,20,.15), rgba(11,15,20,.85));
}
.hero-media .overlay-content{
  position:absolute; left:18px; right:18px; bottom:18px;
  display:flex; flex-direction:column; gap:10px;
}
.kpis{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.kpi{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius:14px;
  padding:12px;
}
.kpi strong{display:block; font-size:18px}
.kpi span{color:var(--muted); font-size:12px}

/* Sections */
.section{padding:26px 0}
.section h2{
  margin:0 0 12px;
  font-size:22px;
  letter-spacing:.2px;
}
.section p{margin:0 0 14px; color:var(--muted)}
.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid-2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}
.card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:18px;
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); font-size:14px}
.card a.inline{color: var(--accent2); font-weight:700}

.callout{
  border:1px solid rgba(103,211,255,.25);
  background: linear-gradient(180deg, rgba(103,211,255,.08), rgba(255,255,255,.02));
  border-radius: var(--radius2);
  padding:18px;
}
.callout strong{color: #d8f4ff}

.hr{height:1px; background: rgba(255,255,255,.10); margin:18px 0}

/* Page header */
.page-hero{
  padding:30px 0 20px;
}
.page-hero .wrap{
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.breadcrumb{color:var(--muted); font-size:13px}
.page-hero h1{margin:6px 0 0; font-size:32px}
.page-hero p{margin:10px 0 0; color:var(--muted); max-width: 70ch}
.page-hero .mini-actions{display:flex; gap:10px; flex-wrap:wrap}

/* Forms */
.form{
  display:grid; gap:12px;
}
.field{display:grid; gap:6px}
label{font-size:13px; color:var(--muted)}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  outline: none;
}
textarea{min-height: 140px; resize: vertical}
.help{font-size:12px; color:var(--muted)}
.alert{
  border-radius: 14px;
  padding: 12px 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
}
.alert-danger{border-color: rgba(255,107,107,.35); background: rgba(255,107,107,.10)}
.alert-success{border-color: rgba(71,226,138,.35); background: rgba(71,226,138,.10)}

/* Footer */
.site-footer{
  margin-top: 28px;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(11,15,20,.55);
}
.footer-grid{
  padding:26px 0;
  display:grid;
  grid-template-columns: 1.2fr .9fr .7fr .7fr;
  gap:16px;
}
.footer-brand{display:flex; gap:12px; align-items:center}
.footer-logo{width:44px; height:44px; object-fit:contain; border-radius:12px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.06)}
.footer-title{font-weight:900}
.footer-muted{color:var(--muted); font-size:13px}
.footer-note{color:var(--muted); font-size:13px; margin:12px 0 0}
.footer-heading{font-weight:800; margin-bottom:10px}
.footer-list{list-style:none; padding:0; margin:0; display:grid; gap:8px; color:var(--muted); font-size:14px}
.footer-list a{color:var(--muted)}
.footer-mini{margin-top:12px}
.footer-bottom{
  padding:14px 0;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  color:var(--muted);
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-bottom-links{display:flex; gap:14px}
.footer-bottom-links a{color:var(--muted)}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr 1fr}
}
@media (max-width: 760px){
  .nav-toggle{display:inline-flex}
  .nav{
    display:none;
    width:100%;
    border-top:1px solid rgba(255,255,255,.10);
    padding-top:10px;
    margin-top:10px;
    justify-content:flex-start;
  }
  .nav.is-open{display:flex}
  .header-inner{flex-wrap:wrap}
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .kpis{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
}
