.giving-hero {
  background: radial-gradient(ellipse at 91% 0%, #67364d, #321a2b 72%);
  color: #fff6ef;
}

.giving-hero .shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(28px, 5.5vw, 81px);
  padding-block: clamp(28px, 3.6vw, 53px);
}

.giving-hero .page-intro::before { background: #e8adc3; }

.giving-hero h1 {
  margin-bottom: .27em;
  font-size: clamp(3.7rem, 7.4vw, 6.8rem);
  font-weight: 655;
  letter-spacing: -.059em;
}

.giving-hero .prose {
  max-width: 56ch;
  color: #f3e2ea;
  font-size: clamp(1rem, 1.36vw, 1.14rem);
  line-height: 1.66;
}

.giving-feature {
  display: grid;
  grid-template-areas: "feature";
  justify-self: end;
  width: min(100%, 485px);
  margin: 0;
  overflow: hidden;
  border: 1px solid #a77b90;
  border-radius: 19px;
  background: #281a25;
}

.giving-feature img {
  grid-area: feature;
  align-self: start;
  width: 100%;
  height: auto;
}

.giving-feature blockquote {
  grid-area: feature;
  align-self: end;
  z-index: 1;
  margin: 0;
  padding: clamp(28px, 4.8vw, 60px) clamp(14px, 2.15vw, 27px) clamp(14px, 2.15vw, 25px);
  background: linear-gradient(0deg, #241421 5%, #241421e8 45%, transparent);
  color: #fff6ef;
  font: 610 clamp(1.04rem, 1.8vw, 1.51rem)/1.28 var(--display);
  text-wrap: balance;
}

.giving-content {
  padding-block: clamp(28px, 4.4vw, 64px);
  background: #fdf9f5;
}

.giving-content h2 {
  margin-bottom: 15px;
  color: var(--accent-hover);
  font-size: clamp(1.94rem, 3.35vw, 3.12rem);
  text-wrap: unset;
}

.giving-mobile {
  display: grid;
  grid-template-columns: minmax(0, .21fr) minmax(0, .79fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #e6d6d4;
  border-radius: 18px;
  background: #f3e5e9;
}

.giving-mobile h2 {
  margin: 0;
  padding: 17px clamp(17px, 2.9vw, 43px);
  font-size: clamp(1.76rem, 2.85vw, 2.8rem);
}

.mobile-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-inline-start: 1px solid #e6d6d4;
  background: #e6d6d4;
}

.mobile-options .payment-option {
  padding: clamp(15px, 2.1vw, 27px);
  background: #fffcfa;
}

.payment-name {
  margin: 0;
  color: var(--accent-hover);
  font-size: clamp(1.03rem, 1.55vw, 1.37rem);
  line-height: 1.23;
  text-wrap: unset;
}

.payment-reference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
  color: var(--accent-hover);
  font-variant-numeric: tabular-nums;
}

.payment-reference strong {
  display: block;
  font-size: clamp(1.06rem, 1.65vw, 1.39rem);
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.payment-field {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.35;
}

.payment-meta {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.payment-meta p { margin: 0; }
.mobile-options .payment-reference { margin-block: 3px 1px; }
.mobile-options .payment-meta { font-size: .83rem; }

.copy-payment {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e6d1db;
  border-radius: 11px;
  background: #f8eef2;
  color: var(--accent);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

.copy-payment:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.copy-payment[data-copied] {
  border-color: #b2ccba;
  background: #e8f3ea;
  color: #2a593b;
}

.copy-payment .icon { grid-area: 1 / 1; width: 18px; height: 18px; }
.copy-payment .icon:last-child, .copy-payment[data-copied] .icon:first-child { visibility: hidden; }
.copy-payment[data-copied] .icon:last-child { visibility: visible; }

.giving-bank { margin-top: clamp(27px, 4.25vw, 61px); }

.bank-ledger {
  overflow: hidden;
  border: 1px solid #e6d6d4;
  border-radius: 18px;
  background: #fffcfa;
}

.bank-group {
  display: grid;
  grid-template-columns: minmax(0, .21fr) minmax(0, .79fr);
}

.bank-group + .bank-group { border-top: 1px solid #e6d6d4; }

.bank-group > h3 {
  margin: 0;
  padding: clamp(14px, 2.2vw, 28px) clamp(17px, 2.9vw, 43px);
  background: #f5ebe9;
  color: var(--accent-hover);
  font-size: clamp(1.11rem, 1.65vw, 1.49rem);
  line-height: 1.2;
  text-wrap: unset;
}

.bank-records { border-inline-start: 1px solid #e6d6d4; }

.bank-records .payment-option {
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 12px clamp(14px, 2.1vw, 28px);
  min-width: 0;
  padding: clamp(13px, 1.8vw, 25px);
}

.bank-records .payment-option + .payment-option { border-top: 1px solid #eee0dc; }

@media (max-width: 1020px) {
  .giving-mobile, .bank-group { grid-template-columns: minmax(0, 1fr); }
  .mobile-options, .bank-records { border-inline-start: 0; border-top: 1px solid #e6d6d4; }
}

@media (max-width: 760px) {
  .giving-hero .shell { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .giving-feature { justify-self: start; width: min(100%, 540px); }
  .giving-hero h1 { font-size: clamp(3.35rem, 11.5vw, 4.75rem); }
  .bank-records .payment-option { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .bank-records .payment-meta { padding-top: 9px; border-top: 1px solid #ede0dc; }
  .giving-mobile, .bank-ledger, .giving-feature { border-radius: 14px; }
}

@media (max-width: 540px) {
  .mobile-options { grid-template-columns: minmax(0, 1fr); }
  .giving-hero .prose { font-size: .98rem; }
}
