/* ==========================================================
   House of Mercy — styles
   Palette: deep navy #12345A (primary), deep red #B4232F (accent), gold #D6B36A, light blue #EAF1F8, white.
   Layout: white pages, deep-blue bands for the hero, calls to
   action and footer; soft blue tint for alternating sections.
   Edit the tokens below to adjust colours, fonts and spacing.
   ========================================================== */

:root {
  --brand: #12345A;          /* deep navy — headings, nav, buttons */
  --brand-dark: #0D2744;     /* hover */
  --brand-deep: #0E2A49;     /* footer, dark bands */
  --brand-tint: #EAF1F8;     /* soft light blue */
  --brand-tint-2: #DCE7F3;
  --page: #F5F8FC;           /* default page background (barely blue) */
  --gold: #D6B36A;           /* subtle gold accents */
  --red: #B4232F;            /* deep red accent — used sparingly */
  --red-dark: #921C26;
  --gold-soft: #EBD9AE;
  --white: #FFFFFF;

  --ink: #12345A;            /* headings / strong text (deep navy) */
  --ink-2: #34465E;          /* body text */
  --muted: #627086;
  --line: #DCE5EF;
  --line-strong: #C6D1DF;

  --success: #2F6B45;
  --success-bg: #EEF6F0;
  --error: #A12F2F;
  --error-bg: #FCEFEF;

  --font-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 7vw, 96px);
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 84px;
  --shadow: 0 1px 2px rgba(19, 36, 61, .04), 0 8px 24px rgba(19, 36, 61, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { font-family: var(--font-serif); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.35rem); }
h3, h2.h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; }
.section { padding-block: var(--section); }
.section-tint { background: var(--brand-tint); }

.eyebrow { font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin: 0 0 .85rem; }
.eyebrow-light { color: rgba(255, 255, 255, .78); }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.serif-quote { font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.42; color: var(--ink); font-weight: 500; }
.mt-24 { margin-top: 24px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; color: #fff; }
.noscript { padding: 24px; text-align: center; background: var(--brand-tint); }
html:not(.is-ready) [data-i18n]:empty { visibility: hidden; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: 0 1.4rem; border-radius: var(--radius);
  border: 1.5px solid var(--brand); background: transparent; color: var(--brand);
  font-size: .92rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand-dark); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: .85rem; }
