:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #f4f5f7;
  --text-muted: #666a73;
  --line: #dddddf;
  --primary: #f05b2a;
  --primary-dark: #c13d17;
  --teal: #0f766e;
  --gold: #b9851f;
  --charcoal: #171719;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
footer,
[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.brand {
  min-height: 96px;
  padding: 20px 22px 18px 34px;
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 18px;
  font-weight: 900;
}

.brand span span {
  font-size: 14px;
  font-weight: 800;
  max-width: 155px;
}

.header-actions {
  padding: 24px 36px 0 0;
  display: flex;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
}

.give-link,
.menu-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
}

.give-link {
  color: var(--paper);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(17, 17, 17, 0.28);
  transition: background 180ms ease, color 180ms ease;
}

.site-header.scrolled .give-link {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.give-link svg,
.menu-button svg,
.button svg,
.menu-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.give-link svg {
  fill: none;
}

.menu-button {
  padding: 0 16px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.menu-panel {
  position: fixed;
  z-index: 30;
  inset: 0 0 0 auto;
  width: min(420px, 100%);
  padding: 84px 36px 36px;
  background: rgba(17, 17, 17, 0.96);
  color: var(--paper);
  transform: translateX(100%);
  transition: transform 220ms ease;
  display: grid;
  align-content: start;
  gap: 18px;
}

.menu-panel.open {
  transform: translateX(0);
}

.menu-panel a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 26px;
  font-weight: 800;
}

.menu-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--paper);
}

.section-dark {
  background: var(--charcoal);
  color: var(--paper);
}

.section-muted {
  background: var(--muted);
}

.hero {
  min-height: 620px;
  height: 88svh;
  max-height: 800px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(115deg, rgba(17, 19, 21, 0.94), rgba(17, 19, 21, 0.72)),
    url("assets/footer-bg.jpg") center / cover;
  background-size: 76px 76px, 76px 76px, auto, cover;
  z-index: -5;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--primary) 0 7px, transparent 7px) 76px 18% / 210px 1px no-repeat,
    linear-gradient(90deg, rgba(240, 91, 42, 0.65), transparent) 0 18% / 286px 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(240, 91, 42, 0.35)) 100% 72% / 330px 1px no-repeat;
  z-index: -4;
  pointer-events: none;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0 46%, rgba(0, 0, 0, 0.08) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34));
  z-index: -1;
}

.hero-portrait {
  position: absolute;
  right: 3%;
  bottom: 0;
  width: min(49%, 610px);
  height: 86%;
  z-index: -2;
  pointer-events: none;
}

.hero-pastors {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  z-index: 2;
  filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.42));
}

.hero-portrait-frame {
  width: 66%;
  aspect-ratio: 1;
  position: absolute;
  right: 5%;
  bottom: 12%;
  border: 1px solid rgba(240, 91, 42, 0.62);
  transform: rotate(45deg);
}

.hero-portrait-frame::before,
.hero-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-portrait-frame::after {
  inset: 26%;
  background: rgba(240, 91, 42, 0.09);
  border-color: rgba(240, 91, 42, 0.25);
}

.hero-accent-plane {
  position: absolute;
  z-index: 1;
  display: block;
  border: 1px solid rgba(240, 91, 42, 0.72);
  background: linear-gradient(135deg, rgba(240, 91, 42, 0.34), rgba(240, 91, 42, 0.06));
  transform: rotate(45deg);
}

.hero-accent-plane-one {
  width: 74px;
  height: 74px;
  top: 15%;
  right: 2%;
}

.hero-accent-plane-two {
  width: 42px;
  height: 42px;
  left: 6%;
  bottom: 28%;
}

.hero-portrait-caption {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 54px;
  padding: 12px 0 12px 18px;
  border-left: 3px solid var(--primary);
  display: grid;
  gap: 2px;
  text-align: right;
}

