/* css/our-projects.css */

.page-hero            { background: var(--black); }
.page-hero h1         { color: var(--white); }
.page-hero p          { color: rgba(255,255,255,0.6); }
.page-hero-ghost      { color: rgba(255,255,255,0.04); }

/* ── PROJECT BLOCK ── */
.project-block { padding: 7rem 0; }
.project-block + .project-block { border-top: 1px solid var(--grey-200); }
.project-block.alt { background: var(--grey-100); }

.project-top { display: flex; align-items: flex-end; gap: 3rem; margin-bottom: 4rem; flex-wrap: wrap; }
.project-big-num {
  font-family: var(--font-display); font-size: 8rem; font-weight: 900;
  line-height: 0.85; color: rgba(0,0,0,0.06); flex-shrink: 0;
}
.project-block.alt .project-big-num { color: rgba(0,0,0,0.05); }
.project-title-wrap h2 { margin-bottom: 0.625rem; }
.status-pill {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; padding: 0.28rem 0.75rem; border-radius: 100px;
}
.pill-active   { background: #e8f5e9; color: #2e7d32; }
.pill-raising  { background: #fff8e1; color: #f57c00; }

.project-body { display: grid; grid-template-columns: 3fr 2fr; gap: 5rem; }
.project-body p { font-size: 1rem; color: #444; line-height: 1.9; margin-bottom: 1.25rem; }

/* callout box inside project body */
.project-callout {
  margin-top: 2.5rem; padding: 2.5rem;
  background: var(--white); border-left: 4px solid var(--accent);
}
.project-callout .callout-tag { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--grey-400); display: block; margin-bottom: 0.75rem; }
.project-callout h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.project-callout p  { font-size: 0.9rem; color: #555; line-height: 1.8; margin-bottom: 1.5rem; }

/* stats sidebar */
.project-metrics { position: sticky; top: 100px; height: fit-content; }
.metric-row { display: flex; justify-content: space-between; align-items: baseline; padding: 1.125rem 0; border-bottom: 1px solid var(--grey-200); gap: 1rem; }
.metric-row:first-child { border-top: 1px solid var(--grey-200); }
.m-label { font-size: 0.8rem; color: var(--grey-400); }
.m-val   { font-family: var(--font-display); font-size: 1.75rem; font-weight: 900; text-align: right; }
.m-val.sm { font-size: 1rem; font-family: var(--font-body); font-weight: 500; }

.feedback-box   { background: var(--grey-100); padding: 2rem; margin-top: 2rem; }
.feedback-box h4 { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-400); margin-bottom: 1.25rem; font-weight: 600; }
.fb-row   { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.fb-label { font-size: 0.82rem; color: #555; min-width: 160px; }
.fb-bar   { flex: 1; height: 4px; background: var(--grey-200); border-radius: 2px; overflow: hidden; }
.fb-fill  { height: 100%; background: var(--crimson); border-radius: 2px; }
.fb-pct   { font-size: 0.82rem; font-weight: 600; min-width: 38px; text-align: right; }
.metrics-note { font-size: 0.72rem; color: var(--grey-400); margin-top: 1.25rem; line-height: 1.65; }

/* ── SPONSORSHIP ── */
.sponsor-section { background: var(--grey-100); padding: 7rem 0; }
.sponsor-intro   { max-width: 560px; margin-bottom: 4rem; }
.sponsor-intro p { color: #555; margin-top: 1rem; line-height: 1.8; }

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Base card */
.tier-card {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-top: 4px solid var(--grey-200);
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.tier-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}

/* Featured card overrides */
.tier-card.featured {
  background: var(--black);
  border-color: var(--black);
  border-top-color: var(--accent);
  color: var(--white);
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}
.tier-card.featured:hover {
  transform: translateY(-16px);
  box-shadow: 0 32px 72px rgba(0,0,0,0.28);
}

/* Badge */
.tier-badge {
  display: inline-block;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; padding: 0.3rem 0.75rem;
  background: var(--accent); color: var(--black);
  margin-bottom: 1.5rem; width: fit-content;
}

/* Top block: name + price */
.tier-top { margin-bottom: 2rem; }
.tier-name {
  display: block;
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: var(--grey-400); margin-bottom: 1rem;
}
.tier-card.featured .tier-name { color: rgba(255,255,255,0.4); }

.tier-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 900; line-height: 1; color: var(--black);
}
.tier-card.featured .tier-price { color: var(--accent); }

.tier-price-note {
  font-size: 0.75rem; color: var(--grey-400);
  margin-top: 0.4rem;
}
.tier-card.featured .tier-price-note { color: rgba(255,255,255,0.3); }

/* Feature list */
.tier-list { list-style: none; flex: 1; margin-bottom: 2rem; }
.tier-list li {
  font-size: 0.875rem; color: #444;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--grey-200);
  display: flex; align-items: flex-start; gap: 0.625rem; line-height: 1.5;
}
.tier-list li::before {
  content: '✓';
  color: var(--crimson); font-weight: 700; font-size: 0.8rem;
  flex-shrink: 0; margin-top: 0.05rem;
}
.tier-card.featured .tier-list li { border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); }
.tier-card.featured .tier-list li::before { color: var(--accent); }

/* CTA */
.tier-cta { margin-top: auto; }
.btn-full  { width: 100%; text-align: center; display: block; }

.tier-note {
  text-align: center; font-size: 0.78rem;
  color: var(--grey-400); margin-top: 3rem;
  letter-spacing: 0.04em;
}

/* ── SDGs ── */
.sdg-section { background: var(--grey-100); }
.sdg-intro   { color: #555; font-size: 1rem; margin-bottom: 3.5rem; max-width: 560px; }

.sdg-primary-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5px; background: var(--grey-200); margin-bottom: 3.5rem;
}
.sdg-card { background: var(--white); padding: 2.5rem; }
.sdg-num  { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 0.75rem; }
.sdg-card h4 { font-size: 1rem; margin-bottom: 1.25rem; }
.sdg-card ul { list-style: none; }
.sdg-card ul li { font-size: 0.875rem; color: #555; line-height: 1.75; padding: 0.5rem 0; border-bottom: 1px solid var(--grey-100); display: flex; gap: 0.625rem; }
.sdg-card ul li::before { content: '—'; color: var(--grey-400); flex-shrink: 0; }
.sdg-card ul li:last-child { border-bottom: none; }

.sdg-secondary-label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--grey-400); margin-bottom: 1.25rem; }
.sdg-secondary-grid  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5px; background: var(--grey-200); }
.sdg-card-sm { background: var(--white); padding: 2rem 2.5rem; display: flex; gap: 2rem; align-items: flex-start; }
.sdg-num-sm  { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--grey-400); white-space: nowrap; padding-top: 0.2rem; min-width: 52px; }
.sdg-card-sm h5 { font-size: 0.9rem; margin-bottom: 0.4rem; }
.sdg-card-sm p  { font-size: 0.85rem; color: #666; line-height: 1.7; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .project-body        { grid-template-columns: 1fr; }
  .project-metrics     { position: static; }
  .tiers-grid          { grid-template-columns: 1fr; }
  .sdg-primary-grid    { grid-template-columns: 1fr; }
  .sdg-secondary-grid  { grid-template-columns: 1fr; }
}
