:root {
  color-scheme: light;
  --ink: #211d18;
  --muted: #685d50;
  --paper: #fffdf8;
  --wash: #f8f0e5;
  --card: #ffffff;
  --gold: #b57c24;
  --amber: #df8127;
  --aqua: #0b91a4;
  --line: rgba(80, 58, 32, 0.14);
  --shadow: 0 18px 46px rgba(69, 49, 23, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

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

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 112px 0 76px;
  background: #211d18;
}

.heroImage,
.heroShade,
.heroWatermark {
  position: absolute;
}

.heroImage,
.heroShade {
  inset: 0;
}

.heroImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 1;
  z-index: -3;
}

.heroShade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(22, 18, 12, 0.78), rgba(22, 18, 12, 0.46) 48%, rgba(22, 18, 12, 0.18)),
    linear-gradient(0deg, rgba(22, 18, 12, 0.72), rgba(22, 18, 12, 0.08) 52%, rgba(22, 18, 12, 0.56));
}

.heroWatermark {
  z-index: -1;
  right: max(22px, calc((100vw - 1160px) / 2));
  bottom: 42px;
  width: min(480px, 42vw);
  opacity: 0.18;
  object-fit: contain;
  pointer-events: none;
}

.nav {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.navLinks {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.navLinks a {
  transition: color 160ms ease;
}

.navLinks a:hover {
  color: var(--aqua);
}

.heroInner {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 26px;
  align-items: end;
}

.heroContent {
  animation: riseIn 0.7s ease both;
}

.heroLogo {
  width: 188px;
  height: auto;
  object-fit: contain;
  margin: 0 0 20px;
}

.kicker,
.eyebrow {
  color: var(--aqua);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 4.8vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: #fffdf8;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.heroText {
  max-width: 580px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 1.06rem;
  line-height: 1.7;
}

.heroActions,
.contactBox {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(69, 49, 23, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(69, 49, 23, 0.14);
}

.button.primary {
  background: linear-gradient(135deg, #efbf62, var(--amber));
  color: #21160a;
}

.button.ghost,
.button.outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.button.uber {
  background: #111;
  color: #fff;
}

.heroBadge {
  width: fit-content;
  max-width: 100%;
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.14);
}

.heroBadge span,
.quickInfo span,
.ministryCard span,
dt,
.giving p,
.pixCard span {
  color: var(--gold);
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heroBadge strong {
  font-size: 1rem;
}

.quickInfo {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: -34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.quickInfo div {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.quickInfo div:last-child {
  border-right: 0;
}

.quickInfo strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.section {
  padding-block: clamp(62px, 8vw, 96px);
}

.split,
.missionGrid,
.leadership,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.copy,
.missionGrid p,
.contact p,
.leadership dd {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.verseBand {
  margin-top: 20px;
  padding-block: clamp(50px, 7vw, 82px);
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(181, 124, 36, 0.1), rgba(11, 145, 164, 0.1)),
    #fffaf0;
}

.verseBand p {
  margin-bottom: 12px;
}

.verseBand blockquote {
  max-width: 980px;
  margin: 0;
  color: #48331b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.42rem, 2.5vw, 2.55rem);
  line-height: 1.28;
}

.missionGrid article,
.timeCard,
.pixCard {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 32px rgba(69, 49, 23, 0.07);
}

.missionGrid article,
.timeCard {
  padding: clamp(22px, 3vw, 34px);
}

.sectionHeader {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.timeCard strong {
  display: block;
  margin-top: 8px;
  color: #3b2b17;
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
}

.timeCard span {
  color: var(--aqua);
  font-weight: 800;
}

.valuesSection {
  background: var(--wash);
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.values span {
  border: 1px solid rgba(181, 124, 36, 0.24);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.94rem;
}

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

.ministryCard {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(69, 49, 23, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ministryCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(69, 49, 23, 0.14);
}

.ministryCard img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.ministryCard:nth-child(1) img,
.ministryCard:nth-child(2) img {
  object-position: center 30%;
}

.ministryCard:nth-child(3) img {
  object-position: center 44%;
}

.ministryCard:hover img {
  transform: scale(1.045);
}

.ministryCard div {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(31, 27, 22, 0.88), rgba(31, 27, 22, 0));
  color: #fffdf8;
}

.ministryCard h3 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
}

.gallerySection {
  background: linear-gradient(180deg, #fffdf8, #f8f0e5);
  border-top: 1px solid var(--line);
}

.galleryGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 185px;
  gap: 16px;
}

.galleryItem {
  position: relative;
  min-height: 185px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(69, 49, 23, 0.08);
}

.galleryItem.tall {
  grid-row: span 2;
}

.galleryItem.wide {
  grid-column: span 2;
}

.galleryItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transition: transform 520ms ease;
}

.galleryItem:nth-child(3) img {
  object-position: center;
}

.galleryItem:hover img {
  transform: scale(1.045);
}

.galleryItem figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 7px;
  padding: 10px 12px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(31, 27, 22, 0.14);
}

.leadershipBand {
  background: #fff7ea;
}

.leadership {
  align-items: center;
}

.leaderPhoto {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.leaderPhoto img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 28%;
}

dl {
  display: grid;
  gap: 20px;
  margin: 26px 0 0;
}

dd {
  margin: 6px 0 0;
}

.giving {
  border-block: 1px solid var(--line);
  background: #fff;
}

.givingInner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 84px);
}

.giving h2 {
  margin-bottom: 12px;
}

.giving span {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.pixCard {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, #fffdf8, #f8efe2);
}

.pixCard img {
  width: 122px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid rgba(80, 58, 32, 0.1);
  border-radius: 6px;
  background: #fff;
}

.pixCard strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

.pixCard small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.4;
}

.contact {
  align-items: center;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.9fr);
}

.contactBox {
  justify-content: flex-end;
}

.email {
  width: 100%;
  color: var(--aqua);
  text-align: right;
  overflow-wrap: anywhere;
}

.mapFrame {
  grid-column: 1 / -1;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mapFrame iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .navLinks {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 96px 48px;
  }

  .heroInner,
  .split,
  .missionGrid,
  .leadership,
  .contact,
  .givingInner {
    grid-template-columns: 1fr;
  }

  .quickInfo,
  .timeGrid,
  .ministryGrid,
  .galleryGrid {
    grid-template-columns: 1fr;
  }

  .galleryGrid {
    grid-auto-rows: auto;
  }

  .galleryItem,
  .galleryItem.tall,
  .galleryItem.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 280px;
  }

  .quickInfo {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    border-inline: 0;
  }

  .quickInfo div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quickInfo div:last-child {
    border-bottom: 0;
  }

  .contactBox {
    justify-content: flex-start;
  }

  .email {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .container,
  .heroInner {
    width: min(100% - 32px, 1160px);
  }

  .nav {
    padding: 10px 16px;
  }

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

  .brand span {
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 82px;
    min-height: 680px;
  }

  .heroLogo {
    width: min(150px, 48vw);
    margin-bottom: 14px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  h2 {
    font-size: 1.5rem;
  }

  .kicker,
  .eyebrow {
    font-size: 0.7rem;
  }

  .heroText,
  .copy,
  .missionGrid p,
  .contact p,
  .leadership dd {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .heroActions,
  .contactBox {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .heroBadge {
    padding: 12px;
  }

  .heroImage {
    object-position: 58% center;
  }

  .heroWatermark {
    width: min(270px, 72vw);
    right: 16px;
    bottom: 78px;
    opacity: 0.16;
  }

  .section {
    padding-block: 46px;
  }

  .verseBand {
    padding-block: 44px;
  }

  .verseBand blockquote {
    font-size: 1.25rem;
  }

  .missionGrid article,
  .timeCard {
    padding: 22px;
  }

  .ministryCard,
  .ministryCard img,
  .galleryItem {
    min-height: 250px;
  }

  .galleryItem img {
    min-height: 250px;
  }

  .leaderPhoto img {
    aspect-ratio: 4 / 5;
    object-position: center 22%;
  }

  .pixCard {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .pixCard img {
    width: min(220px, 76vw);
  }

  .mapFrame iframe {
    height: 320px;
  }
}
