/* =============================================
   NEW COVENANT CHURCH — MAIN STYLESHEET
   Aesthetic: Sealed in Promise — parchment, wax
   seal brass, sealing wine & evergreen renewal,
   after the cup of the new covenant (Luke 22:20)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Petrona:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Karla:wght@300;400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
  --gold: #C9A84C;
  --gold-light: #E2C47A;
  --gold-pale: #F5EDD6;
  --deep: #1A1208;
  --dark: #2B1F0A;
  --mid: #4A3820;
  --warm: #7A5C38;
  --cream: #FAF6EE;
  --white: #FFFFFF;
  --gray: #6B6B6B;
  --light-gray: #F0EBE1;
  --red-accent: #8B2E2E;
  --shadow: rgba(26,18,8,0.18);
  --shadow-heavy: rgba(26,18,8,0.4);

  --font-display: 'Petrona', Georgia, serif;
  --font-body: 'Karla', sans-serif;

  --nav-h: 80px;
  --radius: 2px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.3rem; }
p { font-size: 1rem; color: var(--mid); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* === UTILITY === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.sr-only { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn:hover::after { transform: translateX(0); }

.btn-primary {
  background: var(--gold);
  color: var(--deep);
}
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 8px 28px rgba(201,168,76,0.4); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark {
  background: var(--deep);
  color: var(--gold);
}
.btn-dark:hover { background: var(--dark); }

/* === NAVIGATION === */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
#navbar.scrolled {
  background: rgba(26,18,8,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px var(--shadow-heavy);
  height: 66px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}
.nav-logo-img { height: 56px; width: auto; display: block; }
.footer-brand .nav-logo-img { height: 88px; }
.footer-brand .nav-logo { margin-left: -15.5px; } /* offsets transparent padding in logo PNG */

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 1rem; white-space: nowrap; }
.nav-logo { flex-shrink: 0; }
/* Mid-width screens: tighten the nav so the logo, links and donate button all fit on one line */
@media (max-width: 1180px) {
  .nav-links { gap: 1.3rem; }
  .nav-links a { font-size: 0.74rem; letter-spacing: 0.05em; }
  .nav-cta { margin-left: 0.5rem; padding: 0.75rem 1.2rem; font-size: 0.72rem; letter-spacing: 0.08em; }
  .nav-logo-img { height: 46px; }
}
@media (max-width: 900px) {
  .nav-links { gap: 0.9rem; }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.03em; }
  .nav-cta { padding: 0.65rem 0.9rem; font-size: 0.66rem; }
  .nav-logo-img { height: 40px; }
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 100vw);
  background: var(--deep);
  z-index: 999;
  padding: 6rem 2.5rem 3rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  flex-direction: column;
  gap: 1.6rem;
  border-left: 1px solid rgba(201,168,76,0.2);
}
.mobile-menu.active { transform: translateX(0); display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 1rem;
}
.mobile-menu a:hover { color: var(--gold); padding-left: 0.5rem; }
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 998;
}
.mobile-overlay.active { display: block; }

/* === HERO SLIDER === */
.hero {
  height: 100vh;
  min-height: 650px;
  position: relative;
  overflow: hidden;
}
.hero-swiper { width: 100%; height: 100%; }
.hero-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
/* Every slide is pinned edge-to-edge to the wrapper and stacked exactly
   on top of the others. Visibility is driven ONLY by the swiper-slide-active
   class Swiper reliably manages (not by Swiper's own fade-effect opacity/
   transform math, which has proven unreliable here) — so there is no
   offset calculation left to get wrong, and no way for more than one
   slide to be visible at a time. */
