.platform-pathways {
  position: relative;
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
  color: #23463b;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 5%, rgb(211 185 118 / 16%), transparent 23rem),
    linear-gradient(135deg, #edf1e8 0%, #f8f7f0 58%, #edf2e9 100%);
}

.platform-pathways::before {
  position: absolute;
  right: -5rem;
  bottom: -9rem;
  width: 21rem;
  aspect-ratio: 1;
  border: 1px solid rgb(43 112 80 / 8%);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem rgb(43 112 80 / 2.5%);
  content: "";
  pointer-events: none;
}

.platform-pathways-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

.platform-pathway {
  position: relative;
  min-width: 0;
  min-height: 23rem;
  padding: clamp(1.2rem, 2.7vw, 2rem);
  border: 1px solid rgb(225 226 212 / 92%);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow:
    0 1.4rem 3.5rem rgb(28 65 47 / 9%),
    inset 0 1px 0 rgb(255 255 255 / 90%);
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.platform-pathway::before {
  position: absolute;
  top: 0;
  left: clamp(1.2rem, 2vw, 2rem);
  width: 4rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: #3d8764;
  content: "";
}

.platform-pathway--directory::before {
  background: #b18a45;
}

.platform-pathway::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 10rem;
  height: 7rem;
  border-radius: 8rem 0 0;
  background: radial-gradient(circle at 100% 100%, rgb(206 223 200 / 28%), transparent 70%);
  content: "";
  pointer-events: none;
  z-index: -1;
}

.platform-pathway:hover {
  transform: translateY(-4px);
  border-color: #bacfbd;
  box-shadow: 0 1.5rem 4rem rgb(28 65 47 / 11%);
}

.platform-pathway--directory {
  border-color: rgb(224 201 140 / 42%);
  background:
    radial-gradient(circle at 100% 0, rgb(221 187 105 / 17%), transparent 16rem),
    linear-gradient(145deg, #1d5140, #153d32);
  color: #f8faf4;
}

.platform-pathway-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 0.75rem;
  color: #266d4f;
  background: linear-gradient(145deg, #edf5ea, #dfeadb);
  font-size: 1.05rem;
  box-shadow: inset 0 0 0 1px rgb(58 122 87 / 10%);
}

.platform-pathway--directory .platform-pathway-icon {
  color: #f1d58e;
  border: 1px solid rgb(239 211 137 / 38%);
  background: rgb(255 255 255 / 7%);
}

.platform-pathway-eyebrow,
.support-eyebrow,
.support-card-eyebrow {
  margin: 0 0 0.35rem;
  color: #428060;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-pathway--directory .platform-pathway-eyebrow {
  color: #e3c779;
}

.platform-pathway h2 {
  margin: 0;
  color: #1d4437;
  font-size: clamp(1.45rem, 2.5vw, 1.95rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.platform-pathway--directory h2 {
  color: #fff;
}

.platform-pathway > p:not(.platform-pathway-eyebrow):not(.platform-pathway-note) {
  max-width: 37rem;
  margin: 0.6rem 0 1.15rem;
  color: #65756a;
  font-size: 0.85rem;
  line-height: 1.6;
}

.platform-pathway--directory > p:not(.platform-pathway-eyebrow):not(.platform-pathway-note) {
  color: #d8e3d8;
}

.platform-pathway-links,
.platform-directory-links {
  position: absolute;
  right: clamp(1.2rem, 2vw, 2rem);
  bottom: clamp(1.2rem, 2vw, 2rem);
  left: clamp(1.2rem, 2vw, 2rem);
}

.platform-pathway-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 1rem;
  border-top: 1px solid #edf1eb;
}

.platform-pathway-links a,
.platform-directory-links a {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid #e2eae2;
  border-radius: 0.55rem;
  color: #2c674d;
  background: #fff;
  font-size: 0.72rem;
  font-weight: 680;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.platform-pathway-links a:hover,
.platform-directory-links a:hover {
  border-color: #91b59e;
  background: #f1f7f1;
  transform: translateY(-1px);
}

.platform-pathway-links a span {
  font-size: 0.9rem;
}

.platform-pathway-index {
  position: absolute;
  top: 1.2rem;
  right: 1.35rem;
  color: rgb(35 100 73 / 10%);
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.platform-directory-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  bottom: 3.15rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgb(239 211 137 / 20%);
}

.platform-directory-links a {
  min-width: 0;
  min-height: 2.55rem;
  border-color: rgb(255 255 255 / 18%);
  color: #fff;
  background: rgb(255 255 255 / 7%);
}

.platform-directory-links a:hover {
  border-color: rgb(239 211 137 / 55%);
  background: rgb(255 255 255 / 12%);
}

.platform-directory-links i {
  flex: 0 0 auto;
  color: #e4c876;
}

.platform-pathway-note {
  position: absolute;
  right: clamp(1.2rem, 2vw, 2rem);
  bottom: 1rem;
  left: clamp(1.2rem, 2vw, 2rem);
  margin: 0;
  color: #768178;
  font-size: 0.65rem;
  line-height: 1.45;
}

.platform-pathway--directory .platform-pathway-note {
  color: #bccfc1;
}

.platform-pathway-index {
  color: rgb(35 100 73 / 8%);
}

.platform-pathway--directory .platform-pathway-index {
  color: rgb(239 211 137 / 14%);
}

.platform-pathway a:focus-visible,
.support-card a:focus-visible {
  outline: 3px solid rgb(49 150 108 / 45%);
  outline-offset: 3px;
}

.support-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 50% 0, rgb(203 173 91 / 12%), transparent 24rem),
    linear-gradient(180deg, #f7f8f3, #eff4ed);
}

.support-section::before,
.support-section::after {
  position: absolute;
  width: 12rem;
  aspect-ratio: 1;
  border: 1px solid rgb(40 112 78 / 7%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.support-section::before {
  top: -7rem;
  left: -5rem;
  box-shadow: 0 0 0 1.5rem rgb(40 112 78 / 3%), 0 0 0 3rem rgb(40 112 78 / 2%);
}

.support-section::after {
  right: -7rem;
  bottom: -7rem;
  box-shadow: 0 0 0 1.5rem rgb(40 112 78 / 3%), 0 0 0 3rem rgb(40 112 78 / 2%);
}

.support-heading {
  position: relative;
  max-width: 48rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.support-eyebrow {
  margin: 0 0 0.55rem;
  color: #92732f;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-heading h2 {
  margin: 0;
  color: #1d4437;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.support-heading h2::after {
  display: block;
  width: 3.25rem;
  height: 2px;
  margin: 0.75rem auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #caa64a, #4e916b);
  content: "";
}

.support-heading > p:last-child {
  max-width: 40rem;
  margin: 0.75rem auto 0;
  color: #68766d;
  font-size: 0.92rem;
  line-height: 1.55;
}

.support-options {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.8vw, 1.35rem);
}

.support-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 19rem;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border: 1px solid rgb(42 91 68 / 10%);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 16px 42px rgb(30 77 57 / 7%);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.support-card::after {
  position: absolute;
  right: 1.75rem;
  bottom: 0;
  left: 1.75rem;
  height: 3px;
  border-radius: 99px 99px 0 0;
  background: transparent;
  content: "";
  transition: background 320ms ease, transform 320ms ease;
}

.support-card::before {
  position: absolute;
  width: 9rem;
  height: 9rem;
  top: -5.5rem;
  right: -5.5rem;
  border: 1px solid rgb(57 126 91 / 8%);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 1rem rgb(57 126 91 / 3%);
}

.support-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  border-color: rgb(42 91 68 / 18%);
  box-shadow: 0 24px 55px rgb(30 77 57 / 13%);
}

.support-card:hover::after {
  transform: scaleX(1.08);
}

.support-card--donation::after {
  background: #d4b453;
}

.support-card--membership::after {
  background: #31805a;
}

.support-card--shop::after {
  background: #78949e;
}

.support-card--membership {
  border-color: rgb(40 112 78 / 22%);
  background: linear-gradient(145deg, #fff 0%, #fbfcf7 100%);
}

.support-card--membership::before {
  border-color: rgb(49 128 90 / 10%);
  box-shadow: 0 0 0 1rem rgb(49 128 90 / 4%);
}

.support-card-topline {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.support-card-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 50% 50% 50% 0.55rem;
  color: #28714f;
  background: #edf4e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  line-height: 1;
  transform: rotate(-5deg);
  box-shadow: inset 0 0 0 1px rgb(40 112 78 / 7%);
}

.support-card-icon i {
  display: none;
}

.support-card--donation .support-card-icon::before {
  content: "\2665";
}

.support-card--membership .support-card-icon::before {
  content: "\2726";
}

.support-card--shop .support-card-icon::before {
  content: "\25c7";
}

.support-card--donation .support-card-icon {
  color: #95752b;
  background: #f8f2de;
}

.support-card--shop .support-card-icon {
  color: #4f7383;
  background: #edf4f6;
}

.support-card-number {
  color: rgb(37 91 67 / 13%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
}

.support-card-copy {
  flex: 1;
}

.support-card-eyebrow {
  margin: 0 0 0.38rem;
  color: #8c7439;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.support-card h3 {
  margin: 0;
  color: #234437;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 730;
  line-height: 1.3;
}

.support-card > p:not(.support-card-eyebrow) {
  margin: 0.55rem 0 1rem;
  color: #6a776f;
  font-size: 0.82rem;
  line-height: 1.65;
}

.support-card-copy > p:last-child {
  margin: 0.55rem 0 1rem;
  color: #68776e;
  font-size: 0.82rem;
  line-height: 1.65;
}

.support-card-action {
  display: inline-flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-inline: 0.95rem;
  border: 1px solid rgb(40 112 78 / 12%);
  border-radius: 0.7rem;
  color: #246a4b;
  background: #f7faf6;
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.support-card-action span {
  position: relative;
}

.support-card-action span::after {
  position: absolute;
  right: 0;
  bottom: -0.2rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.support-card-action:hover span::after {
  transform: scaleX(1);
}

.support-card-action i {
  font-size: 0.68rem;
  transition: transform 220ms ease;
}

.support-card-action:hover {
  border-color: #28714f;
  color: #fff;
  background: #28714f;
}

.support-card-action:hover i {
  transform: translateX(3px);
}

.support-membership-actions {
  display: grid;
  width: 100%;
  gap: 0.45rem;
  margin-top: auto;
}

.support-note {
  max-width: 54rem;
  margin: 0.8rem auto 0;
  color: #778177;
  font-size: 0.66rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 760px) {
  .platform-pathways-grid {
    grid-template-columns: 1fr;
  }

  .platform-pathway {
    min-height: 0;
  }

  .platform-pathway-links,
  .platform-directory-links,
  .platform-pathway-note {
    position: static;
  }

  .platform-directory-links {
    margin-top: 0.75rem;
  }

  .support-options {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 0;
    padding: 1.25rem;
  }
}

@media (max-width: 420px) {
  .platform-directory-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-pathway-links a,
  .platform-directory-links a {
    transition: none;
  }
}