.btn-lg { min-height: 52px; padding: 0 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--brand-tint-2); color: var(--muted); border-color: var(--brand-tint-2); cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.text-link { font-weight: 600; }
.text-button { background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); font-size: .85rem; }
.text-button:hover { color: var(--brand); }
.arrow-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--brand); }
.arrow-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }
@media (max-width: 599px) { .hero .btn-row .btn, .cta-band .btn-row .btn { flex: 1 1 100%; } }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #fff; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; text-decoration: none; color: var(--brand); flex-shrink: 0; }
.logo:hover { color: var(--brand); }
.logo-text { display: flex; align-items: center; gap: 10px; }
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-large { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .005em; color: var(--brand); white-space: nowrap; }
.logo-small { font-family: var(--font-sans); font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.logo-img { max-height: 48px; width: auto; }

.main-nav { display: none; margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--radius); text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; position: relative; }
.main-nav a:hover { color: var(--brand); background: var(--brand-tint); }
.main-nav a.is-active { color: var(--brand); }
.main-nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--brand); border-radius: 2px; }
.main-nav a.nav-cta { background: var(--brand); color: #fff; margin-left: 8px; padding: 0 18px; font-weight: 600; }
.main-nav a.nav-cta:hover { background: var(--brand-dark); color: #fff; }
.main-nav a.nav-cta.is-active::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.main-nav + .header-actions { margin-left: 8px; }

.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-switch svg { position: absolute; left: 10px; width: 16px; height: 16px; fill: none; stroke: var(--brand); stroke-width: 1.5; pointer-events: none; }
.lang-select { appearance: none; -webkit-appearance: none; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2312345A' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 10px center; padding: 0 28px 0 32px; min-height: 40px; font-size: .85rem; color: var(--ink); cursor: pointer; }
.lang-select:hover { border-color: var(--brand); }
.header-lang { display: none; }

.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; color: var(--brand); }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.mobile-menu { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.mobile-menu li a.is-active { color: var(--brand); font-weight: 600; }
.mobile-menu li a.is-active::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.mobile-menu li a.nav-cta { margin-top: 16px; justify-content: center; border: 0; border-radius: var(--radius); background: var(--brand); color: #fff; font-weight: 600; min-height: 50px; }
.mobile-menu li a.nav-cta::after { display: none; }
.mobile-lang { margin-top: 16px; }
.mobile-lang .lang-switch, .mobile-lang .lang-select { width: 100%; }
.mobile-lang .lang-select { min-height: 48px; font-size: 1rem; }

@media (min-width: 640px) { .header-lang { display: block; } .mobile-lang { display: none; } }
@media (min-width: 1120px) { .main-nav { display: block; } .menu-toggle, .mobile-menu { display: none !important; } }
@media (min-width: 1120px) and (max-width: 1239px) { .main-nav a { padding: 0 9px; font-size: .86rem; } .logo-large { font-size: 1.45rem; } }
@media (max-width: 380px) { .logo-large { font-size: 1.35rem; } }

/* ---------- home hero ---------- */
.hero { position: relative; color: #fff; background: radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 104px) clamp(40px, 6vw, 72px); max-width: var(--max); }
.hero-title { color: #fff; font-size: clamp(2.8rem, 6.4vw, 4.8rem); font-weight: 600; line-height: 1.02; margin-bottom: .3em; }
.hero-tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.4; color: #fff; max-width: 34ch; margin-bottom: 1rem; }
.hero-intro { color: rgba(255, 255, 255, .86); font-size: 1.05rem; max-width: 60ch; }
.hero .btn-row { margin-top: 1.8rem; }
.hero-values { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(0, 0, 0, .08); }
.hero-values ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.hero-values li { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500; color: #fff; display: flex; align-items: center; gap: 20px; }
.hero-values li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
@media (max-width: 760px) {
  .hero-values ul { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
  .hero-values li { justify-content: center; font-size: 1.1rem; }
  .hero-values li + li::before { display: none; }
}

/* ---------- inner page hero ---------- */
.page-hero { background: var(--brand-tint); border-bottom: 1px solid var(--line); padding-block: clamp(44px, 6vw, 80px) clamp(36px, 5vw, 60px); }
.page-hero h1 { color: var(--brand); max-width: 20ch; }
.page-hero .lead { margin-bottom: 0; }

/* ---------- mission & vision ---------- */
.mv-grid { display: grid; gap: 32px; }
.mv-item { display: flex; flex-direction: column; align-items: flex-start; }
.mv-item .serif-quote { margin-bottom: 1.2rem; }
@media (min-width: 900px) {
  .mv-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .mv-item { padding-right: 56px; }
  .mv-item + .mv-item { padding: 0 0 0 56px; border-left: 1px solid var(--line); }
}

/* ---------- layout helpers ---------- */
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.6fr; gap: 64px; } .two-col.align-center { align-items: center; } }
.two-col > * { min-width: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.section-head h2 { margin: 0; }
.section-head p { margin: .5rem 0 0; }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- call-to-action band ---------- */
.cta-band { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; padding-block: clamp(44px, 6vw, 72px); }
.cta-inner { display: grid; gap: 20px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: rgba(255, 255, 255, .86); max-width: 58ch; margin: 0; }
.cta-band .btn-row { margin-top: 0; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.3fr auto; gap: 48px; } .cta-band .btn-row { justify-content: flex-end; } }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .55em; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { display: inline-block; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); padding: 4px 9px; border-radius: 999px; line-height: 1.4; }
.tag-muted { color: var(--muted); background: transparent; border: 1px dashed var(--line-strong); }
.statement { padding: 32px; }
.statement p:last-child { margin-bottom: 0; }

.meta-list { margin: 0 0 1rem; display: grid; gap: 8px; }
.meta-list div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; font-size: .92rem; }
.meta-list dt { color: var(--muted); font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.meta-list dd { margin: 0; color: var(--ink); }
.event-card .btn { align-self: flex-start; margin-top: auto; }
.event-desc { font-size: .95rem; }

.notice { background: var(--brand-tint); border-left: 3px solid var(--brand); padding: 14px 18px; color: var(--ink-2); border-radius: 0 var(--radius) var(--radius) 0; }
.empty-state { color: var(--muted); padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); text-align: center; grid-column: 1 / -1; margin: 0; background: #fff; }

/* ---------- image slots & placeholders ---------- */
.image-slot { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-tint); aspect-ratio: 4 / 5; max-width: 100%; }
.image-slot.wide { aspect-ratio: 16 / 10; }
.image-slot img { width: 100%; height: 100%; object-fit: cover; }
.is-placeholder { background: linear-gradient(180deg, var(--brand-tint) 0%, var(--brand-tint-2) 100%); border: 1px solid var(--line); }
.placeholder-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 16px; }
.placeholder-inner svg { width: 32px; height: 32px; fill: none; stroke: var(--line-strong); stroke-width: 1.2; }

/* ---------- sermons ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--brand-tint); border-radius: var(--radius-lg); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--brand); box-shadow: var(--shadow); }
.play-badge svg { width: 24px; height: 24px; margin-left: 4px; }
.video-frame .placeholder-inner svg { fill: var(--line-strong); stroke: none; }
.feature-sermon { display: grid; gap: 28px; }
.feature-sermon > * { min-width: 0; }
@media (min-width: 900px) { .feature-sermon { grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; } }
.sermon-card { padding: 0; overflow: hidden; }
.sermon-card .video-frame { border-radius: 0; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.link-row { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; }

/* ---------- founder & leaders ---------- */
.founder { display: grid; gap: 36px; align-items: center; }
.founder > * { min-width: 0; }
@media (min-width: 860px) { .founder { grid-template-columns: minmax(280px, 400px) 1fr; gap: 64px; } }
.leader-photo { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-tint); margin-bottom: 16px; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo { margin: 0; aspect-ratio: 4 / 5; width: 100%; }
.founder-photo:not(.is-placeholder) { aspect-ratio: auto; background: none; box-shadow: 0 0 0 1px var(--line), 14px 14px 0 0 var(--brand-tint-2); }
.section-tint .founder-photo:not(.is-placeholder) { box-shadow: 0 0 0 1px var(--line), 14px 14px 0 0 #fff; }
.founder-photo:not(.is-placeholder) img { height: auto; object-fit: contain; }
@media (max-width: 859px) { .founder-photo { max-width: 340px; width: calc(100% - 14px); margin-inline: auto; } }
.founder-name { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .1em; }
.leader-role { color: var(--brand); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.founder-bio { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.5; color: var(--ink); font-style: italic; max-width: 44ch; padding-left: 20px; border-left: 3px solid var(--brand); }
.founder-contact { margin-top: 22px; display: grid; gap: 10px; }
.founder-contact .h-small { margin: 0; }
.founder-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.founder-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; overflow-wrap: anywhere; }
.founder-links svg { width: 16px; height: 16px; fill: currentColor; }
.leaders { display: grid; gap: 24px; }
@media (min-width: 640px) { .leaders { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .leaders { grid-template-columns: repeat(3, 1fr); } }
.leader { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.leader h3 { margin-bottom: .2em; }
.h-small { font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 6px 0 0; }

/* ---------- forms ---------- */
.form-layout { display: grid; gap: 40px; }
.form-layout > * { min-width: 0; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1fr 1.5fr; gap: 64px; } }
.form-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); background: #fff; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.req { color: var(--brand); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; padding: 12px 14px; min-height: 48px; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2312345A' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18, 52, 90, .15); }
.field-hint { font-size: .82rem; color: var(--muted); margin: 0; }
.field-error { font-size: .84rem; color: var(--error); margin: 0; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--error); }
.check { flex-direction: row; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--brand); }
.check label { flex: 1; font-weight: 400; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }
.check .field-error { flex-basis: 100%; padding-left: 32px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; padding: 12px 16px; border-radius: var(--radius); font-size: .92rem; }
.form-status.is-info { background: var(--brand-tint); }
.form-status.is-error { background: var(--error-bg); color: var(--error); }
.form-status.is-success { background: var(--success-bg); color: var(--success); }
.form-success { text-align: center; padding: 24px 0; }
.form-success h2 { outline: none; }
.privacy-box { border-left: 3px solid var(--brand); padding: 4px 0 4px 20px; }
.privacy-box h2 { font-size: 1.4rem; }

/* ---------- donate ---------- */
.give-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.give-list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); font-family: var(--font-serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.give-list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--brand); }
.give-action { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- contact ---------- */
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-list div { display: grid; gap: 2px; }
.contact-list dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.social-list a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.social-list svg { width: 18px; height: 18px; fill: currentColor; }
.map-frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-tint); margin-bottom: 12px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame .placeholder-inner { text-transform: none; letter-spacing: 0; font-size: .95rem; max-width: 36ch; margin: auto; }
.info-stack { display: grid; gap: 36px; align-content: start; }
.info-stack h2 { font-size: 1.5rem; }

