:root {
  --navy: #0d2d5c;
  --navy-deep: #081f42;
  --gold: #c99a1a;
  --gold-light: #e4bc55;
  --white: #fff;
  --cream: #f6f3ea;
  --ink: #1b2430;
  --muted: #667085;
  --line: #d5deea;
  --shadow: 0 14px 30px rgba(8,31,66,.12);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
h1,h2,h3 { font-weight: 700; line-height: 1.2; color: var(--navy); }
.container { width: min(1120px, 92%); margin: 0 auto; }

.top {
  background: var(--navy-deep);
  color: #d7e3f4;
  text-align: center;
  padding: 8px 16px;
  font-size: .85rem;
  letter-spacing: .04em;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 5%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { letter-spacing: .06em; }
.brand-copy em { font-style: normal; font-size: .72rem; color: var(--muted); }
.nav .links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.nav .links a { font-family: Arial, sans-serif; font-size: .92rem; font-weight: 700; }
.nav .links a.btn,
.btn,
.button {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: Arial, sans-serif;
  font-weight: 800;
  padding: 11px 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}
.button-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  color: var(--navy);
  cursor: pointer;
  z-index: 2001;
  position: relative;
}

.hero, .pagehero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  width: 100%;
}
.hero {
  min-height: calc(100vh - 108px);
  display: flex;
  align-items: center;
  padding: 0;
}
.pagehero {
  padding: 90px 5% 72px;
  text-align: center;
  min-height: 280px;
  background-color: #0b1f4a;
  background-image:
    linear-gradient(90deg, rgba(8,31,66,.55), rgba(13,45,92,.28)),
    url("../images/theme-2026.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero {
  background-image: none;
}
.pagehero-video { display: none !important; }
.hero-video,
.hero video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}
/* Kill the old two-column hero if an older stylesheet is still cached */
.hero-media,
.hero-frame,
.hero-left {
  display: none !important;
}
.hero::after, .pagehero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,31,66,.82), rgba(13,45,92,.5));
  z-index: 1;
}
.hero .container, .pagehero h1, .pagehero p, .hero-content {
  position: relative;
  z-index: 2;
}
.pagehero h1, .hero h1 { color: #fff; margin: 0 0 10px; }
.pagehero p, .hero-description { color: #e8eef7; max-width: 720px; margin: 0 auto; }
.eyebrow { display: block; color: var(--gold-light); letter-spacing: .12em; text-transform: uppercase; font-family: Arial, sans-serif; font-size: .78rem; font-weight: 800; margin-bottom: 10px; }
.hero-content { max-width: 760px; text-align: left; }
.hero-details { display: flex; gap: 28px; margin: 22px 0; }
.hero-detail { color: #dce6f4; }
.hero-detail strong { display: block; color: var(--gold-light); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.section { width: min(1120px, 92%); margin: 0 auto; padding: 64px 0; }
.section.light { background: var(--cream); width: 100%; padding-left: 4%; padding-right: 4%; }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.grid { display: grid; gap: 22px; }
.grid-3, .about-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-pillars .card img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; margin: 0 0 14px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.week-strip { background: var(--navy); color: #fff; padding: 28px 0; }
.week-strip h2 { color: #fff; text-align: center; }
.week-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: min(1120px, 92%); margin: 16px auto 0; }
.week-item { background: rgba(255,255,255,.08); padding: 16px; border-radius: 10px; }
.week-item strong { color: var(--gold-light); display: block; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.program-card img { width: 100%; height: 220px; object-fit: cover; background: var(--navy); }
.program-content { padding: 22px; }
.program-meta { color: var(--gold); font-weight: 700; margin-bottom: 10px; }

.leaders-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; text-align: center; width: 100%; }
.leader-card { min-width: 0; }
.leader-card img, .leadership-photo { width: 100%; height: 280px; object-fit: cover; object-position: top center; border-radius: 10px; background: #e8eef5; }
.leader-role { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; }

.sermon-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sermon-gallery figure { margin: 0; background: var(--navy); border-radius: 12px; overflow: hidden; }
.sermon-gallery img { width: 100%; height: 220px; object-fit: cover; }
.sermon-gallery figcaption { color: #fff; font-size: .85rem; padding: 10px 12px 12px; }
.sermon-gallery figcaption:empty { display: none; }
.sermon-gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.sermon-gallery figure:first-child img { height: 468px; }

.tenets-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tenet-card { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid var(--line); }
.scripture { color: var(--gold); font-size: .92rem; }

.form, .visit-form { display: grid; gap: 8px; }
.form input, .form textarea, .form select,
.visit-form input, .visit-form textarea, .visit-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit;
}
.split, .visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.visit-intro { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; margin-bottom: 28px; }
.elder-photo { width: 160px; height: 200px; object-fit: cover; border-radius: 12px; background: var(--navy); }
.elder-name { color: var(--gold); font-weight: 700; margin: 0 0 6px; }
.map { width: 100%; min-height: 280px; border: 0; border-radius: 10px; }

.footer { background: var(--navy-deep); color: #d7e3f4; padding: 48px 5% 24px; }
.footer h3 { color: #fff; }
.footergrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; width: min(1120px, 100%); margin: 0 auto; }
.footer a { color: #d7e3f4; display: block; margin: 6px 0; }
.footer-contact, .copyright { width: min(1120px, 100%); margin: 24px auto 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: .88rem; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: relative; }
  .nav .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    border-bottom: 3px solid var(--navy);
    box-shadow: var(--shadow);
  }
  .nav .links.open { display: flex !important; }
  .nav .links a { padding: 12px 6%; border-bottom: 1px solid var(--line); }
  .grid-3, .about-pillars, .program-grid, .leaders-row, .week-grid, .split, .visit-intro { grid-template-columns: 1fr; }
  .tenets-grid { grid-template-columns: 1fr; }
  .sermon-gallery { grid-template-columns: 1fr 1fr; }
  .sermon-gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .sermon-gallery figure:first-child img, .sermon-gallery img { height: 220px; }
  .footergrid { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-details, .hero-actions { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pagehero-video { display: none; }
}
