/* Koinonia Ministry International — v1.0 design system */

:root {
  --cream: #faf7f2;
  --parchment: #f3ede3;
  --warm-white: #fffcf8;
  --terracotta: #a65d3f;
  --terracotta-deep: #8b4a32;
  --sage: #5c7355;
  --sage-light: #7a9172;
  --amber: #c4923a;
  --amber-soft: #e8d5b8;
  --deep-brown: #2c2118;
  --warm-gray: #6b5f54;
  --line: rgba(44, 33, 24, 0.12);
  --shadow: 0 24px 64px rgba(44, 33, 24, 0.08);
  --radius: 1rem;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Literata", "Georgia", serif;
  --max-width: 72rem;
  --nav-height: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--deep-brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--terracotta-deep);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--deep-brown);
  color: var(--cream);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Navigation ——— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(44, 33, 24, 0.06);
}

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

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--deep-brown);
  line-height: 1.15;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--deep-brown);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-cta {
  display: none;
  padding: 0.625rem 1.25rem;
  background: var(--terracotta);
  color: var(--warm-white) !important;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--deep-brown);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0;
  z-index: 99;
  background: var(--warm-white);
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav li + li {
  margin-top: 1rem;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--deep-brown);
}

@media (min-width: 900px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* ——— Layout ——— */

main {
  padding-top: var(--nav-height);
}

.section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--deep-brown);
}

.section-lead {
  font-size: 1.1875rem;
  color: var(--warm-gray);
  max-width: 42rem;
  margin: 0 0 2.5rem;
}

.section--parchment {
  background: var(--parchment);
}

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

.section--sage .section-label {
  color: var(--amber-soft);
}

.section--sage .section-title,
.section--sage .section-lead {
  color: var(--cream);
}

.section--sage a {
  color: var(--amber-soft);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 33, 24, 0.35) 0%,
    rgba(44, 33, 24, 0.55) 45%,
    rgba(44, 33, 24, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  color: var(--warm-white);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin-bottom: 1.25rem;
}

.hero-eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--amber);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.hero-tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  max-width: 36rem;
  margin: 0 0 2.5rem;
  color: rgba(255, 252, 248, 0.92);
  font-style: italic;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--deep-brown);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-soft);
  color: var(--deep-brown);
}

.btn-outline {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(255, 252, 248, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 252, 248, 0.12);
  color: var(--warm-white);
}

.btn-sage {
  background: var(--sage);
  color: var(--cream);
  border-color: var(--sage);
}

.btn-sage:hover {
  background: var(--sage-light);
}

/* ——— Mission pillars ——— */

.pillars {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar {
  padding: 2rem 1.5rem;
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--terracotta);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.pillar p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--warm-gray);
}

/* ——— Timeline ——— */

.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--amber-soft);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-2rem - 5px);
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px var(--parchment);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 0.25rem;
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin: 0 0 0.75rem;
}

.timeline-item p {
  margin: 0;
  color: var(--warm-gray);
}

/* ——— Split content ——— */

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

  .split--reverse .split-media {
    order: 2;
  }
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-media figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--warm-gray);
  background: var(--warm-white);
  border-top: 1px solid var(--line);
}

/* ——— Persecution stats ——— */

.stats-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin: 2.5rem 0;
}

.stat {
  text-align: center;
  padding: 1.75rem 1rem;
  background: rgba(255, 252, 248, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 252, 248, 0.15);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--amber-soft);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

.quote-block {
  margin: 2.5rem 0 0;
  padding: 2rem 2rem 2rem 2.5rem;
  border-left: 4px solid var(--amber);
  background: rgba(255, 252, 248, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.5;
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-style: normal;
  opacity: 0.85;
}

/* ——— Bible project ——— */

.bible-highlight {
  display: grid;
  gap: 2.5rem;
  padding: 3rem;
  background: var(--warm-white);
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 800px) {
  .bible-highlight {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }
}

.bible-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(44, 33, 24, 0.15);
}

.bible-cover img {
  width: 100%;
}

.bible-highlight h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.bible-highlight ul {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--warm-gray);
}

.bible-highlight li + li {
  margin-top: 0.5rem;
}

/* ——— Video ——— */

.video-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.video-card {
  background: var(--warm-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--deep-brown);
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: var(--deep-brown);
}

.video-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.video-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.video-card-body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--warm-gray);
}

/* ——— Events ——— */

.events-list {
  display: grid;
  gap: 1.25rem;
}

