/* Interior pages, built on the home page's design system.
 *
 * Everything here extends home.css: the same fonts (Arial body, Times display,
 * Arial Narrow labels), the same cream page (#fdfbf5), the same navy and cream
 * panels, the same gold, the same radii and the same breakpoints (62 / 48 / 34
 * rem). Where a home component fits, the markup reuses its class directly
 * (home-hero, home-schedule, home-ministry, home-feature, home-pantry,
 * home-mission, home-care, home-button) and this file only adjusts it.
 */

/* ---- Page banner: the home hero, shorter, no headline ornament change ---- */

.page-hero {
	min-height: 0;
}

.page-hero .home-hero-content {
	padding-top: 2.75rem;
	padding-bottom: 5.25rem;
}

.page-hero h1 em {
	font-size: 0.44em;
	font-style: normal;
	font-family: Arial, sans-serif;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 0.6em;
}

.page-hero .home-hero-copy > p {
	max-width: 27rem;
	font-size: 1.0625rem;
}

/* ---- Overlapping facts panel: the schedule bar, any number of columns ------ */

.page-panel {
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	padding: 1.4rem 0.75rem;
}

.page-panel p {
	text-transform: none;
}

.page-panel p a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.page-panel small {
	display: block;
	margin-top: 0.35em;
	font-size: 0.75rem;
	color: #cdb46f;
}

/* ---- Rhythm and type ------------------------------------------------------- */

.page-section {
	margin: 3.5rem 0;
}

.page-section--tight {
	margin: 2.5rem 0;
}

.page-title {
	font: bold 1.75rem/1.15 "Times New Roman", serif;
	letter-spacing: -0.03em;
	margin: 0 0 0.5em;
	color: #061a37;
}

.page-prose {
	max-width: 46rem;
}

.page-prose p {
	font-size: 0.9375rem;
	line-height: 1.7;
	margin: 0 0 0.9em;
	color: #111;
}

.page-prose p:last-child {
	margin-bottom: 0;
}

/* .page-prose p would otherwise outrank .home-eyebrow's colour and size. */
.page-prose .home-eyebrow,
.page-card .home-eyebrow {
	color: #b78c2c;
	font-size: 0.75rem;
	text-transform: uppercase;
	margin: 0 0 0.45em;
}

.page-lead {
	font-size: 1.0625rem;
	color: #061a37;
}

.page-fineprint {
	margin: 1.5rem 0 0;
	font-size: 0.78rem;
	line-height: 1.6;
	color: #5d6673;
}

.page-fineprint a,
.page-prose a {
	color: #8d6a1c;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

/* ---- Cream card: the pantry / mission panel, general purpose ------------- */

.page-card {
	border-radius: 0.65em;
	background: #faf3df;
	padding: 1.75rem;
}

.page-card--radial {
	background: radial-gradient(ellipse at 50% 50%, #fff9e9, #faf3df);
}

.page-two {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.page-photo {
	margin: 0;
}

.page-photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 0.8em;
}

/* ---- Ministries ------------------------------------------------------------ */

.page-ministry-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 0;
}

.page-ministry {
	display: grid;
	grid-template-columns: 11rem minmax(0, 1fr);
	gap: 1.75rem;
	align-items: start;
	padding: 1.75rem;
	border-radius: 0.65em;
	background: #faf3df;
	/* Room for the fixed-height header when arriving by #anchor. */
	scroll-margin-top: 1.5rem;
}

.page-ministry + .page-ministry {
	margin-top: 1.25rem;
}

.page-ministry__photo {
	margin: 0;
}

.page-ministry__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 0.8em;
}

.page-ministry h2 {
	font: bold 1.5rem/1.15 "Times New Roman", serif;
	letter-spacing: -0.03em;
	margin: 0 0 0.35em;
	color: #061a37;
}

.page-ministry .home-eyebrow {
	margin-bottom: 0.9em;
}

.page-ministry p:not(.home-eyebrow) {
	font-size: 0.9rem;
	line-height: 1.7;
	margin: 0 0 0.8em;
	color: #111;
}

.page-ministry p:last-child {
	margin-bottom: 0;
}

.page-ministry .home-button {
	margin-top: 0.4em;
	padding: 0.55em 1.4em;
	border: none;
	font-size: 0.8333em;
}

/* ---- Feature cards (home-feature), used in threes -------------------------- */

