:root {
  --ink: #202421;
  --muted: #687066;
  --deep: #1b2b27;
  --forest: #2f6f61;
  --wine: #7a2434;
  --wine-dark: #4f1823;
  --gold: #c99a2e;
  --gold-soft: #f4d98f;
  --linen: #f7f1e8;
  --mist: #e8eeeb;
  --paper: #ffffff;
  --line: #ddd5c9;
  --shadow: 0 24px 70px rgba(32, 36, 33, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--linen);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

.skip-link {
  background: var(--wine);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 2000;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  background: rgba(247, 241, 232, 0.96);
  border-bottom: 1px solid rgba(32, 36, 33, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar {
  align-items: center;
  background: var(--deep);
  color: #edf4f1;
  display: flex;
  font-size: 0.88rem;
  gap: 16px;
  justify-content: center;
  padding: 8px 18px;
  text-align: center;
}

.topbar a {
  color: var(--gold-soft);
  font-weight: 800;
}

.header-container {
  align-items: center;
  display: flex;
  gap: 26px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 14px 24px;
}

.brand,
.footer-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.logo {
  background: #fff;
  border: 1px solid rgba(32, 36, 33, 0.12);
  border-radius: 50%;
  height: 58px;
  object-fit: cover;
  padding: 4px;
  width: 58px;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  color: var(--deep);
  font-size: 1.02rem;
  line-height: 1.12;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.site-nav {
  margin-left: auto;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  border-radius: 999px;
  color: var(--deep);
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  padding: 10px 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--mist);
  outline: none;
}

.nav-links .nav-cta {
  background: var(--wine);
  color: #fff;
  padding-left: 18px;
  padding-right: 18px;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  background: var(--wine-dark);
}

.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 44px;
  padding: 8px;
  width: 44px;
}

.menu-toggle span {
  background: var(--deep);
  border-radius: 999px;
  display: block;
  height: 3px;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  color: #fff;
  min-height: calc(100vh - 112px);
  overflow: hidden;
  position: relative;
}

.hero-slide {
  background-position: center;
  background-size: cover;
  inset: 0;
  opacity: 0;
  position: absolute;
  transform: scale(1.03);
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(20, 22, 20, 0.9), rgba(20, 22, 20, 0.68), rgba(20, 22, 20, 0.28)),
    linear-gradient(0deg, rgba(20, 22, 20, 0.75), transparent 48%);
  inset: 0;
  position: absolute;
}

.hero-inner {
  align-items: end;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin: 0 auto;
  max-width: 1220px;
  min-height: calc(100vh - 112px);
  padding: 84px 24px 78px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.section-copy h2,
.cta-section h2 {
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.6rem);
  max-width: 900px;
}

.hero-copy > p:not(.eyebrow) {
  color: #f2f4ef;
  font-size: 1.18rem;
  margin-top: 24px;
  max-width: 650px;
}

.hero-actions,
.text-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 21px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: #241b08;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-soft);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.service-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--deep);
  padding: 28px;
}

