/* Hallmark · genre: editorial-traditional · tone: reverent and welcoming · anchor: burgundy
 * theme: studied-DNA (source: original Sanctuary desktop and mobile mockups)
 * macrostructure: service ribbon → wordmark navigation → cinematic sanctuary hero → campus/sermon split → mission → ministry portfolio → events → media → illustrated next steps → leadership directory → sermon biography sidebar → two-part footer
 * pre-emit critique: P5 H5 E5 S5 R5 V5 · contrast: pass (40–41) · nav: reference-matched · footer: Ft4 dense-typographic two-part · slop: pass (42–45)
 * honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive: pass (49) · icons: pass (30) · mobile: pass (34, 49, 50–57)
 */

:root {
	--sanctuary-burgundy: #5b1e25;
	--sanctuary-burgundy-deep: #45131a;
	--sanctuary-cream: #f7f3ee;
	--sanctuary-paper: #fffcf7;
	--sanctuary-gold: #c89d52;
	--sanctuary-gold-soft: #e4c68d;
	--sanctuary-wood: #2b1e17;
	--sanctuary-wood-deep: #17100c;
	--sanctuary-ink: #241915;
	--sanctuary-muted: #76685f;
	--sanctuary-rule: #dccdbb;
	--sanctuary-white: #ffffff;
	--sanctuary-shadow: rgba(43, 30, 23, 0.13);
	--sanctuary-overlay: rgba(23, 16, 12, 0.73);
	--sanctuary-font-display: "Playfair Display", Georgia, serif;
	--sanctuary-font-body: "Lato", Arial, sans-serif;
	--sanctuary-space-xs: 0.5rem;
	--sanctuary-space-sm: 0.75rem;
	--sanctuary-space-md: 1.25rem;
	--sanctuary-space-lg: 2rem;
	--sanctuary-space-xl: 3rem;
	--sanctuary-space-2xl: 4.5rem;
	--sanctuary-radius: 2px;
	--sanctuary-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html,
body.diy-child-sanctuary {
	overflow-x: clip;
}

body.diy-child-sanctuary {
	--cw-primary: var(--sanctuary-burgundy);
	--cw-secondary: var(--sanctuary-wood);
	--cw-accent: var(--sanctuary-gold);
	--cw-bg: var(--sanctuary-cream);
	--cw-surface: var(--sanctuary-paper);
	--cw-text: var(--sanctuary-ink);
	--cw-heading: var(--sanctuary-burgundy);
	--cw-border: var(--sanctuary-rule);
	--cw-heading-font: var(--sanctuary-font-display);
	--cw-body-font: var(--sanctuary-font-body);
	background: var(--sanctuary-cream);
	color: var(--sanctuary-ink);
	font-family: var(--sanctuary-font-body);
}

body.diy-child-sanctuary h1,
body.diy-child-sanctuary h2,
body.diy-child-sanctuary h3,
body.diy-child-sanctuary h4 {
	font-family: var(--sanctuary-font-display);
	font-style: normal;
}

.sanctuary-topbar {
	min-height: 31px;
	background: var(--sanctuary-burgundy);
	color: var(--sanctuary-cream);
	font-size: 0.71rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.sanctuary-topbar-inner {
	display: flex;
	min-height: 31px;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	white-space: nowrap;
}

.sanctuary-topbar-cross {
	color: var(--sanctuary-gold);
	font-family: var(--sanctuary-font-display);
	font-size: 1.1rem;
	font-weight: 400;
}

.sanctuary-topbar-dot {
	color: var(--sanctuary-gold);
}

.sanctuary-header {
	padding: 0;
	background: var(--sanctuary-cream);
	border: 0;
}

.sanctuary-header-inner {
	display: grid;
	min-height: 105px;
	grid-template-columns: minmax(285px, 1fr) auto auto;
	align-items: center;
	gap: 2.75rem;
}

.sanctuary-brand {
	display: inline-flex;
	width: max-content;
	align-items: center;
	gap: 0.9rem;
	color: var(--sanctuary-burgundy);
	text-decoration: none;
}

.sanctuary-brand-mark {
	display: block;
	width: 47px;
	flex: none;
}

.sanctuary-brand-mark svg {
	display: block;
	width: 100%;
	height: auto;
}

.sanctuary-brand-mark svg path:first-child {
	fill: none;
	stroke: var(--sanctuary-burgundy);
	stroke-width: 2;
}

.sanctuary-brand-mark svg path:last-child {
	fill: var(--sanctuary-gold);
}

.sanctuary-brand-copy {
	display: grid;
	gap: 0.08rem;
}

.sanctuary-brand-copy strong {
	font-family: var(--sanctuary-font-display);
	font-size: clamp(1.65rem, 2.3vw, 2.35rem);
	font-weight: 400;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.sanctuary-brand-copy small {
	display: grid;
	grid-template-columns: 32px auto 32px;
	align-items: center;
	gap: 0.62rem;
	color: var(--sanctuary-gold);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.34em;
	line-height: 1.4;
	text-transform: uppercase;
}

.sanctuary-brand-copy i {
	display: block;
	height: 1px;
	background: var(--sanctuary-gold);
}

.sanctuary-primary ul {
	display: flex;
	align-items: center;
	gap: clamp(1.15rem, 1.85vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sanctuary-primary a {
	position: relative;
	display: block;
	padding: 0.65rem 0;
	color: var(--sanctuary-ink);
	font-family: var(--sanctuary-font-display);
	font-size: 0.77rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	text-transform: uppercase;
}

.sanctuary-primary a::after {
	position: absolute;
	right: 0;
	bottom: 0.22rem;
	left: 0;
	height: 2px;
	background: var(--sanctuary-gold);
	content: "";
	opacity: 0;
	transform: scaleX(0.3);
	transition: opacity 180ms var(--sanctuary-ease), transform 180ms var(--sanctuary-ease);
}

.sanctuary-primary a:hover::after,
.sanctuary-primary a:focus-visible::after,
.sanctuary-primary a[aria-current="page"]::after {
	opacity: 1;
	transform: scaleX(1);
}

.sanctuary-header-cta,
.sanctuary-button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	border-radius: var(--sanctuary-radius);
	font-size: 0.71rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 180ms var(--sanctuary-ease), color 180ms var(--sanctuary-ease), border-color 180ms var(--sanctuary-ease);
}

.sanctuary-header-cta {
	min-width: 164px;
	padding: 0.9rem 1.3rem;
	background: var(--sanctuary-burgundy);
	color: var(--sanctuary-white);
}

.sanctuary-header-cta:hover,
.sanctuary-header-cta:focus-visible,
.sanctuary-button-primary:hover,
.sanctuary-button-primary:focus-visible {
	background: var(--sanctuary-burgundy-deep);
	color: var(--sanctuary-white);
}

.sanctuary-menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	border: 0;
	background: transparent;
}

.sanctuary-menu-toggle > span[aria-hidden="true"] {
	display: block;
	width: 23px;
	height: 2px;
	background: var(--sanctuary-ink);
}

.sanctuary-showcase-hero {
	position: relative;
	display: grid;
	min-height: 490px;
	align-items: center;
	background-color: var(--sanctuary-wood-deep);
	background-image: linear-gradient(90deg, var(--sanctuary-overlay) 0%, rgba(23, 16, 12, 0.48) 34%, rgba(23, 16, 12, 0.03) 68%), url("../images/hero.png");
	background-position: center center;
	background-size: cover;
	color: var(--sanctuary-white);
}

.sanctuary-hero-inner {
	width: 100%;
}

.sanctuary-hero-copy {
	width: min(100%, 510px);
	padding-block: var(--sanctuary-space-xl);
}

.sanctuary-hero-copy h1 {
	margin: 0;
	color: var(--sanctuary-white);
	font-size: clamp(2.85rem, 4.3vw, 4.35rem);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.11;
	overflow-wrap: anywhere;
}

.sanctuary-hero-copy h1 span {
	display: block;
}

.sanctuary-cross-rule {
	display: grid;
	width: 235px;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.7rem;
	margin: 1.4rem 0 1.1rem;
	color: var(--sanctuary-gold);
}

.sanctuary-cross-rule i,
.sanctuary-mission-mark i {
	display: block;
	height: 1px;
	background: var(--sanctuary-gold);
}

.sanctuary-cross-rule span {
	font-family: var(--sanctuary-font-display);
	font-size: 1.4rem;
}

.sanctuary-hero-copy > p {
	max-width: 470px;
	margin: 0;
	font-family: var(--sanctuary-font-display);
	font-size: 1.05rem;
	line-height: 1.6;
}

.sanctuary-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.7rem;
}

.sanctuary-button {
	min-width: 188px;
	padding: 1rem 1.6rem;
}

.sanctuary-button-primary {
	background: var(--sanctuary-burgundy);
	color: var(--sanctuary-white);
}

.sanctuary-button-outline {
	border: 1px solid var(--sanctuary-gold);
	color: var(--sanctuary-white);
}

.sanctuary-button-outline:hover,
.sanctuary-button-outline:focus-visible {
	background: var(--sanctuary-gold);
	color: var(--sanctuary-wood-deep);
}

.sanctuary-showcase-content {
	padding: 2.25rem 0 2.5rem;
	background: var(--sanctuary-cream);
}

.sanctuary-showcase-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
	gap: 4rem;
	align-items: start;
}

.sanctuary-weekend,
.sanctuary-latest {
	min-width: 0;
}

.sanctuary-section-icon {
	height: 25px;
	color: var(--sanctuary-gold);
	font-family: var(--sanctuary-font-display);
	font-size: 1.5rem;
	line-height: 1;
	text-align: center;
}

.sanctuary-weekend h2,
.sanctuary-latest h2 {
	margin: 0.35rem 0 1.25rem;
	color: var(--sanctuary-burgundy);
	font-size: 1.35rem;
	font-weight: 500;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.sanctuary-campus-grid,
.sanctuary-sermon-grid {
	display: grid;
	gap: 1.35rem;
}

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

.sanctuary-sermon-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sanctuary-campus-card,
.sanctuary-sermon-card {
	min-width: 0;
	border: 1px solid var(--sanctuary-rule);
	border-radius: var(--sanctuary-radius);
	background: var(--sanctuary-paper);
	box-shadow: 0 5px 16px var(--sanctuary-shadow);
}

.sanctuary-campus-card {
	padding: 1.15rem 1.25rem 1rem;
	text-align: center;
}

.sanctuary-card-church {
	display: grid;
	width: 36px;
	height: 36px;
	margin: 0 auto 0.4rem;
	place-items: center;
	border: 1px solid var(--sanctuary-gold);
	color: var(--sanctuary-gold);
	clip-path: polygon(50% 0, 100% 35%, 100% 100%, 0 100%, 0 35%);
}

.sanctuary-card-church span {
	font-family: var(--sanctuary-font-display);
	font-size: 1.1rem;
}

.sanctuary-campus-card h3 {
	margin: 0.35rem 0 0.35rem;
	color: var(--sanctuary-burgundy);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sanctuary-campus-card address {
	min-height: 2.8em;
	font-family: var(--sanctuary-font-display);
	font-size: 0.75rem;
	font-style: normal;
	line-height: 1.4;
}

.sanctuary-campus-card hr {
	margin: 0.85rem 0;
	border: 0;
	border-top: 1px solid var(--sanctuary-gold);
}

.sanctuary-campus-card dl {
	margin: 0;
	font-size: 0.66rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sanctuary-campus-card dl div {
	display: flex;
	justify-content: space-between;
	gap: 0.8rem;
	margin: 0.45rem 0;
}

.sanctuary-campus-card dd {
	margin: 0;
	white-space: nowrap;
}

.sanctuary-campus-card > a,
.sanctuary-watch-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-top: 0.75rem;
	color: var(--sanctuary-burgundy);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-decoration: none;
	text-transform: uppercase;
}

.sanctuary-sermon-card {
	overflow: hidden;
}

.sanctuary-sermon-image {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--sanctuary-wood);
}

.sanctuary-sermon-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--sanctuary-ease);
}