.page-features {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 0;
}

.page-features .home-feature p {
	margin-bottom: 0;
}

.page-feature--wide {
	grid-template-columns: minmax(0, 1fr);
}

.page-feature--wide .home-feature {
	flex-direction: row;
	align-items: center;
	gap: 1.75rem;
	padding: 1.75rem 2rem;
}

.page-feature--wide .home-feature-icon {
	margin: 0;
	flex: none;
}

.page-feature--wide .home-feature h2 {
	align-self: flex-start;
	text-align: left;
	font-size: 1.25rem;
}

/* The icon container is also a div, so target the text block by class. */
.page-feature--wide .page-feature__body {
	flex: 1 1 18rem;
}

.page-feature--wide .home-feature .home-button {
	width: auto;
	margin: 0;
	padding: 0.9em 1.6em;
	font-size: 0.8rem;
}

/* ---- Leaders --------------------------------------------------------------- */

.page-leaders {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: 1.25rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.page-leaders li {
	padding: 0 0.75em;
}

.page-leaders h3 {
	font: bold 1.05rem/1.25 "Times New Roman", serif;
	letter-spacing: -0.02em;
	margin: 0 0 0.25em;
	color: #061a37;
}

.page-leaders p {
	font: 600 0.72rem/1.4 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0;
	color: #b78c2c;
}

/* ---- Icon lists: values / beliefs, in the home-values style -------------- */

.page-icon-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.page-icon-grid > li {
	padding: 0 1em;
}

.page-icon-grid > li + li {
	border-left: 1px solid #dccda5;
}

.page-icon-grid > li:nth-child(4n + 1) {
	border-left: 0;
}

.page-icon {
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	margin: 0 auto 0.6em;
	border-radius: 50%;
	background: #123c62;
	color: #fff1c7;
}

.page-icon .icon {
	width: 1.5rem;
	height: 1.5rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.page-icon .icon .fill {
	fill: currentColor;
	stroke: none;
}

.page-icon-grid h3,
.page-icon-grid h4 {
	font: 600 0.875rem/1.3 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	margin: 0 0 0.45em;
	color: #061a37;
}

.page-icon-grid p {
	font-size: 0.8rem;
	line-height: 1.6;
	margin: 0;
	color: #111;
}

/* ---- Times list (contact) -------------------------------------------------- */

.page-times {
	margin: 0;
	font-size: 0.9rem;
}

.page-times > div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6em 0;
	border-top: 1px solid #e6dcc0;
}

.page-times > div:first-child {
	border-top: 0;
	padding-top: 0;
}

.page-times dt {
	font: 600 0.8rem/1.4 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	color: #061a37;
}

.page-times dd {
	margin: 0;
	text-align: right;
	color: #111;
}

/* ---- Verse ----------------------------------------------------------------- */

.page-verse {
	margin: 0;
	text-align: center;
}

.page-verse p {
	font: italic bold 1.35rem/1.35 "Times New Roman", serif;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	color: #061a37;
}

.page-verse cite {
	font: 600 0.75rem/1 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-style: normal;
	color: #b78c2c;
}

/* ---- Coming soon ----------------------------------------------------------- */

.page-coming {
	max-width: 36rem;
	margin: 0 auto;
	text-align: center;
}

.page-coming .home-feature-icon {
	margin-bottom: 1rem;
}

.page-coming h2 {
	font: bold 1.75rem/1.15 "Times New Roman", serif;
	letter-spacing: -0.03em;
	margin: 0 0 0.5em;
	color: #061a37;
}

.page-coming p {
	font-size: 0.95rem;
	line-height: 1.7;
	margin: 0 0 1.5rem;
	color: #111;
}

/* ---- Form ------------------------------------------------------------------ */

.page-form {
	max-width: 42rem;
	margin: 0 auto;
}

.page-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.page-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1.15rem;
}

.page-form__field label {
	font: 600 0.75rem/1.3 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #061a37;
}

.page-form__field label small {
	font-family: Arial, sans-serif;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: #5d6673;
}

.page-form__field input,
.page-form__field textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid #c9ccc8;
	border-radius: 0.38em;
	background: #fff;
	color: #061a37;
	font: inherit;
	font-size: 0.92rem;
	line-height: 1.5;
}

.page-form__field textarea {
	min-height: 10rem;
	resize: vertical;
}