.card-label {
  color: var(--wine);
  display: block;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.service-card h2 {
  font-size: 1.65rem;
  line-height: 1.1;
  margin-bottom: 18px;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.service-card strong,
.service-card span {
  display: block;
}

.service-card span {
  color: var(--muted);
}

.service-card a,
.text-link {
  color: var(--wine);
  font-weight: 900;
}

.intro-strip {
  background: var(--paper);
  box-shadow: 0 20px 60px rgba(32, 36, 33, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -34px auto 0;
  max-width: 1120px;
  position: relative;
  z-index: 5;
}

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

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

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  color: var(--deep);
  font-size: 1.2rem;
}

.intro-strip span {
  color: var(--muted);
}

.section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 92px 24px;
}

.section-heading,
.section-copy {
  max-width: 720px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2,
.section-copy h2,
.cta-section h2 {
  color: var(--deep);
  font-size: clamp(2rem, 4.8vw, 3.65rem);
}

.section-heading p:not(.eyebrow),
.section-copy p:not(.eyebrow),
.cta-section p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 18px;
}

.about-section {
  align-items: center;
  display: grid;
  gap: 66px;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
}

.image-stack {
  min-height: 520px;
  position: relative;
}

.image-main,
.image-overlap {
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-main {
  height: 470px;
  margin-left: auto;
  width: 76%;
}

.image-overlap {
  border: 10px solid var(--linen);
  bottom: 0;
  height: 280px;
  left: 0;
  position: absolute;
  width: 48%;
}

.visit-section {
  background: var(--mist);
  max-width: none;
}

.visit-section .section-heading,
.visit-grid {
  margin-left: auto;
  margin-right: auto;
  max-width: 1160px;
}

.visit-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}

.visit-card,
.ministry-card,
.contact-panel,
.contact-form {
  background: var(--paper);
  border: 1px solid rgba(32, 36, 33, 0.09);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(32, 36, 33, 0.09);
}

.visit-card {
  padding: 30px;
}

.visit-card span {
  color: var(--wine);
  display: block;
  font-weight: 900;
  margin-bottom: 18px;
}

.visit-card h3,
.ministry-card h3,
.event-list h3,
.contact-panel h3 {
  color: var(--deep);
  font-size: 1.26rem;
  line-height: 1.25;
}

.visit-card p,
.ministry-card p,
.event-list p,
.contact-panel p {
  color: var(--muted);
  margin-top: 8px;
}

.scripture-band {
  background:
    linear-gradient(rgba(27, 43, 39, 0.86), rgba(27, 43, 39, 0.86)),
    url("Photos/background 5.jpg") center / cover;
  color: #fff;
  padding: 72px 24px;
}

.scripture-inner {
  margin: 0 auto;
  max-width: 950px;
  text-align: center;
}

.scripture-slider {
  min-height: 88px;
}

.slides {
  color: #fff;
  display: none;
  font-size: clamp(1.45rem, 3.5vw, 2.45rem);
  font-weight: 800;
  line-height: 1.24;
}

.ministries-section .section-heading {
  margin-bottom: 36px;
}

.ministry-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.ministry-card {
  overflow: hidden;
}

.ministry-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.ministry-card div {
  padding: 24px;
}

.ministry-card span {
  color: var(--wine);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.events-section {
  background: var(--deep);
  color: #fff;
  padding: 88px 24px;
}

.events-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  margin: 0 auto;
  max-width: 1220px;
}

.events-section h2,
.events-section p:not(.eyebrow) {
  color: #fff;
}

.event-list {
  display: grid;
  gap: 16px;
}

.event-list article {
  align-items: start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 20px;
  grid-template-columns: 64px 1fr;
  padding: 22px;
}

.event-list time {
  align-items: center;
  background: var(--gold);
  border-radius: 50%;
  color: #241b08;
  display: flex;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.event-list h3,
.event-list p {
  color: #fff;
}

.event-list p {
  opacity: 0.82;
}

.gallery-section {
  max-width: 1300px;
}

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 36px;
}

.gallery-grid img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(5),
.gallery-grid img:nth-child(6) {
  grid-column: span 2;
}

.cta-section {
  align-items: center;
  background: var(--wine);
  color: #fff;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  padding: 54px 42px;
}

.cta-section h2,
.cta-section p {
  color: #fff;
}

.cta-section .eyebrow {
  color: var(--gold-soft);
}

.contact-section {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
}

.contact-layout {
  display: grid;
  gap: 18px;
}

.contact-panel,
.contact-form {
  padding: 28px;
}

.contact-panel p {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  color: var(--deep);
  display: grid;
  font-weight: 900;
  gap: 7px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #cfc8bd;
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--wine);
  outline: 3px solid rgba(122, 36, 52, 0.18);
}

.site-footer {
  background: #171b19;
  color: #d8ddd8;
  padding: 44px 24px 28px;
}

.footer-main,
.footer-bottom {
  margin: 0 auto;
  max-width: 1220px;
}

.footer-main {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 34px;
  justify-content: space-between;
  padding-bottom: 34px;
}

.footer-brand img {
  background: #fff;
  border-radius: 50%;
  height: 54px;
  object-fit: cover;
  padding: 4px;
  width: 54px;
}

.footer-brand span {
  color: #fff;
  font-weight: 900;
}

.footer-main p {
  color: #b7c0b8;
  margin-top: 14px;
  max-width: 430px;
}

.footer-main nav,
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-main nav a,
.socials a {
  color: #fff;
  font-weight: 800;
}

.footer-main nav a:hover,
.socials a:hover,
.footer-main nav a:focus-visible,
.socials a:focus-visible {
  color: var(--gold-soft);
  outline: none;
}

.footer-bottom {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding-top: 24px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(32, 36, 33, 0.14);
    display: none;
    left: 0;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav.open {
    display: block;
  }

  .nav-links {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 14px 24px 22px;
  }

  .nav-links a {
    border-radius: 6px;
    padding: 13px 14px;
  }

  .hero-inner,
  .about-section,
  .events-inner,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: stretch;
    padding-top: 72px;
  }

  .service-card {
    max-width: 520px;
  }

  .intro-strip,
  .visit-grid,
  .ministry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image-main {
    width: 82%;
  }

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

  .cta-section,
  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
    flex-direction: column;
    gap: 4px;
  }

  .header-container {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .logo {
    height: 48px;
    width: 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 720px;
    padding: 64px 18px 46px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }

  .hero-actions,
  .hero-actions .btn,
  .cta-section .btn,
  .contact-form .btn {
    width: 100%;
  }

  .intro-strip,
  .visit-grid,
  .ministry-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 0;
  }

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

  .section {
    padding: 68px 18px;
  }

  .image-stack {
    min-height: auto;
  }

  .image-main,
  .image-overlap {
    height: auto;
    position: static;
    width: 100%;
  }

  .image-overlap {
    border: 0;
    margin-top: 14px;
  }

  .event-list article {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(3),
  .gallery-grid img:nth-child(4),
  .gallery-grid img:nth-child(5),
  .gallery-grid img:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .cta-section {
    padding: 42px 22px;
  }
}
