/* Cane for Generation — International NGO Platform */
:root {
  --ink: #0a1628;
  --ink-2: #132338;
  --ink-3: #1c3048;
  --paper: #f7f4ef;
  --paper-2: #ebe6dc;
  --white: #ffffff;
  --navy: #0b1d3a;
  --navy-deep: #061224;
  --gold: #c9a227;
  --gold-soft: #e8c547;
  --gold-dim: rgba(201, 162, 39, 0.45);
  --green: #1a7a4c;
  --green-deep: #0f5a36;
  --teal: #0d7377;
  --muted: #5a6570;
  --muted-2: #8a939c;
  --line: rgba(10, 22, 40, 0.08);
  --line-light: rgba(255, 255, 255, 0.12);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Instrument Sans", system-ui, sans-serif;
  --shell: min(1180px, calc(100% - 40px));
  --shell-wide: min(1320px, calc(100% - 40px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(201, 162, 39, 0.45);
  --shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 22, 40, 0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.shell-wide { width: var(--shell-wide); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 9999;
  background: var(--gold); color: var(--ink); padding: 12px 18px;
  font-weight: 600; font-size: 0.875rem; border-radius: 4px;
}
.skip:focus { top: 16px; outline: none; box-shadow: var(--focus); }
:focus { outline: none; }
:focus-visible { box-shadow: var(--focus); }

.progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 4000; transition: width 0.1s linear;
}

/* ========== Header ========== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 3000;
  height: 72px;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s, height 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-on {
  background: rgba(11, 29, 58, 0.94);
  border-bottom-color: var(--line-light);
  backdrop-filter: blur(16px);
  height: 64px;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  color: #fff;
}
.logo__mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.95rem; color: var(--navy-deep);
  letter-spacing: -0.02em;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name {
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em;
}
.logo__tag {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.65;
}
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 8px 12px;
  font-size: 0.8125rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
  border-radius: 6px;
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav__cta {
  margin-left: 12px;
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav__cta:hover {
  background: var(--gold-soft) !important;
  transform: translateY(-1px);
}
.burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed; inset: 64px 0 0; z-index: 2990;
  background: var(--navy);
  padding: 24px 20px;
  flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.mobile-nav.is-open {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.mobile-nav a {
  padding: 14px 16px;
  font-size: 1.05rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.mobile-nav .nav__cta {
  margin: 16px 0 0; text-align: center;
  display: block;
}

/* ========== Typography ========== */
.eyebrow {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--gold-soft); }
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.display--light { color: #fff; }
.display em { font-style: italic; color: var(--gold); }
.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.7;
}
.lead--light { color: rgba(255,255,255,0.78); }
.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--light .display { color: #fff; }
.section-head--light .lead { color: rgba(255,255,255,0.75); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  font-size: 0.9rem; font-weight: 600;
  border-radius: 10px;
  border: 0; cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: var(--gold); color: var(--navy-deep);
}
.btn--gold:hover { background: var(--gold-soft); box-shadow: 0 8px 24px rgba(201,162,39,0.35); }
.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  border-color: #fff; background: rgba(255,255,255,0.08);
}
.btn--navy {
  background: var(--navy); color: #fff;
}
.btn--navy:hover { background: var(--ink-2); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 0.8125rem; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(6,18,36,0.88) 0%, rgba(11,29,58,0.75) 50%, rgba(13,45,70,0.7) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, 60px 60px;
}
.hero__inner { position: relative; z-index: 2; max-width: 720px; }
.hero__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 24px;
  padding: 6px 14px;
  background: rgba(201,162,39,0.12);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 100px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold-soft); }
.hero__lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
}
.hero__stat { padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child { border-right: 0; }
.hero__stat-num {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--gold-soft);
  line-height: 1.2;
}
.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ========== Crisis Banner ========== */
.crisis {
  background: var(--ink);
  color: #fff;
  padding: 28px 0;
}
.crisis__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.crisis__text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  max-width: 70ch;
}
.crisis__text strong { color: var(--gold-soft); }

