/* ============================================================
   MINDSETMATTERS — OSSAI EMEKE LEGACY FOUNDATION
   Bootstrap 5 theme override — brand: deep purple / magenta / gold
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,900;1,9..144,500;1,9..144,600&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root{
  /* Bootstrap variable overrides */
  --bs-body-font-family: 'Inter', sans-serif;
  --bs-body-color: #241833;
  --bs-body-bg: #FBF7EF;
  --bs-primary: #4A1F80;
  --bs-primary-rgb: 74,31,128;
  --bs-secondary: #B32C7A;
  --bs-secondary-rgb: 179,44,122;
  --bs-link-color: #B32C7A;
  --bs-link-hover-color: #4A1F80;
  --bs-border-radius: .5rem;
  --bs-border-radius-lg: .75rem;

  /* Brand tokens (used directly in custom classes) */
  --purple-deep:  #1E1030;
  --purple-royal: #4A1F80;
  --purple-mid:   #341A5C;
  --magenta:      #B32C7A;
  --gold:         #D8AE49;
  --gold-light:   #F0D98C;
  --paper:        #FBF7EF;
  --paper-dim:    #F1EAE0;
  --ink:          #241833;
  --ink-soft:     #5C5069;
  --line:         #E4DACB;

  --font-display: 'Fraunces', serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body{ line-height: 1.65; }