.sanctuary-sermon-image:hover img,
.sanctuary-sermon-image:focus-visible img {
	transform: scale(1.035);
}

.sanctuary-sermon-image > span {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 2px solid var(--sanctuary-white);
	border-radius: 50%;
	background: rgba(23, 16, 12, 0.32);
	color: var(--sanctuary-white);
	font-size: 0.8rem;
	transform: translate(-50%, -50%);
}

.sanctuary-sermon-copy {
	padding: 0.65rem 0.8rem 0.85rem;
}

.sanctuary-sermon-copy h3 {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 500;
	line-height: 1.22;
}

.sanctuary-sermon-copy h3 a {
	color: var(--sanctuary-ink);
	text-decoration: none;
}

.sanctuary-reference {
	margin: 0.3rem 0;
	font-family: var(--sanctuary-font-display);
	font-size: 0.65rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sanctuary-sermon-meta {
	margin: 0;
	color: var(--sanctuary-gold);
	font-size: 0.52rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sanctuary-sermon-meta span {
	margin-inline: 0.25rem;
}

.sanctuary-watch-link {
	margin-top: 0.55rem;
}

.sanctuary-eyebrow {
	margin: 0 0 0.75rem;
	color: var(--sanctuary-gold);
	font-size: 0.69rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.sanctuary-section-heading {
	position: relative;
	max-width: 710px;
	margin: 0 auto 2.25rem;
	text-align: center;
}

.sanctuary-section-heading h2 {
	margin: 0;
	color: var(--sanctuary-burgundy);
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 400;
	line-height: 1.1;
}

.sanctuary-section-heading > p:last-of-type {
	margin: 1rem auto 0;
	font-size: 1rem;
	line-height: 1.75;
}

.sanctuary-section-heading > a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1rem;
	color: var(--sanctuary-burgundy);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.sanctuary-purpose {
	padding: clamp(4rem, 8vw, 7.5rem) 0;
	background: var(--sanctuary-paper);
}

.sanctuary-purpose-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: clamp(3rem, 8vw, 7rem);
	align-items: start;
}

.sanctuary-purpose-heading h2 {
	max-width: 580px;
	margin: 0;
	color: var(--sanctuary-burgundy);
	font-size: clamp(2.4rem, 5.3vw, 4.65rem);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 1.02;
}

.sanctuary-purpose-copy > p {
	margin: 0;
	font-family: var(--sanctuary-font-display);
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	line-height: 1.55;
}

.sanctuary-purpose-copy blockquote {
	margin: 2rem 0 0;
	padding: 1.4rem 0 0 1.5rem;
	border: 0;
	border-left: 2px solid var(--sanctuary-gold);
	color: var(--sanctuary-muted);
}

.sanctuary-purpose-copy blockquote p {
	margin: 0;
	font-family: var(--sanctuary-font-display);
	font-size: 1rem;
	font-style: italic;
	line-height: 1.7;
}

.sanctuary-purpose-copy cite {
	display: block;
	margin-top: 0.65rem;
	font-size: 0.66rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.sanctuary-portfolio {
	padding: clamp(4.5rem, 8vw, 7rem) 0;
	background: var(--sanctuary-wood);
	color: var(--sanctuary-cream);
}

.sanctuary-section-heading-light h2,
.sanctuary-section-heading-light > p:last-of-type {
	color: var(--sanctuary-cream);
}

.sanctuary-portfolio .diy-portfolio {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem !important;
}

.sanctuary-portfolio .diy-portfolio__item {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: var(--sanctuary-wood-deep);
}

.sanctuary-portfolio .diy-portfolio__item:nth-child(1),
.sanctuary-portfolio .diy-portfolio__item:nth-child(4) {
	transform: translateY(1.4rem);
}

.sanctuary-portfolio .diy-portfolio__item img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 340px;
	object-fit: cover;
	filter: saturate(0.85) contrast(1.03);
	transition: filter 260ms var(--sanctuary-ease), transform 500ms var(--sanctuary-ease);
}

.sanctuary-portfolio .diy-portfolio__item:hover img {
	filter: saturate(1) contrast(1.03);
	transform: scale(1.025);
}

.sanctuary-events,
.sanctuary-next {
	padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.sanctuary-event-grid {
	display: grid;
	grid-template-columns: 1.18fr 0.91fr 0.91fr;
	gap: 1.5rem;
	align-items: stretch;
}

.sanctuary-event-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	background: var(--sanctuary-paper);
	border-bottom: 3px solid var(--sanctuary-gold);
	box-shadow: 0 10px 30px var(--sanctuary-shadow);
}

.sanctuary-event-image {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--sanctuary-wood);
}

.sanctuary-event-card:first-child .sanctuary-event-image {
	aspect-ratio: 16 / 11;
}

.sanctuary-event-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--sanctuary-ease);
}