/* ========== Pillars / Work Areas ========== */
.work {
  padding: 100px 0;
  background: var(--paper);
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.work-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  opacity: 0;
  transition: opacity 0.3s;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.work-card:hover::before { opacity: 1; }
.work-card__icon {
  width: 48px; height: 48px;
  background: rgba(201,162,39,0.1);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.work-card__title {
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.work-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.work-card__link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}
.work-card__link:hover { color: var(--green-deep); }

/* ========== About / Mission ========== */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--navy) 0%, var(--ink-3) 100%);
  display: grid; place-items: center;
}
.about__visual-inner {
  text-align: center; padding: 40px;
  color: #fff;
}
.about__visual-quote {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.95);
}
.about__visual-attr {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.about__content .lead { margin-bottom: 28px; }
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.value {
  padding: 16px 18px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.value__title {
  font-size: 0.875rem; font-weight: 600;
  margin-bottom: 4px;
}
.value__text {
  font-size: 0.8rem; color: var(--muted);
}

/* ========== Vision Mission ========== */
.vm {
  padding: 80px 0;
  background: var(--navy);
  color: #fff;
}
.vm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.vm-card {
  padding: 40px 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
}
.vm-card__label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.vm-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

/* ========== Impact ========== */
.impact {
  padding: 100px 0;
  background: var(--paper);
}
.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.impact-stat {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.impact-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.impact-stat__num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 8px;
}
.impact-stat__label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.pathway {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  border: 1px solid var(--line);
}
.pathway__title {
  font-size: 1.25rem; font-weight: 600;
  margin-bottom: 32px;
  text-align: center;
}
.pathway__steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  position: relative;
}
.pathway__steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  opacity: 0.35;
}
.pathway__step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.pathway__dot {
  width: 56px; height: 56px;
  background: var(--paper);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
}
.pathway__step-title {
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 4px;
}
.pathway__step-text {
  font-size: 0.75rem; color: var(--muted);
}

/* ========== Stories ========== */
.stories {
  padding: 100px 0;
  background: var(--white);
}
.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.story-card {
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.story-card__media {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink-3) 100%);
  display: grid; place-items: center;
  font-size: 2.5rem;
}
.story-card__body { padding: 28px 24px; }
.story-card__tag {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.story-card__title {
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 10px;
}
.story-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ========== Partners ========== */
.partners {
  padding: 80px 0;
  background: var(--paper);
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.partner-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-2);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.partner-pill:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow);
}

/* ========== CTA Band ========== */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink-2) 100%);
  color: #fff;
  text-align: center;
}
.cta-band .display { margin-bottom: 16px; }
.cta-band .lead { margin-inline: auto; margin-bottom: 32px; }
.cta-band__actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
}

/* ========== Get Involved ========== */
.involve {
  padding: 100px 0;
  background: var(--white);
}
.involve__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.involve-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.involve-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.involve-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.involve-card__title {
  font-size: 1.15rem; font-weight: 600;
  margin-bottom: 10px;
}
.involve-card__text {
  font-size: 0.9rem; color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ========== Contact ========== */
.contact {
  padding: 100px 0;
  background: var(--paper);
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact__info h3 {
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 8px;
}
.contact__info p {
  font-size: 0.95rem; color: var(--muted);
  margin-bottom: 24px;
}
.contact-item {
  display: flex; gap: 14px;
  margin-bottom: 20px;
}
.contact-item__icon {
  width: 40px; height: 40px;
  background: rgba(201,162,39,0.12);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-item__label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 2px;
}
.contact-item__value {
  font-size: 0.95rem; font-weight: 500;
}
.form {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form__group { margin-bottom: 16px; }
.form__group label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.15);
  outline: none;
  background: var(--white);
}
.form__group textarea { min-height: 120px; resize: vertical; }

/* ========== Footer ========== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 32ch;
  margin-bottom: 20px;
}
.footer__social {
  display: flex; gap: 10px;
}
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s;
}
.footer__social a:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold);
  color: var(--gold-soft);
}
.footer__col h4 {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  font-size: 0.9rem;
  padding: 5px 0;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ========== Page Hero (inner pages) ========== */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201,162,39,0.12), transparent 50%);
  pointer-events: none;
}
.page-hero .shell { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.page-hero .lead { color: rgba(255,255,255,0.75); }

/* ========== Content blocks ========== */
.content-block {
  padding: 72px 0;
}
.content-block--alt { background: var(--white); }
.content-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.content-block h3 {
  font-size: 1.15rem; font-weight: 600;
  margin: 28px 0 12px;
}
.content-block p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 72ch;
  line-height: 1.7;
}
.content-block ul {
  margin: 12px 0 20px 0;
}
.content-block li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.6;
}
.content-block li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ========== Detail cards ========== */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
}
.detail-card h3 {
  font-size: 1.05rem; font-weight: 600;
  margin: 0 0 10px;
  display: flex; align-items: center; gap: 10px;
}
.detail-card p {
  font-size: 0.9rem;
  margin: 0;
}

