/* Bible Expeditions — styled after the original Squarespace "Index" template.
   Headings: Jost (stand-in for Futura PT). Body: Montserrat (stand-in for Proxima Nova). */
:root {
  --ink: #1d1d1d;
  --body: #3e3e3e;
  --muted: #707070;
  --line: #ebebeb;
  --paper: #ffffff;
  --soft: #fafafa;
  --accent: #00a0c6;
  --error: #b42318;
  --ok: #217a3c;
  --head: "Jost", "Futura PT", Futura, "Century Gothic", Arial, sans-serif;
  --text: "Montserrat", "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --border: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font: 400 16px/1.8 var(--text); letter-spacing: .01em;
  border: var(--border) solid var(--paper);
}
@media (max-width: 640px) { body { border-width: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(2.2rem, 6vw, 4.6rem); letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); text-transform: uppercase; letter-spacing: .02em; }
h3 { font-weight: 500; font-size: 1.2rem; letter-spacing: .04em; }
p { margin: 0 0 1.2em; }
.center { text-align: center; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---------- header ---------- */
.site-header { display: flex; flex-direction: column; align-items: center; padding: 28px 16px 10px; background: var(--paper); }
.brand img { width: 260px; }
.site-nav ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; }
.site-nav a { font: 500 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--body); text-decoration: none; padding: 8px 0; display: inline-block; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .site-header { flex-direction: row; justify-content: space-between; padding: 12px 16px; position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); }
  .brand img { width: 150px; }
  .menu-btn { display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
  .menu-btn span:not(.sr) { width: 24px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: center; margin: 0; padding: 12px 0 20px; }
  .site-nav a { font-size: 15px; padding: 10px 0; }
}

/* ---------- full-width bands (home + gallery) ---------- */
.band { padding: clamp(60px, 10vw, 120px) 16px; text-align: center; }
.band-inner { max-width: 1100px; margin: 0 auto; }
.band-inner.narrow { max-width: 760px; }
.band-img { position: relative; color: #fff; background: #333 center / cover no-repeat; background-attachment: fixed; min-height: 70vh; display: grid; place-items: center; }
.band-img::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.band-img .band-inner { position: relative; }
.band-img h1, .band-img h3 { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.band-tall { min-height: 88vh; }
@media (hover: none), (max-width: 760px) { .band-img { background-attachment: scroll; min-height: 60vh; } }
.img-hero { background-image: url(/assets/img/hero.webp); }
.img-sunrise { background-image: url(/assets/img/sunrise.webp); }
.img-cta-home { background-image: url(/assets/img/cta-home.webp); }
.img-cta-gallery { background-image: url(/assets/img/cta-gallery.webp); }
.quote { text-transform: none; font-size: clamp(1.8rem, 4.5vw, 3.4rem); }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 1rem; margin-bottom: 1em; }
.who-logo { width: 300px; margin: 0 auto 30px; }
.prose { text-align: left; }
.band .prose h2 { text-align: center; }

/* ---------- regular pages ---------- */
.content { max-width: 860px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) 16px; }
.page-title { text-align: center; font-size: clamp(2rem, 5vw, 3.4rem); }
.subtitle { text-align: center; color: var(--muted); margin-top: -.3em; margin-bottom: 2em; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .6em; }
.prose li p { margin-bottom: .6em; }
.faq h3 { font-weight: 700; }
.notice { background: var(--soft); border: 1px solid var(--line); padding: 24px 24px 8px; margin-bottom: 32px; }
.secure { font-size: .9rem; color: var(--muted); }
.legal { font-size: .95rem; }

/* ---------- video / media ---------- */
.video { position: relative; aspect-ratio: 16 / 9; margin: 24px 0 32px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videos figure { margin: 0 0 48px; }
.videos figcaption { font: 500 1.1rem var(--head); letter-spacing: .04em; text-align: center; color: var(--ink); margin-top: -18px; }
.pdf { width: 100%; height: 80vh; border: 1px solid var(--line); margin-top: 16px; }

/* ---------- gallery ---------- */
.gallery { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery a:hover img { opacity: .8; }
.page-our-impact .content { max-width: 1200px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: fixed; background: none; border: 0; color: #fff; font-size: 48px; line-height: 1; cursor: pointer; padding: 12px 18px; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- buttons + forms ---------- */
.btn { display: inline-block; font: 500 13px/1 var(--head); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: transparent; border: 2px solid var(--ink); border-radius: 300px; padding: 16px 30px; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn-light { color: #fff; border-color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: wait; }
.form { max-width: 720px; margin: 24px auto 0; }
.field { display: block; margin-bottom: 18px; }
.lbl { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 4px; }
.req { color: var(--error); }
.help { display: block; font-size: .85rem; color: var(--muted); line-height: 1.5; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--soft); border: 1px solid #ccc; border-radius: 2px; padding: 10px 12px; min-height: 46px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.row2, .row3 { display: grid; gap: 0 18px; grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .row2, .row3 { grid-template-columns: 1fr; } }
fieldset { border: 1px solid var(--line); padding: 16px 20px 6px; margin: 0 0 22px; }
legend { font: 700 1rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); padding: 0 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; line-height: 1.5; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.cf-turnstile { margin: 8px 0 18px; min-height: 65px; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--error); }
.newsletter { margin-top: 70px; padding: 40px 24px; background: var(--soft); border: 1px solid var(--line); text-align: center; }
.newsletter h2 { font-size: 1.4rem; }
.newsletter .form { text-align: left; max-width: 560px; }

/* ---------- footer ---------- */
.site-footer { background: var(--soft); text-align: center; padding: 40px 16px 30px; }
.social { display: flex; justify-content: center; gap: 12px; margin-bottom: 18px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.social a:hover { background: var(--accent); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-nav { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.footer-nav a { font: 500 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--body); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.small { font-size: .8rem; color: var(--muted); margin: 0; }