.hero-portrait-caption span {
  color: var(--primary);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-portrait-caption strong {
  color: var(--paper);
  font-size: 13px;
  line-height: 1.3;
}

.side-rail {
  position: absolute;
  inset: 116px auto 0 0;
  width: 56px;
  background: var(--paper);
  color: #8b8f97;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 28px 0;
  font-size: 12px;
  font-weight: 800;
  z-index: 1;
}

.side-rail > .side-rail-label,
.side-rail > span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.side-rail > .side-rail-label {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.side-rail-socials {
  display: grid;
  gap: 10px;
}

.side-rail-socials a {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: border-color 180ms ease, transform 180ms ease;
}

.side-rail-socials a:hover,
.side-rail-socials a:focus-visible {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.side-rail-socials img {
  width: 15px;
  height: 15px;
}

.hero-content {
  width: min(780px, calc(100% - 120px));
  margin-left: max(96px, calc((100% - 1120px) / 2 + 40px));
  padding-top: 70px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker,
.label {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 740px;
  font-size: 72px;
  line-height: 0.98;
  font-weight: 950;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 21px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-disabled,
.button-disabled:hover {
  cursor: not-allowed;
  opacity: 0.58;
  pointer-events: none;
  transform: none;
}

.button-primary {
  background: var(--primary);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

.welcome-section,
.service-section,
.experience-section,
.beliefs-section,
.values-section,
.mantra-section,
.ministries-section,
.cells-section,
.give-section,
.visit-section {
  padding: 96px 0;
}

.ghost-word {
  color: #eef0f2;
  font-size: 180px;
  line-height: 0.8;
  font-weight: 950;
  text-align: center;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 88px;
  align-items: center;
  margin-top: -60px;
}

.welcome-copy h2,
.split-intro h2,
.experience-copy h2,
.about-grid h2,
.centered-heading h2,
.give-content h2,
.visit-grid h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 900;
}

.welcome-copy p,
.split-intro p,
.experience-copy p,
.about-grid p,
.vision-stack p,
.value-grid p,
.ministry-item p,
.cells-grid p,
.give-content p,
.visit-grid p,
.story-panel p {
  color: var(--text-muted);
}

.section-dark .about-grid p,
.section-dark .cells-grid p,
.section-dark .cell-benefits p {
  color: rgba(255, 255, 255, 0.72);
}

.welcome-image {
  margin: 0;
  min-height: 430px;
  display: grid;
  align-items: end;
  background: #f2f2f2;
  border-radius: 8px;
  overflow: hidden;
}

.welcome-image img {
  width: 100%;
  object-fit: contain;
}

.text-link {
  color: var(--primary);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 44px;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.service-panel,
.story-panel {
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
}

.service-main {
  background: var(--charcoal);
  color: var(--paper);
  border-color: var(--charcoal);
}

.service-main h3 {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
}

.address {
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
}

.expect-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.expect-list div,
.belief-grid div,
.value-grid article,
.cell-benefits article {
  min-height: 108px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 22px;
  display: grid;
  align-content: center;
  font-weight: 850;
}

.expect-list span {
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 36px;
  align-items: center;
}

.resource-band {
  min-height: 180px;
  background: var(--primary);
  border-radius: 8px;
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  min-height: 136px;
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: center;
  box-shadow: 0 18px 40px rgba(95, 35, 10, 0.14);
}

.resource-card strong {
  display: block;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 14px;
}

.resource-card small {
  color: var(--text-muted);
}

.about-grid,
.cells-grid,
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 52px;
  align-items: start;
}

.vision-stack {
  display: grid;
  gap: 16px;
}

.vision-stack article {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
}

.vision-stack span {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.vision-stack h3,
.cell-benefits h3,
.value-grid h3,
.ministry-item h3,
.story-panel h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.belief-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.belief-grid div {
  border-top: 4px solid var(--teal);
}

.centered-heading {
  max-width: 680px;
  margin: 0 auto 46px;
  text-align: center;
}

.value-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.value-grid article {
  align-content: start;
  min-height: 220px;
}

.value-grid h3 {
  color: var(--teal);
}

.mantra-section {
  background: var(--paper);
}

.mantra-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px 36px;
  align-items: baseline;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 48px;
  padding-bottom: 48px;
}

.mantra-grid p {
  margin: 0;
  color: var(--primary);
  font-weight: 950;
}

.mantra-grid h2 {
  margin: 0;
  font-size: 31px;
  line-height: 1.16;
}

.ministries-section {
  padding-top: 110px;
}

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px 44px;
}

.ministry-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--muted);
}

.ministry-item h3 {
  font-size: 34px;
  margin-top: 28px;
}

.ministry-item ul,
.visit-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.ministry-item li,
.visit-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
}

.ministry-item li::before,
.visit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.cell-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cell-benefits article {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.cell-benefits h3 {
  color: var(--paper);
}

.give-section {
  text-align: center;
}

.give-content {
  max-width: 820px;
  margin: -46px auto 0;
}

.give-content h2 {
  font-size: 38px;
}

.giving-ways {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 32px;
}

.giving-ways span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--paper);
  font-weight: 800;
}