/* ---------- store ---------- */
.store-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin: 24px 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 0 16px; min-height: 40px; font-size: .86rem; cursor: pointer; color: var(--ink-2); }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.cart-button { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); border: 1.5px solid var(--brand); background: #fff; border-radius: var(--radius); min-height: 44px; padding: 0 16px; cursor: pointer; font-size: .9rem; font-weight: 600; }
.cart-button:hover { background: var(--brand-tint); }
.cart-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.count-badge { min-width: 22px; height: 22px; border-radius: 11px; background: var(--brand); color: #fff; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.product-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { padding: 0; overflow: hidden; }
.product-media, .dialog-media { position: relative; aspect-ratio: 1; max-width: 100%; background: var(--brand-tint); }
.product-media.is-placeholder, .dialog-media.is-placeholder { border: 0; border-bottom: 1px solid var(--line); }
.product-media img, .dialog-media img { width: 100%; height: 100%; object-fit: cover; }
.product-cat { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.price { font-weight: 600; color: var(--ink); margin: auto 0 16px; padding-top: 8px; }
.product-card .btn { align-self: flex-start; }
.status-available { color: var(--success); background: var(--success-bg); }
.status-sold_out { color: var(--error); background: var(--error-bg); }

dialog { border: 0; padding: 0; border-radius: var(--radius-lg); max-width: min(920px, calc(100vw - 24px)); width: 100%; max-height: calc(100vh - 24px); color: var(--ink-2); background: #fff; box-shadow: 0 24px 80px rgba(14, 42, 73, .25); }
dialog::backdrop { background: rgba(14, 42, 73, .5); }
.dialog-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); }
.dialog-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dialog-grid { display: grid; }
@media (min-width: 760px) { .dialog-grid { grid-template-columns: 1fr 1fr; } }
.dialog-info { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.dialog-info h2 { font-size: 1.9rem; margin: 0; padding-right: 40px; }
.dialog-info .price { margin: 0; padding: 0; }
.dialog-info p { margin: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); align-self: flex-start; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--brand); }
.stepper button:disabled { color: var(--line-strong); cursor: not-allowed; }
.stepper-value { min-width: 36px; text-align: center; font-weight: 600; }
.cart-dialog { margin-right: 0; margin-top: 0; height: 100vh; max-height: 100vh; max-width: 440px; border-radius: 0; }
.cart-inner { display: flex; flex-direction: column; height: 100%; }
.cart-head { padding: 22px 28px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-size: 1.8rem; }
#cart-body { flex: 1; overflow-y: auto; padding: 8px 28px 28px; display: flex; flex-direction: column; }
#cart-body .empty-state { margin-top: 24px; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line-info { display: flex; flex-direction: column; gap: 6px; }
.cart-line-name { margin: 0; font-weight: 600; color: var(--ink); }
.cart-line-info p.small { margin: 0; }
.cart-line-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line-side p { margin: 0; }
.cart-summary { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1rem; color: var(--ink); }
.cart-foot { padding: 0 28px 24px; }

