/* ============================================================
   Benjamin Runga Foundation — About Page Styles (about.css)
   ============================================================ */

/* PAGE NAV */
.page-nav {
  background: var(--off-white); border-bottom: 1px solid rgba(27,52,92,0.1);
  position: sticky; top: 72px; z-index: 999;
  overflow-x: auto;
}
.page-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 0; padding: 0 2rem;
}
.page-nav a {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; color: #666; text-decoration: none;
  padding: 1rem 1.25rem; border-bottom: 3px solid transparent;
  white-space: nowrap; transition: all 0.2s;
}
.page-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* SECTIONS */
.section { padding: 3rem 2rem; background: var(--off-white); }
.section-inner {
  max-width: 1100px; margin: 0 auto;
  background: var(--white); border-radius: 14px; padding: 3.5rem;
  box-shadow: 0 4px 40px rgba(27,52,92,0.09), 0 1px 4px rgba(27,52,92,0.04);
  border: 1px solid rgba(27,52,92,0.07);
}
.section-alt { background: var(--off-white); }

.prose p { margin-bottom: 1.1rem; font-size: 1rem; }
.prose p:last-child { margin-bottom: 0; }

/* SUB-SECTIONS */
.subsection { margin-top: 3.5rem; }
.subsection-title {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
  color: var(--navy); margin-bottom: 1rem;
  padding-left: 1rem; border-left: 4px solid var(--accent);
}

/* BLOCKQUOTE */
blockquote {
  background: var(--white); border-left: 4px solid var(--accent);
  padding: 1.5rem 2rem; margin: 2rem 0; border-radius: 0 6px 6px 0;
  font-family: var(--serif); font-size: 1.1rem; font-style: italic;
  color: var(--navy); line-height: 1.6;
}
blockquote cite {
  display: block; margin-top: 0.75rem; font-style: normal;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.05em;
}

/* BULLET LIST */
.styled-list { list-style: none; margin: 1rem 0; }
.styled-list li {
  padding: 0.6rem 0 0.6rem 1.75rem; position: relative;
  font-size: 1rem; border-bottom: 1px solid rgba(27,52,92,0.07);
}
.styled-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
}

/* TWO-COLUMN LAYOUT */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.two-col-65 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 760px) {
  .two-col, .two-col-65 { grid-template-columns: 1fr; gap: 2rem; }
  .section-inner { padding: 2rem 1.5rem; }
}

/* STAT CALLOUT */
.stat-callout {
  background: var(--navy); color: var(--white);
  padding: 2.5rem; border-radius: 6px; text-align: center;
}
.stat-callout .num {
  font-family: var(--serif); font-size: 3.5rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.stat-callout .lbl { font-size: 0.85rem; font-weight: 500; opacity: 0.8; margin-top: 0.4rem; }

/* CHALLENGE STATS */
.challenge-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0;
}
.challenge-card {
  background: var(--white); border-top: 4px solid var(--accent);
  padding: 1.5rem; border-radius: 0 0 6px 6px; text-align: center;
}
.challenge-card .big { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--navy); }
.challenge-card .desc { font-size: 0.83rem; color: #555; margin-top: 0.4rem; line-height: 1.5; }
@media (max-width: 600px) { .challenge-stats { grid-template-columns: 1fr; } }

/* OPERATIONS CARDS */
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.ops-card {
  background: var(--white); border-radius: 6px; padding: 2rem;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.ops-card h4 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  color: var(--navy); margin-bottom: 0.75rem;
}
.ops-card p { font-size: 0.92rem; color: #444; }
@media (max-width: 600px) { .ops-grid { grid-template-columns: 1fr; } }

/* PROGRAM INFO */
.program-info { margin-top: 1.5rem; }
.program-row {
  display: flex; gap: 1rem; padding: 0.85rem 0;
  border-bottom: 1px solid rgba(27,52,92,0.08);
}
.program-row:last-child { border-bottom: none; }
.program-label {
  min-width: 120px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); padding-top: 0.1rem;
}
.program-value { font-size: 0.95rem; color: var(--text); }
@media (max-width: 600px) {
  .program-label { min-width: 85px; font-size: 0.72rem; }
  .program-row { gap: 0.6rem; }
  .program-value { font-size: 0.88rem; }
}

/* CIRCLE CARDS — OUR PEOPLE */
.people-section { padding: 5rem 2rem; background: var(--navy); }
.people-inner { max-width: 1200px; margin: 0 auto; }
.people-inner .section-eyebrow { color: rgba(255,255,255,0.6); }
.people-inner .section-title { color: var(--white); margin-bottom: 0.75rem; }
.people-inner .section-title span { color: var(--accent); }
.people-intro { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 100%; margin-bottom: 3rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  justify-items: center;
}
@media (max-width: 700px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .team-member { width: clamp(130px, 40vw, 200px); height: clamp(130px, 40vw, 200px); }
}
@media (max-width: 420px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-member {
  width: 200px; height: 200px;
  border-radius: 50%; position: relative; overflow: hidden;
  border: 3px solid var(--accent); flex-shrink: 0;
}
.team-photo {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  background: rgba(255,255,255,0.85);
}
.team-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(27,52,92,0.88);
  padding: 0.65rem 0.5rem 0.7rem;
  text-align: center;
  transition: background 0.22s ease;
}
.team-name {
  display: block; font-weight: 700; font-size: 0.8rem;
  color: var(--white); line-height: 1.3;
  transition: color 0.2s ease;
}
.team-title {
  display: block; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--accent); line-height: 1.4; margin-top: 0.15rem;
}
.team-member:hover .team-info { background: var(--accent); }
.team-member:hover .team-name { color: var(--white); }
.team-member:hover .team-title { color: var(--white); }

