/* =====================================================================
   True Word of God Church — theme styles
   Built from the "Logo Blue" design (desktop 1440 + phone 390).
   Content lives in WordPress blocks; these rules only style the classes
   the blocks carry.
   ===================================================================== */

:root {
	--twog-glow: 0 0 190;          /* logo navy, lit */
	--twog-glow-lite: 73 114 205;  /* soft tint for halos */
	--twog-navy: 0 0 102;          /* #000066, the logo */
	--twog-pad: clamp(20px, 4.4vw, 64px);
	--twog-display: 'Gloock', 'Iowan Old Style', Georgia, serif;
	--twog-body: 'Mona Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--twog-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body,
.editor-styles-wrapper {
	margin: 0;
	background-color: #050505;
	background-image: var(--twog-grain);
	background-size: 128px 128px;
	color: #C1CCE3;
	font-family: var(--twog-body);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks { overflow-x: clip; }
.wp-site-blocks *, .editor-styles-wrapper * { box-sizing: border-box; }
::selection { background: rgb(var(--twog-glow) / .9); color: #FFFFFF; }

.wp-site-blocks a:focus-visible,
.wp-site-blocks button:focus-visible { outline: 3px solid #7CA6FE; outline-offset: 4px; }

[id] { scroll-margin-top: 88px; }

/* Reset block margins inside the designed areas */
.twog-header p, .twog-footer p,
.twog-main p, .twog-main h1, .twog-main h2, .twog-main h3,
.twog-main figure, .twog-main ul { margin: 0; }

.twog-main a { color: #EDF2FB; text-decoration-color: rgba(237, 242, 251, .35); text-underline-offset: .22em; }
.twog-main a:hover { color: #FFFFFF; }

/* ---------------------------------------------------------------------
   Type
   --------------------------------------------------------------------- */

.twog-h1 {
	font-family: var(--twog-display);
	font-weight: 400;
	font-size: clamp(58px, 9.6vw, 142px);
	line-height: .92;
	letter-spacing: -0.022em;
	color: #EDF2FB;
	text-wrap: balance;
	width: min(674px, 100%);
}

.twog-h2 {
	font-family: var(--twog-display);
	font-weight: 400;
	font-size: clamp(38px, 4.4vw, 64px);
	line-height: 1.02;
	letter-spacing: -0.014em;
	color: #EDF2FB;
	text-wrap: balance;
}
.twog-h2--lg { font-size: clamp(38px, 4.8vw, 70px); line-height: 1.0; letter-spacing: -0.016em; }

p.twog-eyebrow {
	margin: 0 0 22px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14.5px;
	font-weight: 500;
	font-stretch: 112%;
	line-height: 1.3;
	color: #A4B4D3;
}
p.twog-eyebrow::before {
	content: '';
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #B0CAFF;
	box-shadow: 0 0 14px 3px rgb(var(--twog-glow) / 1);
}

.twog-copy {
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-size: clamp(17px, 1.35vw, 19.5px);
	line-height: 1.65;
}
.twog-copy > p { color: #C1CCE3; }
.twog-copy > p + p { color: #9AAAC9; }
.twog-main p.twog-muted { color: #9AAAC9; }

/* Stepped lines: "Come for the worship. / Stay for the Word. / Grow with us." */
.twog-steps {
	display: flex;
	flex-direction: column;
	font-family: var(--twog-display);
	font-weight: 400;
	font-size: clamp(28px, 3.4vw, 48px);
	line-height: 1.1;
	letter-spacing: -0.012em;
}
.twog-steps > p { margin: 0; }
.twog-steps > p:nth-child(1) { color: #6B7DA3; }
.twog-steps > p:nth-child(2) { color: #A5B5D5; padding-left: 1.1em; }
.twog-steps > p:nth-child(3) { color: #F2F6FE; padding-left: 2.2em; text-shadow: 0 0 22px rgb(var(--twog-glow-lite) / .55), 0 0 64px rgb(var(--twog-glow) / .9); }

.twog-steps--xl {
	margin-top: clamp(36px, 5.6vw, 80px);
	gap: .06em;
	font-size: clamp(30px, 6.6vw, 100px);
	line-height: 1.02;
	letter-spacing: -0.022em;
}
.twog-steps--xl > p:nth-child(2) { padding-left: min(1.6em, 11vw); }
.twog-steps--xl > p:nth-child(3) { padding-left: min(3.2em, 22vw); text-shadow: 0 0 24px rgb(var(--twog-glow-lite) / .55), 0 0 72px rgb(var(--twog-glow) / .9); }

.twog-steps--md { margin-top: clamp(32px, 3.4vw, 44px); font-size: clamp(28px, 2.9vw, 42px); line-height: 1.12; }

/* Two-line variant (Visit) */
.twog-steps--duo { margin-top: 30px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: 0; }
.twog-steps--duo > p:nth-child(1) { color: #7C8EB2; }
.twog-steps--duo > p:nth-child(2) { color: #F2F6FE; padding-left: 1.1em; text-shadow: 0 0 20px rgb(var(--twog-glow-lite) / .55), 0 0 56px rgb(var(--twog-glow) / .9); }

/* "Not just hearing the Word. Understanding it. Living it." */
.twog-crescendo {
	margin-top: clamp(36px, 4vw, 56px);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 22px;
	font-family: var(--twog-display);
	line-height: 1.04;
	letter-spacing: -0.014em;
}
.twog-crescendo > p:nth-child(1) { font-size: clamp(22px, 2vw, 28px); color: #7B8FB6; }
.twog-crescendo > p:nth-child(2) { font-size: clamp(30px, 3vw, 42px); color: #B1C1E0; }
.twog-crescendo > p:nth-child(3) { font-size: clamp(42px, 4.6vw, 66px); color: #F2F6FE; text-shadow: 0 0 24px rgb(var(--twog-glow-lite) / .6), 0 0 72px rgb(var(--twog-glow) / .9); }

/* "We don't want church to be something you simply attend. / We want it to be something you experience." */
.twog-statement {
	margin-top: clamp(36px, 4.6vw, 64px);
	max-width: 1180px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: var(--twog-display);
	font-weight: 400;
}
.twog-statement > p:nth-child(1) { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.2; color: #7C8EB2; }
.twog-statement > p:nth-child(2) { font-size: clamp(36px, 5.2vw, 78px); line-height: 1.0; letter-spacing: -0.018em; color: #F2F6FE; text-wrap: balance; text-shadow: 0 0 24px rgb(var(--twog-glow-lite) / .5), 0 0 80px rgb(var(--twog-glow) / .85); }

/* ---------------------------------------------------------------------
   Buttons (block styles: Glow, Outline, Ink)
   All three are square outlines with a thin stroke. On hover a solid fill
   sweeps in from the left (and leaves to the right). Glow and Outline sit
   on dark backgrounds (white stroke); Ink is the same button for light
   backgrounds (dark stroke).
   --------------------------------------------------------------------- */

.wp-block-buttons.twog-actions,
.twog-main .wp-block-buttons,
.twog-header .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.wp-block-button[class*="is-style-twog-"] .wp-block-button__link {
	--twog-btn-line: #FFFFFF;
	--twog-btn-text: #F2F6FE;
	--twog-btn-fill: #FFFFFF;
	--twog-btn-text-on: #050A15;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 28px;
	border: 1px solid var(--twog-btn-line);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--twog-btn-text);
	font-family: var(--twog-body);
	font-size: 16px;
	font-weight: 600;
	font-stretch: 104%;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: color .35s cubic-bezier(.77, 0, .18, 1) .08s;
}
.wp-block-button[class*="is-style-twog-"] .wp-block-button__link::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--twog-btn-fill);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .55s cubic-bezier(.77, 0, .18, 1);
}
.wp-block-button[class*="is-style-twog-"] .wp-block-button__link:hover,
.wp-block-button[class*="is-style-twog-"] .wp-block-button__link:focus-visible { color: var(--twog-btn-text-on); }
.wp-block-button[class*="is-style-twog-"] .wp-block-button__link:hover::before,
.wp-block-button[class*="is-style-twog-"] .wp-block-button__link:focus-visible::before { transform: scaleX(1); transform-origin: left center; }

.wp-block-button.is-style-twog-ink .wp-block-button__link {
	--twog-btn-line: #060D1A;
	--twog-btn-text: #060D1A;
	--twog-btn-fill: #060D1A;
	--twog-btn-text-on: #F2F6FE;
}
.wp-block-button.is-style-twog-ink .wp-block-button__link:focus-visible { outline-color: #000066; }

.wp-block-button.twog-btn-sm .wp-block-button__link { min-height: 46px; padding: 0 22px; font-size: 15px; }
.wp-block-button.twog-btn-lg .wp-block-button__link { min-height: 58px; padding: 0 32px; }
.wp-block-button.twog-btn-xl .wp-block-button__link { min-height: 60px; padding: 0 36px; font-size: 17px; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */

.twog-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 20;
	border-bottom: 1px solid rgba(237, 242, 251, .06);
}
/* The blur sits on its own layer: a backdrop-filter on the header itself would trap the full-screen phone menu inside the bar. */
.twog-header::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(5, 5, 5, .72);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}
/* On phones the admin bar scrolls away, so the header sticks to the very top. */
@media (max-width: 600px) {
	.admin-bar .twog-header { top: 0; }
}
.twog-header__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 14px var(--twog-pad);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.twog-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.twog-brand .wp-block-site-logo { flex: none; line-height: 0; }
.twog-brand .wp-block-site-logo img {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(237, 242, 251, .16), 0 0 30px -4px rgb(var(--twog-glow) / .95);
}
.twog-brand__name { margin: 0; font-family: var(--twog-body); font-size: 16px; font-weight: 600; font-stretch: 106%; line-height: 1.2; }
.twog-brand__name a { color: #EDF2FB; text-decoration: none; }
.twog-brand__name a:hover { color: #FFFFFF; }

/* Desktop links */
.twog-nav { gap: clamp(20px, 2.2vw, 32px); font-size: 15px; font-weight: 500; }
.twog-nav .wp-block-navigation__container { gap: clamp(20px, 2.2vw, 32px); }
.twog-nav .wp-block-navigation-item__content { color: #BCC8DF; text-decoration: none; transition: color .2s ease; }
.twog-nav .wp-block-navigation-item__content:hover { color: #FFFFFF; }

/* Menu button */
.twog-nav .wp-block-navigation__responsive-container-open,
.twog-nav .wp-block-navigation__responsive-container-close {
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 0;
	border: 1px solid rgba(237, 242, 251, .28);
	background: transparent;
	color: #EDF2FB;
	cursor: pointer;
}
.twog-nav .wp-block-navigation__responsive-container-open svg,
.twog-nav .wp-block-navigation__responsive-container-close svg { width: 22px; height: 22px; fill: currentColor; }

/* Phone/tablet overlay menu */
.twog-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(5, 5, 5, .96) !important;
	color: #EDF2FB !important;
	padding: 14px var(--twog-pad) 32px !important;
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}
.twog-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { top: 14px; right: var(--twog-pad); position: absolute; display: flex; }
.twog-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 88px !important; align-items: flex-start !important; }
.twog-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: flex-start !important; gap: 2px; }
.twog-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; }
.twog-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	padding: 10px 0 !important;
	font-family: var(--twog-display);
	font-size: 34px;
	font-weight: 400;
	line-height: 1.15;
	color: #EDF2FB;
}
.twog-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover { color: #FFFFFF; }

/* Collapse to the menu button below 1100px (core collapses at 600px) */
@media (min-width: 600px) and (max-width: 1099.98px) {
	.twog-header .twog-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.twog-header .twog-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1099.98px) {
	.twog-brand { margin-right: auto; }
	.twog-header__inner { gap: 10px; }
	.twog-header__cta { order: 2; }
	.twog-header .twog-nav { order: 3; }
}
@media (max-width: 599.98px) {
	.twog-brand__name { display: none; }
	.twog-header__cta { display: none !important; }
}

/* ---------------------------------------------------------------------
   Shared section frame
   --------------------------------------------------------------------- */

.twog-section { position: relative; max-width: 1440px; margin: 0 auto; padding-left: var(--twog-pad); padding-right: var(--twog-pad); }
.twog-split { display: flex; flex-wrap: wrap; align-items: center; gap: 32px clamp(40px, 5.6vw, 88px); }

/* Photo frames (image blocks) */
.twog-main .wp-block-image.twog-photo {
	position: relative;
	margin: 0;
	border-radius: 0;
	overflow: hidden;
	background: #040B21;
	box-shadow: 0 0 0 1px rgba(237, 242, 251, .08), 0 40px 100px -40px rgb(var(--twog-glow) / .8);
}
.twog-main .wp-block-image.twog-photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	filter: brightness(.86) saturate(.9) contrast(1.06);
}
.twog-main .wp-block-image.twog-photo::before,
.twog-main .wp-block-image.twog-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.twog-main .wp-block-image.twog-photo::after { mix-blend-mode: screen; }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */

.twog-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: clamp(36px, 5vw, 72px);
	padding-top: clamp(24px, 3vw, 44px);
	padding-bottom: clamp(52px, 6.2vw, 90px);
}
.twog-hero::before,
.twog-hero::after { content: ''; position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.twog-hero::before {
	top: -260px;
	right: -220px;
	width: 1040px;
	height: 1040px;
	background: radial-gradient(closest-side, rgb(var(--twog-glow) / .66), rgb(var(--twog-glow) / .2) 58%, rgba(5, 5, 5, 0) 100%);
	animation: twog-breathe 8s ease-in-out infinite alternate;
}
.twog-hero::after {
	left: -360px;
	bottom: -420px;
	width: 820px;
	height: 820px;
	background: radial-gradient(closest-side, rgb(var(--twog-glow) / .2), rgba(5, 5, 5, 0));
}
.twog-hero > * { position: relative; z-index: 1; }

.twog-hero__copy { flex: 1 1 560px; min-width: 0; }
.twog-main .twog-hero__lead { margin: clamp(28px, 2.8vw, 40px) 0 0; max-width: 30em; font-size: clamp(19px, 1.55vw, 22px); line-height: 1.55; color: #C1CCE3; text-wrap: pretty; }

.twog-panels {
	flex: 1 1 460px;
	max-width: 600px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(8px, 1vw, 12px);
	align-items: start;
}
.twog-main .wp-block-image.twog-panel {
	position: relative;
	margin: 0;
	height: clamp(250px, 34vw, 496px);
	border-radius: 0;
	overflow: hidden;
	background: #040B21;
	box-shadow: 0 0 0 1px rgba(237, 242, 251, .08), 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.twog-main .wp-block-image.twog-panel:nth-child(1) { margin-top: clamp(20px, 3.9vw, 56px); }
.twog-main .wp-block-image.twog-panel:nth-child(3) { margin-top: clamp(36px, 6.6vw, 96px); }
.twog-main .wp-block-image.twog-panel a { position: absolute; inset: 0; display: block; }
.twog-main .wp-block-image.twog-panel img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	filter: brightness(.86) saturate(.9) contrast(1.06);
	transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter .6s ease;
}
.twog-main .wp-block-image.twog-panel:hover img { transform: scale(1.05); filter: brightness(1) saturate(1) contrast(1.06); }
.twog-main .wp-block-image.twog-panel::before,
.twog-main .wp-block-image.twog-panel::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.twog-main .wp-block-image.twog-panel::before { background: linear-gradient(180deg, rgba(5, 5, 5, .9) 0%, rgba(5, 5, 5, .42) 22%, rgba(5, 5, 5, 0) 44%, rgba(5, 5, 5, 0) 58%, rgba(5, 5, 5, .94) 100%); }
.twog-main .wp-block-image.twog-panel:nth-child(2)::before { background: linear-gradient(180deg, rgba(5, 5, 5, .86) 0%, rgba(5, 5, 5, .3) 20%, rgba(5, 5, 5, 0) 40%, rgba(5, 5, 5, 0) 58%, rgba(5, 5, 5, .94) 100%); }
.twog-main .wp-block-image.twog-panel::after { background: radial-gradient(100% 44% at 50% 0%, rgb(var(--twog-glow) / 1), rgba(5, 5, 5, 0) 78%); mix-blend-mode: screen; }
.twog-main .wp-block-image.twog-panel figcaption {
	position: absolute;
	z-index: 2;
	left: clamp(12px, 1.3vw, 18px);
	right: 10px;
	bottom: 16px;
	margin: 0;
	pointer-events: none;
	text-align: left;
	font-family: var(--twog-display);
	font-size: clamp(18px, 2vw, 29px);
	line-height: 1.05;
	color: #EDF2FB;
}
.twog-panel--worship img { object-position: 50% 45%; }
.twog-panel--word img { object-position: 42% 30%; }
.twog-panel--prayer img { object-position: 50% 62%; }

/* ---------------------------------------------------------------------
   Intro
   --------------------------------------------------------------------- */

.twog-intro { padding-top: clamp(48px, 6.2vw, 88px); padding-bottom: clamp(48px, 6.2vw, 88px); }
.twog-intro::before { content: ''; position: absolute; top: 0; left: var(--twog-pad); right: var(--twog-pad); border-top: 1px solid rgba(237, 242, 251, .07); }
.twog-intro__top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px clamp(40px, 6vw, 96px); }
.twog-intro__top > .twog-h2 { flex: 1 1 420px; }
.twog-intro__top > .twog-copy { flex: 1 1 440px; max-width: 600px; padding-top: 8px; }

/* ---------------------------------------------------------------------
   About
   --------------------------------------------------------------------- */

.twog-about { padding-top: clamp(32px, 3.6vw, 52px); padding-bottom: clamp(48px, 6.2vw, 88px); }
.twog-about__row { flex-wrap: wrap-reverse; }
.twog-about__copy { flex: 1 1 420px; max-width: 580px; }
.twog-about__copy > .twog-copy { margin-top: 28px; }
.twog-main .wp-block-image.twog-photo--about { flex: 1 1 520px; max-width: 640px; aspect-ratio: 4 / 3; }
.twog-photo--about img { object-position: 62% 55%; }
.twog-photo--about::before { background: linear-gradient(180deg, rgba(5, 5, 5, .72) 0%, rgba(5, 5, 5, 0) 34%, rgba(5, 5, 5, 0) 70%, rgba(5, 5, 5, .6) 100%); }
.twog-photo--about::after { background: radial-gradient(80% 50% at 70% 0%, rgb(var(--twog-glow) / .95), rgba(5, 5, 5, 0) 75%); }

/* ---------------------------------------------------------------------
   Worship
   --------------------------------------------------------------------- */

.twog-worship { padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(48px, 6.2vw, 88px); }
.twog-main .wp-block-cover.twog-banner {
	position: relative;
	min-height: clamp(340px, 34vw, 488px) !important;
	padding: 0 22px clamp(24px, 3.4vw, 48px) clamp(22px, 4vw, 56px);
	border-radius: 0;
	overflow: hidden;
	background: #040B21;
	box-shadow: 0 0 0 1px rgba(237, 242, 251, .08);
	align-items: flex-end;
	justify-content: flex-start;
}
.twog-banner .wp-block-cover__image-background { filter: brightness(.86) saturate(.92) contrast(1.06); }
.twog-banner::before,
.twog-banner::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.twog-banner::before { background: linear-gradient(0deg, rgba(5, 5, 5, .92) 0%, rgba(5, 5, 5, .55) 30%, rgba(5, 5, 5, 0) 62%), radial-gradient(70% 80% at 0% 100%, rgba(5, 5, 5, .75), rgba(5, 5, 5, 0) 70%); }
.twog-banner::after { background: radial-gradient(60% 55% at 70% 0%, rgb(var(--twog-glow) / .55), rgba(5, 5, 5, 0) 75%); mix-blend-mode: screen; }
.twog-banner .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; max-width: 760px; margin: 0; color: #EDF2FB; }
.twog-banner p.twog-eyebrow { margin-bottom: 18px; color: #C8D5EF; }
.twog-banner .twog-h2 { font-size: clamp(40px, 6vw, 88px); line-height: .98; letter-spacing: -0.02em; }
.twog-worship__row { margin-top: clamp(32px, 4.4vw, 64px); align-items: flex-start; gap: 32px clamp(40px, 6vw, 96px); }
.twog-worship__row > .twog-copy { flex: 1 1 420px; max-width: 560px; }
.twog-worship__row > .twog-steps { flex: 1 1 440px; min-width: 0; }

/* ---------------------------------------------------------------------
   The Word (full-width glow band)
   --------------------------------------------------------------------- */

.twog-word {
	position: relative;
	padding: clamp(52px, 6.8vw, 96px) 0;
	background: radial-gradient(70% 90% at 22% 50%, rgb(var(--twog-glow) / .5), rgba(5, 5, 5, 0) 70%), linear-gradient(180deg, rgba(5, 5, 5, 0), rgb(var(--twog-glow) / .14) 50%, rgba(5, 5, 5, 0));
	border-top: 1px solid rgb(var(--twog-glow) / .5);
	border-bottom: 1px solid rgb(var(--twog-glow) / .5);
}
.twog-word__inner { max-width: 1440px; margin: 0 auto; padding: 0 var(--twog-pad); gap: 36px clamp(40px, 5.6vw, 88px); }
.twog-word__copy { flex: 1 1 520px; min-width: 0; }
.twog-word p.twog-eyebrow { color: #B8C8E6; }
.twog-word .twog-h2 { max-width: 13em; }
.twog-word .twog-copy { margin-top: 28px; max-width: 580px; }
.twog-word .twog-copy > p { color: #C8D3E9; }
.twog-word .twog-copy > p + p { color: #A2B2D0; }
.twog-main .wp-block-image.twog-photo--word {
	flex: 1 1 440px;
	max-width: 500px;
	height: clamp(260px, 36vw, 500px);
	box-shadow: 0 0 0 1px rgba(237, 242, 251, .1), 0 40px 120px -40px rgb(var(--twog-glow) / 1);
}
.twog-main .wp-block-image.twog-photo--word img { object-position: 56% 50%; filter: brightness(.86) saturate(.8) contrast(1.06); }
.twog-photo--word::before { background: linear-gradient(180deg, rgba(5, 5, 5, .5) 0%, rgba(5, 5, 5, 0) 30%, rgba(5, 5, 5, 0) 66%, rgba(5, 5, 5, .7) 100%); }
.twog-photo--word::after { background: radial-gradient(90% 40% at 50% 0%, rgb(var(--twog-glow) / .8), rgba(5, 5, 5, 0) 75%); }

/* ---------------------------------------------------------------------
   Prayer
   --------------------------------------------------------------------- */

.twog-prayer { padding-top: clamp(56px, 7.4vw, 106px); padding-bottom: clamp(56px, 7.4vw, 106px); text-align: center; }
.twog-prayer::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	width: 1px;
	height: clamp(56px, 6vw, 88px);
	background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgb(var(--twog-glow-lite) / 1));
	box-shadow: 0 0 18px 2px rgb(var(--twog-glow) / .8);
}
.twog-prayer::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 48%;
	width: 760px;
	height: 760px;
	margin: -380px 0 0 -380px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(var(--twog-glow) / .32), rgba(5, 5, 5, 0));
	pointer-events: none;
	animation: twog-breathe 8s ease-in-out infinite alternate;
}
.twog-prayer__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.twog-prayer p.twog-eyebrow { justify-content: center; }
.twog-prayer .twog-h2 { margin: 0 auto; max-width: 12em; }
.twog-prayer .twog-copy { margin: 30px auto 0; max-width: 620px; }
.twog-prayer .twog-copy > p + p { text-wrap: pretty; }

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

.twog-ministries { padding-top: clamp(24px, 2.8vw, 40px); padding-bottom: clamp(48px, 6.2vw, 88px); }
.twog-main .wp-block-image.twog-photo--ministries { flex: 1 1 520px; aspect-ratio: 4 / 3; }
.twog-photo--ministries img { object-position: 50% 62%; }
.twog-photo--ministries::before { background: linear-gradient(180deg, rgba(5, 5, 5, .78) 0%, rgba(5, 5, 5, 0) 36%, rgba(5, 5, 5, 0) 70%, rgba(5, 5, 5, .55) 100%); }
.twog-photo--ministries::after { background: radial-gradient(80% 50% at 30% 0%, rgb(var(--twog-glow) / .95), rgba(5, 5, 5, 0) 75%); }
.twog-ministries__copy { flex: 1 1 420px; max-width: 580px; }
.twog-ministries__copy > .twog-copy { margin-top: 26px; }

/* ---------------------------------------------------------------------
   Equipment initiative (light card)
   --------------------------------------------------------------------- */

.twog-equipment { padding-bottom: clamp(44px, 5.6vw, 80px); }
.twog-equip-card { border-radius: 0; background: #E6ECF7; color: #212D45; padding: clamp(26px, 4.2vw, 60px); }
.twog-equip-card a:focus-visible { outline-color: #000066; }
.twog-equip-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px clamp(32px, 5vw, 72px); }
.twog-equip-head__title { flex: 1 1 520px; min-width: 0; }
.twog-main p.twog-pill {
	margin: 0 0 20px;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 14px;
	border-radius: 0;
	border: 1px solid #B9C6E1;
	font-size: 14px;
	font-weight: 600;
	font-stretch: 112%;
	line-height: 1.2;
	color: #2A3855;
}
.twog-equip-card .twog-h2 { max-width: 12em; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.03; letter-spacing: -0.012em; color: #060D1A; }
.twog-main .twog-equip-head__intro { flex: 0 1 400px; font-size: clamp(17px, 1.3vw, 18.5px); line-height: 1.6; color: #2E3952; }

/* Photo tiles: each one is an image block (photo, caption, enquiry link).
   A dark overlay carries a white number and name; the photo grows on hover. */
.twog-main .twog-equip-grid {
	margin-top: clamp(28px, 3vw, 40px);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(10px, 1.1vw, 16px);
	counter-reset: twog-equip;
}
.twog-main .wp-block-image.twog-equip-tile {
	position: relative;
	isolation: isolate;
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #FFFFFF;
	counter-increment: twog-equip;
	box-shadow: 0 26px 50px -32px rgba(0, 0, 40, .6);
}
.twog-main .wp-block-image.twog-equip-tile a { position: absolute; inset: 0; display: block; }
.twog-main .wp-block-image.twog-equip-tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.twog-main .wp-block-image.twog-equip-tile::before,
.twog-main .wp-block-image.twog-equip-tile::after { position: absolute; z-index: 1; pointer-events: none; }
.twog-main .wp-block-image.twog-equip-tile::before {
	content: '';
	inset: 0;
	background:
		radial-gradient(90% 70% at 0% 0%, rgb(var(--twog-navy) / .55), rgb(var(--twog-navy) / 0) 70%),
		linear-gradient(180deg, rgba(3, 6, 22, .5) 0%, rgba(3, 6, 22, .46) 45%, rgba(3, 6, 22, .92) 100%);
	transition: opacity .7s ease;
}
.twog-main .wp-block-image.twog-equip-tile::after {
	content: counter(twog-equip, decimal-leading-zero);
	z-index: 2;
	top: clamp(12px, 1.2vw, 18px);
	left: clamp(14px, 1.4vw, 20px);
	font-family: var(--twog-body);
	font-size: 12.5px;
	font-weight: 600;
	font-stretch: 112%;
	letter-spacing: .14em;
	line-height: 1;
	color: rgba(242, 246, 254, .82);
}
/* Arrow, top right, slides in on hover */
.twog-main .wp-block-image.twog-equip-tile a::after {
	content: '';
	position: absolute;
	z-index: 2;
	top: clamp(10px, 1.1vw, 16px);
	right: clamp(12px, 1.2vw, 18px);
	width: 18px;
	height: 18px;
	background-color: #FFFFFF;
	-webkit-mask: var(--twog-icon-arrow) center / contain no-repeat;
	mask: var(--twog-icon-arrow) center / contain no-repeat;
	opacity: 0;
	transform: translate(-6px, 6px);
	transition: opacity .45s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.twog-main .wp-block-image.twog-equip-tile figcaption {
	position: absolute;
	z-index: 2;
	left: clamp(14px, 1.4vw, 20px);
	right: clamp(14px, 1.4vw, 20px);
	bottom: clamp(12px, 1.3vw, 18px);
	margin: 0;
	pointer-events: none;
	text-align: left;
	font-family: var(--twog-display);
	font-size: clamp(19px, 1.75vw, 26px);
	font-weight: 400;
	line-height: 1.06;
	color: #FFFFFF;
	text-wrap: balance;
}
.twog-main .wp-block-image.twog-equip-tile figcaption::before {
	content: '';
	display: block;
	width: 26px;
	height: 1px;
	margin-bottom: clamp(9px, .9vw, 12px);
	background: rgba(255, 255, 255, .75);
	transition: width .7s cubic-bezier(.2, .7, .2, 1);
}
.twog-main .wp-block-image.twog-equip-tile:hover img,
.twog-main .wp-block-image.twog-equip-tile:has(a:focus-visible) img { transform: scale(1.09); }
.twog-main .wp-block-image.twog-equip-tile:hover::before,
.twog-main .wp-block-image.twog-equip-tile:has(a:focus-visible)::before { opacity: .78; }
.twog-main .wp-block-image.twog-equip-tile:hover a::after,
.twog-main .wp-block-image.twog-equip-tile:has(a:focus-visible) a::after { opacity: 1; transform: none; }
.twog-main .wp-block-image.twog-equip-tile:hover figcaption::before,
.twog-main .wp-block-image.twog-equip-tile:has(a:focus-visible) figcaption::before { width: 54px; }
.twog-main .wp-block-image.twog-equip-tile a:focus-visible { outline: none; }
.twog-main .wp-block-image.twog-equip-tile:has(a:focus-visible) { outline: 3px solid #000066; outline-offset: 3px; }

@media (max-width: 899.98px) {
	.twog-main .twog-equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599.98px) {
	.twog-equip-card { padding: 28px 18px 30px; }
	.twog-main .twog-equip-grid { gap: 8px; }
	.twog-main .wp-block-image.twog-equip-tile { aspect-ratio: 1 / 1; }
	.twog-main .wp-block-image.twog-equip-tile figcaption { font-size: 17px; }
	.twog-main .wp-block-image.twog-equip-tile::after { font-size: 11px; }
}
.twog-equip-foot { margin-top: clamp(26px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.twog-main .twog-equip-foot > p { flex: 1 1 420px; max-width: 40em; font-size: clamp(17px, 1.3vw, 18.5px); line-height: 1.6; color: #2E3952; }

/* ---------------------------------------------------------------------
   Visit
   --------------------------------------------------------------------- */

.twog-visit { padding-top: clamp(16px, 2vw, 28px); padding-bottom: clamp(52px, 6.8vw, 96px); }
.twog-visit__copy { flex: 1 1 460px; max-width: 620px; }
.twog-visit__copy .twog-h2 { font-size: clamp(38px, 4.6vw, 66px); letter-spacing: -0.016em; }
.twog-main .twog-visit__note { margin: 26px 0 0; max-width: 32em; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.65; color: #C1CCE3; }

.twog-visit-card {
	flex: 1 1 420px;
	max-width: 560px;
	position: relative;
	border-radius: 0;
	overflow: hidden;
	padding: clamp(26px, 3.4vw, 46px);
	background: radial-gradient(90% 46% at 50% 0%, rgb(var(--twog-glow) / .5), rgba(5, 5, 5, 0) 72%), linear-gradient(180deg, rgb(var(--twog-navy) / 1) 0%, rgb(var(--twog-navy) / .8) 40%, #040917 80%, #050505 100%);
	box-shadow: 0 0 0 1px rgba(237, 242, 251, .12), 0 50px 120px -40px rgb(var(--twog-glow) / .9);
}
.twog-info { display: flex; gap: 16px; align-items: flex-start; }
.twog-info::before {
	content: '';
	flex: none;
	width: 26px;
	height: 26px;
	margin-top: 4px;
	background-color: #DCE8FF;
	-webkit-mask: var(--twog-icon) center / contain no-repeat;
	mask: var(--twog-icon) center / contain no-repeat;
}
.twog-info--place::before { margin-top: 2px; }
.twog-main .twog-info__label { font-size: 15px; font-weight: 500; font-stretch: 112%; color: #D4E1FA; }
.twog-main .twog-info__big { margin-top: 4px; font-family: var(--twog-display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; color: #FFFFFF; }
.twog-main .twog-info__text { margin-top: 6px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #EDF2FB; }
.twog-main hr.twog-rule { margin: 24px 0; height: 1px; border: 0; background: rgba(237, 242, 251, .18); opacity: 1; }
.twog-visit-card .wp-block-buttons { margin-top: 34px; }

/* ---------------------------------------------------------------------
   Closing invitation + footer share one glow
   --------------------------------------------------------------------- */

.twog-final {
	position: relative;
	padding: clamp(56px, 7.4vw, 104px) var(--twog-pad) clamp(52px, 6.8vw, 96px);
	text-align: center;
	background: linear-gradient(180deg, rgba(5, 5, 5, 0) 0%, rgb(var(--twog-glow) / .14) 44%, rgb(var(--twog-glow) / .5) 89%, rgb(var(--twog-glow) / .61) 100%);
}
.twog-final::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 64%;
	width: 1500px;
	height: 820px;
	margin: -410px 0 0 -750px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgb(var(--twog-glow) / .7), rgb(var(--twog-glow) / .2) 60%, rgba(5, 5, 5, 0));
	pointer-events: none;
	animation: twog-breathe 8s ease-in-out infinite alternate;
}
.twog-final__inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.twog-final .twog-h2 { margin: 0 auto; max-width: 12em; font-size: clamp(44px, 6.8vw, 98px); line-height: .98; letter-spacing: -0.022em; color: #F2F6FE; }
.twog-main .twog-final__lead { margin: 30px auto 0; max-width: 30em; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: #CBD6ED; }
.twog-main .twog-final__come { margin: 14px 0 0; font-family: var(--twog-display); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.1; color: #F2F6FE; }
.twog-main .twog-final__love { margin: clamp(36px, 3.6vw, 50px) 0 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #DBE5F7; }
.twog-final .wp-block-buttons { margin-top: 24px; justify-content: center; }

.twog-footer {
	position: relative;
	z-index: 1;
	background: linear-gradient(180deg, rgb(var(--twog-glow) / .61) 0%, rgb(var(--twog-glow) / .74) 18%, rgb(var(--twog-glow) / .34) 61%, rgba(5, 5, 5, 0) 100%);
}
.twog-footer__inner { max-width: 1440px; margin: 0 auto; padding: clamp(40px, 4.4vw, 64px) var(--twog-pad) 36px; font-size: 16px; line-height: 1.55; }
.twog-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px clamp(32px, 5vw, 80px); }
.twog-footer__brand { flex: 1 1 360px; min-width: 0; }
.twog-footer__mark { display: flex; align-items: center; gap: 16px; }
.twog-footer__mark .wp-block-site-logo { flex: none; line-height: 0; }
.twog-footer__mark .wp-block-site-logo img { display: block; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(237, 242, 251, .2); }
.twog-footer__name { margin: 0; font-family: var(--twog-display); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; color: #FFFFFF; }
.twog-footer__name a { color: inherit; text-decoration: none; }
.twog-steps--footer { margin-top: 26px; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: 0; }
.twog-steps--footer > p:nth-child(1) { color: #96A8CC; }
.twog-steps--footer > p:nth-child(2) { color: #C6D3ED; }
.twog-steps--footer > p:nth-child(3) { color: #FFFFFF; text-shadow: none; }
.twog-footer__info { flex: 0 1 360px; display: flex; flex-direction: column; gap: 20px; }
.twog-footer .twog-footer__label { font-size: 14px; font-weight: 500; font-stretch: 112%; color: #B0C1E2; }
.twog-footer .twog-footer__value { margin-top: 4px; color: #EDF2FB; }
.twog-footer__contact { flex: 0 1 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.twog-footer .twog-footer__invite { margin-bottom: 4px; font-family: var(--twog-display); font-size: 26px; line-height: 1.15; color: #FFFFFF; }
.twog-footer a { color: #EDF2FB; text-decoration-color: rgba(237, 242, 251, .35); text-underline-offset: .22em; }
.twog-footer a:hover { color: #FFFFFF; }
.twog-footer__bar { margin-top: clamp(36px, 4.6vw, 64px); padding-top: 22px; border-top: 1px solid rgba(237, 242, 251, .12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.twog-footer__nav, .twog-footer__nav .wp-block-navigation__container { gap: 8px 24px; font-size: 14px; }
.twog-footer .twog-footer__nav a,
.twog-footer .twog-footer__top a { color: #ACBCDC; text-decoration: none; transition: color .2s ease; }
.twog-footer .twog-footer__nav a:hover,
.twog-footer .twog-footer__top a:hover { color: #FFFFFF; }

/* ---------------------------------------------------------------------
   Other pages (not part of the home design)
   --------------------------------------------------------------------- */

.twog-page { max-width: 820px; margin: 0 auto; padding: clamp(48px, 6vw, 96px) var(--twog-pad); }
.twog-page .twog-page__title { margin: 0 0 32px; font-family: var(--twog-display); font-weight: 400; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; color: #EDF2FB; }
.twog-page .twog-page__content > * + * { margin-top: 1.1em; }

/* ---------------------------------------------------------------------
   Motion
   --------------------------------------------------------------------- */

@keyframes twog-breathe {
	from { opacity: .72; transform: scale(.97); }
	to { opacity: 1; transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
	.twog-hero::before, .twog-prayer::after, .twog-final::before { animation: none; }
	.twog-main .wp-block-image.twog-panel img,
	.twog-main .wp-block-image.twog-equip-tile img,
	.wp-block-button[class*="is-style-twog-"] .wp-block-button__link,
	.wp-block-button[class*="is-style-twog-"] .wp-block-button__link::before { transition: none; }
}

/* In the editor, keep decorative layers from covering blocks */
.editor-styles-wrapper .twog-hero::before,
.editor-styles-wrapper .twog-hero::after,
.editor-styles-wrapper .twog-prayer::after,
.editor-styles-wrapper .twog-final::before { z-index: 0; pointer-events: none; }

/* ---------------------------------------------------------------------
   Icons (masks, coloured by the theme)
   --------------------------------------------------------------------- */
:root {
	--twog-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='square'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");
}
.twog-info--time { --twog-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.twog-info--place { --twog-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E"); }

/* =====================================================================
   Motion (v2): scroll-linked depth, after the reference video.
   Sections slide over one another, the worship photo opens to the full
   screen, the prayer photo stays still while the words pass over it,
   photos wipe open with the scroll. Nothing floats in on its own.
   Only active with html.twog-fx (set in the head unless the visitor
   prefers reduced motion; removed again if the scripts don't load).
   ===================================================================== */

/* Film grain over the whole page, photos included (softens upscaled photos) */
body { background-image: none; }
body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 9990;
	pointer-events: none;
	background-image: var(--twog-grain);
	background-size: 128px 128px;
}

/* Smooth scrolling (Lenis) */
html.twog-fx { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Each section is an opaque sheet, so the next one can slide over it */
.twog-fx .twog-main .twog-section,
.twog-fx .twog-main .twog-word,
.twog-fx .twog-main .twog-prayer,
.twog-fx .twog-main .twog-final,
.twog-fx .twog-footer { position: relative; z-index: 1; }
.twog-fx .twog-intro,
.twog-fx .twog-about,
.twog-fx .twog-equipment,
.twog-fx .twog-visit {
	background-color: #050505;
	border-image: linear-gradient(#050505 0 0) fill 0 / / 0 100vmax;
}
.twog-fx .twog-main .twog-word,
.twog-fx .twog-main .twog-final,
.twog-fx .twog-footer { background-color: #050505; }

/* Worship: the framed photo opens to the full screen (class added by the script) */
.twog-main .wp-block-cover.twog-banner.twog-banner-fx {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100svh;
	min-height: 0 !important;
	margin-left: calc(50% - 50vw);
	margin-top: calc((var(--twog-bh, 488px) - 100svh) / 2);
	padding: 0;
	border-radius: 0;
	box-shadow: none;
	clip-path: inset(var(--fx-t, 0px) var(--fx-r, 0px) var(--fx-b, 0px) var(--fx-l, 0px) round var(--fx-rad, 0px));
}
.twog-banner-fx .wp-block-cover__image-background { scale: var(--fx-zoom, 1); }
.twog-main .twog-banner-fx .wp-block-cover__inner-container {
	position: absolute;
	left: calc(var(--fx-l, 0px) + clamp(22px, 4vw, 56px));
	right: calc(var(--fx-r, 0px) + 22px);
	bottom: calc(var(--fx-b, 0px) + clamp(24px, 3.4vw, 48px));
	width: auto;
	max-width: 760px;
}

/* Prayer: a full-screen photo of the congregation at prayer */
.twog-main .twog-prayer.twog-prayer--photo { max-width: none; margin: 0; padding: 0; text-align: center; }
.twog-prayer--photo::before,
.twog-prayer--photo::after { display: none; }
.twog-main .wp-block-cover.twog-prayer__cover {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100svh;
	margin: 0;
	padding: clamp(110px, 14vw, 180px) var(--twog-pad);
	align-items: center;
	justify-content: center;
	background: #040B21;
}
.twog-prayer__cover .wp-block-cover__image-background { filter: brightness(.6) saturate(.85) contrast(1.05); }
.twog-prayer__cover::before,
.twog-prayer__cover::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.twog-prayer__cover::before { background: linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, .35) 22%, rgba(5, 5, 5, .35) 78%, #050505 100%), radial-gradient(60% 55% at 50% 50%, rgba(5, 5, 5, .55), rgba(5, 5, 5, .15) 100%); }
.twog-prayer__cover::after { background: radial-gradient(55% 45% at 50% 42%, rgb(var(--twog-glow) / .5), rgba(5, 5, 5, 0) 75%); mix-blend-mode: screen; }
.twog-prayer__cover .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; color: #EDF2FB; }
.twog-prayer--photo .twog-copy > p { color: #D5DEF0; }
.twog-prayer--photo .twog-copy > p + p { color: #B7C4DE; }
.twog-prayer--photo p.twog-eyebrow { color: #C8D5EF; }
/* The photo stays still while the words scroll over it */
.twog-fx .twog-main .wp-block-cover.twog-prayer__cover { clip-path: inset(0); }
.twog-fx .twog-prayer__cover .wp-block-cover__image-background {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	height: 100lvh;
}

/* Header firms up once the page scrolls */
.twog-header::before { transition: background-color .4s ease, box-shadow .4s ease; }
.twog-header.is-scrolled::before { background-color: rgba(5, 5, 5, .86); box-shadow: 0 12px 40px -24px rgba(0, 0, 0, .9); }
