/* Collection + Support pages */

.page-head {
  padding-top: var(--nav-h);
}

/* Long-scroll editorial chapters */
.chapter { scroll-margin-top: var(--nav-h); }
.chapter__intro {
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
/* Solid brand colours — the bands sit on black in the R3 direction */
.chapter__intro--blue { background: var(--tupa-blue); }
.chapter__intro--teal { background: var(--tupa-teal); }
.chapter__intro--red  { background: var(--tupa-red); }
/* Chapter headings wrap to two lines; the display face sets at 0.95 line-height,
   which let the "g" of Heritage collide with the "d" of Apostles. */
.chapter__intro .display { max-width: 20ch; line-height: 1.1; }

.chapter__body {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}
@media (min-width: 60em) {
  .chapter__body { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
  .chapter__body--flip > :first-child { order: 2; }
}
.chapter__media { overflow: hidden; }
.chapter__media img { width: 100%; height: auto; }
.chapter__copy > * + * { margin-top: 1.25rem; }
.chapter__copy .caption { display: block; }
.chapter__body--top { align-items: start; }
.chapter__media--stack {
  display: grid;
  gap: 1.25rem;
}
.chapter__picasso {
  background: var(--ink);
  color: var(--gallery);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.chapter__picasso .display { font-size: clamp(3.5rem, 8vw, 6.5rem); }

/* ------------------------------------------------------------ Support */

.support-hero {
  background: var(--ink);
  color: var(--gallery);
  padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 8vw, 6rem);
}
.support-hero .display { max-width: 14ch; }
.support-hero .lead { max-width: 40rem; margin-top: 1.5rem; color: #cfcec9; }
/* The Cause hero is blue in the black direction; the Bible hero stays ink */
.support-hero--blue { background: var(--tupa-blue); color: #fff; }
.support-hero--blue .lead { color: #EAF2FA; }

/* Abbey split — black copy panel left, full-bleed church photo right (mockup) */
.abbey-split { display: grid; }
@media (min-width: 60em) {
  .abbey-split { grid-template-columns: 1fr 1.1fr; }
}
.abbey-split__copy {
  padding: clamp(3rem, 6vw, 5.5rem) var(--gutter);
  display: grid;
  align-content: center;
}
.abbey-split__inner {
  max-width: 32rem;
  margin-inline: auto;
}
@media (min-width: 60em) {
  /* Line the copy up with the sitewide container's left edge */
  .abbey-split__inner {
    margin-left: max(0rem, calc((100vw - var(--max-w)) / 2 - var(--gutter)));
    margin-right: clamp(1rem, 4vw, 4rem);
  }
}
.abbey-split__inner h2 { margin-bottom: 1.5rem; }
.abbey-split__inner p + p { margin-top: 1rem; }
.abbey-split__img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
  display: block;
}

.sponsor-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 40em) { .sponsor-wall { grid-template-columns: 1fr 1fr; } }
.sponsor-wall a {
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(20,20,20,0.1);
  padding: 2.5rem 2rem;
  min-height: 9rem;
}
.sponsor-wall img {
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.35s ease, opacity 0.35s ease;
  max-height: 4rem;
  width: auto;
}
.sponsor-wall a:hover img, .sponsor-wall a:focus-visible img { filter: none; opacity: 1; }