.hero-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  transform: none !important;
  overflow: hidden;
  opacity: 0 !important;
  z-index: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-slide.swiper-slide-active {
  opacity: 1 !important;
  z-index: 1;
  pointer-events: auto;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,18,8,0.78) 0%,
    rgba(26,18,8,0.45) 50%,
    rgba(26,18,8,0.62) 100%
  );
  z-index: 1;
}
.slide-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 2rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.slide-content .section-label { margin-bottom: 1.2rem; }
.slide-content h1 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-style: italic;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.slide-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2.4rem;
  font-weight: 300;
}
.slide-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.8), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* Swiper custom pagination */
.hero .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
}
.hero .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}
.hero .swiper-button-next,
.hero .swiper-button-prev {
  color: var(--gold);
  width: 50px; height: 50px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  background: rgba(26,18,8,0.3);
  transition: var(--transition);
}
.hero .swiper-button-next:hover,
.hero .swiper-button-prev:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.2);
}
.hero .swiper-button-next::after,
.hero .swiper-button-prev::after { font-size: 0.9rem; font-weight: 900; }

/* === WELCOME SECTION === */
.welcome {
  padding: 7rem 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.welcome::before {
  content: 'GRACE';
  position: absolute;
  font-family: var(--font-display);
  font-size: 20rem;
  font-weight: 700;
  color: rgba(201,168,76,0.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.welcome-image-wrap {
  position: relative;
}
.welcome-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 20px 20px 60px var(--shadow-heavy);
}
.welcome-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}
.welcome-badge .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--deep); line-height: 1; }
.welcome-badge .lbl { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--deep); font-weight: 600; }
.welcome-text h2 { margin-bottom: 1.5rem; color: var(--deep); }
.welcome-text p { margin-bottom: 1.2rem; font-size: 1.05rem; line-height: 1.85; }
.welcome-verse {
  margin: 2rem 0;
  padding: 1.6rem 2rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-pale);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--mid);
  line-height: 1.65;
  border-radius: 0 4px 4px 0;
}
.welcome-verse cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.6rem;
  font-weight: 600;
}

/* === SERVICE TIMES === */
.services-strip {
  background: var(--deep);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.services-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.services-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  text-align: center;
}
.service-item {
  padding: 1.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.service-item:last-child { border-right: none; }
.service-item-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}
.service-item h4 { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 0.4rem; }
.service-item p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.service-item .time { color: var(--white); font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; }

/* === SERMONS SECTION === */
.sermons {
  padding: 5.5rem 0;
  background: var(--light-gray);
}
.section-header {
  margin-bottom: 4rem;
}
.section-header h2 { color: var(--deep); margin-bottom: 0.8rem; }
.section-header p { font-size: 1.05rem; max-width: 560px; }
.section-header.text-center p { margin: 0 auto; }

.sermons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}
.sermon-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26,18,8,0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.sermon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26,18,8,0.16);
}
.sermon-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.sermon-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.sermon-card:hover .sermon-thumb img { transform: scale(1.05); }
.sermon-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,18,8,0.45);
  opacity: 0;
  transition: var(--transition);
}
.sermon-card:hover .sermon-play { opacity: 1; }
.play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.play-btn:hover { transform: scale(1.12); }
.play-btn svg { fill: var(--deep); width: 20px; height: 20px; margin-left: 3px; }
.sermon-series-tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
}
.sermon-body {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sermon-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}
.sermon-meta span { display: flex; align-items: center; gap: 0.3rem; }
.sermon-body h3 { font-size: 1.2rem; color: var(--deep); margin-bottom: 0.5rem; line-height: 1.3; }
.sermon-body p { font-size: 0.88rem; color: var(--gray); flex: 1; }
.sermon-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--light-gray);
}
.sermon-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  cursor: pointer;
  transition: var(--transition);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(74,56,32,0.2);
  border-radius: 3px;
  background: transparent;
}
.sermon-action-btn:hover { color: var(--gold); border-color: var(--gold); }
.sermon-action-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* === RECENT AUDIO LIST === */
.sermon-list {
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(26,18,8,0.06);
  overflow: hidden;
  margin: 1.6rem 0 2.4rem;
}
.sermon-list-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--light-gray);
  transition: var(--transition);
}
.sermon-list-item:last-child { border-bottom: none; }
.sermon-list-item:hover { background: var(--light-gray); }
.sermon-list-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.sermon-list-item:hover .sermon-list-icon { background: var(--gold); }
.sermon-list-icon svg { width: 16px; height: 16px; stroke: var(--gold); stroke-width: 2; fill: none; transition: var(--transition); }
.sermon-list-item:hover .sermon-list-icon svg { stroke: var(--deep); }
.sermon-list-info { flex: 1; min-width: 0; }
.sermon-list-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.3;
}
.sermon-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  color: var(--gray);
}
.sermon-list-meta span { display: flex; align-items: center; gap: 0.3rem; }
.sermon-list-play {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid rgba(74,56,32,0.25);
  border-radius: 20px;
  padding: 0.5rem 1.1rem;
  white-space: nowrap;
  transition: var(--transition);
}
.sermon-list-play:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }
@media (max-width: 560px) {
  .sermon-list-item { flex-wrap: wrap; }
  .sermon-list-play { margin-left: calc(40px + 1.1rem); }
}