.event-card {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--warm-white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

@media (min-width: 600px) {
  .event-card {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.event-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--parchment);
  border-radius: 50%;
  color: var(--sage);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.event-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}

.event-card p {
  margin: 0;
  color: var(--warm-gray);
  font-size: 0.9375rem;
}

/* ——— CTA ——— */

.cta-panel {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
  border-radius: calc(var(--radius) * 1.5);
  color: var(--warm-white);
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1rem;
}

.cta-panel p {
  max-width: 32rem;
  margin: 0 auto 2rem;
  opacity: 0.92;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-panel .btn-primary {
  background: var(--amber);
}

.cta-panel .btn-outline {
  border-color: rgba(255, 252, 248, 0.6);
}

/* ——— Footer ——— */

.site-footer {
  background: var(--deep-brown);
  color: rgba(255, 252, 248, 0.85);
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .brand-mark {
  color: var(--cream);
  font-size: 1.25rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  max-width: 28rem;
  opacity: 0.85;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-soft);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.5rem;
}

.footer-col a {
  color: rgba(255, 252, 248, 0.85);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--amber-soft);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 252, 248, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: inherit;
}

/* ——— Animations ——— */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .pillar:hover {
    transform: none;
  }

  .bible-page-turn {
    animation: none !important;
  }
}

/* ——— Donate buttons ——— */

.btn-donate {
  background: var(--amber);
  color: var(--deep-brown);
  border-color: var(--amber);
}

.btn-donate:hover {
  background: #d4a84a;
  color: var(--deep-brown);
}

.btn-donate-outline {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.btn-donate-outline:hover {
  background: var(--terracotta);
  color: var(--warm-white);
}

.nav-cta.btn-donate {
  background: var(--terracotta);
  color: var(--warm-white) !important;
  border: none;
}

.nav-cta.btn-donate:hover {
  background: var(--terracotta-deep);
}

.donate-inline {
  margin-top: 1.5rem;
}

/* ——— Bible Reader (Coming Soon preview) ——— */

.bible-reader-section {
  position: relative;
  overflow: hidden;
}

.bible-diligence-callout {
  margin-bottom: 2rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, rgba(196, 146, 58, 0.14) 0%, rgba(166, 93, 63, 0.1) 100%);
  border: 1px solid rgba(196, 146, 58, 0.35);
  border-radius: var(--radius);
  border-left: 4px solid var(--amber);
}

.bible-diligence-callout__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.bible-diligence-callout__text {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--deep-brown);
}

.bible-reader-wrap {
  position: relative;
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--line);
  background: var(--warm-white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.coming-soon-ribbon {
  position: absolute;
  top: 1.25rem;
  right: -2.5rem;
  z-index: 5;
  transform: rotate(45deg);
  background: var(--terracotta);
  color: var(--warm-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 3rem;
  box-shadow: 0 4px 12px rgba(166, 93, 63, 0.35);
}

.bible-reader-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
}

.bible-reader-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
}

.bible-reader-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(92, 115, 85, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.bible-reader-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.bible-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.bible-controls label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.bible-controls select,
.bible-controls button {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--warm-white);
  color: var(--deep-brown);
  cursor: pointer;
}

.bible-controls button:hover {
  border-color: var(--sage);
  background: var(--parchment);
}

.bible-controls-spacer {
  flex: 1;
}

.bible-panels {
  display: grid;
  min-height: 20rem;
}

@media (min-width: 900px) {
  .bible-panels {
    grid-template-columns: 1fr 1fr;
  }
}

.bible-panel {
  padding: 2rem 1.75rem;
  position: relative;
}

.bible-panel--kralicka {
  background: linear-gradient(135deg, #f8f2e8 0%, #f3ebe0 100%);
  border-right: 1px solid var(--line);
}

.bible-panel--english {
  background: var(--warm-white);
}

.bible-panel-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

.bible-chapter-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin: 0 0 1.5rem;
  color: var(--deep-brown);
}

.bible-verse {
  margin: 0 0 0.875rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--deep-brown);
}

.bible-verse-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-right: 0.35rem;
}

@keyframes bible-turn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bible-page-turn {
  animation: bible-turn 0.45s ease;
}

.bible-nav-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--parchment);
}

.bible-nav-row button {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--warm-white);
  color: var(--deep-brown);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.bible-nav-row button:hover {
  background: var(--cream);
  border-color: var(--sage);
}

