.donation-page {
  background: var(--paper-deep);
}

.donation-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 720px;
  height: 100vh;
  max-height: 1080px;
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--white);
}

.donation-hero-copy {
  min-height: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  padding: clamp(145px, 17vh, 205px) clamp(35px, 5.2vw, 94px) clamp(68px, 9vh, 110px);
  background:
    radial-gradient(circle at 13% 8%, rgba(229, 189, 130, 0.14), transparent 33%),
    var(--ink-soft);
}

.donation-hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 25%;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.donation-hero-copy-inner {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.donation-hero h1 {
  margin-top: 27px;
  font-size: clamp(5.1rem, 7vw, 8.3rem);
  line-height: 0.79;
  letter-spacing: -0.065em;
}

.donation-hero h1 em {
  color: var(--gold-light);
}

.donation-hero-copy-inner > p:not(.eyebrow) {
  max-width: 575px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.8;
}

.donation-action {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
}

.donation-action > span {
  max-width: 165px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.57rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.donation-button,
.donation-button:disabled,
.donation-button:hover,
.donation-button:focus,
.donation-button:disabled:hover {
  min-width: 170px;
  border-color: rgba(229, 189, 130, 0.6);
  background: var(--gold-light);
  color: var(--ink-soft);
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.donation-gallery {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  grid-template-rows: 1fr 1fr;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #121b1e;
}

.donation-photo {
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: #1e292c;
}

.donation-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 16, 18, 0.58), transparent 50%);
  pointer-events: none;
}

.donation-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1);
}

.donation-photo:hover img {
  transform: scale(1.025);
}

.donation-photo-communion img { object-position: 52% 58%; }
.donation-photo-volunteers img { object-position: 50% 38%; }
.donation-photo-media img { object-position: 53% 48%; }
.donation-photo-worship img { object-position: 48% 35%; }

.donation-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 21px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.generosity-values {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.generosity-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  border-left: 1px solid var(--line);
}

.generosity-values article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(35px, 4vw, 68px);
  border-right: 1px solid var(--line);
}

.generosity-values article:nth-child(2) {
  background: var(--paper-deep);
}

.generosity-values article:nth-child(3) {
  background: var(--gold-light);
}

.generosity-values h2 {
  max-width: 420px;
  color: var(--ink-soft);
  font-size: clamp(2.45rem, 3.7vw, 4.35rem);
  line-height: 0.94;
}

.bank-transfer {
  background: var(--paper-deep);
}

.bank-transfer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(65px, 9vw, 150px);
  align-items: start;
}

.bank-transfer-intro {
  position: sticky;
  top: 130px;
}

.bank-transfer-intro h2 {
  margin-top: 25px;
  font-size: clamp(4.2rem, 6.3vw, 7.2rem);
  line-height: 0.87;
}

.bank-transfer-intro h2 em {
  color: #9b7950;
}

.bank-transfer-intro > p:not(.eyebrow) {
  max-width: 390px;
  margin-top: 31px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.75;
}

.bank-card {
  padding: clamp(32px, 5.2vw, 72px);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(67, 89, 96, 0.12);
}

.bank-card-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.bank-card-head > div {
  display: grid;
  gap: 8px;
}

.bank-card-head span,
.bank-details dt {
  color: #9b7950;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bank-card-head strong {
  color: var(--ink-soft);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bank-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bank-details > div {
  display: grid;
  gap: 14px;
  padding: 30px 24px 30px 0;
  border-bottom: 1px solid var(--line);
}

.bank-details > div:nth-child(even) {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.bank-details dd {
  margin: 0;
  color: var(--ink-soft);
  font: 400 clamp(1.85rem, 2.8vw, 3.2rem) / 1 var(--serif);
  letter-spacing: -0.035em;
}

.bank-detail-wide {
  grid-column: 1 / -1;
  padding-right: 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
}

.bank-detail-wide dd {
  font-size: clamp(1.65rem, 2.6vw, 3rem);
  letter-spacing: 0.015em;
}

.bank-card-note {
  margin-top: 27px;
  color: var(--muted);
  font-size: 0.68rem;
}

.donation-closing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 110%, rgba(229, 189, 130, 0.17), transparent 43%),
    var(--ink-soft);
  color: var(--white);
}

.donation-closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.donation-closing-inner > img {
  margin-bottom: 31px;
}

.donation-closing h2 {
  margin-top: 25px;
  font-size: clamp(4.1rem, 7vw, 7.8rem);
  line-height: 0.85;
}

.donation-closing h2 em {
  color: var(--gold-light);
}

.donation-closing-inner > p:not(.eyebrow) {
  max-width: 590px;
  margin-top: 31px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.81rem;
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .donation-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    max-height: none;
  }

  .donation-hero-copy {
    min-height: 700px;
  }

  .donation-hero h1 {
    font-size: clamp(5.5rem, 11vw, 8.4rem);
  }

  .donation-gallery {
    min-height: 920px;
  }

  .generosity-values h2 {
    font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  }
}

@media (max-width: 780px) {
  .donation-hero-copy {
    min-height: 665px;
    padding: 145px 25px 66px;
  }

  .donation-hero h1 {
    font-size: clamp(4.2rem, 17vw, 6.5rem);
  }

  .donation-hero-copy-inner > p:not(.eyebrow) {
    margin-top: 30px;
    font-size: 0.78rem;
  }

  .donation-gallery {
    min-height: 900px;
  }

  .generosity-values-grid {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .generosity-values article {
    min-height: 260px;
    padding: 35px 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .generosity-values h2 {
    font-size: clamp(3rem, 11vw, 4.2rem);
  }

  .bank-transfer-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .bank-transfer-intro {
    position: static;
  }

  .bank-transfer-intro h2 {
    font-size: clamp(4rem, 15vw, 6rem);
  }

  .donation-closing h2 {
    font-size: clamp(3.9rem, 15vw, 6.1rem);
  }
}

@media (max-width: 520px) {
  .donation-action {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .donation-gallery {
    grid-template-columns: 1fr 1fr;
    min-height: 720px;
  }

  .donation-photo figcaption {
    left: 14px;
    bottom: 14px;
  }

  .bank-details {
    grid-template-columns: 1fr;
  }

  .bank-details > div,
  .bank-details > div:nth-child(even) {
    padding: 25px 0;
    border-left: 0;
  }

  .bank-detail-wide {
    grid-column: auto;
  }

  .bank-details dd,
  .bank-detail-wide dd {
    overflow-wrap: anywhere;
    font-size: clamp(1.65rem, 8.8vw, 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .donation-photo img,
  .donation-photo:hover img,
  .donation-button,
  .donation-button:hover {
    transition: none;
    transform: none;
  }
}