/* === SERMON YEAR ACCORDIONS === */
.year-accordion { margin-bottom: 1.4rem; }
.year-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border: 1px solid rgba(74,56,32,0.14);
  border-radius: 6px;
  padding: 1.1rem 1.6rem;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  transition: var(--transition);
}
.year-accordion-header:hover { border-color: var(--gold); }
.year-accordion-header .year-label {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}
.year-accordion-header .year-label span.year-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--deep);
}
.year-accordion-header .year-label span.year-count {
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 0.03em;
}
.year-accordion-caret {
  width: 12px;
  height: 12px;
  stroke: var(--gold);
  stroke-width: 2.4;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.year-accordion.is-open .year-accordion-caret { transform: rotate(180deg); }
.year-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.year-accordion.is-open .year-accordion-panel { max-height: 3000px; }
.year-accordion-panel .sermon-list { margin-top: 1rem; }

/* === MINISTRIES === */
.ministries {
  padding: 7rem 0;
  background: var(--cream);
}
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.ministry-card {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}
.ministry-card:first-child { grid-row: span 2; height: auto; min-height: 700px; }
.ministry-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.ministry-card:hover .ministry-bg { transform: scale(1.06); }
.ministry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,18,8,0.9) 0%, rgba(26,18,8,0.2) 60%, transparent 100%);
  transition: var(--transition);
}
.ministry-card:hover .ministry-overlay { background: linear-gradient(to top, rgba(26,18,8,0.95) 0%, rgba(26,18,8,0.4) 70%, rgba(26,18,8,0.1) 100%); }
.ministry-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem;
  transform: translateY(1.5rem);
  transition: var(--transition);
}
.ministry-card:hover .ministry-content { transform: translateY(0); }
.ministry-icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}
.ministry-content h3 { color: var(--white); margin-bottom: 0.5rem; }
.ministry-content p {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.ministry-card:hover .ministry-content p { max-height: 100px; opacity: 1; }
.ministry-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.8rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}
.ministry-card:hover .ministry-link { opacity: 1; transform: translateX(0); }

/* === EVENTS === */
.events {
  padding: 7rem 0;
  background: var(--deep);
  position: relative;
  overflow: hidden;
}
.events::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.events .section-header h2 { color: var(--white); }
.events .section-header p { color: rgba(255,255,255,0.6); }
.events-swiper { overflow: visible !important; }
.event-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.event-card:hover {
  border-color: rgba(201,168,76,0.4);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}
