:root {
  --color-bg-dark: #0f0f0f;
  --color-bg-light: #f6f2e9;
  --color-accent-gold: #c8a043;
  --color-accent-olive: #77643e;
  --color-accent-clay: #9c4538;
  --color-text-main: #111111;
  --color-text-muted: #6b7280;
  --max-width: 1100px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* HEADER / NAV */

.site-header {
  background: var(--color-bg-dark);
  color: #f9fafb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-symbol {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.07em;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #9ca3af;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.85rem;
}

.nav-links a {
  color: #e5e7eb;
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--color-accent-gold);
  color: #111827;
  font-weight: 600;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #374151;
  border-radius: 4px;
  color: #e5e7eb;
  padding: 0.2rem 0.4rem;
}

/* PAGE WRAPPER */

.page-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

/* SECTIONS */

.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

.section-block {
  margin-bottom: 2.3rem;
}

.section-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.section-title-light {
  color: #f9fafb;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.section-subtitle-light {
  color: #d1d5db;
}

.section-subtitle-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 1.25rem;
  margin-bottom: 2.5rem;
  background: #fdfaf2;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--color-accent-clay);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.hero h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.hero p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent-gold);
  color: #111827;
}

.btn-secondary {
  background: transparent;
  border: 1px solid #d1d5db;
  color: var(--color-text-main);
}

.hero-tagline {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  margin-top: 0.6rem;
}

.hero-card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 1.25rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.hero-card-title {
  font-weight: 600;
  font-size: 0.98rem;
}

/* GENERIC CARDS & LAYOUT */

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pillars,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.1rem 1.1rem 1.25rem;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.card-footer-link {
  margin-top: auto;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-accent-clay);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

/* TIMELINE */

.timeline-list {
  display: grid;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.timeline-item {
  padding-left: 0.75rem;
  border-left: 2px solid #e5e7eb;
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent-gold);
  position: absolute;
  left: -5px;
  top: 0.3rem;
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.1rem;
}

/* SCRIPTURE FOCUS */

.scripture-focus {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 1.3rem;
  font-size: 0.95rem;
}

.scripture-reference {
  font-weight: 600;
  color: var(--color-accent-clay);
  margin-bottom: 0.35rem;
}

/* NEWSLETTER */

.newsletter {
  background: var(--color-bg-dark);
  color: #e5e7eb;
  border-radius: 14px;
  padding: 1.6rem 1.25rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.newsletter input {
  flex: 1 1 160px;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #374151;
  background: #111827;
  color: #f9fafb;
  font-size: 0.9rem;
}

.newsletter button {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: var(--color-accent-gold);
  color: #111827;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

/* FORMS (Q&A, CONTACT, WORD SEARCH) */

.qa-form,
.contact-form {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 1.3rem;
  display: grid;
  gap: 0.8rem;
}

.qa-form label,
.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.2rem;
}

.qa-form input,
.qa-form textarea,
.contact-form input,
.contact-form textarea {
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
}

.word-search {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.word-search input {
  flex: 1;
  padding: 0.5rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}

.word-search button {
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  border: none;
  background: var(--color-accent-gold);
  color: #111827;
  font-weight: 600;
  cursor: pointer;
}

/* FOOTER */

.site-footer {
  background: var(--color-bg-dark);
  color: #9ca3af;
  padding: 1.4rem 1rem;
  font-size: 0.8rem;
}

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

.footer-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .pillars,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

  .nav-links {
    position: absolute;
    right: 0;
    left: 0;
    top: 100%;
    background: #111827;
    flex-direction: column;
    padding: 0.8rem 1rem 1rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-inner {
    align-items: center;
  }
}

/* SMALL UTILITIES */

.pill {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: #f3f4f6;
  margin-right: 0.25rem;
}
