/* ================================================================
   PANTHEION — Our Impact Page (pantheion-impact.css)
   ================================================================ */

.nav-active { color: white !important; }
.nav-active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--terra);
  margin-top: -2px;
}

/* ================================================================
   HERO
   ================================================================ */
.oi-hero {
  position: relative;
  height: auto;
  min-height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: calc(var(--nav-h) + 40px);
  background: var(--primary);
}

/* Background: warm gradient (no photo) */
.oi-hero-bg {
   position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(112,71,58,0.25) 0%, transparent 65%),
    linear-gradient(135deg, #1e1e30 0%, #30304a 55%, #1c1814 100%);
}

/* Decorative large letter */

.oi-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.10) 40%,
    rgba(0,0,0,0.25) 100%
  );
}

.oi-hero-content {
  position: relative; z-index: 2;
  padding: 0 6vw;
  max-width: 700px;
  opacity: 0;
  transform: translateY(20px);
  animation: oiFadeUp 0.9s 0.3s ease forwards;
}
@keyframes oiFadeUp { to { opacity: 1; transform: none; } }

.oi-hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 14px;
  display: block;
}
.oi-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(46px, 4.2vw, 82px);
  font-weight: 300;
  color: white;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.oi-hero-title em {
  font-style: italic;
  color: rgba(255,255,255,0.7);
}
.oi-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.oi-br { display: block; }

/* ================================================================
   INTRO
   ================================================================ */
.oi-intro {
  background: var(--bg);
  padding: 100px 5vw 0;
}
.oi-intro-inner {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
}
.oi-intro-inner .section-label { text-align: center; }
.oi-intro-body {
  display: block;
  gap: 40px;
  text-align: center;
  margin-top: 8px;
}
.oi-intro-body p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.85;
}

/* Three pillars */
.oi-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.oi-pillar {
  background: var(--bg-warm);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.oi-pillar-icon {
  font-size: 22px;
  color: var(--terra);
  line-height: 1;
}
.oi-pillar strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.2px;
}
.oi-pillar p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.oi-how {
  background: var(--primary);
  padding: 100px 5vw;
}
.oi-how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.oi-how-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
}
.oi-how-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.oi-how-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.oi-how-step:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.oi-how-step-num {
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--terra);
  line-height: 1;
  min-width: 36px;
  margin-top: 2px;
}
.oi-how-step strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}
.oi-how-step p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* ================================================================
   CHARITIES
   ================================================================ */
.oi-charities {
  background: var(--bg);
  padding: 48px 5vw 100px;
}
.oi-charities::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: var(--terra);
  margin: 0 auto 48px;
  opacity: 0.6;
}
.oi-charities-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.oi-charities-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 10px;
}

/* Individual charity card */
.oi-charity {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto 24px;
  border: 1px solid var(--border);
  background: white;
  overflow: hidden;
  transition: box-shadow 0.35s, transform 0.35s;
}
.oi-charity:hover {
  box-shadow: 0 8px 48px rgba(48,48,74,0.09);
  transform: translateY(-2px);
}

/* Alternating colour accents per charity */
.oi-charity--karo       { border-top: 3px solid #C0392B; }
.oi-charity--yoda       { border-top: 3px solid #8E44AD; }
.oi-charity--happypaws  { border-top: 3px solid #27AE60; }

/* Logo column */
.oi-charity-img-col {
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.oi-charity-logo-wrap {
  width: 160px; height: 120px;
  display: flex; align-items: center; justify-content: center;
}
.oi-charity-logo-wrap img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
}
.oi-charity-logo-wrap.oi-logo-fallback {
  background: var(--bg-warm);
  border: 1px solid var(--border);
}
.oi-charity-cause-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 5px 14px;
  background: white;
}

/* Content column */
.oi-charity-content {
  padding: 48px 52px 48px 48px;
}
.oi-charity-name {
  font-family: var(--ff-display);
  font-size: 34px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.oi-charity-tagline {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--brown);
  margin-bottom: 20px;
}
.oi-charity-body {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 560px;
}

/* Testimonial quote */
.oi-charity-quote {
  border-left: 3px solid var(--terra);
  padding-left: 24px;
  margin: 0;
}
.oi-charity-quote p {
  font-family: var(--ff-display);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.oi-charity-quote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.oi-charity-quote footer strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}
.oi-charity-quote footer span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================================================================
   CLOSING STATEMENT
   ================================================================ */
.oi-closing {
  background: var(--bg-warm);
  padding: 80px 5vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.oi-closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.oi-closing-quote-mark {
  font-family: var(--ff-display);
  font-size: 100px;
  color: var(--terra);
  opacity: 0.18;
  line-height: 0.7;
  display: block;
  margin-bottom: 8px;
}
.oi-closing-text {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: var(--primary);
  line-height: 1.55;
  letter-spacing: -0.3px;
}

/* ================================================================
   CTA
   ================================================================ */
.oi-cta {
  background: var(--primary);
  padding: 80px 5vw;
  border-top: 3px solid var(--terra);
}
.oi-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.oi-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .oi-intro-body { grid-template-columns: 1fr; gap: 20px; }
  .oi-how-inner  { grid-template-columns: 1fr; gap: 48px; }
  .oi-charity    { grid-template-columns: 1fr; }
  .oi-charity-img-col { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 32px; flex-direction: row; gap: 24px; }
  .oi-charity-content { padding: 36px; }
  .oi-pillars    { grid-template-columns: 1fr 1fr; }
  .oi-cta-inner  { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .oi-hero { height: auto; min-height: 0; align-items: center; padding-top: calc(var(--nav-h) + 24px); padding-bottom: calc(var(--nav-h) + 24px); }
  .oi-hero-gradient::after { display: none; }
  .oi-br { display: inline; }
  .oi-pillars { grid-template-columns: 1fr; }
  .oi-charity-img-col { flex-direction: column; padding: 32px; }
  .oi-charity-content { padding: 28px 24px; }
  .oi-cta-actions { flex-direction: column; width: 100%; }
  .oi-cta-actions a, .oi-cta-actions button { width: 100%; text-align: center; }
  .oi-charities-header { margin-bottom: 48px; }
  .oi-charities { padding: 72px 5vw; }
}