.page-form__field input:focus-visible,
.page-form__field textarea:focus-visible {
	outline: 3px solid #cda342;
	outline-offset: 2px;
	border-color: #cda342;
}

.page-form__check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #111;
}

.page-form__check input {
	margin-top: 0.2rem;
	accent-color: #c99d3f;
}

/* Spam trap: off-screen rather than display:none, which some bots respect. */
.page-form__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.page-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.page-form .home-button {
	border: none;
	cursor: pointer;
	padding: 0.95em 1.9em;
}

.page-form .home-button[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.page-form__status {
	margin: 1.25rem 0 0;
	padding: 0.9rem 1.1rem;
	border-radius: 0.38em;
	font-size: 0.875rem;
	line-height: 1.55;
}

.page-form__status:empty {
	display: none;
}

.page-form__status--success {
	background: #fff9e9;
	border: 1px solid #d4b666;
	color: #061a37;
}

.page-form__status--error {
	background: #fdf1f1;
	border: 1px solid #e3b2b2;
	color: #7a1f1f;
}

/* ---- Responsive ------------------------------------------------------------ */

@media (max-width: 62rem) {
	.page-ministry-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 48rem) {
	.page-section {
		margin: 2.5rem 0;
	}

	.page-two {
		grid-template-columns: 1fr;
	}

	.page-photo {
		max-width: 20rem;
	}

	.page-ministry-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-ministry {
		grid-template-columns: 7rem minmax(0, 1fr);
		gap: 1.25rem;
		padding: 1.25rem;
	}

	.page-features {
		grid-template-columns: 1fr;
	}

	.page-feature--wide .home-feature {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.page-feature--wide .home-feature h2 {
		align-self: center;
		text-align: center;
	}

	.page-icon-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page-icon-grid > li:nth-child(odd) {
		border-left: 0;
	}

	.page-form__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

@media (max-width: 34rem) {
	.page-ministry {
		grid-template-columns: 1fr;
	}

	.page-ministry__photo {
		max-width: 9rem;
	}

	.page-icon-grid {
		grid-template-columns: 1fr;
	}

	.page-icon-grid > li {
		border-left: 0;
	}

	.page-times > div {
		flex-direction: column;
		gap: 0.15rem;
	}

	.page-times dd {
		text-align: left;
	}
}

/* ---- About page specifics --------------------------------------------------- */

/* Full-width pastor block: portrait beside the bio, not the home's half-width. */
.page-pastor {
	grid-template-columns: 17rem minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
}

.page-pastor > div {
	max-width: 46rem;
}

/* Mission and vision, two columns inside the mission panel. */
.page-icon-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 1.5rem;
}

.page-icon-grid--two > li:nth-child(4n + 1) {
	border-left: 0;
}

.page-icon-grid--two > li + li {
	border-left: 1px solid #dccda5;
}

.page-values-heading {
	font: 600 0.8rem/1.3 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #b78c2c;
	margin: 0 0 1rem;
}

/* The original About icons mark solid parts with a `fill` class. */
.home-icon .fill,
.page-icon .icon .fill {
	fill: currentColor;
	stroke: none;
}

/* Longer body copy in the pastor block reads better slightly larger. */
.home-welcome.page-section .home-pastor p:not(.home-eyebrow) {
	font-size: 0.9375rem;
}

@media (max-width: 48rem) {
	.page-pastor {
		grid-template-columns: 1fr;
	}

	.page-pastor > img {
		max-width: 15rem;
	}
}

@media (max-width: 34rem) {
	.page-icon-grid--two {
		grid-template-columns: 1fr;
	}

	.page-icon-grid--two > li + li {
		border-left: 0;
	}
}

/* ---- Watch Live -------------------------------------------------------------- */

.live-feature {
	max-width: 60rem;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.live-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.6rem;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	background: #faf3df;
	color: #8d6a1c;
	font: 600 0.72rem/1 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.live-badge--on {
	background: #b3261e;
	color: #fff;
}

.live-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #fff;
	animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
	50% {
		opacity: 0.25;
	}
}

@media (prefers-reduced-motion: reduce) {
	.live-dot {
		animation: none;
	}
}

.live-player {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 0.8em;
	background: #010a16;
	box-shadow: 0 10px 30px rgba(6, 26, 55, 0.18);
}

.live-player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.live-note {
	margin: 1rem 0 0;
	font-size: 0.9rem;
	color: #5d6673;
}

.live-note a {
	color: #8d6a1c;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.live-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	gap: 1.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.live-card {
	display: flex;
	flex-direction: column;
	color: #061a37;
	text-decoration: none;
}

.live-card:hover,
.live-card:focus-visible {
	filter: none;
}

.live-card__thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: 0.65em;
	background: #123c62;
}

.live-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.live-card:hover .live-card__thumb img,
.live-card:focus-visible .live-card__thumb img {
	transform: scale(1.04);
}

.live-card__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(1, 10, 22, 0.25);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.live-card__play svg {
	width: 3.25rem;
	height: 3.25rem;
	padding: 0.7rem;
	border-radius: 50%;
	background: rgba(201, 157, 63, 0.95);
	fill: #fff;
}

.live-card:hover .live-card__play,
.live-card:focus-visible .live-card__play,
.live-card.is-current .live-card__play {
	opacity: 1;
}

.live-card.is-current .live-card__thumb {
	outline: 3px solid #c99d3f;
	outline-offset: 3px;
}

.live-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.75rem 0.1rem 0;
}