.event-date-block {
  background: var(--gold);
  padding: 1.2rem;
  text-align: center;
  color: var(--deep);
}
.event-date-block .day { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; }
.event-date-block .month { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.event-info { padding: 1.6rem; }
.event-info h4 { color: var(--white); margin-bottom: 0.5rem; font-size: 1.1rem; }
.event-info p { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 1rem; }
.event-detail {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}
.event-detail svg { width: 13px; height: 13px; stroke: var(--gold); fill: none; flex-shrink: 0; }

/* === GIVE SECTION === */
.give {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--deep) 100%);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.give::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.give-content { position: relative; z-index: 1; }
.give h2 { color: var(--white); margin-bottom: 1rem; }
.give p { color: rgba(255,255,255,0.6); max-width: 520px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.give-verse {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-light);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.give-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === CONNECT/CONTACT === */
.connect {
  padding: 7rem 0;
  background: var(--cream);
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.connect-info h2 { color: var(--deep); margin-bottom: 1.2rem; }
.connect-info p { margin-bottom: 2rem; font-size: 1.05rem; }
.connect-details { display: flex; flex-direction: column; gap: 1.2rem; }
.connect-detail {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.detail-icon {
  width: 44px; height: 44px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; }
.detail-text h5 { color: var(--deep); margin-bottom: 0.2rem; font-size: 0.9rem; font-family: var(--font-body); font-weight: 600; }
.detail-text p { font-size: 0.9rem; margin: 0; }

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 8px 40px var(--shadow);
}
.contact-form h3 { color: var(--deep); margin-bottom: 2rem; font-size: 1.6rem; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--cream);
  border: 1.5px solid rgba(74,56,32,0.2);
  border-radius: 4px;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* === MAP === */
.map-section { height: 420px; position: relative; }
.map-section iframe { width: 100%; height: 100%; border: none; filter: sepia(20%) brightness(0.95); }

/* === FOOTER === */
footer {
  background: var(--deep);
  color: rgba(255,255,255,0.6);
  padding: 5rem 0 0;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-brand { }
.footer-brand .nav-logo { margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.75; max-width: 300px; color: rgba(255,255,255,0.6); }
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.1); }
.social-btn svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--gold);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { text-decoration: underline; }

/* === PAGE HERO (interior pages) === */
.page-hero {
  height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,18,8,0.85) 40%, rgba(26,18,8,0.4));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: left;
}
.page-hero-content h1 { color: var(--white); margin-bottom: 0.6rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* === ABOUT PAGE === */
.about-story { padding: 7rem 0; }
.about-story .welcome-grid { align-items: start; }
.about-values {
  padding: 6rem 0;
  background: var(--light-gray);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}
.value-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 6px;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  box-shadow: 0 2px 15px rgba(26,18,8,0.06);
}
.value-card:hover { border-bottom-color: var(--gold); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(26,18,8,0.12); }
.value-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.value-card h4 { color: var(--deep); margin-bottom: 0.7rem; }
.value-card p { font-size: 0.9rem; }

