/* ========== About / Our funding ========== */

.page-our-funding {
  background: #fff;
  color: #1a1d23;
}

.of-page {
  padding-bottom: 2rem;
}

.of-crumb {
  width: var(--about-width);
  margin: 0 auto;
  padding: 1.75rem var(--about-pad-x) 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.of-crumb a {
  color: var(--about-ink);
  text-decoration: none;
}

.of-crumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.of-hero-title {
  width: var(--about-width);
  margin: 0 auto;
  padding: 2.75rem var(--about-pad-x) 3rem;
  text-align: center;
}

.of-hero-title .about-page-title {
  margin: 0;
}

/* Keep module titles on the shared About scale (never shrink below section token) */
.page-our-funding .about-section-title {
  font-size: var(--title-section);
  line-height: 1.15;
}

/* Light blue banner */
.of-banner {
  background: #c8e4f5;
  padding: 2.75rem var(--about-pad-x);
}

.of-banner-inner {
  width: var(--about-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.of-banner-media {
  margin: 0;
}

.of-banner-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 10px;
}

.of-banner-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: var(--title-section);
  font-weight: 700;
  line-height: 1.25;
  color: #0a3d66;
}

.of-banner-copy p {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: #1a1d23;
  max-width: 38ch;
}

.of-text-link {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.of-text-link:hover {
  color: var(--blue-deep);
}

.of-text-link--caps {
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* How we fund */
.of-how {
  width: var(--about-width);
  margin: 0 auto;
  padding: var(--about-section-gap) var(--about-pad-x) 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.7fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.of-how-main .about-section-title {
  margin: 0 0 1.35rem;
}

.of-how-main p {
  margin: 0 0 1.1rem;
  font-family: var(--font-serif);
  font-size: var(--about-body-size);
  line-height: 1.7;
  color: #2a2f36;
  max-width: 62ch;
}

.of-how-main a:not(.of-text-link) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.of-sidebar {
  background: var(--sand);
  padding: 1.75rem 1.5rem;
  border-radius: 4px;
}

.of-sidebar-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--about-ink);
}

.of-side-btn {
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.85rem 1rem;
  background: #1a1d23;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.of-side-btn:hover {
  background: #333a45;
}

.of-side-btn:last-child {
  margin-bottom: 0;
}

.of-rule {
  width: var(--about-width);
  margin: 0 auto;
  border: 0;
  border-top: 1px solid #e4e6ea;
}

/* What we do not fund */
.of-not {
  width: var(--about-width);
  margin: 0 auto;
  padding: var(--about-section-gap) var(--about-pad-x) 2.5rem;
}

.of-not .about-section-title {
  margin: 0 0 1.35rem;
}

.of-not p,
.of-not li {
  font-family: var(--font-serif);
  font-size: var(--about-body-size);
  line-height: 1.7;
  color: #2a2f36;
}

.of-not p {
  margin: 0 0 1.1rem;
  max-width: 70ch;
}

.of-not ul {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  max-width: 70ch;
}

.of-not li {
  margin: 0 0 0.45rem;
}

/* Funding summary */
.of-summary {
  width: var(--about-width);
  margin: 0 auto;
  padding: var(--about-section-gap) var(--about-pad-x) 3rem;
}

.of-summary .about-section-title {
  margin: 0 0 1rem;
}

.of-summary-lead {
  margin: 0 0 2rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: #444;
  max-width: 60ch;
}

.of-summary-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.of-chart-wrap {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  aspect-ratio: 1;
}

.of-donut {
  width: 100%;
  height: 100%;
}

.of-donut svg {
  width: 100%;
  height: 100%;
  display: block;
}

.of-donut-center {
  position: absolute;
  inset: 28%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.of-donut-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: #555;
  max-width: 10ch;
}

.of-donut-value {
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--about-ink);
}

.of-areas {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e4e6ea;
}

.of-area {
  border-bottom: 1px solid #e4e6ea;
}

.of-area-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 0.15rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--about-ink);
}