.bible-notify {
  padding: 1.75rem 1.5rem;
  background: var(--sage);
  color: var(--cream);
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .bible-notify {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.bible-notify h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.35rem;
}

.bible-notify p {
  margin: 0;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.bible-notify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bible-notify-form input[type="email"] {
  flex: 1;
  min-width: 12rem;
  padding: 0.625rem 1rem;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.bible-notify-form button {
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 999px;
  background: var(--amber);
  color: var(--deep-brown);
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
}

.bible-notify-form button:hover {
  background: var(--amber-soft);
}

.bible-notify-msg {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  color: var(--amber-soft);
  margin: 0;
}

.bible-reader-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

.bible-reader-foot p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--warm-gray);
  max-width: 32rem;
}

.media-credit {
  font-size: 0.875rem;
  color: var(--warm-gray);
}

.split-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.text-center {
  text-align: center;
}

.mt-section {
  margin-top: 2.5rem;
}

.mt-section-lg {
  margin-top: 4rem;
}

.quote-block--mission {
  border-color: var(--terracotta);
  background: var(--parchment);
  color: var(--deep-brown);
  margin-bottom: 3rem;
}

.quote-block--heritage {
  border-color: var(--terracotta);
  background: var(--warm-white);
  color: var(--deep-brown);
}

.heritage-principles-lead {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2rem;
  color: var(--warm-gray);
}

.heritage-pillars .pillar h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
  color: var(--deep-brown);
}

.heritage-prose p {
  max-width: 48rem;
  color: var(--warm-gray);
  line-height: 1.75;
}

.heritage-prose p + p {
  margin-top: 1.25rem;
}

.connection-grid .event-card h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

body.nav-open {
  overflow: hidden;
}

/* ——— Mobile & touch ——— */

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

.btn,
.nav-cta,
.menu-toggle,
.bible-controls select,
.bible-controls button,
.bible-nav-row button,
.bible-notify-form button,
.bible-notify-form input[type="email"] {
  min-height: 44px;
}

@media (max-width: 899px) {
  :root {
    --nav-height: 4rem;
  }

  .section {
    padding: 3.5rem 1.125rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }

  .section-lead {
    font-size: 1.0625rem;
    margin-bottom: 2rem;
  }

  .nav-inner {
    padding: 0 1rem;
  }

  .brand-mark {
    font-size: 1rem;
  }

  .brand-sub {
    font-size: 0.625rem;
  }

  .hero-content {
    padding: 3rem 1.125rem 3.5rem;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
    max-width: none;
  }

  .hero-tagline {
    font-size: 1.0625rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .quote-block {
    padding: 1.5rem 1.25rem 1.5rem 1.5rem;
    font-size: 1.125rem;
  }

  .timeline {
    padding-left: 1.5rem;
    margin-top: 2.5rem !important;
  }

  .timeline-item::before {
    left: calc(-1.5rem - 5px);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat {
    padding: 1.25rem 0.75rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .split-media {
    margin-bottom: 0.5rem;
  }

  .split-media figcaption {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .bible-highlight {
    padding: 1.5rem;
    grid-template-columns: 1fr;
  }

  .bible-cover {
    max-width: 16rem;
    margin: 0 auto;
  }

  .bible-diligence-callout {
    padding: 1.25rem 1.125rem;
  }

  .coming-soon-ribbon {
    top: 0.75rem;
    right: -2.75rem;
    font-size: 0.625rem;
    padding: 0.35rem 2.75rem;
  }

  .bible-reader-header {
    padding: 1rem 1.125rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .bible-reader-header .btn {
    width: 100%;
    justify-content: center;
  }

  .bible-controls {
    padding: 0.875rem 1.125rem;
  }

  .bible-controls label {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 8.5rem;
  }

  .bible-controls select,
  .bible-controls button {
    width: 100%;
  }

  .bible-controls-spacer {
    display: none;
  }

  .bible-controls button[data-toggle-english] {
    flex: 1 1 100%;
  }

  .bible-panel {
    padding: 1.5rem 1.125rem;
  }

  .bible-panel--kralicka {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .bible-chapter-title {
    font-size: 1.2rem;
  }

  .bible-verse {
    font-size: 1rem;
    line-height: 1.75;
  }

  .bible-nav-row {
    flex-direction: column;
    padding: 0.875rem 1.125rem;
  }

  .bible-nav-row button {
    width: 100%;
  }

  .bible-notify {
    padding: 1.25rem 1.125rem;
  }

  .bible-notify-form {
    flex-direction: column;
  }

  .bible-notify-form input[type="email"],
  .bible-notify-form button {
    width: 100%;
  }

  .bible-reader-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .bible-reader-foot .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-panel {
    padding: 2.5rem 1.25rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .site-footer {
    padding: 3rem 1.125rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .donate-inline .btn,
  .text-center .btn {
    width: 100%;
    justify-content: center;
  }
}

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

  .pillar {
    padding: 1.5rem 1.25rem;
  }

  .pillars[style*="grid-template-columns: 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

