.pastor-page {
  background: var(--cream);
}

.pastor-page main {
  padding-top: 92px;
}

.pastor-hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(420px, 60vh, 640px);
  margin-inline: 0;
  overflow: hidden;
  border-radius: 0;
  background: #292826;
  color: var(--white);
}

.pastor-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(39%, 560px);
  min-height: inherit;
  padding: 20px clamp(28px, 5vw, 76px) 20px clamp(28px, 7vw, 108px);
  position: relative;
  z-index: 2;
}

.pastor-hero-copy h1,
.pastor-story h2,
.pastor-details h2,
.pastor-final-cta h2 {
  font-family: "Bricolage Grotesque", Manrope, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pastor-hero-copy h1 {
  margin: 21px 0 12px;
  font-size: clamp(43px, 4.9vw, 67px);
  line-height: 0.86;
  white-space: pre-line;
}

.pastor-hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.pastor-hero-copy > p:not(.eyebrow) {
  max-width: 380px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 1.12;
}

.pastor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pastor-actions .button {
  min-height: 46px;
  padding-inline: 20px;
}

.pastor-hero-image {
  position: absolute;
  inset: 0 0 0 20%;
  overflow: hidden;
  z-index: 0;
}

.pastor-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 53%;
  filter: brightness(1.08) contrast(1.03) saturate(1.02);
  transform: translateX(8%) scale(1.22);
}

.pastor-hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #292826 0%, #292826 8%, rgba(41, 40, 38, 0.78) 24%, rgba(41, 40, 38, 0.28) 42%, rgba(41, 40, 38, 0) 58%);
  content: "";
  pointer-events: none;
}

.pastor-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 80px);
  padding: 42px 0 52px;
  border-top: 1px solid var(--line);
}

.pastor-story h2 {
  margin: 18px 0 7px;
  font-size: clamp(48px, 5vw, 70px);
  line-height: 0.9;
}

.pastor-story-heading > p:last-child {
  max-width: 340px;
  margin: 0;
  color: #795d50;
  font-size: 19px;
  line-height: 1.2;
}

.pastor-story-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.pastor-story-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.pastor-story-copy p:last-child {
  margin-bottom: 0;
}

.pastor-details {
  padding: 0 0 12px;
}

.pastor-details-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 0.95;
}

.pastor-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pastor-detail-card {
  display: flex;
  gap: 14px;
  min-height: 128px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 8px;
}

.pastor-detail-icon {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  background: #735a50;
  border-radius: 50%;
  color: var(--white);
}

.pastor-detail-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.pastor-detail-card h3 {
  margin: 3px 0 7px;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
}

.pastor-detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.pastor-final-cta {
  margin-top: 38px;
}

@media (max-width: 980px) {
  .pastor-hero {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .pastor-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pastor-page main {
    padding-top: 76px;
  }

  .pastor-hero,
  .pastor-story {
    grid-template-columns: 1fr;
  }

  .pastor-hero {
    display: grid;
    min-height: 0;
    gap: 0;
  }

  .pastor-hero-copy {
    width: auto;
    min-height: 0;
    padding: 38px 28px 30px;
  }

  .pastor-hero-copy h1 {
    font-size: clamp(48px, 14vw, 74px);
  }

  .pastor-hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(195px, 47vw, 255px);
    aspect-ratio: 2 / 1;
    z-index: 0;
  }

  .pastor-hero-image::after {
    background: linear-gradient(180deg, #292826 0%, rgba(41, 40, 38, 0.48) 22%, rgba(41, 40, 38, 0) 56%);
  }

  .pastor-story {
    gap: 30px;
    padding-top: 42px;
  }

  .pastor-story-copy {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 18px;
  }
}

@media (max-width: 560px) {
  .pastor-story,
  .pastor-details {
    width: min(100% - 40px, 520px);
  }

  .pastor-hero {
    width: 100%;
  }

  .pastor-detail-grid {
    grid-template-columns: 1fr;
  }

  .pastor-final-cta {
    margin-top: 34px;
  }
}