/* ---------- privacy & simple pages ---------- */
.prose h2 { font-size: 1.55rem; margin-top: 2rem; }
.center-page { min-height: 50vh; display: flex; align-items: center; text-align: center; }
.center-page .container { display: flex; flex-direction: column; align-items: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255, 255, 255, .78); padding-top: clamp(48px, 6vw, 72px); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--brand-tint-2); }
.footer-grid { display: grid; gap: 36px; padding-bottom: 44px; }
.footer-grid > * { min-width: 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr .8fr .8fr 1.2fr; gap: 48px; } }
.logo-footer .logo-large { color: #fff; }
.logo-footer .logo-small { color: rgba(255, 255, 255, .6); }
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.45; color: #fff; margin: 16px 0 20px; max-width: 34ch; }
.footer-col h2 { font-family: var(--font-sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 16px; }
.footer-col .footer-sub { margin-top: 28px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { text-decoration: none; color: rgba(255, 255, 255, .88); font-size: .94rem; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer .contact-list dt { color: rgba(255, 255, 255, .55); }
.site-footer .contact-list dd { color: #fff; }
.site-footer .muted { color: rgba(255, 255, 255, .6); }
.site-footer .btn-light { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 22px 28px; font-size: .84rem; color: rgba(255, 255, 255, .6); }
.footer-bottom p { margin: 0; }

/* ==========================================================
   Photography
   Photos sit under a blue overlay wherever text is placed on top,
   so headings stay readable on every screen size.
   ========================================================== */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center 35%); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 42, 73, .94) 0%, rgba(18, 52, 90, .84) 45%, rgba(18, 52, 90, .55) 100%); }
.hero.has-photo { background: var(--brand-deep); }
.hero.has-photo::after { display: none; }
.hero.has-photo .hero-inner { padding-block: clamp(72px, 10vw, 136px) clamp(48px, 7vw, 88px); }
.hero.has-photo .hero-values { background: rgba(14, 42, 73, .55); backdrop-filter: blur(2px); }
@media (max-width: 760px) { .hero-media::after { background: linear-gradient(180deg, rgba(14, 42, 73, .88) 0%, rgba(18, 52, 90, .82) 100%); } }

.page-hero.has-photo { position: relative; overflow: hidden; background: var(--brand-deep); border-bottom: 0; padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); }
.page-hero.has-photo .container { position: relative; z-index: 1; }
.page-hero.has-photo h1, .page-hero.has-photo .lead { color: #fff; }
.page-hero.has-photo .lead { color: rgba(255, 255, 255, .88); }
.page-hero.has-photo .eyebrow { color: rgba(255, 255, 255, .78); }

/* Ministry gallery (House of Mercy's own photos) */
.gallery { display: grid; gap: 16px; }
.gallery-item { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand-tint); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-full { aspect-ratio: 16 / 9; }
.gallery-item:nth-child(2) img { object-position: center 25%; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 1.45fr 1fr; grid-template-rows: auto auto; }
  .gallery-wide { aspect-ratio: auto; min-height: 420px; }
  .gallery-item:nth-child(2) { aspect-ratio: auto; min-height: 420px; }
  .gallery-full { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
}

/* Event cards with a photo across the top */
.event-card.has-media { padding-top: 0; overflow: hidden; }
.card-media { margin: 0 -26px 20px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--brand-tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* Sermon thumbnails shown until a video is added */
.video-frame.has-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame.has-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 42, 73, .15) 0%, rgba(14, 42, 73, .7) 100%); }
.thumb-label { position: absolute; left: 16px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.thumb-label svg { width: 14px; height: 14px; }

/* Side photos (About mission, Prayer) */
.side-photo { margin: 24px 0 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--brand-tint); }
.side-photo img { width: 100%; height: 100%; object-fit: cover; }
.side-photo-tall { margin: 0 0 28px; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .col-with-photo .side-photo { aspect-ratio: 4 / 5; } }
@media (min-width: 960px) { .side-photo-tall { aspect-ratio: 3 / 4; } }
.side-photo-tall img { object-position: center 40%; }
.gallery-full img { object-position: center 42%; }

