:root {
  --navy: #10263d;
  --navy-dark: #081827;
  --gold: #c7a34b;
  --gold-light: #e4ca7b;
  --cream: #f8f5ee;
  --white: #ffffff;
  --text: #26313b;
  --muted: #64707b;
  --line: #ddd8cd;
  --green: #239447;
  --green-dark: #197438;
  --shadow: 0 18px 45px rgba(16, 38, 61, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

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

a { color: inherit; }

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(228,202,123,.20), transparent 38%),
    linear-gradient(135deg, var(--navy-dark), var(--navy));
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(228,202,123,.18);
  border-radius: 50%;
  top: -180px;
  right: -100px;
}

.hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.03em;
}

.subtitle {
  max-width: 760px;
  margin: auto;
  color: #e8e5dc;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero .eyebrow { color: var(--gold-light); }

.section { padding: 92px 0; }

.product-section {
  background: var(--white);
  text-align: center;
}

.product-image-wrap {
  width: min(430px, 100%);
  min-height: 300px;
  margin: 0 auto 52px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #eeeae1;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-image-wrap img {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: contain;
}

.product-image-wrap img.placeholder-image { display: none; }

.image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #716b60;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.product-image-wrap img:not(.placeholder-image) + .image-fallback { display: none; }

.section-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 38px;
}

.section-heading h2,
.story-copy h2 {
  margin: 8px 0 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  font-weight: 500;
}

.narrow { max-width: 850px; margin: auto; }

.prose p { font-size: 1.08rem; }

.scripture-card {
  margin: 24px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  text-align: left;
}

.scripture-card p { margin: 0 0 7px; color: var(--navy); }
blockquote { margin: 0; font-style: italic; color: #4f5860; }

.story-section { background: #f0ede5; }

.two-column {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 70px;
  align-items: center;
}

.story-copy { max-width: 650px; }

.video-card {
  background: var(--white);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.video-label {
  padding: 8px 10px;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #111;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
}

.portrait {
  width: min(100%, 360px);
  justify-self: center;
}

.portrait .video-frame { aspect-ratio: 9 / 16; }

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-section { background: var(--white); }

.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #e9e5dc;
  box-shadow: 0 8px 25px rgba(16, 38, 61, .08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item span {
  position: absolute;
  left: 10px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(8,24,39,.78);
  color: white;
  font: 700 .7rem Arial, Helvetica, sans-serif;
}

.support-section {
  background:
    radial-gradient(circle at 50% 0, rgba(199,163,75,.18), transparent 40%),
    var(--navy);
  color: #e9edf0;
  text-align: center;
}

.support-inner { max-width: 850px; }

.support-section h2 {
  color: var(--white);
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 500;
}

.support-intro { max-width: 680px; margin: 0 auto 32px; }

.support-section .video-card {
  width: min(820px, 100%);
  margin: 28px auto;
}

.gofundme-button {
  display: inline-block;
  margin: 18px 0 25px;
  padding: 15px 30px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font: 800 .95rem Arial, Helvetica, sans-serif;
  letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.2);
  transition: .2s ease;
}

.gofundme-button:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.support-copy {
  max-width: 760px;
  margin: 12px auto;
  color: #d7dde2;
}

.faq-section { background: var(--cream); }

.faq-container { max-width: 900px; }

.faq details {
  margin: 12px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(16,38,61,.04);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 21px 25px;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 700;
  position: relative;
  padding-right: 60px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 14px;
  color: var(--gold);
  font: 400 1.8rem Arial, Helvetica, sans-serif;
}

.faq details[open] summary::after { content: "−"; }

.faq-answer {
  padding: 0 25px 24px;
  color: #56616a;
}

.faq-answer a { color: var(--navy); font-weight: 700; }

code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #e9e5dc;
  color: var(--navy);
}

footer {
  padding: 45px 0;
  text-align: center;
  color: #bfc8cf;
  background: var(--navy-dark);
}

footer p { margin: 5px 0; }
footer strong { color: white; }
.footer-small { margin-top: 20px !important; font-size: .85rem; }

@media (max-width: 850px) {
  .section { padding: 70px 0; }
  .two-column { grid-template-columns: 1fr; gap: 40px; }
  .story-copy { max-width: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 65px 0 60px; }
  .section { padding: 55px 0; }
  .product-image-wrap { min-height: 240px; }
  .gallery { gap: 9px; }
  .scripture-card { padding: 18px; }
}


/* Gallery Lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(5, 12, 20, .88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  width: min(1000px, 92vw);
  height: min(850px, 90vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: calc(100% - 130px);
  max-height: calc(100% - 45px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .45);
  background: #fff;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  border: 0;
  color: #fff;
  background: rgba(16, 38, 61, .85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(199, 163, 75, .95);
  color: #10263d;
}

.lightbox-close {
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font: 400 32px/1 Arial, sans-serif;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 52px;
  height: 64px;
  margin-top: -32px;
  border-radius: 10px;
  font: 400 34px/1 Arial, sans-serif;
}

.lightbox-prev { left: 5px; }
.lightbox-next { right: 5px; }

.lightbox-prev:active,
.lightbox-next:active {
  transform: scale(.94);
}

.lightbox-counter {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(16, 38, 61, .85);
  color: #fff;
  font: 700 .78rem Arial, Helvetica, sans-serif;
  letter-spacing: .08em;
}

.gallery-item {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(16, 38, 61, .15);
}

.gallery-item:focus {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .lightbox {
    padding: 15px;
  }

  .lightbox-content {
    width: 100%;
    height: 88vh;
  }

  .lightbox-image {
    max-width: calc(100% - 85px);
    max-height: calc(100% - 55px);
  }

  .lightbox-close {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 55px;
    margin-top: -27px;
    font-size: 28px;
  }

  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
}
