:root {
  --navy: #151d4a;
  --navy-deep: #0d1230;
  --navy-light: #232f6f;
  --gold: #d9b979;
  --gold-light: #f0dcae;
  --gold-deep: #c3a05c;
  --ink: #1b2340;
  --paper: #faf9f6;
  --paper-dim: #f1efe8;
  --line: #e3dfd2;
  --muted: #5b6178;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 29, 74, 0.12);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand img { height: 42px; width: 42px; border-radius: 8px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .b1 { font-size: 15px; letter-spacing: 1px; }
.brand-text .b2 { font-size: 10px; font-weight: 400; color: var(--gold-light); font-style: italic; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #dfe2f2;
  font-size: 14.5px;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

.nav-links a.cta {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  border-bottom: none;
}
.nav-links a.cta:hover { background: var(--gold-light); color: var(--navy-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 20% 20%, var(--navy-light), var(--navy) 55%, var(--navy-deep));
  color: #fff;
  padding: 76px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(217,185,121,0.18), transparent 60%);
  pointer-events: none;
}

.hero .logo-big { width: 128px; height: 128px; margin: 0 auto 22px; border-radius: 22px; box-shadow: var(--shadow); }

.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero .tagline {
  color: var(--gold-light);
  font-style: italic;
  font-size: 17px;
  margin-bottom: 18px;
}

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 30px;
  color: #dfe2f2;
  font-size: 16.5px;
}

.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); color: var(--navy-deep); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(217,185,121,0.35); }

.btn-outline { border: 1.5px solid rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ---------- SDG strip ---------- */
.sdg-strip {
  background: var(--navy-deep);
  padding: 18px 0;
}
.sdg-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.sdg-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfd3ea;
  font-size: 12.5px;
  background: rgba(255,255,255,0.05);
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
}
.sdg-num {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 11px; color: #fff;
}
.sdg-3 { background: #4c9f38; }
.sdg-10 { background: #dd1367; }
.sdg-11 { background: #fd9d24; }
.sdg-17 { background: #19486a; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--paper-dim); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 8px;
  display: block;
}

h2.section-title {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 18px;
  font-weight: 800;
  color: var(--navy);
}

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 16px; }

/* ---------- Story / letter block ---------- */
.letter {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}

.letter p { margin: 0 0 18px; color: var(--ink); font-size: 16px; }
.letter p:last-of-type { margin-bottom: 0; }

.signature {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.signature .sig-name { font-weight: 700; color: var(--navy); }
.signature .sig-role { font-size: 13.5px; color: var(--muted); }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); }

.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .zh { font-size: 13px; color: var(--gold-deep); font-style: italic; margin-bottom: 6px; display:block; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 46px;
}
.stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 16px;
  box-shadow: var(--shadow);
}
.stat .num { font-size: 32px; font-weight: 800; color: var(--navy); }
.stat .num span { color: var(--gold-deep); }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- Milestones ---------- */
.milestone-group { margin-bottom: 64px; }
.milestone-group:last-child { margin-bottom: 0; }

.milestone-group .group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.milestone-group .group-head h3 {
  font-size: 21px;
  color: var(--navy);
  margin: 0;
}
.group-tag {
  background: var(--navy);
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

.embed-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.embed-card .embed-caption {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.embed-card iframe, .embed-card blockquote { width: 100% !important; }

.highlight-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s, border-color .2s;
}
.highlight-pill:hover { background: var(--gold-light); border-color: var(--gold); }

/* ---------- Photo grid (side-by-side, e.g. literature reviews) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}

.photo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.photo-card .photo-frame {
  background: var(--paper-dim);
  display: flex;
}
.photo-card img { width: 100%; height: 320px; object-fit: contain; display: block; }
.photo-card .photo-caption {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- Volunteering sub-groups + photo stack ---------- */
.volunteering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  gap: 28px;
  margin-bottom: 28px;
}

.volunteering-block { margin-bottom: 0; }

.sub-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.sub-head .sub-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  background: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.photo-stack {
  position: relative;
  width: 100%;
  cursor: zoom-in;
}
.photo-stack .stack-layer {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.photo-stack .stack-layer.l1 { transform: rotate(-5deg) translate(-8px, 6px); z-index: 1; }
.photo-stack .stack-layer.l2 { transform: rotate(4deg) translate(8px, 3px); z-index: 2; }
.photo-stack .stack-cover {
  position: relative;
  z-index: 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.photo-stack .stack-cover img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.photo-stack:hover .stack-cover img { transform: scale(1.05); }
.photo-stack .stack-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 18, 48, 0.92);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 70px 80px;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 900px; width: 100%; text-align: center; }
.lightbox-inner img {
  max-height: 76vh;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption { color: #dfe2f2; font-size: 14px; margin-top: 16px; }
.lightbox-counter { color: var(--gold-light); font-size: 12.5px; margin-top: 6px; letter-spacing: 0.5px; }

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  line-height: 1;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: -46px; right: 0; width: 38px; height: 38px; font-size: 20px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 20px; }
.lightbox-prev { left: -68px; }
.lightbox-next { right: -68px; }

@media (max-width: 760px) {
  .lightbox { padding: 60px 16px; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .lightbox-close { top: -40px; right: 0; }
}

/* ---------- Instagram / contact ---------- */
.ig-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  border-radius: 20px;
  padding: 44px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.ig-card .ig-icon {
  width: 84px; height: 84px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f0dcae, #c3a05c);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  flex-shrink: 0;
}
.ig-card h3 { margin: 0 0 6px; font-size: 22px; }
.ig-card p { margin: 0 0 16px; color: #cfd3ea; font-size: 14.5px; max-width: 520px; }
.ig-stats { display: flex; gap: 26px; margin-bottom: 18px; flex-wrap: wrap; }
.ig-stats div { text-align: left; }
.ig-stats .n { font-weight: 800; font-size: 19px; }
.ig-stats .l { font-size: 12px; color: var(--gold-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.info-list .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.info-list strong { display: block; color: var(--navy); font-size: 14.5px; }
.info-list span { color: var(--muted); font-size: 13.5px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #b7bcd6;
  padding: 46px 0 28px;
  font-size: 13.5px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.footer-brand img { height: 34px; width: 34px; border-radius: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