/* ==========================================================
   Palette refinement — navy, light blue, gold
   Pages sit on a barely-blue background; sections alternate with
   soft light blue; white is kept for cards, forms and the header
   (which matches the logo's white background).
   ========================================================== */
body { background: var(--page); }
.section-tint { background: var(--brand-tint); }

/* Gold accents */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }
.eyebrow-light, .page-hero.has-photo .eyebrow, .page-hero .eyebrow { color: var(--gold-soft); }
.main-nav a.is-active::after { background: var(--gold); height: 2px; }
.founder-bio { border-left-color: var(--gold); }
.hero-values li + li::before { background: var(--gold); opacity: .9; }
.give-list li::before { background: var(--gold); }
.notice { border-left-color: var(--gold); background: #fff; }
.privacy-box { border-left-color: var(--gold); }
.leader-role, .founder-contact .h-small { color: var(--brand); }
.req { color: #9A7A35; }
.check input { accent-color: var(--brand); }

/* Header: white, holds the official logo */
.site-header { background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(214, 179, 106, .35); }
.logo-img { height: 68px; max-height: none; width: auto; }
@media (max-width: 639px) { :root { --header-h: 72px; } .logo-img { height: 58px; } }

/* Every inner page opens with a navy band (photo pages keep their photo) */
.page-hero { background: var(--brand); border-bottom: 3px solid var(--gold); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, .86); }
.page-hero.has-photo { border-bottom: 3px solid var(--gold); }

/* Hero (home) */
.hero.has-photo { border-bottom: 3px solid var(--gold); }
.hero-media::after { background: linear-gradient(100deg, rgba(14, 42, 73, .95) 0%, rgba(18, 52, 90, .86) 50%, rgba(18, 52, 90, .6) 100%); }
.hero-tagline { color: #fff; }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--brand-dark); }

/* Buttons & cards */
.btn-primary { background: var(--brand); border-color: var(--brand); }
.card, .form-card, .leader { border-color: var(--line); box-shadow: 0 1px 2px rgba(18, 52, 90, .05), 0 10px 28px rgba(18, 52, 90, .07); }
.tag { background: var(--brand-tint); color: var(--brand); }
.section-tint .tag { background: #fff; }
.empty-state { background: #fff; }
.mv-item + .mv-item { border-left-color: var(--gold-soft); }

/* Call-to-action band: solid navy with a gold edge (no gradient) */
.cta-band { background: var(--brand); border-top: 3px solid var(--gold); }

/* Footer: deep navy; logo on a white plate so it stays crisp */
.site-footer { background: var(--brand-deep); }
.logo-footer { background: #fff; padding: 10px; border-radius: var(--radius-lg); box-shadow: 0 0 0 1px rgba(214, 179, 106, .5); }
.logo-footer .logo-img { height: 110px; }
.footer-col h2 { color: var(--gold); }
.footer-bottom { border-top-color: rgba(214, 179, 106, .3); }
.site-footer .btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--brand-deep); }

/* Founder photo frame on tinted sections */
.founder-photo:not(.is-placeholder) { box-shadow: 0 0 0 1px var(--line), 14px 14px 0 0 var(--gold-soft); }
.section-tint .founder-photo:not(.is-placeholder) { box-shadow: 0 0 0 1px var(--line), 14px 14px 0 0 var(--gold-soft); }
@media (max-width: 1119px) { .main-nav + .header-actions { margin-left: auto; } }

/* ==========================================================
   Refinements — announcements, gallery, mobile hero
   ========================================================== */
.mt-48 { margin-top: 48px; }

/* "Coming soon" panel for events and sermons */
.announce { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 1px 2px rgba(18, 52, 90, .05), 0 10px 28px rgba(18, 52, 90, .07); max-width: 860px; }
.announce-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-tint); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.announce-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.announce-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: .4em; }
.announce-body p { color: var(--ink-2); max-width: 60ch; margin: 0; }
.announce .btn-row { margin-top: 1.25rem; }
.announce .btn svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 559px) { .announce { grid-template-columns: 1fr; gap: 16px; } .announce .btn-row .btn { flex: 1 1 100%; } }