h1,h2,h3,h4,h5{ font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
a{ text-decoration: none; }

/* ---------- Bootstrap button remap to brand ---------- */
.btn-primary{
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-color: var(--purple-deep);
  --bs-btn-hover-bg: #E8C065;
  --bs-btn-hover-border-color: #E8C065;
  --bs-btn-hover-color: var(--purple-deep);
  --bs-btn-active-bg: #E8C065;
  --bs-btn-active-color: var(--purple-deep);
  font-weight: 700;
  border-radius: 30px;
  padding: .7rem 1.6rem;
}
.btn-secondary{
  --bs-btn-bg: var(--magenta);
  --bs-btn-border-color: var(--magenta);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #9c2568;
  --bs-btn-hover-border-color: #9c2568;
  font-weight: 700;
  border-radius: 30px;
  padding: .7rem 1.6rem;
}
.btn-outline-light{
  border-radius: 30px;
  font-weight: 600;
  padding: .68rem 1.55rem;
}
.btn-outline-light:hover{ background: var(--gold); border-color: var(--gold); color: var(--purple-deep); }

/* ---------- eyebrow / ledger label (signature brand motif) ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--magenta);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: .9rem;
}
.eyebrow::before{ content:""; width: 22px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.on-dark{ color: var(--gold-light); }

/* rising tally divider */
.tally{ display:flex; align-items:flex-end; gap:4px; height:26px; }
.tally span{ display:block; width:5px; background: var(--gold); border-radius:1px; }
.tally span:nth-child(1){height:35%;} .tally span:nth-child(2){height:55%;}
.tally span:nth-child(3){height:70%;} .tally span:nth-child(4){height:88%;}
.tally span:nth-child(5){height:100%; background: var(--magenta);}

/* ---------- Navbar ---------- */
.navbar-brand-mm{ display:flex; align-items:center; gap:.65rem; }
.navbar-brand-mm img{ height:42px; width:42px; border-radius:50%; object-fit:cover; border:2px solid var(--gold); }
.navbar-brand-mm .bt{ display:flex; flex-direction:column; line-height:1.15; }
.navbar-brand-mm strong{ font-family: var(--font-display); color: var(--paper); font-size:1.05rem; }
.navbar-brand-mm span{ font-family: var(--font-mono); color: var(--gold-light); font-size:.6rem; letter-spacing:.08em; text-transform:uppercase; }
.navbar-mm{ background: rgba(30,16,48,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(216,174,73,.25); }
.navbar-mm .nav-link{ color:#EAE2F5; font-weight:500; font-size:.92rem; }
.navbar-mm .nav-link.active,
.navbar-mm .nav-link:hover{ color: var(--gold-light); }
.navbar-mm .btn-primary{ padding:.5rem 1.15rem; font-size:.85rem; }

/* ---------- Hero ---------- */
.hero-mm{
  background:
    radial-gradient(ellipse at 18% 0%, rgba(179,44,122,.35), transparent 55%),
    radial-gradient(ellipse at 88% 100%, rgba(216,174,73,.18), transparent 50%),
    linear-gradient(160deg,var(--purple-deep) 0%, var(--purple-royal) 100%);
  color: var(--paper);
  padding: 6rem 0 5.5rem;
}
.hero-mm h1{ font-size: clamp(2.3rem,4.4vw,3.4rem); color: var(--paper); }
.hero-mm h1 em{ font-style: italic; color: var(--gold-light); }
.hero-mm p.lead{ color:#DCD2EC; font-size:1.1rem; max-width:50ch; }
.hero-photo{ border-radius:14px; overflow:hidden; border:1px solid rgba(216,174,73,.4); box-shadow:0 30px 60px rgba(0,0,0,.4); transform:rotate(2deg); }
.hero-photo img{ width:100%; aspect-ratio:1/1; object-fit:cover; }
.hero-stats{ border-top:1px solid rgba(251,247,239,.18); padding-top:1.3rem; margin-top:1.6rem; }
.hero-stats strong{ font-family:var(--font-mono); font-size:1.4rem; color:var(--gold-light); display:block; }
.hero-stats span{ font-size:.72rem; color:#C9BEDD; text-transform:uppercase; letter-spacing:.06em; }

/* ---------- Page header (inner pages) ---------- */
.page-header-mm{
  background: linear-gradient(160deg,var(--purple-deep),var(--purple-mid));
  color: var(--paper);
  padding: 4.6rem 0 3.4rem;
}
.page-header-mm h1{ font-size: clamp(1.9rem,3.8vw,2.7rem); color:var(--paper); }
.page-header-mm p{ color:#D2C6E6; max-width:60ch; }
.breadcrumb-mm{ font-family: var(--font-mono); font-size:.72rem; color:#B9AAD6; letter-spacing:.06em; margin-bottom:1rem; }
.breadcrumb-mm a{ color: var(--gold-light); }

/* ---------- Sections ---------- */
.section-dark-mm{ background: var(--purple-deep); color: var(--paper); }
.section-dark-mm h2{ color: var(--paper); }
.section-dark-mm p{ color:#CBC0DE; }
.section-dim-mm{ background: var(--paper-dim); }

/* ---------- Cards ---------- */
.card-mm{ border:1px solid var(--line); border-radius: var(--bs-border-radius-lg); background:#fff; }
.card-mm .card-img-top{ height:190px; object-fit:cover; }
.tag-mm{ font-family: var(--font-mono); font-size:.68rem; color: var(--magenta); letter-spacing:.06em; text-transform:uppercase; }

.pillar-card{ border:1px solid var(--line); border-radius: var(--bs-border-radius-lg); background:#fff; padding:1.6rem 1.4rem; height:100%; }
.pillar-card .num{ font-family: var(--font-mono); font-size:.68rem; color: var(--magenta); letter-spacing:.08em; }

/* founder quote block */
.founder-quote{ font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height:1.4; color: var(--paper); }
.founder-quote span{ color: var(--gold-light); font-size:2rem; }
.founder-name{ font-family: var(--font-mono); font-size:.8rem; color: var(--gold-light); letter-spacing:.04em; margin-top:1.2rem; }
.founder-name small{ display:block; color:#BBAFD0; font-size:.68rem; margin-top:2px; letter-spacing:.05em; }

/* CTA band */
.cta-band-mm{ background: linear-gradient(120deg,var(--magenta),var(--purple-royal)); color:#fff; padding: 4.4rem 0; }
.cta-band-mm h2{ color:#fff; }
.cta-band-mm p{ color:#F3E3EE; max-width:56ch; margin: 0 auto; }

/* Team */
.team-card-mm{ border:1px solid var(--line); border-radius: var(--bs-border-radius-lg); background:#fff; padding:1.4rem; height:100%; }
.team-avatar-mm{
  width:50px; height:50px; border-radius:50%;
  background: linear-gradient(135deg,var(--magenta),var(--purple-royal));
  color: var(--gold-light); font-family: var(--font-display); font-weight:700; font-size:1.1rem;
  display:flex; align-items:center; justify-content:center; margin-bottom:.85rem;
}
.role-mm{ font-family: var(--font-mono); font-size:.66rem; color: var(--magenta); text-transform:uppercase; letter-spacing:.05em; display:block; margin-bottom:.4rem; }

/* Roadmap / timeline */
.roadmap-mm{ border-left:2px solid var(--line); padding-left:1.6rem; margin-left:.4rem; }
.roadmap-mm .item{ position:relative; padding-bottom:2.3rem; }
.roadmap-mm .item:last-child{ padding-bottom:0; }
.roadmap-mm .item::before{
  content:""; position:absolute; left:-1.95rem; top:.25rem; width:12px; height:12px; border-radius:50%;
  background: var(--gold); border:3px solid var(--paper); box-shadow:0 0 0 1px var(--gold);
}

/* Gallery */
.gallery-figure{ border:1px solid var(--line); border-radius: var(--bs-border-radius); overflow:hidden; background:#fff; margin-bottom:1.1rem; }
.gallery-figure img{ width:100%; display:block; }
.gallery-figure figcaption{ padding:.7rem .85rem; font-size:.82rem; color: var(--ink-soft); }
.filter-btn-mm{
  font-family: var(--font-mono); font-size:.7rem; letter-spacing:.04em; text-transform:uppercase;
  border-radius:20px; border:1px solid var(--line); background:#fff; color: var(--ink-soft);
}
.filter-btn-mm.active,.filter-btn-mm:hover{ background: var(--purple-deep); color: var(--gold-light); border-color: var(--purple-deep); }

/* Donate */
.bank-row{ display:flex; justify-content:space-between; align-items:center; padding:.8rem 0; border-bottom:1px dashed var(--line); }
.bank-row:last-child{ border-bottom:none; }
.bank-row .label{ font-size:.76rem; color: var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; }
.bank-row .value{ font-family: var(--font-mono); font-weight:600; }
.copy-btn{ font-family: var(--font-mono); font-size:.68rem; background: var(--paper-dim); border:1px solid var(--line); border-radius:5px; padding:.3rem .6rem; }
.copy-btn:hover{ background: var(--gold-light); }

/* Forms */
.form-control:focus, .form-select:focus{ border-color: var(--magenta); box-shadow: 0 0 0 .2rem rgba(179,44,122,.15); }
.form-label{ font-size:.8rem; font-weight:600; }

/* Footer */
.footer-mm{ background: var(--purple-deep); color:#CBC0DE; padding: 3.6rem 0 1.6rem; }
.footer-mm h4{ color: var(--paper); font-family: var(--font-mono); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:.9rem; }
.footer-mm a{ color:#CBC0DE; font-size:.87rem; }
.footer-mm a:hover{ color: var(--gold-light); }
.footer-mm .social-row a{
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(251,247,239,.2);
  display:flex; align-items:center; justify-content:center;
}
.footer-mm .social-row a:hover{ border-color: var(--gold); }
.footer-bottom-mm{ border-top:1px solid rgba(251,247,239,.14); padding-top:1.4rem; font-size:.78rem; color:#9D8FBB; }

/* Beneficiary chips */
.beneficiary-chip{ background:#fff; border:1px solid var(--line); border-radius: var(--bs-border-radius); padding:1rem; font-weight:600; font-size:.9rem; text-align:center; height:100%; display:flex; align-items:center; justify-content:center; }
