/* ==========================================================
   INNER PAGE REFINEMENTS
   Partnerships, donations, Our Work and Our Approach.
   ========================================================== */

/* Give quickly. No unnecessary provider choice or long introductory sections. */

.action-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 25px;
}

/* A two-choice action layout: purple for digital giving, ivory for transfer. */
.action-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px,3.4vw,52px);
  border-radius: 28px;
  border: 1px solid var(--surface-border-strong);
  background: var(--surface-card);
}

.action-card.feature {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  color: var(--ivory);
  border-color: rgba(64,224,208,.36);
  background: linear-gradient(145deg,var(--plum-dark) 0%,var(--plum) 115%);
}

/* Supporting curves echo the bird/flight identity without competing with copy. */
.action-card.feature::before,
.action-card.feature::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(64,224,208,.30);
  border-radius: 50%;
  width: 340px;
  aspect-ratio: 1;
  right: -170px;
  bottom: -170px;
  pointer-events: none;
  z-index: -1;
}
.action-card.feature::after {
  width: 245px;
  right: -105px;
  bottom: -100px;
  border-color: rgba(255,249,201,.34);
}

.action-card.feature .eyebrow { color: var(--aqua); }
.online-giving-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: clamp(28px,3vw,42px);
}
.online-giving-mark {
  display: grid;
  place-items: center;
  height: 52px;
  width: 52px;
  background: var(--aqua);
  color: var(--plum-dark);
  border-radius: 18px;
}
.online-giving-mark .ui-icon { width: 26px; height: 26px; }
.online-giving-content p {
  max-width: 360px;
  color: var(--ivory);
  margin: 0;
  font-size: clamp(20px,2.4vw,29px);
  line-height: 1.4;
  font-family: var(--font-display);
}
.action-card.feature .btn { margin-top: 4px; }
.action-card.feature .btn .arr { background: rgba(54,20,72,.12); }
.action-card.feature .btn:hover { background: var(--ivory); }

.action-card.bank { background: var(--surface-page); }
.action-card.bank h3 {
  font-family: var(--font-display);
  font-size: 37px;
  font-weight: 400;
  margin: 16px 0 23px;
  line-height: 1.13;
}
.action-card.bank > p { color: var(--muted); font-size: 13px; }

.account-box,.transfer-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 19px;
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
  padding: 25px;
  margin: 15px 0 20px;
}

.account-box>span:not(.copy-feedback),.transfer-panel>span:not(.copy-feedback) {
  font-size: 10px;
  color: #6B4C73;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.account-box>strong,.transfer-panel>strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--plum-dark);
  line-height: 1.3;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.account-box>strong:first-of-type,.transfer-panel>strong:first-of-type {
  font-size: 34px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .045em;
}

.copy-account {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--surface-border);
  color: var(--plum);
  padding: 18px 0 0;
  margin: 4px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 12px;
  text-align: left;
}

.copy-feedback {
  font-size: 11px;
  color: var(--teal-readable);
  line-height: 1.4;
  min-height: 0;
}

.copy-feedback:not(:empty) {
  margin-top: 5px;
}

.partner-contact-compact {
  padding-top: 0;
}

.partner-form-simple {
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
}

.partner-contact-compact h2 {
  font-size: 47px;
  line-height: 1.1;
  margin: 18px 0 22px;
}

.partner-contact-compact .lead {
  font-size: 16px;
}

.partner-details {
  border: 1px solid var(--surface-border);
  border-radius: 22px;
  background: var(--surface-card);
  overflow: hidden;
}

.partner-details>summary {
  font-size: 17px;
  font-weight: 700;
  padding: 25px 28px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--plum);
}

.partner-details>summary::-webkit-details-marker {
  display: none;
}

.partner-details>summary span {
  font-size: 24px;
  font-weight: 400;
}

.partner-details[open]>summary span {
  transform: rotate(45deg);
}