/* Ministry gallery: three equal photos, consistent spacing and cropping */
.gallery { display: grid; gap: 16px; grid-template-columns: 1fr; grid-template-rows: none; }
.gallery-item, .gallery-item:nth-child(2), .gallery-wide, .gallery-full { aspect-ratio: 4 / 3; min-height: 0; grid-column: auto; margin: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery-item:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } .gallery-item:last-child { grid-column: auto; aspect-ratio: 4 / 5; } .gallery-item { aspect-ratio: 4 / 5; } }

/* Mobile homepage hero: shorter, tidier, readable */
@media (max-width: 599px) {
  .hero.has-photo .hero-inner { padding-block: 40px 32px; }
  .hero-title { font-size: 2.6rem; }
  .hero-tagline { font-size: 1.15rem; margin-bottom: .75rem; }
  .hero-intro { font-size: 1rem; margin-bottom: 0; }
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.4rem; }
  .hero .btn-row .btn { flex: none; min-height: 46px; padding: 0 .75rem; font-size: .9rem; }
  .hero .btn-row .btn:first-child { grid-column: 1 / -1; }
  .hero-values ul { padding: 14px 0; gap: 6px 8px; }
  .hero-values li { font-size: 1rem; }
  .hero-media::after { background: linear-gradient(180deg, rgba(14, 42, 73, .9) 0%, rgba(18, 52, 90, .86) 100%); }
}
/* Gallery sizing (higher specificity than earlier layout rules) */
.gallery > .gallery-item:nth-child(n) { aspect-ratio: 4 / 3; min-height: 0; grid-column: auto; }
@media (min-width: 600px) { .gallery > .gallery-item:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; } }
@media (min-width: 900px) { .gallery > .gallery-item:nth-child(n) { aspect-ratio: 4 / 5; grid-column: auto; } }

