/* =========================================================
   Live The Mission — Modernized (Original Palette, Refined)
   Original colors:
     beige   #EFEBE5    navy   #304254
     gold    #F2B233    blue   #8CAABF
     ink     #2E2E2E
   ========================================================= */

:root {
  /* Core palette — close to original, with refined siblings */
  --beige:        #EFEBE5;     /* original beige */
  --beige-soft:   #F5F1EA;     /* lighter beige for layering */
  --beige-warm:   #E8E0D2;     /* warmer beige for contrast */
  --cream:        #FBF8F2;     /* almost-white warm cream */

  --navy:         #304254;     /* original navy */
  --navy-deep:    #243441;     /* slightly deeper for depth */
  --navy-soft:    #4A5D73;     /* lighter navy for text */

  --gold:         #F2B233;     /* original gold */
  --gold-deep:    #D89A1F;     /* richer gold for accents */
  --gold-soft:    #F7CB6B;     /* lighter gold for highlights */

  --blue:         #8CAABF;     /* original dusty blue */
  --blue-soft:    #A8C0D2;     /* lighter dusty blue */
  --blue-deep:    #6B8FA7;     /* deeper dusty blue */

  --ink:          #2E2E2E;     /* original body text */
  --ink-soft:     #525252;
  --line:         rgba(48, 66, 84, 0.14);

  --shadow-sm:    0 2px 10px rgba(48, 66, 84, 0.07);
  --shadow-md:    0 14px 40px rgba(48, 66, 84, 0.14);
  --shadow-lg:    0 30px 70px rgba(48, 66, 84, 0.20);

  --radius-sm:    6px;
  --radius-md:    14px;
  --radius-lg:    24px;

  --serif:        'Playfair Display', 'Fraunces', Georgia, serif;
  --sans:         'Manrope', 'Inter', system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background-color: var(--beige);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.15;
}

h1 { font-weight: 500; }

p { color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

img { max-width: 100%; }

/* ---------- Subtle atmospheric tint ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 25% 15%, rgba(242, 178, 51, 0.06), transparent 40%),
    radial-gradient(circle at 80% 85%, rgba(140, 170, 191, 0.07), transparent 45%);
}

/* ---------- Navbar ---------- */
.custom-navbar {
  background-color: rgba(48, 66, 84, 0.92) !important;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(242, 178, 51, 0.12);
  transition: all 0.4s ease;
  padding: 0.9rem 0;
}

.custom-navbar.scrolled {
  background-color: rgba(36, 52, 65, 0.96) !important;
  padding: 0.55rem 0;
  box-shadow: 0 4px 20px rgba(48, 66, 84, 0.25);
}

.navbar-brand {
  font-family: var(--serif) !important;
  font-style: italic;
  font-weight: 600 !important;
  font-size: 1.5rem !important;
  letter-spacing: -0.01em;
  color: var(--gold) !important;
  transition: all 0.3s ease;
}

.custom-navbar.scrolled .navbar-brand {
  color: var(--gold-soft) !important;
  font-size: 1.35rem !important;
}

.navbar .nav-link {
  font-family: var(--sans) !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.04em;
  color: rgba(251, 248, 242, 0.85) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }

.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--gold) !important; }

.navbar-toggler {
  border: 1px solid rgba(242, 178, 51, 0.3);
  padding: 0.35rem 0.55rem;
}
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero-header {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  color: var(--cream);
}

.hero-header .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: saturate(0.95);
}

.hero-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(48, 66, 84, 0.55) 0%,
    rgba(48, 66, 84, 0.35) 40%,
    rgba(48, 66, 84, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.2s;
}

.hero-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--cream);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeUp 1.1s ease forwards 0.4s;
}

.hero-sub {
  max-width: 600px;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(251, 248, 242, 0.85);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1.1s ease forwards 0.6s;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 1.1s ease forwards 0.8s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.7);
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 1.2s;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  margin: 0.75rem auto 0;
  background: rgba(251, 248, 242, 0.5);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50%      { transform: scaleY(1); }
}

/* ---------- Buttons ---------- */
.btn-ink {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--cream);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-ink:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(242, 178, 51, 0.45);
}
.btn-ink .arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}
.btn-ink:hover .arrow { transform: translateX(4px); }

.btn-teal {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-teal:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-teal .arrow { display: inline-block; transition: transform 0.35s ease; }
.btn-teal:hover .arrow { transform: translateX(4px); }

/* ---------- Section helpers ---------- */
.section {
  position: relative;
  padding: 6rem 0;
  z-index: 1;
}
.section-tight { padding: 4rem 0; }

.section-paper { background: var(--beige); }
.section-cream { background: var(--cream); }
.section-warm  { background: var(--beige-warm); }
.section-ink   { background: var(--navy); color: var(--cream); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--cream); }
.section-ink p { color: rgba(251, 248, 242, 0.78); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-deep);
}

.section-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--navy);
  margin: 1rem 0 1.5rem;
}

.section-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.7;
}

/* ---------- About / content cards ---------- */
.feature-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--beige-warm);
}
.feature-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feature-card:hover .img-wrap img { transform: scale(1.06); }

