/* NRIF Website - Shared Stylesheet */

/* 1. Google Fonts import + CSS variables */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --blue: #2b3180;
  --red: #d14e3e;
  --green: #146040;
  --black: #111111;
  --grey: #f5f5f5;
  --border: #e5e7eb;
  --text: #333333;
  --muted: #666666;
  --font: 'Inter', Arial, sans-serif;
  --max-w: 1100px;
  --radius: 4px;

  /* ── Type scale ──────────────────────────────────────── */
  --sz-2xs:   10px;   /* micro labels: tier badges, pub-tags        */
  --sz-xs:    11px;   /* caps labels: section headers, footer h4    */
  --sz-2s:    12px;   /* fine detail: card dates, captions          */
  --sz-sm:    13px;   /* secondary text: footer, metadata           */
  --sz-ui:    14px;   /* UI baseline: nav links, buttons, inputs    */
  --sz-body:  15px;   /* body text: prose, intro paragraphs         */
  --sz-h4:    16px;   /* medium headings: h4, FAQ questions         */
  --sz-md:    17px;   /* card & article titles                      */
  --sz-lg:    20px;   /* small display: coming-soon headings        */
  --sz-xl:    32px;   /* medium display: stat callouts              */
  --sz-2xl:   44px;   /* large display: pillar numerals             */
  --sz-3xl:   64px;   /* hero display: corpus target                */
  --sz-4xl:   96px;   /* decorative: testimonial mark               */

  /* ── Line-height scale ───────────────────────────────── */
  --lh-tight:   1.2;   /* headings h1–h5                            */
  --lh-snug:    1.5;   /* compact UI elements                       */
  --lh-body:    1.6;   /* standard body copy                        */
  --lh-relaxed: 1.75;  /* long-form prose & intro paragraphs        */
}

/* 2. Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  font-size: 16px; /* explicit root base */
  color: var(--text);
  background: white;
  line-height: var(--lh-body);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--black);
  font-weight: 700;
  line-height: var(--lh-tight);
}

h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--black);
  font-weight: 700;
  line-height: var(--lh-tight);
}

h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--black);
  font-weight: 700;
  line-height: var(--lh-tight);
}

h4 {
  font-size: var(--sz-h4);
  color: var(--black);
  font-weight: 700;
  line-height: var(--lh-tight);
}

h5, h6 {
  font-weight: 700;
  line-height: var(--lh-tight);
}

/* 3. Announcement bar */
.announce {
  background: #0d3327;
  color: white;
  text-align: center;
  padding: 10px 48px;
  font-size: var(--sz-sm);
}

