/* Breathtaking God, Inc. — shared styles */
:root {
  --bg: #f7fafc;
  --bg-alt: #ffffff;
  --accent: #4fa3d1;
  --accent-dark: #2f7fab;
  --accent-light: #e8f4fb;
  --text: #2d3748;
  --muted: #4a5568;
  --card: #ffffff;
  --border: rgba(0,0,0,0.08);
  --radius-lg: 16px;
  --radius-sm: 10px;
  --max-width: 960px;
  --shadow: 0 8px 22px rgba(0,0,0,0.08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo { width: 140px; height: auto; }

.nav-title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links > ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.nav-links li { position: relative; }

.nav-links a {
  display: block;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--accent-dark); background: var(--accent-light); }

.nav-links a[aria-current="page"],
.nav-links .is-active > a { color: var(--accent-dark); font-weight: 600; }

.has-sub > a::after {
  content: "";
  display: inline-block;
  width: 0.4em; height: 0.4em;
  margin-left: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.2em) rotate(45deg);
}

.sub {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  padding: 0.4rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}

.has-sub:hover > .sub,
.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }

.nav-toggle {
  display: none;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--text);
  cursor: pointer;
}

/* ---------- Layout ---------- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

section + section { margin-top: 3rem; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.page-head { margin-bottom: 2rem; }
.page-head .lead { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero-card p { font-size: 0.95rem; color: var(--text); }
.hero-card p + p { margin-top: 0.75rem; }

/* ---------- Verses ---------- */
.verse {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text);
}

.verse cite {
  display: block;
  margin-top: 0.4rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.verse--plain { background: transparent; border-left-color: var(--border); padding: 0.25rem 0 0.25rem 1.1rem; margin-top: 0.9rem; }

/* ---------- Cards & grids ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text); }
.card p { font-size: 0.95rem; color: var(--muted); }
.card p + p { margin-top: 0.6rem; }

a.card {
  display: block;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
a.card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(0,0,0,0.1); }
a.card .more { display: inline-block; margin-top: 0.8rem; font-size: 0.9rem; font-weight: 600; color: var(--accent-dark); }

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.6rem;
}

.definition {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--text);
  max-width: 40rem;
  margin-bottom: 1.5rem;
}
.definition em { color: var(--muted); font-size: 1rem; font-family: "Segoe UI", system-ui, sans-serif; letter-spacing: .04em; }

/* ---------- Scripture pair ---------- */
.scripture-block {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.scripture-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.scripture-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
}

.scripture-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.scripture-ref { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* ---------- Mission ---------- */
.statement {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.75rem);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.5;
  color: var(--text);
}
.statement p + p { margin-top: 0.9rem; }

/* ---------- Commitments (What) ---------- */
.commitments { list-style: none; counter-reset: c; display: grid; gap: 1.25rem; }

.commitments > li {
  counter-increment: c;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.6rem 1.5rem 4.4rem;
}

.commitments > li::before {
  content: counter(c);
  position: absolute;
  left: 1.4rem; top: 1.35rem;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.commitments h3 { font-size: 1.1rem; }

.work-list { list-style: none; }
.work-list li { padding: 0.6rem 0; border-top: 1px solid var(--border); font-size: 0.95rem; color: var(--muted); }
.work-list li:first-child { border-top: 0; padding-top: 0; }
.work-list strong { color: var(--text); font-weight: 600; }
.work-list .date { display: block; font-size: 0.82rem; }

/* ---------- Store ---------- */
.book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: start;
}

.book-cover {
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 808 / 1052;
  display: grid;
  place-items: center;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover .fallback { font-family: var(--serif); font-size: 1.8rem; text-align: center; color: var(--accent-dark); padding: 1rem; }

.book h2 { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.2; }
.book .subtitle { color: var(--muted); margin-bottom: 1rem; }
.price { font-size: 1.6rem; font-weight: 600; color: var(--text); }
.price small { font-size: 0.9rem; font-weight: 400; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; list-style: none; }
.chips li { font-size: 0.85rem; padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-alt); color: var(--muted); }

.step-num {
  display: inline-grid; place-items: center;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

/* ---------- Forms & buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent-dark); }
.btn-ghost:hover { background: var(--accent-light); color: var(--accent-dark); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: 0.82rem; color: var(--muted); font-weight: 400; }

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}

.amount-wrap { position: relative; max-width: 220px; }
.amount-wrap span { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.amount-wrap input { padding-left: 1.7rem; }

.presets { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.presets button {
  font: inherit; font-size: 0.9rem; padding: 0.4rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-alt); color: var(--text); cursor: pointer;
}
.presets button:hover, .presets button.is-on { border-color: var(--accent); background: var(--accent-light); color: var(--accent-dark); }

.form-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- Video ---------- */
.video-card { padding: 0; overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: 1.1rem 1.4rem 1.3rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; list-style: none; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav-title { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; width: 100%; }
  .nav-links.open { display: block; }
  .nav-links > ul { flex-direction: column; gap: 0; padding: 0.5rem 0 0.25rem; }
  .nav-links a { padding: 0.6rem 0.5rem; }
  .has-sub > a::after { display: none; }
  .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; background: transparent;
  }
}

@media (max-width: 768px) {
  main { padding: 2rem 1rem 3rem; }
  .nav { padding: 0.75rem 1rem; }
  .hero, .scripture-block, .book { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .book-cover { max-width: 320px; }
  .commitments > li { padding: 1.2rem 1.2rem 1.3rem 3.8rem; }
  .commitments > li::before { left: 1rem; top: 1.15rem; }
}

.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