/* Founder section — balanced photo and text, no trailing gap */
.founder { align-items: center; }
@media (min-width: 860px) { .founder { grid-template-columns: minmax(260px, 360px) 1fr; gap: 56px; } }
.founder-text { display: flex; flex-direction: column; align-items: flex-start; }
.founder-text .founder-bio { margin-bottom: 0; }
.founder-text .btn-row { margin-top: 1.75rem; margin-bottom: 0; }
@media (max-width: 859px) {
  #founder.section { padding-block: 48px; }
  .founder { gap: 28px; }
  .founder-photo { max-width: 300px; }
}

/* ---------- About: beliefs & values, our story ---------- */
.beliefs-grid { display: grid; gap: 32px; align-items: start; }
.beliefs-grid > *, .story-grid > * { min-width: 0; }
.beliefs-text p { max-width: 62ch; }
.values-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 1px 2px rgba(18, 52, 90, .05), 0 10px 28px rgba(18, 52, 90, .07); }
.values-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; }
.value-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); }
.value-item:first-child { border-top: 0; padding-top: 2px; }
.value-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.value-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.value-text { display: grid; gap: 2px; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.value-text strong { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--brand); }
@media (min-width: 960px) { .beliefs-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

.story-grid { display: grid; gap: 28px; }
.story-body p { max-width: 64ch; }
.story-quote { margin: 1.6rem 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); }
.story-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.45; color: var(--brand); margin: 0; }
.story-close { font-weight: 500; color: var(--brand); margin-bottom: 0; }
.story-aside .side-photo { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1.5fr; gap: 64px; } .story-aside .side-photo { aspect-ratio: 4 / 5; } .story-aside .side-photo img { object-position: center 40%; } }
@media (min-width: 960px) { .beliefs-grid { align-items: center; } }
@media (min-width: 900px) { .story-grid { align-items: center; } }

/* ==========================================================
   Deep red accent (#B4232F) — key actions and small details only
   ========================================================== */