.sanctuary-event-image:hover img,
.sanctuary-event-image:focus-visible img {
	transform: scale(1.035);
}

.sanctuary-event-copy {
	padding: 1.35rem 1.45rem 1.6rem;
}

.sanctuary-event-kicker {
	margin: 0 0 0.55rem;
	color: var(--sanctuary-gold);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sanctuary-event-copy h3 {
	margin: 0;
	font-size: clamp(1.25rem, 2.3vw, 1.7rem);
	font-weight: 500;
	line-height: 1.2;
}

.sanctuary-event-copy h3 a {
	color: var(--sanctuary-burgundy);
	text-decoration: none;
}

.sanctuary-event-copy > p:last-child {
	margin: 0.8rem 0 0;
	color: var(--sanctuary-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.sanctuary-empty-note {
	text-align: center;
}

.sanctuary-media {
	padding: clamp(4.5rem, 8vw, 7rem) 0;
	background: var(--sanctuary-burgundy);
	color: var(--sanctuary-cream);
}

.sanctuary-media-grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(2.5rem, 7vw, 6rem);
	align-items: center;
}

.sanctuary-media-intro h2 {
	margin: 0;
	color: var(--sanctuary-cream);
	font-size: clamp(2.4rem, 5vw, 4.35rem);
	font-weight: 400;
	line-height: 1.03;
}

.sanctuary-media-intro > p:not(.sanctuary-eyebrow) {
	margin: 1.25rem 0 1.7rem;
	font-size: 1rem;
	line-height: 1.75;
}

.sanctuary-media-intro .sanctuary-button-primary {
	background: var(--sanctuary-gold);
	color: var(--sanctuary-wood-deep);
}

.sanctuary-media-stack {
	display: grid;
	gap: 1.1rem;
}

.sanctuary-media-card {
	padding: 1.3rem;
	background: var(--sanctuary-paper);
	color: var(--sanctuary-ink);
	box-shadow: 0 16px 42px rgba(23, 16, 12, 0.28);
}

.sanctuary-media-card > p {
	margin: 0 0 0.35rem;
	color: var(--sanctuary-gold);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sanctuary-media-card h3 {
	margin: 0 0 1rem;
	color: var(--sanctuary-burgundy);
	font-size: 1.3rem;
	font-weight: 500;
}

.sanctuary-media-card .diy-sermon-player {
	margin: 0;
}

.sanctuary-media-card-audio {
	display: grid;
	grid-template-columns: 0.35fr 0.65fr;
	align-items: center;
	gap: 0 1rem;
}

.sanctuary-media-card-audio > p,
.sanctuary-media-card-audio h3 {
	grid-column: 1;
}

.sanctuary-media-card-audio .diy-sermon-player {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.sanctuary-next {
	background: var(--sanctuary-paper);
}

.sanctuary-next-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 1px solid var(--sanctuary-rule);
	border-bottom: 1px solid var(--sanctuary-rule);
}

.sanctuary-next-grid > a {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto 1fr;
	column-gap: 1rem;
	min-width: 0;
	padding: 2rem 1.5rem 2.25rem;
	border-right: 1px solid var(--sanctuary-rule);
	color: var(--sanctuary-ink);
	text-decoration: none;
}

.sanctuary-next-grid > a:nth-child(odd) {
	background: var(--sanctuary-cream);
}

.sanctuary-next-grid > a:nth-child(even) {
	background: color-mix(in srgb, var(--sanctuary-gold) 12%, var(--sanctuary-paper));
}

.sanctuary-next-grid > a:last-child {
	border-right: 0;
}

.sanctuary-next-number {
	grid-column: 1 / -1;
	color: var(--sanctuary-gold);
	font-family: var(--sanctuary-font-display);
	font-size: 0.75rem;
}

.sanctuary-next-icon {
	display: grid;
	grid-column: 1;
	grid-row: 2 / span 2;
	width: 3rem;
	height: 3rem;
	margin-top: 1.15rem;
	place-items: center;
	border: 1px solid var(--sanctuary-gold);
	border-radius: 50%;
	color: var(--sanctuary-burgundy);
	font-family: var(--sanctuary-font-display);
	font-size: 1.45rem;
}

.sanctuary-next-grid h3 {
	grid-column: 2;
	margin: 1.25rem 0 0.65rem;
	color: var(--sanctuary-burgundy);
	font-size: 1.35rem;
	font-weight: 500;
}

.sanctuary-next-grid p {
	grid-column: 2;
	margin: 0;
	color: var(--sanctuary-muted);
	font-size: 0.86rem;
	line-height: 1.6;
}

.sanctuary-next-grid i {
	position: absolute;
	right: 1.4rem;
	bottom: 1.35rem;
	color: var(--sanctuary-gold);
	font-family: var(--sanctuary-font-display);
	font-size: 1.4rem;
	font-style: normal;
}

.sanctuary-next-grid > a:focus-visible {
	outline: 3px solid var(--sanctuary-burgundy);
	outline-offset: -4px;
}

@media (hover: hover) and (pointer: fine) {
	.sanctuary-next-grid > a:hover .sanctuary-next-icon {
		background: var(--sanctuary-burgundy);
		color: var(--sanctuary-cream);
	}
}

.sanctuary-invitation {
	padding: 3.5rem 0;
	background: var(--sanctuary-gold);
	color: var(--sanctuary-wood-deep);
}

.sanctuary-invitation-inner {
	display: grid;
	grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr) auto;
	gap: 2.5rem;
	align-items: center;
}

.sanctuary-invitation .sanctuary-eyebrow {
	color: var(--sanctuary-burgundy);
}

.sanctuary-invitation h2 {
	margin: 0;
	color: var(--sanctuary-wood-deep);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
	line-height: 1.05;
}

.sanctuary-invitation-inner > p {
	margin: 0;
	line-height: 1.7;
}

.sanctuary-invitation .sanctuary-button-outline {
	border-color: var(--sanctuary-wood-deep);
	color: var(--sanctuary-wood-deep);
}

.sanctuary-invitation .sanctuary-button-outline:hover,
.sanctuary-invitation .sanctuary-button-outline:focus-visible {
	background: var(--sanctuary-wood-deep);
	color: var(--sanctuary-cream);
}

body.diy-child-sanctuary .cw-footer {
	--cw-footer-bg: var(--sanctuary-wood);
	--cw-footer-text: var(--sanctuary-cream);
	--cw-footer-link: var(--sanctuary-gold-soft);
	--cw-footer-lower-bg: var(--sanctuary-wood-deep);
	--cw-footer-lower-text: var(--sanctuary-rule);
	--cw-footer-lower-link: var(--sanctuary-cream);
	font-family: var(--sanctuary-font-body);
}

body.diy-child-sanctuary .cw-footer-widgets {
	border-bottom-color: color-mix(in srgb, var(--sanctuary-cream) 16%, transparent);
}

body.diy-child-sanctuary .cw-footer .widget-title {
	margin-bottom: 1rem;
	color: var(--sanctuary-cream);
	font-family: var(--sanctuary-font-display);
	font-size: 1.25rem;
	font-weight: 500;
}

body.diy-child-sanctuary .cw-footer .widget p,
body.diy-child-sanctuary .cw-footer .widget li {
	font-size: 0.9rem;
	line-height: 1.7;
}

body.diy-child-sanctuary .cw-footer .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.diy-child-sanctuary .cw-footer-bottom-center {
	color: var(--sanctuary-gold);
	font-family: var(--sanctuary-font-display);
	letter-spacing: 0.08em;
}

body.diy-child-sanctuary .cw-footer-menu a:focus-visible,
body.diy-child-sanctuary .cw-footer a:focus-visible {
	outline: 3px solid var(--sanctuary-gold);
	outline-offset: 3px;
}

body.diy-child-sanctuary .diy-news-masthead {
	border-color: var(--sanctuary-rule);
}

body.diy-child-sanctuary .diy-profile-grid--speaker {
	margin-top: var(--sanctuary-space-lg);
}

body.diy-child-sanctuary .diy-profile-grid--speaker .diy-profile-card {
	border-color: var(--sanctuary-rule);
	border-radius: var(--sanctuary-radius);
	background: var(--sanctuary-paper);
	box-shadow: 0 14px 34px var(--sanctuary-shadow);
}

body.diy-child-sanctuary .diy-profile-card__media {
	background: var(--sanctuary-wood);
}

body.diy-child-sanctuary .diy-profile-card h3 a,
body.diy-child-sanctuary .diy-sermon-speaker-card h2 a {
	color: var(--sanctuary-burgundy);
}

body.diy-child-sanctuary .diy-profile-card__role,
body.diy-child-sanctuary .diy-sermon-speaker-card__label,
body.diy-child-sanctuary .diy-sermon-speaker-card__role {
	color: var(--sanctuary-burgundy);
}

body.diy-child-sanctuary .diy-profile-card__button,
body.diy-child-sanctuary .diy-sermon-speaker-card__button {
	border-color: var(--sanctuary-burgundy);
	border-radius: var(--sanctuary-radius);
	background: var(--sanctuary-burgundy);
	color: var(--sanctuary-cream);
}

body.diy-child-sanctuary .diy-profile-card__button:hover,
body.diy-child-sanctuary .diy-profile-card__button:focus-visible,
body.diy-child-sanctuary .diy-sermon-speaker-card__button:hover,
body.diy-child-sanctuary .diy-sermon-speaker-card__button:focus-visible {
	border-color: var(--sanctuary-burgundy-deep);
	background: var(--sanctuary-burgundy-deep);
}

body.diy-child-sanctuary .diy-sermon-featured,
body.diy-child-sanctuary .diy-sermon-speaker-card {
	border-color: var(--sanctuary-rule);
	border-radius: var(--sanctuary-radius);
}

body.diy-child-sanctuary .diy-sermon-speaker-card {
	background: var(--sanctuary-paper);
	box-shadow: 0 14px 34px var(--sanctuary-shadow);
}

body.diy-child-sanctuary .diy-news-masthead h1,
body.diy-child-sanctuary .diy-news-card h2 a,
body.diy-child-sanctuary .diy-news-article__header h1 {
	color: var(--sanctuary-burgundy);
}

body.diy-child-sanctuary .diy-news-card__kicker,
body.diy-child-sanctuary .diy-news-card__read {
	color: var(--sanctuary-burgundy);
}

body.diy-child-sanctuary .diy-news-filter {
	background: var(--sanctuary-paper);
}

body.diy-child-sanctuary .wpcf7-form {
	display: grid;
	gap: 1rem;
	max-width: 760px;
	margin-top: 2rem;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	border-top: 4px double var(--sanctuary-rule);
	border-bottom: 1px solid var(--sanctuary-rule);
	background: var(--sanctuary-paper);
}

.sanctuary-contact-details,
.sanctuary-form-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.sanctuary-contact-details {
	max-width: 760px;
	margin-block: 2rem;
	padding-block: 1.25rem;
	border-block: 1px solid var(--sanctuary-rule);
}

.sanctuary-contact-details p,
.sanctuary-form-grid p {
	margin: 0;
}

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

body.diy-child-sanctuary .wpcf7-form label {
	display: grid;
	gap: 0.4rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

body.diy-child-sanctuary .wpcf7-form input:not([type="checkbox"]):not([type="submit"]),
body.diy-child-sanctuary .wpcf7-form select,
body.diy-child-sanctuary .wpcf7-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--sanctuary-rule);
	border-radius: var(--sanctuary-radius);
	background: var(--sanctuary-white);
	color: var(--sanctuary-ink);
	font: inherit;
	outline: 2px solid transparent;
	outline-offset: 1px;
}

body.diy-child-sanctuary .wpcf7-form input:not([type="checkbox"]):not([type="submit"]):hover,
body.diy-child-sanctuary .wpcf7-form select:hover,
body.diy-child-sanctuary .wpcf7-form textarea:hover {
	border-color: var(--sanctuary-muted);
}

body.diy-child-sanctuary .wpcf7-form textarea {
	min-height: 10rem;
	resize: vertical;
}

body.diy-child-sanctuary .wpcf7-form input:not([type="checkbox"]):not([type="submit"]):focus-visible,
body.diy-child-sanctuary .wpcf7-form select:focus-visible,
body.diy-child-sanctuary .wpcf7-form textarea:focus-visible {
	border-color: var(--sanctuary-burgundy);
	outline: 2px solid var(--sanctuary-gold);
	outline-offset: 1px;
}

body.diy-child-sanctuary .wpcf7-form .wpcf7-not-valid {
	border-color: var(--sanctuary-burgundy-deep);
}

body.diy-child-sanctuary .wpcf7-form :is(input, select, textarea):disabled {
	background: var(--sanctuary-cream);
	cursor: not-allowed;
	opacity: 0.55;
}

body.diy-child-sanctuary .wpcf7-not-valid-tip,
body.diy-child-sanctuary .wpcf7-response-output {
	min-height: 1lh;
}

body.diy-child-sanctuary .wpcf7-submit {
	min-height: 46px;
	padding: 0.75rem 1.5rem;
	border: 1px solid var(--sanctuary-burgundy);
	border-radius: var(--sanctuary-radius);
	background: var(--sanctuary-burgundy);
	color: var(--sanctuary-cream);
	font-weight: 700;
	cursor: pointer;
	outline: 2px solid transparent;
	outline-offset: 1px;
}

body.diy-child-sanctuary .wpcf7-submit:hover,
body.diy-child-sanctuary .wpcf7-submit:active {
	border-color: var(--sanctuary-burgundy-deep);
	background: var(--sanctuary-burgundy-deep);
}

body.diy-child-sanctuary .wpcf7-submit:focus-visible {
	outline-color: var(--sanctuary-gold);
}

body.diy-child-sanctuary .wpcf7-submit:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

@media (max-width: 1180px) {
	.sanctuary-header-inner {
		grid-template-columns: minmax(250px, 1fr) auto auto;
		gap: 1.5rem;
	}

	.sanctuary-brand-copy strong {
		font-size: 1.75rem;
	}

	.sanctuary-primary ul {
		gap: 1rem;
	}

	.sanctuary-primary a {
		font-size: 0.69rem;
	}
}

@media (max-width: 991px) {
	.sanctuary-header-inner {
		min-height: 82px;
		grid-template-columns: 1fr auto;
	}

	.sanctuary-primary,
	.sanctuary-header-cta {
		display: none;
	}

	.sanctuary-menu-toggle {
		display: inline-flex;
	}

	.sanctuary-showcase-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.sanctuary-weekend,
	.sanctuary-latest {
		width: min(100%, 760px);
		margin-inline: auto;
	}

	.sanctuary-purpose-grid,
	.sanctuary-media-grid,
	.sanctuary-invitation-inner {
		grid-template-columns: 1fr;
	}

	.sanctuary-portfolio .diy-portfolio,
	.sanctuary-next-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.sanctuary-event-card:first-child {
		grid-column: 1 / -1;
	}

	.sanctuary-event-card:first-child .sanctuary-event-image {
		aspect-ratio: 16 / 7;
	}

	.sanctuary-next-grid > a:nth-child(2) {
		border-right: 0;
	}

	.sanctuary-next-grid > a:nth-child(-n+2) {
		border-bottom: 1px solid var(--sanctuary-rule);
	}
}

@media (max-width: 680px) {
	.sanctuary-topbar {
		padding: 0.45rem 0;
	}

	.sanctuary-topbar-inner {
		min-height: 32px;
		flex-wrap: wrap;
		gap: 0.15rem 0.55rem;
		font-size: 0.58rem;
		line-height: 1.35;
		text-align: center;
		white-space: normal;
	}

	.sanctuary-topbar-dot {
		display: none;
	}

	.sanctuary-header-inner {
		min-height: 76px;
		padding-inline: 1rem;
	}

	.sanctuary-brand {
		gap: 0.55rem;
	}

	.sanctuary-brand-mark {
		width: 34px;
	}

	.sanctuary-brand-copy strong {
		font-size: 1.25rem;
	}

	.sanctuary-brand-copy small {
		grid-template-columns: 18px auto 18px;
		gap: 0.35rem;
		font-size: 0.47rem;
		letter-spacing: 0.22em;
	}

	.sanctuary-showcase-hero {
		min-height: 580px;
		background-image: linear-gradient(90deg, rgba(23, 16, 12, 0.82), rgba(23, 16, 12, 0.34)), url("../images/hero.png");
		background-position: 46% center;
	}

	.sanctuary-hero-inner {
		padding-inline: 1.25rem;
	}

	.sanctuary-hero-copy h1 {
		font-size: clamp(2.45rem, 12vw, 3.25rem);
		line-height: 1.08;
	}

	.sanctuary-hero-copy > p {
		font-size: 0.93rem;
	}

	.sanctuary-hero-actions {
		display: grid;
	}

	.sanctuary-button {
		width: 100%;
	}

	.sanctuary-showcase-content {
		padding-inline: 1rem;
	}

	.sanctuary-campus-grid,
	.sanctuary-sermon-grid {
		grid-template-columns: 1fr;
	}

	.sanctuary-campus-card {
		padding: 1.5rem;
	}

	.sanctuary-sermon-copy {
		padding: 1rem 1.1rem 1.15rem;
	}

	.sanctuary-sermon-copy h3 {
		font-size: 1.2rem;
	}

	.sanctuary-purpose,
	.sanctuary-portfolio,
	.sanctuary-events,
	.sanctuary-media,
	.sanctuary-next,
	.sanctuary-invitation {
		padding-inline: 1rem;
	}

	.sanctuary-purpose-grid {
		gap: 2rem;
	}

	.sanctuary-portfolio .diy-portfolio,
	.sanctuary-event-grid,
	.sanctuary-next-grid {
		grid-template-columns: 1fr;
	}

	.sanctuary-portfolio .diy-portfolio__item:nth-child(1),
	.sanctuary-portfolio .diy-portfolio__item:nth-child(4) {
		transform: none;
	}

	.sanctuary-portfolio .diy-portfolio__item img {
		min-height: 270px;
	}

	.sanctuary-event-card:first-child {
		grid-column: auto;
	}

	.sanctuary-event-card:first-child .sanctuary-event-image {
		aspect-ratio: 16 / 10;
	}

	.sanctuary-media-card-audio {
		display: block;
	}

	.sanctuary-media-card-audio .diy-sermon-player {
		margin-top: 1rem;
	}

	.sanctuary-next-grid > a,
	.sanctuary-next-grid > a:nth-child(2) {
		border-right: 0;
		border-bottom: 1px solid var(--sanctuary-rule);
	}

	.sanctuary-next-grid > a:last-child {
		border-bottom: 0;
	}

	.sanctuary-contact-details,
	.sanctuary-form-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sanctuary-primary a::after,
	.sanctuary-header-cta,
	.sanctuary-button,
	.sanctuary-sermon-image img {
		transition-duration: 1ms;
	}
}