/* ========== Regions ========== */
.regions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px;
}
.region-tag {
  padding: 8px 16px;
  background: rgba(11,29,58,0.06);
  border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--ink-2);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .stories__grid { grid-template-columns: 1fr 1fr; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .involve__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero__stat { border-right: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 16px; }
  .pathway__steps { flex-wrap: wrap; gap: 24px; }
  .pathway__steps::before { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  .about__grid,
  .vm__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .work__grid { grid-template-columns: 1fr; }
  .stories__grid { grid-template-columns: 1fr; }
  .impact__grid { grid-template-columns: 1fr 1fr; }
  .about__values { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero__stats { margin-top: 48px; }
}
@media (max-width: 480px) {
  .impact__grid { grid-template-columns: 1fr; }
  .partners__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== UPGRADE: Top bar + white header (beats freehosting template) ========== */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  padding: 8px 0;
  position: relative;
  z-index: 3010;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.topbar a:hover { color: var(--gold-soft); }
.topbar__left { display: flex; align-items: center; gap: 16px; }
.topbar__social { display: flex; gap: 12px; }
.topbar__social a {
  width: 28px; height: 28px; border-radius: 6px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.7rem;
}
.topbar__social a:hover { border-color: var(--gold); background: rgba(255,255,255,0.06); }

/* Header sits below topbar; dual mode */
body.has-topbar .header { top: 36px; }
body.has-topbar .mobile-nav { top: 100px; }
.header--light {
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header--light .logo__name,
.header--light .logo__tag { color: var(--ink); }
.header--light .logo__tag { opacity: 0.55; }
.header--light .logo__mark {
  background: linear-gradient(135deg, var(--navy), var(--ink-2));
  color: var(--gold-soft);
}
.header--light .nav a { color: var(--muted); }
.header--light .nav a:hover,
.header--light .nav a.is-active { color: var(--navy); }
.header--light .burger span { background: var(--ink); }
.header.is-on.header--light {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
}

/* Hero with photo */
.hero--photo {
  min-height: 92vh;
  padding-top: 140px;
}
.hero--photo .hero__bg {
  background:
    linear-gradient(105deg, rgba(6,18,36,0.88) 0%, rgba(11,29,58,0.72) 42%, rgba(11,29,58,0.50) 100%),
    url('../images/home-hero-smiling-children.jpg') center/cover no-repeat;
}
.hero__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero__pillar {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.hero__pillar:last-child { border-right: 0; }
.hero__pillar-icon { font-size: 1.35rem; margin-bottom: 10px; }
.hero__pillar-title {
  font-size: 0.9rem; font-weight: 600; color: #fff; margin-bottom: 4px;
}
.hero__pillar-text {
  font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.45;
}

/* Big impact counters */
.stats-band {
  padding: 72px 0;
  background: var(--white);
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-block__icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.35rem;
  background: rgba(201,162,39,0.1);
}
.stat-block__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.1;
  font-weight: 400;
}
.stat-block__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 8px;
}

/* Program cards — cleaner 4-col like reference but richer */
.programs-clean {
  padding: 100px 0 60px;
  background: var(--white);
}
.programs-clean__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.prog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  background: var(--white);
}
.prog-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.prog-card__icon--teal { background: rgba(13,115,119,0.12); }
.prog-card__icon--gold { background: rgba(201,162,39,0.15); }
.prog-card__icon--purple { background: rgba(99,70,160,0.12); }
.prog-card__icon--blue { background: rgba(37,99,180,0.12); }
.prog-card__icon--green { background: rgba(26,122,76,0.12); }
.prog-card__icon--coral { background: rgba(180,70,50,0.1); }
.prog-card h3 {
  font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--ink);
}
.prog-card p {
  font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 14px;
}
.prog-card a {
  font-size: 0.85rem; font-weight: 600; color: var(--green);
}
.prog-card a:hover { color: var(--green-deep); }

/* Split CTA bar */
.split-cta {
  background: var(--navy);
  color: #fff;
  padding: 28px 0;
}
.split-cta__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.split-cta__text h3 {
  font-size: 1.15rem; font-weight: 600; margin-bottom: 4px;
}
.split-cta__text p {
  font-size: 0.9rem; color: rgba(255,255,255,0.65);
}
.split-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .programs-clean__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hero__pillars { grid-template-columns: repeat(2, 1fr); }
  .hero__pillar { border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  body.has-topbar .header { top: 0; }
  .programs-clean__grid { grid-template-columns: 1fr; }
  .hero__pillars { grid-template-columns: 1fr; }
  .hero__pillar { border-right: 0; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
}

/* Real logo image */
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.header--light .logo img { filter: none; }
.footer .logo img { height: 40px; filter: brightness(0) invert(1); }
.logo__mark { display: none; }
.logo.has-img .logo__text { display: none; }
.logo.has-img { gap: 0; }

/* About photo layout */
.about-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 360px;
}

.page-hero--photo {
  background: linear-gradient(180deg, rgba(6,18,36,0.78) 0%, rgba(11,29,58,0.82) 100%),
    url('../images/about-children-smiling.jpg') center/cover no-repeat !important;
}
.page-hero--photo::after { display: none; }
