/* =============================================================
   TRANSCEA Bible Church — design system
   Royal blue · white · gold, with the logo's crimson reserved
   for LIVE. Display face: Marcellus (inscriptional, reverent).
   Body face: Public Sans.
   ============================================================= */

:root {
	--navy-950: #0c1338;
	--navy-900: #101b4d;
	--navy-800: #16246b;
	--royal: #22339e;
	--royal-bright: #3a50d9;
	--gold: #c19a3d;
	--gold-light: #e3c87a;
	--gold-pale: #f6eed8;
	--crimson: #a6212b;
	--white: #ffffff;
	--mist: #f2f4fa;
	--line: #dbe0f0;
	--ink: #1b2240;
	--ink-soft: #565f82;

	--font-display: "Marcellus", "Times New Roman", serif;
	--font-body: "Public Sans", "Segoe UI", Arial, sans-serif;

	--radius: 10px;
	--shadow: 0 10px 30px rgba(16, 27, 77, 0.10);
	--wrap: 1180px;
}

/* ---------- base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
}

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.15;
	color: var(--navy-900);
	margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--royal); text-decoration-color: rgba(34, 51, 158, 0.35); text-underline-offset: 3px; }
a:hover { color: var(--royal-bright); }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: -999px; top: 0;
	background: var(--navy-900); color: #fff;
	padding: 0.6rem 1rem; z-index: 999;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

.section { padding: 4.5rem 0; }
.section--mist { background: var(--mist); }
.wrap.section { padding-left: 1.25rem; padding-right: 1.25rem; }

/* ---------- typography helpers ---------- */

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 0.75rem;
}
.eyebrow--light { color: var(--gold-light); }
.eyebrow--sm { font-size: 0.7rem; margin-bottom: 0.35rem; }

.sec-head { max-width: 46rem; margin-bottom: 2.25rem; }
.sec-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 0.4rem; }
.sec-lead { color: var(--ink-soft); margin: 0; }
.sec-more { margin-top: 2rem; }

.text-link { font-weight: 600; }

.tbc-lead, .page-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; }
.page-hero .page-lead { color: #cfd6f2; }

/* ---------- buttons & chips ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(16, 27, 77, 0.18); }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.88rem; }

.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-light); color: var(--navy-950); }

.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--royal); color: #fff; }

.btn--outline { border-color: var(--royal); color: var(--royal); background: transparent; }
.btn--outline:hover { background: var(--royal); color: #fff; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.65); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn--live { background: var(--crimson); color: #fff; }
.btn--live:hover { background: #c22a35; color: #fff; }

.chip {
	display: inline-block;
	padding: 0.15rem 0.7rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--mist);
	color: var(--ink-soft);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.chip--on, .chip:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip--gold { background: var(--gold-pale); border-color: var(--gold); color: var(--navy-900); }

.chip-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }

/* pulsing LIVE dot */
.live-dot {
	display: inline-block;
	width: 0.55em; height: 0.55em;
	border-radius: 50%;
	background: currentColor;
	margin-right: 0.45em;
	animation: tbc-pulse 1.6s ease-in-out infinite;
}
.btn--live .live-dot, .topbar-live .live-dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
@keyframes tbc-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.45; transform: scale(0.8); }
}

/* ---------- topbar ---------- */