.btn-accent, .main-nav a.nav-cta, .mobile-menu li a.nav-cta, .footer-brand .btn,
form[data-mdm-form="prayer"] button[type="submit"] { background: var(--red); border-color: var(--red); color: #fff; }
.btn-accent:hover, .main-nav a.nav-cta:hover, .mobile-menu li a.nav-cta:hover, .footer-brand .btn:hover,
form[data-mdm-form="prayer"] button[type="submit"]:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
#give-action a.btn { background: var(--red); border-color: var(--red); color: #fff; }

/* Selected icons and small details */
.value-icon, .announce-icon { color: var(--red); background: #FBEFF0; }
.arrow-link svg { color: var(--red); }
.req { color: var(--red); }
.count-badge { background: var(--red); }
.founder .leader-role, .leader-role { color: var(--red); }
.hero-values li + li::before { background: var(--gold); }
.story-close { color: var(--brand); }
.story-close::before { content: ""; display: block; width: 32px; height: 2px; background: var(--red); margin-bottom: 12px; border-radius: 2px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); }

/* ==========================================================
   Deep red header & footer (#B4232F)
   The official logo (white background) sits on a white panel so it
   stays unchanged and crisp. All header/footer text is white or
   near-white (≥ 5:1 contrast on the red); gold for fine details.
   ========================================================== */
body::before { background: var(--red); }
.site-header { background: var(--red); border-bottom: 0; box-shadow: 0 2px 0 var(--gold); backdrop-filter: none; }

/* Logo panel */
.site-header .logo { background: #fff; border-radius: 10px; padding: 4px 8px; box-shadow: 0 0 0 1px rgba(214, 179, 106, .7); }
.site-header .logo-img { height: 60px; }
@media (max-width: 639px) { .site-header .logo-img { height: 50px; } .site-header .logo { padding: 3px 6px; } }

/* Desktop navigation */
.main-nav a { color: #fff; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after { background: var(--gold); }
.main-nav a.nav-cta, .main-nav a.nav-cta:hover { background: #fff; border-color: #fff; color: var(--red); }
.main-nav a.nav-cta:hover { background: var(--gold-soft); color: var(--red-dark); }

/* Language selector & menu button on red */
.site-header .lang-select { background-color: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .55); color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/svg%3E"); }
.site-header .lang-select:hover { border-color: #fff; }
.site-header .lang-select option { color: var(--brand); background: #fff; }
.site-header .lang-switch svg { stroke: #fff; }
.menu-toggle { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.menu-toggle:hover { background: rgba(255, 255, 255, .12); }
.site-header :focus-visible { outline-color: #fff; }

/* Mobile menu panel */
.mobile-menu { background: var(--red); border-top: 1px solid rgba(255, 255, 255, .2); }
.mobile-menu li a { color: #fff; border-bottom-color: rgba(255, 255, 255, .2); }
.mobile-menu li a.is-active { color: #fff; }
.mobile-menu li a.is-active::after { background: var(--gold); }
.mobile-menu li a.nav-cta, .mobile-menu li a.nav-cta:hover { background: #fff; color: var(--red); }

/* Footer */
.site-footer { background: var(--red); color: rgba(255, 255, 255, .9); border-top: 3px solid var(--gold); }
.site-footer a, .site-footer .contact-list dd, .footer-tagline { color: #fff; }
.footer-links a { color: rgba(255, 255, 255, .92); }
.footer-links a:hover, .site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-col h2 { color: var(--gold-soft); }
.site-footer .contact-list dt, .site-footer .muted { color: rgba(255, 255, 255, .88); }
.footer-bottom { color: rgba(255, 255, 255, .85); border-top-color: rgba(255, 255, 255, .25); }
.footer-brand .btn, .footer-brand .btn:hover { background: #fff; border-color: #fff; color: var(--red); }
.footer-brand .btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--red-dark); }
.logo-footer { box-shadow: 0 0 0 1px rgba(214, 179, 106, .8); }
.site-footer :focus-visible { outline-color: #fff; }
.cta-band { border-top: 3px solid var(--gold); }

/* ---------- Donate page: PayPal giving card ---------- */
.give-card { border-top: 3px solid var(--gold); }
.give-thanks { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.give-tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; color: var(--brand); margin: 0; }
.give-tagline::before { content: ""; display: block; width: 32px; height: 2px; background: var(--gold); margin-bottom: 12px; border-radius: 2px; }
.give-btn { background: var(--red); border-color: var(--red); color: #fff; }
.give-btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
@media (max-width: 599px) { .give-btn { width: 100%; } }
@media (max-width: 899px) { .donate-grid > :last-child { order: -1; } }

/* ---------- Founder's Vision ---------- */
.founder-vision { margin-top: .5rem; max-width: 60ch; }
.founder-vision-title { display: flex; align-items: center; gap: 12px; margin: 0 0 1rem; font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.founder-vision-title::after { content: ""; flex: 0 0 48px; height: 2px; background: var(--gold); }
.founder-vision .founder-bio { font-style: normal; max-width: none; margin: 0; }
.founder-prayer { margin: 1.5rem 0 0; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--radius); }
.founder-prayer p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--ink); }

/* ---------- Membership photo: shown whole, never cropped or stretched ---------- */
.image-slot.photo-natural { aspect-ratio: auto; max-width: 520px; margin-inline: auto; border: 3px solid var(--gold); box-shadow: 0 10px 28px rgba(18, 52, 90, .14); }
.image-slot.photo-natural img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (min-width: 960px) { .image-slot.photo-natural { position: sticky; top: calc(var(--header-h, 88px) + 24px); margin-inline: 0; } }