.of-area-btn:hover {
  color: var(--blue);
}

.of-area-key {
  flex: 0 0 1.4rem;
  font-weight: 700;
}

.of-area-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.of-area-name {
  flex: 1;
  font-weight: 500;
}

.of-area-plus {
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
  flex-shrink: 0;
}

.of-area-plus::before,
.of-area-plus::after {
  content: "";
  position: absolute;
  background: #666;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.of-area-plus::before {
  width: 12px;
  height: 2px;
}

.of-area-plus::after {
  width: 2px;
  height: 12px;
}

.of-area.is-open .of-area-plus::after {
  display: none;
}

.of-area-panel {
  padding: 0 0 1rem 2.3rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555;
}

.of-area-panel[hidden] {
  display: none;
}

.of-summary-note {
  margin: 1.5rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #777;
  max-width: 70ch;
}

/* FAQ */
.of-faq {
  width: var(--about-width);
  margin: 0 auto;
  padding: 1rem var(--about-pad-x) var(--about-section-gap);
}

.of-faq-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.of-faq-head .about-section-title {
  margin: 0;
}

.of-view-all {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}

.of-view-all:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.of-faq-list {
  border-top: 1px solid #e4e6ea;
}

.of-faq-item {
  border-bottom: 1px solid #e4e6ea;
}

.of-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.1rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--about-ink);
}

.of-faq-btn:hover {
  color: var(--blue);
}

.of-faq-plus {
  width: 1.15rem;
  height: 1.15rem;
  position: relative;
  flex-shrink: 0;
}

.of-faq-plus::before,
.of-faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #555;
  transform: translate(-50%, -50%);
}

.of-faq-plus::before {
  width: 14px;
  height: 2px;
}

.of-faq-plus::after {
  width: 2px;
  height: 14px;
}

.of-faq-item.is-open .of-faq-plus::after {
  display: none;
}

.of-faq-panel {
  padding: 0 1.5rem 1.25rem 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.7;
  color: #2a2f36;
}

.of-faq-panel[hidden] {
  display: none;
}

.of-faq-panel p {
  margin: 0 0 0.9rem;
}

.of-faq-panel ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.of-faq-panel a {
  color: var(--blue);
  text-underline-offset: 3px;
}

/* Feature band */
.of-features {
  background: var(--sand);
  padding: var(--about-section-gap) var(--about-pad-x);
}

.of-feature {
  width: var(--about-width);
  margin: 0 auto 2.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.of-feature:last-child {
  margin-bottom: 0;
}

.of-feature-media {
  margin: 0;
}

.of-feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  background: #e8e4dc;
}

.of-feature-copy .about-section-title {
  margin: 0 0 0.85rem;
}

.of-feature-copy p {
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  max-width: 42ch;
}

/* More financials */
.of-more {
  width: var(--about-width);
  margin: 0 auto;
  padding: var(--about-section-gap) var(--about-pad-x) 4.5rem;
  border-top: 1px solid #e4e6ea;
}

.of-more .about-section-title {
  margin: 0 0 2rem;
}

.of-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.of-more-grid h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
}

.of-more-grid p {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.55;
  color: #555;
}

@media (max-width: 960px) {
  .of-banner-inner,
  .of-how,
  .of-summary-grid,
  .of-feature,
  .of-more-grid {
    grid-template-columns: 1fr;
  }

  .of-sidebar {
    order: -1;
  }

  .of-chart-wrap {
    width: min(100%, 320px);
  }
}

@media (max-width: 640px) {
  .of-banner {
    padding: 1.75rem var(--about-pad-x);
  }

  .of-how,
  .of-not,
  .of-summary,
  .of-faq,
  .of-more {
    padding-left: var(--about-pad-x);
    padding-right: var(--about-pad-x);
  }
}

@media (max-width: 480px) {
  .of-banner {
    padding: 1.35rem 14px;
  }
}