.team-section { padding: 7rem 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.2rem;
  filter: grayscale(20%);
  transition: var(--transition);
}
.team-card:hover .team-photo { filter: grayscale(0); transform: scale(1.02); }
.team-card h4 { color: var(--deep); margin-bottom: 0.2rem; }
.team-card .role { color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.team-card p { font-size: 0.85rem; margin-top: 0.5rem; }

/* === ANIMATIONS & REVEALS === */
/* Scroll-triggered section fade-ins removed by request — .reveal/.reveal-left/
   .reveal-right classes remain in the markup as harmless hooks but no longer
   carry any styling, so sections render at full opacity immediately. */

/* === SCROLL TO TOP === */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px; height: 46px;
  background: var(--gold);
  color: var(--deep);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { background: var(--gold-light); transform: translateY(-3px); }
#scrollTop svg { width: 18px; height: 18px; stroke: var(--deep); fill: none; }

/* === VIDEO MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-inner {
  width: 100%;
  max-width: 900px;
  position: relative;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.modal-overlay.active .modal-inner { transform: scale(1); }
.modal-close {
  position: absolute;
  top: -3rem; right: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}
.modal-close:hover { border-color: var(--gold); color: var(--gold); }
.modal-video { width: 100%; aspect-ratio: 16/9; }

/* === LOADING === */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--deep);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.done { opacity: 0; visibility: hidden; }
.loader-cross {
  width: 50px;
  height: 50px;
  position: relative;
}
.loader-cross::before, .loader-cross::after {
  content: '';
  position: absolute;
  background: var(--gold);
  border-radius: 3px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: crossGrow 1.4s ease infinite;
}
.loader-cross::before { width: 8px; height: 50px; }
.loader-cross::after { width: 50px; height: 8px; animation-delay: 0.7s; }
@keyframes crossGrow {
  0%,100% { opacity: 0.3; transform: translate(-50%,-50%) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.loader-text {
  font-family: var(--font-display);
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* === PHOTO GALLERY + LIGHTBOX === */
.gallery-section { padding: 6rem 0; }
.gallery-section.alt { background: var(--light-gray); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* row height tracks column width (~4:3 tiles), capped on big screens */
  grid-auto-rows: min(220px, calc((100vw - 96px) * 0.2));
  grid-auto-flow: dense;
  gap: 1rem;
}
/* Tile shapes — add one of these classes to a .gallery-item to match the photo:
   wide  = 2 columns x 1 row  (panoramic photos)
   tall  = 1 column  x 2 rows (portrait photos)
   big   = 2 columns x 2 rows (feature photo)
   (no class = standard 4:3 tile) */
.gallery-item.tall { grid-row: span 2; }
.gallery-item.big { grid-column: span 2; grid-row: span 2; }
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--dark), var(--mid));
  cursor: zoom-in;
  box-shadow: 0 2px 16px rgba(26,18,8,0.12);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,18,8,0.75) 0%, rgba(26,18,8,0) 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover, .gallery-item:focus-visible {
  box-shadow: 0 12px 32px rgba(26,18,8,0.25);
  transform: translateY(-3px);
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery-caption {
  position: absolute;
  left: 1rem; right: 3.4rem; bottom: 0.9rem;
  z-index: 2;
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-zoom {
  position: absolute;
  right: 0.9rem; bottom: 0.8rem;
  z-index: 2;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.gallery-zoom svg { width: 16px; height: 16px; stroke: var(--deep); stroke-width: 2.4; fill: none; stroke-linecap: round; }
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }
/* touch screens have no hover — keep the zoom hint visible */
@media (hover: none) {
  .gallery-zoom { opacity: 1; transform: none; }
}
.gallery-item.is-broken img { visibility: hidden; }

/* Compact gallery — for sections with lots of photos (add class "compact" to a
   .gallery-grid). Thumbnails stay small: 8 across on desktop, then 6, 4 and 3 across
   as the screen narrows. Photo shapes: "wide" = 2 columns, "tall" = 2 rows.
   For rows that fill evenly at every screen size, the total number of cells
   (photos + 1 extra per wide + 1 extra per tall) should be a multiple of 24 —
   e.g. 36 photos with 4 wide and 8 tall = 48 cells. */
.gallery-grid.compact {
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: min(104px, calc((100vw - 132px) * 0.0975));
  gap: 0.75rem;
}
.gallery-grid.compact .gallery-item { border-radius: 4px; }
.gallery-grid.compact .gallery-caption { font-size: 0.72rem; left: 0.6rem; right: 2.6rem; bottom: 0.55rem; }
.gallery-grid.compact .gallery-zoom { width: 26px; height: 26px; right: 0.5rem; bottom: 0.45rem; }
.gallery-grid.compact .gallery-zoom svg { width: 13px; height: 13px; }
@media (max-width: 1100px) {
  .gallery-grid.compact { grid-template-columns: repeat(6, 1fr); grid-auto-rows: calc((100vw - 108px) * 0.13); }
}
@media (max-width: 900px) {
  .gallery-grid.compact { grid-template-columns: repeat(4, 1fr); grid-auto-rows: calc((100vw - 84px) * 0.195); }
}
@media (max-width: 600px) {
  .gallery-grid.compact { grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc((100vw - 64px) * 0.26); gap: 0.5rem; }
}
@media (max-width: 480px) {
  .gallery-grid.compact .gallery-item, .gallery-grid.compact .gallery-item.wide { aspect-ratio: auto; }
  .gallery-grid.compact .gallery-item.wide { grid-column: span 2; }
  .gallery-grid.compact .gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
  .gallery-grid.compact .gallery-caption, .gallery-grid.compact .gallery-zoom { display: none; }
}
@media (hover: none) {
  .gallery-grid.compact .gallery-zoom { display: none; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15,10,4,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
}
.lightbox-img {
  display: block;
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  will-change: transform, opacity;
}
.lightbox-caption {
  margin-top: 1.1rem;
  max-width: 720px;
  text-align: center;
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  line-height: 1.5;
}
.lightbox-count {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.lightbox-btn {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { border-color: var(--gold); color: var(--gold); background: rgba(255,255,255,0.12); }
.lightbox-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; margin-top: -24px; }
.lightbox-next { right: 1.2rem; top: 50%; margin-top: -24px; }
.lightbox.single .lightbox-prev, .lightbox.single .lightbox-next { display: none; }
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: min(260px, calc((100vw - 80px) * 0.2667)); }
}
@media (max-width: 768px) {
  .gallery-section { padding: 4.5rem 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: calc((100vw - 59px) * 0.4); gap: 0.7rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1.2rem; margin-top: 0; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .lightbox-img { max-height: 70vh; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gallery-item { aspect-ratio: 4 / 3; }
  .gallery-item.wide { grid-column: auto; aspect-ratio: 2.2 / 1; }
  .gallery-item.tall { grid-row: auto; aspect-ratio: 3 / 4; }
  .gallery-item.big { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item, .gallery-item img, .lightbox { transition: none; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ministries-grid { grid-template-columns: 1fr 1fr; }
  .ministry-card:first-child { grid-row: span 1; min-height: 340px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .welcome-grid { grid-template-columns: 1fr; gap: 3rem; }
  .welcome-image-wrap img { height: 340px; }
  .welcome-badge { right: 1rem; }

  .connect-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form { padding: 2rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .ministries-grid { grid-template-columns: 1fr; }
  .ministry-card:first-child { min-height: 280px; }
  .ministry-card { height: 280px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: span 2; }

  .sermons-grid { grid-template-columns: 1fr; }

  .services-strip-grid { grid-template-columns: repeat(2,1fr); }
  .service-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .service-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }

  .page-hero { height: 300px; }

  .hero .swiper-button-next,
  .hero .swiper-button-prev { display: none; }
}
/* === MOBILE REFINEMENTS === */
.mobile-menu a.mobile-donate {
  margin-top: 0.5rem;
  text-align: center;
  background: var(--gold);
  color: var(--deep);
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 4px;
}
.mobile-menu a.mobile-donate:hover { color: var(--deep); padding-left: 1.5rem; filter: brightness(1.08); }
@media (max-width: 768px) {
  :root { --nav-h: 84px; }
  #navbar.scrolled { height: 72px; }
  .nav-logo-img { height: 64px; }
  #navbar.scrolled .nav-logo-img { height: 56px; }
  .nav-hamburger { padding: 8px; gap: 7px; background: none; border: 0; }
  .nav-hamburger span { width: 34px; height: 3px; background: #c9a84c; }
  .nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(7px,7px); }
  .nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(7px,-7px); }
  .team-photo { height: auto; aspect-ratio: 1 / 1; object-position: top center; }
}
@media (max-width: 400px) {
  .nav-logo-img { height: 56px; }
  .nav-hamburger span { width: 30px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .services-strip-grid { grid-template-columns: 1fr; }
  .service-item { border-right: none; }
  .service-item:nth-child(odd) { border-right: none; }
}

/* anchor links (e.g. footer Ministries links) land below the fixed nav */
.ministry-section, .join-bar { scroll-margin-top: 100px; }

/* Slide 1: text block sits on the right side of the photo */
.hero-slide.slide-right .slide-content { align-items: flex-end; text-align: right; }
.hero-slide.slide-right .slide-content p { margin-left: auto; }
.hero-slide.slide-right .slide-btns { justify-content: flex-end; }
.hero-slide.slide-right .slide-overlay {
  background: linear-gradient(225deg, rgba(26,18,8,0.78) 0%, rgba(26,18,8,0.45) 50%, rgba(26,18,8,0.62) 100%);
}
@media (max-width: 768px) {
  .hero-slide.slide-right .slide-content { align-items: flex-start; text-align: left; }
  .hero-slide.slide-right .slide-content p { margin-left: 0; }
  .hero-slide.slide-right .slide-btns { justify-content: flex-start; }
}
