:root {
  --red: #d2202f;
  --red-dark: #a51622;
  --navy: #1b2a63;
  --gold: #ffd200;
  --ink: #22242c;
  --muted: #5a5e6b;
  --paper: #ffffff;
  --tint: #f6f4ee;
  --line: #e4e1d8;
  --todo-bg: #fff6c9;
  --todo-ink: #6b5400;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Source Sans 3", system-ui, sans-serif;
}

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

h1, h2, h3 { font-family: Merriweather, Georgia, serif; line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 900; color: #fff; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--paper);
  border-bottom: 3px solid var(--red);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; line-height: 1.15; }
.brand small { display: block; font-weight: 600; color: var(--red); font-size: .875rem; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--red); }

/* Hero */
.hero { background: var(--navy); color: #fff; border-bottom: 6px solid var(--gold); }
.hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.lead { font-size: 1.2rem; max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-crest { justify-self: center; background: #fff; border-radius: 12px; padding: 24px; width: min(300px, 100%); }
.hero-crest p { margin: 12px 0 0; text-align: center; font: 900 1.35rem/1.2 Merriweather, Georgia, serif; color: var(--red); }

.btn { display: inline-block; padding: 12px 22px; border-radius: 4px; font-weight: 700; text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-red { background: var(--red); color: #fff; }
.section-red h2, .section-red h3 { color: #fff; }
.section-lead { color: var(--muted); max-width: 40em; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.statements { display: grid; gap: 20px; }
.mission h3 { margin-bottom: .4em; color: var(--red); }
.mission { margin: 0; padding: 24px 28px; border-left: 6px solid var(--gold); background: var(--tint); }
.mission p { font-family: Merriweather, Georgia, serif; font-size: 1.2rem; line-height: 1.5; color: var(--navy); }
.mission cite { font-style: normal; font-size: .9rem; color: var(--muted); }

.values { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.values li { background: var(--navy); color: #fff; padding: 4px 12px; border-radius: 4px; font-weight: 600; }

.section-joined { padding-top: 0; }
.doctrines { margin: 24px 0 0; padding-left: 1.6em; columns: 2; column-gap: 48px; }
.doctrines li { margin-bottom: 14px; padding-left: 4px; break-inside: avoid; }
.doctrines li::marker { color: var(--red); font-weight: 700; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 20px; }
.card .time { font-weight: 700; }

.ministries { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.ministries p { margin: 0; color: var(--muted); }

.contact { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; }
.contact dt { font-weight: 700; color: var(--navy); }
.contact dd { margin: 0; overflow-wrap: anywhere; }

.map-placeholder { min-height: 280px; display: grid; place-items: center; text-align: center; }

/* Placeholders: remove these classes once real details are in */
.todo { background: var(--todo-bg); color: var(--todo-ink); padding: 2px 6px; border-radius: 3px; }
.todo-light { color: var(--gold); font-weight: 600; }

.site-footer { background: var(--navy); color: #fff; padding: 24px 0; font-size: .95rem; }
.site-footer p { margin: 0; }

@media (max-width: 800px) {
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .hero-crest { width: 200px; padding: 20px; }
  .cards, .ministries { grid-template-columns: 1fr; }
  .doctrines { columns: 1; }
  .section { padding: 48px 0; }
  .site-nav { gap: 2px 10px; font-size: .84rem; }
}