.story-panel {
  border-top: 4px solid var(--gold);
}

.page-hero {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: var(--paper);
  background: var(--charcoal);
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/footer-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: -3;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  z-index: -2;
}

.page-hero-image::before {
  opacity: 1;
  background-size: cover;
  background-position: center;
}

.page-hero-image::after {
  background:
    linear-gradient(90deg, rgba(10, 17, 17, 0.94) 0%, rgba(10, 17, 17, 0.82) 46%, rgba(10, 17, 17, 0.44) 100%),
    linear-gradient(0deg, rgba(10, 17, 17, 0.42), rgba(10, 17, 17, 0.08) 58%);
}

.page-hero-ministries::before {
  background-image: url("assets/ministries-hero.jpeg");
  background-position: center 44%;
}

.page-hero-events::before {
  background-image: url("assets/events-hero.png");
  background-position: center 42%;
}

.page-hero-testimonies::before {
  background-image: url("assets/testimonies-hero.png");
  background-position: center 40%;
}

.page-hero-give::before {
  background-image: url("assets/give-hero.jpg");
  background-position: center 43%;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 96px;
}

.page-hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: 68px;
  line-height: 0.98;
  font-weight: 950;
}

.page-hero p:not(.section-kicker) {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
}

.page-hero-figure {
  position: absolute;
  right: max(32px, calc((100% - 1120px) / 2));
  bottom: 0;
  width: min(38%, 470px);
  max-height: 82%;
  object-fit: contain;
  object-position: bottom right;
  z-index: -1;
  opacity: 0.82;
}

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

.page-section {
  padding: 96px 0;
}

.page-section.section-dark,
.page-section.section-muted {
  padding: 96px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 52px;
  align-items: start;
}

.story-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(38px, 6vw, 76px);
  align-items: center;
}

.story-feature-media {
  min-height: 420px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--muted);
  box-shadow: 18px 18px 0 rgba(218, 172, 66, 0.18);
}

.story-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(5, 12, 12, 0.82) 100%);
  pointer-events: none;
}

.story-feature-media img {
  width: 100%;
  height: 420px;
  display: block;
  object-fit: cover;
}

.story-feature-media-sermons img {
  object-position: center 32%;
}

.story-feature-media figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  z-index: 1;
  color: var(--paper);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-feature-copy h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 900;
}