.topbar { background: var(--navy-950); color: #b9c2e8; font-size: 0.82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.45rem; padding-bottom: 0.45rem; }
.topbar-verse { margin: 0; font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-ref { color: var(--gold-light); font-style: normal; }
.topbar-tools { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.topbar-live { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
.topbar-live:hover { color: var(--gold-light); }
.topbar-live .live-dot { color: var(--crimson); background: #e04b56; }

.lang-switch { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.lang-switch a { color: #b9c2e8; text-decoration: none; }
.lang-switch a:hover, .lang-switch .current-lang a { color: var(--gold-light); }
.lang-switch--static { color: #b9c2e8; letter-spacing: 0.08em; font-weight: 700; }

/* ---------- header & nav ---------- */

.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 60;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 82px; }

.brand { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.brand img, .custom-logo { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; }
.brand-logo { display: inline-flex; }
.brand-logo img { width: 56px; height: 56px; object-fit: contain; }
.brand-mark {
	display: grid; place-items: center;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--navy-900); color: var(--gold-light);
	font-size: 1.4rem; text-decoration: none;
}
.brand-text { text-decoration: none; min-width: 0; }
.brand-name {
	display: block;
	font-family: var(--font-display);
	font-size: 1.3rem;
	letter-spacing: 0.06em;
	color: var(--navy-900);
}
.brand-thin { color: var(--royal); }
.brand-tag {
	display: block;
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold);
	font-weight: 700;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
	display: block;
	padding: 0.55rem 0.8rem;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-radius: 6px;
}
.nav-list a:hover { color: var(--royal); background: var(--mist); }
.nav-list .current-menu-item > a, .nav-list .current_page_item > a { color: var(--royal); }

/* dropdowns */
.nav-list li { position: relative; }
.nav-list .sub-menu {
	position: absolute; top: 100%; left: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	list-style: none;
	padding: 0.4rem;
	margin: 0;
	display: none;
	z-index: 70;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu { display: block; }

.nav-toggle { display: none; }

/* ---------- hero ---------- */

.hero {
	position: relative;
	background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 70%, var(--royal) 130%);
	color: #fff;
	overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.hero .meridians { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold-light); pointer-events: none; }
.hero-inner { position: relative; padding-top: 6.5rem; padding-bottom: 6.5rem; max-width: 54rem; }
.hero-title {
	color: #fff;
	font-size: clamp(2.3rem, 5.5vw, 3.9rem);
	margin: 0 0 1rem;
	text-wrap: balance;
}
.hero-sub { font-size: 1.15rem; color: #cfd6f2; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* ---------- quick actions ---------- */

.quick-actions { background: var(--navy-900); padding: 0; }
.qa-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-left: 1px solid rgba(255, 255, 255, 0.09);
}
.qa-tile {
	padding: 1.4rem 1.5rem;
	border-right: 1px solid rgba(255, 255, 255, 0.09);
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	text-decoration: none;
	transition: background-color 0.15s ease;
}
.qa-tile:hover { background: var(--navy-800); }
.qa-label { display: block; font-family: var(--font-display); font-size: 1.08rem; color: #fff; letter-spacing: 0.02em; }
.qa-desc { display: block; font-size: 0.82rem; color: #9aa6d8; margin-top: 0.2rem; }
.qa-tile:hover .qa-label { color: var(--gold-light); }

/* ---------- welcome & mission ---------- */

.welcome-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: start; }
.welcome-quote {
	margin: 0;
	padding-left: 1.5rem;
	border-left: 3px solid var(--gold);
	font-size: 1.15rem;
	line-height: 1.7;
}
.welcome-quote footer { margin-top: 1.25rem; color: var(--ink-soft); }
.welcome-quote footer strong { color: var(--navy-900); }

.mv-cards { display: grid; gap: 1.25rem; }
.mv-card {
	background: var(--navy-900);
	color: #d5dbf4;
	border-radius: var(--radius);
	padding: 1.75rem 2rem;
}
.mv-card p { margin: 0; }
.mv-title { color: var(--gold-light); font-size: 1.15rem; letter-spacing: 0.05em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; }
.mv-card--gold { background: var(--gold-pale); color: var(--ink); }
.mv-card--gold .mv-title { color: var(--gold); }

/* ---------- cards ---------- */

.card-grid { display: grid; gap: 1.5rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.section--mist .card { border-color: transparent; box-shadow: 0 2px 10px rgba(16, 27, 77, 0.06); }

.card-media { display: block; aspect-ratio: 16 / 10; background: var(--navy-900); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media--portrait { aspect-ratio: 4 / 4.6; }
.card-media-fallback {
	position: absolute; inset: 0;
	display: grid; place-items: center;
	color: var(--gold-light); font-size: 2.2rem;
	background:
		radial-gradient(ellipse at center, rgba(227, 200, 122, 0.12) 0%, transparent 65%),
		var(--navy-900);
}

.card-body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.card-title { font-size: 1.15rem; margin: 0; }
.card-title a { color: var(--navy-900); text-decoration: none; }
.card-title a:hover { color: var(--royal); }
.card-meta { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }
.card-formats { margin: 0.4rem 0 0; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.leader-role { color: var(--gold); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }

/* event date block */
.card--event { flex-direction: row; align-items: stretch; }
.event-date {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 86px;
	background: var(--navy-900);
	color: #fff;
	padding: 1rem 0.5rem;
}
.event-day { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.event-month { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-top: 0.3rem; }

.event-facts {
	background: var(--mist);
	border-left: 3px solid var(--gold);
	border-radius: 0 var(--radius) var(--radius) 0;
	padding: 1.1rem 1.4rem;
	margin-bottom: 1.75rem;
}
.event-facts p { margin: 0.25rem 0; }

/* ---------- global map ---------- */

.tbc-map {
	width: 100%;
	height: 440px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--mist);
	z-index: 1;
	margin: 0 0 1.5rem;
}
.tbc-map--side { height: 260px; }

.tbc-marker {
	display: grid; place-items: center;
	width: 34px; height: 34px;
	background: var(--navy-900);
	border: 2px solid var(--gold);
	border-radius: 50% 50% 50% 4px;
	transform: rotate(0deg);
	color: var(--gold-light);
	font-size: 15px;
	box-shadow: 0 3px 8px rgba(12, 19, 56, 0.4);
}
.tbc-marker--hq { background: var(--crimson); border-color: var(--gold-light); color: #fff; }

.leaflet-popup-content { font-family: var(--font-body); }
.leaflet-popup-content strong { font-family: var(--font-display); font-weight: 400; font-size: 1.02rem; color: var(--navy-900); }

.country-strip { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; list-style: none; padding: 0; margin: 0; }
.country-strip a { font-weight: 700; text-decoration: none; color: var(--navy-900); }
.country-strip a:hover { color: var(--royal); }

.country-block { margin-top: 3.25rem; }
.country-block-title { display: flex; align-items: center; gap: 0.75rem; font-size: 1.5rem; }
.country-block-title a { color: var(--navy-900); text-decoration: none; }
.country-block-title a:hover { color: var(--royal); }

/* ---------- page hero (inner pages) ---------- */

.page-hero {
	position: relative;
	background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
	color: #fff;
	overflow: hidden;
	padding: 3.5rem 0;
}
.page-hero .meridians { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold-light); opacity: 0.55; pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-title { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0; text-wrap: balance; }

/* ---------- entry / prose ---------- */

.entry--narrow { max-width: 46rem; }
.wrap.entry--narrow, .entry--narrow.wrap { margin-left: auto; margin-right: auto; }

.entry-content h2 {
	font-size: 1.5rem;
	margin-top: 2.25em;
	padding-top: 0.9em;
	border-top: 1px solid var(--line);
}
.entry-content h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.entry-content ul { padding-left: 1.2rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content em { color: var(--royal); }
.entry-figure { margin: 0 0 2rem; }
.entry-figure img { border-radius: var(--radius); }

.post-list { display: grid; gap: 1.75rem; max-width: 52rem; }
.post-teaser { border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.post-teaser--resource { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }

.link-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.link-list a { font-weight: 700; }

/* ---------- filter bar ---------- */

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	margin-bottom: 2.25rem;
}
.filter-bar select, .filter-bar input[type="search"] {
	font: inherit;
	font-size: 0.92rem;
	padding: 0.55rem 0.8rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
}
.filter-search { flex: 1 1 220px; }
.filter-search input { width: 100%; }
.filter-check { font-size: 0.9rem; display: inline-flex; gap: 0.4rem; align-items: center; }

/* ---------- forms (prayer / volunteer / contact) ---------- */

.tbc-form { max-width: 40rem; display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.tbc-field { margin: 0; display: grid; gap: 0.35rem; }
.tbc-field label { font-weight: 600; font-size: 0.95rem; }
.tbc-form input[type="text"],
.tbc-form input[type="email"],
.tbc-form input[type="tel"],
.tbc-form select,
.tbc-form textarea {
	font: inherit;
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	color: var(--ink);
}
.tbc-form textarea { resize: vertical; }
.tbc-form input:focus, .tbc-form select:focus, .tbc-form textarea:focus {
	border-color: var(--royal);
	outline: 2px solid rgba(34, 51, 158, 0.2);
}
.tbc-fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; display: grid; gap: 0.5rem; }
.tbc-fieldset legend { font-weight: 700; padding: 0 0.4rem; }
.tbc-hp { position: absolute !important; left: -9999px !important; }
.tbc-btn { /* plugin fallback class */ }
.tbc-btn--gold, button.tbc-btn--gold {
	background: var(--gold); color: var(--navy-950);
	border: 0; border-radius: 999px;
	font: inherit; font-weight: 700;
	padding: 0.75rem 1.6rem; cursor: pointer;
}
.tbc-btn--gold:hover { background: var(--gold-light); }

.tbc-notice { border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; font-weight: 600; }
.tbc-notice--ok { background: #eaf6ec; border: 1px solid #bfe3c6; color: #1d5a2a; }
.tbc-notice--err { background: #fbeeee; border: 1px solid #efc9c9; color: #7c1f26; }

/* ---------- branch pages ---------- */

.branch-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.branch-main > section { margin-top: 3rem; }

.side-card {
	background: var(--mist);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem 1.6rem;
	margin-bottom: 1.5rem;
}
.side-card--gold { background: var(--gold-pale); border-color: var(--gold-light); }
.side-title { font-size: 1.15rem; margin-bottom: 0.9rem; }
.side-card .btn { width: 100%; justify-content: center; margin-bottom: 0.25rem; }

.branch-line { margin: 0 0 0.7rem; font-size: 0.95rem; }
.worship-times { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.worship-times li { padding: 0.45rem 0; border-bottom: 1px dashed var(--line); }
.worship-times li:last-child { border-bottom: 0; }

/* ---------- leader profile ---------- */

.leader-profile { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
.leader-photo { margin: 0; }
.leader-photo img { border-radius: var(--radius); }

/* ---------- give ---------- */

.give-grid .card--fund .card-body { gap: 0.6rem; }
.give-methods { margin-top: 2.5rem; }
.give-note { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- watch live ---------- */

.live-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--navy-950);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 2rem;
}
.live-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card--live .card-body { align-items: flex-start; }

/* sermon media */
.sermon-video { margin-bottom: 2rem; }
.sermon-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.sermon-audio { margin-bottom: 2rem; }

/* ---------- search form ---------- */

.search-form { display: flex; gap: 0.6rem; max-width: 32rem; margin-bottom: 2rem; }
.search-form input[type="search"] {
	flex: 1;
	font: inherit;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 999px;
}

/* ---------- pagination ---------- */

.pagination, .nav-links { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 2.5rem; }
.page-numbers {
	display: inline-grid; place-items: center;
	min-width: 2.4rem; height: 2.4rem;
	padding: 0 0.6rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	text-decoration: none;
	color: var(--ink);
	font-weight: 600;
}
.page-numbers.current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.page-numbers:hover { border-color: var(--royal); color: var(--royal); }

/* ---------- footer ---------- */

.site-footer { background: var(--navy-950); color: #aab4e0; margin-top: 4rem; }

.footer-cta { background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-cta-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem; flex-wrap: wrap;
	padding-top: 2rem; padding-bottom: 2rem;
}
.footer-cta-verse { margin: 0; font-family: var(--font-display); font-size: 1.15rem; color: #dfe4f8; max-width: 34rem; }
.footer-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.footer-cols {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding-top: 3.25rem; padding-bottom: 3.25rem;
}
.footer-brand { font-family: var(--font-display); font-size: 1.35rem; color: #fff; letter-spacing: 0.06em; margin: 0 0 0.2rem; }
.footer-brand span { color: var(--gold-light); }
.footer-motto { color: var(--gold-light); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.footer-address { font-style: normal; margin: 1rem 0; }
.footer-social a { color: #cdd5f3; margin-right: 0.9rem; }

.footer-h { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: #cdd5f3; text-decoration: none; }
.footer-col a:hover { color: var(--gold-light); }

.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.82rem; }
.footer-legal-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.footer-legal p { margin: 0; }

/* ---------- about page (template-about.php) ---------- */

.about-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 3.5rem;
	align-items: start;
}
.sec-head--sticky { position: sticky; top: 110px; margin-bottom: 0; }
.about-prose p { max-width: 40rem; }
.about-lead {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2.2vw, 1.6rem);
	line-height: 1.45;
	color: var(--navy-900);
}

.photo-band { margin: 3.5rem 0 0; }
.photo-band img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}
.photo-band figcaption {
	font-size: 0.85rem;
	color: var(--ink-soft);
	padding-top: 0.6rem;
	font-style: italic;
}

.milestones {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.milestone {
	background: #fff;
	border-top: 3px solid var(--gold);
	border-radius: 0 0 var(--radius) var(--radius);
	padding: 1.75rem 1.75rem 1.5rem;
	box-shadow: 0 2px 10px rgba(16, 27, 77, 0.06);
}
.milestone-mark {
	font-family: var(--font-display);
	font-size: 2rem;
	color: var(--gold);
	margin: 0 0 0.4rem;
	line-height: 1;
}
.milestone-title { font-size: 1.15rem; margin-bottom: 0.6rem; }
.milestone p:last-child { margin: 0; }

.mv-cards--row { grid-template-columns: repeat(3, 1fr); }

.values-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.value-item {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.1rem 1.25rem;
	font-weight: 600;
	color: var(--navy-900);
}
.value-item::before {
	content: "✝";
	color: var(--gold);
	margin-right: 0.6rem;
}

.faith-band {
	position: relative;
	background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
	color: #d5dbf4;
	overflow: hidden;
}
.faith-band .meridians { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold-light); opacity: 0.4; pointer-events: none; }
.faith-band .wrap { position: relative; }
.sec-title--light { color: #fff; }
.sec-lead--light { color: #b9c2e8; }
.faith-list {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 3rem;
	max-width: 60rem;
}
.faith-list li {
	break-inside: avoid;
	padding: 0.65rem 0 0.65rem 1.6rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	position: relative;
}
.faith-list li::before {
	content: "✝";
	position: absolute;
	left: 0;
	color: var(--gold-light);
}
.faith-actions { margin-top: 2rem; }

.leadership-tiers {
	list-style: none;
	margin: 1.25rem 0 1.5rem;
	padding: 0;
	max-width: 40rem;
}
.leadership-tiers li {
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--line);
}
.leadership-tiers li:first-child { border-top: 1px solid var(--line); }
.leadership-tiers strong { color: var(--navy-900); }

/* ---------- ministries quote band ---------- */

.quote-band {
	position: relative;
	background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
	overflow: hidden;
	padding: 4rem 0;
}
.quote-band .meridians { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold-light); opacity: 0.4; pointer-events: none; }
.quote-band .wrap { position: relative; }
.quote-band-text { margin: 0; max-width: 52rem; }
.quote-band-text p {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	line-height: 1.35;
	color: var(--gold-light);
	margin: 0;
	text-wrap: balance;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
	.qa-grid { grid-template-columns: repeat(2, 1fr); }
	.card-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.welcome-grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.about-grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.sec-head--sticky { position: static; }
	.milestones { grid-template-columns: 1fr; }
	.mv-cards--row { grid-template-columns: 1fr; }
	.values-grid { grid-template-columns: repeat(2, 1fr); }
	.faith-list { columns: 1; }
	.branch-layout { grid-template-columns: 1fr; }
	.leader-profile { grid-template-columns: 1fr; }
	.leader-photo { max-width: 320px; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	/* mobile nav */
	.nav-toggle {
		display: inline-flex;
		align-items: center; justify-content: center;
		width: 46px; height: 46px;
		background: transparent;
		border: 1px solid var(--line);
		border-radius: 8px;
		cursor: pointer;
	}
	.nav-toggle-bars,
	.nav-toggle-bars::before,
	.nav-toggle-bars::after {
		display: block; content: "";
		width: 20px; height: 2px;
		background: var(--navy-900);
		position: relative;
		transition: transform 0.2s ease, opacity 0.2s ease;
	}
	.nav-toggle-bars::before { position: absolute; top: -6px; }
	.nav-toggle-bars::after { position: absolute; top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		padding: 1rem 1.25rem 1.5rem;
		flex-direction: column;
		align-items: stretch;
	}
	.site-nav.is-open { display: flex; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list a { padding: 0.8rem 0.5rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
	.nav-list .sub-menu {
		position: static;
		display: block;
		border: 0; box-shadow: none;
		padding: 0 0 0 1rem; margin: 0;
	}
	.nav-actions { margin-top: 1rem; }
	.nav-actions .btn { width: 100%; justify-content: center; }

	.topbar-verse { display: none; }
	.topbar-inner { justify-content: flex-end; }
}

@media (max-width: 640px) {
	.section { padding: 3rem 0; }
	.hero-inner { padding-top: 4.5rem; padding-bottom: 4.5rem; }
	.qa-grid { grid-template-columns: 1fr; }
	.card-grid--3 { grid-template-columns: 1fr; }
	.footer-cols { grid-template-columns: 1fr; gap: 2rem; }
	.post-teaser--resource { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
	.hero-actions .btn, .footer-cta-actions .btn { width: 100%; justify-content: center; }
	.tbc-map { height: 320px; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- print ---------- */

@media print {
	.topbar, .site-header, .site-footer, .hero-actions, .quick-actions, .filter-bar { display: none !important; }
}
