:root {
  --navy: #123060;
  --blue: #1f5ca8;
  --sky: #dcecff;
  --gold: #d7a52a;
  --ink: #182238;
  --muted: #58667d;
  --paper: #fbfaf6;
  --white: #fff;
  --line: #d7dfeb;
  --shadow: 0 14px 36px rgba(18, 48, 96, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { display: block; width: 47px; height: 47px; flex: 0 0 47px; overflow: hidden; border-radius: 50%; background: var(--navy) url("/assets/img/mbbc-mark.svg") center / cover no-repeat; color: transparent; font-size: 0; }
.brand strong { display: block; color: var(--navy); font-size: 15px; line-height: 1.2; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.menu { display: none; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--navy); padding: 8px 10px; font: inherit; }
.hero { overflow: hidden; color: var(--white); background: radial-gradient(circle at 80% 15%, #347bc9 0, transparent 32%), linear-gradient(120deg, #0c2652, #1e579d); }
.hero .wrap { min-height: 510px; display: grid; align-content: center; max-width: 1120px; }
.eyebrow { margin: 0 0 14px; color: #ffe59a; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; }
h1 { max-width: 760px; margin: 0; font: 700 clamp(38px, 6vw, 66px)/1.04 Georgia, serif; }
.hero p:not(.eyebrow) { max-width: 620px; margin: 22px 0 0; color: #e5efff; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-block; border: 1px solid var(--gold); border-radius: 5px; padding: 11px 18px; color: #17274b; background: var(--gold); font-size: 14px; font-weight: 800; text-decoration: none; }
.button.secondary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.72); }
.section { padding: 78px 0; }
.section.tint { background: #edf4fc; }
.gallery-section { padding-bottom: 32px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; box-shadow: 0 6px 18px rgba(19,45,89,.12); }
.section-heading { max-width: 680px; margin-bottom: 34px; }
.section-heading h2, .page-intro h1 { margin: 0; color: var(--navy); font: 700 clamp(30px, 4vw, 45px)/1.08 Georgia, serif; }
.section-heading p { margin: 14px 0 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 27px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 8px; box-shadow: 0 5px 18px rgba(19,45,89,.05); }
.card h3 { margin: 0 0 9px; color: var(--navy); font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.verse { padding: 70px 20px; color: var(--white); text-align: center; background: var(--navy); }
.verse blockquote { max-width: 770px; margin: 0 auto; font: 700 clamp(25px, 4vw, 41px)/1.25 Georgia, serif; }
.verse cite { display: block; margin-top: 16px; color: #ffe59a; font: normal 700 13px/1.3 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.page-intro { padding: 76px 0 55px; color: var(--white); background: linear-gradient(120deg, var(--navy), var(--blue)); }
.page-intro h1 { color: var(--white); }
.page-intro p { max-width: 700px; margin: 16px 0 0; color: #e1eeff; font-size: 18px; }
.prose { max-width: 840px; }
.prose h2 { margin: 42px 0 13px; color: var(--navy); font: 700 29px/1.15 Georgia, serif; }
.prose h3 { margin: 30px 0 8px; color: var(--navy); font-size: 20px; }
.prose p, .prose li { color: #344157; }
.prose .references { color: var(--muted); font-size: 14px; }
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.schedule .card { border-top-color: var(--blue); }
.time { margin-bottom: 8px; color: var(--blue); font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; }
.giving-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.giving-grid .card h2 { margin: 0 0 12px; color: var(--navy); font: 700 22px/1.15 Georgia, serif; }
.giving-grid .card > p { margin: 0 0 12px; }
.account-name { color: var(--ink) !important; font-weight: 700; line-height: 1.35; }
.account-address { font-size: 14px; }
.payment-value, .payment-details dd { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; overflow-wrap: anywhere; color: var(--ink) !important; background: #eef3fa; border-radius: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; }
.payment-details { margin: 14px 0 0; }
.payment-details div { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 8px; margin-top: 8px; }
.payment-details dt { color: var(--muted); font-size: 13px; }
.payment-details dd { margin: 0; }
.copy { flex: 0 0 auto; border: 0; border-radius: 99px; padding: 4px 8px; color: var(--navy); background: #dce5f1; font: 700 12px/1 Inter, sans-serif; cursor: pointer; }
.copy:hover { background: var(--gold); }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; color: var(--muted); font-size: 13px; }
.map { min-height: 340px; width: 100%; border: 0; border-radius: 8px; }
.note { padding: 19px 21px; border-left: 4px solid var(--gold); color: #4d596c; background: #fff8e7; }
.site-footer { padding: 44px 0; color: #d9e5f7; background: #0b2145; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; }
.site-footer strong { color: var(--white); }
.site-footer p { margin: 8px 0 0; font-size: 14px; }
.site-footer a { color: #ffe59a; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 30px, 1120px); }
  .nav { min-height: 66px; }
  .menu { display: block; }
  .nav-links { display: none; position: absolute; top: 66px; right: 15px; left: 15px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .grid, .schedule, .contact-grid, .giving-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .payment-details div { grid-template-columns: 1fr; gap: 3px; }
  .hero .wrap { min-height: 455px; }
  .section { padding: 56px 0; }
  .footer-grid { display: block; }
}