.story-feature-copy p:not(.section-kicker) {
  color: var(--text-muted);
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-detail-card {
  min-height: 290px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 18px 44px rgba(24, 36, 35, 0.07);
}

.contact-detail-card h3 {
  margin: 22px 0 14px;
  font-size: 28px;
  line-height: 1.12;
}

.contact-detail-card p {
  margin: 0 0 24px;
  color: var(--text-muted);
}

.contact-detail-card .button {
  margin-top: auto;
}

.contact-detail-link {
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.two-column h2,
.page-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 900;
}

.two-column p,
.page-heading p,
.content-card p,
.event-card p,
.resource-tile p {
  color: var(--text-muted);
}

.section-dark .two-column p,
.section-dark .content-card p,
.section-dark .event-card p,
.section-dark .resource-tile p {
  color: rgba(255, 255, 255, 0.72);
}

.page-heading {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.card-grid,
.feature-grid,
.resource-grid,
.event-grid {
  display: grid;
  gap: 16px;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.content-card,
.event-card,
.resource-tile,
.image-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 28px;
}

.content-card h3,
.event-card h3,
.resource-tile h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.content-card .number,
.event-card .number {
  display: block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.section-dark .content-card,
.section-dark .event-card,
.section-dark .resource-tile {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.section-dark .content-card h3,
.section-dark .event-card h3,
.section-dark .resource-tile h3 {
  color: var(--paper);
}

.image-card {
  padding: 0;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.image-card div {
  padding: 28px;
}

.page-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
}

.section-dark .page-list li {
  color: rgba(255, 255, 255, 0.72);
}

.page-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.media-banner {
  border-radius: 8px;
  background: var(--primary);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.media-banner .resource-card {
  min-height: 150px;
}

.giving-panel {
  border-radius: 8px;
  background: var(--charcoal);
  color: var(--paper);
  padding: 38px;
}

.giving-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.visit-callout {
  border-radius: 8px;
  background: var(--muted);
  padding: 34px;
  border-left: 4px solid var(--primary);
}

.event-card {
  min-height: 190px;
}

.quiet-page-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.transfer-details {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  overflow-wrap: anywhere;
}

.transfer-details strong {
  color: var(--ink);
  margin-top: 0.35rem;
}

.site-footer {
  color: var(--paper);
  background-image: url("assets/footer-bg.jpg");
  background-size: cover;
  background-position: center;
}

.footer-overlay {
  background: rgba(0, 0, 0, 0.78);
  padding: 78px 0 28px;
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.footer-contact h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.contact-form .full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  padding: 13px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.contact-form button {
  justify-self: start;
  border: 0;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-honeypot {
  display: none;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.form-note.is-error {
  color: #ffd0c7;
}

.footer-rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 64px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 52px;
}

.footer-brand {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand img {
  width: 220px;
  height: auto;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  gap: 72px;
}

.footer-links h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 52px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.copyright a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-portrait {
    right: -4%;
    width: 56%;
    height: 82%;
    opacity: 0.78;
  }

  .resource-band,
  .belief-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid article {
    min-height: 180px;
  }

  .experience-grid,
  .about-grid,
  .cells-grid,
  .visit-grid,
  .two-column,
  .story-feature {
    grid-template-columns: 1fr;
  }

  .page-hero-figure {
    right: -8%;
    width: 54%;
    opacity: 0.46;
  }

  .card-grid,
  .feature-grid,
  .resource-grid,
  .media-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .brand {
    min-height: 82px;
    padding: 14px 16px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand span span {
    display: none;
  }

  .header-actions {
    padding: 18px 16px 0 0;
    gap: 10px;
  }

  .give-link span {
    display: none;
  }

  .menu-button span {
    display: none;
  }

  .menu-button {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .side-rail {
    display: none;
  }

  .hero {
    min-height: 680px;
    height: 88svh;
  }

  .hero::before {
    background-size: 52px 52px, 52px 52px, auto, cover;
  }

  .hero-content {
    width: min(100% - 40px, 620px);
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 47px;
  }

  .page-hero {
    min-height: 500px;
  }

  .page-hero .container {
    padding-top: 86px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .page-hero p:not(.section-kicker) {
    font-size: 18px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-portrait {
    width: 78%;
    right: -20%;
    height: 76%;
    opacity: 0.42;
  }

  .hero-portrait-caption {
    right: 20%;
    bottom: 44px;
  }

  .welcome-section,
  .service-section,
  .experience-section,
  .beliefs-section,
  .values-section,
  .mantra-section,
  .ministries-section,
  .cells-section,
  .give-section,
  .visit-section,
  .page-section,
  .page-section.section-dark,
  .page-section.section-muted {
    padding: 72px 0;
  }

  .ghost-word {
    font-size: 86px;
  }

  .welcome-grid,
  .split-intro,
  .service-grid,
  .footer-contact {
    grid-template-columns: 1fr;
  }

  .welcome-grid {
    margin-top: -26px;
    gap: 34px;
  }

  .welcome-copy h2,
  .split-intro h2,
  .experience-copy h2,
  .about-grid h2,
  .centered-heading h2,
  .give-content h2,
    .visit-grid h2,
    .two-column h2,
    .story-feature-copy h2,
    .page-heading h2 {
    font-size: 34px;
  }

  .service-main h3 {
    font-size: 30px;
  }

  .expect-list,
  .ministry-grid,
  .cell-benefits,
  .event-grid,
  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .mantra-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mantra-grid h2 {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .ministry-item img {
    height: 390px;
  }

  .story-feature-media,
  .story-feature-media img {
    min-height: 330px;
    height: 330px;
  }

  .footer-bottom,
  .copyright {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-portrait-caption {
    display: none;
  }

  .hero-buttons {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .resource-band,
  .belief-grid,
  .value-grid,
  .contact-form,
  .card-grid,
  .feature-grid,
  .resource-grid,
  .media-banner {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .page-hero-figure {
    width: 84%;
    right: -26%;
  }

  .welcome-image {
    min-height: 320px;
  }

  .service-panel,
  .story-panel,
  .vision-stack article {
    padding: 24px;
  }

  .ministry-item img {
    height: 330px;
  }

  .story-feature-media,
  .story-feature-media img {
    min-height: 250px;
    height: 250px;
  }

  .footer-links {
    display: grid;
    gap: 28px;
  }
}