/* VOLUNTEERS SUB-SECTION */
.volunteers-wrap {
  margin-top: 4rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.volunteers-heading {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  color: rgba(255,255,255,0.6); margin-bottom: 2.5rem;
}
.vol-group { margin-bottom: 2.5rem; }
.vol-group:last-child { margin-bottom: 0; }
.vol-group-label {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem; padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.vol-grid { display: flex; flex-wrap: wrap; gap: 1.75rem 1.5rem; }
.vol-member {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 0.5rem; width: 110px;
}
.vol-photo {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; display: block;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.85);
}
.vol-name {
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.6); line-height: 1.3;
}
.vol-role {
  font-size: 0.6rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.3;
}
.vol-member.alumni .vol-photo { filter: grayscale(70%); opacity: 0.55; }
.vol-member.alumni .vol-name { color: rgba(255,255,255,0.35); }

/* COLLAPSIBLE ALUMNI TOGGLE */
.vol-group-toggle {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
  padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s ease;
}
.vol-group-toggle:hover { color: rgba(255,255,255,0.6); }
.vol-toggle-icon { font-size: 0.65rem; transition: transform 0.25s ease; }
.vol-group-toggle[aria-expanded="true"] .vol-toggle-icon { transform: rotate(180deg); }
#alumni-grid { display: none; margin-top: 1.5rem; }
#alumni-grid.open { display: flex; }

/* VALUES */
.values-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.5rem; margin-top: 2rem;
}
.value-card {
  flex: 1 1 200px; max-width: 240px;
  border-radius: 10px; padding: 2rem 1.5rem;
  box-shadow: 0 4px 20px rgba(27,52,92,0.12);
  text-align: center; transition: transform 0.22s ease;
}
.value-card:hover { transform: translateY(-4px); }
.value-icon {
  font-size: 1.8rem; margin-bottom: 1rem; display: block;
}
.value-card h4 {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 0.75rem;
}
.value-card p { font-size: 0.88rem; line-height: 1.6; }
/* Card colour variants */
.vc-navy { background: var(--navy); }
.vc-navy .value-icon, .vc-navy h4, .vc-navy p { color: var(--white); }
.vc-navy p { color: rgba(255,255,255,0.78); }
.vc-accent { background: var(--accent); }
.vc-accent .value-icon, .vc-accent h4, .vc-accent p { color: var(--white); }
.vc-accent p { color: rgba(255,255,255,0.85); }
.vc-light-navy { background: #eef1f7; }
.vc-light-navy .value-icon, .vc-light-navy h4 { color: var(--navy); }
.vc-light-navy p { color: #555; }
.vc-light-accent { background: #fff3e0; }
.vc-light-accent .value-icon, .vc-light-accent h4 { color: var(--accent); }
.vc-light-accent p { color: #555; }

/* SUPPORTERS */
.supporters-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.supporters-group h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.25rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}
.supporter-logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.5rem 2rem; margin-bottom: 1.5rem;
}
.supporter-logo {
  max-height: 52px; max-width: 140px; width: auto;
  object-fit: contain; display: block;
  filter: grayscale(60%) opacity(0.75);
  transition: filter 0.25s ease;
}
.supporter-logo:hover { filter: grayscale(0%) opacity(1); }
.supporters-group ul { list-style: none; }
.supporters-group li {
  padding: 0.65rem 0; border-bottom: 1px solid rgba(27,52,92,0.08);
  font-size: 0.95rem; color: var(--text);
  display: flex; align-items: center; gap: 0.75rem;
}
.supporters-group li::before { content: '✦'; color: var(--accent); font-size: 0.65rem; }
@media (max-width: 600px) { .supporters-cols { grid-template-columns: 1fr; } }

/* POLICIES */
.policies-list { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
.policy-item {
  background: var(--white); border-radius: 6px; padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.2s;
}
.policy-item:hover { border-left-color: var(--accent); transform: translateX(4px); }
.policy-info h4 { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.policy-info p { font-size: 0.88rem; color: #555; }
.policy-link {
  white-space: nowrap; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  padding: 0.5rem 1rem; border: 2px solid var(--accent); border-radius: 4px;
  transition: all 0.2s; min-height: 44px; display: flex; align-items: center;
}
.policy-link:hover { background: var(--accent); color: var(--white); }
@media (max-width: 600px) {
  .policy-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* SCROLL MARGIN — offset sticky main nav (72px) + sticky page nav (~48px) */
#story, #operations, #people, #values, #supporters, #policies { scroll-margin-top: 130px; }