.announce a {
  color: white;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.announce a:hover {
  border-bottom-color: white;
}

/* 4. Skip navigation (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--blue);
  color: white;
  padding: 10px 20px;
  font-size: var(--sz-ui);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.1s;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  top: 0;
}

/* 5. Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid var(--border);
  height: 72px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s ease;
}

.nav-logo {
  transition: opacity 0.15s;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1;
  margin-left: 32px;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.nav-links a {
  font-size: var(--sz-ui);
  color: var(--text);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.active {
  color: var(--blue);
  font-weight: 600;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
}

.nav.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.nav-apply {
  background: var(--red);
  color: white;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: var(--sz-ui);
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-apply:hover {
  opacity: 0.9;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--black);
}

/* 5. Hero */
.hero {
  background:
    linear-gradient(rgba(20, 96, 64, 0.88), rgba(20, 96, 64, 0.94)),
    url('hero-bg.jpg') center 30% / cover no-repeat;
  color: white;
  padding: 80px 48px;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

.hero h1,
.hero h2,
.hero h3 {
  color: #fff;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
}

.hero-label {
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

/* 6. Page header */
.page-header {
  background: var(--green);
  color: white;
  padding: 48px;
}

.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-header h1,
.page-header h2,
.page-header p {
  color: #fff;
}

.page-header-label {
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.page-header-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.page-header-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 16px 24px;
  min-width: 120px;
}

.page-header-stat strong {
  display: block;
  font-size: var(--sz-xl);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.page-header-stat span {
  font-size: var(--sz-xs);
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 7. Sections */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 48px;
}

.section-label {
  font-size: var(--sz-xs);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 12px;
}

.section .intro {
  font-size: var(--sz-body);
  color: var(--muted);
  line-height: var(--lh-relaxed);
  max-width: 640px;
  margin-bottom: 48px;
}

.section-bg {
  background: var(--grey);
}

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* 8. Buttons */
.btn-primary {
  background: var(--red);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: var(--sz-ui);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: var(--sz-ui);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: white;
}

.btn-outline-dark {
  border: 1.5px solid var(--green);
  background: transparent;
  color: var(--green);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: var(--sz-ui);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline-dark:hover {
  background: var(--green);
  color: white;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 9. CfP card */
.cfp-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 28px;
  color: white;
}

.cfp-card-label {
  font-size: var(--sz-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.cfp-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--sz-ui);
}

.cfp-row:last-child {
  border-bottom: none;
}

.cfp-apply {
  display: block;
  background: var(--red);
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  margin-top: 20px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: var(--sz-ui);
}

.cfp-apply:hover {
  opacity: 0.9;
}

/* 10. Stats bar */
.stats-bar {
  background: var(--grey);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat-num {
  font-size: 38px;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--sz-sm);
  color: var(--muted);
  font-weight: 500;
}

/* 11. Hairline grid system */
.hgrid {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
}

.hgrid > * {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hgrid-2 > :nth-last-child(-n+2) { border-bottom: none; }
.hgrid-3 > :nth-last-child(-n+3) { border-bottom: none; }
.hgrid-5x2 > :nth-last-child(-n+5) { border-bottom: none; }

.hgrid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.hgrid-3 > :nth-child(3n) {
  border-right: none;
}

.hgrid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.hgrid-2 > :nth-child(2n) {
  border-right: none;
}

.hgrid-5x2 {
  grid-template-columns: repeat(5, 1fr);
}

.hgrid-5x2 > :nth-child(5n) {
  border-right: none;
}

.hgrid-5x2 > :nth-child(n+6) { border-bottom: none; }

/* 12. Pillar cells */
.pillar-cell {
  padding: 32px;
  background: white;
}

.pillar-num {
  font-size: var(--sz-2xl);
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}

.pillar-cell.blue {
  border-top: 3px solid var(--blue);
}

.pillar-cell.red {
  border-top: 3px solid var(--red);
}

.pillar-cell.dark {
  border-top: 3px solid var(--black);
}

.pillar-cell.grn {
  border-top: 3px solid var(--green);
}

.pillar-cell.blue h3 { color: var(--blue); }
.pillar-cell.dark h3 { color: var(--black); }
.pillar-cell.grn  h3 { color: var(--green); }

/* 13. Window cells */
.window-cell {
  padding: 20px;
  background: white;
  cursor: pointer;
  transition: background 0.2s;
}

.window-cell:hover {
  background: var(--grey);
}

.win-num {
  font-size: var(--sz-xs);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.win-title {
  font-size: var(--sz-sm);
  font-weight: 600;
  color: var(--black);
  line-height: 1.4;
}

/* 14. Apply band */
.apply-band {
  background: var(--green);
  color: white;
  padding: 64px 48px;
  text-align: center;
}

.apply-band h2 {
  color: white;
  margin-bottom: 16px;
}

.apply-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 640px;
  margin: 0 auto;
  font-size: var(--sz-body);
}

/* 15. Timeline — milestone status cards */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.tl-item {
  position: relative;
  background: var(--grey);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tl-item.highlight {
  background: #fff;
  border-color: var(--red);
  border-left: 4px solid var(--red);
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
}

/* Connector bridge in the gap between cards */
.tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -13px;
  width: 13px;
  height: 2px;
  top: 68px;
  background: var(--border);
  z-index: 2;
}

.tl-connector {
  display: none;
}

.tl-item:last-child .tl-connector {
  display: none;
}

.tl-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--sz-2xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 20px;
  align-self: flex-start;
  margin-bottom: 4px;
  background: var(--border);
  color: var(--muted);
}

.tl-item.complete .tl-status-chip {
  background: rgba(20,96,64,0.1);
  color: var(--green);
}

.tl-item.highlight .tl-status-chip {
  background: rgba(209,78,62,0.12);
  color: var(--red);
}

.tl-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tl-item.highlight .tl-dot {
  background: var(--red);
  width: 40px;
  height: 40px;
  font-size: 15px;
  box-shadow: 0 0 0 5px rgba(209,78,62,0.15);
}

.tl-item.complete .tl-dot {
  background: var(--muted);
}

.tl-date {
  font-size: var(--sz-md);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-top: 2px;
}

.tl-item.highlight .tl-date {
  color: var(--red);
}

.tl-item.complete .tl-date {
  color: var(--muted);
}

.tl-desc {
  font-size: var(--sz-sm);
  font-weight: 500;
  color: var(--muted);
  line-height: var(--lh-snug);
}

.tl-item.highlight .tl-desc {
  color: var(--text);
  font-weight: 600;
}

/* 16. Accordion */
.accordion-item {
  border: 1px solid var(--border);
  margin-bottom: -1px;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px 24px 20px 20px;
  background: white;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  font-family: var(--font);
  font-size: var(--sz-ui);
  gap: 16px;
}

.accordion-trigger:hover,
.accordion-trigger.open {
  background: #f8f9fc;
}

.accordion-win-id {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--sz-body);
  font-weight: 900;
  color: white;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.accordion-win-id.blue { background: var(--blue); }
.accordion-win-id.red  { background: var(--red);  }
.accordion-win-id.grn  { background: var(--green); }

.accordion-meta {
  flex: 1;
  min-width: 0;
}

.accordion-meta strong {
  display: block;
  font-size: var(--sz-body);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.accordion-meta span {
  font-size: var(--sz-sm);
  color: var(--muted);
  line-height: 1.4;
}

.accordion-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.accordion-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--sz-ui);
  color: var(--muted);
  transition: transform 0.2s, background 0.15s;
  flex-shrink: 0;
}

.accordion-trigger.open .accordion-arrow {
  transform: rotate(180deg);
  background: var(--grey);
}

.accordion-body {
  display: none;
  border-top: 1px solid var(--border);
  background: white;
}

.accordion-body.open {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
}

.accordion-body.open > div {
  padding: 24px;
  border-right: 1px solid var(--border);
}

.accordion-body.open > div:last-child {
  border-right: none;
}

.accordion-section-title {
  font-size: var(--sz-2xs);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.accordion-apply {
  display: inline-block;
  margin-top: 16px;
  background: var(--red);
  color: white;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: var(--sz-sm);
  font-weight: 700;
  cursor: pointer;
  border: none;
}

.accordion-apply:hover {
  opacity: 0.9;
}

.tag {
  padding: 4px 10px;
  border-radius: 2px;
  font-size: var(--sz-xs);
  font-weight: 600;
  display: inline-block;
}

.tag-blue {
  background: #eef0f9;
  color: var(--blue);
}

.tag-red {
  background: #fdf0ee;
  color: var(--red);
}

.tag-grn {
  background: #edf5ef;
  color: var(--green);
}

/* 17. Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.team-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px 0;
  text-align: center;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.team-card--featured {
  border-top-color: var(--blue);
}

.team-card--secretariat.team-card--featured {
  border-top-color: var(--green);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: white;
  margin: 0 auto 16px;
  flex-shrink: 0;
  background: var(--blue);
  letter-spacing: -1px;
  border: 3px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.team-card--featured .team-avatar {
  width: 112px;
  height: 112px;
  font-size: 36px;
  border-color: var(--blue);
  box-shadow: 0 3px 14px rgba(43,49,128,0.18);
}

.team-card--secretariat.team-card--featured .team-avatar {
  border-color: var(--green);
  box-shadow: 0 3px 14px rgba(20,96,64,0.18);
}

.team-avatar--green  { background: var(--green); }
.team-avatar--muted  { background: #b0b7c3; }

.team-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.team-card-name {
  font-size: var(--sz-ui);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 5px;
  line-height: 1.3;
  padding: 0;
  width: 100%;
}

.team-card-role {
  font-size: var(--sz-xs);
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  padding: 0;
  width: 100%;
}

.team-card--secretariat .team-card-role { color: var(--green); padding-bottom: 18px; }

.team-card-divider {
  width: 32px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 10px;
}

.team-card-affil {
  font-size: var(--sz-2s);
  color: var(--muted);
  padding: 0 0 20px;
  width: 100%;
  line-height: var(--lh-snug);
}

.team-tier-label {
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 16px;
}

/* 18. Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--sz-ui);
}

.data-table th {
  background: var(--blue);
  color: white;
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}

.data-table tr:hover td {
  background: var(--grey);
}

/* 18. Eligibility strip */
.elig-strip {
  background: var(--blue);
  color: white;
  padding: 32px 48px;
}

.elig-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
}

.elig-strip h4 {
  font-size: var(--sz-2xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.elig-strip ul {
  list-style: none;
  font-size: var(--sz-sm);
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
}

.elig-strip ul li {
  position: relative;
  padding-left: 1.6em;
  padding-bottom: 10px;
}

.elig-strip ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.elig-strip p {
  font-size: var(--sz-sm);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

/* 19. Step list */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-item {
  display: flex;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.step-item:last-child {
  border-bottom: none;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--sz-h4);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.step-content p {
  font-size: var(--sz-body);
  line-height: var(--lh-relaxed);
  color: var(--text);
}

.step-content ul {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-content ul li {
  display: flex;
  gap: 10px;
  font-size: var(--sz-ui);
  line-height: var(--lh-body);
  color: var(--text);
}

.step-content ul li::before {
  content: "→";
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Document preparation checklist */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.doc-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius);
}

.doc-icon {
  width: 36px;
  height: 36px;
  background: #edf5ef;
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--sz-body);
  font-weight: 800;
  flex-shrink: 0;
}

.doc-text strong {
  display: block;
  font-size: var(--sz-ui);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
}

.doc-text span {
  font-size: var(--sz-2s);
  color: var(--muted);
  line-height: var(--lh-snug);
}

/* FAQ accordion (details/summary) */
.faq-list {
  display: flex;
  flex-direction: column;
}

details.faq-item {
  border-bottom: 1px solid var(--border);
}

details.faq-item:last-child {
  border-bottom: none;
}

details.faq-item summary {
  padding: 22px 0;
  font-size: var(--sz-h4);
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
  line-height: 1;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item .faq-a {
  padding: 0 32px 22px 0;
  font-size: var(--sz-body);
  line-height: var(--lh-relaxed);
  color: var(--text);
}

/* 20. About page components */

/* Who We Are — two-column: text + team photo */
.who-we-are {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
  margin-top: 24px;
}

.who-we-are-text p + p {
  margin-top: 20px;
}

.team-photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.team-photo-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.team-photo-caption {
  background: var(--blue);
  color: white;
  padding: 14px 18px;
}

.team-photo-caption strong {
  display: block;
  font-size: var(--sz-sm);
  font-weight: 700;
  margin-bottom: 2px;
}

.team-photo-caption span {
  font-size: var(--sz-2s);
  opacity: 0.75;
}

/* Constrained readable prose */
.prose {
  font-size: var(--sz-body);
  color: var(--text);
  line-height: 1.8;
  max-width: 720px;
}

/* Vision & Mission cards */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.vm-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--radius);
  background: white;
}

.vm-card--blue { border-top-color: var(--blue); }
.vm-card--green { border-top-color: var(--green); }

.vm-label {
  font-size: var(--sz-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.vm-card--blue .vm-label { color: var(--blue); }
.vm-card--green .vm-label { color: var(--green); }

.vm-card p {
  font-size: var(--sz-h4);
  line-height: 1.85;
  color: var(--text);
}

/* Strategic priorities grid */
.priority-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  background: white;
}

.priority-item {
  display: flex;
  gap: 20px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.priority-item:nth-child(2n)   { border-right: none; }
.priority-item:nth-last-child(-n+2) { border-bottom: none; }

.priority-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.2;
  line-height: 1.1;
  flex-shrink: 0;
  width: 32px;
  margin-top: 2px;
}

.priority-title {
  font-size: var(--sz-body);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.priority-body {
  font-size: var(--sz-sm);
  color: var(--muted);
  line-height: var(--lh-relaxed);
}

/* 21. Humanising components */

/* Context photo strip */
.context-strip {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.context-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.context-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 96, 64, 0.90) 0%,
    rgba(20, 96, 64, 0.72) 55%,
    rgba(20, 96, 64, 0.30) 100%
  );
  display: flex;
  align-items: center;
  padding: 0 64px;
}

.context-strip-text {
  color: white;
  font-size: 22px;
  font-weight: 700;
  max-width: 560px;
  line-height: var(--lh-snug);
}

.context-strip-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--sz-ui);
  margin-top: 8px;
  font-weight: 400;
}

/* Who Can Apply — beneficiary grid */
.beneficiary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  margin-top: 32px;
}

.beneficiary-card {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  background: white;
}

.beneficiary-card:last-child { border-right: none; }

.beneficiary-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef0f9;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--sz-md);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.beneficiary-type {
  font-size: var(--sz-ui);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.beneficiary-desc {
  font-size: var(--sz-sm);
  color: var(--muted);
  line-height: var(--lh-body)5;
  margin-bottom: 12px;
}

.beneficiary-link {
  font-size: var(--sz-2s);
  font-weight: 600;
  color: var(--blue);
}

.beneficiary-link:hover { color: var(--green); }

/* Testimonial */
.testimonial-section {
  background: var(--blue);
  padding: 72px 48px;
}

.testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-mark {
  display: block;
  font-size: var(--sz-4xl);
  line-height: 0.6;
  color: rgba(255, 255, 255, 0.15);
  font-family: Georgia, serif;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 21px;
  font-style: italic;
  color: white;
  line-height: var(--lh-relaxed);
  font-weight: 400;
  margin-bottom: 32px;
}

.testimonial-attr strong {
  display: block;
  font-size: var(--sz-ui);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3px;
}

.testimonial-attr span {
  font-size: var(--sz-2s);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}

/* 22. Cards */

/* 22. Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-date {
  font-size: var(--sz-2s);
  color: var(--muted);
  font-weight: 600;
}

.card h3 {
  margin: 8px 0;
}

.card p {
  font-size: var(--sz-ui);
  color: var(--muted);
  line-height: var(--lh-body);
}

.card-link {
  color: var(--green);
  font-weight: 700;
  border-bottom: 1px solid var(--green);
  margin-top: auto;
  padding-top: 12px;
  font-size: var(--sz-ui);
}

.card-link:hover {
  color: var(--black);
  border-color: var(--black);
}

/* 21. Downloads */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.download-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-icon {
  font-size: 28px;
  color: var(--blue);
}

.download-item h4 {
  margin: 8px 0;
}

.download-item a {
  color: var(--green);
  font-weight: 700;
  border-bottom: 1px solid var(--green);
  font-size: var(--sz-ui);
  margin-top: auto;
}

.download-item a:hover {
  color: var(--black);
  border-color: var(--black);
}

/* 22. Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: var(--sz-sm);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--black);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: var(--sz-ui);
  color: var(--text);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue);
}

.btn-submit {
  background: var(--green);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: var(--sz-ui);
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.btn-submit:hover {
  opacity: 0.9;
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-result {
  margin-top: 14px;
  font-size: var(--sz-sm);
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
}
.form-result:not(:empty) { display: block; }
.form-result--ok {
  background: rgba(20,96,64,0.08);
  color: var(--green);
  border: 1px solid rgba(20,96,64,0.2);
}
.form-result--err {
  background: rgba(209,78,62,0.08);
  color: var(--red);
  border: 1px solid rgba(209,78,62,0.2);
}

/* 23. Footer */
.footer {
  background: var(--black);
  color: white;
  padding: 56px 48px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  font-size: var(--sz-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-tagline {
  font-size: var(--sz-ui);
  color: #999;
  line-height: var(--lh-body);
  margin-bottom: 16px;
}

.footer-address {
  font-size: var(--sz-sm);
  color: #999;
  line-height: var(--lh-relaxed);
}

.footer ul {
  list-style: none;
}

.footer li {
  font-size: var(--sz-sm);
  color: #999;
  margin-bottom: 8px;
  line-height: var(--lh-body);
}

.footer a {
  color: #999;
  font-size: var(--sz-sm);
}

.footer a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-social a {
  font-size: 18px;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  font-size: var(--sz-xs);
  color: #555;
}

.footer-bottom a {
  color: #555;
}

.footer-bottom a:hover {
  color: #999;
}

/* 24. Governance page components */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
}

.principles-item {
  background: white;
  padding: 32px;
  border-top: 3px solid var(--blue);
}

.principles-item:nth-child(2) { border-top-color: var(--green); }
.principles-item:nth-child(3) { border-top-color: var(--black); }

.principles-title {
  font-size: var(--sz-h4);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.principles-body {
  font-size: var(--sz-ui);
  color: var(--text);
  line-height: var(--lh-relaxed);
  margin: 0;
}

.tac-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 28px;
  overflow: hidden;
}

.tac-fact {
  background: white;
  padding: 24px 28px;
}

.tac-fact-label {
  font-size: var(--sz-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.tac-fact-value {
  font-size: var(--sz-ui);
  color: var(--black);
  line-height: var(--lh-body)5;
  margin: 0;
}

#board .team-grid > .team-card:last-child:nth-child(4n+1) {
  grid-column: 2 / span 2;
}

.team-card-note {
  font-style: italic;
  font-size: var(--sz-xs);
  color: var(--muted);
}

/* 26. Capacity Development — event cards */
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.event-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  background: white;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.event-card--featured { border-top-color: var(--green); }

.event-date-tag {
  font-size: var(--sz-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 10px;
}

.event-card--featured .event-date-tag { color: var(--green); }

.event-title {
  font-size: var(--sz-md);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.35;
}

.event-desc {
  font-size: var(--sz-ui);
  color: var(--text);
  line-height: var(--lh-relaxed);
  flex: 1;
  margin-bottom: 0;
}

.event-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  font-size: var(--sz-sm);
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.event-meta-key {
  font-size: var(--sz-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  padding-top: 1px;
}

.event-meta-val {
  font-size: var(--sz-sm);
  color: var(--black);
}

.event-seats-badge {
  display: inline-block;
  font-size: var(--sz-xs);
  font-weight: 700;
  background: var(--grey);
  color: var(--blue);
  padding: 1px 8px;
  border-radius: 3px;
  margin-left: 6px;
}

.event-rsvp-btn {
  display: block;
  text-align: center;
  background: var(--blue);
  color: white;
  font-size: var(--sz-sm);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s;
}

.event-rsvp-btn:hover { background: #1e2460; color: white; }
.event-card--featured .event-rsvp-btn { background: var(--green); }
.event-card--featured .event-rsvp-btn:hover { background: #0f4a2e; }

/* RSVP form */
.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: var(--sz-ui);
  color: var(--text);
  transition: border-color 0.2s;
  background: white;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

/* 27. Endowment page */
.corpus-hero {
  background: var(--blue);
  color: white;
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  margin-top: 8px;
}

.corpus-hero-target {
  font-size: var(--sz-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.corpus-hero-amount {
  font-size: var(--sz-3xl);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 8px;
}

.corpus-hero-sub {
  font-size: var(--sz-body);
  opacity: 0.8;
}

.corpus-hero-launch {
  margin-top: 24px;
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  padding: 10px 24px;
  font-size: var(--sz-sm);
  font-weight: 600;
}

.donor-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.donor-tier {
  background: white;
  padding: 28px 24px;
}

.tier-badge {
  display: inline-block;
  font-size: var(--sz-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.tier-badge--supporting { background: #eef0f8; color: var(--blue); }
.tier-badge--sustaining { background: #ecf8f1; color: var(--green); }
.tier-badge--founding   { background: #fdf3e8; color: #9c5a1d; }
.tier-badge--champion   { background: #f3f0f9; color: #5c35a0; }
.tier-badge--subfund    { background: #fdf6e3; color: #8a6914; }
.tier-badge--all        { background: var(--grey); color: var(--text); }

.tier-amount {
  font-size: 18px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}

.tier-name {
  font-size: var(--sz-2s);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-benefits li {
  font-size: var(--sz-sm);
  color: var(--text);
  padding-left: 18px;
  position: relative;
  line-height: var(--lh-snug);
}

.tier-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: var(--sz-xs);
  top: 1px;
}

.donate-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
}

.donate-channel {
  background: white;
  padding: 28px 20px;
  text-align: center;
}

.donate-channel-icon {
  font-size: 26px;
  color: var(--blue);
  margin-bottom: 12px;
}

.donate-channel-title {
  font-size: var(--sz-sm);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.donate-channel-detail {
  font-size: var(--sz-2s);
  color: var(--muted);
  line-height: var(--lh-body);
}

.endow-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}

.endow-form input,
.endow-form select,
.endow-form textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: var(--sz-ui);
  color: var(--text);
  transition: border-color 0.2s;
  background: white;
}

.endow-form input:focus,
.endow-form select:focus,
.endow-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

/* 28. Publications page */
.pub-search-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pub-search-select {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-family: var(--font);
  font-size: var(--sz-ui);
  color: var(--black);
  background: white;
  cursor: pointer;
}

.pub-count {
  font-size: var(--sz-sm);
  color: var(--muted);
  margin-left: auto;
}

.pub-list {
  display: flex;
  flex-direction: column;
}

.pub-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.pub-card:first-child { border-top: 1px solid var(--border); }

.pub-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pub-tag {
  font-size: var(--sz-2xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--grey);
  color: var(--blue);
}

.pub-tag--oa { background: #ecf8f1; color: var(--green); }
.pub-tag--wp { background: #fdf6e3; color: #8a6914; }
.pub-tag--policy { background: #eef0f8; color: var(--blue); }

.pub-title {
  font-size: var(--sz-md);
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  margin-bottom: 8px;
}

.pub-title a { color: inherit; text-decoration: none; }
.pub-title a:hover { color: var(--blue); }

.pub-authors {
  font-size: var(--sz-sm);
  color: var(--text);
  margin-bottom: 3px;
}

.pub-journal {
  font-size: var(--sz-sm);
  color: var(--muted);
  font-style: italic;
  margin-bottom: 12px;
}

.pub-abstract {
  font-size: var(--sz-ui);
  color: var(--text);
  line-height: var(--lh-relaxed);
  margin-bottom: 14px;
}

.pub-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pub-link {
  font-size: var(--sz-2s);
  font-weight: 700;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 3px;
  border: 1px solid var(--blue);
  color: var(--blue);
  transition: background 0.15s, color 0.15s;
}

.pub-link:hover { background: var(--blue); color: white; }

.pub-link--pdf { border-color: var(--green); color: var(--green); }
.pub-link--pdf:hover { background: var(--green); color: white; }

.pub-coming-soon {
  background: var(--grey);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
}

.pub-coming-soon h3 {
  font-size: var(--sz-lg);
  color: var(--black);
  margin-bottom: 10px;
}

.pub-coming-soon p {
  font-size: var(--sz-body);
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

.submit-pub-box {
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: white;
  padding: 28px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 32px;
}

.submit-pub-icon {
  font-size: 28px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Minimum score callout — used in all 10 accordion windows */
.min-score {
  margin-top: 10px;
  font-weight: 700;
  color: var(--blue);
}

/* 29. Responsive — new pages */

/* Mobile nav — collapses at 768px */
@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    padding: 0 24px;
    align-items: center;
  }

  .nav-logo { order: 1; }
  .nav-apply { order: 2; margin-left: auto; }
  .nav-mobile-toggle { order: 3; display: block; margin-left: 12px; }

  .nav-links {
    display: flex;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    margin-left: 0;
    margin-top: 0;
    padding: 0;
    border-top: 1px solid var(--border);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.22s ease, padding 0.3s ease;
  }

  .nav-links.open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
    padding: 4px 0 12px;
  }

  .nav-links a {
    display: block;
    padding: 13px 4px;
    font-size: var(--sz-body);
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-links a.active {
    border-bottom-color: var(--border);
  }

  .nav-logo-img {
    height: 40px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-inner .stat:nth-child(2) {
    border-right: none;
  }

  .doc-grid,
  .vm-grid,
  .priority-grid,
  .who-we-are,
  .beneficiary-grid,
  .tac-facts,
  .principles-grid,
  .event-grid,
  .donor-tiers,
  .donate-channels {
    grid-template-columns: 1fr;
  }

  .beneficiary-card { border-right: none; border-bottom: 1px solid var(--border); }
  .beneficiary-card:last-child { border-bottom: none; }

  .context-strip { height: 200px; }
  .context-strip-overlay { padding: 0 24px; }
  .context-strip-text { font-size: var(--sz-md); }

  .testimonial-section { padding: 48px 24px; }
  .testimonial-quote { font-size: var(--sz-md); }

  .team-photo-wrap img {
    height: 240px;
  }

  .priority-item:nth-child(2n) { border-right: none; }
  .priority-item { border-right: none; }
  .priority-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .priority-item:last-child { border-bottom: none; }

  .hgrid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hgrid-3 > :nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .hgrid-3 > :nth-child(2n) {
    border-right: none;
  }

  .hgrid-5x2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hgrid-5x2 > :nth-child(5n) {
    border-right: 1px solid var(--border);
  }

  .hgrid-5x2 > :nth-child(2n) {
    border-right: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .elig-inner {
    grid-template-columns: 1fr;
  }

  .accordion-body.open {
    grid-template-columns: 1fr;
  }

  .accordion-body.open > div {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .accordion-body.open > div:last-child {
    border-bottom: none;
  }

  .accordion-meta strong {
    white-space: normal;
  }

  .team-grid,
  .team-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  #board .team-grid > .team-card:last-child:nth-child(4n+1) {
    grid-column: auto;
  }

  .section,
  .hero,
  .page-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav {
    padding: 0 24px;
  }
}

@media (max-width: 576px) {
  .hgrid-3,
  .hgrid-5x2,
  .card-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tl-item:not(:last-child)::after {
    display: none;
  }

  .announce {
    padding: 10px 24px;
  }

  .section,
  .hero,
  .page-header {
    padding: 40px 24px;
  }

  .hero-inner {
    gap: 32px;
  }

  .apply-band {
    padding: 48px 24px;
  }

  .elig-strip {
    padding: 32px 24px;
  }

  .cfp-row {
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }

  .cfp-row .value {
    font-weight: 700;
    color: white;
  }

  .nav-logo-img {
    height: 36px;
  }
}


/* ════════════════════════════════════════════════════════
   30. Animation Layer — Tiers 1–4
   ════════════════════════════════════════════════════════ */

/* ── Reduce-motion safety net ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:       0.01ms !important;
    animation-iteration-count: 1     !important;
    transition-duration:      0.01ms !important;
  }
}

/* ── T3: Mobile toggle rotation ─────────────────────── */
.nav-mobile-toggle { transition: transform 0.22s ease; }
.nav-mobile-toggle[aria-expanded="true"] { transform: rotate(90deg); }

/* ── T3: CFP live-open glow ──────────────────────────── */
@keyframes cfpGlow {
  0%, 100% { border-color: rgba(255,255,255,0.15); }
  50%       { border-color: rgba(255,255,255,0.44); }
}
.cfp-card { animation: cfpGlow 3s ease-in-out infinite; }

/* ── T2: Timeline dot animations ─────────────────────── */
@keyframes dotArrive {
  0%   { transform: scale(0.25); }
  65%  { transform: scale(1.4);  }
  100% { transform: scale(1);    }
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0  0px rgba(209,78,62,0.55); }
  50%       { box-shadow: 0 0 0 10px rgba(209,78,62,0);    }
}
.tl-dot.anim-arrive  { animation: dotArrive 0.38s ease forwards; }
.tl-dot.anim-pulse   { animation: dotPulse 2.2s ease-in-out 0.4s infinite; }

/* ── T2: Card hover lift ─────────────────────────────── */
.card,
.beneficiary-card,
.vm-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover,
.beneficiary-card:hover,
.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}

.team-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}

/* ── T4: Team card lift on hover (circle avatar — no zoom) ── */
.team-avatar { transition: box-shadow 0.22s ease; }
.team-card:hover .team-avatar { box-shadow: 0 4px 16px rgba(0,0,0,0.14); }

/* ── T2+T3: Window cell hover upgrade ───────────────── */
.window-cell {
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.window-cell:hover {
  background: var(--grey);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
}

/* ── T3: Button lift micro-interaction ───────────────── */
.btn-primary,
.nav-apply,
.cfp-apply,
.accordion-apply {
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary:hover,
.nav-apply:hover,
.cfp-apply:hover,
.accordion-apply:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(209,78,62,0.35);
}
.btn-primary:active,
.nav-apply:active,
.cfp-apply:active,
.accordion-apply:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline-dark {
  transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}
.btn-outline-dark:hover  { transform: translateY(-2px); }
.btn-outline-dark:active { transform: translateY(0); }

/* ── T4: FAQ smooth open/close (JS drives max-height) ── */
.faq-a { overflow: hidden; }