.live-card__date {
	color: #b78c2c;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.live-card__title {
	font: bold 1.05rem/1.25 "Times New Roman", serif;
	letter-spacing: -0.01em;
}

.live-more {
	margin: 2rem 0 0;
	text-align: center;
}

/* ---- Food Pantry feature card ------------------------------------------------
 *
 * The photo and the panel share one row and one height: the panel sets it, the
 * photo covers it. Tiles fade up in sequence when the card scrolls into view.
 */
.pantry-feature {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	background: radial-gradient(ellipse at 80% 0%, #fffaf0, #faf3df 60%);
}

.pantry-feature > img {
	/* contain: size stops the photo's own proportions from setting the row
	   height, so the panel decides it and the photo covers whatever it is. */
	contain: size;
	/* The width/height attributes imply an aspect ratio; drop it here. */
	aspect-ratio: auto;
	height: 100%;
	min-height: 22rem;
	object-position: center 30%;
}

.pantry-feature__body {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.1rem;
	padding: clamp(1.5rem, 3vw, 2.75rem) !important;
	overflow: hidden;
}

/* Soft decorative rings behind the panel. */
.pantry-feature__body::before {
	content: "";
	position: absolute;
	right: -6rem;
	top: -6rem;
	width: 18rem;
	height: 18rem;
	border-radius: 50%;
	border: 2rem solid rgba(201, 157, 63, 0.07);
	pointer-events: none;
}

.pantry-feature__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 !important;
	color: #b78c2c;
	font: 600 0.75rem/1 "Arial Narrow", Arial, sans-serif !important;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.pantry-feature__eyebrow .home-icon {
	width: 1rem;
	height: 1rem;
}

.pantry-feature__title {
	margin: 0 !important;
	font: bold clamp(1.6rem, 1.1rem + 1.2vw, 2.25rem)/1.1 "Times New Roman", serif !important;
	letter-spacing: -0.02em;
	text-transform: none !important;
	text-align: left !important;
	color: #061a37;
}

.pantry-feature__lead {
	margin: 0 !important;
	font-size: 1rem !important;
	line-height: 1.6 !important;
	color: #2b3446;
}

.pantry-stat {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-radius: 0.8em;
	background: linear-gradient(120deg, #07294b, #001e38);
	color: #fff;
	box-shadow: 0 10px 24px rgba(6, 26, 55, 0.18);
}

.pantry-stat__number {
	font: bold clamp(2.2rem, 1.6rem + 1.6vw, 3.1rem)/1 "Times New Roman", serif;
	letter-spacing: -0.02em;
	background: linear-gradient(100deg, #f6dc93, #d1a847, #f6dc93);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: pantry-shimmer 5s linear infinite;
}

.pantry-stat__label {
	color: #d7deea;
	font: 600 0.8rem/1.35 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

@keyframes pantry-shimmer {
	to {
		background-position: 200% center;
	}
}

.pantry-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pantry-facts li {
	display: flex !important;
	align-items: center;
	gap: 0.8rem;
	margin: 0 !important;
	padding: 0.85rem 0.9rem !important;
	border: 1px solid rgba(201, 157, 63, 0.28);
	border-radius: 0.7em;
	background: rgba(255, 255, 255, 0.65);
	font-size: 0.85rem !important;
	line-height: 1.35 !important;
	color: #2b3446;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pantry-facts li::before {
	content: none !important;
}

.pantry-facts li:hover {
	transform: translateY(-2px);
	border-color: rgba(201, 157, 63, 0.6);
	box-shadow: 0 8px 18px rgba(6, 26, 55, 0.1);
}

.pantry-facts strong {
	display: block;
	color: #061a37;
	font: 700 0.92rem/1.25 Arial, sans-serif;
}

.pantry-facts__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: linear-gradient(135deg, #d8b357, #c19432);
	color: #fff;
	box-shadow: 0 4px 10px rgba(193, 148, 50, 0.35);
}

.pantry-facts__icon .home-icon {
	width: 1.3rem;
	height: 1.3rem;
}

.pantry-feature__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.pantry-feature__actions .home-button {
	margin: 0 !important;
	padding: 0.85em 1.4em !important;
	font-size: 0.8rem !important;
	border: none;
}

/* Reveal: each child fades up in turn once the card is in view. */
.reveal > * {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible > * {
	opacity: 1;
	transform: none;
}

.reveal.is-visible > :nth-child(2) { transition-delay: 0.08s; }
.reveal.is-visible > :nth-child(3) { transition-delay: 0.16s; }
.reveal.is-visible > :nth-child(4) { transition-delay: 0.26s; }
.reveal.is-visible > :nth-child(5) { transition-delay: 0.36s; }
.reveal.is-visible > :nth-child(6) { transition-delay: 0.46s; }

@media (prefers-reduced-motion: reduce) {
	.reveal > * {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.pantry-stat__number {
		animation: none;
	}

	.pantry-facts li {
		transition: none;
	}
}

@media (max-width: 62rem) {
	.pantry-feature {
		grid-template-columns: 1fr;
	}

	.pantry-feature > img {
		contain: none;
		aspect-ratio: auto;
		min-height: 0;
		height: 18rem;
	}
}

@media (max-width: 34rem) {
	.pantry-facts {
		grid-template-columns: 1fr;
	}

	.pantry-feature__actions .home-button {
		flex: 1 1 100%;
	}
}


/* ---- Food Pantry: story, verse band, ways to help --------------------------- */

.pantry-story .page-prose {
	max-width: 52rem;
	margin: 0 auto;
	text-align: center;
}

.pantry-story .page-prose p:not(.home-eyebrow) {
	font-size: 1.05rem;
}

.pantry-verse {
	position: relative;
	overflow: hidden;
	margin: 1rem 0 3.5rem;
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background:
		radial-gradient(ellipse 60% 120% at 50% 0%, rgba(201, 157, 63, 0.18), transparent 70%),
		linear-gradient(115deg, #042342, #00213c);
	color: #fff;
	text-align: center;
}

/* Gold rules either side of the quote mark, level with it, clear of the text. */
.pantry-verse::before,
.pantry-verse::after {
	content: "";
	position: absolute;
	top: calc(clamp(2.5rem, 5vw, 4rem) + 1.6rem);
	width: calc(50% - 5rem);
	max-width: 22rem;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(228, 194, 102, 0.7));
}

.pantry-verse::before {
	right: calc(50% + 3rem);
}

.pantry-verse::after {
	left: calc(50% + 3rem);
	transform: scaleX(-1);
}

.home-content > .pantry-verse__inner {
	position: relative;
	max-width: 50rem;
	margin: 0 auto;
}

.pantry-verse__mark {
	display: block;
	height: 3.2rem;
	color: #d4ad4e;
	font: bold 6rem/1 "Times New Roman", serif;
}

.pantry-verse blockquote {
	margin: 0;
}

.pantry-verse p {
	margin: 0 0 1rem;
	font: italic bold clamp(1.35rem, 1rem + 1.1vw, 2rem)/1.35 "Times New Roman", serif;
	letter-spacing: -0.01em;
}

.pantry-verse cite {
	color: #e4c266;
	font: 600 0.8rem/1 "Arial Narrow", Arial, sans-serif;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}

.pantry-help {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pantry-help > li {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 1.5rem 1.75rem;
	border: 1px solid rgba(201, 157, 63, 0.28);
	border-radius: 0.8em;
	background: radial-gradient(ellipse at 50% 0%, #fffaf0, #faf3df 70%);
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pantry-help > li:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 26px rgba(6, 26, 55, 0.1);
}

.pantry-help__icon {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: 1rem;
	border-radius: 50%;
	background: linear-gradient(120deg, #07294b, #001e38);
	color: #f3d98b;
	box-shadow: 0 6px 16px rgba(6, 26, 55, 0.2);
}

.pantry-help__icon .home-icon {
	width: 2rem;
	height: 2rem;
}

.pantry-help h3 {
	margin: 0 0 0.5rem;
	color: #061a37;
	font: bold 1.35rem/1.2 "Times New Roman", serif;
}

.pantry-help p {
	flex: 1;
	margin: 0 0 1.25rem;
	color: #2b3446;
	font-size: 0.92rem;
	line-height: 1.6;
}

.pantry-help .home-button {
	border: none;
	padding: 0.85em 1.4em;
}

.pantry-help.reveal.is-visible > :nth-child(2) { transition-delay: 0.12s; }
.pantry-help.reveal.is-visible > :nth-child(3) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
	.pantry-help > li {
		transition: none;
	}
}

@media (max-width: 62rem) {
	.pantry-help {
		grid-template-columns: 1fr;
	}

	.pantry-verse::before,
	.pantry-verse::after {
		display: none;
	}
}

/* ---- Give page -------------------------------------------------------------- */

.give-hero-card {
	position: relative;
	overflow: hidden;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem);
	border-radius: 1em;
	background:
		radial-gradient(ellipse 70% 120% at 50% -10%, rgba(255, 255, 255, 0.28), transparent 60%),
		linear-gradient(110deg, #c79931, #d9b457 50%, #c49432);
	box-shadow: 0 18px 40px rgba(193, 148, 50, 0.3);
	color: #fff;
	text-align: center;
}

.give-hero-card__icon {
	display: grid;
	place-items: center;
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
}

.give-hero-card__icon .home-icon {
	width: 2.5rem;
	height: 2.5rem;
	color: #fff;
}

.give-hero-card h2 {
	margin: 0 0 0.4rem;
	font: bold clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem)/1.15 "Times New Roman", serif;
	letter-spacing: -0.02em;
}

.give-hero-card__sub {
	margin: 0 auto 1.6rem;
	max-width: 36rem;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.92);
}

.give-amounts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.give-amounts a {
	display: inline-grid;
	place-items: center;
	min-width: 6.5rem;
	padding: 0.95rem 1.4rem;
	border-radius: 0.6em;
	background: #fff;
	color: #061a37 !important;
	font: bold 1.5rem/1 "Times New Roman", serif;
	box-shadow: 0 6px 16px rgba(6, 26, 55, 0.14);
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.give-amounts a:hover,
.give-amounts a:focus-visible {
	transform: translateY(-3px);
	background: #061a37;
	color: #f3d98b !important;
	filter: none;
}

.give-amounts__other {
	font: 700 0.85rem/1 "Arial Narrow", Arial, sans-serif !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.give-hero-card__note {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.9);
}

.give-hero-card__note .home-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.give-story {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
}

.give-trust {
	display: grid;
	gap: 0.85rem;
	margin: 0;
	padding: 1.5rem;
	border-radius: 0.9em;
	background: radial-gradient(ellipse at 80% 0%, #fffaf0, #faf3df 60%);
	list-style: none;
}

.give-trust li {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(201, 157, 63, 0.28);
	border-radius: 0.7em;
	background: rgba(255, 255, 255, 0.7);
	font-size: 0.87rem;
	line-height: 1.4;
	color: #2b3446;
}

.give-trust strong {
	display: block;
	color: #061a37;
	font: 700 0.95rem/1.25 Arial, sans-serif;
}

.give-final a:not(.home-button) {
	color: #8d6a1c;
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
	.give-amounts a {
		transition: none;
	}
}

@media (max-width: 62rem) {
	.give-story {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 34rem) {
	.give-amounts a {
		min-width: calc(50% - 0.4rem);
	}
}

/* All amount buttons the same height, including "Other amount". */
.give-amounts li {
	display: flex;
}

.give-amounts a {
	height: 100%;
}

/* One-time / Monthly toggle above the amounts. */
.give-frequency {
	display: inline-flex;
	margin: 0 0 1.25rem;
	padding: 0.3rem;
	border-radius: 999px;
	background: rgba(6, 26, 55, 0.18);
}

.give-frequency button {
	padding: 0.6rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font: 700 0.85rem/1 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.give-frequency button[aria-pressed="true"] {
	background: #061a37;
	color: #f3d98b;
}

.give-frequency button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.give-amounts small {
	display: block;
	margin-top: 0.2rem;
	font: 600 0.7rem/1 "Arial Narrow", Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.75;
}

.give-hero-card__monthly-note {
	max-width: 38rem;
	margin: 0 auto 1rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.95);
}

#give-title {
	scroll-margin-top: 2rem;
}

/* ---- Give page, v2 ----------------------------------------------------------- */

.page-hero__gold {
	color: #e2bf61;
}

.page-hero__actions {
	margin-top: 1.25rem;
}

.page-hero__actions .home-button {
	padding: 0.9em 1.6em;
}

.give-intro {
	max-width: 44rem;
	margin: -0.25rem auto 1.75rem;
	text-align: center;
	font-size: 1rem;
	color: #2b3446;
}

.give-impact {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

#give-monthly {
	scroll-margin-top: 1.5rem;
}

/* Photo left, message right, edge to edge. */
.give-worship {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	margin: 1.5rem 0 3.5rem;
	background: linear-gradient(115deg, #042342, #00213c);
	color: #fff;
}

.give-worship__photo {
	width: 100%;
	height: 100%;
	min-height: 22rem;
	object-fit: cover;
}

.give-worship__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 5vw, 4rem);
}

.give-worship__body .home-eyebrow {
	color: #e4c266;
}

.give-worship__body h2 {
	margin: 0 0 1rem;
	font: bold clamp(1.8rem, 1.2rem + 1.5vw, 2.6rem)/1.1 "Times New Roman", serif;
	letter-spacing: -0.02em;
}

.give-worship__body > p {
	margin: 0 0 1.5rem;
	font-size: 1.02rem;
	line-height: 1.7;
	color: #d7deea;
}

.give-worship__verse {
	margin: 0;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid #d4ad4e;
	border-radius: 0 0.6em 0.6em 0;
	background: rgba(255, 255, 255, 0.06);
}

.give-worship__verse p {
	margin: 0 0 0.6rem;
	font: italic 1.15rem/1.5 "Times New Roman", serif;
}

.give-worship__verse cite {
	color: #e4c266;
	font: 600 0.75rem/1 "Arial Narrow", Arial, sans-serif;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.14em;
}

.give-compassion {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border-radius: 1em;
	background: radial-gradient(ellipse at 90% 0%, #fffaf0, #faf3df 60%);
}

.give-compassion .give-trust {
	padding: 0;
	background: none;
}

.give-assurance {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0 0 3.5rem;
	padding: 1.5rem 0;
	border-top: 1px solid #e6dcc0;
	border-bottom: 1px solid #e6dcc0;
}

.give-assurance > div {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	font-size: 0.87rem;
	line-height: 1.4;
	color: #2b3446;
}

.give-assurance strong {
	display: block;
	color: #061a37;
	font: 700 0.98rem/1.25 Arial, sans-serif;
}

.give-thanks {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background:
		radial-gradient(ellipse 60% 120% at 85% 50%, rgba(201, 157, 63, 0.16), transparent 70%),
		linear-gradient(115deg, #042342, #00213c);
	color: #fff;
}

.give-thanks__inner {
	max-width: 52rem;
}

.give-thanks h2 {
	margin: 0 0 1rem;
	font: bold clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem)/1.15 "Times New Roman", serif;
	letter-spacing: -0.02em;
}

.give-thanks h2 span {
	color: #e2bf61;
}

.give-thanks p {
	margin: 0 0 1.5rem;
	font-size: 1rem;
	line-height: 1.7;
	color: #d7deea;
}

.give-thanks p a {
	color: #f3d98b;
	text-decoration: underline;
}

.give-thanks .home-button {
	border: none;
}

.give-thanks__slogan {
	margin: 1.5rem 0 0 !important;
	color: #e4c266 !important;
	font: italic 1.2rem/1 "Times New Roman", serif !important;
}

@media (max-width: 80rem) {
	.give-impact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 62rem) {
	.give-worship,
	.give-compassion {
		grid-template-columns: 1fr;
	}

	.give-worship__photo {
		min-height: 0;
		height: 18rem;
	}

	.give-assurance {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 34rem) {
	.give-impact {
		grid-template-columns: 1fr;
	}
}
