:root {
  --navy: #07172f;
  --blue: #102c54;
  --gold: #d5a642;
  --gold-soft: #f1d899;
  --paper: #f4efe4;
  --ink: #18202c;
  --muted: #687386;
  --white: #ffffff;
  --line: rgba(213, 166, 66, 0.38);
  --shadow: 0 24px 70px rgba(7, 23, 47, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(7, 23, 47, 0.94);
  border-bottom: 3px solid var(--gold);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(213, 166, 66, 0.2), rgba(255, 255, 255, 0)),
    var(--blue);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.05);
}

.brand-mark span {
  font-family: Cinzel, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--gold-soft);
}

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

.brand-text strong {
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--gold-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background-image:
    radial-gradient(circle at 24% 42%, rgba(213, 166, 66, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(7, 23, 47, 0.9), rgba(7, 23, 47, 0.62) 46%, rgba(7, 23, 47, 0.22)),
    url("assets/open-bible.jpg");
  background-position: center right;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--gold);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(640px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 88px 0;
}

.eyebrow,
.section-kicker,
.panel-label,
.video-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-logo h1,
.section h2,
.featured-video h3 {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(213, 166, 66, 0.55);
  border-radius: 10px;
  background: rgba(7, 23, 47, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.hero-logo-mark {
  display: grid;
  width: clamp(68px, 9vw, 94px);
  aspect-ratio: 1;
  place-items: center;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(241, 216, 153, 0.24), rgba(255, 255, 255, 0)),
    var(--blue);
  color: var(--gold-soft);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 800;
}

.hero-logo h1 {
  display: block;
  color: var(--white);
  font-size: clamp(1.9rem, 4.4vw, 3.8rem);
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.hero-logo small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.82rem, 1.4vw, 1rem);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.hero-actions,
.section-heading,
.footer-links,
.topic-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.button.primary,
.button.gold {
  background: var(--gold);
  color: var(--navy);
}

.button.secondary {
  color: var(--white);
}

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

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section > * {
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}

.section h2 {
  margin-top: 8px;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}

.split-grid,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.lead,
.wide-text,
.two-column p {
  color: #303946;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.text-flow {
  max-width: 760px;
}

.text-flow p {
  margin: 0 0 18px;
}

.text-flow p:last-child {
  margin-bottom: 0;
}

.statement-panel {
  padding: 30px;
  border-top: 4px solid var(--gold);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.statement-panel p {
  margin: 12px 0 0;
  font-size: 1.25rem;
  line-height: 1.55;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-media,
.mission-photo,
.mission-wide-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(213, 166, 66, 0.32);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.about-media img,
.mission-photo img,
.mission-wide-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-media {
  display: grid;
  gap: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.about-media > img {
  border: 1px solid rgba(213, 166, 66, 0.32);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-media > figcaption,
.mission-photo figcaption {
  padding: 9px 11px;
  border-left: 3px solid var(--gold);
  background: rgba(7, 23, 47, 0.92);
  color: var(--gold-soft);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mission-photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  color: var(--white);
}

.dark-section {
  background:
    linear-gradient(rgba(7, 23, 47, 0.94), rgba(7, 23, 47, 0.96)),
    url("assets/pulpit.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.bible-section {
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  background:
    linear-gradient(90deg, rgba(7, 23, 47, 0.95), rgba(16, 44, 84, 0.86)),
    url("assets/open-bible.jpg");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.bible-section h2 {
  color: var(--white);
}

.bible-video {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 28px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(213, 166, 66, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.bible-copy p {
  margin: 12px 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
}

.text-link {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.dark-section h2,
.dark-section h3 {
  color: var(--white);
}

.section-heading {
  justify-content: space-between;
  margin-bottom: 30px;
}

.featured-video {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.video-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  color: var(--white);
  text-decoration: none;
}

.large-poster {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.video-poster:hover img,
.video-card:hover img {
  transform: scale(1.035);
  opacity: 1;
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  min-width: 86px;
  min-height: 86px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(213, 166, 66, 0.9);
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
}

.featured-video h3 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.featured-video p {
  color: rgba(255, 255, 255, 0.72);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
  border-color: rgba(213, 166, 66, 0.7);
  transform: translateY(-3px);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.video-card span,
.video-card strong {
  display: block;
  padding-right: 16px;
  padding-left: 16px;
}

.video-card span {
  padding-top: 16px;
}

.video-card strong {
  min-height: 86px;
  padding-top: 6px;
  padding-bottom: 18px;
  font-size: 1rem;
  line-height: 1.35;
}

.topic-tabs {
  margin-top: 28px;
}

.topic-tabs a {
  padding: 9px 13px;
  border: 1px solid rgba(213, 166, 66, 0.65);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.mission-photo {
  border: 8px solid var(--white);
}

.mission-photo img {
  min-height: 390px;
}

.mission-wide-photo {
  max-width: 1160px;
  margin-top: 28px;
}

.mission-wide-photo img {
  max-height: 420px;
}

.parchment-section {
  background:
    linear-gradient(rgba(244, 239, 228, 0.95), rgba(244, 239, 228, 0.95)),
    url("https://storage1.snappages.site/3D66VD/assets/images/23733877_1280x720_2500.jpg");
  background-position: center;
  background-size: cover;
}

.wide-text {
  max-width: 980px;
  margin-top: 24px;
  padding: 32px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 255, 255, 0.76);
}

.belief-grid {
  max-width: 1040px;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.belief-grid p {
  margin: 0;
  padding: 18px 18px 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
  color: #303946;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.62;
  box-shadow: 0 14px 34px rgba(7, 23, 47, 0.08);
}

.mobile-section {
  background: #f8f5ee;
}

.two-column {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-column article {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 30px;
  border-top: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0 18px 44px rgba(7, 23, 47, 0.09);
}

.vision-card {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 36px);
  background-position: center;
  background-size: cover;
}

.vision-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  content: "";
}

.vision-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to top, rgba(7, 23, 47, 0.95), rgba(7, 23, 47, 0.62), rgba(7, 23, 47, 0.12));
  content: "";
}

.vision-card > * {
  position: relative;
  z-index: 2;
}

.mobile-card {
  background:
    linear-gradient(to top, rgba(7, 23, 47, 0.95), rgba(7, 23, 47, 0.62), rgba(7, 23, 47, 0.12)),
    url("assets/mobile-alabama.png") center / cover no-repeat !important;
}

.mobile-card::before {
  background-image: url("assets/mobile-alabama.png");
}

.pulpit-card {
  background:
    linear-gradient(to top, rgba(7, 23, 47, 0.95), rgba(7, 23, 47, 0.62), rgba(7, 23, 47, 0.12)),
    url("assets/preaching-pulpit.jpg") center / cover no-repeat !important;
}

.pulpit-card::before {
  background-image: url("assets/preaching-pulpit.jpg");
}

.vision-copy {
  max-width: 620px;
  padding: clamp(20px, 3vw, 30px);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(7, 23, 47, 0.78);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}

.vision-copy h2,
.vision-copy p {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.vision-copy p {
  margin: 16px 0 0;
  line-height: 1.72;
}

.two-column h2 {
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.donate-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 6vw, 78px);
  border-top: 4px solid var(--gold);
  background:
    radial-gradient(circle at 78% 42%, rgba(213, 166, 66, 0.18), transparent 30%),
    var(--navy);
  color: var(--white);
}

.donate-section h2,
.donate-section p {
  color: var(--white);
}

.donate-copy,
.qr-card {
  margin: 0;
}

.donate-copy {
  max-width: 720px;
}

.donate-copy h2 {
  max-width: 760px;
}

.donate-copy p {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: 1.16rem;
}

.qr-card {
  padding: 12px;
  border: 1px solid rgba(213, 166, 66, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.24);
}

.qr-card img {
  width: 100%;
  border-radius: 6px;
}

.contact-section {
  border-top: 4px solid var(--gold);
  background:
    linear-gradient(rgba(244, 239, 228, 0.94), rgba(244, 239, 228, 0.94)),
    url("assets/open-bible.jpg");
  background-position: center;
  background-size: cover;
}

.contact-section > div {
  max-width: 780px;
  text-align: center;
}

.contact-section p {
  margin: 12px auto 24px;
  color: #303946;
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  background: #030a16;
  color: var(--white);
}

.footer-links a {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 18px 18px;
    background: var(--navy);
    border-bottom: 2px solid var(--gold);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero {
    min-height: 620px;
  }

  .split-grid,
  .about-layout,
  .bible-video,
  .featured-video,
  .two-column,
  .donate-section {
    grid-template-columns: 1fr;
  }

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

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

  .donate-section {
    display: grid;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-text small {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-logo {
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
  }

  .hero-logo-mark {
    width: 54px;
    font-size: 1.25rem;
  }

  .hero-logo h1 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .hero-inner {
    margin-left: 18px;
  }

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

  .wide-text,
  .two-column article,
  .statement-panel,
  .qr-card {
    padding: 22px;
  }
}