.partner-details .form-card {
  padding: 0 28px 28px;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.partner-details .form-card h3 {
  font-size: 29px;
}

.donate-card h2 {
  font-size: 45px;
}

.donate-card .provider-options {
  display: none;
}

.giving-benefits h3 {
  font-size: 39px;
}

.donation-unavailable {
  color: #716076;
}

/* Our Work: sticky chapter links, fewer repetitive introductory blocks. */

.work-page-hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  column-gap: 65px;
  align-items: center;
}

.work-page-hero .container>.eyebrow,.work-page-hero .container>h1,.work-page-hero .container>p {
  grid-column: 1;
}

.work-page-hero h1 {
  font-size: clamp(52px,5.3vw,80px);
  line-height: 1.03;
}

.work-page-hero p {
  font-size: 16px;
}

.work-hero-photo {
  grid-column: 2;
  grid-row: 1 / span 3;
  height: 405px;
  position: relative;
  overflow: hidden;
  border-radius: 160px 160px 24px 24px;
  margin: 0;
  background: var(--surface-card);
}

.work-hero-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.work-hero-photo figcaption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  border: 1px solid rgba(255,249,201,.45);
  background: rgba(54,20,72,.55);
  backdrop-filter: blur(9px);
  color: var(--ivory);
  font-size: 11px;
  padding: 12px 15px;
  text-align: center;
  border-radius: 100px;
  letter-spacing: .04em;
}

.work-index {
  position: sticky;
  top: var(--nav-height);
  z-index: 20;
  background: rgba(255,249,201,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-border);
}

.work-index .container {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.work-index a {
  padding: 18px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--plum);
  border-bottom: 3px solid transparent;
  transition: background .2s, border-color .2s;
}

.work-index a.is-active {
  border-bottom-color: var(--teal);
  background: rgba(64,224,208,.14);
}

.work-pathway {
  /* Added to global scroll-padding: room for the sticky work tabs. */
  scroll-margin-top: var(--work-index-height);
}

.programme-feature {
  gap: 60px;
}

.support-pill {
  line-height: 1.5;
}

.step-card,.market-step {
  transition: transform .3s,border-color .3s;
}

.step-card:hover,.market-step:hover {
  transform: translateY(-5px);
  border-color: var(--teal);
}

/* Our Approach: follow one clear vertical story instead of more boxes. */

.approach-journey {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 76px;
  align-items: start;
}

.approach-portrait {
  height: 635px;
  position: sticky;
  top: 115px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface-card);
}

.approach-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.approach-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 48%,rgba(29,9,41,.9));
}

.portrait-note {
  position: absolute;
  z-index: 1;
  bottom: 35px;
  left: 30px;
  right: 30px;
  color: var(--ivory);
}

.portrait-note h2 {
  font-size: 46px;
  margin: 18px 0 0;
  line-height: 1.06;
}

.portrait-note em {
  color: var(--aqua);
}

.approach-steps>.lead {
  margin-bottom: 22px;
  font-size: 18px;
}

.approach-steps article {
  display: grid;
  grid-template-columns: 47px 1fr;
  column-gap: 22px;
  border-bottom: 1px solid var(--surface-border);
  padding: 26px 0;
}

.approach-steps article:last-child {
  border-bottom: 0;
}

.journey-index {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--surface-border-strong);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: var(--plum);
  transition: background .3s,color .3s;
}

.approach-steps article:hover .journey-index {
  background: var(--plum);
  color: var(--ivory);
}

.approach-steps h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 10px;
}

.approach-steps p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.accountability-steps {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 23px;
  margin: 30px 0 40px;
}

.accountability-steps article {
  border-top: 1px solid var(--surface-border);
  padding-top: 20px;
}

.accountability-steps article>span {
  font-size: 12px;
  color: var(--teal-readable);
  font-weight: 700;
}

.accountability-steps h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  margin: 17px 0 11px;
  letter-spacing: -.025em;
}

.accountability-steps p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.report-panel {
  align-items: center;
}

.report-panel h3 {
  margin-top: 19px;
}

/* Programme stages are areas of support, not a required 1–2–3 progression. */
.step-card {
  min-height: 215px;
}
.step-card::before {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 23px;
  border-radius: 3px;
  background: var(--teal);
}
.market-step h3 {
  margin-top: 5px;
}