.feature-card .body {
  padding: 1.75rem 1.75rem 2rem;
}
.feature-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.feature-card h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin: 0 0 0.85rem;
}
.feature-card p {
  font-size: 0.97rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Pull-quote / mission statement block ---------- */
.mission-block {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.mission-block::before {
  content: "“";
  position: absolute;
  top: -2.5rem;
  left: 1.5rem;
  font-family: var(--serif);
  font-size: 14rem;
  color: var(--gold-soft);
  opacity: 0.4;
  line-height: 1;
  pointer-events: none;
}

/* ---------- Carousel modernization ---------- */
.carousel-modern {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-deep);
}
.carousel-modern .carousel-inner img {
  height: 560px;
  object-fit: cover;
  width: 100%;
  background-color: var(--navy-deep);
}
.carousel-modern .carousel-control-prev,
.carousel-modern .carousel-control-next {
  width: 8%;
  opacity: 0.85;
}
.carousel-modern .carousel-control-prev-icon,
.carousel-modern .carousel-control-next-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(48, 66, 84, 0.55);
  border-radius: 50%;
  background-size: 50% 50%;
  backdrop-filter: blur(6px);
}

/* ---------- Accordion modernization ---------- */
.accordion-modern {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-bg: transparent;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--navy);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23304254'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
  border-top: 1px solid var(--line);
}
.accordion-modern .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
}
.accordion-modern .accordion-button {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  background: transparent;
  padding: 1.5rem 0.25rem;
  box-shadow: none !important;
}
.accordion-modern .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--gold-deep);
}
.accordion-modern .accordion-body {
  padding: 0 0.25rem 1.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- Contact card ---------- */
.contact-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.contact-row { display: grid; gap: 1.25rem; }
.contact-row .label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.contact-row a {
  color: var(--navy);
  font-weight: 500;
  transition: color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.contact-row a:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 4.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(242, 178, 51, 0.12), transparent 50%);
  pointer-events: none;
}
.site-footer .brand-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.site-footer .tagline {
  color: rgba(251, 248, 242, 0.72);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.site-footer a {
  color: rgba(251, 248, 242, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}
.site-footer a:hover { color: var(--gold); }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(251, 248, 242, 0.14);
  margin: 2.5rem 0 1.5rem;
}
.footer-meta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(251, 248, 242, 0.55);
}

/* ---------- Giving page ---------- */
.giving-hero {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 55%, var(--blue-soft) 100%);
  position: relative;
  overflow: hidden;
}
.giving-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.3), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(48, 66, 84, 0.20), transparent 45%);
}
.giving-hero h1 {
  color: var(--navy);
}
.give-cta-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.give-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  column-count: 3;
  column-gap: 1.25rem;
}
@media (max-width: 992px) { .gallery-grid { column-count: 2; } }
@media (max-width: 576px) { .gallery-grid { column-count: 1; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--beige-warm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease;
  display: block;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-item:hover img { transform: scale(1.04); }

/* ---------- Prayer letter ---------- */
.letter-paper {
  max-width: 760px;
  margin: 7rem auto 5rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4.5rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
}
.letter-paper::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep), var(--blue));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.letter-paper h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.letter-paper .letter-date {
  text-align: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 3rem;
}
.letter-paper p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
  margin: 1.25rem 0;
}
.letter-paper .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2.5rem 0;
}
.letter-paper .quote p { font-size: inherit; color: inherit; margin: 0; }
.letter-paper .quote p:last-child {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: right;
  margin-top: 0.85rem;
  font-weight: 600;
}
.letter-paper h5 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin: 2.5rem 0 1.25rem;
}
.prayer-requests {
  list-style: none;
  padding: 0;
}
.prayer-requests li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  border-bottom: 1px dashed var(--line);
}
.prayer-requests li:last-child { border-bottom: none; }
.prayer-requests li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
[data-signatures] {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 0.5rem;
}
[data-tagline] {
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
  margin: 2rem 0;
}
.sending-church {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.sending-church a {
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
  transition: color 0.25s ease;
}
.sending-church a:hover { color: var(--gold-deep); }
.sending-church .sending-line {
  margin-bottom: 0.4rem;
}

/* ---------- Sending Church / Mission Agency Card ---------- */
.sending-card {
  max-width: 580px;
  margin: 2rem auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .sending-card { padding: 2.5rem 2.5rem; }
}
.sending-card .brand-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
.sending-card .divider {
  width: 80px;
  height: 1px;
  background: var(--line);
  margin: 0 auto 1.75rem;
}
.sending-card .sending-row {
  margin-bottom: 1.5rem;
}
.sending-card .sending-row:last-child {
  margin-bottom: 0;
}
.sending-card .label {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 0.45rem;
}
.sending-card .name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.sending-card a {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
  word-break: break-word;
}
.sending-card a:hover {
  color: var(--gold-deep);
  border-bottom-color: var(--gold-deep);
}

/* ---------- Game page ---------- */
.trivia-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 7rem auto 4rem;
}
.trivia-card h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
}
.answer-btn {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  transition: all 0.25s ease;
  width: 100%;
}
.answer-btn:hover:not(:disabled) {
  background: var(--beige-soft);
  border-color: var(--gold);
  transform: translateX(4px);
}
.answer-btn.correct {
  background: #5a8a4e !important;
  border-color: #5a8a4e !important;
  color: var(--cream) !important;
}
.answer-btn.wrong {
  background: #b85a4a !important;
  border-color: #b85a4a !important;
  color: var(--cream) !important;
}




/* ---------- Mobile responsive tweaks ---------- */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero-header { min-height: 540px; }
  .carousel-modern .carousel-inner img { height: 340px; object-fit: cover; }
  .mission-block::before { font-size: 9rem; top: -1.5rem; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (min-width: 1400px) {
  .container { max-width: 1240px; }
}